kernel decompressor problem for ARMv7
Will Deacon
will.deacon at arm.com
Tue Jul 9 04:05:24 EDT 2013
On Tue, Jul 09, 2013 at 08:53:05AM +0100, Lin Ming wrote:
> On Tue, Jul 9, 2013 at 3:39 PM, Nicolas Pitre <nicolas.pitre at linaro.org> wrote:
> > No more info needed. The kernel has to be booted with the MMU disabled
> > as per the booting protocol documentation. You therefore have to fix
> > your
> > bootloader.
>
> OK.
>
> But I have to also revert below commit to make decompressor work.
>
> commit 5010192:
> ARM: 7583/1: decompressor: Enable unaligned memory access for v6 and above
>
> It seems like caused by bootloader has Alignment fault checking enabled.
> Any suggestion how to fix it?
Well step 1 is to disable the MMU. Once you've done that, you really don't
want to be issuing unaligned accesses (since memory will be treated as
strongly-ordered), so the value of the alignment trap bit is irrelevant.
Will
More information about the linux-arm-kernel
mailing list