pine64-rockpro64: Initial firmware package, AP6359SA (MR 2117)
The AP6359SA is a BCM4359 SDIO-based Wi-Fi/Bluetooth module that PINE64 sells specifically for the ROCKPro64 device. This commit starts a firmware package to support it specifically, while others can later add firmware for other modules sold for the device. Also add this package as a nonfree subpackage dependency in the ROCKPro64 device APKBUILD. I was unable to find a suitable license for the firmware blobs, so until we find a suitable repository containing all of the required files by the module with a license included, or contact the vendor directly, let's use LibreELEC's repository without a license for now. [ci:skip-build]: already built successfully in CI
This commit is contained in:
parent
c94d8899f7
commit
a26f90360d
2 changed files with 32 additions and 4 deletions
|
@ -1,8 +1,9 @@
|
||||||
# Reference: <https://postmarketos.org/devicepkg>
|
# Reference: <https://postmarketos.org/devicepkg>
|
||||||
|
# Maintainer: Jean Lucas <jean@4ray.co>
|
||||||
pkgname=device-pine64-rockpro64
|
pkgname=device-pine64-rockpro64
|
||||||
pkgver=1
|
pkgver=1
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="PINE64 RockPro64"
|
pkgdesc="PINE64 ROCKPro64"
|
||||||
url="https://postmarketos.org"
|
url="https://postmarketos.org"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
arch="aarch64"
|
arch="aarch64"
|
||||||
|
@ -25,8 +26,8 @@ package() {
|
||||||
}
|
}
|
||||||
|
|
||||||
nonfree_firmware() {
|
nonfree_firmware() {
|
||||||
pkgdesc="Wifi, Bluetooth and video-out firmware"
|
pkgdesc="Wi-Fi, Bluetooth and video-out firmware"
|
||||||
depends="firmware-pine64-pinebookpro"
|
depends="firmware-pine64-rockpro64 firmware-pine64-pinebookpro"
|
||||||
mkdir "$subpkgdir"
|
mkdir "$subpkgdir"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
27
device/testing/firmware-pine64-rockpro64/APKBUILD
Normal file
27
device/testing/firmware-pine64-rockpro64/APKBUILD
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
# Maintainer: Jean Lucas <jean@4ray.co>
|
||||||
|
pkgname=firmware-pine64-rockpro64
|
||||||
|
pkgver=1
|
||||||
|
pkgrel=0
|
||||||
|
_commit="4b370cd415a2dd7b0ecdbe8bbf1d86fb35ce6985"
|
||||||
|
pkgdesc="Firmware for the RockPro64 (pine64-rockpro64)"
|
||||||
|
url="https://github.com/LibreELEC/brcmfmac_sdio-firmware"
|
||||||
|
arch="aarch64"
|
||||||
|
license="proprietary"
|
||||||
|
options="!check !strip !archcheck"
|
||||||
|
source="https://github.com/LibreELEC/brcmfmac_sdio-firmware/archive/$_commit/brcmfmac_sdio-firmware-$_commit.tar.gz"
|
||||||
|
builddir="$srcdir/brcmfmac_sdio-firmware-$_commit"
|
||||||
|
|
||||||
|
package() {
|
||||||
|
#
|
||||||
|
# AMPAK AP6359SA
|
||||||
|
#
|
||||||
|
|
||||||
|
mv brcmfmac4359-sdio.txt brcmfmac4359-sdio.pine64,rockpro64-v2.1.txt
|
||||||
|
|
||||||
|
for file in BCM4359C0.hcd brcmfmac4359-sdio.*; do
|
||||||
|
install -Dm 0644 "$file" -t "$pkgdir"/lib/firmware/postmarketos/brcm
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="6bd2551370bdf2b4e0b8d8f5016a1b937ba497a4fe2058fde3ac96f1fe4a8a95b638c82f2b0411d6fe1e46877ad5c475e4037ed02521f08e2483ccc4c03430c8 brcmfmac_sdio-firmware-4b370cd415a2dd7b0ecdbe8bbf1d86fb35ce6985.tar.gz"
|
||||||
|
|
Loading…
Reference in a new issue