From: Derek Ou <derek@siconix.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] nand erase cleanmarker and jffs2
Date: Tue, 20 Jan 2009 14:26:23 -0700 [thread overview]
Message-ID: <4976417F.4010908@siconix.com> (raw)
Dear all,
What is the use of "nand erase clean"? According to the source code, it
erases the NAND block and also writes the jffs2 cleanmarker to OOB
session. Is this necessary to write a jffs2 file system?
I didn't run into any Linux file system problem when I erased a NAND
partitaion without clean flag and wrote the jffs2 file system there.
Currently, I only have a "jffs2_scan_inode_node() CRC failed on ..."
message and I think it's not related to how I erased the partition. Am
I right?
By the way, the Linux tool seems to indicate that the size of
cleanmarker should be 12 bytes. But it seems to be only 8 bytes from
our board/u-boot. Which one is correct?
Many thanks.
Derek
reply other threads:[~2009-01-20 21:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4976417F.4010908@siconix.com \
--to=derek@siconix.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox