diff options
| author | Otavio Salvador <otavio@ossystems.com.br> | 2025-09-09 16:55:52 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-09 16:55:52 -0300 |
| commit | 3c1b3e964f8ff2a8091f530cad5d26217c8a8fb7 (patch) | |
| tree | ac3cd112b2facad1b882d66a1c8dc9e53e25e1dc | |
| parent | f86c8070a8b1ab4207431e0dc4ace1aaf68791cc (diff) | |
| parent | 553c0bd6060862208871397a8ec2aba3942ca5d0 (diff) | |
| download | meta-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.conf | 6 | ||||
| -rw-r--r-- | conf/machine/include/imx-base.inc | 1 | ||||
| -rw-r--r-- | dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei_1.0.0.bb | 10 |
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 | ||
| 9 | require conf/machine/include/imx95-evk.inc | 9 | require 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 | ||
| 15 | OEI_DDRCONFIG = "${@'XIMX95LPD5EVK19_6400mbps_train_timing_a1' if d.getVar('IMX_SOC_REV')[0] == 'A' else ''}" | ||
| 16 | |||
| 11 | KERNEL_DEVICETREE_BASENAME = "imx95-19x19-verdin" | 17 | KERNEL_DEVICETREE_BASENAME = "imx95-19x19-verdin" |
| 12 | 18 | ||
| 13 | KERNEL_DEVICETREE:append:use-nxp-bsp = " \ | 19 | KERNEL_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)}" |
| 187 | IMX_SOC_REV:mx93-generic-bsp ??= "A1" | 187 | IMX_SOC_REV:mx93-generic-bsp ??= "A1" |
| 188 | IMX_SOC_REV:mx95-generic-bsp ??= "B0" | ||
| 188 | 189 | ||
| 189 | IMX_SOC_REV_LOWER = "${@d.getVar('IMX_SOC_REV').lower()}" | 190 | IMX_SOC_REV_LOWER = "${@d.getVar('IMX_SOC_REV').lower()}" |
| 190 | IMX_SOC_REV_UPPER = "${@d.getVar('IMX_SOC_REV').upper()}" | 191 | IMX_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 @@ | |||
| 1 | SUMMARY = "i.MX Optional Execution Image" | 1 | SUMMARY = "i.MX Optional Execution Image" |
| 2 | 2 | ||
| 3 | LICENSE = "GPL-2.0-only" | 3 | LICENSE = "BSD-3-Clause" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=59530bdf33659b29e73d4adb9f9f6552" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b66f32a90f9577a5a3255c21d79bc619" |
| 5 | 5 | ||
| 6 | INHIBIT_DEFAULT_DEPS = "1" | 6 | INHIBIT_DEFAULT_DEPS = "1" |
| 7 | DEPENDS = "gcc-arm-none-eabi-native" | 7 | DEPENDS = "gcc-arm-none-eabi-native" |
| @@ -9,7 +9,7 @@ DEPENDS = "gcc-arm-none-eabi-native" | |||
| 9 | SRC_URI = "${IMX_OEI_SRC};branch=${SRCBRANCH}" | 9 | SRC_URI = "${IMX_OEI_SRC};branch=${SRCBRANCH}" |
| 10 | IMX_OEI_SRC ?= "git://github.com/nxp-imx/imx-oei.git;protocol=https" | 10 | IMX_OEI_SRC ?= "git://github.com/nxp-imx/imx-oei.git;protocol=https" |
| 11 | SRCBRANCH = "master" | 11 | SRCBRANCH = "master" |
| 12 | SRCREV = "1a572a640ef8d6883e8ca39744cd6d2d5dbed678" | 12 | SRCREV = "ca91ce798b2f3a2a0bab8c0f835f4bea88c9b080" |
| 13 | 13 | ||
| 14 | inherit deploy | 14 | inherit deploy |
| 15 | 15 | ||
| @@ -19,6 +19,7 @@ OEI_CONFIGS ?= "UNDEFINED" | |||
| 19 | OEI_CORE ?= "UNDEFINED" | 19 | OEI_CORE ?= "UNDEFINED" |
| 20 | OEI_SOC ?= "UNDEFINED" | 20 | OEI_SOC ?= "UNDEFINED" |
| 21 | OEI_BOARD ?= "UNDEFINED" | 21 | OEI_BOARD ?= "UNDEFINED" |
| 22 | OEI_DDRCONFIG ?= "" | ||
| 22 | 23 | ||
| 23 | LDFLAGS[unexport] = "1" | 24 | LDFLAGS[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 | ||
| 31 | EXTRA_OEMAKE:append:mx95-generic-bsp = " r=${IMX_SOC_REV}" | ||
| 32 | EXTRA_OEMAKE:append = " ${@' DDR_CONFIG=${OEI_DDRCONFIG}' if d.getVar('OEI_DDRCONFIG') else ''}" | ||
| 33 | |||
| 30 | do_configure() { | 34 | do_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 |
