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.

Am3703: BCH4 differs in kernel and uboot

Used until now 1 bit SW-ECC, but have to use a better protection. So I would like to switch to BCH4 in SW (use both Omap3 and Sitara Am37xx).

The old kernel doesn't Support BCH4, but I found a paper from Micron to update it. (TN-29-71: Enabling Software BCH ECC on a Linux Platform Source Code Changes) 

This seems to work, but I found that although the position and number of Bytes in OOB is identical, the EEC data arn't.

Any idea how to make xloader and uboot compatible to the Linux way of calculating BCH4 (or other way around)?