public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Ranjith Lohithakshan <ranjithl@ti.com>
To: "Premi, Sanjeev" <premi@ti.com>
Cc: Tony Lindgren <tony@atomide.com>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
	"Lohithakshan, Ranjith" <ranjithl@ti.com>
Subject: Re: omap3evm: Doesn't boot at 4fa42e46
Date: Tue, 16 Feb 2010 14:21:38 +0530	[thread overview]
Message-ID: <4B7A5C9A.40404@ti.com> (raw)
In-Reply-To: <B85A65D85D7EB246BE421B3FB0FBB59301E274EF74@dbde02.ent.ti.com>

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

On Mon, 15-Feb-10 8:56 PM +0530, Premi, Sanjeev wrote:
>> -----Original Message-----
>> From: Tony Lindgren [mailto:tony@atomide.com] 
>> Sent: Wednesday, February 10, 2010 11:04 PM
>> To: Premi, Sanjeev
>> Cc: linux-omap@vger.kernel.org
>> Subject: Re: omap3evm: Doesn't boot at 4fa42e46
>>
>> * Premi, Sanjeev <premi@ti.com> [100210 09:09]:
>>>> -----Original Message-----
>>>> From: linux-omap-owner@vger.kernel.org 
>>>> [mailto:linux-omap-owner@vger.kernel.org] On Behalf Of 
>> Premi, Sanjeev
>>>> Sent: Tuesday, February 09, 2010 9:34 PM
>>>> To: linux-omap@vger.kernel.org
>>>> Subject: RE: omap3evm: Doesn't boot at 4fa42e46
>>>>
>>>>> -----Original Message-----
>>>>> From: linux-omap-owner@vger.kernel.org 
>>>>> [mailto:linux-omap-owner@vger.kernel.org] On Behalf Of 
>>>> Premi, Sanjeev
>>>>> Sent: Tuesday, February 09, 2010 9:02 PM
>>>>> To: linux-omap@vger.kernel.org
>>>>> 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@atomide.com>
>>>>> 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@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2010-02-16  8:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-09 15:31 omap3evm: Doesn't boot at 4fa42e46 Premi, Sanjeev
2010-02-09 16:03 ` Premi, Sanjeev
2010-02-10 17:10   ` Premi, Sanjeev
2010-02-10 17:34     ` Tony Lindgren
2010-02-10 22:58       ` Pandita, Vikram
2010-02-10 23:24         ` Tony Lindgren
2010-02-15 15:26       ` Premi, Sanjeev
2010-02-16  8:51         ` Ranjith Lohithakshan [this message]
2010-02-16  9:38           ` Premi, Sanjeev
2010-02-16 18:27             ` Tony Lindgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B7A5C9A.40404@ti.com \
    --to=ranjithl@ti.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=premi@ti.com \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox