iMX8MM 1GB LPDDR4

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

iMX8MM 1GB LPDDR4

825 Views
oprata
Contributor II

Hello Folks,

I am trying to build a imx-boot for a custom board with imx8mm and 1GB lpddr4. I already use the application to generate a lpddr4_timing.c file according this https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-8M-Family-DDR-Tool-Release/ta-p/110.... And I changed the imx8mm.dtsi like this

memory@40000000 {
device_type = "memory";
reg = <0x0 0x40000000 0 0x40000000>;
};
 

and change the imx8mm_evk.h file like this

#define CONFIG_SYS_SDRAM_BASE 0x40000000
#define PHYS_SDRAM 0x40000000
#define PHYS_SDRAM_SIZE 0x40000000 /* 1GB DDR */

 

I use the branch imx-linux-zeus with manifest imx-5.4.24-2.10.xml to build the imx-boot. All changes that I made I put on u-boot-imx_2020.04.bbappend in the folder ./source/meta-imx/meta-bsp/recipes-bsp/u-boot

After build the imx-boot the bootloader still show 2GiB of memory - look the log below.

Does anyone know what is wrong?

Thanks in advance.

-------

U-Boot SPL 2020.04-5.4.24-2.1.0+ga66c61cf1c (Nov 17 2022 - 18:04:57 +0000)
power_bd71837_init
DDRINFO: start DRAM init
DDRINFO: DRAM rate 3000MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
Normal Boot
Trying to boot from MMC2
NOTICE: BL31: v2.2(release):imx_5.4.24_er3-0-gb0a00f22b
NOTICE: BL31: Built : 18:04:52, Nov 17 2022


U-Boot 2020.04-5.4.24-2.1.0+ga66c61cf1c (Nov 17 2022 - 18:04:57 +0000)

CPU: i.MX8MMQL rev1.0 1800 MHz (running at 1200 MHz)
CPU: Commercial temperature grade (0C to 95C) at 40C
Reset cause: POR
Model: NXP i.MX8MM EVK board
DRAM: 2 GiB
MMC: FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... OK
Fail to setup video link
In: serial
Out: serial
Err: serial

BuildInfo:
- ATF b0a00f2
- U-Boot 2020.04-5.4.24-2.1.0+ga66c61cf1c

switch to partitions #0, OK
mmc2(part 0) is current device
flash target is MMC:2
Net: Could not get PHY for FEC0: addr 0
Could not get PHY for FEC0: addr 0
No ethernet found.

Fastboot: Normal
Normal Boot
Hit any key to stop autoboot: 0
u-boot=>

-------

 

Labels (1)
Tags (1)
0 Kudos
Reply
3 Replies

795 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

It seems that the DDR is 2GB, have you use the DDR Register Programming Aid (RPA) to configure the proper parameters? And passed the DDR test Tool?

0 Kudos
Reply

788 Views
oprata
Contributor II

Yes

I use the MSCALE DDR TOOL with RPA v21 to do that.

 

0 Kudos
Reply

720 Views
M5_nnntimes
Contributor I

How did it work out

0 Kudos
Reply