AnsweredAssumed Answered

imx8mm ddr4 could not use the whole ddr

Question asked by jiang yaqiang on Mar 19, 2020
Latest reply on Mar 19, 2020 by jiang yaqiang

HI :

   In my case , the board is usinge IMX8MM, and ddr is DDR4 512M.

   but when boot up to uboot, it says ddr size is 480M.

   I have search the code , it seems that TEE is using.

  How to set to use the whole 512M ddr ?

  BTW , my board IMX8MM + LPDDR have no such problem with the same uboot(just change the ddr config, and build config).

 uboot is from yocto-4.14.98

 log as bellow:

U-Boot SPL 2018.03-00016-gdd07b44-dirty (Mar 18 2020 - 15:12:28 +0800)
power_bd71837_init
Can't find PMIC:BD71837
DRAM PHY training for 2400MTS
check ddr4_pmu_train_imem code
check ddr4_pmu_train_imem code pass
check ddr4_pmu_train_dmem code
check ddr4_pmu_train_dmem code pass
Training PASS
DRAM PHY training for 400MTS
check ddr4_pmu_train_imem code
check ddr4_pmu_train_imem code pass
check ddr4_pmu_train_dmem code
check ddr4_pmu_train_dmem code pass
Training PASS
DRAM PHY training for 2400MTS
check ddr4_pmu_train_imem code
check ddr4_pmu_train_imem code pass
check ddr4_pmu_train_dmem code
check ddr4_pmu_train_dmem code pass
Training PASS
Normal Boot
Trying to boot from MMC1


U-Boot 2018.03-00016-gdd07b44-dirty (Mar 18 2020 - 15:12:28 +0800)

CPU: Freescale i.MX8MMQ rev1.0 1800 MHz (running at 1200 MHz)
CPU: Commercial temperature grade (0C to 95C) at 41C
Reset cause: POR
Model: FSL i.MX8MM DDR4 EVK board
DRAM: ram_size:1e000000 rom:2000000
480 MiB
NAND: 0 MiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... *** Warning - bad CRC, using default environment

 

any help/comment will be appreciated.

Thanks.

Outcomes