Cf Card vs DiskOnChip

Chris Fowler cfowler at
Fri Jan 25 17:28:26 EST 2002

You do not really need 128m.  You may be starting from the worng direction.

I've seen 2 approaches to embedded stuff..


Start with an install of RedHAt 7.2 and strip it down!


Start with a empty directory and add to it.

99% of the time the First method will yield a huge image of stuff not
needed.  Including libraries.

If you are missing something in the second methiod then you'll know real
fast.  And add it.

I'm a little curious as to what people are doing with JFFS2.  I have 2
partions on my flash.  1 is ext2.  2nd is raw.  Raw is used to store
configs, data etc..
ext2 is used to store kernel, initrd and software image.  At boot initrd
reads the image and loads to a ramdisk.  Kernel mounts that ramdisk as root.
User never deals with the DOC2000 unless they flash and upgrade, save a
config, get ssh keys, or get serial number.  The sw image is an encrypted
ext2 disk image.


Why do you need to mount your flash as r/w?
What else are you using the JFFS2 for?

If my box looses power then it comes back up no damage.  If you delete every
file, it comes back up now damage.

-----Original Message-----
From: linux-mtd-admin at
[mailto:linux-mtd-admin at]On Behalf Of Robert Schwebel
Sent: Friday, January 25, 2002 8:23 AM
To: linux-mtd at
Subject: Re: Cf Card vs DiskOnChip

On Fri, 25 Jan 2002, Ramya Ravichandran wrote:
> > > With 128MB I need to get the whole thing running.
> >
> > Why on earth do you need so much storage?
> >
> I need to have an application running on it with
> serial communication

If you don't need anything else 2 MB flash are enough. Remember, this is
Linux, not <beeeeep!> :-)

 | Dipl.-Ing. Robert Schwebel | |
 | Pengutronix - Linux Solutions for Science and Industry |
 |   Braunschweiger Str. 79,  31134 Hildesheim, Germany   |
 |    Phone: +49-5121-28619-0 |  Fax: +49-5121-28619-4    |

Linux MTD discussion mailing list

More information about the linux-mtd mailing list