lkml.org 
[lkml]   [2003]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: CRAMFS on Flash
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.058 / U:3.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site