Can't mmap the top 1MB of /dev/mem?
Frank Smith
smith at amirix.com
Fri Jun 23 05:06:17 EST 2000
On Thu, 22 Jun 2000, Dan Malek wrote:
>
> Frank Smith wrote:
>
> > Wouldn't this account for it?
>
>
> No. Those are virtual address calculations in that file........
Oops. Upon thinking about this a bit more, the problem we were having
was that we were trying to get physical 0xfe000000 mapped to virtual
0xfe000000.
The board we're using has firmware that we want to be able to call
after Linux is up and running. The FW runs from 0x3000-0x60000, but
refers to data up in 0xfe space. Our first naive attempts were to
use mmap from userland, but we ended up putting stuff in the kernel
and mapping flash directly with remap_page_range().
Frank.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded
mailing list