RE: Accessing flash directly from User Space
From: Jonathan Haws <hidden>
Date: 2009-10-27 20:31:29
From: Jonathan Haws <hidden>
Date: 2009-10-27 20:31:29
Jonathan Haws wrote:quoted
quoted
quoted
How can I get that pointer? Unfortunately I cannot simply usethequoted
quoted
quoted
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.To use that I need to have a file descriptor to a device, do Inot? However, I do not have a base flash driver to give me that file descriptor. Am I missing something with that call?quoted
=20 /dev/mem
Ah, yes. I told you this was going to be a dumb question. Thanks, Bill. Jonathan