From: Tony Lindgren <tony@atomide.com>
To: Anand Gadiyar <gadiyar@ti.com>
Cc: linux-omap@vger.kernel.org
Subject: Re: linux-next - multi-omap image fails to boot on omap3/4
Date: Fri, 22 Oct 2010 14:38:43 -0700 [thread overview]
Message-ID: <20101022213843.GJ17595@atomide.com> (raw)
In-Reply-To: <4CC1F0FF.4000701@ti.com>
* Anand Gadiyar <gadiyar@ti.com> [101022 13:07]:
> On 10/22/2010 2:52 PM, Tony Lindgren wrote:
> >
> >Yeah, it's an alignment issue that's why it sometimes works depending
> >on the Kconfig options selected..
> >
> >For rererence, posted a fix for that at:
> >
> >https://patchwork.kernel.org/patch/276161/
>
> The patch seems to work - thanks! Just curious, how do you go about
> debugging an issue like this?
Well it was a bit tricky to find out as random changes to .config
would make it work. Found the breaking patch with git bisect, but
could not see anything wrong with it. Then thought it somehow
misbehaves with CONFIG_SMP_ON_UP, but some printhex8 debugging
showed that it happens even earlier. Then went back few lines in
the boot to narrow it down, but finally had to step through it
with jtag to see that the address loaded into r5 was not aligned.
Tony
prev parent reply other threads:[~2010-10-22 21:38 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-19 14:49 linux-next - multi-omap image fails to boot on omap3/4 Anand Gadiyar
2010-10-19 18:21 ` Tony Lindgren
2010-10-19 18:35 ` Gadiyar, Anand
2010-10-19 22:57 ` Tony Lindgren
2010-10-19 23:32 ` Tony Lindgren
2010-10-19 23:46 ` Gadiyar, Anand
2010-10-20 6:30 ` Gadiyar, Anand
2010-10-21 16:15 ` Tony Lindgren
2010-10-22 14:08 ` Anand Gadiyar
2010-10-22 18:52 ` Tony Lindgren
2010-10-22 20:15 ` Anand Gadiyar
2010-10-22 21:38 ` Tony Lindgren [this message]
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=20101022213843.GJ17595@atomide.com \
--to=tony@atomide.com \
--cc=gadiyar@ti.com \
--cc=linux-omap@vger.kernel.org \
/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