%global debug_package %{nil} Name: uke-camera-front-3264x1836-check Version: 7.3.7 Release: 4%{?dist} Summary: Qualify the fitted front capture window and rotation and frame timing controls on AArch64 License: GPL-2.0-only ExclusiveArch: aarch64 Source0: %{name}.tar.xz Source1: linux-%{version}.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 diffutils gawk grep %description Compile the cumulative front camera sensor with its fitted 3264x1836 window. %prep mkdir inputs printf '%%s %%s\n' 3b180faf00dc262c0735af434613353dff954c639dc68f0bb9e1c72a162e6b74 "%{SOURCE0}" | sha256sum --strict -c - printf '%%s %%s\n' c4cbb90c12f90d59e49320b9ab0b5e7b7de0c15dd56ede5bc0c81ba16b30e59d "%{SOURCE1}" | sha256sum --strict -c - tar -xJf "%{SOURCE0}" -C inputs (cd inputs; sha256sum --strict -c SHA256SUMS) tar -xJf "%{SOURCE1}" cp -a inputs/drivers inputs/include linux-%{version}/ %build src=$PWD/linux-%{version} out=$PWD/out mkdir "$out" base=drivers/media/i2c bash inputs/check-crop.sh inputs/cumulative-ov08d10.c "$src/$base/ov08d10.c" > validation.txt cp -a inputs/ov08d10-with-flip.c "$src/$base/ov08d10.c" CC=clang bash inputs/check-ov08d10-flip.sh "$src/$base/ov08d10.c" "$out/flip" >> validation.txt CC=clang bash inputs/check-ov08d10-binned-timing.sh "$src/$base/ov08d10.c" "$out/timing" >> validation.txt args=(O="$out" ARCH=arm64 LLVM=1 LLVM_IAS=1) make -s -C "$src" "${args[@]}" defconfig bash "$src/scripts/config" --file "$out/.config" \ --enable I2C --enable MEDIA_SUPPORT --disable MEDIA_SUPPORT_FILTER --enable MEDIA_CAMERA_SUPPORT \ --enable VIDEO_DEV --enable MEDIA_CONTROLLER --enable VIDEO_V4L2_SUBDEV_API --enable VIDEO_OV08D10 \ --enable REGULATOR --enable GPIOLIB --enable NVMEM make -s -C "$src" "${args[@]}" -j4 olddefconfig prepare grep -Fx 'CONFIG_VIDEO_OV08D10=y' "$out/.config" grep -Fx 'CONFIG_NVMEM=y' "$out/.config" make -s -C "$src" "${args[@]}" -j4 KCFLAGS=-DCONFIG_SM_CAMCC_7675=1 "$base/ov08d10.o" object=$out/$base/ov08d10.o llvm-readelf -h "$object" | grep -E 'Machine:[[:space:]]*AArch64' >> validation.txt llvm-nm "$object" > object.symbols grep -E ' [rR] uke_window_3264x1836$| U qcom_sm7675_camcc_status$' object.symbols >> validation.txt test "$(grep -Ec ' [rR] uke_window_3264x1836$| U qcom_sm7675_camcc_status$' object.symbols)" = 2 (cd "$out"; sha256sum "$base/ov08d10.o") >> validation.txt make -s -C "$src" "${args[@]}" -j4 KCFLAGS=-UCONFIG_SM_CAMCC_7675 "$base/ov08d10.o" llvm-readelf -h "$object" | grep -E 'Machine:[[:space:]]*AArch64' >> validation.txt llvm-nm "$object" > generic.symbols if grep -E ' ov08d10_uke_binned_mode$| U qcom_sm7675_camcc_status$' generic.symbols; then exit 1; fi printf 'Generic ARM64 object excludes the fitted mode and CAMCC dependency.\n' >> validation.txt (cd "$out"; sha256sum "$base/ov08d10.o") >> 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 - Compile both the fitted and generic ARM64 driver configurations. * Wed Dec 02 2026 Uke Linux Maintainers - 7.3.7-3 - Verify fitted binned frame timing across the measured sensor range. * Wed Dec 02 2026 Uke Linux Maintainers - 7.3.7-2 - Verify all front sensor flip states and retained transport failures. * Wed Dec 02 2026 Uke Linux Maintainers - 7.3.7-1 - Check the fitted 3264x1836 window and inherited sensor timing.