Name: uke-camera-ife860-check Version: 7.3.7 Release: 4%{?dist} Summary: Compile the fitted Uke IFE860 source preview as AArch64 objects License: GPL-2.0-only ExclusiveArch: aarch64 Source0: uke-camera-ife860-check.tar.xz Source1: linux-7.3.7.tar.xz BuildRequires: bash bc bison flex make tar xz perl openssl-devel elfutils-libelf-devel BuildRequires: clang = 23.1.6-1.fc46 BuildRequires: llvm = 23.1.6-1.fc46 BuildRequires: lld = 23.1.6-1.fc46 BuildRequires: compiler-rt coreutils %description Build the fitted receiver and IFE860 source preview over Linux 7.3.7 on AArch64. %prep printf '%%s %%s\n' 7a4fb11bde19928b44cf1584393457b354c8ace665056fb39a81c753c6c045b6 "%{SOURCE0}" | sha256sum --strict -c - printf '%%s %%s\n' c4cbb90c12f90d59e49320b9ab0b5e7b7de0c15dd56ede5bc0c81ba16b30e59d "%{SOURCE1}" | sha256sum --strict -c - tar -xJf "%{SOURCE1}" tar -xJf "%{SOURCE0}" -C linux-%{version} %build src=$PWD/linux-%{version} out=$PWD/out base=drivers/media/platform/qcom/camss mkdir "$out" args=(O="$out" ARCH=arm64 LLVM=1 LLVM_IAS=1) make -s -C "$src" "${args[@]}" defconfig bash "$src/scripts/config" --file "$out/.config" \ --enable ARCH_QCOM --enable I2C --enable MEDIA_SUPPORT --disable MEDIA_SUPPORT_FILTER \ --enable MEDIA_PLATFORM_SUPPORT --enable MEDIA_CAMERA_SUPPORT --enable VIDEO_DEV \ --enable MEDIA_CONTROLLER --enable VIDEO_V4L2_SUBDEV_API --enable VIDEO_QCOM_CAMSS \ --enable NVMEM --enable REGMAP_I2C --enable REGULATOR make -s -C "$src" "${args[@]}" -j4 olddefconfig prepare grep -Fx 'CONFIG_VIDEO_QCOM_CAMSS=y' "$out/.config" make -s -C "$src" "${args[@]}" -j4 "$base/" drivers/media/v4l2-core/v4l2-isp.o drivers/media/v4l2-core/v4l2-device.o drivers/media/i2c/uke-cn3927v.o objects=(camss.o camss-csid-gen3.o camss-csiphy.o camss-csiphy-3ph-1-0.o camss-vfe-780.o camss-vfe-880-pp.o) printf 'Source preview c6e80ba82d02f59de21d1d08d6017980cf8e2c23\n' > validation.txt for object in "${objects[@]}"; do llvm-readelf -h "$out/$base/$object" | grep -E 'Machine:[[:space:]]*AArch64' >> validation.txt (cd "$out"; sha256sum "$base/$object") >> validation.txt done llvm-nm "$out/$base/camss-vfe-780.o" > object.symbols grep -E ' [DrR] vfe_ops_780$| U vfe_880_setup_pixel_pipe$' object.symbols >> validation.txt test "$(grep -Ec ' [DrR] vfe_ops_780$| U vfe_880_setup_pixel_pipe$' object.symbols)" = 2 printf 'Lens source 7e62481815c197784848a214ebb42d0b73a4917f25e2d60cdaf92bc5c67c52ac\n' >> validation.txt lens=drivers/media/i2c/uke-cn3927v.o llvm-readelf -h "$out/$lens" | grep -E 'Machine:[[:space:]]*AArch64' >> validation.txt (cd "$out"; sha256sum "$lens") >> validation.txt llvm-nm "$out/$lens" > lens.symbols grep -E ' U (nvmem_cell_read|regulator_enable|__devm_regmap_init_i2c)$' lens.symbols >> validation.txt test "$(grep -Ec ' U (nvmem_cell_read|regulator_enable|__devm_regmap_init_i2c)$' lens.symbols)" = 3 printf 'Scope: ARM64 source and object qualification for the IFE860 preview.\n' >> validation.txt %install install -Dm644 validation.txt "%{buildroot}%{_datadir}/doc/%{name}/validation.txt" %files %{_datadir}/doc/%{name}/validation.txt %changelog * Wed Dec 02 2026 Uke Linux Maintainers - 7.3.7-4 - Check the cumulative IFE input and the demand-based lens voltage votes.