summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2025-09-09 16:55:52 -0300
committerGitHub <noreply@github.com>2025-09-09 16:55:52 -0300
commit3c1b3e964f8ff2a8091f530cad5d26217c8a8fb7 (patch)
treeac3cd112b2facad1b882d66a1c8dc9e53e25e1dc
parentf86c8070a8b1ab4207431e0dc4ace1aaf68791cc (diff)
parent553c0bd6060862208871397a8ec2aba3942ca5d0 (diff)
downloadmeta-freescale-3c1b3e964f8ff2a8091f530cad5d26217c8a8fb7.tar.gz
Merge pull request #2360 from hiagofranco/sync-imx-oei-master
[master] Cherry-pick commits from scarthgap on imx-oei
-rw-r--r--conf/machine/imx95-19x19-verdin.conf6
-rw-r--r--conf/machine/include/imx-base.inc1
-rw-r--r--dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei_1.0.0.bb10
3 files changed, 14 insertions, 3 deletions
diff --git a/conf/machine/imx95-19x19-verdin.conf b/conf/machine/imx95-19x19-verdin.conf
index 38acc47da..5ae9ac665 100644
--- a/conf/machine/imx95-19x19-verdin.conf
+++ b/conf/machine/imx95-19x19-verdin.conf
@@ -8,6 +8,12 @@ MACHINEOVERRIDES =. "mx95:"
8 8
9require conf/machine/include/imx95-evk.inc 9require conf/machine/include/imx95-evk.inc
10 10
11# iMX95 Verdin EVK V1.1E is the first revision with a B0 SoC,
12# older versions require A0/A1 support, set with the below variable
13#IMX_SOC_REV:${MACHINE} = "A0"
14# When building for A0/A1 iMX95 SoCs, set OEI_DDRCONFIG accordingly
15OEI_DDRCONFIG = "${@'XIMX95LPD5EVK19_6400mbps_train_timing_a1' if d.getVar('IMX_SOC_REV')[0] == 'A' else ''}"
16
11KERNEL_DEVICETREE_BASENAME = "imx95-19x19-verdin" 17KERNEL_DEVICETREE_BASENAME = "imx95-19x19-verdin"
12 18
13KERNEL_DEVICETREE:append:use-nxp-bsp = " \ 19KERNEL_DEVICETREE:append:use-nxp-bsp = " \
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index f9151e4f9..50e89e9be 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -185,6 +185,7 @@ IMX_SOC_REV:mx8ulp-generic-bsp ??= \
185 "${@bb.utils.contains('MACHINE_FEATURES', 'soc-reva0', 'A0', \ 185 "${@bb.utils.contains('MACHINE_FEATURES', 'soc-reva0', 'A0', \
186 'A2', d)}" 186 'A2', d)}"
187IMX_SOC_REV:mx93-generic-bsp ??= "A1" 187IMX_SOC_REV:mx93-generic-bsp ??= "A1"
188IMX_SOC_REV:mx95-generic-bsp ??= "B0"
188 189
189IMX_SOC_REV_LOWER = "${@d.getVar('IMX_SOC_REV').lower()}" 190IMX_SOC_REV_LOWER = "${@d.getVar('IMX_SOC_REV').lower()}"
190IMX_SOC_REV_UPPER = "${@d.getVar('IMX_SOC_REV').upper()}" 191IMX_SOC_REV_UPPER = "${@d.getVar('IMX_SOC_REV').upper()}"
diff --git a/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei_1.0.0.bb b/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei_1.0.0.bb
index df704dc99..33ec90349 100644
--- a/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei_1.0.0.bb
+++ b/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei_1.0.0.bb
@@ -1,7 +1,7 @@
1SUMMARY = "i.MX Optional Execution Image" 1SUMMARY = "i.MX Optional Execution Image"
2 2
3LICENSE = "GPL-2.0-only" 3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=59530bdf33659b29e73d4adb9f9f6552" 4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b66f32a90f9577a5a3255c21d79bc619"
5 5
6INHIBIT_DEFAULT_DEPS = "1" 6INHIBIT_DEFAULT_DEPS = "1"
7DEPENDS = "gcc-arm-none-eabi-native" 7DEPENDS = "gcc-arm-none-eabi-native"
@@ -9,7 +9,7 @@ DEPENDS = "gcc-arm-none-eabi-native"
9SRC_URI = "${IMX_OEI_SRC};branch=${SRCBRANCH}" 9SRC_URI = "${IMX_OEI_SRC};branch=${SRCBRANCH}"
10IMX_OEI_SRC ?= "git://github.com/nxp-imx/imx-oei.git;protocol=https" 10IMX_OEI_SRC ?= "git://github.com/nxp-imx/imx-oei.git;protocol=https"
11SRCBRANCH = "master" 11SRCBRANCH = "master"
12SRCREV = "1a572a640ef8d6883e8ca39744cd6d2d5dbed678" 12SRCREV = "ca91ce798b2f3a2a0bab8c0f835f4bea88c9b080"
13 13
14inherit deploy 14inherit deploy
15 15
@@ -19,6 +19,7 @@ OEI_CONFIGS ?= "UNDEFINED"
19OEI_CORE ?= "UNDEFINED" 19OEI_CORE ?= "UNDEFINED"
20OEI_SOC ?= "UNDEFINED" 20OEI_SOC ?= "UNDEFINED"
21OEI_BOARD ?= "UNDEFINED" 21OEI_BOARD ?= "UNDEFINED"
22OEI_DDRCONFIG ?= ""
22 23
23LDFLAGS[unexport] = "1" 24LDFLAGS[unexport] = "1"
24 25
@@ -27,6 +28,9 @@ EXTRA_OEMAKE = "\
27 DEBUG=1 \ 28 DEBUG=1 \
28 OEI_CROSS_COMPILE=arm-none-eabi-" 29 OEI_CROSS_COMPILE=arm-none-eabi-"
29 30
31EXTRA_OEMAKE:append:mx95-generic-bsp = " r=${IMX_SOC_REV}"
32EXTRA_OEMAKE:append = " ${@' DDR_CONFIG=${OEI_DDRCONFIG}' if d.getVar('OEI_DDRCONFIG') else ''}"
33
30do_configure() { 34do_configure() {
31 for oei_config in ${OEI_CONFIGS}; do 35 for oei_config in ${OEI_CONFIGS}; do
32 oe_runmake clean oei=$oei_config 36 oe_runmake clean oei=$oei_config