changeyourname / pandroid

Automatically exported from code.google.com/p/pandroid
0 stars 0 forks source link

provided prebuilt uboot does not reading boot.scr args #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Follow these directions:
http://www.omappedia.org/wiki/PandaBoard_FAQ#How_do_I_saveenv_for_boot_args_on_a
_PandaBoard.3F

2. substitute in the appropriate args specified in the pandroid release notes

3. note that the board doesn't boot properly, boot script it not read by uboot.

http://pastebin.com/1zQcgpi3

What is the expected output? What do you see instead?
Boot args specified in boot script should be used.  You shouldn't have to 
provide the args over serial each time!

What version of the product are you using? On what operating system?
uboot as provided in 
http://code.google.com/p/pandroid/downloads/detail?name=Pandroid_Froyo_L27.8.2_r
elease_pkg.tgz&can=2&q=

Please provide any additional information below.
prpplague on #pandaboard look at the log and suggested uboot wasn't configured 
for reading in the file and would investigate the issue.

Original issue reported on code.google.com by tjbake...@gmail.com on 17 Feb 2011 at 9:32

GoogleCodeExporter commented 8 years ago
If I use u-boot from this package, my boot.scr works as expected.  

http://ports.ubuntu.com/ubuntu-ports/pool/main/u/u-boot-linaro/u-boot-linaro-oma
p4-panda_2011.02.1-0ubuntu1_armel.deb

the uboot being provided for download should be updated.

Original comment by tjbake...@gmail.com on 17 Feb 2011 at 9:40

GoogleCodeExporter commented 8 years ago
All, 

You have the option to rebuild u-boot and adjust your bootargs.

Simply adjust you u-boot/include/configs/omap4430panda.h as follows:

diff --git a/include/configs/omap4430panda.h b/include/configs/omap4430panda.h
index 1e2445b..4573dbe 100644
--- a/include/configs/omap4430panda.h
+++ b/include/configs/omap4430panda.h
@@ -147,10 +147,12 @@
    " ip=dhcp"
 #else

+#define CONFIG_BOOTDELAY         5
+
 #define CONFIG_BOOTARGS "console=ttyO2,115200n8 mem=512M" \
-   " init=/init vram=32M omapfb.vram=0:16M androidboot.console=ttyO2"
+   " root=/dev/mmcblk1p2 vram=32M omapfb.vram=0:16M "

-#define CONFIG_BOOTCOMMAND "booti mmc0"
+#define CONFIG_BOOTCOMMAND "mmcinit 0;fatload mmc 0 80300000 uImage;bootm 
80300000"

 #endif

Note: As we move to GingerBread release this bootup process will no longer be 
supported. All images (zImage, ramdisk.img, system.img, boot.img, etc.. ) will 
be flash using Andoird's fastboot utility. For information regarding fastboot 
visit: http://www.omappedia.com/wiki/Android_eMMC_Booting

Original comment by orbarro...@gmail.com on 19 Apr 2011 at 3:50