From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E1732E7B61D for ; Wed, 4 Oct 2023 13:54:53 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3122C874E8; Wed, 4 Oct 2023 15:54:52 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="opPFTMef"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5224E87563; Wed, 4 Oct 2023 15:54:50 +0200 (CEST) Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 5BCD1874CC for ; Wed, 4 Oct 2023 15:54:46 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=nm@ti.com Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 394DsbK5083148; Wed, 4 Oct 2023 08:54:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1696427677; bh=kJPvvjN1f+kh5Dzkiz0oXgumbLl2dM7l5R2o/lXa7dQ=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=opPFTMefxUXtX0CFVLG1jmSj6f+ags13NAb4M+lbw6E8/omS8Egvp+IVghHC3Ypdb OfRwWP99syteJ/nhR78CsMriz9T3R0u2E10Sh+arlahZU7UQlt9AOurrxY243lHrbC 99Galr9WCZe3y139/Vhbm0vcKBavxrPgPKrCf6jI= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 394Dsb77028872 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 4 Oct 2023 08:54:37 -0500 Received: from DFLE114.ent.ti.com (10.64.6.35) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 4 Oct 2023 08:54:36 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Wed, 4 Oct 2023 08:54:36 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 394DsaO6041367; Wed, 4 Oct 2023 08:54:36 -0500 Date: Wed, 4 Oct 2023 08:54:36 -0500 From: Nishanth Menon To: Andrew Davis CC: Roger Quadros , , , , , , , , , Subject: Re: [PATCH 1/2] board: ti: am62x: am62x.env: Fix boot_targets Message-ID: <20231004135436.ihofrxutzcdefica@audacious> References: <20231004132324.44198-1-rogerq@kernel.org> <20231004132324.44198-2-rogerq@kernel.org> <26457fd1-439d-fb87-52cc-350a884a8dcd@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <26457fd1-439d-fb87-52cc-350a884a8dcd@ti.com> X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean On 08:48-20231004, Andrew Davis wrote: > On 10/4/23 8:23 AM, Roger Quadros wrote: > > ti_mmc is not a valid boot_target for standard boot flow so > > Is there some way to make it into a valid boot_target? Otherwise > how do we use uEnv.txt files, or boot from FIT images with overlays? envboot takes care of uEnv.txt file (see https://lore.kernel.org/all/20231004132324.44198-3-rogerq@kernel.org/) Early remote proc loading and FIT image is a question for stdboot itself. > > Andrew > > > remove it. Prefer mmc1 (sd-card) over mmc0 (emmc). > > > > Signed-off-by: Roger Quadros > > --- > > board/ti/am62x/am62x.env | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/board/ti/am62x/am62x.env b/board/ti/am62x/am62x.env > > index 22a6c2c91b..e53a55c38f 100644 > > --- a/board/ti/am62x/am62x.env > > +++ b/board/ti/am62x/am62x.env > > @@ -8,7 +8,7 @@ args_all=setenv optargs ${optargs} earlycon=ns16550a,mmio32,0x02800000 > > ${mtdparts} > > run_kern=booti ${loadaddr} ${rd_spec} ${fdtaddr} > > -boot_targets=ti_mmc mmc0 mmc1 usb pxe dhcp > > +boot_targets=mmc1 mmc0 usb pxe dhcp > > boot=mmc > > mmcdev=1 > > bootpart=1:2 -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D