How to skip the ddr training in SPL

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

How to skip the ddr training in SPL

489 次查看
dengxing
Contributor I

I am working on optimizing the startup speed,and ddr training takes 360ms in SPL,so I want to skip it.

I tired to note ddrphy_trained_csr[] and g_cdd_max[] after ddr training, comment the ddr training code,write the array to reg.

but  it will restart after executing the malloc statement.

 

Does anyone know how to skip DDR training?(The following image shows my modifications)

 

comment  ddr trainingcomment ddr trainingdownload2.png

 
0 项奖励
2 回复数

408 次查看
dengxing
Contributor I

Thank you very mach,this document gave me some ideas.

0 项奖励

428 次查看
Harvey021
NXP TechSupport
NXP TechSupport

Hi @dengxing 

The DDR training for SPL can't be skipped. Linux Boot Time Optimizations for i.MX8M Family (nxp.com) the AN provides Boot Time Optimization which might be helpful for you.

 

Best regards

Harvey

0 项奖励