From: Florian Vaussard <florian.vaussard@epfl.ch>
To: Tero Kristo <t-kristo@ti.com>, Kevin Hilman <khilman@linaro.org>,
kernel-build-reports@lists.linaro.org,
"linaro-kernel@lists.linaro.org" <linaro-kernel@lists.linaro.org>,
"tony@atomide.com" <tony@atomide.com>
Cc: Mike Turquette <mturquette@linaro.org>,
linux-omap <linux-omap@vger.kernel.org>,
Olof Johansson <olof@lixom.net>, Ash Charles <ash@gumstix.com>
Subject: Re: next boot: 34 pass, 5 fail (next-20140122)
Date: Thu, 23 Jan 2014 10:41:37 +0100 [thread overview]
Message-ID: <52E0E3D1.5050202@epfl.ch> (raw)
In-Reply-To: <52E0DD9F.8000100@epfl.ch>
On 01/23/2014 10:15 AM, Florian Vaussard wrote:
>
>
> On 01/23/2014 10:00 AM, Tero Kristo wrote:
>> On 01/23/2014 10:14 AM, Florian Vaussard wrote:
>>> Hello,
>>>
>>> On 01/23/2014 07:23 AM, Tero Kristo wrote:
>>>> On 01/23/2014 03:35 AM, Kevin Hilman wrote:
>>>>> On Wed, Jan 22, 2014 at 4:46 PM, Kevin's boot bot <khilman@linaro.org>
>>>>> wrote:
>>>>>> Automated DT boot report for various ARM defconfigs.
>>>>>>
>>>>>>
>>>>>> Tree/Branch: next
>>>>>> Git describe: next-20140122
>>>>>> Failed boot tests (console logs at the end)
>>>>>> ===========================================
>>>>>> omap3-tobi,3730storm: FAIL: omap2plus_defconfig
>>>>> [...]
>>>>>> omap3-tobi,3730storm: FAIL: multi_v7_defconfig
>>>>>
>>>>> These OMAP3 failures are new regressions. Full failure boot log
>>>>> attached.
>>>>> Bisected down to:
>>>>>
>>>>> cfa9667d4ac9da8b3ba2269f934ecd69ae504d39 is the first bad commit
>>>>> commit cfa9667d4ac9da8b3ba2269f934ecd69ae504d39
>>>>> Author: Tero Kristo <t-kristo@ti.com>
>>>>> Date: Tue Oct 22 11:53:02 2013 +0300
>>>>>
>>>>> ARM: OMAP2+: io: use new clock init API
>>>>>
>>>>> clk_init is now separated to a common function which gets called
>>>>> for all
>>>>> SoC:s, which initializes the DT clocks and calls the SoC specific
>>>>> clock init.
>>>>>
>>>>> Signed-off-by: Tero Kristo <t-kristo@ti.com>
>>>>> Acked-by: Tony Lindgren <tony@atomide.com>
>>>>> Signed-off-by: Mike Turquette <mturquette@linaro.org>
>>>>>
>>>>> Kevin
>>>>>
>>>>
>>>> Hi,
>>>>
>>>> I think this is because the tobi board is including wrong omap3-soc.dtsi
>>>> file (omap34xx.dtsi) through omap3-overo.dtsi.
>>>>
>>>> The board should include omap36xx.dtsi at least based on the boot log:
>>>>
>>>> [ 0.000000] OMAP3630 ES1.2 (l2cache iva sgx neon isp 192mhz_clk )
>>>>
>>>
>>> The problem is that the Overo (processor card on the Tobi extension
>>> board) can have a variety of processor depending on the exact model:
>>>
>>> - OMAP 35xx (1st generation: Air, Earth, Fire, Sand, Tide, Water, FE)
>>> - OMAP 3730
>>> - AM/DM 37xx
>>>
>>> omap3-overo.dtsi includes omap34xx.dtsi to be compatible with the first
>>> generation.
>>>
>>>
>>> omap34xx.dtsi
>>> |
>>> -> omap3-overo.dtsi (processor card)
>>> |
>>> -> omap3-tobi.dtsi (expansion board)
>>>
>>>
>>> What is the fundamental incompatibility here? If we have to specifically
>>> include omap36xx for newer Overo, it will become hard to maintain as it
>>> will double the number of Overo / expansion boards possibilities.
>>
>> Well, you get different board declaration inside
>> mach-omap2/board-generic.c for omap34xx vs omap36xx.
>>
>> The clock data issues can be fixed by adding cpu_is_omap34xx() vs.
>> cpu_is_omap3630() checks within the mach-omap2/io.c file, but this is
>> probably for Tony/Kevin to comment whether we can/should do that.
>>
>
> I just tested next-20140123 with an OMAP3630 ES1.2 Overo/Tobi. Changing
> the include to omap36xx.dtsi do not fix the issue. I still get the
> external abort on non-linefetch (full log here [1]).
>
So the issue is clearly caused by the hwmod warning just before the
panic I think:
omap_hwmod: usb_tll_hs: enabled state can only be entered from
initialized, idle, or disabled state
usb_tll_hs is thus not enabled, and we get a panic when trying to read
the revision register
ver = usbtll_read(tll->base, OMAP_USBTLL_REVISION);
at drivers/mfd/omap-usb-tll.c:237.
I do not know enough about hwmod to efficiently debug why usb_tll_hs is
not _HWMOD_STATE_INITIALIZED before trying to enable it. Are we missing
some DT data?
Florian
next prev parent reply other threads:[~2014-01-23 9:41 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <52e06652.c103450a.79d7.6517@mx.google.com>
2014-01-23 1:35 ` next boot: 34 pass, 5 fail (next-20140122) Kevin Hilman
2014-01-23 6:23 ` Tero Kristo
2014-01-23 8:14 ` Florian Vaussard
2014-01-23 9:00 ` Tero Kristo
2014-01-23 9:15 ` Florian Vaussard
2014-01-23 9:41 ` Florian Vaussard [this message]
2014-01-23 12:27 ` Tero Kristo
2014-01-23 16:35 ` Florian Vaussard
2014-01-23 17:33 ` Nishanth Menon
2014-01-24 20:37 ` Florian Vaussard
2014-01-23 17:35 ` Tony Lindgren
2014-01-24 18:00 ` Tony Lindgren
2014-01-24 20:51 ` Florian Vaussard
2014-01-24 18:11 ` Tony Lindgren
2014-01-24 18:13 ` Florian Vaussard
2014-02-05 15:23 ` Kevin Hilman
2014-02-06 8:47 ` Florian Vaussard
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=52E0E3D1.5050202@epfl.ch \
--to=florian.vaussard@epfl.ch \
--cc=ash@gumstix.com \
--cc=kernel-build-reports@lists.linaro.org \
--cc=khilman@linaro.org \
--cc=linaro-kernel@lists.linaro.org \
--cc=linux-omap@vger.kernel.org \
--cc=mturquette@linaro.org \
--cc=olof@lixom.net \
--cc=t-kristo@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.