Hi, Tiago Maluta, 2011/1/10 Tiago Maluta <tiago.mal...@gmail.com>: > Hi, > > I'm facing ECC errors when flashing u-boot on NAND on MX51EVK-based > board. U-Boot "nand write" command doesn't fill out-of-band (OOB) > bytes correctly. I noted this behavior after compare the same > u-boot.bin image flashed via ATK (proprietary software from > Freescale). I guess is something related to ECC timing. > > my logs: > http://farm6.static.flickr.com/5130/5320148028_7da19d3cf2_o.png > http://www.coding.com.br/wp-content/uploads/2011/01/nand-dump-fail.txt > http://www.coding.com.br/wp-content/uploads/2011/01/nand-dump-ok.txt
I have looked at your log and it turns out that the issued is caused that BI SWAP unbalance when you do NAND read and write. BI SWAP is used to keep the NAND bad block indicator out of factory, otherwise, the bad block indicator will be overwritten with user data. BR, Jason > > --tm > _______________________________________________ > U-Boot mailing list > U-Boot@lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot > _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot