[U-Boot] [PATCH 2/2] beagle: handle import of environments in files with CRLF as line endings

Marek Vasut marek.vasut at gmail.com
Sun May 13 19:09:49 CEST 2012


Dear Alexander Holler,

> Use the new option -r for env import.
> 
> Signed-off-by: Alexander Holler <holler at ahsoftware.de>
> ---
>  include/configs/omap3_beagle.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/include/configs/omap3_beagle.h
> b/include/configs/omap3_beagle.h index ddeb414..d8b10c2 100644
> --- a/include/configs/omap3_beagle.h
> +++ b/include/configs/omap3_beagle.h
> @@ -258,7 +258,7 @@
>  	"bootenv=uEnv.txt\0" \
>  	"loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenv}\0" \
>  	"importbootenv=echo Importing environment from mmc ...; " \
> -		"env import -t $loadaddr $filesize\0" \
> +		"env import -t -r $loadaddr $filesize\0" \

Not everyone importing env on beagle use broken tools ;-)

>  	"ramargs=setenv bootargs console=${console} " \
>  		"${optargs} " \
>  		"mpurate=${mpurate} " \

Best regards,
Marek Vasut


More information about the U-Boot mailing list