What can I do to get Xloader work with 4bit BCH?
I use both processors and switched from 1bit SW ECC to 4bit BCH. Both boards have same xloader and uboot Content. The AM37xx works, but OMAP35xx calculates other ECC values.
From what I read in Migration guide there is no difference in this part.
The function omap_calculate_ecc_bch4() reads back from processor, and this values are different in Sitara and OMAP:
reg =(unsigned long)(GPMC_BASE +
GPMC_ECC_BCH_RESULT_0 + (0x10 * i));
val1 = __raw_readl(reg);
val2 = __raw_readl(reg + 4);
printf("%#x %#x\n", val1, val2);
In omap_enable_hwecc_bch4 both processors will be configured with same
ecc_size_conf_val, ecc_conf_val