[U-Boot] [PATCH 8/8] [omap3][overo] Allow overo to boot with device tree
Stefan Herbrechtsmeier
stefan at herbrechtsmeier.net
Tue May 20 19:34:06 CEST 2014
Am 30.04.2014 01:15, schrieb Ash Charles:
> Update the board configuration for Gumstix Overo. In particular,
> add support for zImage and DTB files on boot.
>
> Signed-off-by: Ash Charles <ashcharles at gmail.com>
> ---
> include/configs/omap3_overo.h | 57 ++++++++++++++++++++++++++++---------------
> 1 file changed, 37 insertions(+), 20 deletions(-)
>
> diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h
> index 1e4dfcf..71ec437 100644
> --- a/include/configs/omap3_overo.h
> +++ b/include/configs/omap3_overo.h
> @@ -193,16 +199,20 @@
> "omapdss.def_disp=${defaultdisplay} " \
> "root=${nandroot} " \
> "rootfstype=${nandrootfstype}\0" \
> - "loadbootscript=fatload mmc ${mmcdev} ${loadaddr} boot.scr\0" \
> - "bootscript=echo Running bootscript from mmc ...; " \
> + "loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr\0" \
> + "bootscript=echo Running boot script from mmc ...; " \
> "source ${loadaddr}\0" \
> - "loadbootenv=fatload mmc ${mmcdev} ${loadaddr} uEnv.txt\0" \
> - "importbootenv=echo Importing environment from mmc${mmcdev} ...; " \
> + "loadbootenv=load mmc ${mmcdev} ${loadaddr} uEnv.txt\0" \
> + "importbootenv=echo Importing environment from mmc ...; " \
> "env import -t ${loadaddr} ${filesize}\0" \
> - "loaduimage=fatload mmc ${mmcdev} ${loadaddr} uImage\0" \
> - "mmcboot=echo Booting from mmc ...; " \
> + "loaduimage=load mmc ${mmcdev} ${loadaddr} uImage\0" \
> + "mmcboot=echo Booting from mmc...; " \
> "run mmcargs; " \
> "bootm ${loadaddr}\0" \
> + "loadzimage=load mmc ${mmcdev}:2 ${loadaddr} ${bootdir}/${bootfile}\0" \
> + "loadfdt=load mmc ${mmcdev}:2 ${dtbaddr} ${bootdir}/${dtbfile}\0" \
> + "mmcbootfdt=echo Booting with DT from mmc ...; " \
> + "bootz ${loadaddr} - ${dtbaddr}\0" \
A run of mmcargs is missing.
More information about the U-Boot
mailing list