
11 May
2020
11 May
'20
12:18 p.m.
From: Han Xu han.xu@nxp.com The original nandbcb tool was designed for imx6 only, when trying to leverage it to replace the kobs-ng tool, we found the design is not friendly for supporting all platforms. To support all iMX6/7/8 platforms and for easy further maintain, I reconstruct the structure of the tool. The main changes including:
- Use platform_data to determine the logic branches rather than simply use SOC name.
- More data structures as parameter for functions.
- Global variables to define the FCB/DBBT/FW locations.
- Implement the kobs-ng default 4 FCB/4 DBBT/2 FW layout.
- Support Hamming coding/ 40bit BCH/ 62bit BCH coding FCB.
- Dump and compare all written FCB/DBBT to verify data integrity.
The tool has been verified on iMX6Q/DL, 6SX, 7D, 6ULL, iMX8QX, iMX8MM. Signed-off-by: Han Xu han.xu@nxp.com Signed-off-by: Peng Fan peng.fan@nxp.com
Applied to u-boot-imx, master, thanks !
Best regards, Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de
=====================================================================