I have a project I am working on for the RPi and like all people I have weak spots in my knowledge and abilities to cover certain aspects of it. The help of a linux jedi would be appreciated!
Specifically, I need to allocate a block of contiguous memory of around 1-2 MB in size on the RPi, preferably at bootup, so that it remains untouched by other system operations and available for me to access when I need to store a data block. I need to identify the start and end address of the block in memory space so I can access it directly with pointers. Having the pointers on a "clean" boundary with lots of trailing zeros would be nice. Finally, I need a routine to write this data block to a file on the SD card.
I would imagine many tinkerers with the RPi may well desire capabilities along these line as they explore the RPi system for thier own ideas. My research on the topic (see links below) makes this sound like a more difficult prospect than I had anticipated and apparently above my current level of linux kung-fu. Any thoughts, links, code appreciated, thanks!!!
http://lwn.net/Articles/396702/
http://www.linuxjournal.com/article/1133
http://docs.blackfin.uclinux.org/doku.php?id=linux-kernel:memory_allocation




