[U-Boot] [PATCH] OMAP4: Use generic 'load' command instead of 'fatload' for 'loadbootscript' and 'loadbootenv' as already done for 'loadimage' and 'loaduimage'.

Guillaume Gardet guillaume.gardet at free.fr
Wed Sep 17 10:11:03 CEST 2014


Ping.

Le 05/09/2014 15:32, Guillaume GARDET a écrit :
> This patch uses generic 'load' command instead of 'fatload' for 'loadbootscript' and 'loadbootenv' as already done for 'loadimage' and 'loaduimage' for OMAP4 boards.
>
> This allows to use EXT partition instead of FAT, while keeping FAT compatibility.
>
> Signed-off-by: Guillaume GARDET <guillaume.gardet at free.fr>
> Cc: Tom Rini <trini at ti.com>
>
> ---
>   include/configs/ti_omap4_common.h | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/include/configs/ti_omap4_common.h b/include/configs/ti_omap4_common.h
> index 8c7310c..b0f199e 100644
> --- a/include/configs/ti_omap4_common.h
> +++ b/include/configs/ti_omap4_common.h
> @@ -101,10 +101,10 @@
>   		"vram=${vram} " \
>   		"root=${mmcroot} " \
>   		"rootfstype=${mmcrootfstype}\0" \
> -	"loadbootscript=fatload mmc ${mmcdev} ${loadaddr} boot.scr\0" \
> +	"loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr\0" \
>   	"bootscript=echo Running bootscript from mmc${mmcdev} ...; " \
>   		"source ${loadaddr}\0" \
> -	"loadbootenv=fatload mmc ${mmcdev} ${loadaddr} uEnv.txt\0" \
> +	"loadbootenv=load mmc ${mmcdev} ${loadaddr} uEnv.txt\0" \
>   	"importbootenv=echo Importing environment from mmc${mmcdev} ...; " \
>   		"env import -t ${loadaddr} ${filesize}\0" \
>   	"loadimage=load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootfile}\0" \



More information about the U-Boot mailing list