DDR3 Initialization on T1042

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

DDR3 Initialization on T1042

ソリューションへジャンプ
746件の閲覧回数
EmbEng
Contributor III

We are going to replace DDR4 from reference board to DDR3 in our custom board. I wanted to confirm if there are other changes required to enable DDR3 initialization on u-boot other that removing CONFIG_SYS_FSL_DDR4 from u-boot config? Or just removing that config option will enable initialization of DDR3 in u-boot?

タグ(2)
0 件の賞賛
1 解決策
547件の閲覧回数
Pavel
NXP Employee
NXP Employee

The T104xRDB.h configuration file from u-boot SDK 2.0 contains the following:

#define CONFIG_DDR_SPD

#ifndef CONFIG_SYS_FSL_DDR4

#define CONFIG_SYS_FSL_DDR3

#endif

 

It means that removing CONFIG_SYS_FSL_DDR4 enables DDR3 using.


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

2 返答(返信)
547件の閲覧回数
EmbEng
Contributor III

We have added DDR3 discrete chips to our board so there is no option for SPD, so I also need to comment #define CONFIG_DDR_SPD from T104xRDB.h file. As there's no SPD, so I have generated the timing parameters following this guide.

Now as mentioned in the point 3 page 5 of this guide, I have pasted the C code generated in QCVS DDR tool to ddr.c file. Now I want to confirm that is there any other modification required to ddr.c file? Because I cant see the structure generated by QCVS used anywhere in u-boot code. How will the pasted parameters be used by u-boot now?

0 件の賞賛
548件の閲覧回数
Pavel
NXP Employee
NXP Employee

The T104xRDB.h configuration file from u-boot SDK 2.0 contains the following:

#define CONFIG_DDR_SPD

#ifndef CONFIG_SYS_FSL_DDR4

#define CONFIG_SYS_FSL_DDR3

#endif

 

It means that removing CONFIG_SYS_FSL_DDR4 enables DDR3 using.


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------