Hi
I'm debugging booting from nand flash on T1024 CPU, using the config T1024RDB_NAND_defconfig of u-boot. After the ddr initialization, loading uboot from nand flash. But the datas from nand flash are all 0xff.
The function flow is : board_init_r(t102xrdb/spl.c)->nand_boot(fsl_ifc_spl.c)->nand_spl_load_image(fsl_ifc_spl.c).
During the booting, there is no nand_init. Is the flow right?
Thanks very much.
You need to modify section "ONFI NAND Flash mode0 Timing Params" in include/configs/T102xRDB.h in u-boot source code, please calculate IFC timing configuration based on the datasheet of NAND flash on your target board.
For IFC timing calculation, please refer to https://community.nxp.com/t5/Layerscape-Knowledge-Base/IFC-Controller-Configuration-on-QorIQ-Custom-...
Hi yiping,
The issue has been resolved. Thanks very much.