CRAMFS on Flash
Jörn Engel
joern at wohnheim.fh-wedel.de
Mon Feb 17 08:05:41 EST 2003
On Mon, 17 February 2003 12:25:26 -0000, Nandakumar NarayanaSwamy wrote:
>
> 1) Where to create the mtd partitions for the file system in
> flash? First i just want to create a simple CRAMFS with some
> binaries and executables and then mount it using mount command i.e
> like
> mount -t cramfs /dev/mtdblock0 /home
Several options:
- Create a custom mapping driver with hard coded partitions, like most
in drivers/mtd/maps.
- Use a partition table parser and put the partition table into flash.
- Look at the documentation to cmdline.c or browse through the mtd
archives. (not sure, haven't looked at it myself yet)
Jörn
--
The competent programmer is fully aware of the strictly limited size of
his own skull; therefore he approaches the programming task in full
humility, and among other things he avoids clever tricks like the plague.
-- Edsger W. Dijkstra
More information about the linux-mtd
mailing list