Hello support team,
we have developed a proprietary board derived from the NXP evaboard imx8mqevk.
The DDR memory format has changed to 2GB but u-boot always states 3GB of memory (the same size of the evaboard).
Yocto version is Zeus (imx-5.4.24-2.1.0)
The boot output:
------------------------------------------------------------------------------------------
U-Boot 2020.04-5.4.24-2.1.0+g4979a99482 (Apr 26 2021 - 10:03:28 +0000)
CPU: i.MX8MD rev2.1 1500 MHz (running at 1000 MHz)
CPU: Commercial temperature grade (0C to 95C) at 42C
Reset cause: POR
Model: NXP i.MX8MQ EVK
DRAM: 3 GiB
TCPC: Vendor ID [0x1fc9], Product ID [0x5110], Addr [I2C0 0x50]
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... *** Warning - bad CRC, using default environment
<snip>
------------------------------------------------------------------------------------------
- We replaced the file generated by the mscale_ddr_tool (nightly test passed) in file: "board/freescale/imx8mq_evk/lpddr4_timing.c"
- Fixed the memory node in device tree: "arch/arm/dts/imx8mq-evk.dts"
memory@40000000 {
device_type = "memory";
reg = <0x00000000 0x40000000 0 0x80000000>;
};
- Changed the constant PHYS_SDRAM_SIZE in file: "include/configs/imx8mq_evk.h"
Still no luck, what else are we missing?