[iMX 8MQ] RAM 4GB support

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

[iMX 8MQ] RAM 4GB support

Jump to solution
1,838 Views
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
Labels (1)
0 Kudos
Reply
1 Solution
1,781 Views
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

 

View solution in original post

6 Replies
1,826 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply
1,816 Views
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 Kudos
Reply
1,807 Views
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 Kudos
Reply
1,782 Views
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

 

773 Views
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 Kudos
Reply
1,772 Views
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 Kudos
Reply