mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* CRAMFS on Flash
@ 2003-02-17 12:25 Nandakumar  NarayanaSwamy
  2003-02-17 13:05 ` Jörn Engel
  0 siblings, 1 reply; 2+ messages in thread
From: Nandakumar  NarayanaSwamy @ 2003-02-17 12:25 UTC (permalink / raw)
  To: linux-kernel

Dear All,

I succeeded in making the target board booting using CRAMFS with 
initrd.
Since initrd will uncompress the image and load the file system to 
RAM i face the lack of memory problem in RAM.

So i just wanted to make the kernel boot with the CRAMFS in flash. 
I had seen the old mailing list archives related to that. I still 
have some clarifications regarding that.

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

I would appreciate if somebody could help me to sort out this 
issue.
Thanks in advance,
Nanda


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: CRAMFS on Flash
  2003-02-17 12:25 CRAMFS on Flash Nandakumar  NarayanaSwamy
@ 2003-02-17 13:05 ` Jörn Engel
  0 siblings, 0 replies; 2+ messages in thread
From: Jörn Engel @ 2003-02-17 13:05 UTC (permalink / raw)
  To: Nandakumar NarayanaSwamy; +Cc: linux-kernel, linux-mtd

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-02-17 12:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-17 12:25 CRAMFS on Flash Nandakumar  NarayanaSwamy
2003-02-17 13:05 ` Jörn Engel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®