I'm not quite understanding the focus of your post - are you trying to flash u-boot, ubl, kernel, filesystem through the nandwriter program? The CCS nandwriter program does not calculate ECC values, since it leaves this up to the HW 512 byte 4-bit ECC engine to generate this. The program simply accepts these ECC values and places them in the correct area that can be read by the RBL when it loads in UBL, and consequently, the UBL when it reads in U-boot. Is the genecc utility the one provided by YAFFS? If so, that does not generate proper ECC values - it just generates column parities for a chunk of data that is not compatible with the HW ECC.
You should not have to generate your own ECC values, with the exception being for YAFFS/YAFFS2 Filesystem images - YAFFS generates its own ECC (row, column parities) and lays it out in the free bytes in the spare area. The kernel would need to be configured for SW_ECC for this to work properly. Hope it helps, Jerry Johns Design Engineer Nuvation Research Corp - Canada Tel: (519) 746-2304 ext. 221 www.nuvation.com <http://www.nuvation.com>
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
