diff options
Diffstat (limited to 'recipes-bsp')
47 files changed, 426 insertions, 113 deletions
diff --git a/recipes-bsp/atf/qoriq-atf-2.6.inc b/recipes-bsp/atf/qoriq-atf-2.12.inc index d5ef5e75e..a025401e0 100644 --- a/recipes-bsp/atf/qoriq-atf-2.6.inc +++ b/recipes-bsp/atf/qoriq-atf-2.12.inc | |||
| @@ -3,10 +3,7 @@ DESCRIPTION = "ARM Trusted Firmware" | |||
| 3 | LICENSE = "BSD-3-Clause" | 3 | LICENSE = "BSD-3-Clause" |
| 4 | LIC_FILES_CHKSUM = "file://license.rst;md5=1dd070c98a281d18d9eefd938729b031" | 4 | LIC_FILES_CHKSUM = "file://license.rst;md5=1dd070c98a281d18d9eefd938729b031" |
| 5 | 5 | ||
| 6 | ATF_BRANCH ?= "lf_v2.6" | 6 | ATF_BRANCH ?= "lf_v2.12" |
| 7 | ATF_SRC ?= "git://github.com/nxp-qoriq/atf.git;protocol=https" | 7 | ATF_SRC ?= "git://github.com/nxp-qoriq/atf.git;protocol=https" |
| 8 | SRC_URI = "${ATF_SRC};branch=${ATF_BRANCH}" | 8 | SRC_URI = "${ATF_SRC};branch=${ATF_BRANCH}" |
| 9 | SRCREV = "616a4588f333522d50a55bedd2b9a90a51474a75" | 9 | SRCREV = "6ddd57019494cabfca5065368349109c37f2cc9f" |
| 10 | |||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | |||
diff --git a/recipes-bsp/atf/qoriq-atf-tools_2.6.bb b/recipes-bsp/atf/qoriq-atf-tools_2.12.bb index 2c1db306c..2c1db306c 100644 --- a/recipes-bsp/atf/qoriq-atf-tools_2.6.bb +++ b/recipes-bsp/atf/qoriq-atf-tools_2.12.bb | |||
diff --git a/recipes-bsp/atf/qoriq-atf_2.6.bb b/recipes-bsp/atf/qoriq-atf_2.12.bb index 9f2b0e47a..4eb7be9d3 100644 --- a/recipes-bsp/atf/qoriq-atf_2.6.bb +++ b/recipes-bsp/atf/qoriq-atf_2.12.bb | |||
| @@ -7,9 +7,8 @@ do_compile[depends] += "u-boot:do_deploy rcw:do_deploy uefi:do_deploy" | |||
| 7 | 7 | ||
| 8 | PV:append = "+${SRCPV}" | 8 | PV:append = "+${SRCPV}" |
| 9 | 9 | ||
| 10 | SRC_URI += "git://github.com/ARMmbed/mbedtls;protocol=https;nobranch=1;destsuffix=git/mbedtls;name=mbedtls \ | 10 | SRC_URI += "git://github.com/ARMmbed/mbedtls;protocol=https;nobranch=1;destsuffix=${S}/mbedtls;name=mbedtls \ |
| 11 | git://github.com/nxp/ddr-phy-binary;protocol=https;nobranch=1;destsuffix=git/ddr-phy-binary;name=ddr \ | 11 | git://github.com/nxp/ddr-phy-binary;protocol=https;nobranch=1;destsuffix=${S}/ddr-phy-binary;name=ddr \ |
| 12 | file://tf-a-tests-no-warn-rwx-segments.patch \ | ||
| 13 | " | 12 | " |
| 14 | SRCREV_mbedtls = "0795874acdf887290b2571b193cafd3c4041a708" | 13 | SRCREV_mbedtls = "0795874acdf887290b2571b193cafd3c4041a708" |
| 15 | SRCREV_ddr = "fbc036b88acb6c06ffed02c898cbae9856ec75ba" | 14 | SRCREV_ddr = "fbc036b88acb6c06ffed02c898cbae9856ec75ba" |
diff --git a/recipes-bsp/boot-format/boot-format_git.bb b/recipes-bsp/boot-format/boot-format_git.bb index 0916b45ba..6b53e228f 100644 --- a/recipes-bsp/boot-format/boot-format_git.bb +++ b/recipes-bsp/boot-format/boot-format_git.bb | |||
| @@ -7,7 +7,6 @@ SRC_URI = "git://github.com/nxp-qoriq-yocto-sdk/boot-format;protocol=https;nobra | |||
| 7 | file://flags.patch" | 7 | file://flags.patch" |
| 8 | SRCREV = "4eb81a6797ef4e58bf7d9b2d58afb37a21c1f550" | 8 | SRCREV = "4eb81a6797ef4e58bf7d9b2d58afb37a21c1f550" |
| 9 | 9 | ||
| 10 | S = "${WORKDIR}/git" | ||
| 11 | EXTRA_OEMAKE = 'CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"' | 10 | EXTRA_OEMAKE = 'CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"' |
| 12 | 11 | ||
| 13 | do_install(){ | 12 | do_install(){ |
diff --git a/recipes-bsp/ddr-phy/ddr-phy_git.bb b/recipes-bsp/ddr-phy/ddr-phy_git.bb index 8ea92502f..5cfeb935e 100644 --- a/recipes-bsp/ddr-phy/ddr-phy_git.bb +++ b/recipes-bsp/ddr-phy/ddr-phy_git.bb | |||
| @@ -7,8 +7,6 @@ inherit deploy | |||
| 7 | SRC_URI = "git://github.com/nxp/ddr-phy-binary.git;nobranch=1;protocol=https" | 7 | SRC_URI = "git://github.com/nxp/ddr-phy-binary.git;nobranch=1;protocol=https" |
| 8 | SRCREV = "fbc036b88acb6c06ffed02c898cbae9856ec75ba" | 8 | SRCREV = "fbc036b88acb6c06ffed02c898cbae9856ec75ba" |
| 9 | 9 | ||
| 10 | S = "${WORKDIR}/git" | ||
| 11 | |||
| 12 | REGLEX = "lx2160a" | 10 | REGLEX = "lx2160a" |
| 13 | 11 | ||
| 14 | DEPENDS += "qoriq-atf-tools-native" | 12 | DEPENDS += "qoriq-atf-tools-native" |
diff --git a/recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_22.04.bb b/recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_22.04.bb index 01e3a2a61..79fff49e6 100644 --- a/recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_22.04.bb +++ b/recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_22.04.bb | |||
| @@ -8,7 +8,7 @@ SRC_URI = "${FSL_MIRROR}/firmware-imx-8.16.bin;fsl-eula=true" | |||
| 8 | 8 | ||
| 9 | SRC_URI[sha256sum] = "65f829a9e2597bffc58a680aaefa638122144a083633d1ae09b3aec1d9f8ab84" | 9 | SRC_URI[sha256sum] = "65f829a9e2597bffc58a680aaefa638122144a083633d1ae09b3aec1d9f8ab84" |
| 10 | 10 | ||
| 11 | S = "${WORKDIR}/firmware-imx-8.16" | 11 | S = "${UNPACKDIR}/firmware-imx-8.16" |
| 12 | 12 | ||
| 13 | do_install () { | 13 | do_install () { |
| 14 | install -d ${D}/boot | 14 | install -d ${D}/boot |
diff --git a/recipes-bsp/firmware-imx/firmware-ele-imx_2.0.1.bb b/recipes-bsp/firmware-imx/firmware-ele-imx_2.0.2.bb index d9a6218e7..f776e463d 100644 --- a/recipes-bsp/firmware-imx/firmware-ele-imx_2.0.1.bb +++ b/recipes-bsp/firmware-imx/firmware-ele-imx_2.0.2.bb | |||
| @@ -3,15 +3,15 @@ SUMMARY = "NXP i.MX ELE firmware" | |||
| 3 | DESCRIPTION = "EdgeLock Secure Enclave firmware for i.MX series SoCs" | 3 | DESCRIPTION = "EdgeLock Secure Enclave firmware for i.MX series SoCs" |
| 4 | SECTION = "base" | 4 | SECTION = "base" |
| 5 | LICENSE = "Proprietary" | 5 | LICENSE = "Proprietary" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" |
| 7 | 7 | ||
| 8 | inherit fsl-eula-unpack use-imx-security-controller-firmware deploy | 8 | inherit fsl-eula-unpack use-imx-security-controller-firmware deploy |
| 9 | 9 | ||
| 10 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | 10 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" |
| 11 | IMX_SRCREV_ABBREV = "19b6ee2" | 11 | IMX_SRCREV_ABBREV = "89161a8" |
| 12 | SRC_URI[sha256sum] = "14ad172ed70d2f16decca4b55e508dad32923390a298f10a598e8bc7778b6b66" | 12 | SRC_URI[sha256sum] = "2d29f0a4de3662ba15f6a7d9069702d4eaed415d96a17f29d5b127f2c6fdd634" |
| 13 | 13 | ||
| 14 | S = "${WORKDIR}/${BP}-${IMX_SRCREV_ABBREV}" | 14 | S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}" |
| 15 | 15 | ||
| 16 | do_compile[noexec] = "1" | 16 | do_compile[noexec] = "1" |
| 17 | 17 | ||
| @@ -24,7 +24,7 @@ do_install() { | |||
| 24 | } | 24 | } |
| 25 | 25 | ||
| 26 | do_deploy () { | 26 | do_deploy () { |
| 27 | # Deploy the related firmware to be package by imx-boot | 27 | # Deploy the related firmware to be packaged by imx-boot |
| 28 | install -m 0644 ${S}/${SECO_FIRMWARE_NAME} ${DEPLOYDIR} | 28 | install -m 0644 ${S}/${SECO_FIRMWARE_NAME} ${DEPLOYDIR} |
| 29 | } | 29 | } |
| 30 | addtask deploy after do_install before do_build | 30 | addtask deploy after do_install before do_build |
diff --git a/recipes-bsp/firmware-imx/firmware-imx-8.27.inc b/recipes-bsp/firmware-imx/firmware-imx-8.28.inc index 022289d37..db8a78528 100644 --- a/recipes-bsp/firmware-imx/firmware-imx-8.27.inc +++ b/recipes-bsp/firmware-imx/firmware-imx-8.28.inc | |||
| @@ -1,16 +1,16 @@ | |||
| 1 | # Copyright (C) 2012-2016 Freescale Semiconductor | 1 | # Copyright (C) 2012-2016 Freescale Semiconductor |
| 2 | # Copyright 2017-2024 NXP | 2 | # Copyright 2017-2025 NXP |
| 3 | # Copyright (C) 2018 O.S. Systems Software LTDA. | 3 | # Copyright (C) 2018 O.S. Systems Software LTDA. |
| 4 | SECTION = "base" | 4 | SECTION = "base" |
| 5 | LICENSE = "Proprietary" | 5 | LICENSE = "Proprietary" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" |
| 7 | 7 | ||
| 8 | # Note: This .inc file is used from differently named recipes, so the package | 8 | # Note: This .inc file is used from differently named recipes, so the package |
| 9 | # name must be hard-coded, i.e., ${BPN} cannot be used. | 9 | # name must be hard-coded, i.e., ${BPN} cannot be used. |
| 10 | SRC_URI = "${FSL_MIRROR}/firmware-imx-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | 10 | SRC_URI = "${FSL_MIRROR}/firmware-imx-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" |
| 11 | IMX_SRCREV_ABBREV = "5af0ceb" | 11 | IMX_SRCREV_ABBREV = "994fa14" |
| 12 | SRC_URI[sha256sum] = "61f925e606ab020b1a36f3f7f7e459c6847f5b9dbc79421f9ef86e8fc124eb2f" | 12 | SRC_URI[sha256sum] = "55996f340e87825685a00cd309901189066ec9545ee607734f942c3cde4d69dc" |
| 13 | 13 | ||
| 14 | S = "${WORKDIR}/firmware-imx-${PV}-${IMX_SRCREV_ABBREV}" | 14 | S = "${UNPACKDIR}/firmware-imx-${PV}-${IMX_SRCREV_ABBREV}" |
| 15 | 15 | ||
| 16 | inherit fsl-eula-unpack | 16 | inherit fsl-eula-unpack |
diff --git a/recipes-bsp/firmware-imx/firmware-imx_8.27.bb b/recipes-bsp/firmware-imx/firmware-imx_8.28.bb index 7bac8106d..2cd449165 100644 --- a/recipes-bsp/firmware-imx/firmware-imx_8.27.bb +++ b/recipes-bsp/firmware-imx/firmware-imx_8.28.bb | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | # Copyright (C) 2012-2016 Freescale Semiconductor | 1 | # Copyright (C) 2012-2016 Freescale Semiconductor |
| 2 | # Copyright 2017-2021,2024 NXP | 2 | # Copyright 2017-2021,2024-2025 NXP |
| 3 | # Copyright (C) 2018 O.S. Systems Software LTDA. | 3 | # Copyright (C) 2018 O.S. Systems Software LTDA. |
| 4 | SUMMARY = "Freescale i.MX firmware" | 4 | SUMMARY = "Freescale i.MX firmware" |
| 5 | DESCRIPTION = "Freescale i.MX firmware such as for the VPU" | 5 | DESCRIPTION = "Freescale i.MX firmware such as for the VPU" |
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 fe520ea84..51e8b69e4 100644 --- a/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.1.bb +++ b/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.1.bb | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # Copyright 2020-2024 NXP | 1 | # Copyright 2020-2025 NXP |
| 2 | 2 | ||
| 3 | SUMMARY = "Wi-Fi firmware redistributed by NXP" | 3 | SUMMARY = "Wi-Fi firmware redistributed by NXP" |
| 4 | DESCRIPTION = "Additional Wi-Fi firmware redistributed by NXP. Some \ | 4 | DESCRIPTION = "Additional Wi-Fi firmware redistributed by NXP. Some \ |
| @@ -7,13 +7,12 @@ should be preferred." | |||
| 7 | 7 | ||
| 8 | SECTION = "kernel" | 8 | SECTION = "kernel" |
| 9 | LICENSE = "Proprietary" | 9 | LICENSE = "Proprietary" |
| 10 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c0fb372b5d7f12181de23ef480f225f3" | 10 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a93b654673e1bc8398ed1f30e0813359" |
| 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.3_1.0.0" | 13 | SRCBRANCH = "lf-6.12.20_2.0.0" |
| 14 | SRCREV = "eef7ef94bc44cacd3b068f66658ef33391547daa" | 14 | SRCREV = "d31ea8aaba67e188ba0071a90da0364e3946c83a" |
| 15 | 15 | ||
| 16 | S = "${WORKDIR}/git" | ||
| 17 | 16 | ||
| 18 | inherit allarch | 17 | inherit allarch |
| 19 | 18 | ||
| @@ -69,8 +68,10 @@ PACKAGES =+ " \ | |||
| 69 | ${PN}-nxp9098-pcie \ | 68 | ${PN}-nxp9098-pcie \ |
| 70 | ${PN}-nxp9098-common \ | 69 | ${PN}-nxp9098-common \ |
| 71 | ${PN}-nxp9098-sdio \ | 70 | ${PN}-nxp9098-sdio \ |
| 71 | ${PN}-nxpaw693-pcie \ | ||
| 72 | ${PN}-nxpiw416-sdio \ | 72 | ${PN}-nxpiw416-sdio \ |
| 73 | ${PN}-nxpiw610-sdio \ | 73 | ${PN}-nxpiw610-sdio \ |
| 74 | ${PN}-nxpiw610-usb \ | ||
| 74 | ${PN}-nxpiw612-sdio \ | 75 | ${PN}-nxpiw612-sdio \ |
| 75 | " | 76 | " |
| 76 | 77 | ||
| @@ -162,6 +163,7 @@ RCONFLICTS:${PN}-nxpiw416-sdio = "linux-firmware-nxpiw416-sdio" | |||
| 162 | FILES:${PN}-nxpiw610-sdio += " \ | 163 | FILES:${PN}-nxpiw610-sdio += " \ |
| 163 | ${nonarch_base_libdir}/firmware/nxp/sd_iw610.bin.se \ | 164 | ${nonarch_base_libdir}/firmware/nxp/sd_iw610.bin.se \ |
| 164 | ${nonarch_base_libdir}/firmware/nxp/sduart_iw610.bin.se \ | 165 | ${nonarch_base_libdir}/firmware/nxp/sduart_iw610.bin.se \ |
| 166 | ${nonarch_base_libdir}/firmware/nxp/sduartspi_iw610.bin.se \ | ||
| 165 | ${nonarch_base_libdir}/firmware/nxp/uart_iw610_bt.bin.se \ | 167 | ${nonarch_base_libdir}/firmware/nxp/uart_iw610_bt.bin.se \ |
| 166 | ${nonarch_base_libdir}/firmware/nxp/uartspi_iw610.bin.se \ | 168 | ${nonarch_base_libdir}/firmware/nxp/uartspi_iw610.bin.se \ |
| 167 | " | 169 | " |
| @@ -170,6 +172,11 @@ RPROVIDES:${PN}-nxpiw610-sdio = "linux-firmware-nxpiw610-sdio" | |||
| 170 | RREPLACES:${PN}-nxpiw610-sdio = "linux-firmware-nxpiw610-sdio" | 172 | RREPLACES:${PN}-nxpiw610-sdio = "linux-firmware-nxpiw610-sdio" |
| 171 | RCONFLICTS:${PN}-nxpiw610-sdio = "linux-firmware-nxpiw610-sdio" | 173 | RCONFLICTS:${PN}-nxpiw610-sdio = "linux-firmware-nxpiw610-sdio" |
| 172 | 174 | ||
| 175 | FILES:${PN}-nxpiw610-usb += " \ | ||
| 176 | ${nonarch_base_libdir}/firmware/nxp/usb*_iw610.bin.se \ | ||
| 177 | " | ||
| 178 | RDEPENDS:${PN}-nxpiw610-usb += "${PN}-nxp-common" | ||
| 179 | |||
| 173 | FILES:${PN}-nxpiw612-sdio = " \ | 180 | FILES:${PN}-nxpiw612-sdio = " \ |
| 174 | ${nonarch_base_libdir}/firmware/nxp/sduart_nw61x_v1.bin.se \ | 181 | ${nonarch_base_libdir}/firmware/nxp/sduart_nw61x_v1.bin.se \ |
| 175 | ${nonarch_base_libdir}/firmware/nxp/sd_w61x_v1.bin.se \ | 182 | ${nonarch_base_libdir}/firmware/nxp/sd_w61x_v1.bin.se \ |
| @@ -182,6 +189,12 @@ RPROVIDES:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" | |||
| 182 | RREPLACES:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" | 189 | RREPLACES:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" |
| 183 | RCONFLICTS:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" | 190 | RCONFLICTS:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" |
| 184 | 191 | ||
| 192 | FILES:${PN}-nxpaw693-pcie += " \ | ||
| 193 | ${nonarch_base_libdir}/firmware/nxp/pcie*aw693* \ | ||
| 194 | ${nonarch_base_libdir}/firmware/nxp/uart*aw693* \ | ||
| 195 | " | ||
| 196 | RDEPENDS:${PN}-nxpaw693-pcie += "${PN}-nxp-common" | ||
| 197 | |||
| 185 | RDEPENDS:${PN}-all-sdio = " \ | 198 | RDEPENDS:${PN}-all-sdio = " \ |
| 186 | ${PN}-nxp8801-sdio \ | 199 | ${PN}-nxp8801-sdio \ |
| 187 | ${PN}-nxp8987-sdio \ | 200 | ${PN}-nxp8987-sdio \ |
| @@ -194,4 +207,9 @@ RDEPENDS:${PN}-all-sdio = " \ | |||
| 194 | RDEPENDS:${PN}-all-pcie = " \ | 207 | RDEPENDS:${PN}-all-pcie = " \ |
| 195 | ${PN}-nxp8997-pcie \ | 208 | ${PN}-nxp8997-pcie \ |
| 196 | ${PN}-nxp9098-pcie \ | 209 | ${PN}-nxp9098-pcie \ |
| 210 | ${PN}-nxpaw693-pcie \ | ||
| 211 | " | ||
| 212 | |||
| 213 | RDEPENDS:${PN}-all-usb = " \ | ||
| 214 | ${PN}-nxpiw610-usb \ | ||
| 197 | " | 215 | " |
diff --git a/recipes-bsp/firmware-imx/firmware-sof-imx_2.3.0.bb b/recipes-bsp/firmware-imx/firmware-sof-imx_2.3.0.bb index 6e6f90cab..7c5022761 100644 --- a/recipes-bsp/firmware-imx/firmware-sof-imx_2.3.0.bb +++ b/recipes-bsp/firmware-imx/firmware-sof-imx_2.3.0.bb | |||
| @@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://LICENCE;md5=0f00d99239d922ffd13cabef83b33444" | |||
| 10 | SRC_URI = "${FSL_MIRROR}/sof-imx-${PV}.tar.gz" | 10 | SRC_URI = "${FSL_MIRROR}/sof-imx-${PV}.tar.gz" |
| 11 | SRC_URI[sha256sum] = "eb86c90aec92b3b376e7afca6aa5db4767b5d8868553595907ba37665329f16b" | 11 | SRC_URI[sha256sum] = "eb86c90aec92b3b376e7afca6aa5db4767b5d8868553595907ba37665329f16b" |
| 12 | 12 | ||
| 13 | S = "${WORKDIR}/sof-imx-${PV}" | 13 | S = "${UNPACKDIR}/sof-imx-${PV}" |
| 14 | 14 | ||
| 15 | inherit allarch | 15 | inherit allarch |
| 16 | 16 | ||
diff --git a/recipes-bsp/firmware-imx/imx-boot-firmware-files_8.27.bb b/recipes-bsp/firmware-imx/imx-boot-firmware-files_8.28.bb index c35e31e07..4c0d51c8a 100644 --- a/recipes-bsp/firmware-imx/imx-boot-firmware-files_8.27.bb +++ b/recipes-bsp/firmware-imx/imx-boot-firmware-files_8.28.bb | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # Copyright (C) 2018-2024 NXP | 1 | # Copyright (C) 2018-2025 NXP |
| 2 | SUMMARY = "Freescale i.MX Firmware files used for boot" | 2 | SUMMARY = "Freescale i.MX Firmware files used for boot" |
| 3 | 3 | ||
| 4 | require firmware-imx-${PV}.inc | 4 | require firmware-imx-${PV}.inc |
diff --git a/recipes-bsp/firmware-upower/firmware-upower_1.3.1.bb b/recipes-bsp/firmware-upower/firmware-upower_1.3.1.bb index 7592a629c..2b5a9f50d 100644 --- a/recipes-bsp/firmware-upower/firmware-upower_1.3.1.bb +++ b/recipes-bsp/firmware-upower/firmware-upower_1.3.1.bb | |||
| @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=db4762b09b6bda63da103963e6e081de" | |||
| 6 | 6 | ||
| 7 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true" | 7 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true" |
| 8 | 8 | ||
| 9 | S = "${WORKDIR}/${PN}-${PV}" | 9 | S = "${UNPACKDIR}/${PN}-${PV}" |
| 10 | 10 | ||
| 11 | inherit fsl-eula-unpack pkgconfig deploy | 11 | inherit fsl-eula-unpack pkgconfig deploy |
| 12 | 12 | ||
diff --git a/recipes-bsp/fsl-tlu/fsl-tlu_1.0.0.bb b/recipes-bsp/fsl-tlu/fsl-tlu_1.0.0.bb index 3883c0246..260b01001 100644 --- a/recipes-bsp/fsl-tlu/fsl-tlu_1.0.0.bb +++ b/recipes-bsp/fsl-tlu/fsl-tlu_1.0.0.bb | |||
| @@ -8,8 +8,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8a71d0475d08eee76d8b6d0c6dbec543" | |||
| 8 | SRC_URI = "git://github.com/nxp-qoriq-yocto-sdk/fsl-tlu;protocol=https;nobranch=1" | 8 | SRC_URI = "git://github.com/nxp-qoriq-yocto-sdk/fsl-tlu;protocol=https;nobranch=1" |
| 9 | SRCREV = "8837cce3c86b30c0931c319e9e1a8ca622ae5354" | 9 | SRCREV = "8837cce3c86b30c0931c319e9e1a8ca622ae5354" |
| 10 | 10 | ||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | |||
| 13 | do_install() { | 11 | do_install() { |
| 14 | install -d ${D}${sbindir}/fsl_tlu | 12 | install -d ${D}${sbindir}/fsl_tlu |
| 15 | find . -type f -exec cp {} ${D}${sbindir}/fsl_tlu/ \; | 13 | find . -type f -exec cp {} ${D}${sbindir}/fsl_tlu/ \; |
diff --git a/recipes-bsp/imx-atf/imx-atf_2.10.bb b/recipes-bsp/imx-atf/imx-atf_2.12.bb index 13478bbe6..ba494594f 100644 --- a/recipes-bsp/imx-atf/imx-atf_2.10.bb +++ b/recipes-bsp/imx-atf/imx-atf_2.12.bb | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # Copyright (C) 2017-2024 NXP | 1 | # Copyright (C) 2017-2025 NXP |
| 2 | 2 | ||
| 3 | DESCRIPTION = "i.MX ARM Trusted Firmware" | 3 | DESCRIPTION = "i.MX ARM Trusted Firmware" |
| 4 | SECTION = "BSP" | 4 | SECTION = "BSP" |
| @@ -9,10 +9,8 @@ PV .= "+git${SRCPV}" | |||
| 9 | 9 | ||
| 10 | SRC_URI = "git://github.com/nxp-imx/imx-atf.git;protocol=https;branch=${SRCBRANCH} \ | 10 | SRC_URI = "git://github.com/nxp-imx/imx-atf.git;protocol=https;branch=${SRCBRANCH} \ |
| 11 | file://0001-imx93-trdc-Fix-header-guard.patch" | 11 | file://0001-imx93-trdc-Fix-header-guard.patch" |
| 12 | SRCBRANCH = "lf_v2.10" | 12 | SRCBRANCH = "lf_v2.12" |
| 13 | SRCREV = "78a14c75a06dea39036c44ae0f9d23acc7bcaef2" | 13 | SRCREV = "6ddd57019494cabfca5065368349109c37f2cc9f" |
| 14 | |||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | 14 | ||
| 17 | inherit deploy | 15 | inherit deploy |
| 18 | 16 | ||
diff --git a/recipes-bsp/imx-kobs/imx-kobs_git.bb b/recipes-bsp/imx-kobs/imx-kobs_git.bb index bdb02475a..4f0ed79a1 100644 --- a/recipes-bsp/imx-kobs/imx-kobs_git.bb +++ b/recipes-bsp/imx-kobs/imx-kobs_git.bb | |||
| @@ -12,7 +12,6 @@ SRC_URI = "git://github.com/NXPmicro/imx-kobs.git;protocol=https;branch=master \ | |||
| 12 | file://0001-Add-missing-includes-as-pointed-out-by-musl.patch \ | 12 | file://0001-Add-missing-includes-as-pointed-out-by-musl.patch \ |
| 13 | " | 13 | " |
| 14 | SRCREV = "ff13a99a22aa73cca0e09a33c2ebb6a94ad698da" | 14 | SRCREV = "ff13a99a22aa73cca0e09a33c2ebb6a94ad698da" |
| 15 | S = "${WORKDIR}/git" | ||
| 16 | 15 | ||
| 17 | inherit autotools pkgconfig | 16 | inherit autotools pkgconfig |
| 18 | 17 | ||
diff --git a/recipes-bsp/imx-lib/imx-lib_git.bb b/recipes-bsp/imx-lib/imx-lib_git.bb index cff0313e2..5cf1b5744 100644 --- a/recipes-bsp/imx-lib/imx-lib_git.bb +++ b/recipes-bsp/imx-lib/imx-lib_git.bb | |||
| @@ -14,11 +14,9 @@ PV = "5.9+${SRCPV}" | |||
| 14 | 14 | ||
| 15 | SRC_URI = "git://github.com/nxp-imx/imx-lib.git;protocol=https;branch=${SRCBRANCH} \ | 15 | SRC_URI = "git://github.com/nxp-imx/imx-lib.git;protocol=https;branch=${SRCBRANCH} \ |
| 16 | file://0001-Fix-gcc-15-errors.patch" | 16 | file://0001-Fix-gcc-15-errors.patch" |
| 17 | SRCBRANCH = "lf-6.12.3_1.0.0" | 17 | SRCBRANCH = "lf-6.12.20_2.0.0" |
| 18 | SRCREV = "8f124c3914d82019849fb697baeb730e4cb1b547" | 18 | SRCREV = "8f124c3914d82019849fb697baeb730e4cb1b547" |
| 19 | 19 | ||
| 20 | S = "${WORKDIR}/git" | ||
| 21 | |||
| 22 | inherit use-imx-headers | 20 | inherit use-imx-headers |
| 23 | 21 | ||
| 24 | PLATFORM:mx6q-nxp-bsp = "IMX6Q" | 22 | PLATFORM:mx6q-nxp-bsp = "IMX6Q" |
diff --git a/recipes-bsp/imx-mkimage/imx-mkimage_git.inc b/recipes-bsp/imx-mkimage/imx-mkimage_git.inc index ad464aee2..a14d98241 100644 --- a/recipes-bsp/imx-mkimage/imx-mkimage_git.inc +++ b/recipes-bsp/imx-mkimage/imx-mkimage_git.inc | |||
| @@ -5,10 +5,8 @@ DEPENDS = "zlib-native openssl-native" | |||
| 5 | SRC_URI = "git://github.com/nxp-imx/imx-mkimage.git;protocol=https;branch=${SRCBRANCH} \ | 5 | SRC_URI = "git://github.com/nxp-imx/imx-mkimage.git;protocol=https;branch=${SRCBRANCH} \ |
| 6 | file://0001-iMX8M-soc.mak-use-native-mkimage-from-sysroot.patch \ | 6 | file://0001-iMX8M-soc.mak-use-native-mkimage-from-sysroot.patch \ |
| 7 | " | 7 | " |
| 8 | SRCBRANCH = "lf-6.12.3_1.0.0" | 8 | SRCBRANCH = "lf-6.12.20_2.0.0" |
| 9 | SRCREV = "9e60b1f7a87a6397cf8db10e07293075f489e974" | 9 | SRCREV = "4c2e5b25232f5aa003976ddca9d1d2fb9667beb1" |
| 10 | |||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | 10 | ||
| 13 | BOOT_TOOLS = "imx-boot-tools" | 11 | BOOT_TOOLS = "imx-boot-tools" |
| 14 | SYSROOT_DIRS += "/boot" | 12 | SYSROOT_DIRS += "/boot" |
diff --git a/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.18.0.bb b/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.18.0.bb index 1354356b6..42e8f6e19 100644 --- a/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.18.0.bb +++ b/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.18.0.bb | |||
| @@ -12,7 +12,7 @@ SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | |||
| 12 | SRC_URI[sha256sum] = "392f1e5cdf1c8d7ed75409a2c46b00a332ace677f0e2700b587fe9ae800a1ff3" | 12 | SRC_URI[sha256sum] = "392f1e5cdf1c8d7ed75409a2c46b00a332ace677f0e2700b587fe9ae800a1ff3" |
| 13 | IMX_SRCREV_ABBREV = "654907b" | 13 | IMX_SRCREV_ABBREV = "654907b" |
| 14 | 14 | ||
| 15 | S = "${WORKDIR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}" | 15 | S = "${UNPACKDIR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}" |
| 16 | 16 | ||
| 17 | BOARD_TYPE ?= "mek" | 17 | BOARD_TYPE ?= "mek" |
| 18 | SC_FIRMWARE_NAME ?= "INVALID" | 18 | SC_FIRMWARE_NAME ?= "INVALID" |
diff --git a/recipes-bsp/imx-seco/imx-seco-libs_git.bb b/recipes-bsp/imx-seco/imx-seco-libs_git.bb index 353dcb910..fe366aacb 100644 --- a/recipes-bsp/imx-seco/imx-seco-libs_git.bb +++ b/recipes-bsp/imx-seco/imx-seco-libs_git.bb | |||
| @@ -16,8 +16,6 @@ SRC_URI = "git://github.com/NXP/imx-seco-libs.git;protocol=https;branch=${SRCBRA | |||
| 16 | file://0001-Fix-return-value-of-void-functions.patch" | 16 | file://0001-Fix-return-value-of-void-functions.patch" |
| 17 | SRCREV = "273553f207425f773400be7a7f3a7c425d892d6f" | 17 | SRCREV = "273553f207425f773400be7a7f3a7c425d892d6f" |
| 18 | 18 | ||
| 19 | S = "${WORKDIR}/git" | ||
| 20 | |||
| 21 | TARGET_CC_ARCH += "${LDFLAGS}" | 19 | TARGET_CC_ARCH += "${LDFLAGS}" |
| 22 | 20 | ||
| 23 | do_install () { | 21 | do_install () { |
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 352fc49ee..2710297d6 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 | |||
| @@ -13,7 +13,7 @@ SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | |||
| 13 | SRC_URI[sha256sum] = "bd8dc01966076836aabff53f2463295294166595006e1db430db21b6ffa6b667" | 13 | SRC_URI[sha256sum] = "bd8dc01966076836aabff53f2463295294166595006e1db430db21b6ffa6b667" |
| 14 | IMX_SRCREV_ABBREV = "0333596" | 14 | IMX_SRCREV_ABBREV = "0333596" |
| 15 | 15 | ||
| 16 | S = "${WORKDIR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}" | 16 | S = "${UNPACKDIR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}" |
| 17 | 17 | ||
| 18 | do_compile[noexec] = "1" | 18 | do_compile[noexec] = "1" |
| 19 | 19 | ||
diff --git a/recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb b/recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb index cebfbdf91..525824f79 100644 --- a/recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb +++ b/recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb | |||
| @@ -14,8 +14,6 @@ SRCREV = "dffbb844e86f4a49058ffbb40548474059969c27" | |||
| 14 | 14 | ||
| 15 | PV = "lf-6.6.52_2.2.0" | 15 | PV = "lf-6.6.52_2.2.0" |
| 16 | 16 | ||
| 17 | S = "${WORKDIR}/git" | ||
| 18 | |||
| 19 | EXTRA_OEMAKE += "PLAT=ele" | 17 | EXTRA_OEMAKE += "PLAT=ele" |
| 20 | 18 | ||
| 21 | TARGET_CC_ARCH += "${LDFLAGS}" | 19 | TARGET_CC_ARCH += "${LDFLAGS}" |
diff --git a/recipes-bsp/imx-test/imx-test_git.bb b/recipes-bsp/imx-test/imx-test_git.bb index 0a0934694..3dd6153a0 100644 --- a/recipes-bsp/imx-test/imx-test_git.bb +++ b/recipes-bsp/imx-test/imx-test_git.bb | |||
| @@ -14,16 +14,15 @@ DEPENDS:append:mx6-nxp-bsp = " imx-lib" | |||
| 14 | DEPENDS:append:mx7-nxp-bsp = " imx-lib" | 14 | DEPENDS:append:mx7-nxp-bsp = " imx-lib" |
| 15 | DEPENDS:append:mx8ulp-nxp-bsp = " imx-lib" | 15 | DEPENDS:append:mx8ulp-nxp-bsp = " imx-lib" |
| 16 | DEPENDS:append:mx93-nxp-bsp = " imx-lib" | 16 | DEPENDS:append:mx93-nxp-bsp = " imx-lib" |
| 17 | DEPENDS:append:mx943-nxp-bsp = " imx-lib" | ||
| 17 | 18 | ||
| 18 | PE = "1" | 19 | PE = "1" |
| 19 | PV = "7.0+${SRCPV}" | 20 | PV = "7.0+${SRCPV}" |
| 20 | 21 | ||
| 21 | SRC_URI = "git://github.com/nxp-imx/imx-test.git;protocol=https;branch=${SRCBRANCH} \ | 22 | SRC_URI = "git://github.com/nxp-imx/imx-test.git;protocol=https;branch=${SRCBRANCH} \ |
| 22 | file://memtool_profile" | 23 | file://memtool_profile" |
| 23 | SRCBRANCH = "lf-6.12.3_1.0.0" | 24 | SRCBRANCH = "lf-6.12.20_2.0.0" |
| 24 | SRCREV = "92a497313016bfa536d561e13fcbad2d273ded4c" | 25 | SRCREV = "38f9cf1f08bb6fcdd6aaf9191e0b53f02e02537b" |
| 25 | |||
| 26 | S = "${WORKDIR}/git" | ||
| 27 | 26 | ||
| 28 | inherit module-base use-imx-headers | 27 | inherit module-base use-imx-headers |
| 29 | 28 | ||
| @@ -42,6 +41,7 @@ PLATFORM:mx8-nxp-bsp = "IMX8" | |||
| 42 | PLATFORM:mx8ulp-nxp-bsp = "IMX8ULP" | 41 | PLATFORM:mx8ulp-nxp-bsp = "IMX8ULP" |
| 43 | PLATFORM:mx91-nxp-bsp = "IMX8" | 42 | PLATFORM:mx91-nxp-bsp = "IMX8" |
| 44 | PLATFORM:mx93-nxp-bsp = "IMX8ULP" | 43 | PLATFORM:mx93-nxp-bsp = "IMX8ULP" |
| 44 | PLATFORM:mx943-nxp-bsp = "IMX8ULP" | ||
| 45 | PLATFORM:mx95-nxp-bsp = "IMX8" | 45 | PLATFORM:mx95-nxp-bsp = "IMX8" |
| 46 | 46 | ||
| 47 | PARALLEL_MAKE = "-j 1" | 47 | PARALLEL_MAKE = "-j 1" |
diff --git a/recipes-bsp/imx-uuc/imx-uuc_git.bb b/recipes-bsp/imx-uuc/imx-uuc_git.bb index 754e68eb0..54997ae37 100644 --- a/recipes-bsp/imx-uuc/imx-uuc_git.bb +++ b/recipes-bsp/imx-uuc/imx-uuc_git.bb | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | # Copyright (C) 2016 Freescale Semiconductor | 1 | # Copyright (C) 2016 Freescale Semiconductor |
| 2 | # Copyright (C) 2017-2019,2024 NXP | 2 | # Copyright (C) 2017-2019,2024-2025 NXP |
| 3 | SUMMARY = "A Daemon wait for NXP mfgtools host's command" | 3 | SUMMARY = "A Daemon wait for NXP mfgtools host's command" |
| 4 | SECTION = "base" | 4 | SECTION = "base" |
| 5 | DEPENDS = "virtual/kernel dosfstools-native" | 5 | DEPENDS = "virtual/kernel dosfstools-native" |
| @@ -9,11 +9,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" | |||
| 9 | PR = "r1" | 9 | PR = "r1" |
| 10 | PV = "0.5.1+git${SRCPV}" | 10 | PV = "0.5.1+git${SRCPV}" |
| 11 | 11 | ||
| 12 | SRC_URI = "git://github.com/NXPmicro/imx-uuc.git;protocol=https;branch=master" | 12 | SRC_URI = "git://github.com/nxp-imx/imx-uuc.git;protocol=https;branch=master" |
| 13 | SRCREV = "25f65e10368aa07056f9536e88ed911ac7f38f99" | 13 | SRCREV = "25f65e10368aa07056f9536e88ed911ac7f38f99" |
| 14 | 14 | ||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | |||
| 17 | do_install() { | 15 | do_install() { |
| 18 | oe_runmake 'DESTDIR=${D}' install | 16 | oe_runmake 'DESTDIR=${D}' install |
| 19 | } | 17 | } |
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.10.1.bb index 5aaf92c5f..68c2a4979 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.10.1.bb | |||
| @@ -14,7 +14,7 @@ IMX_SRCREV_ABBREV = "c0244a1" | |||
| 14 | 14 | ||
| 15 | SRC_URI[sha256sum] = "713ba375f25490727fcc62bab5d5508f74de03204b4c153464b696b652c5c7df" | 15 | SRC_URI[sha256sum] = "713ba375f25490727fcc62bab5d5508f74de03204b4c153464b696b652c5c7df" |
| 16 | 16 | ||
| 17 | S = "${WORKDIR}/${BP}-${IMX_SRCREV_ABBREV}" | 17 | S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}" |
| 18 | 18 | ||
| 19 | # SCR is the location and name of the Software Content Register file | 19 | # SCR is the location and name of the Software Content Register file |
| 20 | # relative to ${D}${D_SUBDIR}. | 20 | # relative to ${D}${D_SUBDIR}. |
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.5.0.bb index ac42b6870..940b9fa41 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.5.0.bb | |||
| @@ -11,7 +11,7 @@ IMX_SRCREV_ABBREV = "3200e68" | |||
| 11 | 11 | ||
| 12 | SRC_URI[sha256sum] = "e7806a92d4a5ab51b76d9edef5175a95625c4ac3cab467fe1519bb0ce16e6535" | 12 | SRC_URI[sha256sum] = "e7806a92d4a5ab51b76d9edef5175a95625c4ac3cab467fe1519bb0ce16e6535" |
| 13 | 13 | ||
| 14 | S = "${WORKDIR}/${BP}-${IMX_SRCREV_ABBREV}" | 14 | S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}" |
| 15 | 15 | ||
| 16 | PLATFORM:mx8mm-nxp-bsp = "IMX8MM" | 16 | PLATFORM:mx8mm-nxp-bsp = "IMX8MM" |
| 17 | PLATFORM:mx8mq-nxp-bsp = "IMX8MQ" | 17 | PLATFORM:mx8mq-nxp-bsp = "IMX8MQ" |
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.36.0.bb index 3a171942f..d766e0191 100644 --- a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.36.0.bb +++ b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.36.0.bb | |||
| @@ -15,7 +15,7 @@ IMX_SRCREV_ABBREV = "194a305" | |||
| 15 | 15 | ||
| 16 | SRC_URI[sha256sum] = "0ef1fb5c6653c08f2d2812c72dedf3e8beb091dd5b3d70d6e26f41bac4ebffa7" | 16 | SRC_URI[sha256sum] = "0ef1fb5c6653c08f2d2812c72dedf3e8beb091dd5b3d70d6e26f41bac4ebffa7" |
| 17 | 17 | ||
| 18 | S = "${WORKDIR}/${BP}-${IMX_SRCREV_ABBREV}" | 18 | S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}" |
| 19 | 19 | ||
| 20 | inherit fsl-eula-unpack use-imx-headers | 20 | inherit fsl-eula-unpack use-imx-headers |
| 21 | 21 | ||
diff --git a/recipes-bsp/inphi/inphi_git.bb b/recipes-bsp/inphi/inphi_git.bb index 4deacb581..5c2e4197f 100644 --- a/recipes-bsp/inphi/inphi_git.bb +++ b/recipes-bsp/inphi/inphi_git.bb | |||
| @@ -7,8 +7,6 @@ inherit deploy | |||
| 7 | SRC_URI = "git://github.com/nxp/qoriq-firmware-inphi.git;nobranch=1;protocol=https" | 7 | SRC_URI = "git://github.com/nxp/qoriq-firmware-inphi.git;nobranch=1;protocol=https" |
| 8 | SRCREV = "f22e9ff3bfed8342da6efb699e473b11fbad5695" | 8 | SRCREV = "f22e9ff3bfed8342da6efb699e473b11fbad5695" |
| 9 | 9 | ||
| 10 | S = "${WORKDIR}/git" | ||
| 11 | |||
| 12 | do_install () { | 10 | do_install () { |
| 13 | install -d ${D}/boot | 11 | install -d ${D}/boot |
| 14 | cp -fr ${S}/in112525-phy-ucode.txt ${D}/boot | 12 | cp -fr ${S}/in112525-phy-ucode.txt ${D}/boot |
diff --git a/recipes-bsp/isp-imx/basler-camera_4.2.2.25.1.bb b/recipes-bsp/isp-imx/basler-camera_4.2.2.25.2.bb index 550250b2d..012e1f2b7 100644 --- a/recipes-bsp/isp-imx/basler-camera_4.2.2.25.1.bb +++ b/recipes-bsp/isp-imx/basler-camera_4.2.2.25.2.bb | |||
| @@ -2,17 +2,17 @@ | |||
| 2 | 2 | ||
| 3 | DESCRIPTION = "Basler camera binary drivers" | 3 | DESCRIPTION = "Basler camera binary drivers" |
| 4 | LICENSE = "Proprietary" | 4 | LICENSE = "Proprietary" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" |
| 6 | 6 | ||
| 7 | IMX_SRCREV_ABBREV = "d1f506a" | 7 | IMX_SRCREV_ABBREV = "dd86758" |
| 8 | 8 | ||
| 9 | inherit fsl-eula-unpack | 9 | inherit fsl-eula-unpack |
| 10 | 10 | ||
| 11 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | 11 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" |
| 12 | 12 | ||
| 13 | SRC_URI[sha256sum] = "49d1b3691d18e2ba5f43a6e2c59ac16767b6e077a118cafec7f51293d6bf30f3" | 13 | SRC_URI[sha256sum] = "aa86adeb0c53c3306f7e1c004ffa78ebb7db3e9136c78759e4029b4b5e1b1a64" |
| 14 | 14 | ||
| 15 | S = "${WORKDIR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}" | 15 | S = "${UNPACKDIR}/${BPN}-${PV}-${IMX_SRCREV_ABBREV}" |
| 16 | 16 | ||
| 17 | do_compile[noexec] = "1" | 17 | do_compile[noexec] = "1" |
| 18 | 18 | ||
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 new file mode 100644 index 000000000..617abde6f --- /dev/null +++ b/recipes-bsp/isp-imx/isp-imx/0001-isp-imx-start_isp-don-t-report-error-if-no-camera-is.patch | |||
| @@ -0,0 +1,32 @@ | |||
| 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 new file mode 100644 index 000000000..38b3b6b02 --- /dev/null +++ b/recipes-bsp/isp-imx/isp-imx/0002-appshell-cmake-bump-min-version-to-3.5.patch | |||
| @@ -0,0 +1,134 @@ | |||
| 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 new file mode 100644 index 000000000..f11deb758 --- /dev/null +++ b/recipes-bsp/isp-imx/isp-imx/0003-appshell-cmake-drop-deprecated-use-of-target_link_li.patch | |||
| @@ -0,0 +1,37 @@ | |||
| 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 new file mode 100644 index 000000000..087f24090 --- /dev/null +++ b/recipes-bsp/isp-imx/isp-imx/0004-units-targets.cmake-fix-check-if-a-target-exists.patch | |||
| @@ -0,0 +1,51 @@ | |||
| 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 new file mode 100644 index 000000000..f4b44ff47 --- /dev/null +++ b/recipes-bsp/isp-imx/isp-imx/0005-units-cmake-fix-use-of-add_dependencies.patch | |||
| @@ -0,0 +1,36 @@ | |||
| 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.1.bb b/recipes-bsp/isp-imx/isp-imx_4.2.2.25.2.bb index 25ffdd8a1..445822528 100644 --- a/recipes-bsp/isp-imx/isp-imx_4.2.2.25.1.bb +++ b/recipes-bsp/isp-imx/isp-imx_4.2.2.25.2.bb | |||
| @@ -2,18 +2,25 @@ | |||
| 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=c0fb372b5d7f12181de23ef480f225f3" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359" |
| 6 | DEPENDS = "boost libdrm virtual/libg2d libtinyxml2 jsoncpp patchelf-native" | 6 | DEPENDS = "boost libdrm virtual/libg2d libtinyxml2 jsoncpp patchelf-native" |
| 7 | 7 | ||
| 8 | SRC_URI = " \ | 8 | SRC_URI = " \ |
| 9 | ${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true \ | 9 | ${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true \ |
| 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 \ | ||
| 10 | " | 15 | " |
| 11 | IMX_SRCREV_ABBREV = "327f21d" | 16 | ISP_SYSTEMD_PATCH = "file://0001-isp-imx-start_isp-don-t-report-error-if-no-camera-is.patch" |
| 12 | S = "${WORKDIR}/${BP}-${IMX_SRCREV_ABBREV}" | ||
| 13 | 17 | ||
| 14 | SRC_URI[sha256sum] = "f57c6fe1c2dd1c8e5991a625d0b3a1dbfdfe6d39a1a116a904d543faa0f4f6f0" | 18 | IMX_SRCREV_ABBREV = "3cac1fb" |
| 19 | S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}" | ||
| 15 | 20 | ||
| 16 | inherit fsl-eula-unpack cmake systemd use-imx-headers | 21 | SRC_URI[sha256sum] = "8fa5094da6438505287f4dcc8033dad3057ab81bf98c858884f7c3a2e521b252" |
| 22 | |||
| 23 | inherit fsl-eula-unpack cmake pkgconfig systemd use-imx-headers | ||
| 17 | 24 | ||
| 18 | PACKAGECONFIG = "" | 25 | PACKAGECONFIG = "" |
| 19 | # Note: building with tuningext fails with boost 1.87. | 26 | # Note: building with tuningext fails with boost 1.87. |
| @@ -36,7 +43,6 @@ EXTRA_OECMAKE += " \ | |||
| 36 | -DCMAKE_BUILD_TYPE=release \ | 43 | -DCMAKE_BUILD_TYPE=release \ |
| 37 | -DISP_VERSION=ISP8000NANO_V1802 \ | 44 | -DISP_VERSION=ISP8000NANO_V1802 \ |
| 38 | -DPLATFORM=ARM64 \ | 45 | -DPLATFORM=ARM64 \ |
| 39 | -DTUNINGEXT=1 \ | ||
| 40 | -DQTLESS=1 \ | 46 | -DQTLESS=1 \ |
| 41 | -DFULL_SRC_COMPILE=1 \ | 47 | -DFULL_SRC_COMPILE=1 \ |
| 42 | -DWITH_DRM=1 \ | 48 | -DWITH_DRM=1 \ |
| @@ -48,7 +54,7 @@ EXTRA_OECMAKE += " \ | |||
| 48 | -Wno-dev \ | 54 | -Wno-dev \ |
| 49 | " | 55 | " |
| 50 | 56 | ||
| 51 | do_configure:prepend () { | 57 | do_configure_disable:prepend () { |
| 52 | # FIXME: should be rebuild. | 58 | # FIXME: should be rebuild. |
| 53 | patchelf --replace-needed libjsoncpp.so.25 libjsoncpp.so.26 ${S}/mediacontrol/install/bin/isp_media_server | 59 | patchelf --replace-needed libjsoncpp.so.25 libjsoncpp.so.26 ${S}/mediacontrol/install/bin/isp_media_server |
| 54 | patchelf --replace-needed libjsoncpp.so.25 libjsoncpp.so.26 ${S}/mediacontrol/install/lib/libmedia_server.so | 60 | patchelf --replace-needed libjsoncpp.so.25 libjsoncpp.so.26 ${S}/mediacontrol/install/lib/libmedia_server.so |
| @@ -59,9 +65,6 @@ do_configure:prepend () { | |||
| 59 | } | 65 | } |
| 60 | 66 | ||
| 61 | do_install() { | 67 | do_install() { |
| 62 | # FIXME: provided by the basler-camera package, do not install them here additionally | ||
| 63 | rm -f ${S}/dewarp/dewarp_config//daA3840_30mc*.json | ||
| 64 | |||
| 65 | # The Makefile unconditionally installs tuningext even if it is not built | 68 | # The Makefile unconditionally installs tuningext even if it is not built |
| 66 | if ${@bb.utils.contains('PACKAGECONFIG','tuningext','false','true',d)}; then | 69 | if ${@bb.utils.contains('PACKAGECONFIG','tuningext','false','true',d)}; then |
| 67 | touch ${B}/generated/release/bin/tuningext | 70 | touch ${B}/generated/release/bin/tuningext |
diff --git a/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.1.3.bb b/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.1.3.bb index 5b04b1e2c..b1cd3d863 100644 --- a/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.1.3.bb +++ b/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.1.3.bb | |||
| @@ -13,9 +13,6 @@ SRC_URI = "git://github.com/Freescale/libimxdmabuffer.git;branch=${SRCBRANCH};pr | |||
| 13 | file://run-ptest \ | 13 | file://run-ptest \ |
| 14 | " | 14 | " |
| 15 | 15 | ||
| 16 | |||
| 17 | S = "${WORKDIR}/git" | ||
| 18 | |||
| 19 | inherit pkgconfig waf use-imx-headers ptest | 16 | inherit pkgconfig waf use-imx-headers ptest |
| 20 | 17 | ||
| 21 | EXTRA_OECONF = "--imx-linux-headers-path=${STAGING_INCDIR_IMX} \ | 18 | EXTRA_OECONF = "--imx-linux-headers-path=${STAGING_INCDIR_IMX} \ |
diff --git a/recipes-bsp/ls2-phy/ls2-phy_git.bb b/recipes-bsp/ls2-phy/ls2-phy_git.bb index c13a05a19..60ab5e183 100644 --- a/recipes-bsp/ls2-phy/ls2-phy_git.bb +++ b/recipes-bsp/ls2-phy/ls2-phy_git.bb | |||
| @@ -7,8 +7,6 @@ inherit deploy | |||
| 7 | SRC_URI = "git://github.com/nxp/qoriq-firmware-cortina.git;nobranch=1;protocol=https" | 7 | SRC_URI = "git://github.com/nxp/qoriq-firmware-cortina.git;nobranch=1;protocol=https" |
| 8 | SRCREV = "9143c2a3adede595966583c00ca4edc99ec698cf" | 8 | SRCREV = "9143c2a3adede595966583c00ca4edc99ec698cf" |
| 9 | 9 | ||
| 10 | S = "${WORKDIR}/git" | ||
| 11 | |||
| 12 | do_install () { | 10 | do_install () { |
| 13 | install -d ${D}/boot | 11 | install -d ${D}/boot |
| 14 | cp -fr ${S}/* ${D}/boot | 12 | cp -fr ${S}/* ${D}/boot |
diff --git a/recipes-bsp/mc-utils/mc-utils_git.bb b/recipes-bsp/mc-utils/mc-utils_git.bb index 696307209..2d09bbcc8 100644 --- a/recipes-bsp/mc-utils/mc-utils_git.bb +++ b/recipes-bsp/mc-utils/mc-utils_git.bb | |||
| @@ -8,9 +8,7 @@ DEPENDS += "dtc-native" | |||
| 8 | inherit deploy | 8 | inherit deploy |
| 9 | 9 | ||
| 10 | SRC_URI = "git://github.com/nxp-qoriq/mc-utils;protocol=https;nobranch=1" | 10 | SRC_URI = "git://github.com/nxp-qoriq/mc-utils;protocol=https;nobranch=1" |
| 11 | SRCREV = "5ccc2688b72c4a05119a393cbe3573b5f81d10bc" | 11 | SRCREV = "f5c4b2c9d2b1d5122a7d97f236894f87959b3831" |
| 12 | |||
| 13 | S = "${WORKDIR}/git" | ||
| 14 | 12 | ||
| 15 | MC_CFG ?= "" | 13 | MC_CFG ?= "" |
| 16 | MC_CFG:ls1088a = "ls1088a" | 14 | MC_CFG:ls1088a = "ls1088a" |
diff --git a/recipes-bsp/mxsldr/mxsldr_git.bb b/recipes-bsp/mxsldr/mxsldr_git.bb index 17da814f8..9fc6338c4 100644 --- a/recipes-bsp/mxsldr/mxsldr_git.bb +++ b/recipes-bsp/mxsldr/mxsldr_git.bb | |||
| @@ -13,8 +13,6 @@ SRC_URI = "git://git.denx.de/mxsldr.git;branch=master \ | |||
| 13 | 13 | ||
| 14 | PV = "0.0.0+git${SRCPV}" | 14 | PV = "0.0.0+git${SRCPV}" |
| 15 | 15 | ||
| 16 | S = "${WORKDIR}/git" | ||
| 17 | |||
| 18 | inherit pkgconfig | 16 | inherit pkgconfig |
| 19 | 17 | ||
| 20 | do_compile() { | 18 | do_compile() { |
diff --git a/recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb b/recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb index bb542e8c0..ddbb2031c 100644 --- a/recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb +++ b/recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb | |||
| @@ -10,8 +10,6 @@ inherit deploy | |||
| 10 | SRC_URI = "git://github.com/NXP/qoriq-engine-pfe-bin.git;nobranch=1;protocol=https" | 10 | SRC_URI = "git://github.com/NXP/qoriq-engine-pfe-bin.git;nobranch=1;protocol=https" |
| 11 | SRCREV = "f55ee9f72090309bbb7ab71f48a498fc02909234" | 11 | SRCREV = "f55ee9f72090309bbb7ab71f48a498fc02909234" |
| 12 | 12 | ||
| 13 | S = "${WORKDIR}/git" | ||
| 14 | |||
| 15 | do_install () { | 13 | do_install () { |
| 16 | install -d ${D}${nonarch_base_libdir}/firmware | 14 | install -d ${D}${nonarch_base_libdir}/firmware |
| 17 | install -d ${D}/boot/engine-pfe-bin | 15 | install -d ${D}/boot/engine-pfe-bin |
diff --git a/recipes-bsp/qe-ucode/qe-ucode_git.bb b/recipes-bsp/qe-ucode/qe-ucode_git.bb index 9b76d24a6..582fb1e46 100644 --- a/recipes-bsp/qe-ucode/qe-ucode_git.bb +++ b/recipes-bsp/qe-ucode/qe-ucode_git.bb | |||
| @@ -8,8 +8,6 @@ inherit deploy | |||
| 8 | SRC_URI = "git://github.com/NXP/qoriq-qe-ucode.git;nobranch=1;protocol=https" | 8 | SRC_URI = "git://github.com/NXP/qoriq-qe-ucode.git;nobranch=1;protocol=https" |
| 9 | SRCREV = "c89d7843943fd3bd52aa5f1ff7a91200a2f7f63b" | 9 | SRCREV = "c89d7843943fd3bd52aa5f1ff7a91200a2f7f63b" |
| 10 | 10 | ||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | |||
| 13 | do_install () { | 11 | do_install () { |
| 14 | install -d ${D}/boot | 12 | install -d ${D}/boot |
| 15 | install -m 644 ${B}/*.bin ${D}/boot | 13 | install -m 644 ${B}/*.bin ${D}/boot |
diff --git a/recipes-bsp/rcw/rcw_git.bb b/recipes-bsp/rcw/rcw_git.bb index be166f441..6a52861b0 100644 --- a/recipes-bsp/rcw/rcw_git.bb +++ b/recipes-bsp/rcw/rcw_git.bb | |||
| @@ -8,9 +8,7 @@ DEPENDS += "tcl-native" | |||
| 8 | inherit deploy siteinfo | 8 | inherit deploy siteinfo |
| 9 | 9 | ||
| 10 | SRC_URI = "git://github.com/nxp-qoriq/rcw;protocol=https;nobranch=1" | 10 | SRC_URI = "git://github.com/nxp-qoriq/rcw;protocol=https;nobranch=1" |
| 11 | SRCREV = "64abe70cf0abab053c37db460c12e367e6adf7a4" | 11 | SRCREV = "45e69253690452656a4dfe933c4c9f55e1eb0f5f" |
| 12 | |||
| 13 | S = "${WORKDIR}/git" | ||
| 14 | 12 | ||
| 15 | export PYTHON = "${USRBINPATH}/python3" | 13 | export PYTHON = "${USRBINPATH}/python3" |
| 16 | 14 | ||
diff --git a/recipes-bsp/u-boot/u-boot-fslc-common_2025.01.inc b/recipes-bsp/u-boot/u-boot-fslc-common_2025.01.inc index 134028503..9cc6b958d 100644 --- a/recipes-bsp/u-boot/u-boot-fslc-common_2025.01.inc +++ b/recipes-bsp/u-boot/u-boot-fslc-common_2025.01.inc | |||
| @@ -16,5 +16,4 @@ SRCBRANCH = "2025.01+fslc" | |||
| 16 | PV = "2025.01+fslc+git${SRCPV}" | 16 | PV = "2025.01+fslc+git${SRCPV}" |
| 17 | CVE_PRODUCT = "denx:u-boot" | 17 | CVE_PRODUCT = "denx:u-boot" |
| 18 | 18 | ||
| 19 | S = "${WORKDIR}/git" | ||
| 20 | B = "${WORKDIR}/build" | 19 | B = "${WORKDIR}/build" |
diff --git a/recipes-bsp/u-boot/u-boot-imx-common_2024.04.inc b/recipes-bsp/u-boot/u-boot-imx-common_2024.04.inc index 01e3bbca3..9640ba1de 100644 --- a/recipes-bsp/u-boot/u-boot-imx-common_2024.04.inc +++ b/recipes-bsp/u-boot/u-boot-imx-common_2024.04.inc | |||
| @@ -18,7 +18,6 @@ DEPENDS += " \ | |||
| 18 | xxd-native \ | 18 | xxd-native \ |
| 19 | " | 19 | " |
| 20 | 20 | ||
| 21 | S = "${WORKDIR}/git" | ||
| 22 | B = "${WORKDIR}/build" | 21 | B = "${WORKDIR}/build" |
| 23 | 22 | ||
| 24 | inherit fsl-u-boot-localversion | 23 | inherit fsl-u-boot-localversion |
diff --git a/recipes-bsp/u-boot/u-boot-imx_2024.04.bb b/recipes-bsp/u-boot/u-boot-imx_2024.04.bb index 695987801..27c3555f4 100644 --- a/recipes-bsp/u-boot/u-boot-imx_2024.04.bb +++ b/recipes-bsp/u-boot/u-boot-imx_2024.04.bb | |||
| @@ -23,11 +23,13 @@ do_deploy:append:mx8m-generic-bsp() { | |||
| 23 | for config in ${UBOOT_MACHINE}; do | 23 | for config in ${UBOOT_MACHINE}; do |
| 24 | i=$(expr $i + 1); | 24 | i=$(expr $i + 1); |
| 25 | for type in ${UBOOT_CONFIG}; do | 25 | for type in ${UBOOT_CONFIG}; do |
| 26 | builddir="${config}-${type}" | ||
| 26 | j=$(expr $j + 1); | 27 | j=$(expr $j + 1); |
| 27 | if [ $j -eq $i ] | 28 | if [ $j -eq $i ] |
| 28 | then | 29 | then |
| 30 | builddir="${config}-${type}" | ||
| 29 | install -d ${DEPLOYDIR}/${BOOT_TOOLS} | 31 | install -d ${DEPLOYDIR}/${BOOT_TOOLS} |
| 30 | install -m 0644 ${B}/${config}/u-boot-nodtb.bin ${DEPLOYDIR}/${BOOT_TOOLS}/u-boot-nodtb.bin-${MACHINE}-${type} | 32 | install -m 0644 ${B}/${builddir}/u-boot-nodtb.bin ${DEPLOYDIR}/${BOOT_TOOLS}/u-boot-nodtb.bin-${MACHINE}-${type} |
| 31 | UBOOT_DTB_NAME_FLAGS="${type}:${UBOOT_DTB_NAME}" | 33 | UBOOT_DTB_NAME_FLAGS="${type}:${UBOOT_DTB_NAME}" |
| 32 | for key_value in ${UBOOT_DTB_NAME_FLAGS}; do | 34 | for key_value in ${UBOOT_DTB_NAME_FLAGS}; do |
| 33 | local type_key="${key_value%%:*}" | 35 | local type_key="${key_value%%:*}" |
| @@ -37,11 +39,11 @@ do_deploy:append:mx8m-generic-bsp() { | |||
| 37 | bbnote "UBOOT_CONFIG = $type, UBOOT_DTB_NAME = $dtb_name" | 39 | bbnote "UBOOT_CONFIG = $type, UBOOT_DTB_NAME = $dtb_name" |
| 38 | # There is only one ${dtb_name}, the first one. All the other are with the type appended | 40 | # There is only one ${dtb_name}, the first one. All the other are with the type appended |
| 39 | if [ ! -f "${DEPLOYDIR}/${BOOT_TOOLS}/${dtb_name}" ]; then | 41 | if [ ! -f "${DEPLOYDIR}/${BOOT_TOOLS}/${dtb_name}" ]; then |
| 40 | install -m 0644 ${B}/${config}/arch/arm/dts/${dtb_name} ${DEPLOYDIR}/${BOOT_TOOLS}/${dtb_name} | 42 | install -m 0644 ${B}/${builddir}/arch/arm/dts/${dtb_name} ${DEPLOYDIR}/${BOOT_TOOLS}/${dtb_name} |
| 41 | else | 43 | else |
| 42 | bbwarn "Use custom wks.in for $dtb_name = $type" | 44 | bbwarn "Use custom wks.in for $dtb_name = $type" |
| 43 | fi | 45 | fi |
| 44 | install -m 0644 ${B}/${config}/arch/arm/dts/${dtb_name} ${DEPLOYDIR}/${BOOT_TOOLS}/${dtb_name}-${type} | 46 | install -m 0644 ${B}/${builddir}/arch/arm/dts/${dtb_name} ${DEPLOYDIR}/${BOOT_TOOLS}/${dtb_name}-${type} |
| 45 | fi | 47 | fi |
| 46 | unset type_key | 48 | unset type_key |
| 47 | unset dtb_name | 49 | unset dtb_name |
diff --git a/recipes-bsp/u-boot/u-boot-qoriq_2021.04.bb b/recipes-bsp/u-boot/u-boot-qoriq_2025.04.bb index bd495af94..be8433e47 100644 --- a/recipes-bsp/u-boot/u-boot-qoriq_2021.04.bb +++ b/recipes-bsp/u-boot/u-boot-qoriq_2025.04.bb | |||
| @@ -10,20 +10,23 @@ LIC_FILES_CHKSUM = " \ | |||
| 10 | file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | 10 | file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ |
| 11 | file://Licenses/bsd-2-clause.txt;md5=6a31f076f5773aabd8ff86191ad6fdd5 \ | 11 | file://Licenses/bsd-2-clause.txt;md5=6a31f076f5773aabd8ff86191ad6fdd5 \ |
| 12 | file://Licenses/bsd-3-clause.txt;md5=4a1190eac56a9db675d58ebe86eaf50c \ | 12 | file://Licenses/bsd-3-clause.txt;md5=4a1190eac56a9db675d58ebe86eaf50c \ |
| 13 | file://Licenses/lgpl-2.0.txt;md5=5f30f0716dfdd0d91eb439ebec522ec2 \ | 13 | file://Licenses/lgpl-2.0.txt;md5=4cf66a4984120007c9881cc871cf49db \ |
| 14 | file://Licenses/lgpl-2.1.txt;md5=4fbd65380cdd255951079008b364516c \ | 14 | file://Licenses/lgpl-2.1.txt;md5=4fbd65380cdd255951079008b364516c \ |
| 15 | " | 15 | " |
| 16 | 16 | ||
| 17 | SRC_URI = "git://github.com/nxp-qoriq/u-boot;protocol=https;nobranch=1" | 17 | PV:append = "+${SRCPV}" |
| 18 | SRCREV = "1c0116f3da250c5a52858c53efb8b38c0963f477" | ||
| 19 | 18 | ||
| 20 | S = "${WORKDIR}/git" | 19 | UBOOT_BRANCH ?= "lf_v2025.04" |
| 21 | B = "${WORKDIR}/build" | 20 | UBOOT_SRC ?= "git://github.com/nxp-qoriq/u-boot.git;protocol=https" |
| 21 | SRC_URI = "${UBOOT_SRC};branch=${UBOOT_BRANCH}" | ||
| 22 | SRCREV = "9383f8387dc76524524da69992db96c22195a57c" | ||
| 23 | |||
| 24 | B = "${UNPACKDIR}/build" | ||
| 22 | PV:append = "+fslgit" | 25 | PV:append = "+fslgit" |
| 23 | LOCALVERSION = "+fsl" | 26 | LOCALVERSION = "+fsl" |
| 24 | 27 | ||
| 25 | INHIBIT_DEFAULT_DEPS = "1" | 28 | INHIBIT_DEFAULT_DEPS = "1" |
| 26 | DEPENDS = "libgcc virtual/${TARGET_PREFIX}gcc bison-native bc-native swig-native python3-native python3-setuptools-native" | 29 | DEPENDS = "libgcc virtual/cross-cc bison-native bc-native gnutls-native swig-native python3-native" |
| 27 | DEPENDS:append:qoriq-arm64 = " dtc-native" | 30 | DEPENDS:append:qoriq-arm64 = " dtc-native" |
| 28 | DEPENDS:append:qoriq-arm = " dtc-native" | 31 | DEPENDS:append:qoriq-arm = " dtc-native" |
| 29 | DEPENDS:append:qoriq-ppc = " boot-format-native" | 32 | DEPENDS:append:qoriq-ppc = " boot-format-native" |
| @@ -40,7 +43,7 @@ python () { | |||
| 40 | raise bb.parse.SkipPackage("Building the u-boot for this arch requires multilib to be enabled") | 43 | raise bb.parse.SkipPackage("Building the u-boot for this arch requires multilib to be enabled") |
| 41 | sys_multilib = d.getVar('TARGET_VENDOR') + 'mllib32-linux' | 44 | sys_multilib = d.getVar('TARGET_VENDOR') + 'mllib32-linux' |
| 42 | sys_original = d.getVar('TARGET_VENDOR') + '-' + d.getVar('TARGET_OS') | 45 | sys_original = d.getVar('TARGET_VENDOR') + '-' + d.getVar('TARGET_OS') |
| 43 | workdir = d.getVar('WORKDIR') | 46 | workdir = d.getVar('UNPACKDIR') |
| 44 | d.setVar('DEPENDS:append', ' lib32-gcc-cross-powerpc lib32-libgcc') | 47 | d.setVar('DEPENDS:append', ' lib32-gcc-cross-powerpc lib32-libgcc') |
| 45 | d.setVar('PATH:append', ':' + d.getVar('STAGING_BINDIR_NATIVE') + '/powerpc' + sys_multilib) | 48 | d.setVar('PATH:append', ':' + d.getVar('STAGING_BINDIR_NATIVE') + '/powerpc' + sys_multilib) |
| 46 | d.setVar('TOOLCHAIN_OPTIONS', '--sysroot=' + workdir + '/lib32-recipe-sysroot') | 49 | d.setVar('TOOLCHAIN_OPTIONS', '--sysroot=' + workdir + '/lib32-recipe-sysroot') |
| @@ -50,7 +53,7 @@ python () { | |||
| 50 | raise bb.parse.SkipRecipe("Building the u-boot for this arch requires multilib to be enabled") | 53 | raise bb.parse.SkipRecipe("Building the u-boot for this arch requires multilib to be enabled") |
| 51 | sys_multilib = d.getVar('TARGET_VENDOR') + 'mllib64-linux' | 54 | sys_multilib = d.getVar('TARGET_VENDOR') + 'mllib64-linux' |
| 52 | sys_original = d.getVar('TARGET_VENDOR') + '-' + d.getVar('TARGET_OS') | 55 | sys_original = d.getVar('TARGET_VENDOR') + '-' + d.getVar('TARGET_OS') |
| 53 | workdir = d.getVar('WORKDIR') | 56 | workdir = d.getVar('UNPACKDIR') |
| 54 | d.setVar('DEPENDS:append', ' lib64-gcc-cross-aarch64 lib64-libgcc') | 57 | d.setVar('DEPENDS:append', ' lib64-gcc-cross-aarch64 lib64-libgcc') |
| 55 | d.setVar('PATH:append', ':' + d.getVar('STAGING_BINDIR_NATIVE') + '/aarch64' + sys_multilib) | 58 | d.setVar('PATH:append', ':' + d.getVar('STAGING_BINDIR_NATIVE') + '/aarch64' + sys_multilib) |
| 56 | d.setVar('TOOLCHAIN_OPTIONS', '--sysroot=' + workdir + '/lib64-recipe-sysroot') | 59 | d.setVar('TOOLCHAIN_OPTIONS', '--sysroot=' + workdir + '/lib64-recipe-sysroot') |
| @@ -80,8 +83,6 @@ do_compile:append:qoriq() { | |||
| 80 | boot_format ${STAGING_DATADIR_NATIVE}/boot_format/${BOOTFORMAT_CONFIG} \ | 83 | boot_format ${STAGING_DATADIR_NATIVE}/boot_format/${BOOTFORMAT_CONFIG} \ |
| 81 | ${config}/u-boot-${type}.${UBOOT_SUFFIX} -spi ${config}/u-boot.format.bin | 84 | ${config}/u-boot-${type}.${UBOOT_SUFFIX} -spi ${config}/u-boot.format.bin |
| 82 | cp ${config}/u-boot.format.bin ${config}/u-boot-${type}.${UBOOT_SUFFIX} | 85 | cp ${config}/u-boot.format.bin ${config}/u-boot-${type}.${UBOOT_SUFFIX} |
| 83 | elif [ "qspi" = "${type}" ];then | ||
| 84 | cp ${config}/${binary} ${config}/u-boot-${type}-${PV}-${PR}.${UBOOT_SUFFIX} | ||
| 85 | fi | 86 | fi |
| 86 | fi | 87 | fi |
| 87 | done | 88 | done |
| @@ -92,6 +93,48 @@ do_compile:append:qoriq() { | |||
| 92 | unset i | 93 | unset i |
| 93 | } | 94 | } |
| 94 | 95 | ||
| 96 | do_deploy:append:lx2162a () { | ||
| 97 | if [ -n "${UBOOT_CONFIG}" ] | ||
| 98 | then | ||
| 99 | for config in ${UBOOT_MACHINE}; do | ||
| 100 | i=$(expr $i + 1); | ||
| 101 | for type in ${UBOOT_CONFIG}; do | ||
| 102 | j=$(expr $j + 1); | ||
| 103 | if [ $j -eq $i ] | ||
| 104 | then | ||
| 105 | if [ "tfa-verified-boot" = "${type}" ];then | ||
| 106 | builddir="${config}-${type}" | ||
| 107 | install -m 644 ${B}/${builddir}/u-boot.dtb ${DEPLOYDIR}/u-boot.dtb | ||
| 108 | fi | ||
| 109 | fi | ||
| 110 | done | ||
| 111 | unset j | ||
| 112 | done | ||
| 113 | unset i | ||
| 114 | fi | ||
| 115 | } | ||
| 116 | |||
| 117 | do_deploy:append:ls102xa () { | ||
| 118 | if [ -n "${UBOOT_CONFIG}" ] | ||
| 119 | then | ||
| 120 | for config in ${UBOOT_MACHINE}; do | ||
| 121 | i=$(expr $i + 1); | ||
| 122 | for type in ${UBOOT_CONFIG}; do | ||
| 123 | j=$(expr $j + 1); | ||
| 124 | if [ $j -eq $i ] | ||
| 125 | then | ||
| 126 | if expr "$type" : sdcard;then | ||
| 127 | builddir="${config}-${type}" | ||
| 128 | install -m 644 ${B}/${builddir}/u-boot-dtb.bin ${DEPLOYDIR}/u-boot-dtb.${UBOOT_SUFFIX}-${type} | ||
| 129 | install -m 644 ${B}/${builddir}/spl/u-boot-spl.bin ${DEPLOYDIR}/u-boot-spl.${UBOOT_SUFFIX}-${type} | ||
| 130 | fi | ||
| 131 | fi | ||
| 132 | done | ||
| 133 | unset j | ||
| 134 | done | ||
| 135 | unset i | ||
| 136 | fi | ||
| 137 | } | ||
| 95 | 138 | ||
| 96 | PACKAGES += "${PN}-images" | 139 | PACKAGES += "${PN}-images" |
| 97 | FILES:${PN}-images += "/boot" | 140 | FILES:${PN}-images += "/boot" |
diff --git a/recipes-bsp/uefi/uefi_git.bb b/recipes-bsp/uefi/uefi_git.bb index 268b5b1d9..c0222a817 100644 --- a/recipes-bsp/uefi/uefi_git.bb +++ b/recipes-bsp/uefi/uefi_git.bb | |||
| @@ -8,8 +8,6 @@ inherit deploy | |||
| 8 | SRC_URI = "git://github.com/NXP/qoriq-uefi-binary.git;nobranch=1;protocol=https" | 8 | SRC_URI = "git://github.com/NXP/qoriq-uefi-binary.git;nobranch=1;protocol=https" |
| 9 | SRCREV = "55789d536850e00c6f2284fb28eaf21712cd276b" | 9 | SRCREV = "55789d536850e00c6f2284fb28eaf21712cd276b" |
| 10 | 10 | ||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | |||
| 13 | do_install () { | 11 | do_install () { |
| 14 | if [ -d ${B}/${MACHINE} ]; then | 12 | if [ -d ${B}/${MACHINE} ]; then |
| 15 | install -d ${D}/uefi | 13 | install -d ${D}/uefi |
