[Patch v2] configs: ls1012a/ls1046a: Add CONFIG_ENV_OVERWRITE in defconfig
Kuldeep Singh
kuldeep.singh at nxp.com
Wed Sep 23 12:58:09 CEST 2020
> -----Original Message-----
> From: Kuldeep Singh <kuldeep.singh at nxp.com>
> Sent: Thursday, July 30, 2020 3:38 PM
> To: u-boot at lists.denx.de; Priyanka Jain <priyanka.jain at nxp.com>
> Cc: Kuldeep Singh <kuldeep.singh at nxp.com>
> Subject: [Patch v2] configs: ls1012a/ls1046a: Add CONFIG_ENV_OVERWRITE
> in defconfig
>
> CONFIG_ENV_OVERWRITE disables write protection on various environment
> variables like "ethaddr" and "serial".
>
> Enable this config in LS1046A and LS1012A defconfigs. This resolves an error
> while setting multiple values of "ethaddr" variable.
>
> Before the change:
> => setenv ethaddr 00:E0:0C:00:06:0
> => setenv ethaddr 00:E0:0C:00:06:1
> Error: Can't overwrite "ethaddr"
> Error inserting "ethaddr" variable, errno=1
>
> After the change:
> => setenv ethaddr 00:E0:0C:00:06:0
> => setenv ethaddr 00:E0:0C:00:06:1
>
> Signed-off-by: Kuldeep Singh <kuldeep.singh at nxp.com>
> ---
Ping.
More information about the U-Boot
mailing list