11 Commits

Author SHA1 Message Date
mia26MAjFm
38c61af4a0 kernel-builder: add zlib1g-dev (#25)
gendwarfksyms links -lz.
2026-07-08 21:05:31 +02:00
mia
d7d3b22c1f kernel-builder: ship ps5-stage-firmware + ps5-bt-quiet services 2026-06-30 21:05:29 -04:00
mia
7f8d0302b7 kernel pkg: bundle ps5-stage-firmware service + modprobe.d (fixes wifi) 2026-06-30 19:58:23 -04:00
rmux
9350227d7b apply cmd-timeout-recover and kernel71-compat mwifiex patches (#22) 2026-06-23 19:47:13 +02:00
mia26MAjFm
b10c0b2855 kernel-builder: install ca-certificates
git clone https://github.com/... fails with 'server certificate verification
failed. CAfile: none' because ubuntu:24.04 with just 'git' doesn't pull in
ca-certificates. Hit in 'Building NXP IW620 mwifiex driver' stage.
2026-06-21 09:37:42 -04:00
mia26MAjFm
247e4ea01b kernel-builder: build + bundle NXP IW620 mwifiex driver
linux-ps5 currently ships no wifi driver — the PS5 onboard wifi is NXP
IW620 (not the upstream mwifiex), which lives at ps5-linux/ps5-linux-
mwifiex as an out-of-tree patch against nxp-imx/mwifiex. Users have to
clone that repo + run install.sh on the target, which needs gcc + kernel
headers and is a manual step every kernel bump.

Build it in the kernel-builder container right after the kernel: clone
both repos, apply ps5-iw620.patch, make against the kernel src tree,
install mlan.ko+moal.ko into /out/staging/lib/modules/$KVER/extra/
ps5-iw620/ with the NXP modprobe options + autoload conf. depmod -b
refreshes the index. All package formats (.deb/.rpm/.pkg.tar.zst) then
include the driver automatically.

MWIFIEX_REPO / MWIFIEX_REF overridable via env in case downstream wants
to test a fork or specific commit.
2026-06-20 17:07:11 -04:00
Hasanuddin Abu Bakar
76824ba725 fix(kernel): merge UAPI headers into existing usr/ directory (#17)
Both packagers copied the staged UAPI headers with:

    cp -a /out/staging/headers/usr "$DEST/usr"

Because $DEST/usr already exists (modules live under $STAGING/usr/lib/modules,
and other files may be staged under $PKG/usr), cp placed the source directory
inside the destination, producing a nested usr/usr/include/ path. The headers
were therefore installed at the wrong location and not found by builds.

Merge the contents with cp -a .../usr/. "$DEST/usr/" so the headers land at
the expected /usr/include/linux/... path in both .deb and .pkg.tar.zst
packages.
2026-06-16 20:13:44 +02:00
Dan Kluser
861ed9a889 kernel only option; persistent ccache; single kernel deb; CI support; robust resize2fs; cross compile fixes; custom kernel headers; arch postinstall; amd64 deb 2026-05-09 17:34:53 +02:00
Dan Kluser
ad45441d40 add PS5 kernel build pipeline with multi-distro support and arm64 cross-compile 2026-05-09 17:34:31 +02:00
Andy Nguyen
260d78baec Add dwarves package. 2026-05-03 10:21:40 +02:00
Dan
2a39fc1294 Initial commit 2026-04-26 10:25:41 +02:00