diff options
author | Bernhard Walle <walle@corscience.de> | 2012-04-03 00:37:04 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-04-16 14:47:58 +0200 |
commit | 008ec95054c170859e7a2dfdf87ce15e2e6cd017 (patch) | |
tree | e140449b4b776c2ebe31fe41791b0c8c923975d4 /include | |
parent | 36f3aab2dd6e970244c555a858943747f97ab8f0 (diff) | |
download | u-boot-imx-008ec95054c170859e7a2dfdf87ce15e2e6cd017.zip u-boot-imx-008ec95054c170859e7a2dfdf87ce15e2e6cd017.tar.gz u-boot-imx-008ec95054c170859e7a2dfdf87ce15e2e6cd017.tar.bz2 |
tricorder: Load kernel from ubifs
Signed-off-by: Bernhard Walle <walle@corscience.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/tricorder.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/configs/tricorder.h b/include/configs/tricorder.h index d826e19..801a24f 100644 --- a/include/configs/tricorder.h +++ b/include/configs/tricorder.h @@ -182,7 +182,8 @@ "setenv bootargs ${bootargs} " \ "omapfb.mode=lcd:${lcdmode} " \ "omapdss.def_disp=${defaultdisplay} " \ - "root=ubi0:rootfs " \ + "root=ubi0:root " \ + "ubi.mtd=4 " \ "rootfstype=ubifs " \ "${kernelopts}\0" \ "loadbootscript=fatload mmc ${mmcdev} ${loadaddr} boot.scr\0" \ @@ -193,9 +194,13 @@ "mmcboot=echo Booting from mmc ...; " \ "run mmcargs; " \ "bootm ${loadaddr}\0" \ + "loaduimage_ubi=mtd default; " \ + "ubi part fs; " \ + "ubifsmount root; " \ + "ubifsload ${loadaddr} /boot/uImage\0" \ "nandboot=echo Booting from nand ...; " \ "run nandargs; " \ - "nand read ${loadaddr} 280000 400000; " \ + "run loaduimage_ubi; " \ "bootm ${loadaddr}\0" \ "autoboot=if mmc rescan ${mmcdev}; then " \ "if run loadbootscript; then " \ |