Name: pocketds-firmware Version: 20251012 Release: 20260507064017%{?dist} Summary: Vendor firmware blobs for the Ayaneo Pocket DS (SM8550) # These are Qualcomm-signed proprietary firmware blobs (ADSP/CDSP/VPU images, # audio topologies, ATH12K WiFi firmware, GPU SQE/GMU/zap microcode, sound # calibration json) redistributed from the device's stock Android image. # ROCKNIX redistributes the SoC-generic bits under Qualcomm OEM # redistributable terms; the AYANEO-signed Adreno 740 zap shader comes # direct from the AYANEO Pocket DS stock Android (TurboX AR11 flat-build). License: LicenseRef-Qualcomm-redistributable AND LicenseRef-Atheros-redistributable URL: https://github.com/ROCKNIX/distribution # Built by ./make-tarball.sh, which merges the ROCKNIX SM8550 firmware # overlay with this repo's ayaneo-overlay/ tree. Refresh the AYANEO part # from a new flat-build via ./refresh-ayaneo-overlay.sh, then bump # Version: to the YYYYMMDD inside the AR11 zip filename. Source0: pocketds-firmware-%{version}.tar.xz ExclusiveArch: aarch64 # Firmware blobs only -- no compilation, no debuginfo %global debug_package %{nil} # linux-firmware / qcom-firmware ship the SoC-generic Qualcomm bits in # compressed form (qcom/a740_sqe.fw.xz etc.). We ship our own uncompressed # copies of the GPU triplet under /usr/lib/firmware/qcom/ -- different # extensions, no file conflict -- because the kernel here is built without # CONFIG_FW_LOADER_COMPRESS_XZ (compressed firmware triggered a probe oops # on this device). Keep them as Recommends so the rest of the qcs8550 # blob set stays available. Recommends: linux-firmware Recommends: qcom-firmware # We deliberately do *not* package the AYN Odin 2 firmware sub-tree even though # ROCKNIX co-bundles it; it is for a different device. See the %%prep section. %description Per-device firmware needed at boot on the AYANEO Pocket DS (Snapdragon 8 Gen 2, qcs8550): * /usr/lib/firmware/qcom/a740_sqe.fw -- Adreno 740 SQE microcode * /usr/lib/firmware/qcom/gmu_gen70200.bin -- Adreno 740 GMU image * /usr/lib/firmware/qcom/a740_zap.{mdt,bNN,mbn} -- AYANEO-signed zap shader * /usr/lib/firmware/qcom/sm8550/ayaneo/ -- ADSP, CDSP, sensor JSON * /usr/lib/firmware/qcom/sm8550/SM8550-APS-tplg.bin -- ALSA SOF topology * /usr/lib/firmware/qcom/vpu/vpu30_p4.mbn -- video processor firmware * /usr/lib/firmware/ath12k/WCN7850/hw2.0/ -- WiFi (board, AMSS, M3, regdb) * /usr/lib/firmware/renesas_usb_fw.mem -- USB controller firmware Without this package the modem firmware loaders silently fail, audio / sensors / wifi do not come up, and (because of the missing zap shader) Adreno never reaches GPU-running state -- which means no Wayland compositor and the desktop never paints. %prep %setup -q -n pocketds-firmware-%{version} # Drop the AYN Odin 2 / RetroidPocket firmware -- different devices, only here # because ROCKNIX builds a single image for all SM8550 handhelds. rm -rf usr/lib/firmware/qcom/sm8550/ayn rm -f usr/lib/firmware/qcom/sm8550/AYN-Odin2-tplg.bin %build # nothing to build %install mkdir -p %{buildroot} cp -a usr %{buildroot}/ %files /usr/lib/firmware/qcom/a740_sqe.fw /usr/lib/firmware/qcom/gmu_gen70200.bin /usr/lib/firmware/qcom/a740_zap.mdt /usr/lib/firmware/qcom/a740_zap.b00 /usr/lib/firmware/qcom/a740_zap.b01 /usr/lib/firmware/qcom/a740_zap.b02 /usr/lib/firmware/qcom/a740_zap.mbn /usr/lib/firmware/qcom/sm8550/ayaneo/ /usr/lib/firmware/qcom/sm8550/SM8550-APS-tplg.bin /usr/lib/firmware/qcom/vpu/vpu30_p4.mbn /usr/lib/firmware/ath12k/WCN7850/hw2.0/ /usr/lib/firmware/renesas_usb_fw.mem %changelog * Wed May 06 2026 Pocket DS Maintainers - %{version}-%{release} - Release auto-stamped from build_timestamp; full history in git log