DDR Selection
Kirkstone BSP and later
Starting from the Kirkstone BSP release, Engicam introduced selectable DDR configuration via the UBOOT_CONFIG variable, allowing users to choose the correct DDR size variant directly from their Yocto configuration.
Available DDR Configurations
To verify which DDR options are supported for a specific NXP module, check the machine file inside:
For example, the i.Core iMX8M Plus 2GbE machine file (imx8mp-icore-2e.conf) declares:
UBOOT_CONFIG_BASENAME = "imx8mp_icore_2e"
UBOOT_CONFIG ??= "2gb"
UBOOT_CONFIG[1gb] = "${UBOOT_CONFIG_BASENAME}_1gb_defconfig,sdcard"
UBOOT_CONFIG[2gb] = "${UBOOT_CONFIG_BASENAME}_defconfig,sdcard"
UBOOT_CONFIG[4gb] = "${UBOOT_CONFIG_BASENAME}_4gb_defconfig,sdcard"
This module supports 1 GB, 2 GB (default), and 4 GB variants.
Selecting the DDR Variant
Edit your build configuration file:
Override the default DDR size by adding or modifying the UBOOT_CONFIG variable:
Example local.conf excerpt:
Build
After setting the configuration, build normally:
Already built before changing DDR size?
You must clean U-Boot to force a rebuild with the new DDR configuration:
The output images will be in: