Accessing flash directly from User Space

Bill Gatliff bgat at billgatliff.com
Wed Oct 28 07:13:19 EST 2009


Jonathan Haws wrote:
>
> How can I get that pointer?  Unfortunately I cannot simply use the address of the flash.  Is there some magical function call that gives me access to that portion of the memory space?
>   

$ man 2 mmap

You want MAP_SHARED and O_SYNC.


b.g.

-- 
Bill Gatliff
bgat at billgatliff.com



More information about the Linuxppc-dev mailing list