public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] NAND and JFFS2
@ 2007-05-23 14:14 Matt Gessner
  2007-05-23 11:56 ` Ulf Samuelsson
  2007-05-24 14:36 ` Detlev Zundel
  0 siblings, 2 replies; 4+ messages in thread
From: Matt Gessner @ 2007-05-23 14:14 UTC (permalink / raw)
  To: u-boot

Hi, all,

I'm using 1.2.0 on an AT91RM9200, along with linux 2.6.20-2 w/ patches
from Maxim.

I'm looking for info on how compatible the JFFS2 stuff is between u-boot
and linux.

When I mount a partition (I have JFFS2 debugging turned on in the
kernel), I get two kinds of error messages:

	"jffs2_check_nand_cleanmarker(): Cleanmarker node not detected
in block at X"
	"OOB at X was ...."  (lots of data, not all FF)
	"CLEANMARKER node found at X has totlen 0xc != normal 0x0"

OR

	"jffs2_check_nand_cleanmarker(): Cleanmarker node not detected
in block at X"
	"OOB at X was ...."  (lots of FF)

I'm wondering if anyone can point me to what I'm doing wrong.

I have 3 partitions: boot, backup and config, which I made using
mtdparts.  When I work with my nand device, I use 'nand erase clean',
which I thought would write the nand clean markers.  The jffs2 is
expecting nand clean markers at every 4K (0x1000) bytes.

I'm wondering if my mkfs.jffs2 command is wrong, or if my use of nand
erase is wrong, or if I need to specify something in either the kernel
or the u-boot config is wrong.

Any pointers are appreciated.

Thanks for everyone's hard work making u-boot a great tool.

Regards,

Matt G.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-05-24 14:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-23 14:14 [U-Boot-Users] NAND and JFFS2 Matt Gessner
2007-05-23 11:56 ` Ulf Samuelsson
2007-05-24 13:41   ` Matt Gessner
2007-05-24 14:36 ` Detlev Zundel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox