Hi, good news, I have a build that works.
-mno-unaligned-access did the trick -- so we have a workaround for tomorrow's release. It would still be good to get some more info on the hang itself to help debug the issue.
Another interesting bit is that the (3.0.1 based) landing-panda kernel boots without needing to add -mno-unaligned-access, while the (3.1.0 based) staging-panda kernel doesn't. So the problem must be triggered by something that differs between those 2 kernels in the early bootup phase.
I'll look into it a bit more when I have some time, right now I'll add the workaround to our builds so we have something releasable tomorrow.
ttyl bero
On 18 December 2011 14:05, Zach Pfeffer zach.pfeffer@linaro.org wrote:
2011/12/18 Michael Hope michael.hope@linaro.org:
2011/12/18 Bernhard Rosenkränzer bernhard.rosenkranzer@linaro.org:
On 17 December 2011 06:30, Zach Pfeffer zach.pfeffer@linaro.org wrote:
2011/12/17 Bernhard Rosenkränzer bernhard.rosenkranzer@linaro.org:
Hi, I've verified that toolchain 11.12 compiles our userland ok, the only problem is w/ the kernel. A build using the 11.12 toolchain for userland and an older toolchain for the kernel is ok.
Is is possible to create an android-build with this configuration?
Yes, I already did: https://android-build.linaro.org/builds/~berolinux/panda-toolchain-test/#bui...
Those sound good. Ricardo have you compiled and booted a kernel with the generic 11.12 arm-eabi- toolchain?
Or with any other 11.12 toolchain for that matter? We currently build arm-eabi- and arm-linux-androideabi- toolchains, so arm-linux-gnueabi- is untested on our side. But that's likely what you're using. I don't think there's enough of a difference between arm-linux-androideabi- and arm-linux-gnueabi- to make the theory that one boots while the other doesn't plausible.
Maybe John Rigby can help. I saw the failure at boot, do you still see the same behavior?
Yes
If so I think John has a JTAG that he could trace with.
That would definitely be useful
+1 to that. I wonder if the kernel guys have any hints for tracking this type of problem down? Early printk() or similar?
Michael, is there anything else we can do or check?
Bero,
Would you list the current status of each test build and what you may have discovered in testing each one?
-- Michael
-- Zach Pfeffer Android Platform Team Lead, Linaro Platform Teams Linaro.org | Open source software for ARM SoCs Follow Linaro: http://www.facebook.com/pages/Linaro http://twitter.com/#%21/linaroorg - http://www.linaro.org/linaro-blog