Hello,
For mass-production nand flash programming, we need to pre-process raw binary image from our client and modify it in a way compatible with Sitara AM3352ZCZ60 processor GPMC ECC controller. ECC algorithm in use is BCH (BCH-8).
Particularly, our programmer need to calculate required ECC checksums and append them to client's data. Available images don't contain spare area.
So we are looking for BCH algorithm source code or any other kind of clear stuff that can help us to implement necessary software engine.
Frantisek