summaryrefslogtreecommitdiffstats
path: root/dynamic-layers
diff options
context:
space:
mode:
Diffstat (limited to 'dynamic-layers')
-rw-r--r--dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei.inc56
-rw-r--r--dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei_1.0.0.bb66
-rw-r--r--dynamic-layers/arm-toolchain/recipes-bsp/imx-system-manager/imx-system-manager.inc2
-rw-r--r--dynamic-layers/arm-toolchain/recipes-bsp/imx-system-manager/imx-system-manager_1.0.0.bb4
-rw-r--r--dynamic-layers/qt5-layer/recipes-qt/qt5/qtwayland_%.bbappend2
-rw-r--r--dynamic-layers/qt6-layer/recipes-qt/qt6/qtwayland_%.bbappend2
6 files changed, 72 insertions, 60 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..8077a10e9
--- /dev/null
+++ b/dynamic-layers/arm-toolchain/recipes-bsp/imx-oei/imx-oei.inc
@@ -0,0 +1,56 @@
1INHIBIT_DEFAULT_DEPS = "1"
2DEPENDS = "gcc-arm-none-eabi-native"
3
4S = "${WORKDIR}/git"
5
6inherit deploy
7
8PACKAGE_ARCH = "${MACHINE_ARCH}"
9
10OEI_CONFIGS ?= "UNDEFINED"
11OEI_CORE ?= "UNDEFINED"
12OEI_SOC ?= "UNDEFINED"
13OEI_BOARD ?= "UNDEFINED"
14OEI_DDRCONFIG ?= ""
15OEI_DEBUG ?= "0"
16
17LDFLAGS[unexport] = "1"
18
19EXTRA_OEMAKE = "\
20 board=${OEI_BOARD} \
21 DEBUG=${OEI_DEBUG} \
22 OEI_CROSS_COMPILE=arm-none-eabi-"
23
24EXTRA_OEMAKE:append:mx95-generic-bsp = " r=${IMX_SOC_REV}"
25EXTRA_OEMAKE:append = " ${@' DDR_CONFIG=${OEI_DDRCONFIG}' if d.getVar('OEI_DDRCONFIG') else ''}"
26
27do_configure() {
28 for oei_config in ${OEI_CONFIGS}; do
29 oe_runmake clean oei=$oei_config
30 done
31}
32
33do_compile() {
34 for oei_config in ${OEI_CONFIGS}; do
35 oe_runmake oei=$oei_config
36 done
37}
38
39do_install() {
40 install -d ${D}/firmware
41 for oei_config in ${OEI_CONFIGS}; do
42 install -m 0644 ${B}/build/${OEI_BOARD}/$oei_config/oei-*.bin ${D}/firmware
43 done
44}
45
46addtask deploy after do_install
47do_deploy() {
48 cp -rf ${D}/firmware/* ${DEPLOYDIR}/
49}
50
51FILES:${PN} = "/firmware"
52SYSROOT_DIRS += "/firmware"
53
54PROVIDES += "virtual/imx-oei"
55
56COMPATIBLE_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 @@
1SUMMARY = "i.MX Optional Execution Image" 1SUMMARY = "i.MX Optional Execution Image"
2 2DESCRIPTION = "\
3LICENSE = "GPL-2.0-only" 3The Optional Executable Image (OEI) is an optional plugin loaded and executed \
4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=59530bdf33659b29e73d4adb9f9f6552" 4by Cortex-M processor ROM on many NXP i.MX processors. The Cortex-M is the \
5 5boot core, runs the boot ROM which loads the OEI, and then branches to the \
6INHIBIT_DEFAULT_DEPS = "1" 6OEI. The OEI then configures some aspects of the hardware such as DDR config, \
7DEPENDS = "gcc-arm-none-eabi-native" 7init TCM ECC, etc. There could be multiple OEI images in the boot container. \
8After execution of OEI, the processor returns to ROM execution."
9LICENSE = "BSD-3-Clause"
10LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b66f32a90f9577a5a3255c21d79bc619"
8 11
9SRC_URI = "${IMX_OEI_SRC};branch=${SRCBRANCH}" 12SRC_URI = "${IMX_OEI_SRC};branch=${SRCBRANCH}"
10IMX_OEI_SRC ?= "git://github.com/nxp-imx/imx-oei.git;protocol=https" 13IMX_OEI_SRC ?= "git://github.com/nxp-imx/imx-oei.git;protocol=https"
11SRCBRANCH = "master" 14SRCBRANCH = "master"
12SRCREV = "1a572a640ef8d6883e8ca39744cd6d2d5dbed678" 15SRCREV = "ca91ce798b2f3a2a0bab8c0f835f4bea88c9b080"
13
14S = "${WORKDIR}/git"
15
16inherit deploy
17
18PACKAGE_ARCH = "${MACHINE_ARCH}"
19
20OEI_CONFIGS ?= "UNDEFINED"
21OEI_CORE ?= "UNDEFINED"
22OEI_SOC ?= "UNDEFINED"
23OEI_BOARD ?= "UNDEFINED"
24
25LDFLAGS[unexport] = "1"
26
27EXTRA_OEMAKE = "\
28 board=${OEI_BOARD} \
29 DEBUG=1 \
30 OEI_CROSS_COMPILE=arm-none-eabi-"
31
32do_configure() {
33 for oei_config in ${OEI_CONFIGS}; do
34 oe_runmake clean oei=$oei_config
35 done
36}
37
38do_compile() {
39 for oei_config in ${OEI_CONFIGS}; do
40 oe_runmake oei=$oei_config
41 done
42}
43
44do_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
51addtask deploy after do_install
52do_deploy() {
53 cp -rf ${D}/firmware/* ${DEPLOYDIR}/
54}
55
56FILES:${PN} = "/firmware"
57SYSROOT_DIRS += "/firmware"
58
59PROVIDES += "virtual/imx-oei"
60 16
61COMPATIBLE_MACHINE = "(mx95-generic-bsp)" 17require 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"
18LDFLAGS[unexport] = "1" 18LDFLAGS[unexport] = "1"
19 19
20EXTRA_OEMAKE = " \ 20EXTRA_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..1ae8a15be 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
@@ -9,12 +9,12 @@ enters a service mode where it provides access to clocking, power, sensor, \
9and pin control via a client RPC API based on ARM's System Control and \ 9and pin control via a client RPC API based on ARM's System Control and \
10Management Interface (SCMI)." 10Management Interface (SCMI)."
11LICENSE = "BSD-3-Clause" 11LICENSE = "BSD-3-Clause"
12LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b66f32a90f9577a5a3255c21d79bc619" 12LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f2a70813bc08547f509361c08b718861"
13 13
14SRC_URI = "${IMX_SYSTEM_MANAGER_SRC};branch=${SRCBRANCH}" 14SRC_URI = "${IMX_SYSTEM_MANAGER_SRC};branch=${SRCBRANCH}"
15IMX_SYSTEM_MANAGER_SRC ?= "git://github.com/nxp-imx/imx-sm.git;protocol=https" 15IMX_SYSTEM_MANAGER_SRC ?= "git://github.com/nxp-imx/imx-sm.git;protocol=https"
16SRCBRANCH = "master" 16SRCBRANCH = "master"
17SRCREV = "709deccd9338399eb39b5cf99a60eab4fa60d539" 17SRCREV = "707569f402147029feb7f9b90811a6d6ea730bb6"
18 18
19S = "${WORKDIR}/git" 19S = "${WORKDIR}/git"
20 20
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
8PACKAGECONFIG:remove:mx8-nxp-bsp = "xcomposite-egl xcomposite-glx" 8PACKAGECONFIG:remove:mx8-nxp-bsp = "xcomposite-egl xcomposite-glx"
9PACKAGECONFIG:remove:mx95-nxp-bsp = "xcomposite-egl xcomposite-glx" 9PACKAGECONFIG: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"
4PACKAGECONFIG:remove:mx6-nxp-bsp = "xcomposite-egl xcomposite-glx" 4PACKAGECONFIG:remove:mx6-nxp-bsp = "xcomposite-egl xcomposite-glx"
5PACKAGECONFIG:remove:mx7-nxp-bsp = "xcomposite-egl xcomposite-glx" 5PACKAGECONFIG:remove:mx7-nxp-bsp = "xcomposite-egl xcomposite-glx"
6PACKAGECONFIG:remove:mx8-nxp-bsp = "xcomposite-egl xcomposite-glx" 6PACKAGECONFIG:remove:mx8-nxp-bsp = "xcomposite-egl xcomposite-glx"
7PACKAGECONFIG:remove:mx95-nxp-bsp = "xcomposite-egl xcomposite-glx" 7PACKAGECONFIG:remove:mx9-nxp-bsp = "xcomposite-egl xcomposite-glx"