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_184.108.40.206
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)
Trying to boot from MMC1
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 ###
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_220.127.116.11 patches were sent via mail.