[RFC PATCH 1/1] powerpc/embedded6xx: Add support for Motorola/Emerson MVME5100.

Stephen N Chivers schivers at csc.com.au
Tue Aug 20 14:05:34 EST 2013


Scott Wood <scottwood at freescale.com> wrote on 08/20/2013 10:44:31 AM:

> From: Scott Wood <scottwood at freescale.com>
> To: Stephen N Chivers <schivers at csc.com.au>
> Cc: Chris Proctor <cproctor at csc.com.au>, Kumar Gala 
> <galak at kernel.crashing.org>, <linuxppc-dev at lists.ozlabs.org>, 
> <paulus at samba.org>
> Date: 08/20/2013 10:44 AM
> Subject: Re: [RFC PATCH 1/1] powerpc/embedded6xx: Add support for 
> Motorola/Emerson MVME5100.
> 
> On Mon, 2013-08-19 at 07:58 +1100, Stephen N Chivers wrote:
> > The serial console setup in 'legacy_serial' does not support reg-shift
> > or reg-offset properties and so a preferred_console is not added by 
it.
> > The DTS file for the board does specify the register shift so that
> > 'of_serial' will correctly setup the UARTS. But that is too late, the
> > preferred console will be tty0 as the .config derived from 
> > ppc6xx_defconfig
> > has CONF_VT_CONSOLE set. In the test kernels I have built 'con_init' 
in
> > the VT support is always called before serial8250_console_init.
> 
> Are you setting console=ttyS0,<baud> on the kernel command line?
>
Yes, most certainly.
During the testing was specifying the command line in the dts
as doing so in the .config would be wrong.
When booting got:

        Linux/PowerPC Load: console=ttyS0,9600 ip=dhcp root=/dev/nfs

So no problem there.

> > I did try modifying legacy_serial to correctly support the tsi-bridge
> > UARTS and add the preferred console but encountered even more problems
> > in 8250_core when registering the serial console (to the point of
> > having a silently panic'ing kernel).
> > 
> > So I think for the moment, the board will need its own default config.
> 
> Which config symbol is relevant here?
>
On reflection, maybe it wasn't panicing as in the configuration I was
using the boot times were quite protracted, something to do with the
network setup and e100 PHY initialisation.
(Embedding the e100 firmware in the kernel appears to fix that).
But at the point at which I gave up chasing the problem, the machine
was not showing any sign of life within what would be regarded as
"normal" times.
As to config symbol I don't know.

This may be the first attempt to
combine PPC6xx configurations with their embedded brethren.
What is certain that there is an incompatibility between what is
required for the "quirks" of the MVME-5100 onboard UARTS and the
configuration required for the non-embedded PPC6xx platforms.
> -Scott
> 
> 
> 



More information about the Linuxppc-dev mailing list