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

Andrew Davis afd at ti.com
Thu Oct 5 16:19:48 CEST 2023


On 10/4/23 8:54 AM, Nishanth Menon wrote:
> 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.
> 

If stdboot is missing these features then we shouldn't switch until it
has them. I'm all for switching to this, but only if it is complete.

Andrew

>>
>> 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
> 


More information about the U-Boot mailing list