HOWTO change for upgrading from 2G DDR4/8GB EMMC to 4G DDR4/16GB EMMC

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

HOWTO change for upgrading from 2G DDR4/8GB EMMC to 4G DDR4/16GB EMMC

565 Views
13614278
Contributor III

We are using imx8mini ddr4 board, with DDR4 2GB and EMMC 8GB, it is OK for us.

 

Now, we increased DDR4 to 4GB , and EMMC increased to 16GB, we use the same code as 2GB DDR4/8GB EMMC , the problems are:

1. uboot still report 2GB RAM

CPU: Freescale i.MX8MMQ rev1.0 1800 MHz (running at 1200 MHz)
CPU: Commercial temperature grade (0C to 115C) at 42C
Reset cause: POR
Model: FSL i.MX8MM DDR4 EVK board
DRAM: 2 GiB
NAND: 0 MiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1

 

Could someone give us some tips for such case? 

0 Kudos
2 Replies

553 Views
joanxie
NXP TechSupport
NXP TechSupport

if you need to change 2G ddr to 4G, pls follow the steps as below:


Modify Uboot:

1: adding new 4GB DDR memory init files (new DDR init files could be generated i.MX8 MSCALE SERIES DDR Tool Release )

2: split 4GB as two banks, one is 2GB, the other is also 2GB. the first 2GB bank configuration is exactly same as 2GB EVK board including ATF/TEE loading address.

 

Actually, uboot will only use first bank memory, if TEE used, the last 32M bytes of first bank or more will be reserved for TEE.

 

If TEE required

Modify TEE:

1: Enlarge trust zone base zone size to 8GB

Modify ATF:

1: restore optee trust zone configuration from DSM(system suspend)

 

Modify Kernel:

1: 4gb fix on 8mm GPU memory allocation

2: change dtsi. allow GPU use more memory.

 

0 Kudos

353 Views
ChicLee
Contributor I

Hi @joanxie,
Can you show me more detail or reference document about "Modify Kernel"
1: 4gb fix on 8mm GPU memory allocation
2: change dtsi. allow GPU use more memory.

thanks

0 Kudos