Boot hang when setting console=none with MPC5200B custom board
Sylvain Lamontagne
sylvain.lamontagne at novariant.com
Fri Apr 23 06:23:01 EST 2010
Hi Albrecht,
> > 1. Is it possible ?
>
> Yes! I tried this with several kernel versions (currently 2.6.33), using the option 'console=tty0'. Works just fine...
>
Happy to know that it can be done !
> > 2. Do you have any idea how it can be achieve ?
>
> Hmmm, iirc, I also saw the effect you have. I *think* the solution was to ensure that all /dev/* files were created manually in the jffs image, not by running mdev (if you use busybox). But I might be wrong here, sorry. Being at home, I don't have access to the device, but I can re-check tomorrow.
>
Humm I see, here is the node I'm creating in the initial ramdisk, so
they are there before mdev is launched in one of my init scripts.
--------------------------------
console c 5 1
null c 1 3
zero c 1 5
ptmx c 5 2
tty c 5 0
random c 1 8
urandom c 1 9
initrd b 1 250
ram0 b 1 0
ram1 b 1 1
ram2 b 1 2
ram3 b 1 3
ramdisk -> ram0
ram -> ram0
loop0 b 7 0
loop1 b 7 1
--------------------------------
I think I have all the necessary device for boot, but if you could
double check with yours I would appreciated it.
> > 3. Do you know a bug in 2.6.29.2 that could prevent this to work ?
>
> Not sure if I used *exactly* that version w/o serial console, but (iirc) 2.6.28.something, and then many different up to .33 - they all work!
Ok
>
> Best, Albrecht.
Thank you
Sylvain
More information about the Linuxppc-dev
mailing list