From: will.deacon@arm.com (Will Deacon)
To: linux-arm-kernel@lists.infradead.org
Subject: kernel decompressor problem for ARMv7
Date: Tue, 9 Jul 2013 09:05:24 +0100 [thread overview]
Message-ID: <20130709080524.GB26169@mudshark.cambridge.arm.com> (raw)
In-Reply-To: <CAF1ivSZK8c4zSz5E-=P4032jFJxFrmwHForbCjLTVcJs4xOWkg@mail.gmail.com>
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@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
next prev parent reply other threads:[~2013-07-09 8:05 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-05 8:44 kernel decompressor problem for ARMv7 Lin Ming
2013-07-05 9:57 ` Will Deacon
2013-07-05 16:30 ` Nicolas Pitre
2013-07-05 16:58 ` Lin Ming
2013-07-08 2:27 ` Lin Ming
2013-07-09 1:09 ` Lin Ming
2013-07-09 7:39 ` Nicolas Pitre
2013-07-09 7:53 ` Lin Ming
2013-07-09 8:05 ` Will Deacon [this message]
2013-07-09 8:21 ` Lin Ming
2013-07-05 16:52 ` Lin Ming
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=20130709080524.GB26169@mudshark.cambridge.arm.com \
--to=will.deacon@arm.com \
--cc=linux-arm-kernel@lists.infradead.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