mmap bug (all archs) w/ fix

Dan Malek dan at
Wed Jan 31 14:02:32 EST 2007

On Jan 30, 2007, at 6:54 PM, Michael Galassi wrote:

> When we need to update flash on our system we use a utility which  
> opens
> /dev/mem, mmaps the region of physical memory which contains flash  
> (top
> 128meg), and then does all the ugly magic to erase/write/verify.

MTD does this very nicely for you, and you don't have
to write any special programs......  :-)  It's also much safer.

	-- Dan

More information about the Linuxppc-embedded mailing list