Re: Access to first 0x1000 byte on imx53/imx6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 30, 2015 at 07:51:19PM +0100, Robert Jarzmik wrote:
> Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> writes:
> 
> > On Thu, Jan 29, 2015 at 08:25:54PM +0100, Robert Jarzmik wrote:
> >> Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux