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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,195 次查看
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 项奖励
回复
2 回复数

1,187 次查看
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 项奖励
回复

1,149 次查看
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

标记 (1)
0 项奖励
回复