public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* JFFS2 ECC options
@ 2006-09-05 12:37 Davide CASCONE
  2006-09-14 16:32 ` Justin Treon
  0 siblings, 1 reply; 3+ messages in thread
From: Davide CASCONE @ 2006-09-05 12:37 UTC (permalink / raw)
  To: linux-mtd


I'm working with JFFS2 on a NAND device. In order to disable the software ECC is it enough to set the mtd field "nand.eccmode" to "NAND_ECC_NONE"? 
If I do this, I have some CRC errors if JFFS2 file system includes a bad block. Is it right? Does the CRC check depend on the ECC options?

In order to use the summary support, is it enough to set the macro "CONFIG_JFFS2_SUMMARY" in the file ".config"? Do I have to re-make the file system image (that I create using the mkfs.jffs2 utility) in order to use it with the summary support?

Thanks in advance,
Davide

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

* Re: JFFS2 ECC options
  2006-09-05 12:37 JFFS2 ECC options Davide CASCONE
@ 2006-09-14 16:32 ` Justin Treon
  2006-09-14 17:04   ` dedekind
  0 siblings, 1 reply; 3+ messages in thread
From: Justin Treon @ 2006-09-14 16:32 UTC (permalink / raw)
  To: Davide CASCONE, linux-mtd


> I'm working with JFFS2 on a NAND device. In order to
> disable the software ECC is it enough to set the mtd
> field "nand.eccmode" to "NAND_ECC_NONE"? 
> If I do this, I have some CRC errors if JFFS2 file
> system includes a bad block. Is it right? Does the
> CRC check depend on the ECC options?
> 
> In order to use the summary support, is it enough to
> set the macro "CONFIG_JFFS2_SUMMARY" in the file
> ".config"? Do I have to re-make the file system
> image (that I create using the mkfs.jffs2 utility)
> in order to use it with the summary support?
> 

I have no idea about your first question.  You may
want to ask it again.  

Regarding summary support I have never been able to
make a jffs2 filing system that used summary support
with the mkfs.jffs2 tool that worked.  I create the
filing system with summary support on an empty chip
and then transfer the files. Please let me knhwo if
you get it to work with the mkfs.jffs2 tool.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

* Re: JFFS2 ECC options
  2006-09-14 16:32 ` Justin Treon
@ 2006-09-14 17:04   ` dedekind
  0 siblings, 0 replies; 3+ messages in thread
From: dedekind @ 2006-09-14 17:04 UTC (permalink / raw)
  To: justin_treon; +Cc: linux-mtd, davide.cascone

>I have no idea about your first question.  You may
>want to ask it again.  
>
>Regarding summary support I have never been able to
>make a jffs2 filing system that used summary support
>with the mkfs.jffs2 tool that worked.  I create the
>filing system with summary support on an empty chip
>and then transfer the files. Please let me knhwo if
>you get it to work with the mkfs.jffs2 tool.

Yeah, it makes a lot of sense not integrate the "sumtool" stuff
and mkfs.jffs2.

Nevertheless, it would prabably be nice if you sent a bugreport if
it doesn't work.

Artem.

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

end of thread, other threads:[~2006-09-14 17:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-05 12:37 JFFS2 ECC options Davide CASCONE
2006-09-14 16:32 ` Justin Treon
2006-09-14 17:04   ` dedekind

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