On Mon, 2011-12-19 at 11:58 +1300, Michael Hope wrote:
2011/12/19 Zach Pfeffer zach.pfeffer@linaro.org:
Bero's
https://android-build.linaro.org/builds/~berolinux/panda-toolchain-test/#bui...
build has the workaround in it.
wget http://android-build.linaro.org/builds/~berolinux/panda-toolchain-test/11/ta... wget http://android-build.linaro.org/builds/~berolinux/panda-toolchain-test/11/ta... wget http://android-build.linaro.org/builds/~berolinux/panda-toolchain-test/11/ta... bzr branch lp:linaro-image-tools ./linaro-image-tools/linaro-android-media-create --mmc /dev/sdc --dev panda --system system.tar.bz2 --userdata userdata.tar.bz2 --boot boot.tar.bz2
...to try it out.
Hmm. There's a CPU flag to say if you should trap or just do it when you see an unaligned access. I wonder if the trap is turned on during early init?
I think a recent patch proposed on the linux-arm-kernel list is germane: http://comments.gmane.org/gmane.linux.ports.arm.kernel/138900
Coincidentally, I was planning today to see if I could disable CONFIG_ALIGNMENT_TRAP on vexpress as when testing the DS-5 Streamline tool I noticed it was showing about 1000 alignment faults a second, which can't be doing performance any good.