All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tomasz Chmielewski <mangoo@wpkg.org>
To: linux-mtd@lists.infradead.org
Subject: how to mount a 256 MB jffs2 image (without using 256 MB of RAM)?
Date: Fri, 13 Jan 2006 12:46:23 +0100	[thread overview]
Message-ID: <43C7930F.3030807@wpkg.org> (raw)

I just began to play with jffs2.

I have a small ASUS router which has a 4 MB flash, and 32 MB of RAM. It 
runs linux (http://www.openwrt.org).

4 MB flash is not much for a Linux distribution, but this tiny router 
has also a USB port, so I can connect a USB stick to it.

My original idea was to "format" this 256 MB USB stick with jffs2 to get 
more space - but of course, it's not possible, as it's not really a 
mtd/flash device.

So my second though was to create a ~256 MB jffs2 image on my Linux PC, 
copy it to the USB stick (formatted with ext2/3), and mount this image 
on a router.

I made some test, and unfortunately, it seems that to mount a 256 MB 
jffs image one needs an equal amount of RAM (256):


insmod mtdram total_size=262144 erase_size=256


Are there any alternative ways to mount a jffs2 image, so that it 
doesn't take so much RAM?


-- 
Tomasz Chmielewski
http://wpkg.org

             reply	other threads:[~2006-01-13 11:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-13 11:46 Tomasz Chmielewski [this message]
2006-01-19 21:46 ` how to mount a 256 MB jffs2 image (without using 256 MB of RAM)? Jeff Angielski
2006-01-21 20:16   ` Tomasz Chmielewski
2006-01-22 18:20     ` Tomasz Chmielewski

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=43C7930F.3030807@wpkg.org \
    --to=mangoo@wpkg.org \
    --cc=linux-mtd@lists.infradead.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.