Hi,
We are using DM368 with DVSDKv4.02 and having NAND ECC error problem.
Using Micron 8bit NAND Flash and supports 4bit ECC.
With a customer board, UBL, U-boot, uImage, JFFS2(or UBIFS) are first flashed to NAND, using SD Boot.
Therefore UBL, U-boot, uImage, and Filesystem to write to the NAND is saved in SD card beforehand.
Flashing to the NAND is performed from U-boot.
After flashing the NAND, we reboot the board using NAND Boot.
UBL, U-boot, kernel will boot up successfully but
while mounting root filesystem(JFFS2 or UBIFS) NAND ECC errors occur frequently.
Moreover, when updating the NAND u-boot from kernel and then reboot the board,
U-boot will not boot successfully.
It seems that NAND flashing program of kernel is not operating correctly.
When I checked with the trial by DM368EVM,
NAND ECC error occur after mounting root filesystem.
I tested with the following method.
******************************************************************************
Booting from SD card and flashing JFFS2 to NAND from the u-boot.
Then reboot UBL, U-boot, uImage from SD card,
and JFFS2 filesystem are mounted from NAND Flash, NAND ECC occur.
I will attach the log file to this post.
Tested by following UBL, U-boot, uImage and JFFS2:
===JFFS2===
Uncompress the"ti-dvsdk_dm368-evm_4_02_00_06/filesystem/arago-base-tisdk-image-dm368-evm.tar.gz"
and created as follow:
mkfs.jffs2 -l -q -n -e 128 -r ./rfs/ -o ./jffs2.bin -p 131072
===UBL===
"ti-dvsdk_dm368-evm_4_02_00_06/psp/board_utilities/serial_flash/UBL_DM36x_SDMMC_ARM432_DDR340_OSC24.bin"
===U-boot, uImage===
Created after executing "ti-dvsdk_dm368-evm_4_02_00_06/setup.sh"
*********************************************************************************
Please give me an advice for this NAND ECC error.
best regards,
g.f.