How build u-boot that support DDR4 on IMX8MINI

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

How build u-boot that support DDR4 on IMX8MINI

83,041 Views
13614278
Contributor III

We have a IMX8mini EVK, which is not LPDDR4, but DDR4.

For the formal NXP Yocto Linux code:

repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-sumo -m imx-4.14.98-2.0.0_ga.xml

I can build the image, which can be run LPDDR4 EVK, but failed to run on DDR4 EVK, as the uboot probably not confied correctly.

Now the question is: How can I modify uboot to let it run on DDR4? 

I can't find any clue through the doc, and I even can't know where is the uboot code path on Yocto build env, it is so different than the Android build env. It let me feel frustrating.

Could someone help me?

2 Replies

82,859 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

For DDR4 EVK board you can not use the same uboot with the LPDDR4, you need to build the uboot for it. As Karan Gajjar said you need to find the fsl-imx8mm-ddr4-evk.dts for DDR4 EVK board and then build the uboot.

82,859 Views
karangajjar
Senior Contributor II

Hi Yang Songxiang,

You can find the u-boot source at below path:

<yocto_build>/tmp/work/imx8mmevk-poky-linux/u-boot-imx/<rev>/git

Have you tried loading with fsl-imx8mm-ddr4-evk.dts?

Regards,

Karan Gajjar

0 Kudos
Reply