From 54b9f37d965d1fb9fc10f1a411b9051dbb4bc488 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sun, 24 Jun 2018 20:58:45 +0200 Subject: [PATCH] Add Raspberry Pi 3 wifi firmware config & blob Signed-off-by: David Oberhollenzer --- board/rpi3/ROOTFS | 1 + pkg/linux-firmware-rpi3/build | 23 +++++++++++++++++++++++ pkg/linux-firmware-rpi3/rootfs_files.txt | 5 +++++ 3 files changed, 29 insertions(+) create mode 100755 pkg/linux-firmware-rpi3/build create mode 100644 pkg/linux-firmware-rpi3/rootfs_files.txt diff --git a/board/rpi3/ROOTFS b/board/rpi3/ROOTFS index 230088c..762f73e 100644 --- a/board/rpi3/ROOTFS +++ b/board/rpi3/ROOTFS @@ -10,3 +10,4 @@ nftables kbd firmware-rpi3 dhcpcd +linux-firmware-rpi3 diff --git a/pkg/linux-firmware-rpi3/build b/pkg/linux-firmware-rpi3/build new file mode 100755 index 0000000..1938723 --- /dev/null +++ b/pkg/linux-firmware-rpi3/build @@ -0,0 +1,23 @@ +VERSION="1" +SRCDIR="linux-firmware-rpi3-$VERSION" +TARBALL="$SRCDIR.tar.xz" +URL="http://infraroot.at/pygos" +SHA256SUM="a4282e7cfee0d10c966a4ba73ac08a36923b75fc2bc3274c203c4db5f2d29488" +DEPENDS="toolchain" + +prepare() { + return +} + +build() { + cp -r $1/* "$PKGBUILDDIR" +} + +deploy() { + make DESTDIR="$2" install + cp "$SCRIPTDIR/pkg/$PKGNAME/rootfs_files.txt" "$2" +} + +check_update() { + return +} diff --git a/pkg/linux-firmware-rpi3/rootfs_files.txt b/pkg/linux-firmware-rpi3/rootfs_files.txt new file mode 100644 index 0000000..4050f15 --- /dev/null +++ b/pkg/linux-firmware-rpi3/rootfs_files.txt @@ -0,0 +1,5 @@ +lib/firmware m 555 0 0 +lib/firmware/brcm m 555 0 0 +lib/firmware/brcm/brcmfmac43455-sdio.bin m 444 0 0 +lib/firmware/brcm/brcmfmac43455-sdio.clm_blob m 444 0 0 +lib/firmware/brcm/brcmfmac43455-sdio.txt m 444 0 0