Skip to contentSkip to conversation

NAND driver - spare area ecc

DISCUSSION Sameer 2 participants 2 messages Oct 22, 2007 – Nov 6, 2007 Memory technology devices (MTD)

lore
Share & tools
lore

Sameer

author
#0 lore raw

Hi,
I am working on NAND flash driver on TI's OMAP based board.
NAND is large page nand with 8bit buswidth.
I need to calculate ecc for the spare area data.
1.Does the current linux nand driver support ecc calulation for spare area
with hw_ecc/sw_ecc enabled?
2.If not could any one suggest on what data of the spare area info I need to
calculate ECC?

I am a begineer working on MTD driver. Please provide your Valuable comments.

Regards,
-Sameer

#1 lore raw
Quoted 6 lines · Sameer

Hi,
I am working on NAND flash driver on TI's OMAP based board. NAND is large page nand with 8bit buswidth.
I need to calculate ecc for the spare area data.
1.Does the current linux nand driver support ecc calulation for spare area
with hw_ecc/sw_ecc enabled?

It depends on the driver. which processor are you using?. You
could either use
software to generate ecc or use the hardware to generate the ecc.

Quoted 2 lines

2.If not could any one suggest on what data of the spare area info I need to
calculate ECC?

ECC is computed for the data that is stored in that particular
page of the flash.
ECC and other information like bad block is stored in the spare area.

Regards,
sriram

Quoted 13 lines

I am a begineer working on MTD driver. Please provide your Valuable comments.

Regards,
-Sameer

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/