regarding mvme6100 on kernel 2.6.13

Brent Cook bcook at bpointsys.com
Wed May 31 01:12:07 EST 2006


On Tuesday 30 May 2006 09:09, Kiran Kumar.A wrote:
> Hi all,
>
> I'm porting mvme6100 for 2.6.13.
> But its hanging after "Now Booting the kernel.."
>
> Can anybody guide me in this regard.
>
> thanks and regards

Eh, it's probably not hanging at all - you're just not seeing anything because 
the device naming scheme changed and the serial console not getting 
initialized correctly. Be sure that in your platform_notify function has 
a '.' in the platform device name - this was added around 2.6.11 or so.

An example from another board I have:

static int xes_mv64x60_platform_notify(struct device *dev)
{
    static struct {
        char *bus_id;
        void ((*rtn) (struct platform_device * pdev));
    } dev_map[] = {
#ifdef CONFIG_SERIAL_MPSC
        {
        MPSC_CTLR_NAME ".0", xes_mv64x60_fixup_mpsc_pdata}, {
        MPSC_CTLR_NAME ".1", xes_mv64x60_fixup_mpsc_pdata},
#endif

}

Also, be sure to enable early boot messages - they help a lot. Also, don't 
overlook setting console=ttyMM0,9600 in the kernel args.

 - Brent



More information about the Linuxppc-embedded mailing list