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
Hi Amrit
in uboot it can be changed with parameter "#define PHYS_SDRAM_SIZE"
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
I am having the same problem. could you please send it to me?