diff options
Diffstat (limited to 'recipes-bsp')
20 files changed, 106 insertions, 594 deletions
diff --git a/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.1.bb b/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.1.bb index d0607a093..98fb5c5e5 100644 --- a/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.1.bb +++ b/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.1.bb | |||
| @@ -10,8 +10,8 @@ LICENSE = "Proprietary" | |||
| 10 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=bc649096ad3928ec06a8713b8d787eac" | 10 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=bc649096ad3928ec06a8713b8d787eac" |
| 11 | 11 | ||
| 12 | SRC_URI = "git://github.com/nxp-imx/imx-firmware.git;protocol=https;branch=${SRCBRANCH}" | 12 | SRC_URI = "git://github.com/nxp-imx/imx-firmware.git;protocol=https;branch=${SRCBRANCH}" |
| 13 | SRCBRANCH = "lf-6.12.49_2.2.0" | 13 | SRCBRANCH = "lf-6.18.2_1.0.0" |
| 14 | SRCREV = "8c9b278016c97527b285f2fcbe53c2d428eb171d" | 14 | SRCREV = "d7e4bb37b45bbf93faf888e0ca6763a29e28054a" |
| 15 | 15 | ||
| 16 | 16 | ||
| 17 | inherit allarch | 17 | inherit allarch |
| @@ -28,15 +28,13 @@ do_install() { | |||
| 28 | install -d ${D}${nonarch_base_libdir}/firmware/nxp | 28 | install -d ${D}${nonarch_base_libdir}/firmware/nxp |
| 29 | oe_runmake install INSTALLDIR=${D}${nonarch_base_libdir}/firmware/nxp | 29 | oe_runmake install INSTALLDIR=${D}${nonarch_base_libdir}/firmware/nxp |
| 30 | 30 | ||
| 31 | # Upstream SDIO8997 and IW416 driver firmwares are located on mrvl folder | 31 | # Upstream ISDIO8997 and W416 driver firmwares are located on mrvl folder |
| 32 | install -d ${D}${nonarch_base_libdir}/firmware/mrvl | 32 | install -d ${D}${nonarch_base_libdir}/firmware/mrvl |
| 33 | ln -frs ${D}${nonarch_base_libdir}/firmware/nxp/sdiouart8997_combo_v4.bin ${D}${nonarch_base_libdir}/firmware/mrvl/sdiouart8997_combo_v4.bin | 33 | ln -frs ${D}${nonarch_base_libdir}/firmware/nxp/sdiouart8997_combo_v4.bin ${D}${nonarch_base_libdir}/firmware/mrvl/sdiouart8997_combo_v4.bin |
| 34 | ln -frs ${D}${nonarch_base_libdir}/firmware/nxp/sdiouartiw416_combo_v0.bin ${D}${nonarch_base_libdir}/firmware/mrvl/sdiouartiw416_combo_v0.bin | 34 | ln -frs ${D}${nonarch_base_libdir}/firmware/nxp/sdiouartiw416_combo_v0.bin ${D}${nonarch_base_libdir}/firmware/mrvl/sdiouartiw416_combo_v0.bin |
| 35 | 35 | ||
| 36 | ln -frs ${D}${nonarch_base_libdir}/firmware/nxp/sd9098_wlan_v1.bin ${D}${nonarch_base_libdir}/firmware/nxp/sdio9098_wlan_v1.bin | 36 | ln -frs ${D}${nonarch_base_libdir}/firmware/nxp/sd9098_wlan_v1.bin ${D}${nonarch_base_libdir}/firmware/nxp/sdio9098_wlan_v1.bin |
| 37 | ln -frs ${D}${nonarch_base_libdir}/firmware/nxp/sduart9098_combo_v1.bin ${D}${nonarch_base_libdir}/firmware/nxp/sdiouart9098_combo_v1.bin | 37 | ln -frs ${D}${nonarch_base_libdir}/firmware/nxp/sduart9098_combo_v1.bin ${D}${nonarch_base_libdir}/firmware/nxp/sdiouart9098_combo_v1.bin |
| 38 | ln -frs ${D}${nonarch_base_libdir}/firmware/nxp/sd8997_wlan_v4.bin ${D}${nonarch_base_libdir}/firmware/nxp/sdio8997_wlan_v4.bin | ||
| 39 | ln -frs ${D}${nonarch_base_libdir}/firmware/nxp/sduart8997_combo_v4.bin ${D}${nonarch_base_libdir}/firmware/nxp/sdiouart8997_combo_v4.bin | ||
| 40 | ln -frs ${D}${nonarch_base_libdir}/firmware/nxp/sduartiw416_combo.bin ${D}${nonarch_base_libdir}/firmware/nxp/sdiouartiw416_combo_v0.bin | 38 | ln -frs ${D}${nonarch_base_libdir}/firmware/nxp/sduartiw416_combo.bin ${D}${nonarch_base_libdir}/firmware/nxp/sdiouartiw416_combo_v0.bin |
| 41 | } | 39 | } |
| 42 | 40 | ||
| @@ -47,8 +45,6 @@ PACKAGES =+ " \ | |||
| 47 | \ | 45 | \ |
| 48 | ${PN}-nxp-common \ | 46 | ${PN}-nxp-common \ |
| 49 | ${PN}-nxp8987-sdio \ | 47 | ${PN}-nxp8987-sdio \ |
| 50 | ${PN}-nxp8997-common \ | ||
| 51 | ${PN}-nxp8997-pcie \ | ||
| 52 | ${PN}-nxp8997-sdio \ | 48 | ${PN}-nxp8997-sdio \ |
| 53 | ${PN}-nxp9098-common \ | 49 | ${PN}-nxp9098-common \ |
| 54 | ${PN}-nxp9098-pcie \ | 50 | ${PN}-nxp9098-pcie \ |
| @@ -70,7 +66,6 @@ RDEPENDS:${PN}-all-sdio = " \ | |||
| 70 | " | 66 | " |
| 71 | 67 | ||
| 72 | RDEPENDS:${PN}-all-pcie = " \ | 68 | RDEPENDS:${PN}-all-pcie = " \ |
| 73 | ${PN}-nxp8997-pcie \ | ||
| 74 | ${PN}-nxp9098-pcie \ | 69 | ${PN}-nxp9098-pcie \ |
| 75 | ${PN}-nxpaw693-pcie \ | 70 | ${PN}-nxpaw693-pcie \ |
| 76 | " | 71 | " |
| @@ -92,32 +87,9 @@ RPROVIDES:${PN}-nxp8987-sdio = "linux-firmware-nxp8987-sdio" | |||
| 92 | RREPLACES:${PN}-nxp8987-sdio = "linux-firmware-nxp8987-sdio" | 87 | RREPLACES:${PN}-nxp8987-sdio = "linux-firmware-nxp8987-sdio" |
| 93 | RCONFLICTS:${PN}-nxp8987-sdio = "linux-firmware-nxp8987-sdio" | 88 | RCONFLICTS:${PN}-nxp8987-sdio = "linux-firmware-nxp8987-sdio" |
| 94 | 89 | ||
| 95 | FILES:${PN}-nxp8997-common = " \ | ||
| 96 | ${nonarch_base_libdir}/firmware/nxp/ed_mac_ctrl_V3_8997.conf \ | ||
| 97 | ${nonarch_base_libdir}/firmware/nxp/txpwrlimit_cfg_8997.conf \ | ||
| 98 | ${nonarch_base_libdir}/firmware/nxp/uart8997_bt_v4.bin \ | ||
| 99 | " | ||
| 100 | RDEPENDS:${PN}-nxp8997-common += "${PN}-nxp-common" | ||
| 101 | RPROVIDES:${PN}-nxp8997-common = "linux-firmware-nxp8997-common" | ||
| 102 | RREPLACES:${PN}-nxp8997-common = "linux-firmware-nxp8997-common" | ||
| 103 | RCONFLICTS:${PN}-nxp8997-common = "linux-firmware-nxp8997-common" | ||
| 104 | |||
| 105 | FILES:${PN}-nxp8997-pcie = " \ | ||
| 106 | ${nonarch_base_libdir}/firmware/nxp/pci*8997* \ | ||
| 107 | " | ||
| 108 | RDEPENDS:${PN}-nxp8997-pcie += "${PN}-nxp8997-common" | ||
| 109 | RPROVIDES:${PN}-nxp8997-pcie = "linux-firmware-nxp8997-pcie" | ||
| 110 | RREPLACES:${PN}-nxp8997-pcie = "linux-firmware-nxp8997-pcie" | ||
| 111 | RCONFLICTS:${PN}-nxp8997-pcie = "linux-firmware-nxp8997-pcie" | ||
| 112 | |||
| 113 | FILES:${PN}-nxp8997-sdio = " \ | 90 | FILES:${PN}-nxp8997-sdio = " \ |
| 114 | ${nonarch_base_libdir}/firmware/mrvl/sdiouart8997_combo_v4.bin \ | 91 | ${nonarch_base_libdir}/firmware/mrvl/sdiouart8997_combo_v4.bin \ |
| 115 | ${nonarch_base_libdir}/firmware/nxp/sd*8997* \ | ||
| 116 | " | 92 | " |
| 117 | RDEPENDS:${PN}-nxp8997-sdio += "${PN}-nxp8997-common" | ||
| 118 | RPROVIDES:${PN}-nxp8997-sdio = "linux-firmware-nxp8997-sdio" | ||
| 119 | RREPLACES:${PN}-nxp8997-sdio = "linux-firmware-nxp8997-sdio" | ||
| 120 | RCONFLICTS:${PN}-nxp8997-sdio = "linux-firmware-nxp8997-sdio" | ||
| 121 | 93 | ||
| 122 | FILES:${PN}-nxp9098-common = " \ | 94 | FILES:${PN}-nxp9098-common = " \ |
| 123 | ${nonarch_base_libdir}/firmware/nxp/ed_mac_ctrl_V3_909x.conf \ | 95 | ${nonarch_base_libdir}/firmware/nxp/ed_mac_ctrl_V3_909x.conf \ |
| @@ -178,11 +150,11 @@ FILES:${PN}-nxpiw610-usb += " \ | |||
| 178 | RDEPENDS:${PN}-nxpiw610-usb += "${PN}-nxp-common" | 150 | RDEPENDS:${PN}-nxpiw610-usb += "${PN}-nxp-common" |
| 179 | 151 | ||
| 180 | FILES:${PN}-nxpiw612-sdio = " \ | 152 | FILES:${PN}-nxpiw612-sdio = " \ |
| 181 | ${nonarch_base_libdir}/firmware/nxp/sduart_nw61x_v1.bin.se \ | ||
| 182 | ${nonarch_base_libdir}/firmware/nxp/sd_w61x_v1.bin.se \ | 153 | ${nonarch_base_libdir}/firmware/nxp/sd_w61x_v1.bin.se \ |
| 183 | ${nonarch_base_libdir}/firmware/nxp/uartspi_n61x_v1.bin.se \ | 154 | ${nonarch_base_libdir}/firmware/nxp/sduart_nw61x_*.bin.se \ |
| 155 | ${nonarch_base_libdir}/firmware/nxp/uartspi_n61x_*.bin.se \ | ||
| 156 | ${nonarch_base_libdir}/firmware/nxp/uartuart_n61x_*.bin.se \ | ||
| 184 | ${nonarch_base_libdir}/firmware/nxp/IW612_SD_RFTest/ \ | 157 | ${nonarch_base_libdir}/firmware/nxp/IW612_SD_RFTest/ \ |
| 185 | ${nonarch_base_libdir}/firmware/nxp/uartuart_n61x_v1.bin.se \ | ||
| 186 | " | 158 | " |
| 187 | RDEPENDS:${PN}-nxpiw612-sdio += "${PN}-nxp-common" | 159 | RDEPENDS:${PN}-nxpiw612-sdio += "${PN}-nxp-common" |
| 188 | RPROVIDES:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" | 160 | RPROVIDES:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" |
diff --git a/recipes-bsp/imx-atf/imx-atf_2.12.bb b/recipes-bsp/imx-atf/imx-atf_2.12.bb index ba494594f..ad2f6bd46 100644 --- a/recipes-bsp/imx-atf/imx-atf_2.12.bb +++ b/recipes-bsp/imx-atf/imx-atf_2.12.bb | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # Copyright (C) 2017-2025 NXP | 1 | # Copyright (C) 2017-2026 NXP |
| 2 | 2 | ||
| 3 | DESCRIPTION = "i.MX ARM Trusted Firmware" | 3 | DESCRIPTION = "i.MX ARM Trusted Firmware" |
| 4 | SECTION = "BSP" | 4 | SECTION = "BSP" |
| @@ -7,13 +7,21 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/BSD-3-Clause;m | |||
| 7 | 7 | ||
| 8 | PV .= "+git${SRCPV}" | 8 | PV .= "+git${SRCPV}" |
| 9 | 9 | ||
| 10 | SRC_URI = "git://github.com/nxp-imx/imx-atf.git;protocol=https;branch=${SRCBRANCH} \ | 10 | SRC_URI = "${ATF_SRC};branch=${SRCBRANCH}" |
| 11 | file://0001-imx93-trdc-Fix-header-guard.patch" | 11 | ATF_SRC ?= "git://github.com/nxp-imx/imx-atf.git;protocol=https" |
| 12 | SRCBRANCH = "lf_v2.12" | 12 | SRCBRANCH = "lf_v2.12" |
| 13 | SRCREV = "6ddd57019494cabfca5065368349109c37f2cc9f" | 13 | SRCREV = "4a2e9ef5f9f185bda68470b46365add008903b8c" |
| 14 | 14 | ||
| 15 | inherit deploy | 15 | inherit deploy |
| 16 | 16 | ||
| 17 | PACKAGECONFIG ??= " \ | ||
| 18 | ${@bb.utils.filter('UBOOT_CONFIG', 'crrm', d)} \ | ||
| 19 | ${@bb.utils.filter('MACHINE_FEATURES', 'optee', d)}" | ||
| 20 | |||
| 21 | PACKAGECONFIG[crrm] = "IMX_CRRM=1" | ||
| 22 | PACKAGECONFIG[debug] = "DEBUG=1,DEBUG=0" | ||
| 23 | PACKAGECONFIG[optee] = "SPD=opteed" | ||
| 24 | |||
| 17 | ATF_PLATFORM ??= "INVALID" | 25 | ATF_PLATFORM ??= "INVALID" |
| 18 | 26 | ||
| 19 | # FIXME: We should return INVALID here but currently only i.MX8M has support to override the UART | 27 | # FIXME: We should return INVALID here but currently only i.MX8M has support to override the UART |
| @@ -23,8 +31,9 @@ ATF_BOOT_UART_BASE ?= "" | |||
| 23 | EXTRA_OEMAKE += " \ | 31 | EXTRA_OEMAKE += " \ |
| 24 | CROSS_COMPILE=${TARGET_PREFIX} \ | 32 | CROSS_COMPILE=${TARGET_PREFIX} \ |
| 25 | PLAT=${ATF_PLATFORM} \ | 33 | PLAT=${ATF_PLATFORM} \ |
| 34 | ${PACKAGECONFIG_CONFARGS} \ | ||
| 35 | bl31 \ | ||
| 26 | " | 36 | " |
| 27 | |||
| 28 | # Let the Makefile handle setting up the CFLAGS and LDFLAGS as it is a standalone application | 37 | # Let the Makefile handle setting up the CFLAGS and LDFLAGS as it is a standalone application |
| 29 | CFLAGS[unexport] = "1" | 38 | CFLAGS[unexport] = "1" |
| 30 | LDFLAGS[unexport] = "1" | 39 | LDFLAGS[unexport] = "1" |
| @@ -38,8 +47,6 @@ DEPENDS = "virtual/cross-cc" | |||
| 38 | # Bring in clang compiler if using clang as default | 47 | # Bring in clang compiler if using clang as default |
| 39 | DEPENDS:append:toolchain-clang = " clang-cross-${TARGET_ARCH}" | 48 | DEPENDS:append:toolchain-clang = " clang-cross-${TARGET_ARCH}" |
| 40 | 49 | ||
| 41 | BUILD_OPTEE = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'true', 'false', d)}" | ||
| 42 | |||
| 43 | # CC and LD introduce arguments which conflict with those otherwise provided by | 50 | # CC and LD introduce arguments which conflict with those otherwise provided by |
| 44 | # this recipe. The heads of these variables excluding those arguments | 51 | # this recipe. The heads of these variables excluding those arguments |
| 45 | # are therefore used instead. | 52 | # are therefore used instead. |
| @@ -58,23 +65,19 @@ EXTRA_OEMAKE += 'IMX_BOOT_UART_BASE=${ATF_BOOT_UART_BASE}' | |||
| 58 | 65 | ||
| 59 | do_configure[noexec] = "1" | 66 | do_configure[noexec] = "1" |
| 60 | 67 | ||
| 61 | do_compile() { | ||
| 62 | # Clear LDFLAGS to avoid the option -Wl recognize issue | ||
| 63 | oe_runmake bl31 | ||
| 64 | if ${BUILD_OPTEE}; then | ||
| 65 | oe_runmake clean BUILD_BASE=build-optee | ||
| 66 | oe_runmake BUILD_BASE=build-optee SPD=opteed bl31 | ||
| 67 | fi | ||
| 68 | } | ||
| 69 | |||
| 70 | do_install[noexec] = "1" | 68 | do_install[noexec] = "1" |
| 71 | 69 | ||
| 70 | ANNOTATED_NAME = "bl31-${ATF_PLATFORM}.bin" | ||
| 71 | ANNOTATED_NAME:append = "${@bb.utils.contains('PACKAGECONFIG', 'crrm', '-crrm', '', d)}" | ||
| 72 | ANNOTATED_NAME:append = "${@bb.utils.contains('PACKAGECONFIG', 'optee', '-optee', '', d)}" | ||
| 73 | |||
| 72 | addtask deploy after do_compile | 74 | addtask deploy after do_compile |
| 73 | do_deploy() { | 75 | do_deploy() { |
| 74 | install -Dm 0644 ${S}/build/${ATF_PLATFORM}/release/bl31.bin ${DEPLOYDIR}/bl31-${ATF_PLATFORM}.bin | 76 | OUTPUT_FOLDER="${@bb.utils.contains('PACKAGECONFIG', 'debug', 'debug', 'release', d)}" |
| 75 | if ${BUILD_OPTEE}; then | 77 | for deploydir in ${DEPLOYDIR} ${DEPLOYDIR}/imx-boot-tools; do |
| 76 | install -m 0644 ${S}/build-optee/${ATF_PLATFORM}/release/bl31.bin ${DEPLOYDIR}/bl31-${ATF_PLATFORM}.bin-optee | 78 | install -Dm 0644 ${S}/build/${ATF_PLATFORM}/${OUTPUT_FOLDER}/bl31.bin $deploydir/${ANNOTATED_NAME} |
| 77 | fi | 79 | done |
| 80 | ln -sf ${ANNOTATED_NAME} ${DEPLOYDIR}/bl31.bin | ||
| 78 | } | 81 | } |
| 79 | 82 | ||
| 80 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 83 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
diff --git a/recipes-bsp/imx-seco/imx-seco_5.9.4.1.bb b/recipes-bsp/imx-seco/imx-seco_5.9.4.1.bb index 2710297d6..a9d021b6c 100644 --- a/recipes-bsp/imx-seco/imx-seco_5.9.4.1.bb +++ b/recipes-bsp/imx-seco/imx-seco_5.9.4.1.bb | |||
| @@ -17,7 +17,10 @@ S = "${UNPACKDIR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}" | |||
| 17 | 17 | ||
| 18 | do_compile[noexec] = "1" | 18 | do_compile[noexec] = "1" |
| 19 | 19 | ||
| 20 | do_install[noexec] = "1" | 20 | do_install:append() { |
| 21 | install -d ${D}${base_libdir}/firmware/${PN} | ||
| 22 | install -m 0644 ${S}/firmware/seco/${SECO_FIRMWARE_NAME} ${D}${base_libdir}/firmware/${PN} | ||
| 23 | } | ||
| 21 | 24 | ||
| 22 | addtask deploy after do_install | 25 | addtask deploy after do_install |
| 23 | do_deploy () { | 26 | do_deploy () { |
| @@ -25,4 +28,5 @@ do_deploy () { | |||
| 25 | install -m 0644 ${S}/firmware/seco/${SECO_FIRMWARE_NAME} ${DEPLOYDIR} | 28 | install -m 0644 ${S}/firmware/seco/${SECO_FIRMWARE_NAME} ${DEPLOYDIR} |
| 26 | } | 29 | } |
| 27 | 30 | ||
| 31 | FILES:${PN} = "/" | ||
| 28 | COMPATIBLE_MACHINE = "(mx8qm-generic-bsp|mx8qxp-generic-bsp|mx8dxl-generic-bsp|mx8dx-generic-bsp)" | 32 | COMPATIBLE_MACHINE = "(mx8qm-generic-bsp|mx8qxp-generic-bsp|mx8dxl-generic-bsp|mx8dx-generic-bsp)" |
diff --git a/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc/0001-base_type.h-make-header-compatible-with-c23.patch b/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc/0001-base_type.h-make-header-compatible-with-c23.patch deleted file mode 100644 index 8d017ab71..000000000 --- a/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc/0001-base_type.h-make-header-compatible-with-c23.patch +++ /dev/null | |||
| @@ -1,39 +0,0 @@ | |||
| 1 | From e7f6097c9e7cb30f130502cc4804e1a1b01342de Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 3 | Date: Wed, 7 May 2025 16:13:38 +0000 | ||
| 4 | Subject: [PATCH] base_type.h: make header compatible with c23 | ||
| 5 | |||
| 6 | With C23 bool, true and false are built in keywords and cannot be | ||
| 7 | redefined. | ||
| 8 | |||
| 9 | Upstream-Status: Pending | ||
| 10 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 11 | --- | ||
| 12 | usr/include/hantro_VC8000E_enc/base_type.h | 4 ++++ | ||
| 13 | 1 file changed, 4 insertions(+) | ||
| 14 | |||
| 15 | diff --git a/usr/include/hantro_VC8000E_enc/base_type.h b/usr/include/hantro_VC8000E_enc/base_type.h | ||
| 16 | index 282fc81b8eba..af4212eed2bd 100755 | ||
| 17 | --- a/usr/include/hantro_VC8000E_enc/base_type.h | ||
| 18 | +++ b/usr/include/hantro_VC8000E_enc/base_type.h | ||
| 19 | @@ -67,6 +67,9 @@ typedef unsigned int UInt; | ||
| 20 | #define HANTRO_FALSE 0 | ||
| 21 | #define HANTRO_TRUE 1 | ||
| 22 | |||
| 23 | +#if defined __STDC_VERSION__ && __STDC_VERSION__ > 201710L | ||
| 24 | +/* bool, true and false are keywords. */ | ||
| 25 | +#else | ||
| 26 | #ifndef bool | ||
| 27 | typedef enum | ||
| 28 | { | ||
| 29 | @@ -74,6 +77,7 @@ typedef enum | ||
| 30 | true = HANTRO_TRUE | ||
| 31 | } bool; | ||
| 32 | #endif | ||
| 33 | +#endif | ||
| 34 | |||
| 35 | enum | ||
| 36 | { | ||
| 37 | -- | ||
| 38 | 2.42.0 | ||
| 39 | |||
diff --git a/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.10.1.bb b/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.11.0.bb index 68c2a4979..528b05e17 100644 --- a/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.10.1.bb +++ b/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.11.0.bb | |||
| @@ -2,18 +2,14 @@ | |||
| 2 | 2 | ||
| 3 | DESCRIPTION = "i.MX VC8000E Encoder library" | 3 | DESCRIPTION = "i.MX VC8000E Encoder library" |
| 4 | LICENSE = "Proprietary" | 4 | LICENSE = "Proprietary" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=ca53281cc0caa7e320d4945a896fb837" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" |
| 6 | 6 | ||
| 7 | inherit fsl-eula-unpack | 7 | inherit fsl-eula-unpack |
| 8 | 8 | ||
| 9 | SRC_URI = " \ | 9 | SRC_URI = " ${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" |
| 10 | ${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true \ | 10 | IMX_SRCREV_ABBREV = "5e18a84" |
| 11 | file://0001-base_type.h-make-header-compatible-with-c23.patch \ | ||
| 12 | " | ||
| 13 | IMX_SRCREV_ABBREV = "c0244a1" | ||
| 14 | |||
| 15 | SRC_URI[sha256sum] = "713ba375f25490727fcc62bab5d5508f74de03204b4c153464b696b652c5c7df" | ||
| 16 | 11 | ||
| 12 | SRC_URI[sha256sum] = "04d2a9c5c75804a11a4500a0133dfc7d8e84f74254cee52c42075f5ecc229550" | ||
| 17 | S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}" | 13 | S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}" |
| 18 | 14 | ||
| 19 | # SCR is the location and name of the Software Content Register file | 15 | # SCR is the location and name of the Software Content Register file |
| @@ -36,4 +32,5 @@ do_install () { | |||
| 36 | FILES:${PN} = "/" | 32 | FILES:${PN} = "/" |
| 37 | 33 | ||
| 38 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | 34 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" |
| 35 | |||
| 39 | COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)" | 36 | COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)" |
diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.5.0.bb b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.9.0.bb index 940b9fa41..d24ab66ea 100644 --- a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.5.0.bb +++ b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.9.0.bb | |||
| @@ -7,9 +7,9 @@ DEPENDS = "imx-vpu-hantro" | |||
| 7 | DEPENDS:append:mx8mp-nxp-bsp = " imx-vpu-hantro-vc" | 7 | DEPENDS:append:mx8mp-nxp-bsp = " imx-vpu-hantro-vc" |
| 8 | 8 | ||
| 9 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.tar.gz" | 9 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.tar.gz" |
| 10 | IMX_SRCREV_ABBREV = "3200e68" | 10 | IMX_SRCREV_ABBREV = "a4cefcc" |
| 11 | 11 | ||
| 12 | SRC_URI[sha256sum] = "e7806a92d4a5ab51b76d9edef5175a95625c4ac3cab467fe1519bb0ce16e6535" | 12 | SRC_URI[sha256sum] = "629087dd3e9ae0f4c00a75a2f2b715b7e24918b7401b26137e9270d6ac0fa90c" |
| 13 | 13 | ||
| 14 | S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}" | 14 | S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}" |
| 15 | 15 | ||
diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0001-basetype.h-make-header-compatible-with-c23.patch b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0001-basetype.h-make-header-compatible-with-c23.patch deleted file mode 100644 index bbfec172a..000000000 --- a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0001-basetype.h-make-header-compatible-with-c23.patch +++ /dev/null | |||
| @@ -1,38 +0,0 @@ | |||
| 1 | From e39a6602817e4221ae09ac3d520ca6a0d94814dc Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 3 | Date: Wed, 7 May 2025 16:13:38 +0000 | ||
| 4 | Subject: [PATCH] basetype.h: make header compatible with c23 | ||
| 5 | |||
| 6 | With C23 bool, true and false are built in keywords and cannot be | ||
| 7 | redefined. | ||
| 8 | |||
| 9 | Upstream-Status: Pending | ||
| 10 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 11 | --- | ||
| 12 | h1_encoder/software/inc/basetype.h | 4 ++++ | ||
| 13 | 1 file changed, 4 insertions(+) | ||
| 14 | |||
| 15 | diff --git a/h1_encoder/software/inc/basetype.h b/h1_encoder/software/inc/basetype.h | ||
| 16 | index 55e46a195b3b..6655ec54481b 100755 | ||
| 17 | --- a/h1_encoder/software/inc/basetype.h | ||
| 18 | +++ b/h1_encoder/software/inc/basetype.h | ||
| 19 | @@ -66,12 +66,16 @@ typedef size_t ptr_t; | ||
| 20 | #define PRT_PTR "x" | ||
| 21 | #endif | ||
| 22 | |||
| 23 | +#if defined __STDC_VERSION__ && __STDC_VERSION__ > 201710L | ||
| 24 | +/* bool, true and false are keywords. */ | ||
| 25 | +#else | ||
| 26 | #ifndef __cplusplus | ||
| 27 | typedef enum { | ||
| 28 | false = 0, | ||
| 29 | true = 1 | ||
| 30 | } bool; | ||
| 31 | #endif | ||
| 32 | +#endif | ||
| 33 | |||
| 34 | #else /* __symbian__ or __win__ or whatever, customize it to suit well */ | ||
| 35 | |||
| 36 | -- | ||
| 37 | 2.42.0 | ||
| 38 | |||
diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0001-test-md5-convert-to-ansi-c.patch b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0001-test-md5-convert-to-ansi-c.patch deleted file mode 100644 index da1af2b9c..000000000 --- a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro/0001-test-md5-convert-to-ansi-c.patch +++ /dev/null | |||
| @@ -1,90 +0,0 @@ | |||
| 1 | From 0c5bdd12a6f3ba73e605656828bf429966a997ef Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 3 | Date: Wed, 7 May 2025 13:25:26 +0000 | ||
| 4 | Subject: [PATCH] test: md5: convert to ansi c | ||
| 5 | |||
| 6 | GCC 15 no longer likes this K&R style function declarations. | ||
| 7 | |||
| 8 | Upstream-Status: Pending | ||
| 9 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 10 | --- | ||
| 11 | decoder_sw/software/test/common/swhw/md5.c | 15 +++++---------- | ||
| 12 | decoder_sw/software/test/common/swhw/md5.h | 8 ++++---- | ||
| 13 | 2 files changed, 9 insertions(+), 14 deletions(-) | ||
| 14 | |||
| 15 | diff --git a/decoder_sw/software/test/common/swhw/md5.c b/decoder_sw/software/test/common/swhw/md5.c | ||
| 16 | index c3334bf751fd..20014fbdf268 100755 | ||
| 17 | --- a/decoder_sw/software/test/common/swhw/md5.c | ||
| 18 | +++ b/decoder_sw/software/test/common/swhw/md5.c | ||
| 19 | @@ -42,8 +42,7 @@ | ||
| 20 | /* | ||
| 21 | * Note: this code is harmless on little-endian machines. | ||
| 22 | */ | ||
| 23 | -void ByteReverse(buf, longs) unsigned char *buf; | ||
| 24 | -unsigned longs; | ||
| 25 | +void ByteReverse(unsigned char *buf, unsigned longs) | ||
| 26 | { | ||
| 27 | uint32 t; | ||
| 28 | do { | ||
| 29 | @@ -59,7 +58,7 @@ unsigned longs; | ||
| 30 | * Start MD5 accumulation. Set bit count to 0 and buffer to mysterious | ||
| 31 | * initialization constants. | ||
| 32 | */ | ||
| 33 | -void MD5Init(ctx) struct MD5Context *ctx; | ||
| 34 | +void MD5Init(struct MD5Context *ctx) | ||
| 35 | { | ||
| 36 | ctx->buf[0] = 0x67452301; | ||
| 37 | ctx->buf[1] = 0xefcdab89; | ||
| 38 | @@ -74,9 +73,7 @@ void MD5Init(ctx) struct MD5Context *ctx; | ||
| 39 | * Update context to reflect the concatenation of another buffer full | ||
| 40 | * of bytes. | ||
| 41 | */ | ||
| 42 | -void MD5Update(ctx, buf, len) struct MD5Context *ctx; | ||
| 43 | -unsigned char *buf; | ||
| 44 | -unsigned len; | ||
| 45 | +void MD5Update(struct MD5Context *ctx, unsigned char *buf, unsigned len) | ||
| 46 | { | ||
| 47 | uint32 t; | ||
| 48 | |||
| 49 | @@ -124,8 +121,7 @@ unsigned len; | ||
| 50 | * Final wrapup - pad to 64-byte boundary with the bit pattern | ||
| 51 | * 1 0* (64-bit count of bits processed, MSB-first) | ||
| 52 | */ | ||
| 53 | -void MD5Final(digest, ctx) unsigned char digest[16]; | ||
| 54 | -struct MD5Context *ctx; | ||
| 55 | +void MD5Final(unsigned char digest[16], struct MD5Context *ctx) | ||
| 56 | { | ||
| 57 | unsigned count; | ||
| 58 | unsigned char *p; | ||
| 59 | @@ -186,8 +182,7 @@ struct MD5Context *ctx; | ||
| 60 | * reflect the addition of 16 longwords of new data. MD5Update blocks | ||
| 61 | * the data and converts bytes into longwords for this routine. | ||
| 62 | */ | ||
| 63 | -void MD5Transform(buf, in) uint32 buf[4]; | ||
| 64 | -uint32 in[16]; | ||
| 65 | +void MD5Transform(uint32 buf[4], uint32 in[16]) | ||
| 66 | { | ||
| 67 | register uint32 a, b, c, d; | ||
| 68 | |||
| 69 | diff --git a/decoder_sw/software/test/common/swhw/md5.h b/decoder_sw/software/test/common/swhw/md5.h | ||
| 70 | index 516400236606..c1d773093b66 100755 | ||
| 71 | --- a/decoder_sw/software/test/common/swhw/md5.h | ||
| 72 | +++ b/decoder_sw/software/test/common/swhw/md5.h | ||
| 73 | @@ -76,10 +76,10 @@ struct MD5Context { | ||
| 74 | unsigned char in[64]; | ||
| 75 | }; | ||
| 76 | |||
| 77 | -extern void MD5Init(); | ||
| 78 | -extern void MD5Update(); | ||
| 79 | -extern void MD5Final(); | ||
| 80 | -extern void MD5Transform(); | ||
| 81 | +extern void MD5Init(struct MD5Context *ctx); | ||
| 82 | +extern void MD5Update(struct MD5Context *ctx, unsigned char *buf, unsigned len); | ||
| 83 | +extern void MD5Final(unsigned char digest[16], struct MD5Context *ctx); | ||
| 84 | +extern void MD5Transform(uint32 buf[4], uint32 in[16]); | ||
| 85 | |||
| 86 | /* | ||
| 87 | * This is needed to make RSAREF happy on some MS-DOS compilers. | ||
| 88 | -- | ||
| 89 | 2.42.0 | ||
| 90 | |||
diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.36.0.bb b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.40.0.bb index d766e0191..e5113f1c1 100644 --- a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.36.0.bb +++ b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.40.0.bb | |||
| @@ -1,19 +1,17 @@ | |||
| 1 | # Copyright (C) 2017-2020 NXP | 1 | # Copyright (C) 2017-2020,2026 NXP |
| 2 | 2 | ||
| 3 | DESCRIPTION = "i.MX Hantro VPU library" | 3 | DESCRIPTION = "i.MX Hantro VPU library" |
| 4 | LICENSE = "Proprietary" | 4 | LICENSE = "Proprietary" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" |
| 6 | 6 | ||
| 7 | PROVIDES = "virtual/imxvpu" | 7 | PROVIDES = "virtual/imxvpu" |
| 8 | 8 | ||
| 9 | SRC_URI = " \ | 9 | SRC_URI = " \ |
| 10 | ${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true \ | 10 | ${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true \ |
| 11 | file://0001-test-md5-convert-to-ansi-c.patch \ | ||
| 12 | file://0001-basetype.h-make-header-compatible-with-c23.patch \ | ||
| 13 | " | 11 | " |
| 14 | IMX_SRCREV_ABBREV = "194a305" | 12 | IMX_SRCREV_ABBREV = "52c7e45" |
| 15 | 13 | ||
| 16 | SRC_URI[sha256sum] = "0ef1fb5c6653c08f2d2812c72dedf3e8beb091dd5b3d70d6e26f41bac4ebffa7" | 14 | SRC_URI[sha256sum] = "cdfb28cdec4e26ef84ee8c54be89a1da269eaeb4b51eafe689eb084ac20c7d84" |
| 17 | 15 | ||
| 18 | S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}" | 16 | S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}" |
| 19 | 17 | ||
| @@ -43,7 +41,5 @@ do_install () { | |||
| 43 | 41 | ||
| 44 | FILES:${PN} += "/unit_tests" | 42 | FILES:${PN} += "/unit_tests" |
| 45 | 43 | ||
| 46 | RDEPENDS:${PN} += "imx-vpu-hantro-daemon" | ||
| 47 | |||
| 48 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | 44 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" |
| 49 | COMPATIBLE_MACHINE = "(mx8mq-nxp-bsp|mx8mm-nxp-bsp|mx8mp-nxp-bsp)" | 45 | COMPATIBLE_MACHINE = "(mx8mq-nxp-bsp|mx8mm-nxp-bsp|mx8mp-nxp-bsp)" |
diff --git a/recipes-bsp/isp-imx/basler-camera_4.2.2.25.2.bb b/recipes-bsp/isp-imx/basler-camera_4.2.2.25.2.bb deleted file mode 100644 index 012e1f2b7..000000000 --- a/recipes-bsp/isp-imx/basler-camera_4.2.2.25.2.bb +++ /dev/null | |||
| @@ -1,34 +0,0 @@ | |||
| 1 | # Copyright (C) 2020-2024 NXP | ||
| 2 | |||
| 3 | DESCRIPTION = "Basler camera binary drivers" | ||
| 4 | LICENSE = "Proprietary" | ||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" | ||
| 6 | |||
| 7 | IMX_SRCREV_ABBREV = "dd86758" | ||
| 8 | |||
| 9 | inherit fsl-eula-unpack | ||
| 10 | |||
| 11 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | ||
| 12 | |||
| 13 | SRC_URI[sha256sum] = "aa86adeb0c53c3306f7e1c004ffa78ebb7db3e9136c78759e4029b4b5e1b1a64" | ||
| 14 | |||
| 15 | S = "${UNPACKDIR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}" | ||
| 16 | |||
| 17 | do_compile[noexec] = "1" | ||
| 18 | |||
| 19 | do_install() { | ||
| 20 | oe_runmake install INSTALL_DIR=${D} | ||
| 21 | dest_dir=${D}/opt/imx8-isp/bin | ||
| 22 | install -d ${D}/${libdir} | ||
| 23 | install -d $dest_dir | ||
| 24 | cp -r ${S}/opt/imx8-isp/bin/* $dest_dir | ||
| 25 | cp -r ${S}/usr/lib/* ${D}/${libdir} | ||
| 26 | } | ||
| 27 | |||
| 28 | SYSTEMD_AUTO_ENABLE = "enable" | ||
| 29 | |||
| 30 | FILES:${PN} = "${libdir} /opt" | ||
| 31 | INSANE_SKIP:${PN} = "already-stripped" | ||
| 32 | RDEPENDS:${PN} += "isp-imx" | ||
| 33 | |||
| 34 | COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)" | ||
diff --git a/recipes-bsp/isp-imx/basler-camera_4.2.2.26.1.bb b/recipes-bsp/isp-imx/basler-camera_4.2.2.26.1.bb new file mode 100644 index 000000000..11580dfd2 --- /dev/null +++ b/recipes-bsp/isp-imx/basler-camera_4.2.2.26.1.bb | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | # Copyright 2020-2024 NXP | ||
| 2 | |||
| 3 | DESCRIPTION = "Basler camera binary drivers" | ||
| 4 | LICENSE = "Proprietary" | ||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" | ||
| 6 | |||
| 7 | IMX_SRCREV_ABBREV = "dd86758" | ||
| 8 | |||
| 9 | inherit fsl-eula-unpack | ||
| 10 | |||
| 11 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | ||
| 12 | SRC_URI[sha256sum] = "4c3cfc96833a7d8462f71589152ef7f9c8fcc9badbb925bbc120431f8c5ee3b5" | ||
| 13 | |||
| 14 | S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}" | ||
| 15 | |||
| 16 | do_compile[noexec] = "1" | ||
| 17 | |||
| 18 | do_install() { | ||
| 19 | oe_runmake install INSTALL_DIR=${D} | ||
| 20 | } | ||
| 21 | |||
| 22 | SYSTEMD_AUTO_ENABLE = "enable" | ||
| 23 | |||
| 24 | FILES:${PN} = "${libdir} /opt" | ||
| 25 | INSANE_SKIP:${PN} = "already-stripped" | ||
| 26 | RDEPENDS:${PN} += "isp-imx" | ||
| 27 | |||
| 28 | |||
| 29 | COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)" | ||
diff --git a/recipes-bsp/isp-imx/isp-imx/0001-isp-imx-start_isp-don-t-report-error-if-no-camera-is.patch b/recipes-bsp/isp-imx/isp-imx/0001-isp-imx-start_isp-don-t-report-error-if-no-camera-is.patch deleted file mode 100644 index 617abde6f..000000000 --- a/recipes-bsp/isp-imx/isp-imx/0001-isp-imx-start_isp-don-t-report-error-if-no-camera-is.patch +++ /dev/null | |||
| @@ -1,32 +0,0 @@ | |||
| 1 | From d24c74528fefd1316f1633f0a7f1a5acea40454f Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 3 | Date: Thu, 19 Jan 2023 15:51:24 +0000 | ||
| 4 | Subject: [PATCH 1/5] isp-imx: start_isp: don't report error if no camera is | ||
| 5 | configured | ||
| 6 | |||
| 7 | The script currently returns '6' when no known camera is configured | ||
| 8 | in the device tree. The end result is that the systemd imx8-isp.service | ||
| 9 | goes to the failed state. | ||
| 10 | Return '0' in that case as obviously the device tree doesn't have a | ||
| 11 | camera configured and the service is not needed. | ||
| 12 | |||
| 13 | Upstream-Status: Pending | ||
| 14 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 15 | --- | ||
| 16 | imx/start_isp.sh | 2 +- | ||
| 17 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 18 | |||
| 19 | diff --git a/imx/start_isp.sh b/imx/start_isp.sh | ||
| 20 | index d544b4ca2a57..22e7783437d6 100755 | ||
| 21 | --- a/imx/start_isp.sh | ||
| 22 | +++ b/imx/start_isp.sh | ||
| 23 | @@ -72,5 +72,5 @@ elif [ $NR_DEVICE_TREE_OS08A20 -eq 2 ]; then | ||
| 24 | else | ||
| 25 | # no device tree found exit with code no device or address | ||
| 26 | echo "No device tree found for Basler camera or os08a20, check dtb file!" >&2 | ||
| 27 | - exit 6 | ||
| 28 | + exit 0 | ||
| 29 | fi | ||
| 30 | -- | ||
| 31 | 2.42.0 | ||
| 32 | |||
diff --git a/recipes-bsp/isp-imx/isp-imx/0002-appshell-cmake-bump-min-version-to-3.5.patch b/recipes-bsp/isp-imx/isp-imx/0002-appshell-cmake-bump-min-version-to-3.5.patch deleted file mode 100644 index 38b3b6b02..000000000 --- a/recipes-bsp/isp-imx/isp-imx/0002-appshell-cmake-bump-min-version-to-3.5.patch +++ /dev/null | |||
| @@ -1,134 +0,0 @@ | |||
| 1 | From 5b69b60bd4d0d5ed1474c6457561d48cdbabc778 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 3 | Date: Fri, 25 Jul 2025 09:19:58 +0000 | ||
| 4 | Subject: [PATCH 2/5] appshell: cmake: bump min version to 3.5 | ||
| 5 | |||
| 6 | CMake 4 no longer supports min version set to before 3.5 | ||
| 7 | |||
| 8 | | CMake Error at CMakeLists.txt:28 (cmake_minimum_required): | ||
| 9 | | Compatibility with CMake < 3.5 has been removed from CMake. | ||
| 10 | |||
| 11 | Upstream-Status: Pending | ||
| 12 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 13 | --- | ||
| 14 | appshell/CMakeLists.txt | 2 +- | ||
| 15 | appshell/display/CMakeLists.txt | 2 +- | ||
| 16 | appshell/display/wayland-client/CMakeLists.txt | 2 +- | ||
| 17 | appshell/v4l_drm_test/CMakeLists.txt | 2 +- | ||
| 18 | appshell/vvext/CMakeLists.txt | 2 +- | ||
| 19 | appshell/yuv/CMakeLists.txt | 2 +- | ||
| 20 | units/CMakeLists.txt | 2 +- | ||
| 21 | units/isi/CMakeLists.txt | 2 +- | ||
| 22 | units/isi/drv/OS08a20/CMakeLists.txt | 2 +- | ||
| 23 | units/isi/drv/OS08a20/calib/CMakeLists.txt | 2 +- | ||
| 24 | 10 files changed, 10 insertions(+), 10 deletions(-) | ||
| 25 | |||
| 26 | diff --git a/appshell/CMakeLists.txt b/appshell/CMakeLists.txt | ||
| 27 | index 22092ce975b5..cf14e254c812 100644 | ||
| 28 | --- a/appshell/CMakeLists.txt | ||
| 29 | +++ b/appshell/CMakeLists.txt | ||
| 30 | @@ -25,7 +25,7 @@ | ||
| 31 | # *****************************************************************************/ | ||
| 32 | |||
| 33 | |||
| 34 | -cmake_minimum_required(VERSION 3.1.0) | ||
| 35 | +cmake_minimum_required(VERSION 3.5.0) | ||
| 36 | project(ISP_APP_SHELL) | ||
| 37 | |||
| 38 | if(DEFINED QTLESS) | ||
| 39 | diff --git a/appshell/display/CMakeLists.txt b/appshell/display/CMakeLists.txt | ||
| 40 | index 491f086adf55..458a46b165b4 100755 | ||
| 41 | --- a/appshell/display/CMakeLists.txt | ||
| 42 | +++ b/appshell/display/CMakeLists.txt | ||
| 43 | @@ -1,4 +1,4 @@ | ||
| 44 | -cmake_minimum_required(VERSION 2.6) | ||
| 45 | +cmake_minimum_required(VERSION 3.6) | ||
| 46 | |||
| 47 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -fPIC") | ||
| 48 | |||
| 49 | diff --git a/appshell/display/wayland-client/CMakeLists.txt b/appshell/display/wayland-client/CMakeLists.txt | ||
| 50 | index 78247528b0e4..0639d79d8346 100644 | ||
| 51 | --- a/appshell/display/wayland-client/CMakeLists.txt | ||
| 52 | +++ b/appshell/display/wayland-client/CMakeLists.txt | ||
| 53 | @@ -1,4 +1,4 @@ | ||
| 54 | -cmake_minimum_required(VERSION 2.6) | ||
| 55 | +cmake_minimum_required(VERSION 3.6) | ||
| 56 | |||
| 57 | set(WAYLAND_XML_PRIFIX ${SDKTARGETSYSROOT}/usr/share/wayland-protocols) | ||
| 58 | set(GEN_INSTALL_PREFIX ${PROJECT_SOURCE_DIR}/display/wayland-client) | ||
| 59 | diff --git a/appshell/v4l_drm_test/CMakeLists.txt b/appshell/v4l_drm_test/CMakeLists.txt | ||
| 60 | index cf4685c84204..309e5d465e99 100755 | ||
| 61 | --- a/appshell/v4l_drm_test/CMakeLists.txt | ||
| 62 | +++ b/appshell/v4l_drm_test/CMakeLists.txt | ||
| 63 | @@ -1,4 +1,4 @@ | ||
| 64 | -cmake_minimum_required(VERSION 2.6) | ||
| 65 | +cmake_minimum_required(VERSION 3.5) | ||
| 66 | |||
| 67 | project(ISP_V4L_DRM_TEST) | ||
| 68 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") | ||
| 69 | diff --git a/appshell/vvext/CMakeLists.txt b/appshell/vvext/CMakeLists.txt | ||
| 70 | index a5d6c12929fa..63c1eb5f7073 100755 | ||
| 71 | --- a/appshell/vvext/CMakeLists.txt | ||
| 72 | +++ b/appshell/vvext/CMakeLists.txt | ||
| 73 | @@ -1,4 +1,4 @@ | ||
| 74 | -cmake_minimum_required(VERSION 2.6) | ||
| 75 | +cmake_minimum_required(VERSION 3.5) | ||
| 76 | |||
| 77 | project(ISP_V4L_DRM_TEST) | ||
| 78 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") | ||
| 79 | diff --git a/appshell/yuv/CMakeLists.txt b/appshell/yuv/CMakeLists.txt | ||
| 80 | index 131766fcb5d4..0f3591918e08 100755 | ||
| 81 | --- a/appshell/yuv/CMakeLists.txt | ||
| 82 | +++ b/appshell/yuv/CMakeLists.txt | ||
| 83 | @@ -1,4 +1,4 @@ | ||
| 84 | -cmake_minimum_required(VERSION 2.6) | ||
| 85 | +cmake_minimum_required(VERSION 3.5) | ||
| 86 | set (CMAKE_CXX_FLAGS_DEBUG "") | ||
| 87 | set (CMAKE_C_FLAGS_DEBUG "") | ||
| 88 | |||
| 89 | diff --git a/units/CMakeLists.txt b/units/CMakeLists.txt | ||
| 90 | index 37fa65ed4ea8..10abbef1c16c 100755 | ||
| 91 | --- a/units/CMakeLists.txt | ||
| 92 | +++ b/units/CMakeLists.txt | ||
| 93 | @@ -24,7 +24,7 @@ | ||
| 94 | # * | ||
| 95 | # *****************************************************************************/ | ||
| 96 | |||
| 97 | -cmake_minimum_required(VERSION 3.1.0) | ||
| 98 | +cmake_minimum_required(VERSION 3.5.0) | ||
| 99 | project(ISPcore_SW_STACK) | ||
| 100 | if( NOT DEFINED APPSHELL_TOP_COMPILE) | ||
| 101 | |||
| 102 | diff --git a/units/isi/CMakeLists.txt b/units/isi/CMakeLists.txt | ||
| 103 | index a91699b4a1a5..ea01aa7d9424 100755 | ||
| 104 | --- a/units/isi/CMakeLists.txt | ||
| 105 | +++ b/units/isi/CMakeLists.txt | ||
| 106 | @@ -1,4 +1,4 @@ | ||
| 107 | -cmake_minimum_required(VERSION 2.6) | ||
| 108 | +cmake_minimum_required(VERSION 3.5) | ||
| 109 | |||
| 110 | # define module name | ||
| 111 | set (module isi) | ||
| 112 | diff --git a/units/isi/drv/OS08a20/CMakeLists.txt b/units/isi/drv/OS08a20/CMakeLists.txt | ||
| 113 | index d27dc97f7945..12c6e9ef993a 100755 | ||
| 114 | --- a/units/isi/drv/OS08a20/CMakeLists.txt | ||
| 115 | +++ b/units/isi/drv/OS08a20/CMakeLists.txt | ||
| 116 | @@ -1,4 +1,4 @@ | ||
| 117 | -cmake_minimum_required(VERSION 2.6) | ||
| 118 | +cmake_minimum_required(VERSION 3.5) | ||
| 119 | |||
| 120 | # define module name & interface version | ||
| 121 | set (module os08a20) | ||
| 122 | diff --git a/units/isi/drv/OS08a20/calib/CMakeLists.txt b/units/isi/drv/OS08a20/calib/CMakeLists.txt | ||
| 123 | index b44b08248135..18119086b967 100755 | ||
| 124 | --- a/units/isi/drv/OS08a20/calib/CMakeLists.txt | ||
| 125 | +++ b/units/isi/drv/OS08a20/calib/CMakeLists.txt | ||
| 126 | @@ -1,4 +1,4 @@ | ||
| 127 | -cmake_minimum_required(VERSION 2.6) | ||
| 128 | +cmake_minimum_required(VERSION 3.5) | ||
| 129 | |||
| 130 | # use upper level module name | ||
| 131 | |||
| 132 | -- | ||
| 133 | 2.42.0 | ||
| 134 | |||
diff --git a/recipes-bsp/isp-imx/isp-imx/0003-appshell-cmake-drop-deprecated-use-of-target_link_li.patch b/recipes-bsp/isp-imx/isp-imx/0003-appshell-cmake-drop-deprecated-use-of-target_link_li.patch deleted file mode 100644 index f11deb758..000000000 --- a/recipes-bsp/isp-imx/isp-imx/0003-appshell-cmake-drop-deprecated-use-of-target_link_li.patch +++ /dev/null | |||
| @@ -1,37 +0,0 @@ | |||
| 1 | From db07010535d47d7d7eaf3865d97dcec045e19930 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 3 | Date: Fri, 25 Jul 2025 09:57:22 +0000 | ||
| 4 | Subject: [PATCH 3/5] appshell: cmake: drop deprecated use of | ||
| 5 | target_link_libraries | ||
| 6 | |||
| 7 | Works around: | ||
| 8 | |||
| 9 | | CMake Error at display/CMakeLists.txt:48 (target_link_libraries): | ||
| 10 | | Cannot specify link libraries for target "wayland-client" which is not | ||
| 11 | | built by this project. | ||
| 12 | |||
| 13 | caused by CMake 4 deprecating https://cmake.org/cmake/help/v3.5/policy/CMP0016.html | ||
| 14 | |||
| 15 | CMP0016 states that the command is silently ignored, thus drop it. | ||
| 16 | |||
| 17 | Upstream-Status: Pending | ||
| 18 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 19 | --- | ||
| 20 | appshell/display/CMakeLists.txt | 1 - | ||
| 21 | 1 file changed, 1 deletion(-) | ||
| 22 | |||
| 23 | diff --git a/appshell/display/CMakeLists.txt b/appshell/display/CMakeLists.txt | ||
| 24 | index 458a46b165b4..160755312368 100755 | ||
| 25 | --- a/appshell/display/CMakeLists.txt | ||
| 26 | +++ b/appshell/display/CMakeLists.txt | ||
| 27 | @@ -43,7 +43,6 @@ if (WAYLAND_SUPPORT) | ||
| 28 | file(GLOB pub_headers *.h) | ||
| 29 | file(GLOB libsources *.cpp ./wayland-client/*.c) | ||
| 30 | include_directories(./wayland-client) | ||
| 31 | - target_link_libraries(wayland-client) | ||
| 32 | else (WAYLAND_SUPPORT) | ||
| 33 | file(GLOB pub_headers *.h) | ||
| 34 | file(GLOB libsources *.cpp) | ||
| 35 | -- | ||
| 36 | 2.42.0 | ||
| 37 | |||
diff --git a/recipes-bsp/isp-imx/isp-imx/0004-units-targets.cmake-fix-check-if-a-target-exists.patch b/recipes-bsp/isp-imx/isp-imx/0004-units-targets.cmake-fix-check-if-a-target-exists.patch deleted file mode 100644 index 087f24090..000000000 --- a/recipes-bsp/isp-imx/isp-imx/0004-units-targets.cmake-fix-check-if-a-target-exists.patch +++ /dev/null | |||
| @@ -1,51 +0,0 @@ | |||
| 1 | From d7e06f57c067e50d86369577b8dc3bccdde6fd40 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 3 | Date: Fri, 25 Jul 2025 10:44:40 +0000 | ||
| 4 | Subject: [PATCH 4/5] units/targets.cmake: fix check if a target exists | ||
| 5 | |||
| 6 | | CMake Error at units/targets.cmake:35 (get_target_property): | ||
| 7 | | get_target_property() called with non-existent target "lib". | ||
| 8 | |||
| 9 | Upstream-Status: Pending | ||
| 10 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 11 | --- | ||
| 12 | units/targets.cmake | 9 +++------ | ||
| 13 | 1 file changed, 3 insertions(+), 6 deletions(-) | ||
| 14 | |||
| 15 | diff --git a/units/targets.cmake b/units/targets.cmake | ||
| 16 | index 663a024d9129..d78dbf8b8a45 100755 | ||
| 17 | --- a/units/targets.cmake | ||
| 18 | +++ b/units/targets.cmake | ||
| 19 | @@ -32,8 +32,7 @@ add_dependencies(create_alldir ${module}_create_dir) | ||
| 20 | # Settings for target LIB | ||
| 21 | ############################################################################### | ||
| 22 | # check if lib target already exists and create it, this is to assure that only one target called lib will be generated | ||
| 23 | -get_target_property(LIB_TARGET lib TYPE) | ||
| 24 | -if(NOT LIB_TARGET) | ||
| 25 | +if(NOT TARGET lib) | ||
| 26 | add_custom_target(lib) | ||
| 27 | endif() | ||
| 28 | # the library itself is a dependency for the target lib | ||
| 29 | @@ -83,8 +82,7 @@ if(HAVE_PUBLIC_HEADERS) | ||
| 30 | endif() | ||
| 31 | |||
| 32 | # check if lib_install target already exists and create it | ||
| 33 | -get_target_property(LIB_INSTALL_TARGET lib_install TYPE) | ||
| 34 | -if(NOT LIB_INSTALL_TARGET) | ||
| 35 | +if(NOT TARGET lib_install) | ||
| 36 | add_custom_target(lib_install) | ||
| 37 | endif() | ||
| 38 | |||
| 39 | @@ -104,8 +102,7 @@ add_custom_target(${module}_copy_header | ||
| 40 | COMMENT "Copying Headers of ${module}") | ||
| 41 | |||
| 42 | # check if copy_header target already exists and create it | ||
| 43 | -get_target_property(COPY_HEADER_TARGET copy_header TYPE) | ||
| 44 | -if(NOT COPY_HEADER_TARGET) | ||
| 45 | +if(NOT TARGET copy_header) | ||
| 46 | add_custom_target(copy_header) | ||
| 47 | endif() | ||
| 48 | # if copy_header is selected, modulename_copy_header target must be created | ||
| 49 | -- | ||
| 50 | 2.42.0 | ||
| 51 | |||
diff --git a/recipes-bsp/isp-imx/isp-imx/0005-units-cmake-fix-use-of-add_dependencies.patch b/recipes-bsp/isp-imx/isp-imx/0005-units-cmake-fix-use-of-add_dependencies.patch deleted file mode 100644 index f4b44ff47..000000000 --- a/recipes-bsp/isp-imx/isp-imx/0005-units-cmake-fix-use-of-add_dependencies.patch +++ /dev/null | |||
| @@ -1,36 +0,0 @@ | |||
| 1 | From 72d6160d1efc9df8bdee4e3dc9da67560f2206b4 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 3 | Date: Fri, 25 Jul 2025 10:52:52 +0000 | ||
| 4 | Subject: [PATCH 5/5] units: cmake: fix use of add_dependencies | ||
| 5 | |||
| 6 | With CMake 4 we get during configure: | ||
| 7 | |||
| 8 | | CMake Error at isp-imx/4.2.2.25.2/sources/isp-imx-4.2.2.25.2-3cac1fb: | ||
| 9 | | The dependency target "drv/OS08a20" of target "copy_shell_libs_isi" does | ||
| 10 | | not exist. | ||
| 11 | |||
| 12 | Comment out that the add_dependencies. The driver for OS08a20 is still | ||
| 13 | part of the built packages. | ||
| 14 | |||
| 15 | Upstream-Status: Pending | ||
| 16 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | ||
| 17 | --- | ||
| 18 | units/isi/CMakeLists.txt | 2 +- | ||
| 19 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 20 | |||
| 21 | diff --git a/units/isi/CMakeLists.txt b/units/isi/CMakeLists.txt | ||
| 22 | index ea01aa7d9424..2f5c3d803e67 100755 | ||
| 23 | --- a/units/isi/CMakeLists.txt | ||
| 24 | +++ b/units/isi/CMakeLists.txt | ||
| 25 | @@ -93,7 +93,7 @@ add_custom_target(copy_shell_libs_${module} ALL | ||
| 26 | COMMAND ${CMAKE_COMMAND} -E copy ${UNITS_TOP_DIRECTORY}/isi/drv/*/*.cfg ${LIB_ROOT}/${CMAKE_BUILD_TYPE}/bin/ | ||
| 27 | COMMAND ${CMAKE_COMMAND} -E copy ${UNITS_TOP_DIRECTORY}/isi/drv/*.cfg ${LIB_ROOT}/${CMAKE_BUILD_TYPE}/bin/ | ||
| 28 | ) | ||
| 29 | -add_dependencies(copy_shell_libs_${module} drv/OS08a20) | ||
| 30 | +#add_dependencies(copy_shell_libs_${module} os08a20_shared) | ||
| 31 | |||
| 32 | endif (GENERATE_PARTITION_BUILD) | ||
| 33 | |||
| 34 | -- | ||
| 35 | 2.42.0 | ||
| 36 | |||
diff --git a/recipes-bsp/isp-imx/isp-imx_4.2.2.25.2.bb b/recipes-bsp/isp-imx/isp-imx_4.2.2.26.1.bb index 445822528..e8f8e46d7 100644 --- a/recipes-bsp/isp-imx/isp-imx_4.2.2.25.2.bb +++ b/recipes-bsp/isp-imx/isp-imx_4.2.2.26.1.bb | |||
| @@ -1,24 +1,17 @@ | |||
| 1 | # Copyright (C) 2020-2024 NXP | 1 | # Copyright 2020-2025 NXP |
| 2 | 2 | ||
| 3 | DESCRIPTION = "i.MX Verisilicon Software ISP" | 3 | DESCRIPTION = "i.MX Verisilicon Software ISP" |
| 4 | LICENSE = "Proprietary" | 4 | LICENSE = "Proprietary" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" |
| 6 | |||
| 6 | DEPENDS = "boost libdrm virtual/libg2d libtinyxml2 jsoncpp patchelf-native" | 7 | DEPENDS = "boost libdrm virtual/libg2d libtinyxml2 jsoncpp patchelf-native" |
| 7 | 8 | ||
| 8 | SRC_URI = " \ | 9 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" |
| 9 | ${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true \ | 10 | SRC_URI[sha256sum] = "ab04d9eae4917591ca21f4ae13269c4e5a6f1b8e2f357cca1693682fa9a87249" |
| 10 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${ISP_SYSTEMD_PATCH}', '', d)} \ | ||
| 11 | file://0002-appshell-cmake-bump-min-version-to-3.5.patch \ | ||
| 12 | file://0003-appshell-cmake-drop-deprecated-use-of-target_link_li.patch \ | ||
| 13 | file://0004-units-targets.cmake-fix-check-if-a-target-exists.patch \ | ||
| 14 | file://0005-units-cmake-fix-use-of-add_dependencies.patch \ | ||
| 15 | " | ||
| 16 | ISP_SYSTEMD_PATCH = "file://0001-isp-imx-start_isp-don-t-report-error-if-no-camera-is.patch" | ||
| 17 | 11 | ||
| 18 | IMX_SRCREV_ABBREV = "3cac1fb" | 12 | IMX_SRCREV_ABBREV = "3cbd4a2" |
| 19 | S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}" | ||
| 20 | 13 | ||
| 21 | SRC_URI[sha256sum] = "8fa5094da6438505287f4dcc8033dad3057ab81bf98c858884f7c3a2e521b252" | 14 | S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}" |
| 22 | 15 | ||
| 23 | inherit fsl-eula-unpack cmake pkgconfig systemd use-imx-headers | 16 | inherit fsl-eula-unpack cmake pkgconfig systemd use-imx-headers |
| 24 | 17 | ||
| @@ -52,18 +45,9 @@ EXTRA_OECMAKE += " \ | |||
| 52 | -D3A_SRC_BUILD=0 \ | 45 | -D3A_SRC_BUILD=0 \ |
| 53 | -DIMX_G2D=ON \ | 46 | -DIMX_G2D=ON \ |
| 54 | -Wno-dev \ | 47 | -Wno-dev \ |
| 48 | -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \ | ||
| 55 | " | 49 | " |
| 56 | 50 | ||
| 57 | do_configure_disable:prepend () { | ||
| 58 | # FIXME: should be rebuild. | ||
| 59 | patchelf --replace-needed libjsoncpp.so.25 libjsoncpp.so.26 ${S}/mediacontrol/install/bin/isp_media_server | ||
| 60 | patchelf --replace-needed libjsoncpp.so.25 libjsoncpp.so.26 ${S}/mediacontrol/install/lib/libmedia_server.so | ||
| 61 | patchelf --replace-needed libjsoncpp.so.25 libjsoncpp.so.26 ${S}/tuningext/install/tuningext | ||
| 62 | |||
| 63 | # FIXME: Should be rebuild. | ||
| 64 | patchelf --replace-needed libtinyxml2.so.10 libtinyxml2.so.11 ${S}/appshell/shell_libs/ispcore/ARM64/libcam_device.so | ||
| 65 | } | ||
| 66 | |||
| 67 | do_install() { | 51 | do_install() { |
| 68 | # The Makefile unconditionally installs tuningext even if it is not built | 52 | # The Makefile unconditionally installs tuningext even if it is not built |
| 69 | if ${@bb.utils.contains('PACKAGECONFIG','tuningext','false','true',d)}; then | 53 | if ${@bb.utils.contains('PACKAGECONFIG','tuningext','false','true',d)}; then |
| @@ -80,7 +64,6 @@ do_install() { | |||
| 80 | install -d ${D}${systemd_system_unitdir} | 64 | install -d ${D}${systemd_system_unitdir} |
| 81 | install -m 0644 ${S}/imx/imx8-isp.service ${D}${systemd_system_unitdir} | 65 | install -m 0644 ${S}/imx/imx8-isp.service ${D}${systemd_system_unitdir} |
| 82 | fi | 66 | fi |
| 83 | |||
| 84 | } | 67 | } |
| 85 | 68 | ||
| 86 | # The build contains a mix of versioned and unversioned libraries, so | 69 | # The build contains a mix of versioned and unversioned libraries, so |
| @@ -97,6 +80,8 @@ FILES_SOLIBS_VERSIONED = " \ | |||
| 97 | ${libdir}/libos08a20.so \ | 80 | ${libdir}/libos08a20.so \ |
| 98 | " | 81 | " |
| 99 | 82 | ||
| 83 | INSANE_SKIP:${PN} = "already-stripped" | ||
| 84 | |||
| 100 | RDEPENDS:${PN} = "libdrm" | 85 | RDEPENDS:${PN} = "libdrm" |
| 101 | 86 | ||
| 102 | COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)" | 87 | COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)" |
diff --git a/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.1.3.bb b/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.2.0.bb index b1cd3d863..a94d6bf14 100644 --- a/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.1.3.bb +++ b/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.2.0.bb | |||
| @@ -8,7 +8,7 @@ SECTION = "base" | |||
| 8 | PV .= "+git${SRCPV}" | 8 | PV .= "+git${SRCPV}" |
| 9 | 9 | ||
| 10 | SRCBRANCH ?= "master" | 10 | SRCBRANCH ?= "master" |
| 11 | SRCREV = "faf547cc2345bfbf95507ab7e86530f85289bb5b" | 11 | SRCREV = "d44deb80af881b82f394d44696433e6695022c8c" |
| 12 | SRC_URI = "git://github.com/Freescale/libimxdmabuffer.git;branch=${SRCBRANCH};protocol=https \ | 12 | SRC_URI = "git://github.com/Freescale/libimxdmabuffer.git;branch=${SRCBRANCH};protocol=https \ |
| 13 | file://run-ptest \ | 13 | file://run-ptest \ |
| 14 | " | 14 | " |
diff --git a/recipes-bsp/mxsldr/mxsldr_git.bb b/recipes-bsp/mxsldr/mxsldr_git.bb index 9fc6338c4..ade3570c4 100644 --- a/recipes-bsp/mxsldr/mxsldr_git.bb +++ b/recipes-bsp/mxsldr/mxsldr_git.bb | |||
| @@ -7,7 +7,7 @@ LICENSE = "GPL-2.0-or-later" | |||
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
| 8 | 8 | ||
| 9 | SRCREV = "c40d80472525e1d57dae5317c028b745968c0399" | 9 | SRCREV = "c40d80472525e1d57dae5317c028b745968c0399" |
| 10 | SRC_URI = "git://git.denx.de/mxsldr.git;branch=master \ | 10 | SRC_URI = "git://source.denx.de/denx/mxsldr.git;branch=master;protocol=https \ |
| 11 | file://0001-Do-not-ignore-OE-cflags-and-ldflags.patch \ | 11 | file://0001-Do-not-ignore-OE-cflags-and-ldflags.patch \ |
| 12 | " | 12 | " |
| 13 | 13 | ||
diff --git a/recipes-bsp/u-boot/u-boot-imx_2025.04.bb b/recipes-bsp/u-boot/u-boot-imx_2025.04.bb index 27c3555f4..a27291460 100644 --- a/recipes-bsp/u-boot/u-boot-imx_2025.04.bb +++ b/recipes-bsp/u-boot/u-boot-imx_2025.04.bb | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | # Copyright (C) 2013-2016 Freescale Semiconductor | 1 | # Copyright (C) 2013-2016 Freescale Semiconductor |
| 2 | # Copyright 2018 (C) O.S. Systems Software LTDA. | 2 | # Copyright 2018 (C) O.S. Systems Software LTDA. |
| 3 | # Copyright 2017-2024 NXP | 3 | # Copyright 2017-2026 NXP |
| 4 | 4 | ||
| 5 | require recipes-bsp/u-boot/u-boot.inc | 5 | require recipes-bsp/u-boot/u-boot.inc |
| 6 | require u-boot-imx-common_${PV}.inc | 6 | require u-boot-imx-common_${PV}.inc |
| @@ -34,19 +34,31 @@ do_deploy:append:mx8m-generic-bsp() { | |||
| 34 | for key_value in ${UBOOT_DTB_NAME_FLAGS}; do | 34 | for key_value in ${UBOOT_DTB_NAME_FLAGS}; do |
| 35 | local type_key="${key_value%%:*}" | 35 | local type_key="${key_value%%:*}" |
| 36 | local dtb_name="${key_value#*:}" | 36 | local dtb_name="${key_value#*:}" |
| 37 | local dtb_path="" | ||
| 37 | if [ "$type_key" = "$type" ] | 38 | if [ "$type_key" = "$type" ] |
| 38 | then | 39 | then |
| 39 | bbnote "UBOOT_CONFIG = $type, UBOOT_DTB_NAME = $dtb_name" | 40 | bbnote "UBOOT_CONFIG = $type, UBOOT_DTB_NAME = $dtb_name" |
| 40 | # There is only one ${dtb_name}, the first one. All the other are with the type appended | 41 | # There is only one ${dtb_name}, the first one. All the other are with the type appended |
| 41 | if [ ! -f "${DEPLOYDIR}/${BOOT_TOOLS}/${dtb_name}" ]; then | 42 | if [ ! -f "${DEPLOYDIR}/${BOOT_TOOLS}/${dtb_name}" ]; then |
| 42 | install -m 0644 ${B}/${builddir}/arch/arm/dts/${dtb_name} ${DEPLOYDIR}/${BOOT_TOOLS}/${dtb_name} | 43 | if [ -f "${B}/${builddir}/arch/arm/dts/${dtb_name}" ]; then |
| 44 | dtb_path="arch/arm/dts" | ||
| 45 | elif [ -f "${B}/${builddir}/dts/upstream/src/arm64/freescale/${dtb_name}" ]; then | ||
| 46 | dtb_path="dts/upstream/src/arm64/freescale" | ||
| 47 | else | ||
| 48 | bbfatal "DTB '${dtb_name}' not found in expected locations" | ||
| 49 | fi | ||
| 50 | bbnote "DTB found at ${B}/${builddir}/${dtb_path}/${dtb_name}" | ||
| 51 | install -m 0644 ${B}/${builddir}/${dtb_path}/${dtb_name} ${DEPLOYDIR}/${BOOT_TOOLS}/${dtb_name} | ||
| 43 | else | 52 | else |
| 44 | bbwarn "Use custom wks.in for $dtb_name = $type" | 53 | bbwarn "Use custom wks.in for $dtb_name = $type" |
| 45 | fi | 54 | fi |
| 46 | install -m 0644 ${B}/${builddir}/arch/arm/dts/${dtb_name} ${DEPLOYDIR}/${BOOT_TOOLS}/${dtb_name}-${type} | 55 | if [ -f "${B}/${builddir}/${dtb_path}/${dtb_name}" ]; then |
| 56 | install -m 0644 ${B}/${builddir}/${dtb_path}/${dtb_name} ${DEPLOYDIR}/${BOOT_TOOLS}/${dtb_name}-${type} | ||
| 57 | fi | ||
| 47 | fi | 58 | fi |
| 48 | unset type_key | 59 | unset type_key |
| 49 | unset dtb_name | 60 | unset dtb_name |
| 61 | unset dtb_path | ||
| 50 | done | 62 | done |
| 51 | 63 | ||
| 52 | unset UBOOT_DTB_NAME_FLAGS | 64 | unset UBOOT_DTB_NAME_FLAGS |
| @@ -66,5 +78,10 @@ do_deploy:append:mx93-generic-bsp() { | |||
| 66 | install -m 0644 ${S}/CRT.* ${DEPLOYDIR} | 78 | install -m 0644 ${S}/CRT.* ${DEPLOYDIR} |
| 67 | } | 79 | } |
| 68 | 80 | ||
| 81 | do_deploy:append:mx95-generic-bsp() { | ||
| 82 | # Deploy CRT.* from u-boot for stmm | ||
| 83 | install -m 0644 ${S}/CRT.* ${DEPLOYDIR} | ||
| 84 | } | ||
| 85 | |||
| 69 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 86 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 70 | COMPATIBLE_MACHINE = "(mx6-generic-bsp|mx7-generic-bsp|mx8-generic-bsp|mx9-generic-bsp)" | 87 | COMPATIBLE_MACHINE = "(mx6-generic-bsp|mx7-generic-bsp|mx8-generic-bsp|mx9-generic-bsp)" |
