[i.MX8M Mini] Failed when booting uboot from SDcard

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

[i.MX8M Mini] Failed when booting uboot from SDcard

466 Views
DungTA98
Contributor II

Hi,

I'm porting u-boot to a new board based on the i.MX8M Mini SoC.
I cloned the source code of the i.MX8M Mini EVK board and modified it. But I am stuck in uboot as shown below.
PMIC and DDR4 have run successfully.
What did I do wrong?
Hope you can help me

 

image.png

Best regards,
DungTA

Labels (1)
0 Kudos
3 Replies

449 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

Don't know the changes you have made to the source code so can't really comment on that.

First thing is that you only mention that DDR4 and PMIC are running correctly is this based on the log?
If so, then please double check by running the DDR stress tool:
https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-8M-Family-DDR-Tool-Release/ta-p/110...

Best regards,
Aldo.

0 Kudos

440 Views
DungTA98
Contributor II
Hi,

I have trained DDR4 correct by using DDR Tool. But when I build u-boot, the building system always uses LDDR4 instead of DDR4.
1. What files do I need to change to use DDR4?
2. I want to disable FLS_CAAM, SPL_CRYPT but when I turn it off, CONFIG_SPL_BUILD is also disabled. How do I disable the one I want?
0 Kudos

400 Views
AldoG
NXP TechSupport
NXP TechSupport

Hi,

I do not know how you're compiling, whether using stand alone or Yocto, for any of those you'll need to select the appropriate target for standalone it should be selecting the defconfig, for our i.MX8MM DDR4 EVK is:
$ make imx8mm_ddr4_evk_defconfig

While for yocto is selecting the machine:
$ MACHINE=imx8mm-ddr4-evk bitbake u-boot-imx

You may refer to the following documentation for more detailed information:
i.MX Porting Guide​
i.MX Yocto Project User’s Guide​

Best regards,
Aldo.

0 Kudos