fp6-img/aports/device/linux-postmarketos-qcom-milos
Repository files (latest commit first)
Filename Latest commit message Latest commit date
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-resolve_btfids-preserve-tag-and-parameter-names-when.patch scaffold: aports overlay, build script, CI workflow, README 2026-08-08 15:42:45 +02:00
APKBUILD kernel: build for the cores the phone has, pkgrel 102 2026-09-15 22:36:13 +02:00
config-postmarketos-qcom-milos.aarch64 kernel: build qcomtee, which is one line and not the coupled change we recorded 2026-09-15 22:36:12 +02:00