[PATCH] armv8: fsl : fix bootcmd and mcinitcmd default value

Wasim Khan (OSS) wasim.khan at oss.nxp.com
Wed Jun 30 14:44:16 CEST 2021



> -----Original Message-----
> From: Bedel, Alban <alban.bedel at aerq.com>
> Sent: Wednesday, June 30, 2021 6:03 PM
> To: Priyanka Jain <priyanka.jain at nxp.com>; Varun Sethi <V.Sethi at nxp.com>;
> Wasim Khan <wasim.khan at nxp.com>; Wasim Khan (OSS)
> <wasim.khan at oss.nxp.com>
> Cc: u-boot at lists.denx.de
> Subject: Re: [PATCH] armv8: fsl : fix bootcmd and mcinitcmd default value
> 
> On Wed, 2021-06-30 at 11:12 +0000, Priyanka Jain wrote:
> >
>> snip

> 
> * After issuing `env default -a ; saveenv' the board didn't boot
> anymore because `bootcmd` was then empty.

This is not the case with latest u-boot code. 'env default -a' set bootcmd to default one (run distro_bootcmd).
So, we are safe here.


> 
> * If redundant env on eMMC was enabled `bootcmd` was then overwritten
> at every boot, preventing me from using a custom `bootcmd` at all.
> 

Priyanka, Alban 
Can you help me to understand what does enabling 'redundant env' on eMMC mean and how to enable it ?


> snip


More information about the U-Boot mailing list