[iMX 8MQ] RAM 4GB support

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

[iMX 8MQ] RAM 4GB support

跳至解决方案
1,731 次查看
shunnianzhai
Contributor III
Hi All,
 
To support 4GB RAM in our custom board, I follow the software changes as highlighted in the following post:
 
However, when boot-up, it stops at "starting kernel ....", same issue reported in the post.
In u-boot, it reports the 4GB RAM in the debug log. 
However, when I try to use "md" command to access the memory address range "1 0000 0000" to "1 3FFF FFFF". It will trigger the error and reset the processor immediately.
 
Since the post above mentioned that their board is working when removing "OPTEE", I also did a quick try on this.
I checked the default settings in u-boot that CONFIG_TEE and OPTEE are not set.
In the kernel, by default, both CONFIG_TEE and OPTEE are set. I changed them to not set but the bootup still failed.
 
Could you help what else needs to be changed to support max 4 GB RAM size?
 
Also, when I access the following link provided in the solution in the post, I always get the error "Access Denied".
Could you help provide the relevant information if you are able to access it?
 
FYI:
We are currently using the NXP BSP version: LF5.10.72_2.2.0.
This is different from the post mentioned earlier. 
 
Thanks and regards,
Shunnian
标签 (1)
0 项奖励
回复
1 解答
1,674 次查看
shunnianzhai
Contributor III

Hi b45499,

thanks for your information.

I worked with NXP local FAE to resolve this issue. Now it is working properly.

Regards,

Shunnian

 

在原帖中查看解决方案

6 回复数
1,719 次查看
Rita_Wang
NXP TechSupport
NXP TechSupport

How about the DDR design in your board? You choose 4GB ddr?

0 项奖励
回复
1,709 次查看
shunnianzhai
Contributor III

Hi b45499,

Yes, the DDR stress test with the NXP tool for 4GB DDR setting is already passed.

The u-boot and kernel boot-up with 3GB configuration are all working properly now.

The only thing is to add support for 4GB and make additional 1GB working.

Thanks for your any suggestions.

Best regards,

Shunnian

0 项奖励
回复
1,700 次查看
Rita_Wang
NXP TechSupport
NXP TechSupport

@shunnianzhai I email to you the u-boot patch on the 5.4.70 to change from 3GB to 4GB, please have a check.

0 项奖励
回复
1,675 次查看
shunnianzhai
Contributor III

Hi b45499,

thanks for your information.

I worked with NXP local FAE to resolve this issue. Now it is working properly.

Regards,

Shunnian

 

666 次查看
NMARIE
Contributor I

Hello,

I'm also working on a IMX8MQ with 4GB DRAM. And i also faced the same issue. Would you like to share the solution please ?

0 项奖励
回复
1,665 次查看
Rita_Wang
NXP TechSupport
NXP TechSupport

I am glad to hear that it works well now, good news.

Wish you have a nice day

0 项奖励
回复