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
and change the imx8mm_evk.h file like this
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=>
-------
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?
Yes
I use the MSCALE DDR TOOL with RPA v21 to do that.
How did it work out