MV64360 MPSC - console problem

3 messages, 2 authors, 2005-03-07 · open the first message on its own page

MV64360 MPSC - console problem

From: Hegde Ashok-aah024 <hidden>
Date: 2005-03-07 10:33:51

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.

Thanks,
Ashok

Re: MV64360 MPSC - console problem

From: Mark A. Greer <hidden>
Date: 2005-03-07 18:27:44

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

Re: MV64360 MPSC - console problem

From: Mark A. Greer <hidden>
Date: 2005-03-07 20:46:23

Hegde Ashok-aah024 wrote:
I took this mpsc driver from "bk://source.mvista.com/linux-2.5-marvell" as
mentioned in ppc mailinglist.
 
Also, this tree has long since been dead.  In fact, its been deleted.  You should be using the official kernel.org source base.

Mark
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help