<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Scott Wood wrote:
<blockquote cite="mid:20080408164853.GH2552@loki.buserror.net"
 type="cite">
  <pre wrap="">On Tue, Apr 08, 2008 at 03:50:26PM +0200, Andre Schwarz wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">after building a debug kernel and attaching the bdi2000 it looks like  
the crash occurs during "console_init()" ...
    </pre>
  </blockquote>
  <pre wrap=""><!---->
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).

  </pre>
</blockquote>
latest u-boot does add the chosen node.<br>
As far as I know it's for initrd setup ... don't know if it's complete.<br>
<blockquote cite="mid:20080408164853.GH2552@loki.buserror.net"
 type="cite">
  <pre wrap=""></pre>
  <blockquote type="cite">
    <pre wrap="">Since we're using a dtb I omit the "console=..." argument for the  
kernel. Is this correct ?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
It's OK if you have /chosen/linux,stdout-path.

  </pre>
</blockquote>
that sounds promising ! Haven't seen this and will have a closer look.<br>
<blockquote cite="mid:20080408164853.GH2552@loki.buserror.net"
 type="cite">
  <pre wrap=""></pre>
  <blockquote type="cite">
    <pre wrap="">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 :

-&gt; find_legacy_serial_port()
stdout is /soc8568@e0000000/serial@4600
legacy_serial_console = 1
default console speed = 115340
&lt;- find_legacy_serial_port()


Should I see this message also ?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Only if you enable debug messages in legacy_serial.c.

  </pre>
</blockquote>
ok.<br>
<blockquote cite="mid:20080408164853.GH2552@loki.buserror.net"
 type="cite">
  <pre wrap=""></pre>
  <blockquote type="cite">
    <pre wrap="">Have I misconfigured anything ?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
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?

  </pre>
</blockquote>
Yes - the log from the MPC8568 is a copy&amp;paste from another
posting. It's not my system.<br>
I want ttyS0.<br>
<blockquote cite="mid:20080408164853.GH2552@loki.buserror.net"
 type="cite">
  <pre wrap="">-Scott
  </pre>
</blockquote>
I appreciate your help !<br>
<br>
Thanks,<br>
Andr&eacute;<br>
<BR>

MATRIX VISION GmbH, Talstraße 16, DE-71570 Oppenweiler  - Registergericht: Amtsgericht Stuttgart, HRB 271090
Geschäftsführer: Gerhard Thullner, Werner Armingeon, Uwe Furtner
<BR>
</body>
</html>