aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrik Ryd <patrik.ryd@linaro.org>2011-06-14 14:19:17 +0200
committerPatrik Ryd <patrik.ryd@linaro.org>2011-06-14 14:19:17 +0200
commitb341947762c964d58e785c8cd6e4dea407e78f55 (patch)
tree74ff792e44be5b21e9e975c4f7fe7dbc90d989eb
parent475816e13520c76a77fc5d6e13c6d1e4cf787c2f (diff)
downloadu-boot-pandroid-dev_pandroid.tar.gz
Load initird and use it as rootdev_pandroid
The Pandroid release uses /dev/mmcblk0p2 as root. The Linaro builds uses initrd (RAM disk) when booting Android. Initrd is loaded and the kernel parameters are updated (removed root = /dev/mmcblk0p2).
-rw-r--r--include/configs/omap4430panda.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/include/configs/omap4430panda.h b/include/configs/omap4430panda.h
index 37016519..47399a22 100644
--- a/include/configs/omap4430panda.h
+++ b/include/configs/omap4430panda.h
@@ -147,13 +147,12 @@
#else
#define CONFIG_BOOTARGS "console=ttyO2,115200n8 androidboot.console=ttyO2" \
- " mem=456M@0x80000000 mem=512M@0xA0000000" \
- " root=/dev/mmcblk0p2 rw rootdelay=2 init=/init" \
- " vram=32M omapfb.vram=0:16M" \
- " omapdss.def_disp=hdmi consoleblank=0"
-
-#define CONFIG_BOOTCOMMAND "fatload mmc 0 0x82000000 uImage; bootm 0x82000000"
+ " mem=456M@0x80000000 mem=512M@0xA0000000" \
+ " rootwait ro init=/init" \
+ " vram=48M omapfb.vram=0:24M" \
+ " omapdss.def_disp=hdmi consoleblank=0"
+#define CONFIG_BOOTCOMMAND "fatload mmc 0:1 0x80200000 uImage; fatload mmc 0:1 0x81600000 uInitrd; bootm 0x80200000 0x81600000"
#endif
#define CONFIG_NETMASK 255.255.254.0