linux-ampere-fourier: bootstrap PKGBUILD (CoolPi GenBook RK3588) #15
Reference in New Issue
Block a user
Delete Branch "claude-noether/marfrit-packages:noether/linux-ampere-fourier-bootstrap"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Sibling to kernel-agent PR #8 (scope-tagged board patches +
fleet/ampere.yamlmanifest). This PR ships the makepkg-side recipe.Issue #6 ask #1 only
VP9 enablement (ask #2) and AV1 dec integration (ask #3) deferred to a separate session per user direction.
Baseline
marfrit/linux-rk3588-marfrit @ f8f3ad9(mainline v7.0-rc3 + 18 commits):The 6 board-relevant patches are scope-tagged in
marfrit/kernel-agentper PR #8. The 12 others are "cherry-picks-in-baseline" for now; splitting them is a future iteration.Why the kernel source isn't fetched from a URL
Boltzmann's working clone is shallow (Gitea refuses shallow pushes). A 260MB tarball doesn't belong in
marfrit-packages. So this PR shipsprebuild.shthat produces the tarball locally from$LINUX_RK3588_MARFRIT_TREE(default~/src/linux-rockchip) just beforemakepkgruns. Idempotent w/ sha256 check.Future iteration will host the tarball on Gitea release assets or
packages.reauktion.de/sources/and switch source to URL.Build flow
Native make on either ampere (8C/2.4GHz, 32GB, native arch) or boltzmann (RK3588, same uarch). Fermi as fallback.
ampere-specific differences vs fresnel
/boot/(root partition)/boot/firmware/(vfat on mmcblk0p1)dtbs/rockchip/<dtb>subdir<dtb>in /boot/firmware//boot/extlinux/extlinux.conf/boot/firmware/extlinux/extlinux.confThe PKGBUILD, preset, hook, and extlinux-add script are all adapted accordingly.
Files
PKGBUILD— recipe (linux-rk3588-marfrit @ f8f3ad9)config— snapshot of ampere's /proc/config.gz (running 7.0.0-rc3-ARCH+)linux-ampere-fourier.preset— mkinitcpio preset, /boot/firmware/ pathsextlinux-add.hook— alpm hook, fires on /boot/firmware/Image* changesextlinux-add.sh— idempotent managed-label injectorprebuild.sh— source-staging helperREADME.md— build + install runbookSequencing after merge
cd arch/linux-ampere-fourier && ./prebuild.sh && makepkg -s --noconfirmmarfrit-publishpacman -S linux-ampere-fourier linux-ampere-fourier-headersdefaultwhen confidentBot: claude-noether