Jorijn van der Graaf
a2f5de9de0
kernel: build for the cores the phone has, pkgrel 102
...
The FP6 is 4x Cortex-A520 + 4x Cortex-A720 and this image boots nothing
else, so pass the compiler KCFLAGS="-march=armv8.6-a+fp16fml+aes+sha3+sm4
-mtune=cortex-a720". The stock arm64 build gives the compiler no arch flag
at all (so one image can boot any Armv8 board).
The string is what `gcc -march=native` derives on the phone, re-based on
armv8.6-a so clang can express the same set (clang has no flagm2/rcpc2/
frintts tokens; it reaches them through the architecture level). 8.6 is the
highest level whose mandatory set the phone exposes: 8.7 would assume WFxT
and 9.x SVE2, and neither is in its hwcaps or ID registers. clang emits
identical code for this and for -mcpu=cortex-a720+nosve+nomemtag; the
difference is only which system features (SPE, ETE, TRBE, FPAC) it knows
about, none of which generate code.
Verified on eef717f978f1 with the aport config: builds with zero warnings,
same module set as r100 (417), compat vDSO untouched, boots the dev phone
with a clean dmesg and a GREEN selftest. Record:
fp6 journal/base/captures/2026-09-05-mcpu-a720-verification.md.
2026-09-15 22:36:13 +02:00
..
0001-libcamera-simple-Enable-softISP-for-the-Pinephone.patch
camera: enable the FP6 ultra-wide pipeline (kernel config + patched libcamera)
2026-08-16 04:08:36 +02:00
0002-libcamera-simple-Skip-hwISP-formats-if-swISP-is-acti.patch
camera: enable the FP6 ultra-wide pipeline (kernel config + patched libcamera)
2026-08-16 04:08:36 +02:00
0003-libipa-Add-OV13B10-camera-sensor-helper.patch
camera: enable the FP6 ultra-wide pipeline (kernel config + patched libcamera)
2026-08-16 04:08:36 +02:00
0004-libcamera-sensor-Add-OV13B10-sensor-properties.patch
camera: enable the FP6 ultra-wide pipeline (kernel config + patched libcamera)
2026-08-16 04:08:36 +02:00
0005-libipa-Add-camera-sensor-helper-for-IMX896.patch
libcamera: add the IMX896 sensor helper and properties (r3)
2026-08-16 21:03:10 +02:00
0006-libcamera-sensor-Add-IMX896-sensor-properties.patch
libcamera: add the IMX896 sensor helper and properties (r3)
2026-08-16 21:03:10 +02:00
0007-libcamera-software_isp-Add-focus-control.patch
libcamera: backport contrast autofocus for the main camera (r4)
2026-08-17 02:02:45 +02:00
0008-libcamera-software_isp-Add-autofocus.patch
libcamera: backport contrast autofocus for the main camera (r4)
2026-08-17 02:02:45 +02:00
0009-AF-detect-focus-loss.patch
libcamera: backport contrast autofocus for the main camera (r4)
2026-08-17 02:02:45 +02:00
0010-af-two-phase-sweep-over-a-brightness-normalised-cent.patch
libcamera: backport contrast autofocus for the main camera (r4)
2026-08-17 02:02:45 +02:00
0011-libcamera-pipeline-simple-Apply-the-lens-position-un.patch
libcamera: backport contrast autofocus for the main camera (r4)
2026-08-17 02:02:45 +02:00
0012-libcamera-software_isp-af-Harden-the-lens-control-ha.patch
libcamera: backport contrast autofocus for the main camera (r4)
2026-08-17 02:02:45 +02:00
0013-libcamera-software_isp-af-Add-AfMode-and-focus-witho.patch
libcamera: backport contrast autofocus for the main camera (r4)
2026-08-17 02:02:45 +02:00
0014-libcamera-software_isp-af-Re-baseline-the-scene-refe.patch
libcamera: af: re-baseline the scene reference after a sweep (r5)
2026-08-17 02:35:59 +02:00
0015-ipa-simple-awb-Add-optional-white-point-locus-clamp-.patch
libcamera: stabilize AWB with a white point locus clamp + damping (r8)
2026-08-17 03:24:56 +02:00
0016-ipa-simple-awb-Gate-the-gray-world-estimate-on-near-.patch
temp/libcamera: r9 - zone-gated AWB for the simple IPA (patch 0016)
2026-08-24 01:05:14 +02:00
APKBUILD
kernel: build for the cores the phone has, pkgrel 102
2026-09-15 22:36:13 +02:00
hi846.yaml
camera: enable the FP6 ultra-wide pipeline (kernel config + patched libcamera)
2026-08-16 04:08:36 +02:00
imx355.yaml
camera: enable the FP6 ultra-wide pipeline (kernel config + patched libcamera)
2026-08-16 04:08:36 +02:00
imx363.yaml
camera: enable the FP6 ultra-wide pipeline (kernel config + patched libcamera)
2026-08-16 04:08:36 +02:00
imx371.yaml
camera: enable the FP6 ultra-wide pipeline (kernel config + patched libcamera)
2026-08-16 04:08:36 +02:00
imx376.yaml
camera: enable the FP6 ultra-wide pipeline (kernel config + patched libcamera)
2026-08-16 04:08:36 +02:00
imx519.yaml
camera: enable the FP6 ultra-wide pipeline (kernel config + patched libcamera)
2026-08-16 04:08:36 +02:00
imx858.yaml
camera: enable the FP6 ultra-wide pipeline (kernel config + patched libcamera)
2026-08-16 04:08:36 +02:00
imx896.yaml
libcamera: stabilize AWB with a white point locus clamp + damping (r8)
2026-08-17 03:24:56 +02:00
qcam.desktop
camera: enable the FP6 ultra-wide pipeline (kernel config + patched libcamera)
2026-08-16 04:08:36 +02:00
s5k3l6xx.yaml
camera: enable the FP6 ultra-wide pipeline (kernel config + patched libcamera)
2026-08-16 04:08:36 +02:00
s5kjn1.yaml
camera: enable the FP6 ultra-wide pipeline (kernel config + patched libcamera)
2026-08-16 04:08:36 +02:00