mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Robert Jarzmik <robert.jarzmik@free.fr>
Cc: barebox@lists.infradead.org
Subject: Re: Access to first 0x1000 byte on imx53/imx6
Date: Mon, 2 Feb 2015 10:14:12 +0100	[thread overview]
Message-ID: <20150202091412.GV12209@pengutronix.de> (raw)
In-Reply-To: <87lhkkm7a0.fsf@free.fr>

On Fri, Jan 30, 2015 at 07:51:19PM +0100, Robert Jarzmik wrote:
> Sascha Hauer <s.hauer@pengutronix.de> writes:
> 
> > On Thu, Jan 29, 2015 at 08:25:54PM +0100, Robert Jarzmik wrote:
> >> Sascha Hauer <s.hauer@pengutronix.de> writes:
> >> 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);
> >
> > We could create a /dev/zeropage with the code above. That would make the
> > zero page generally available. I don't know if this is worth the effort
> > though.
> 
> Yeah, I don't know if it's worth it either. And how "big" should this
> /dev/zeropage be (4k, 1M, ...) ?

It should be one page, so 4k. But as Jan said, special casing the first
page in /dev/mem sounds better.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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

      reply	other threads:[~2015-02-02  9:14 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
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 [this message]

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