From: Dirk Behme <dirk.behme@googlemail.com>
To: "Gadiyar, Anand" <gadiyar@ti.com>
Cc: "linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
"jouni.hogander@nokia.com" <jouni.hogander@nokia.com>,
Paul Walmsley <paul@pwsan.com>
Subject: Re: Boot failure on OMAP 3430 SDP
Date: Sat, 21 Jun 2008 14:18:43 +0200 [thread overview]
Message-ID: <485CF1A3.4070101@googlemail.com> (raw)
In-Reply-To: <5A47E75E594F054BAF48C5E4FC4B92AB022BB66209@dbde02.ent.ti.com>
Gadiyar, Anand wrote:
>>>Hi all,
>>>
>>>Commit 5b36d70fa08f09de161487fe7f6e04200ffb8d71 breaks boot on OMAP3430 SDP. Reversing the patch allows the boot to work.
>>>
>>>Bootlog and the patch are shown below.
>>>
>>>Regards,
>>>Anand
>>>
>>>================================================
>>>
>>>commit 5b36d70fa08f09de161487fe7f6e04200ffb8d71
>>>Author: Jouni Hogander <jouni.hogander@nokia.com> >
>>>Date: Mon Jun 9 12:32:40 2008 +0300
>>>
>>> PRCM: OMAP3: Fix to wrongly modified omap2_clk_wait_ready
>>>
>>> omap2_clk_wait_ready was wrongly modified to check
>>> registers contents. This fix changes it back to check
>>> addresses.
>>>
>>> Signed-off-by: Jouni Hogander <jouni.hogander@nokia.com> >
>>> Acked-by: Paul Walmsley <paul@pwsan.com> >
>>> Signed-off-by: Tony Lindgren <tony@atomide.com> >
>>>
>>>diff --git a/arch/arm/mach-omap2/clock.c b/arch/arm/mach-omap2/clock.c
>>>index d3ab537..ed15868 100644
>>>--- a/arch/arm/mach-omap2/clock.c
>>>+++ b/arch/arm/mach-omap2/clock.c
>>>@@ -246,8 +246,8 @@ static void omap2_clk_wait_ready(struct clk *clk)
>>> /* REVISIT: What are the appropriate exclusions for 34XX? */
>>> /* OMAP3: ignore DSS-mod clocks */
>>> if (cpu_is_omap34xx() &&
>>>- ((reg & ~0xff) == cm_read_mod_reg(OMAP3430_DSS_MOD, 0) ||
>>>- (((reg & ~0xff) == cm_read_mod_reg(CORE_MOD, 0)) &&
>>>+ ((reg & ~0xff) == (__force u32)OMAP34XX_CM_REGADDR(OMAP3430_DSS_MOD, 0) ||
>>>+ (((reg & ~0xff) == (__force u32)OMAP34XX_CM_REGADDR(CORE_MOD, 0)) &&
>>> clk-> >enable_bit == OMAP3430_EN_SSI_SHIFT)))
>>> return;
>>
>>Hmm, looking at recent git, we already have OMAP34XX_CM_REGADDR
>>instead of cm_read_mod_reg there
>>
>>http://source.mvista.com/git/?p=linux-omap-2.6.git;a=blob;f=arch/arm/mach-omap2/clock.c;h=ed1586847db4dd95cff8016e4259b533f1582737;hb=HEAD
>>
>>and it seems that this patch is already applied
>>
>>http://source.mvista.com/git/?p=linux-omap-2.6.git;a=commitdiff;h=5b36d70fa08f09de161487fe7f6e04200ffb8d71
>>
>>?
>>
>>*BUT*: I still see below Unhandled fault at OMAP3 based Beagle board!
>>Any idea?
>
> Oops. Sorry for this confusion. The patch inlined in the mail was the commit that
> causes the boot failure - not the fix. I would rather have Jouni and Paul look at the
> commit. I haven't looked too deeply at the patch to see why it causes the crash.
>
> Until this is fixed, you might just want to apply the patch in reverse.
Ah, yes, sorry for my misunderstanding! And many thanks for finding
the cause of this issue. Hopefully we will have a fix for this soon now.
Sorry and thanks
Dirk
next prev parent reply other threads:[~2008-06-21 12:18 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-20 14:33 Boot failure on OMAP 3430 SDP Gadiyar, Anand
2008-06-21 6:44 ` Dirk Behme
2008-06-21 8:20 ` Gadiyar, Anand
2008-06-21 12:18 ` Dirk Behme [this message]
2008-06-21 17:05 ` [PATCH] OMAP3 clock: fix omap2_clk_wait_ready for OMAP3430ES2 DSS Paul Walmsley
2008-06-22 10:35 ` Koen Kooi
2008-06-22 12:51 ` Woodruff, Richard
2008-06-22 13:21 ` Koen Kooi
2008-06-22 19:09 ` [PATCH v2] " Paul Walmsley
2008-06-23 6:16 ` Högander Jouni
2008-06-23 14:52 ` Paul Walmsley
2008-06-24 5:54 ` Högander Jouni
2008-06-22 12:01 ` [PATCH] " Dirk Behme
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=485CF1A3.4070101@googlemail.com \
--to=dirk.behme@googlemail.com \
--cc=gadiyar@ti.com \
--cc=jouni.hogander@nokia.com \
--cc=linux-omap@vger.kernel.org \
--cc=paul@pwsan.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