public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* A question on ECC
@ 2003-04-14  0:18 Edward Lee \(이장원\)
  2003-04-14  2:01 ` Earl Manning
  0 siblings, 1 reply; 14+ messages in thread
From: Edward Lee \(이장원\) @ 2003-04-14  0:18 UTC (permalink / raw)
  To: linux-mtd

Hello. I'm Edward Lee in Korea.

I'm using samsung NAND flash, with YAFFS on it..
But I'm having problems with ECC.
I wrote a file that's needed to use the flash chip with my board,
and here's  a small part of code that defines the partitions.

static struct mtd_partition partition_info[] = {
    { name: "a",
      offset: 0,
      size: 32 * 512 },
    { name: "b",
      offset: 16384,
      size: 2 * 1024 * 1024 },
    { name: "c",
      offset: 2113536,
      size: 2 * 1024 * 1024 },
    { name: "d",
      offset: 4210688,
      size: 11 * 1024 * 1024 },
    { name: "e",
      offset: 15745024, 
      size: 1032192 }
};
#define NUM_PARTITIONS 5

    I'm using YAFFS on partitions "d" and "e".
But I can't stop recieving annoying kernel messages saying
"Reading data from NAND FLASH without ECC is not recommended".

     On YAFFS's side, I set the option CONFIG_YAFFS_USE_NANDECC,
which I believe that asks the mtd NAND to do the ECC.
So, I would like to ask if any other settings are necessary in order to enable ECC.
(Probably something should be added to the stuff above?)

Well, that's all, and thanks for the great work.

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

end of thread, other threads:[~2003-04-19  6:32 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-14  0:18 A question on ECC Edward Lee \(이장원\)
2003-04-14  2:01 ` Earl Manning
2003-04-14  5:13   ` Edward Lee (???)
2003-04-14  7:54     ` Thomas Gleixner
2003-04-14 17:40       ` Edward J. Lee
2003-04-14 10:03         ` Gerhard Uttenthaler
2003-04-14 11:17           ` Thomas Gleixner
2003-04-14 11:25         ` Thomas Gleixner
2003-04-18  9:47           ` Edward J. Lee
2003-04-18  8:49             ` Thomas Gleixner
2003-04-19  4:14               ` Edward Lee (???)
2003-04-19  7:31                 ` Thomas Gleixner
2003-04-14 14:06         ` Earl Manning
2003-04-14 15:26           ` Thomas Gleixner

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