[Yaffs-archive] [YAFFS] Still struggling with ECC

Edward J. Lee noshel@idis.co.kr
Tue, 08 Apr 2003 23:56:30 +0900


Hi guys, me again.

I think that all of my configurations on yaffs is just fine, so the only 
possiblity is that
I'm doing something wrong with the MTD stuff or.. I made a shameful mistake.
(The problem was.. I keep getting the message 'Reading data from NAND FLASH
without ECC is not recommended')

I use my NAND chip partitioned into 5 pieces.
here's a portion of code declaring the partitions.

/*
 * Define partitions for flash device
 */
static struct mtd_partition partition_info[] = {
   { name: "Magic Block for idis",
     offset: 0,
     size: 32 * 512 },
   { name: "Upgrade Image for idis",
     offset: 16384,
     size: 2 * 1024 * 1024 },
   { name: "Kernel Image for idis",
     offset: 2113536,
     size: 2 * 1024 * 1024 },
   { name: "Root File System for idis",
     offset: 4210688,
     size: 11 * 1024 * 1024 },
   { name: "Setup and etc. for idis",
     offset: 15745024,
     size: 1032192 }
};
#define NUM_PARTITIONS 5

I think I heard someone saying something about 'oobsel', but I don't see 
clearly
what I should do.
I, once again must apologize for bothering all the YAFFSers around the 
world and
wasting their time. (sniff)


---------------------------------------------------------------------------------------
This mailing list is hosted by Toby Churchill open software (www.toby-churchill.org).
If mailing list membership is no longer wanted you can remove yourself from the list by 
sending an email to yaffs-request@toby-churchill.org with the text "unsubscribe" 
(without the quotes) as the subject.