MV64360 MPSC - console problem

Mark A. Greer mgreer at mvista.com
Tue Mar 8 05:27:39 EST 2005


Hi Ashok.

Hegde Ashok-aah024 wrote:

>Hi All,
>
>  I am trying to bring up linux-2.6.10 on ppc based system with
>MV64360(marvell controller).
>I am unable to use mpsc as the console, serial text debug messages are
>coming fine i.e. ppc_md.progress able to print properly on the serial port.
>I observed that  when console_init() is being called from init/main.c  none
>of our "mpsc" init functions are called.
>Also I see that there is no call to "console_initcall" in mpsc driver.
>According to my understanding this call is required in serial drivers used
>as consoles.
> I took this mpsc driver from "bk://source.mvista.com/linux-2.5-marvell" as
>mentioned in ppc mailinglist.
>   Hardware has been tested with linux-2.4.20 flavour and it is absolutely
>fine.
>
>Appreciate any help.
>  
>

It almost sounds like you don't have the mpsc config option selected.  
Make sure that "Marvell MPSC serial port support" and "Support for 
consol on Marvell MPSC serial port" under "Device Drivers"/"Character 
devices"/"Serial drivers" are selected.  If they don't appear then  you 
don't have CONFIG_PPC and/or CONFIG_MV64X60 defined.  Those two should 
be defined in arch/ppc/Kconfig under the appropriate board selection.

You also have to have the platform_data that is passed into the MPSC 
driver set up correctly for it to work correctly.

Mark




More information about the Linuxppc-embedded mailing list