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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
472 Views
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 Solution
452 Views
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

View solution in original post

0 Kudos
2 Replies
192 Views
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 Kudos
453 Views
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 Kudos