mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Robert Jarzmik <robert.jarzmik@free.fr>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: Access to first 0x1000 byte on imx53/imx6
Date: Thu, 29 Jan 2015 20:25:54 +0100	[thread overview]
Message-ID: <87k305o0cd.fsf@free.fr> (raw)
In-Reply-To: <20150129092151.GE12209@pengutronix.de> (Sascha Hauer's message of "Thu, 29 Jan 2015 10:21:51 +0100")

Sascha Hauer <s.hauer@pengutronix.de> writes:

> On Thu, Jan 29, 2015 at 10:12:46AM +0100, Wjatscheslaw Stoljarski wrote:
>> Hello,
>> 
>> If I try to read from first 4k RAM on imx53/imx6, with md or from code,
>> barebox show stacktrace with mesage:
>> "unable to handle NULL pointer dereference at address 0x...".
>> Is it possible in some way do that?
>
> The only way I know is to disable CONFIG_MMU in the config.
I think the solution in arch/arm/boards/mioa701/board.c (remapping the 0x0
address) should work here :
	docg3_iospace = map_io_sections(0x0, (void *)0xe0000000, 0x2000);

Cheers.

-- 
Robert

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2015-01-29 19:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-29  9:12 Wjatscheslaw Stoljarski
2015-01-29  9:21 ` Sascha Hauer
2015-01-29 19:25   ` Robert Jarzmik [this message]
2015-01-30  7:40     ` Sascha Hauer
2015-01-30  9:58       ` Jan Lübbe
2015-01-30 18:51       ` Robert Jarzmik
2015-02-02  9:14         ` Sascha Hauer

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=87k305o0cd.fsf@free.fr \
    --to=robert.jarzmik@free.fr \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.de \
    /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