Name: uke-cdsp-pogo-firmware Version: 0.2 Release: 14%{?dist} Summary: Read-only device-local Uke CDSP and pogo firmware provisioning License: MIT Source0: %{name}-%{version}.tar.gz Source1: unstable-release.hpp Source2: managed-firmware-version.patch Source3: managed-firmware-idle28.patch Source4: managed-firmware-factory-mcu.patch Source5: factory-mcu-test.hpp Source6: managed-firmware-full734.patch Source7: managed-firmware-full7343.patch Source8: managed-firmware-full7344.patch BuildRequires: uke-firmware(factory-pogo-mcu-v1) >= 1 Requires: uke-firmware(factory-pogo-mcu-v1) >= 1 BuildRequires: patch BuildRequires: gcc-c++ BuildRequires: openssl-devel BuildRequires: nlohmann-json-devel Requires: e2fsprogs coreutils grep /usr/bin/systemd-detect-virt ExclusiveArch: aarch64 %description Native C++ helper that reads fixed stock CDSP files and the exact Uke MCU image from read-only packaged or local stock sources. Publishes only non-running, versioned firmware families. A transaction trigger prepares the current qualified idle cohort and latest inactive installed candidate from exact local stock. Contains no OEM firmware or calibration and starts no hardware. %prep %setup -q install -m644 %{SOURCE1} uke-cdsp-pogo-firmware/src/unstable-release.hpp patch --batch --fuzz=0 -p1 < %{SOURCE2} patch --batch --fuzz=0 -p1 < %{SOURCE3} patch --batch --fuzz=0 -p1 < %{SOURCE4} install -m644 %{SOURCE5} uke-cdsp-pogo-firmware/tests/factory-mcu-test.hpp patch --batch --fuzz=0 -p1 < %{SOURCE6} patch --batch --fuzz=0 -p1 < %{SOURCE7} patch --batch --fuzz=0 -p1 < %{SOURCE8} %build %set_build_flags g++ %{build_cxxflags} -std=c++20 -Wall -Wextra -Werror -Wno-misleading-indentation uke-cdsp-pogo-firmware/src/import.cpp %{build_ldflags} -lcrypto -o uke-cdsp-pogo-firmware-bin %check bash uke-cdsp-pogo-firmware/tests/check.sh %install install -Dm755 uke-cdsp-pogo-firmware-bin %{buildroot}%{_libexecdir}/uke-cdsp-pogo-firmware install -Dm644 uke-cdsp-pogo-firmware/README.md %{buildroot}%{_docdir}/%{name}/README.md %transfiletriggerin -P 2000000 -- /usr/share/senemos/uke /usr/lib/modules # Opportunistic transaction preparation. Trigger priority/failure is not a # staging barrier: the native updater must prepare/verify its target itself. # A chroot/unrelated machine must never inspect stock or create local firmware. if [ -d /run/systemd/system ] && [ -r /sys/firmware/devicetree/base/compatible ] && ! /usr/bin/systemd-detect-virt --quiet --chroot && ! /usr/bin/systemd-detect-virt --quiet --container && /usr/bin/tr '\000' '\n' < /sys/firmware/devicetree/base/compatible | /usr/bin/grep -Fxq xiaomi,uke; then %{_libexecdir}/uke-cdsp-pogo-firmware --sync-installed || exit 1 fi %files %{_libexecdir}/uke-cdsp-pogo-firmware %doc %{_docdir}/%{name}/README.md %changelog * Mon Nov 16 2026 Uke contributors - 0.2-14 - Retain every prior admission and qualify successful full7344 for idle provisioning. * Mon Nov 16 2026 Uke contributors - 0.2-13 - Retain exact full7342 admission and qualify the successful full7343 source for idle provisioning. * Mon Nov 16 2026 Uke contributors - 0.2-12 - Admit the exact successful full734-2 source for protected fresh-root provisioning. * Mon Nov 16 2026 Uke contributors - 0.2-11 - Use a protected exact-hash public MCU source before the unchanged stock fallback. * Mon Nov 16 2026 Uke contributors - 0.2-10 - Admit exact full28 source with unchanged offline consumer and private-stock guards. * Thu Nov 05 2026 Uke Linux contributors <75160848+MCC45TR@users.noreply.github.com> - 0.2-8 - Exercise publication independently from acquisition in the managed fixture. - Validate diagnostic minimum versions with native DNF capability resolution. * Thu Nov 05 2026 Uke Linux contributors <75160848+MCC45TR@users.noreply.github.com> - 0.2-7 - Prepare exact private firmware during kernel RPM transactions before staging. - Admit installed source policy and preserve exact idle-current ownership gates. - Add verification-only target admission without hardware activation. * Wed Nov 04 2026 Uke Linux contributors <75160848+MCC45TR@users.noreply.github.com> - 0.2-6 - Add exact11003 first-time preparation for offline CDSP and unbound pogo consumers. - Verify existing families before atomic additions; retain non-running import policy. * Wed Nov 04 2026 Uke Linux contributors <75160848+MCC45TR@users.noreply.github.com> - 0.2-5 - Pin complete current Uke stock identities verified by two independent readers. - Keep historical reference hashes separate and preserve secure-loader qualification. * Wed Nov 04 2026 Uke Linux contributors <75160848+MCC45TR@users.noreply.github.com> - 0.2-4 - Hash only the bounded declared stock FAT volume in one-MiB memory chunks. - Distinguish source-volume identity from unused partition tail without a backup. * Wed Nov 04 2026 Uke Linux contributors <75160848+MCC45TR@users.noreply.github.com> - 0.2-3 - Report bounded fixed-file identities for read-only stock mismatch investigation. - Preserve complete-image admission for every import and preflight. * Wed Nov 04 2026 Uke Linux contributors <75160848+MCC45TR@users.noreply.github.com> - 0.2-2 - Resolve fixed firmware names through validated VFAT long-name entries. - Test alias/checksum/order/padding failures without relaxing image hashes. * Wed Nov 04 2026 Uke Linux contributors <75160848+MCC45TR@users.noreply.github.com> - 0.2-1 - Reconstruct only the exact Uke authentication image from bounded read-only splits. - Keep trusted-app loading separate and scope candidate imports to unstable ABIs. * Wed Nov 04 2026 Uke Linux contributors <75160848+MCC45TR@users.noreply.github.com> - 0.1-2 - Admit the observed modem and super LUNs only below the exact Uke UFS controller. * Wed Nov 04 2026 Uke Linux contributors <75160848+MCC45TR@users.noreply.github.com> - 0.1-1 - Add bounded read-only stock firmware provisioning without OEM redistribution.