Name: uke-camera-ife860-check Version: 7.3.7 Release: 8%{?dist} Summary: Compile the fitted Uke IFE860 white balance driver 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 git 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' 497e9bfc5bbdf7f4fa3939ccb87cf04e133d7aa561c81b94e8fd4c9e236caef6 "%{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 --enable VIDEO_CAMERA_LENS --enable VIDEO_OV13B10 make -s -C "$src" "${args[@]}" -j4 olddefconfig prepare grep -Fx 'CONFIG_VIDEO_QCOM_CAMSS=y' "$out/.config" grep -Fx 'CONFIG_VIDEO_OV13B10=y' "$out/.config" grep -Fx 'CONFIG_NVMEM=y' "$out/.config" grep -Fx 'CONFIG_REGMAP_I2C=y' "$out/.config" make -s -C "$src" "${args[@]}" -j4 "$base/" drivers/media/v4l2-core/v4l2-isp.o drivers/media/v4l2-core/v4l2-device.o lens_layer="$src/kernel/patches/media/uke-cn3927v-737" bash "$lens_layer/build-with-layer.sh" "$src" "$lens_layer" \ make -s -C "$src" "${args[@]}" CONFIG_SM_CAMCC_7675=y -j4 drivers/media/i2c/ llvm-ar t "$out/drivers/media/i2c/built-in.a" > lens-archive-members grep -Eq '(^|/)uke-cn3927v[.]o$' lens-archive-members bash "$lens_layer/build-with-layer.sh" "$src" "$lens_layer" \ clang -Wall -Wextra -Wno-sign-compare -I "$src/arch/arm64/kernel" \ -I "$src/uke-lens-fixture/libfdt" -o "$out/lens-dt-test" \ "$src/uke-lens-fixture/lens-dt-test.c" "$src/uke-lens-fixture/libfdt/"fdt*.c "$out/lens-dt-test" "$src/uke-lens-fixture/lens-fixture.dtb" > lens-dt.log objects=(camss.o camss-csid-gen3.o camss-csiphy.o camss-csiphy-3ph-1-0.o camss-vfe-690.o camss-vfe-780.o camss-vfe-880-pp.o camss-vfe.o camss-video.o) printf 'Source preview 139812bbe9498afd269935f2713f22cc6cd539e6\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 621855276db9511d744c47034f453e46124100e670eddd23c01d2a014d374d2c\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 'Rear lens layer 1c87c9d4\n' >> validation.txt cat lens-dt.log >> validation.txt CC=clang bash "$src/uke-check-rdi-geometry.sh" "$src" "$out/rdi-check" >> validation.txt CC=clang bash "$src/uke-check-ife-bayer.sh" "$src" "$out/ife-bayer" >> validation.txt CC=clang bash "$src/uke-check-ife-histogram.sh" "$src" "$out/ife-histogram" >> validation.txt CC=clang bash "$src/uke-check-ife-wb-gain.sh" "$src" "$out/ife-wb-gain" >> validation.txt grep -E ' U vfe_880_set_wb_gain$' object.symbols >> validation.txt grep -E ' U vfe_880_set_color_correction$' object.symbols >> validation.txt llvm-nm --defined-only "$out/$base/camss-vfe-880-pp.o" > wb.symbols grep -E ' T vfe_880_set_wb_gain$' wb.symbols >> validation.txt grep -E ' T vfe_880_set_color_correction$' wb.symbols >> validation.txt 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-8 - Check fitted IFE color correction and its public metadata limits. * Wed Dec 02 2026 Uke Linux Maintainers - 7.3.7-7 - Check white balance gain, Bayer input and histogram admission using the actual driver functions. * Wed Dec 02 2026 Uke Linux Maintainers - 7.3.7-6 - Check the cumulative fitted RAW10 pitch alongside the IFE pixel path. * Wed Dec 02 2026 Uke Linux Maintainers - 7.3.7-5 - Check the staged native lens source, built-in archive and fitted Device Tree graph.