From: Artem Bityutskiy <dedekind@infradead.org>
To: Matthieu CASTET <matthieu.castet@parrot.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: RO jffs2 implementation for bootloader
Date: Thu, 03 May 2007 12:56:03 +0300 [thread overview]
Message-ID: <1178186163.7539.62.camel@sauron> (raw)
In-Reply-To: <loom.20070503T102421-36@post.gmane.org>
On Thu, 2007-05-03 at 08:40 +0000, Matthieu CASTET wrote:
> I need to mount a jffs2 partition in a bootloader. I tried u-boot that support
> jffs2, but it is very slow (2 minutes for mounting a 64MB partition).
> Do you know if there are other (fast) implemenation of jffs2 suitable for a
> bootloader ?
Not sure about any existing "fast" implementation, but mounting a JFFS2
partition is about scanning whole partition. You may optimize some
thing, but you have to scan anyway.
> I want to avoid to use raw partition on NAND :
> - because the bootloader need to access several files (kernel, boot data, rescue
> images, some configuration).
> - nand scrubbing (on read) is not possible to handle (jffs2 don't handle it
> either if it is a read only partition)
I would suggest to create a small JFFS2 partition with kernel so that it
is mounted quickly by the bootloader. Then you could mount it to /boot
of your "main" partition.
--
Best regards,
Artem Bityutskiy (Битюцкий Артём)
next prev parent reply other threads:[~2007-05-03 9:56 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-03 8:40 RO jffs2 implementation for bootloader Matthieu CASTET
2007-05-03 9:56 ` Artem Bityutskiy [this message]
2007-05-04 9:55 ` Matthieu CASTET
2007-05-04 10:26 ` Artem Bityutskiy
2007-05-04 11:53 ` Stefan Roese
2007-05-04 12:06 ` Matthieu CASTET
2007-05-04 12:07 ` Matthieu CASTET
2007-05-04 12:10 ` Matthieu CASTET
2007-05-04 12:23 ` [U-Boot-Users] " Stefan Roese
2007-05-04 14:03 ` Joakim Tjernlund
2007-05-03 16:07 ` David Woodhouse
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=1178186163.7539.62.camel@sauron \
--to=dedekind@infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=matthieu.castet@parrot.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