From b59cad570c557a5c7e7cb5a4593640b73fc64d52 Mon Sep 17 00:00:00 2001 From: Emanuele Ghidoli Date: Wed, 17 Sep 2025 10:56:30 +0200 Subject: uuu: upgrade 1.5.165 -> 1.5.233 Upgrade uuu to latest release, which introduces support for container format v2 required on newer SoCs such as i.MX943 and i.MX95 B0. This version adds support for macOS on ARM. As a result, the former executable uuu_mac has been renamed to uuu_mac_x86, and a new uuu_mac_arm binary is provided. Signed-off-by: Emanuele Ghidoli (cherry picked from commit 056f218a7075a7db8447dfba71b4c3155bd6f173) --- recipes-devtools/uuu/uuu-bin_1.5.165.bb | 33 ------------------------------ recipes-devtools/uuu/uuu-bin_1.5.233.bb | 36 +++++++++++++++++++++++++++++++++ recipes-devtools/uuu/uuu_git.bb | 4 ++-- 3 files changed, 38 insertions(+), 35 deletions(-) delete mode 100644 recipes-devtools/uuu/uuu-bin_1.5.165.bb create mode 100644 recipes-devtools/uuu/uuu-bin_1.5.233.bb diff --git a/recipes-devtools/uuu/uuu-bin_1.5.165.bb b/recipes-devtools/uuu/uuu-bin_1.5.165.bb deleted file mode 100644 index 61c3927ca..000000000 --- a/recipes-devtools/uuu/uuu-bin_1.5.165.bb +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright (C) 2022-2023 O.S. Systems Software LTDA. -# Released under the MIT License (see COPYING.MIT for the terms) - -SUMMARY = "Universal Update Utility - Binaries" -DESCRIPTION = "Image deploy tool for i.MX chips" -HOMEPAGE = "https://github.com/nxp-imx/mfgtools" - -LICENSE = "BSD-3-Clause & LGPL-2.1-or-later" -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9 \ - file://${COMMON_LICENSE_DIR}/LGPL-2.1-or-later;md5=2a4f4fd2128ea2f65047ee63fbca9f68" - -SRC_URI = " \ - https://github.com/nxp-imx/mfgtools/releases/download/uuu_${PV}/uuu;downloadfilename=uuu-${PV};name=Linux \ - https://github.com/nxp-imx/mfgtools/releases/download/uuu_${PV}/uuu_mac;downloadfilename=uuu-${PV}_mac;name=Mac \ - https://github.com/nxp-imx/mfgtools/releases/download/uuu_${PV}/uuu.exe;downloadfilename=uuu-${PV}.exe;name=Windows \ -" - -SRC_URI[Linux.sha256sum] = "f863bba022202361d19e5026be0af408d307f78d2dbf2c139fb7eaaabd220442" -SRC_URI[Mac.sha256sum] = "62da0bd7e333931fba100823aa50133621c7e6047be0546bc12e29c0ea78a4d8" -SRC_URI[Windows.sha256sum] = "013ed8bb45e21b971b6b3a5802c5f154733913714bece0b020cb770a809cd206" - -inherit allarch - -do_install() { - install -D -m 0755 ${UNPACKDIR}/uuu-${PV} ${D}${libdir}/uuu/uuu - install -D -m 0755 ${UNPACKDIR}/uuu-${PV}_mac ${D}${libdir}/uuu/uuu_mac - install -D -m 0644 ${UNPACKDIR}/uuu-${PV}.exe ${D}${libdir}/uuu/uuu.exe -} - -# HACK! We are not aiming to run those binaries during the build but copy then for MFGTOOL bundle. -INSANE_SKIP:${PN} += "arch file-rdeps" -FILES:${PN} = "${libdir}/uuu" -SYSROOT_DIRS = "${libdir}/uuu" diff --git a/recipes-devtools/uuu/uuu-bin_1.5.233.bb b/recipes-devtools/uuu/uuu-bin_1.5.233.bb new file mode 100644 index 000000000..ec2f40e00 --- /dev/null +++ b/recipes-devtools/uuu/uuu-bin_1.5.233.bb @@ -0,0 +1,36 @@ +# Copyright (C) 2022-2023 O.S. Systems Software LTDA. +# Released under the MIT License (see COPYING.MIT for the terms) + +SUMMARY = "Universal Update Utility - Binaries" +DESCRIPTION = "Image deploy tool for i.MX chips" +HOMEPAGE = "https://github.com/nxp-imx/mfgtools" + +LICENSE = "BSD-3-Clause & LGPL-2.1-or-later" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9 \ + file://${COMMON_LICENSE_DIR}/LGPL-2.1-or-later;md5=2a4f4fd2128ea2f65047ee63fbca9f68" + +SRC_URI = " \ + https://github.com/nxp-imx/mfgtools/releases/download/uuu_${PV}/uuu;downloadfilename=uuu-${PV};name=Linux \ + https://github.com/nxp-imx/mfgtools/releases/download/uuu_${PV}/uuu_mac_x86;downloadfilename=uuu-${PV}_mac_x86;name=Mac_x86 \ + https://github.com/nxp-imx/mfgtools/releases/download/uuu_${PV}/uuu_mac_arm;downloadfilename=uuu-${PV}_mac_arm;name=Mac_arm \ + https://github.com/nxp-imx/mfgtools/releases/download/uuu_${PV}/uuu.exe;downloadfilename=uuu-${PV}.exe;name=Windows \ +" + +SRC_URI[Linux.sha256sum] = "c609fe6c4d9656102f7e3139a70488ba3988c33332486c89e5fc6d85ccedd96a" +SRC_URI[Mac_x86.sha256sum] = "cdbacab592661900d46e7f97f9c7dd8a720bf46b1c17f4dbb65adb372f5fc6cf" +SRC_URI[Mac_arm.sha256sum] = "6f8854946dfbeeb36894baf0f5f555b918974d465f4b541457e65c926fdd6a6a" +SRC_URI[Windows.sha256sum] = "a3c7241650c05dd6373a6aef086b34322c013103da729c1b446ec86694309939" + +inherit allarch + +do_install() { + install -D -m 0755 ${UNPACKDIR}/uuu-${PV} ${D}${libdir}/uuu/uuu + install -D -m 0755 ${UNPACKDIR}/uuu-${PV}_mac_x86 ${D}${libdir}/uuu/uuu_mac_x86 + install -D -m 0755 ${UNPACKDIR}/uuu-${PV}_mac_arm ${D}${libdir}/uuu/uuu_mac_arm + install -D -m 0644 ${UNPACKDIR}/uuu-${PV}.exe ${D}${libdir}/uuu/uuu.exe +} + +# HACK! We are not aiming to run those binaries during the build but copy then for MFGTOOL bundle. +INSANE_SKIP:${PN} += "arch file-rdeps" +FILES:${PN} = "${libdir}/uuu" +SYSROOT_DIRS = "${libdir}/uuu" diff --git a/recipes-devtools/uuu/uuu_git.bb b/recipes-devtools/uuu/uuu_git.bb index e48698a8b..6526fe2c0 100644 --- a/recipes-devtools/uuu/uuu_git.bb +++ b/recipes-devtools/uuu/uuu_git.bb @@ -3,8 +3,8 @@ DESCRIPTION = "Image deploy tool for i.MX chips" HOMEPAGE = "https://github.com/nxp-imx/mfgtools" SRC_URI = "git://github.com/nxp-imx/mfgtools.git;protocol=https;branch=master" -SRCREV = "7347a80c7a943dd7e9081d9d2bab9e6ca8e0ba07" -PV = "1.5.165" +SRCREV = "79ce7d2b2e7459e7b7c94f902d172c30b08884ab" +PV = "1.5.233" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=38ec0c18112e9a92cffc4951661e85a5" -- cgit v1.2.3-54-g00ecf