* [U-Boot] nand erase cleanmarker and jffs2
@ 2009-01-20 21:26 Derek Ou
0 siblings, 0 replies; only message in thread
From: Derek Ou @ 2009-01-20 21:26 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-01-20 21:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-20 21:26 [U-Boot] nand erase cleanmarker and jffs2 Derek Ou
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox