DRAM size is not reflecting on imx8qxpC0 custom board with BSP 5.10.35

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

DRAM size is not reflecting on imx8qxpC0 custom board with BSP 5.10.35

791 Views
r_trivedi123
Contributor IV

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

0 Kudos
Reply
2 Replies

783 Views
igorpadykov
NXP Employee
NXP Employee

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

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-8-8X-Family-DDR-Tools-Release/ta-p/...

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

0 Kudos
Reply

745 Views
r_trivedi123
Contributor IV

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

Tags (1)
0 Kudos
Reply