iMX8M Uboot changes to support 4GB LPDDR

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

iMX8M Uboot changes to support 4GB LPDDR

1,674 Views
amrit_soni
Contributor I

We have a custom board based on imx8m mini with 4GB LPDDR4. We are trying to get u-boot running on this board using SD Card. Our u-boot stand alone is based on imx8mm evk source version 4.14.98_2.0.0.0

Could someone let me know if I need to specify DRAM size in any of the files? What changes will be required to the source files. If nothing is changed, will it still work with 2GB?

I am seeing that it is attempting to boot from SD Card, but then not able to find MMC Device 0. Here is the log:

U-Boot SPL 2018.03-00013-g0d6d880-dirty (Aug 27 2020 - 14:32:25 -0400)

spl_early_init()

........
Normal Boot
Trying to boot from MMC1
find_mmc_device 0
MMC Device 0 not found
spl: could not find mmc device. error: -19
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###

Any suggestions?

Thanks,

Amrit Soni

0 Kudos
Reply
2 Replies

1,644 Views
igorpadykov
NXP Employee
NXP Employee

Hi Amrit

 

in uboot it can be changed with parameter "#define PHYS_SDRAM_SIZE"

https://source.codeaurora.org/external/imx/uboot-imx/tree/include/configs/imx8mm_evk.h?h=imx_v2018.0...

however recommended to use release 4.14.98_2.1.0 and later, which has 4 GB support implemented by default.

For version 4.14.98_2.0.0.0 patches were sent via mail.

 

Best regards
igor

0 Kudos
Reply

1,354 Views
sakizci
Contributor II

I am having the same problem. could you please send it to me?

0 Kudos
Reply