Hello,
I am working on the imx8qxpC0 revision custom board with BSP 5.10.35.
I have 4GiB (MT53D1024M32D4DT-053 AAT:D) on Board DRAM, but some how it is not reflecting on U-Boot Console. It is showing only 2.8GiB
I have tried changes on the below file in u-boot as suggested in forum, but still it is not reflecting correct DRAM Size.
include/configs/imx8qxp_mek.h
#ifdef CONFIG_TARGET_IMX8DX_MEK
#define PHYS_SDRAM_1_SIZE 0x40000000 /* 1 GB */
#define PHYS_SDRAM_2_SIZE 0x00000000 /* 0 GB */
#else
#define PHYS_SDRAM_1_SIZE 0x80000000 /* 2 GB */
/* LPDDR4 board total DDR is 3GB */
-- #define PHYS_SDRAM_2_SIZE 0x40000000 /* 1 GB */
++ #define PHYS_SDRAM_2_SIZE 0x80000000 /* 2 GB */
#endif
Do we need to change anywhere else also to reflect correct DRAM Size?
Thanks & Regards,
Rutvij Trivedi
Hi Rutvij
I believe your settings are correct. For dram size one can also recheck configuration
in RPA tool and ddr test, make all necessary software changes as described in MX8_DDR_Tool_User_Guide.pdf
Just for test one can try to build without optee, use sect.5.6.10 OP-TEE enablement i.MX Yocto Project User’s Guide
Best regards
igor
Hello @igorpadykov
I have tried to build without optee.
But still DRAM size is not reflecting correctly.
I have found new m4 binary (imx-boot-imx8qxpc0mek-sd.bin-flash_regression_linux_m4) and tried it, but no progress.
I have also tried with the m4 binary(imx-boot-imx8qxpc0mek-sd.bin-flash_linux_m4).
Any other suggestion would be appreciated.
----
Thanks