Detect DDR size in uboot of IMX8MQ

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

Detect DDR size in uboot of IMX8MQ

496 Views
jemish_1990
Contributor IV

Hi All,

We are working product based on IMX8MQ (MIMX8MQ6DVAJZAA) processor.

Uboot version : U-Boot 2018.03

Till now in our boards we are using 3GB DDR. These DDRs will be soon end of the life. Due to that we have requirement to support 4GB DDR. Currently I observed that in our uboot we are hardcoding DDR size instead of calculating it. We want to keep same uboot for future product with 4GB DDR and older products with 3GB DDR. To make sure that we need to calculate DDR size in uboot instead of using hardcoded size.

I have already went through following post:

https://community.nxp.com/t5/i-MX-Processors/Detect-DDR-size-in-u-boot-on-i-mx8m/td-p/756016

But didn't find solution. Is there way to calculate DDR size in uboot for IMX8MQ board? Any suggestion would be appreciated.

Thanks,

Jemish

0 Kudos
Reply
2 Replies

394 Views
jemish_1990
Contributor IV

Hi @Chavira 

Thanks for your reply. We can close this discussion we have handle using alternate way. But this regression from NXP side. There is method to calculate DDR size in IMX6 (imx_ddr_size) and IMX8 doesn't have such method.

Thanks,

Jemish

 

0 Kudos
Reply

459 Views
Chavira
NXP TechSupport
NXP TechSupport

Hi @jemish_1990!
Thank you for contacting NXP Support!

From now we don't have examples of how to auto-detect the size memory on our devices.

I think you can modify the source code to try with different memory sizes.

Sorry for the mistake!

Best Regards!

Chavira

0 Kudos
Reply