how to change ddr to 2G for GPU memory on imx8mq?

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

how to change ddr to 2G for GPU memory on imx8mq?

816 Views
CordialMai
Contributor I

Hi all,

I built Android 9.0 on imx8mq, my custom board uses 2G DDR , I had change  the following file to 2G configuration under vendor/nxp-opensource/uboot-imx directory.

vendor/nxp-opensource/uboot-imx/board/freescale/imx8mq_evk/lpddr4_timing.c

vendor/nxp-opensource/uboot-imx/include/configs/imx8mq_evk.h

 

But I think I should change ddr to 2G for GPU memory, can anyone tell me how to change it?

Best regards

CordialMai

0 Kudos
Reply
2 Replies

812 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello CordialMai,

If you have change the memory settings you need to modify the go_defaults.mk, go_defaults_common.mk, and go_defaults_512.mk in device/fsl/imx8m/imx8mq.mk

 

Regards

 

0 Kudos
Reply

803 Views
CordialMai
Contributor I

Hi Bio,

Thank you very much for your reply!

In my project source code,under directory of device\fsl\imx8m there is no imx8mq.mk.

There are evk_8mm,evk_8mn,evk_8mq directories and AndroidProducts.mk,BoardConfigCommon.mk,ProductConfigCommon.mk files, and so on.

Do you mean I should add the following Statement to device/fsl/imx8m/evk_8mq/evk_8mq.mk

+$(call inherit-product, build/target/product/go_defaults.mk)

 

But it is a go version configuration for 1G DDR low memory device.

Do 2G DDR memory device need go_defaults.mk configuration?

Looking forward to your reply!Thank you!

Regards

CoridialMai

 

 

0 Kudos
Reply