Re: linux-next - multi-omap image fails to boot on omap3/4

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

 



* Anand Gadiyar <gadiyar@xxxxxx> [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
--
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