Re: omap3evm: Doesn't boot at 4fa42e46

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Premi, Sanjeev <premi@xxxxxx> [100216 01:35]:
> > -----Original Message-----
> > From: Lohithakshan, Ranjith 
> > Sent: Tuesday, February 16, 2010 2:22 PM
> > To: Premi, Sanjeev
> > Cc: Tony Lindgren; linux-omap@xxxxxxxxxxxxxxx; Lohithakshan, Ranjith
> > Subject: Re: omap3evm: Doesn't boot at 4fa42e46
> > 
> > This one line change seem to fix the issue on my end
> > 
> > --- a/arch/arm/mach-omap2/mux.c
> > +++ b/arch/arm/mach-omap2/mux.c
> > @@ -969,7 +969,7 @@ static void __init omap_mux_init_list(struct
> > omap_mux *super
> >                 }
> >  #endif
> > 
> > -#if defined(CONFIG_OMAP_MUX) && defined(CONFIG_DEBUG_FS)
> > +#ifdef CONFIG_OMAP_MUX
> >                 if (!superset->muxnames || !superset->muxnames[0]) {
> >                         superset++;
> >                         continue;
> > 
> > Not sure why DebugFS need to be defined for the muxname 
> > check. omap3evm
> > and zoom2/3 dont have DebugFS enabled by default in defconfig and that
> > could explain why these platforms not booting up.

Hmm sounds like that's a bug there. The muxnames are available only during
__init, and optimized out if CONFIG_OMAP_MUX is not set. Initially the
muxnames were there only if CONFIG_DEBUG_FS was set.

> > 
> > A formal patch will follow once I get more confirmations that this
> > change is working.

Please send a formal patch ASAP so we can get it into 2.6.33.
 
> The git-bisect brings me here:
> 
>   premi # g-log-10 78737ae
>   78737ae : omap: Fix arch/arm/mach-omap2/mux.c: Off by one error
>   9ecef43 : omap: Fix 3630 mux errors
>   8d08436 : OMAP2/3: GPMC: ensure valid clock pointer
>   74005a2 : OMAP2/3: IRQ: ensure valid base address
> 
> Kernel boots fine at "8d08436". There was earlier a discussion on "9ecef43" but
> it 'seems' to be specific for 3630 only. 
> 
> But the condition you pointed is added at "9ecef43". So, this IS the problem.
> 
> I am also trying to check if "78737ae" could also lead to a potential error.

The only concernd there AFAIK is that if  mode0 names for some yet unknown
mux modes are longer than OMAP_MUX_DEFNAME_LEN.

Regards,

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux