[U-Boot-Users] [U-Boot-Users][Patch] Nand writing problem when size to program is superior to a nand block size

31 Jan
2006
31 Jan
'06
5:34 p.m.
This patch fixes a problem when writing an amount of data superior to a block size. Writing part seems to be correct. But when re-booting the board, bad block scan is performed and blocks following the first one you wrote are marked bad...
The problem seems to be in nand_write_ecc function in drivers/nand/nand_base.c source file where oob variable is not reset after reaching a block boundary, so that wrong values are written in next block oobs.
Hope it's clear enough...
This patch is applied against testing-NAND git branch.
CHANGELOG Patch by Nicolas Lacressonniere 31 January 2006 * Fix bad block scan problem when writing an amount of data superior to nand block size
7035
Age (days ago)
7035
Last active (days ago)
0 comments
1 participants
participants (1)
-
Lacressonniere Nicolas