imx-kobs
imx-kobs copied to clipboard
Erasing address out of range
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.
- Erasing 256 Kibyte @ 0 -- -1 % complete
- Erasing 256 Kibyte @ c00040000 -- -1 % complete
- Erasing 256 Kibyte @ 1900080000 -- -1 % complete
- Erasing 256 Kibyte @ 25000c0000 -- -1 % complete
- Erasing 256 Kibyte @ 3200100000 -- -1 % complete
- Erasing 256 Kibyte @ 3e00140000 -- -1 % complete
- Erasing 256 Kibyte @ 4b00180000 -- -1 % complete
- Erasing 256 Kibyte @ 57001c0000 -- -1 % complete
- Erasing 256 Kibyte @ 64001c0000 -- -1 % complete
But by using fsl-image-mfgtool-initramfs in imx-4.1.15-2.0.3, we got correct log on the same board:
- Erasing 256 Kibyte @ 0 -- 0 % complete
- Erasing 256 Kibyte @ 40000 -- 12 % complete
- Erasing 256 Kibyte @ 80000 -- 25 % complete
- Erasing 256 Kibyte @ c0000 -- 37 % complete
- Erasing 256 Kibyte @ 100000 -- 50 % complete
- Erasing 256 Kibyte @ 140000 -- 62 % complete
- Erasing 256 Kibyte @ 180000 -- 75 % complete
- Erasing 256 Kibyte @ 1c0000 -- 87 % complete
- Erasing 256 Kibyte @ 1c0000 -- 100 % complete
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.