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.

uboot/linux nand ecc mismatch for env

Other Parts Discussed in Thread: AM3354

We use AM3354 SOM from vendor with BSP based on TI and run into
problem flashing U-Boot environment from linux where ecc does not
match Linux and so U-Boot fails to read env.

I find this issue addressed here and also explained in detail
AM335x U-Boot User's Guide. I think I fully understand
the problem.

What I do not find an answer to is why, why, why does U-Boot
default to using Hamming Code Ecc for env when SPL, Linux and
File System use BCH8??? Is there some technical reason that
U-Boot MUST use Hamming instead of BCH for env that is not obvious?

Since U-Boot source already has nandecc option for BCH8,
if I were to edit U-Boot source to use BCH8 for env then flash
that new U-Boot bin and env from linux would there be any
negative consequence that is not obvious?

Thanks,

Dave