[Buildroot] a special ramdisk
Peter Korsgaard
jacmet at uclibc.org
Thu Jul 21 15:18:59 UTC 2011
>>>>> "Charles" == Charles Krinke <charles.krinke at gmail.com> writes:
Charles> Gentlemen:
Charles> I'm looking for a little advice on a non-buildroot issue. An answer of
Charles> RTFM would be fine but a URL for the FM would help.
Charles> I need to use 2MByte of battery backed SRAM in my PPC8321 design
Charles> running Linux built with buildroot. The requirement is that this SRAM
Charles> have a file system on it so that programs can
Charles> open()/read(),write(),close(). The RAM is at a specific address and I
Charles> can map it into memory just above the main DDRRAM.
Charles> So, the question is: "Is there a way to create a ramdisk at a
Charles> specific address, perhaps using /dev/mem, mmap and other utilities?"
That sounds like pramfs:
http://pramfs.sourceforge.net/
Never used it though.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list