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.

cannot program flash under SD booting mode

I am trying program the flash through SD boot-up.  The EVM system boot-up after SD card is set correctly.  And it seems there are some hint which show it is not correct in erasing and writing flash. The log is attached here. could you help to judge where is the problem. (The whole board is coming from TI, and I have do nothing to the flash before programing)

Platform :DM8168

programming image: u-boot.bin

boot mode : from SD

Key error log:

[

NAND:  256 MiB
*** Warning - bad CRC or NAND, using default environment

...............

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                                         

]

1157.nand write.log