linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Jaap-Jan Boor <jjboor@aimsys.nl>
To: Mathieu Deschamps <mathieu.deschamps@com2gether.net>
Cc: David Jander <david.jander@protonic.nl>, linuxppc-embedded@ozlabs.org
Subject: Re: How to quickly write cleanmarkers to jffs2 partitions?
Date: Mon, 06 Mar 2006 13:21:24 +0100	[thread overview]
Message-ID: <1141647684.23522.7.camel@linpc041.aimsys.nl> (raw)
In-Reply-To: <200603031008.20075.mathieu.deschamps@com2gether.net>

[-- Attachment #1: Type: text/plain, Size: 1070 bytes --]

On Fri, 2006-03-03 at 10:08 +0100, Mathieu Deschamps wrote:

> Hi,
> 
> "When preparing a flash partition for JFFS2, it is recommended to put 
> cleanmarkers to the erased blocks.
> This might be done my means of "-j" option of the "flash_eraseall" MTD 
> utility. Otherwise, JFFS2 will re-erase the blocks
> which contain all 0xFF and have no cleanmarker. This is an unneeded wasting of 
> time."
> 
> Source : http://www.linux-mtd.infradead.org/faq/jffs2.html
> 
> does this may be relevant ?

This is correct, however flash_eraseall does also (as it's
name suggests, erase all flash blocks, which takes
some time on NOR flash. If you 'know' the flash is erased,
it's not needed.
I used flash_eraseall to write the cleanmarkers, but without
erasing blocks (and called that utility cleanmark)

Jaap-Jan

> 
> 
> 
> Best Regards,
> 
> 
> Mathieu Deschamps.
> 
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> 

[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 1513 bytes --]

  reply	other threads:[~2006-03-06 12:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-02 16:06 How to quickly write cleanmarkers to jffs2 partitions? David Jander
2006-03-02 17:07 ` Jaap-Jan Boor
2006-03-03  9:08 ` Mathieu Deschamps
2006-03-06 12:21   ` Jaap-Jan Boor [this message]
2006-03-08  8:38     ` David Jander
2006-03-10 17:10       ` Jaap-Jan Boor

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=1141647684.23522.7.camel@linpc041.aimsys.nl \
    --to=jjboor@aimsys.nl \
    --cc=david.jander@protonic.nl \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=mathieu.deschamps@com2gether.net \
    /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;
as well as URLs for NNTP newsgroup(s).