public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: "Rogelio M. Serrano Jr." <rogelio@evoserve.com>
Cc: mtd@infradead.org
Subject: Re: XIP on mtdram
Date: Wed, 26 Jul 2000 12:19:45 +0100	[thread overview]
Message-ID: <12458.964610385@cygnus.co.uk> (raw)
In-Reply-To: <397ECCB6.3AF014DF@evoserve.com>


rogelio@evoserve.com said:
> I really have to because i can have no more than 32 M ram and 4 M
> norflash. Can ramfs be mounted as root partition? I can almost boot
> linux straight off the bios chip now. I need to read a filesystem
> image off the flash, mount it as root and mount the flash filesystem
> array.

At the moment, you _have_ to execute your binaries from RAM. There's no 
alternative. Using a ramdisk, ramfs, or mtdram will all use up pages of 
that RAM, so there's no advantage in doing that over just using JFFS on the 
flash and having the page cache store it for you.

In fact, by using JFFS on the flash, at least the kernel can discard the
pages from RAM when they're not in use, so in fact you're better off that
way.

With some hacking, it's theoretically possible to get XIP working on JFFS. 
You're unlikely to get that running in a week, though. My advice is to go 
with JFFS directly on the flash.

--
dwmw2




To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

      parent reply	other threads:[~2000-07-26 11:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-26 10:52 XIP on mtdram Rogelio M. Serrano Jr.
2000-07-26 10:40 ` David Woodhouse
     [not found]   ` <397ECCB6.3AF014DF@evoserve.com>
2000-07-26 11:19     ` David Woodhouse [this message]

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=12458.964610385@cygnus.co.uk \
    --to=dwmw2@infradead.org \
    --cc=mtd@infradead.org \
    --cc=rogelio@evoserve.com \
    /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