diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2014-01-16 19:58:02 -0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2014-02-11 11:04:41 +0100 |
commit | 124f196af287483e56b3a70c77a83c6ccb74554f (patch) | |
tree | 49866ce6910c4a88a12c70066e71218bb73c2388 /include/configs | |
parent | f28154b5b56270a0c684d14df135392e7ad95443 (diff) | |
download | u-boot-imx-124f196af287483e56b3a70c77a83c6ccb74554f.zip u-boot-imx-124f196af287483e56b3a70c77a83c6ccb74554f.tar.gz u-boot-imx-124f196af287483e56b3a70c77a83c6ccb74554f.tar.bz2 |
mx6qarm2: Set default environment to use zImage
Change the default environment to use zImage instead of uImage, this
requires changes to the default environment to load a file named
zImage instead of uImage, and to use the 'bootz' command instead of
'bootm' when booting the kernel.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/mx6qarm2.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/configs/mx6qarm2.h b/include/configs/mx6qarm2.h index f0a82d1..fd651cf 100644 --- a/include/configs/mx6qarm2.h +++ b/include/configs/mx6qarm2.h @@ -72,7 +72,7 @@ #define CONFIG_EXTRA_ENV_SETTINGS \ "script=boot.scr\0" \ - "uimage=uImage\0" \ + "image=zImage\0" \ "console=ttymxc3\0" \ "fdt_high=0xffffffff\0" \ "initrd_high=0xffffffff\0" \ @@ -85,16 +85,16 @@ "fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \ "bootscript=echo Running bootscript from mmc ...; " \ "source\0" \ - "loaduimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${uimage}\0" \ + "loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0" \ "mmcboot=echo Booting from mmc ...; " \ "run mmcargs; " \ - "bootm\0" \ + "bootz\0" \ "netargs=setenv bootargs console=${console},${baudrate} " \ "root=/dev/nfs " \ "ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp\0" \ "netboot=echo Booting from net ...; " \ "run netargs; " \ - "dhcp ${uimage}; bootm\0" \ + "dhcp ${image}; bootz\0" \ #define CONFIG_BOOTCOMMAND \ "mmc dev ${mmcdev};" \ @@ -102,7 +102,7 @@ "if run loadbootscript; then " \ "run bootscript; " \ "else " \ - "if run loaduimage; then " \ + "if run loadimage; then " \ "run mmcboot; " \ "else run netboot; " \ "fi; " \ |