How to generate the “ddr_init.c” file in the atf directory on the LS1028 platform?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How to generate the “ddr_init.c” file in the atf directory on the LS1028 platform?

跳至解决方案
835 次查看
Eddy1
Contributor V

Hi:

I found that the LS1028 platform’s DDR configuration is located in the “atf/plat/nxp/soc-ls1028/ls1028ardb” directory (ddr_init.c). However, when I configure DDR with QCVS . I found that I cannot generate the ‘ddr_init.c’ file. How can I generate this file?

Eddy1_0-1704287414679.png

 

1 解答
815 次查看
Hector_Villarruel
NXP TechSupport
NXP TechSupport

Hello @Eddy1 

The "ddr_init.c" is generated by itself once when you create the project.

From our side, we have created a new project and the "ddr_init.c" file was created by itself.

We are developing this test in Codewarrior 11.5.15. with appropriate active licenses.

Have a great day.

Best Regards,

Hector Villarruel

在原帖中查看解决方案

0 项奖励
回复
2 回复数
555 次查看
kenli
NXP Employee
NXP Employee

on layerscape platform,you need port ddrtfa*.c to init.c by your self.More info see LSDK 21.08 User guide chapter<5.2.1.1 TF-A DDR Driver>.

Best regards
0 项奖励
回复
816 次查看
Hector_Villarruel
NXP TechSupport
NXP TechSupport

Hello @Eddy1 

The "ddr_init.c" is generated by itself once when you create the project.

From our side, we have created a new project and the "ddr_init.c" file was created by itself.

We are developing this test in Codewarrior 11.5.15. with appropriate active licenses.

Have a great day.

Best Regards,

Hector Villarruel

0 项奖励
回复