[PATCH 1/2] ARM: imx6: mx6sabre-common: Replace fatload with FS_GENERIC load

Peng Fan (OSS) peng.fan at oss.nxp.com
Fri Feb 5 07:45:58 CET 2021


> Subject: [PATCH 1/2] ARM: imx6: mx6sabre-common: Replace fatload with
> FS_GENERIC load
> 
> Replace filesystem specific fatload command with a filesystem agnostic load
> command, so the board can boot from e.g. ext4 too.
> 
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Fabio Estevam <festevam at gmail.com>
> Cc: Peng Fan <peng.fan at nxp.com>
> Cc: Stefano Babic <sbabic at denx.de>
> Cc: Ye Li <ye.li at nxp.com>
> Cc: uboot-imx <uboot-imx at nxp.com>

Reviewed-by: Peng Fan <peng.fan at nxp.com>

> ---
>  include/configs/mx6sabre_common.h | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/include/configs/mx6sabre_common.h
> b/include/configs/mx6sabre_common.h
> index 93d00a4dc3c..735532955fd 100644
> --- a/include/configs/mx6sabre_common.h
> +++ b/include/configs/mx6sabre_common.h
> @@ -73,11 +73,11 @@
>  	"mmcargs=setenv bootargs console=${console},${baudrate} " \
>  		"root=PARTUUID=${uuid} rootwait rw\0" \
>  	"loadbootscript=" \
> -		"fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
> +		"load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
>  	"bootscript=echo Running bootscript from mmc ...; " \
>  		"source\0" \
> -	"loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr}
> ${image}\0" \
> -	"loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdtfile}\0" \
> +	"loadimage=load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0"
> \
> +	"loadfdt=load mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdtfile}\0" \
>  	"mmcboot=echo Booting from mmc ...; " \
>  		"run finduuid; " \
>  		"run mmcargs; " \
> --
> 2.29.2



More information about the U-Boot mailing list