We are developing DM8168 custom board. We have attached 8-bit NAND flash (K9F2G08U0B) to DM8168.
When fusing u-boot using nand-flash-writer.out, the following error occurs. Maybe nand-flash-writer.out is the problem.
How to modify nand-flash-writer source files to support 8-bit NAND flash (K9F2G08U0B)?
Starting NETRA NAND writer
----------------------
NAND FLASH DETAILS
----------------------
Device ID : 0xda
Manufacture ID : 0xec
Page Size : 2048 Bytes
Spare Size : 64 Bytes
Pages_Per_Block : 64
Number_of_Blocks : 2048
Device_width : 1 Byte
DeviceSize : 256 MB
Setting the ECC scheme
Set the BCH 8 bit ECC scheme .... done
Preparing to Flash image ....
Opening image ... done.
Erasing Required Blocks [start = 0, count = 2]...Done
Flashing image ...
Number of blocks needed for header and data: 0x2
Attempting to start write in block number 0x0.
Writing image data to Block 0 Page0x0
Verify failed. Attempting to clear page
Attempting to start write in block number 0x1.
Writing image data to Block 1 Page0x0
Verify failed. Attempting to clear page
Attempting to start write in block number 0x2.
Writing image data to Block 2 Page0x0
Verify failed. Attempting to clear page
Attempting to start write in block number 0x3.
Writing image data to Block 3 Page0x0
Verify failed. Attempting to clear page