imx8mp lpddr4

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

imx8mp lpddr4

396 Views
864535720
Contributor II

Hello, in order to understand the process of adapting imx8mp to LPDDR4, I configured the timing of LPDDR4 myself on the imx8mp evk development board.
My uboot version is 2022.04. I use the default ds file MX8M-Plus_LPDDR4-RPA-v9.xlsx and generate the corresponding code through mscale-d dr_tool-v3.31_setup. exe. My DDR stress test has passed. Currently, there are the following issues:
1. My uboot has not compiled board/free scale/imx8mp_ evk
/The lpdddr4_timing. c file is compiled as board/freescale/imx8mp_ evk
/DDR4_timing. c file.
2. There is a document in mscale-d dr_tool-v3.31_setup. exe that introduces the existence of new and old versions of uboot. May I ask if my version is the new version or the current version, and whether I should use the file lpdddr4_timing. c.
3. How should I generate LPDDR4 timing for uboot 2022.4 and run it on the imx8mp evk development board.

 

你好,为了了解imx8mp适配LPDDR4的流程,我在imx8mp-evk开发板上面自己去配置LPDDR4的时序。
我的uboot版本是2022.04。我使用MX8M_Plus_LPDDR4_RPA_v9.xlsx默认的ds文件,通过mscale_ddr_tool_v3.31_setup.exe去生成对应的代码。我的DDR压测已经通过。目前有如下问题:
1、我的uboot没有编译board/freescale/imx8mp_evk
/lpddr4_timing.c文件,编译的是board/freescale/imx8mp_evk
/ddr4_timing.c文件。
2、mscale_ddr_tool_v3.31_setup.exe里面有文档介绍存在新旧uboot版本。请问我的版本是新版本还是就版本,我是否应该使用lpddr4_timing.c这个文件。
3、针对uboot 2022.4版本,我应该怎么去生成LPDDR4的时序,然后在imx8mp-evk开发板上运行起来。
0 Kudos
Reply
4 Replies

376 Views
Rita_Wang
NXP TechSupport
NXP TechSupport
你好,为了了解imx8mp适配LPDDR4的流程,我在imx8mp-evk开发板上面自己去配置LPDDR4的时序。
我的uboot版本是2022.04。我使用MX8M_Plus_LPDDR4_RPA_v9.xlsx默认的ds文件,通过mscale_ddr_tool_v3.31_setup.exe去生成对应的代码。我的DDR压测已经通过。目前有如下问题:
1、我的uboot没有编译board/freescale/imx8mp_evk
/lpddr4_timing.c文件,编译的是board/freescale/imx8mp_evk
/ddr4_timing.c文件。
A:你这里要用lpddr4_timing.c,你板子上用的是LPDDR4的话,ddr4_timing.c是给DDR4的。
2、mscale_ddr_tool_v3.31_setup.exe里面有文档介绍存在新旧uboot版本。请问我的版本是新版本还是就版本,我是否应该使用lpddr4_timing.c这个文件。
A:你的这个版本的OK的。
3、针对uboot 2022.4版本,我应该怎么去生成LPDDR4的时序,然后在imx8mp-evk开发板上运行起来。
A:你用的是NXP 的开发板吗?还是你自己设计的板子?
0 Kudos
Reply

371 Views
864535720
Contributor II
我用的是NXP的板子:imx8mp-evk开发板。
我使用2022.04这个版本的uboot,执行 make imx8mp_ddr4_evk_defconfig命令后,再执行make。结果发现lpddr4_timing.c这个文件没有被编译,ddr4_timing.c这个文件被编译了。请问我应该怎么配置,使lpddr4_timing.c被编译,屏蔽ddr4_timing.c。
0 Kudos
Reply

365 Views
xjy198903
Contributor III

你要编译lpddr4,那你应该是 make imx8mp_evk_defconfig,你那个配置是对应ddr4

0 Kudos
Reply

335 Views
864535720
Contributor II
你好,关于DDR的适配,还要如下问题需要支持一下:
1、制作flash.bin时,提示需要bl31.bin,tee.bin。请问这两个文件哪里可以获取到。
2、制作flash.bin时,提示需要lpddr4_dmem_1d等4个文件lpddr4_pmu_train_1d_imem_202006.bin、lpddr4_pmu_train_1d_dmem_202006.bin、lpddr4_pmu_train_2d_imem_202006.bin、lpddr4_pmu_train_2d_dmem_202006.bin。我从mscale_ddr_tool_v3.31\bin目录下拷贝过来,然后重命名的。这样是否有问题?
3、如果我自定义的板子LPDDR大小发生改变后,还需更改哪些地方?怎么更改?有相关的文档介绍吗?
0 Kudos
Reply