[#4272] operate nand flash on bf548 make bad blocks
Submitted By: Mingquan Pan
Open Date
2008-07-22 23:53:19 Close Date
2008-07-29 00:32:46
Priority:
Medium High Assignee:
Bryan Wu
Status:
Closed Fixed In Release:
N/A
Found In Release:
N/A Release:
Category:
N/A Board:
N/A
Processor:
N/A Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Fixed
Uboot version or rev.:
Toolchain version or rev.:
08r1.5-14
App binary format:
N/A
Summary: operate nand flash on bf548 make bad blocks
Details:
operate nand flash on bf548 make bad blocks on 08R1 branch kernel from about June 26.
When running nand test case on one BF548 board, the first round testing result is ok and has few bad blocks, and the second round would print more bad sectors error info.
cp /bin/pwd /mnt^M
nand_erase: attempt to erase a bad block at page 0x00000900^M
nand_erase: attempt to erase a bad block at page 0x00000880^M
**>> Erasure failed 3^M
**>> Block 3 retired^M
nand_erase: attempt to erase a bad block at page 0x00000840^M
**>> Erasure failed 2^M
**>> Block 2 retired^M
nand_erase: attempt to erase a bad block at page 0x00000800^M
**>> Erasure failed 1^M
**>> Block 1 retired^M
bf5xx-nand bf5xx-nand.0: syndrome[0] 0x00090120^M
bf5xx-nand bf5xx-nand.0: syndrome[1] 0x00000120^M
bf5xx-nand bf5xx-nand.0: syndrome[2] 0x00000000^M
bf5xx-nand bf5xx-nand.0: syndrome[3] 0x00000000^M
bf5xx-nand bf5xx-nand.0: syndrome[4] 0x00000000^M
bf5xx-nand bf5xx-nand.0: calced[0x00394f29], stored[0x00304e09]^M
bf5xx-nand bf5xx-nand.0: More than 1-bit error, non-correctable error.^M
bf5xx-nand bf5xx-nand.0: Please discard data, mark bad block^M
detailed info is attached.
Follow-ups
--- Bryan Wu 2008-07-28 05:13:52
When enable the CONFIG_MTD_NAND_BF5XX_BOOTROM_ECC, the bug shows up.
So I disable this option as in defconfig to close this bug. I will open another
bug tracker to real fix this bug.
-Bryan
--- Bryan Wu 2008-07-28 06:24:43
Mike pointed out that we should disable CONFIG_MTD_NAND_BF5XX_BOOTROM_ECC when
we don't want to use boot U-boot from NAND by BootROM. So this bug should be
real fixed. Please verify it.
Thanks
-Bryan
--- Mingquan Pan 2008-07-29 00:32:44
Yes,close.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
nand_test_log application/octet-stream 111609 Mingquan Pan