diff options
Diffstat (limited to 'dynamic-layers')
8 files changed, 75 insertions, 66 deletions
diff --git a/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei.inc b/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei.inc new file mode 100644 index 000000000..0fce6af1a --- /dev/null +++ b/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei.inc | |||
| @@ -0,0 +1,54 @@ | |||
| 1 | INHIBIT_DEFAULT_DEPS = "1" | ||
| 2 | DEPENDS = "gcc-arm-none-eabi-native" | ||
| 3 | |||
| 4 | inherit deploy | ||
| 5 | |||
| 6 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 7 | |||
| 8 | OEI_CONFIGS ?= "UNDEFINED" | ||
| 9 | OEI_CORE ?= "UNDEFINED" | ||
| 10 | OEI_SOC ?= "UNDEFINED" | ||
| 11 | OEI_BOARD ?= "UNDEFINED" | ||
| 12 | OEI_DDRCONFIG ?= "" | ||
| 13 | OEI_DEBUG ?= "0" | ||
| 14 | |||
| 15 | LDFLAGS[unexport] = "1" | ||
| 16 | |||
| 17 | EXTRA_OEMAKE = "\ | ||
| 18 | board=${OEI_BOARD} \ | ||
| 19 | DEBUG=${OEI_DEBUG} \ | ||
| 20 | OEI_CROSS_COMPILE=arm-none-eabi-" | ||
| 21 | |||
| 22 | EXTRA_OEMAKE:append:mx95-generic-bsp = " r=${IMX_SOC_REV}" | ||
| 23 | EXTRA_OEMAKE:append = " ${@' DDR_CONFIG=${OEI_DDRCONFIG}' if d.getVar('OEI_DDRCONFIG') else ''}" | ||
| 24 | |||
| 25 | do_configure() { | ||
| 26 | for oei_config in ${OEI_CONFIGS}; do | ||
| 27 | oe_runmake clean oei=$oei_config | ||
| 28 | done | ||
| 29 | } | ||
| 30 | |||
| 31 | do_compile() { | ||
| 32 | for oei_config in ${OEI_CONFIGS}; do | ||
| 33 | oe_runmake oei=$oei_config | ||
| 34 | done | ||
| 35 | } | ||
| 36 | |||
| 37 | do_install() { | ||
| 38 | install -d ${D}/firmware | ||
| 39 | for oei_config in ${OEI_CONFIGS}; do | ||
| 40 | install -m 0644 ${B}/build/${OEI_BOARD}/$oei_config/oei-*.bin ${D}/firmware | ||
| 41 | done | ||
| 42 | } | ||
| 43 | |||
| 44 | addtask deploy after do_install | ||
| 45 | do_deploy() { | ||
| 46 | cp -rf ${D}/firmware/* ${DEPLOYDIR}/ | ||
| 47 | } | ||
| 48 | |||
| 49 | FILES:${PN} = "/firmware" | ||
| 50 | SYSROOT_DIRS += "/firmware" | ||
| 51 | |||
| 52 | PROVIDES += "virtual/imx-oei" | ||
| 53 | |||
| 54 | COMPATIBLE_MACHINE = "(mx95-generic-bsp)" | ||
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 d07138758..29a58ed08 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,61 +1,17 @@ | |||
| 1 | SUMMARY = "i.MX Optional Execution Image" | 1 | SUMMARY = "i.MX Optional Execution Image" |
| 2 | 2 | DESCRIPTION = "\ | |
| 3 | LICENSE = "GPL-2.0-only" | 3 | The Optional Executable Image (OEI) is an optional plugin loaded and executed \ |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=59530bdf33659b29e73d4adb9f9f6552" | 4 | by Cortex-M processor ROM on many NXP i.MX processors. The Cortex-M is the \ |
| 5 | 5 | boot core, runs the boot ROM which loads the OEI, and then branches to the \ | |
| 6 | INHIBIT_DEFAULT_DEPS = "1" | 6 | OEI. The OEI then configures some aspects of the hardware such as DDR config, \ |
| 7 | DEPENDS = "gcc-arm-none-eabi-native" | 7 | init TCM ECC, etc. There could be multiple OEI images in the boot container. \ |
| 8 | After execution of OEI, the processor returns to ROM execution." | ||
| 9 | LICENSE = "BSD-3-Clause" | ||
| 10 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b66f32a90f9577a5a3255c21d79bc619" | ||
| 8 | 11 | ||
| 9 | SRC_URI = "${IMX_OEI_SRC};branch=${SRCBRANCH}" | 12 | SRC_URI = "${IMX_OEI_SRC};branch=${SRCBRANCH}" |
| 10 | IMX_OEI_SRC ?= "git://github.com/nxp-imx/imx-oei.git;protocol=https" | 13 | IMX_OEI_SRC ?= "git://github.com/nxp-imx/imx-oei.git;protocol=https" |
| 11 | SRCBRANCH = "master" | 14 | SRCBRANCH = "master" |
| 12 | SRCREV = "1a572a640ef8d6883e8ca39744cd6d2d5dbed678" | 15 | SRCREV = "ca91ce798b2f3a2a0bab8c0f835f4bea88c9b080" |
| 13 | |||
| 14 | S = "${WORKDIR}/git" | ||
| 15 | |||
| 16 | inherit deploy | ||
| 17 | |||
| 18 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 19 | |||
| 20 | OEI_CONFIGS ?= "UNDEFINED" | ||
| 21 | OEI_CORE ?= "UNDEFINED" | ||
| 22 | OEI_SOC ?= "UNDEFINED" | ||
| 23 | OEI_BOARD ?= "UNDEFINED" | ||
| 24 | |||
| 25 | LDFLAGS[unexport] = "1" | ||
| 26 | |||
| 27 | EXTRA_OEMAKE = "\ | ||
| 28 | board=${OEI_BOARD} \ | ||
| 29 | DEBUG=1 \ | ||
| 30 | OEI_CROSS_COMPILE=arm-none-eabi-" | ||
| 31 | |||
| 32 | do_configure() { | ||
| 33 | for oei_config in ${OEI_CONFIGS}; do | ||
| 34 | oe_runmake clean oei=$oei_config | ||
| 35 | done | ||
| 36 | } | ||
| 37 | |||
| 38 | do_compile() { | ||
| 39 | for oei_config in ${OEI_CONFIGS}; do | ||
| 40 | oe_runmake oei=$oei_config | ||
| 41 | done | ||
| 42 | } | ||
| 43 | |||
| 44 | do_install() { | ||
| 45 | install -d ${D}/firmware | ||
| 46 | for oei_config in ${OEI_CONFIGS}; do | ||
| 47 | install -m 0644 ${B}/build/${OEI_BOARD}/$oei_config/oei-*.bin ${D}/firmware | ||
| 48 | done | ||
| 49 | } | ||
| 50 | |||
| 51 | addtask deploy after do_install | ||
| 52 | do_deploy() { | ||
| 53 | cp -rf ${D}/firmware/* ${DEPLOYDIR}/ | ||
| 54 | } | ||
| 55 | |||
| 56 | FILES:${PN} = "/firmware" | ||
| 57 | SYSROOT_DIRS += "/firmware" | ||
| 58 | |||
| 59 | PROVIDES += "virtual/imx-oei" | ||
| 60 | 16 | ||
| 61 | COMPATIBLE_MACHINE = "(mx95-generic-bsp)" | 17 | require imx-oei.inc |
diff --git a/dynamic-layers/arm-toolchain/recipes-bsp/imx-system-manager/imx-system-manager.inc b/dynamic-layers/arm-toolchain/recipes-bsp/imx-system-manager/imx-system-manager.inc index d8033622c..1d23a22cd 100644 --- a/dynamic-layers/arm-toolchain/recipes-bsp/imx-system-manager/imx-system-manager.inc +++ b/dynamic-layers/arm-toolchain/recipes-bsp/imx-system-manager/imx-system-manager.inc | |||
| @@ -18,7 +18,7 @@ SYSTEM_MANAGER_CONFIG ?= "INVALID" | |||
| 18 | LDFLAGS[unexport] = "1" | 18 | LDFLAGS[unexport] = "1" |
| 19 | 19 | ||
| 20 | EXTRA_OEMAKE = " \ | 20 | EXTRA_OEMAKE = " \ |
| 21 | V=y \ | 21 | V=1 \ |
| 22 | SM_CROSS_COMPILE=arm-none-eabi- \ | 22 | SM_CROSS_COMPILE=arm-none-eabi- \ |
| 23 | ${PACKAGECONFIG_CONFARGS} \ | 23 | ${PACKAGECONFIG_CONFARGS} \ |
| 24 | " | 24 | " |
diff --git a/dynamic-layers/arm-toolchain/recipes-bsp/imx-system-manager/imx-system-manager_1.0.0.bb b/dynamic-layers/arm-toolchain/recipes-bsp/imx-system-manager/imx-system-manager_1.0.0.bb index eceaaa674..55826b016 100644 --- a/dynamic-layers/arm-toolchain/recipes-bsp/imx-system-manager/imx-system-manager_1.0.0.bb +++ b/dynamic-layers/arm-toolchain/recipes-bsp/imx-system-manager/imx-system-manager_1.0.0.bb | |||
| @@ -16,8 +16,6 @@ IMX_SYSTEM_MANAGER_SRC ?= "git://github.com/nxp-imx/imx-sm.git;protocol=https" | |||
| 16 | SRCBRANCH = "master" | 16 | SRCBRANCH = "master" |
| 17 | SRCREV = "709deccd9338399eb39b5cf99a60eab4fa60d539" | 17 | SRCREV = "709deccd9338399eb39b5cf99a60eab4fa60d539" |
| 18 | 18 | ||
| 19 | S = "${WORKDIR}/git" | ||
| 20 | |||
| 21 | require imx-system-manager.inc | 19 | require imx-system-manager.inc |
| 22 | 20 | ||
| 23 | PACKAGECONFIG ??= "m2" | 21 | PACKAGECONFIG ??= "m2" |
diff --git a/dynamic-layers/multimedia-layer/recipes-multimedia/pipewire/pipewire_%.bbappend b/dynamic-layers/multimedia-layer/recipes-multimedia/pipewire/pipewire_%.bbappend index 1b527fc69..865b29349 100644 --- a/dynamic-layers/multimedia-layer/recipes-multimedia/pipewire/pipewire_%.bbappend +++ b/dynamic-layers/multimedia-layer/recipes-multimedia/pipewire/pipewire_%.bbappend | |||
| @@ -6,10 +6,13 @@ SYSTEMD_AUTO_ENABLE:imx-nxp-bsp = "disable" | |||
| 6 | 6 | ||
| 7 | DEPENDS:append:mx95-nxp-bsp = " libdrm" | 7 | DEPENDS:append:mx95-nxp-bsp = " libdrm" |
| 8 | 8 | ||
| 9 | PACKAGECONFIG:remove:mx6-nxp-bsp = "gstreamer" | 9 | PACKAGECONFIG:remove = "${PACKAGECONFIG_REMOVE}" |
| 10 | PACKAGECONFIG:remove:mx7-nxp-bsp = "gstreamer" | 10 | PACKAGECONFIG_REMOVE ?= "" |
| 11 | PACKAGECONFIG:remove:mx8-nxp-bsp = "gstreamer" | 11 | PACKAGECONFIG_REMOVE:mx6-nxp-bsp ?= "gstreamer" |
| 12 | PACKAGECONFIG:remove:mx93-nxp-bsp = "gstreamer" | 12 | PACKAGECONFIG_REMOVE:mx7-nxp-bsp ?= "gstreamer" |
| 13 | PACKAGECONFIG_REMOVE:mx8-nxp-bsp ?= "gstreamer" | ||
| 14 | PACKAGECONFIG_REMOVE:mx93-nxp-bsp ?= "gstreamer" | ||
| 15 | |||
| 13 | PACKAGECONFIG:class-target:append:imx-nxp-bsp = " ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez-lc3', '', d)}" | 16 | PACKAGECONFIG:class-target:append:imx-nxp-bsp = " ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez-lc3', '', d)}" |
| 14 | 17 | ||
| 15 | # FIXME: Needs to qualify on PACKAGECONFIG | 18 | # FIXME: Needs to qualify on PACKAGECONFIG |
diff --git a/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb b/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb index 2219a6c04..227b6291b 100644 --- a/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb +++ b/dynamic-layers/openembedded-layer/recipes-dpaa/fmc/fmc_git.bb | |||
| @@ -9,8 +9,6 @@ DEPENDS = "libxml2 fmlib tclap" | |||
| 9 | SRC_URI = "git://github.com/nxp-qoriq/fmc;protocol=https;nobranch=1" | 9 | SRC_URI = "git://github.com/nxp-qoriq/fmc;protocol=https;nobranch=1" |
| 10 | SRCREV = "5b9f4b16a864e9dfa58cdcc860be278a7f66ac18" | 10 | SRCREV = "5b9f4b16a864e9dfa58cdcc860be278a7f66ac18" |
| 11 | 11 | ||
| 12 | S = "${WORKDIR}/git" | ||
| 13 | |||
| 14 | EXTRA_OEMAKE = 'FMD_USPACE_HEADER_PATH="${STAGING_INCDIR}/fmd" \ | 12 | EXTRA_OEMAKE = 'FMD_USPACE_HEADER_PATH="${STAGING_INCDIR}/fmd" \ |
| 15 | FMD_USPACE_LIB_PATH="${STAGING_LIBDIR}" LIBXML2_HEADER_PATH="${STAGING_INCDIR}/libxml2" \ | 13 | FMD_USPACE_LIB_PATH="${STAGING_LIBDIR}" LIBXML2_HEADER_PATH="${STAGING_INCDIR}/libxml2" \ |
| 16 | TCLAP_HEADER_PATH="${STAGING_INCDIR}" ' | 14 | TCLAP_HEADER_PATH="${STAGING_INCDIR}" ' |
diff --git a/dynamic-layers/qt5-layer/recipes-qt/qt5/qtwayland_%.bbappend b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtwayland_%.bbappend index 659a7cc0a..35a128174 100644 --- a/dynamic-layers/qt5-layer/recipes-qt/qt5/qtwayland_%.bbappend +++ b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtwayland_%.bbappend | |||
| @@ -6,4 +6,4 @@ PACKAGECONFIG:remove:mx7-nxp-bsp = "xcomposite-egl xcomposite-glx" | |||
| 6 | 6 | ||
| 7 | # i.MX8 does never provide native x11, so required dependencies are not met | 7 | # i.MX8 does never provide native x11, so required dependencies are not met |
| 8 | PACKAGECONFIG:remove:mx8-nxp-bsp = "xcomposite-egl xcomposite-glx" | 8 | PACKAGECONFIG:remove:mx8-nxp-bsp = "xcomposite-egl xcomposite-glx" |
| 9 | PACKAGECONFIG:remove:mx95-nxp-bsp = "xcomposite-egl xcomposite-glx" | 9 | PACKAGECONFIG:remove:mx9-nxp-bsp = "xcomposite-egl xcomposite-glx" |
diff --git a/dynamic-layers/qt6-layer/recipes-qt/qt6/qtwayland_%.bbappend b/dynamic-layers/qt6-layer/recipes-qt/qt6/qtwayland_%.bbappend index f2b0b8025..9d0cae8f9 100644 --- a/dynamic-layers/qt6-layer/recipes-qt/qt6/qtwayland_%.bbappend +++ b/dynamic-layers/qt6-layer/recipes-qt/qt6/qtwayland_%.bbappend | |||
| @@ -4,4 +4,4 @@ PACKAGECONFIG:remove:use-mainline-bsp = "xcomposite-glx" | |||
| 4 | PACKAGECONFIG:remove:mx6-nxp-bsp = "xcomposite-egl xcomposite-glx" | 4 | PACKAGECONFIG:remove:mx6-nxp-bsp = "xcomposite-egl xcomposite-glx" |
| 5 | PACKAGECONFIG:remove:mx7-nxp-bsp = "xcomposite-egl xcomposite-glx" | 5 | PACKAGECONFIG:remove:mx7-nxp-bsp = "xcomposite-egl xcomposite-glx" |
| 6 | PACKAGECONFIG:remove:mx8-nxp-bsp = "xcomposite-egl xcomposite-glx" | 6 | PACKAGECONFIG:remove:mx8-nxp-bsp = "xcomposite-egl xcomposite-glx" |
| 7 | PACKAGECONFIG:remove:mx95-nxp-bsp = "xcomposite-egl xcomposite-glx" | 7 | PACKAGECONFIG:remove:mx9-nxp-bsp = "xcomposite-egl xcomposite-glx" |
