Scott Wood wrote:
On Tue, Apr 08, 2008 at 03:50:26PM +0200, Andre Schwarz wrote:
after building a debug kernel and attaching the bdi2000 it looks like the crash occurs during "console_init()" ...

Does your device tree have a /chosen node after u-boot is done with it? find_legacy_serial_ports() can crash otherwise (we really should fix that).

latest u-boot does add the chosen node.
As far as I know it's for initrd setup ... don't know if it's complete.
Since we're using a dtb I omit the "console=..." argument for the kernel. Is this correct ?

It's OK if you have /chosen/linux,stdout-path.

that sounds promising ! Haven't seen this and will have a closer look.
If "console=/dev/ttyS0,115200N8" argument is given the serial console stops working after console_init....


On other PowerPC system I could see something like this during boot :

-> find_legacy_serial_port()
stdout is /[EMAIL PROTECTED]/[EMAIL PROTECTED]
legacy_serial_console = 1
default console speed = 115340
<- find_legacy_serial_port()


Should I see this message also ?

Only if you enable debug messages in legacy_serial.c.

ok.
Have I misconfigured anything ?

One thing that sticks out from the above is that you ask for ttyS0, but the
stdout you list from the other system corresponds to ttyS1.  Is this just a
difference between the two systems?

Yes - the log from the MPC8568 is a copy&paste from another posting. It's not my system.
I want ttyS0.
-Scott
I appreciate your help !

Thanks,
André


MATRIX VISION GmbH, Talstraße 16, DE-71570 Oppenweiler  - Registergericht: 
Amtsgericht Stuttgart, HRB 271090
Geschäftsführer: Gerhard Thullner, Werner Armingeon, Uwe Furtner
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to