[PATCH 1/2] board: ti: am62x: am62x.env: Fix boot_targets

Nishanth Menon nm at ti.com
Wed Oct 4 15:54:36 CEST 2023


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 <rogerq at kernel.org>
> > ---
> >   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


More information about the U-Boot mailing list