[Bug 887] U-Boot initialization race condition: Hangs on boot

bugzilla-daemon at bugzilla.openmoko.org bugzilla-daemon at bugzilla.openmoko.org
Sun Dec 16 08:48:18 CET 2007


http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=887





------- Additional Comments From mail at mmontour.net  2007-12-16 08:48 -------
I can add some information to this (not sure if it's more relevant here or for
#874, so I'm picking the one with the higher priority).

Using my own builds (with MokoMakefile) of:
uImage-2.6.22.5-moko11+svnr3238-r10-neo1973.bin
u-boot-gta01bv4-1.3.0+git20071214+svnr3648-1.bin

my Neo does not hang on boot _if_ I have the u-boot stdin/stdout/stderr set to
"serial". If they are set to "usbtty" then the Neo hangs at the u-boot splash
screen. Booting through the "Aux" menu always works. 

This was tested with no debug-board or USB cable connected to the Neo. In my
earlier debug-board testing with these software versions, I never saw any of the
"oops" messages mentioned in this bug report (regardless of which console I used).

My u-boot environment is shown below.
GTA01Bv4 # printenv
bootcmd=setenv bootargs ${bootargs_base} ${mtdparts}; nand read.e 0x32000000
kernel; bootm 0x32000000
baudrate=115200
usbtty=cdc_acm
mtdids=nand0=neo1973-nand
bootargs=rootfstype=jffs2 root=/dev/mtdblock4 console=ttySAC0,115200
console=tty0 loglevel=8
mtdparts=mtdparts=neo1973-nand:0x00040000(u-boot),0x00004000(u-boot_env),0x00200000(kernel),0x000a0000(splash),0x03d1c000(rootfs)
splashimage=nand read.e 0x32000000 splash;unzip 0x32000000 0x33d00000
bootargs_base=rootfstype=jffs2 root=/dev/mtdblock4 console=tty0 loglevel=8
quiet=1
bootdelay=10
menu_2=SerConsole:setenv stdin serial;setenv stdout serial;setenv stderr
serial;saveenv
menu_3=USBConsole:setenv stdin usbtty;setenv stdout usbtty;setenv stderr
usbtty;saveenv
menu_4=ForceChg:neo1973 charger fast
menu_5=Poweroff:neo1973 power-off
menu_1=SDBoot:setenv bootargs console=tty0 loglevel=8 rootdelay=5
root=/dev/mmcblk0p1 ${mtdparts};mmcinit;ext2load mmc 0 0x32000000 /uImage;bootm
0x32000000
stdin=usbtty
stdout=usbtty
stderr=usbtty
partition=nand0,0
mtddevnum=0
mtddevname=u-boot
pcf50606_int1=0x4a

Environment size: 1060/16380 bytes




------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the buglog mailing list