public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "Chris Fowler" <cfowler@outpostsentinel.com>
To: <robert@schwebel.de>, <linux-mtd@lists.infradead.org>
Subject: RE: Cf Card vs DiskOnChip
Date: Fri, 25 Jan 2002 17:28:26 -0500	[thread overview]
Message-ID: <NFBBLCEFBCFEPMJJKOIKGEEOCCAA.cfowler@outpostsentinel.com> (raw)
In-Reply-To: <Pine.LNX.4.33.0201251422090.30477-100000@callisto.local>

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

I've seen 2 approaches to embedded stuff..

First:

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

Second:

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.

Questions:

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@lists.infradead.org
[mailto:linux-mtd-admin@lists.infradead.org]On Behalf Of Robert Schwebel
Sent: Friday, January 25, 2002 8:23 AM
To: linux-mtd@lists.infradead.org
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!> :-)

Robert
--
 +--------------------------------------------------------+
 | Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de |
 | 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
http://lists.infradead.org/mailman/listinfo/linux-mtd/

  reply	other threads:[~2002-01-25 22:18 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-25 10:39 Cf Card vs DiskOnChip Ramya Ravichandran
2002-01-25 10:53 ` David Woodhouse
2002-01-25 11:16   ` Nikhil Goel
2002-01-25 11:57     ` David Woodhouse
2002-01-25 16:26   ` Richard Gooch
2002-01-25 16:50     ` David Woodhouse
2002-01-26  4:19       ` Ramya Ravichandran
2002-01-26  5:49         ` Russ Dill
2002-01-26  6:19           ` Ramya Ravichandran
2002-01-26 12:25         ` kira brown
2002-01-25 11:42 ` kira brown
2002-01-25 12:33   ` Ramya Ravichandran
2002-01-25 13:23     ` Robert Schwebel
2002-01-25 22:28       ` Chris Fowler [this message]
2002-01-25 14:14     ` Johan Adolfsson
2002-01-25 14:15       ` kira brown
     [not found] <1012026130.25150.0.camel@russ>
2002-01-26  6:29 ` Ramya Ravichandran
2002-01-26  7:31   ` Charles Manning
2002-01-26  8:05     ` Ramya Ravichandran
2002-01-26 13:50       ` kira brown
2002-01-26 20:06       ` Russ Dill
2002-01-28  1:35       ` Charles Manning
2002-01-28  6:18         ` Ramya Ravichandran
2002-01-28 17:12           ` Charles Manning
2002-01-28  9:21         ` kira brown
2002-01-28 10:03           ` Ramya Ravichandran
2002-01-28 18:46             ` Alessandro Staltari
2002-01-28 10:08           ` Ramya Ravichandran
     [not found]         ` <Pine.LNX.4.33.0201280914130.9494-100000@hex.linuxgrrls.org >
2002-01-28 15:26           ` Mark Sienkiewicz
2002-01-26  9:16   ` David Woodhouse
2002-01-26 15:03   ` Chris Fowler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=NFBBLCEFBCFEPMJJKOIKGEEOCCAA.cfowler@outpostsentinel.com \
    --to=cfowler@outpostsentinel.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=robert@schwebel.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox