This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Bad blocks on NAND with C6A816x AM389x EVM - SOLVED

Looks like a number of folks are running into this issue:

TI8168_EVM#nand erase 0 1c0000

NAND erase: device 0 offset 0x0, size 0x1c0000

Skipping bad block at  0x00000000                                         

Skipping bad block at  0x00020000                                          

Skipping bad block at  0x00040000                                         

Skipping bad block at  0x00060000                                         

Skipping bad block at  0x00080000                                          

Skipping bad block at  0x000a0000                                         

Skipping bad block at  0x000c0000                                         

Skipping bad block at  0x000e0000                                         

Erasing at 0x1a0000 -- 100% complete.

I just wanted to confirm that using nand scrub fixed the bad block issue for me. Originally, I was unable to successfully write and run U-Boot from NAND. After using this command and running through the copy U-Boot to NAND procedure, I can now boot from NAND.

I received the EVM in this state but it's a loaner so perhaps somebody prior did something to cause the bad block failure. In any event, it appears to be a somewhat common issue and so perhaps either Spectrum Digital or TI should look into what's going on here.

Other than being unable to boot from NAND, I was also unable to boot from NOR and SPI. Since I wasn't too interested in these two alternatives, I didn't spend the time to figure why these other boot modes weren't working.