The data read from nand flash is wrong during booting.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

The data read from nand flash is wrong during booting.

920件の閲覧回数
wangmeng0427
Contributor II

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.

0 件の賞賛
返信
2 返答(返信)

906件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

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-...

0 件の賞賛
返信

899件の閲覧回数
wangmeng0427
Contributor II

Hi yiping,

The issue has been resolved. Thanks very much.

0 件の賞賛
返信