User-space raw access of flash?

Derek Ross dross at
Wed May 1 16:17:33 EDT 2002


Is is possible to directly access the flash
memory from a user space application, by 
using writel and readl functions, or their
userspace equivalents? (writel and readl don't
appear to be available outside of kernel space).

Would mmap be a solution, or does that do caching
on the data reads and writes?

My problem is that I need to do some real-time 
logging into a circular buffer in flash. This will 
require non-blocking erases, which are not possible 
with any of the MTD drivers.

Load-leveling will not be a problem here.


Derek Ross.

More information about the linux-mtd mailing list