Hello,
TC58BVG0S3HTAI0 has embedded ECC, and I am afraid, it is practically impossible to use "smart"
NAND with on-die ECC enabled for boot, since i.MX6 GPMI controller is intended to work with "raw"
parts, assuming specific NAND blocks mapping : any NAND is treated as sequence of 512-bytes blocks
with following spare areas. The ''smart' NANDs use own (different) mapping.
Please look at section 8.5.2.5 (Bad Block Handling in the ROM) of the I.MX6UL RM (IMX6ULRM,
Rev. 0, 08/2015) for NAND data mapping. As for ECC - section 8.5.2.2 [NAND Flash Boot Flow and Boot
Control Blocks (BCB)] describes BCB structures and states about ECC protection, using the internal
hardware.
Possible solution – my opinion – applying boot SPI NOR; so that NOR code configures
BENAND part to disable its ECC (if possible).
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------