nxp-imx / imx-kobs

Tool to create and write Freescale/NXP I.MX NAND boot related boot data structure to nand flash
GNU General Public License v2.0
29 stars 26 forks source link

Erasing address out of range #16

Open keelung-yang opened 5 years ago

keelung-yang commented 5 years ago

I tried bitbaked fsl-image-mfgtool-initramfs in imx-4.9.88-2.0.0_ga. got this log while erasing the first 2MB partition in our 512MB nand.

But by using fsl-image-mfgtool-initramfs in imx-4.1.15-2.0.3, we got correct log on the same board:

Background infomation: We are replacing our nand chip MT29F4G08ABADAWP by MT29F4G08ABAFAWP, the differences are page size(2k-->4k) and ecc strength(4bit-->8bit).

Since page size and ecc strength are identified automatically and show correct values in mfgtool log, no source code modified.