RE: omap3evm: Doesn't boot at 4fa42e46

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

 



> -----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.
> 
> A formal patch will follow once I get more confirmations that this
> change is working.

Ranjith,

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.

Best regards,
Sanjeev

> 
>  - Ranjith
> 
> On Mon, 15-Feb-10 8:56 PM +0530, Premi, Sanjeev wrote:
> >> -----Original Message-----
> >> From: Tony Lindgren [mailto:tony@xxxxxxxxxxx] 
> >> Sent: Wednesday, February 10, 2010 11:04 PM
> >> To: Premi, Sanjeev
> >> Cc: linux-omap@xxxxxxxxxxxxxxx
> >> Subject: Re: omap3evm: Doesn't boot at 4fa42e46
> >>
> >> * Premi, Sanjeev <premi@xxxxxx> [100210 09:09]:
> >>>> -----Original Message-----
> >>>> From: linux-omap-owner@xxxxxxxxxxxxxxx 
> >>>> [mailto:linux-omap-owner@xxxxxxxxxxxxxxx] On Behalf Of 
> >> Premi, Sanjeev
> >>>> Sent: Tuesday, February 09, 2010 9:34 PM
> >>>> To: linux-omap@xxxxxxxxxxxxxxx
> >>>> Subject: RE: omap3evm: Doesn't boot at 4fa42e46
> >>>>
> >>>>> -----Original Message-----
> >>>>> From: linux-omap-owner@xxxxxxxxxxxxxxx 
> >>>>> [mailto:linux-omap-owner@xxxxxxxxxxxxxxx] On Behalf Of 
> >>>> Premi, Sanjeev
> >>>>> Sent: Tuesday, February 09, 2010 9:02 PM
> >>>>> To: linux-omap@xxxxxxxxxxxxxxx
> >>>>> Subject: omap3evm: Doesn't boot at 4fa42e46
> >>>>>
> >>>>> Hi all,
> >>>>>
> >>>>> Just updated my repo to the commit:
> >>>>>
> >>>>> commit 4fa42e4679324b0e3c54fb509535eea3923ccb63
> >>>>> Merge: e599f12 c446167
> >>>>> Author: Tony Lindgren <tony@xxxxxxxxxxx>
> >>>>> Date:   Thu Feb 4 20:07:44 2010 -0800
> >>>>>
> >>>>> The kernel builds fine; but doesn't boot on the OMAP3EVM.
> >>>>>
> >>>>> I have been able to trace the code until rest_init(); but 
> >>>>> will need to restart debugging.
> >>>>> There seems to be an exception during execution.
> >>>>>
> >>>>> Will continue to dig further. This is just an FYI.
> >>>>>
> >>>> The kernel panics during I2C init in function 
> omap3_evm_i2c_init()
> >>>> during this call:
> >>>>
> >>>>     omap_register_i2c_bus(2, 400, NULL, 0);
> >>>>
> >>>> I see that there isn't any difference between 
> omap3_evm_i2c_init()
> >>>> and omap3430_i2c_init(). Has anyone tried the booting 3430SDP at
> >>>> this commit?
> >>>>
> >>>> ...just trying to understand if this is a board specific issue
> >>>> OR is it a generic OMAP3 issue before I try bisect.
> >>>>
> >>>> ~sanjeev
> >>> uImage created with omap3_defconfig at the HEAD boots fine on the
> >>> EVM. I couldn't find much differences between this defconfig and
> >>> my .config - related to i2c where the failure occurs.
> >> Maybe post the diff -u of the configs?
> >>  
> >>> Unfortunately bisect didn't help much :( I just know the last
> >>> commit where the EVM boots fine (with defconfig).
> >>>
> >>>   9b17b59 : Add devkit8000_defconfig
> >>>
> >>> Just a snapshot of git-bisect from my command history:
> >>>
> >>> premi # git-bisect bad f9ffaa9
> >>> Some good revs are not ancestor of the bad rev.
> >>> git bisect cannot work properly in this case.
> >>> Maybe you mistake good and bad revs?
> >>> premi #
> >>> premi # history | grep bisect | grep good
> >>>    512  git-bisect good c6348aa
> >>>    518  git-bisect good a9861b5
> >>>    523  git-bisect good 9b17b59
> >>> premi #
> >>> premi # history | grep bisect | grep bad
> >>>    507  git-bisect bad 4fa42e4
> >>>    533  git-bisect bad 0b421ec
> >>>    538  git-bisect bad fc76be4
> >>>    543  git-bisect bad 66ddfc6
> >>>    547  git-bisect bad f9ffaa9
> >>> premi #
> >> Can you try bisecting the omap for-next branch starting at
> >> 9ba874506b7b3883d78b8cad61eba39c4bb09885?
> >>
> >> If 9ba874506b7b3883d78b8cad61eba39c4bb09885 does not boot,
> >> then you have to start at 4f4e65d2484811210a2826fa9d59712c7fcf1b49.
> > 
> > Had to step away from the problem fore few days. Started 
> bisecting now.
> > 
> > ~sanjeev
> > 
> >> Otherwise you'll end up bisecting all kinds of merges..
> >>
> >> 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
> --
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