From: Matthieu CASTET <matthieu.castet@parrot.com>
To: dedekind@infradead.org
Cc: linux-mtd@lists.infradead.org
Subject: Re: RO jffs2 implementation for bootloader
Date: Fri, 04 May 2007 11:55:01 +0200 [thread overview]
Message-ID: <463B02F5.6060503@parrot.com> (raw)
In-Reply-To: <1178186163.7539.62.camel@sauron>
Hi Artem,
Artem Bityutskiy a écrit :
> 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.
>
Well u-boot implementation is very slow. For 64MB partition : 2 minutes
for u-boot and 11 s for linux (3s with summary).
>> 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.
>
Even with small partition, u-boot implementation is very slow, that's
why I asks for other implementations.
While I am at it, is there some code of UBI (RO static partition) suited
for integration in bootloaders ?
Thanks,
Matthieu
next prev parent reply other threads:[~2007-05-04 10:22 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
2007-05-04 9:55 ` Matthieu CASTET [this message]
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=463B02F5.6060503@parrot.com \
--to=matthieu.castet@parrot.com \
--cc=dedekind@infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox