All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Egholm Nielsen <martin@egholm-nielsen.dk>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Re: JFFS2+U-Boot writing an image that has been "SUMMARY"-patched?
Date: Thu, 07 Apr 2005 20:24:22 +0200	[thread overview]
Message-ID: <d33toc$h1h$1@sea.gmane.org> (raw)
In-Reply-To: <CA7E011C3A094B4C8CF150E956218082D1FD25@svr1.sixnetio.com>

Hi Dave,

>>I'm considering patching my Linux kernel JFFS2 code with the "summary"
>>patch:
>>http://www.inf.u-szeged.hu/jffs2/mount.php
>>decreasing mount time severely. In short, this patch requires modifying 
>>some data in the end of each eraseblock - also in the image that should 
>>be written.

>>However, I'm planning on using u-boot to write the Linux root-fs - using 
>>"nand write.jffs2" - and was wondering whether this function 
>>(write.jffs2) actually cared about what it was writing?

> When I added the option all it did was allow skipping of bad blocks 
> (since JFFS2 blocks don't care where they are in the FLASH) and write
> the oob data properly for JFFS2. It didn't (and I think still
> doesn't) examine the JFFS2 data at all. As long as the summary data
> is location independent it should be OK.
Super, I kinda guessed that!

>> I tried writing "giberish" memory data using write.jffs2, and it 
>> didn't complain, though. But still, its name ".jffs2" indicate that
>> some knowledge of jffs2 is used? >
> I only meant it to indicate that the option is for writing jffs2
> images, so if changes or added features would break jffs2
> compatibility (and some were proposed a while ago) the changes should
> not be made to the jffs2 option, they would need a new one. >
Makes sense!

Thanks for sorting that out - I'll head for jffs2+summary now, then...

// Martin

  reply	other threads:[~2005-04-07 18:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-07 15:10 [U-Boot-Users] JFFS2+U-Boot writing an image that has been "SUMMARY"-patched? Dave Ellis
2005-04-07 18:24 ` Martin Egholm Nielsen [this message]
2005-04-07 19:16   ` [U-Boot-Users] " C Michael Sundius

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='d33toc$h1h$1@sea.gmane.org' \
    --to=martin@egholm-nielsen.dk \
    --cc=u-boot@lists.denx.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 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.