MPC83xx console : no output after handover

Matthew L. Creech mlcreech at gmail.com
Fri Apr 3 02:20:22 EST 2009


On Thu, Apr 2, 2009 at 6:52 AM, Gary Thomas <gary at mlbassoc.com> wrote:
>
> Can you share what you had and what you changed it to?  I'm
> running on very similar systems and may face this exact problem
> soon.
>
> Thanks
>

I don't actually have a platform-specific bus, but I misread the help
text for CONFIG_SERIAL_OF_PLATFORM and thought that it applied to any
system whose serial port was configured via the DTS file.  So I had:

CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
...
CONFIG_SERIAL_OF_PLATFORM=y

The result was that my console's serial port was initialized correctly
by the 8250 driver, but then of_platform_serial_probe() immediately
stomped on it.  (Not sure what it was doing exactly, I just traced
through far enough to see that printk() worked before
serial8250_register_port() was called in of_serial.c, and not
afterward).

The "fix" for me was simply to disable CONFIG_SERIAL_OF_PLATFORM, as
it's unnecessary in my case.

-- 
Matthew L. Creech



More information about the Linuxppc-dev mailing list