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

Re: bypassing the MMU on the lx chip

On Wed, 16 May 2001, Adam Felson wrote:
> I built the kernel for "support for ram chips in buss mapping"  (mtd
> section).
> When I try running this program I get "mmap failed: No such device "
> I also tried /dev/ram0, /dev/ram1 and /dev/cflash3

I just looked at the mtd code and it seems it does not implement mmap. The
only way you can access that SRAM through MTD is by seek/read/write system
calls on the opened device-node.

I'll try to find a solution for you involving a more direct mapping if you
really need that.