e7b346bc05
MSM8916 has a single "modem" firmware for the audio DSP and modem. In some early tests, the remote processor boots successfully at least and the modem shows up in ofono. (Have not done further tests yet...) However, audio stops working as soon as it is loaded (because the audio DSP assumes control over the audio hardware). For now let's just package it for all MSM8916 mainline devices so it can be installed more easily. It is not used or installed by default but it can be manually installed for testing.
37 lines
1.1 KiB
Text
37 lines
1.1 KiB
Text
pkgname=firmware-samsung-a5ulte
|
|
pkgver=2
|
|
pkgrel=0
|
|
pkgdesc="Firmware for Samsung Galaxy A5 (SM-A500FU)"
|
|
url="https://rizzotherat.gitlab.io/firmware/"
|
|
subpackages="$pkgname-modem $pkgname-venus $pkgname-wcnss"
|
|
arch="aarch64"
|
|
license="proprietary"
|
|
options="!check !strip !archcheck"
|
|
source="https://rizzotherat.gitlab.io/firmware/SM-A500FU.tar.xz"
|
|
|
|
_fwdir="/lib/firmware/postmarketos"
|
|
|
|
package() {
|
|
# parent package is empty
|
|
mkdir -p "$pkgdir"
|
|
}
|
|
|
|
modem() {
|
|
pkgdesc="Samsung Galaxy A5 (SM-A500FU) modem firmware"
|
|
install -Dm644 "$srcdir"/mba.mbn -t "$subpkgdir/$_fwdir"
|
|
install -Dm644 "$srcdir"/modem.* -t "$subpkgdir/$_fwdir"
|
|
}
|
|
|
|
venus() {
|
|
pkgdesc="Samsung Galaxy A5 (SM-A500FU) video firmware"
|
|
install -Dm644 "$srcdir"/venus.* -t "$subpkgdir/$_fwdir"/qcom/venus-1.8
|
|
}
|
|
|
|
wcnss() {
|
|
pkgdesc="Samsung Galaxy A5 (SM-A500FU) WiFi/BT firmware"
|
|
cd "$srcdir"
|
|
install -Dm644 wcnss.* -t "$subpkgdir/$_fwdir"
|
|
install -Dm644 WCNSS_* -t "$subpkgdir/$_fwdir"/wlan/prima
|
|
}
|
|
|
|
sha512sums="de63dc9075c559248666afbd76b4f1bd29b235f7bc1c83f68fef65fa9532ce042e42074a9b3bf498a9038d5204f780708e9de750b83b51a6afa519bc358216b0 SM-A500FU.tar.xz"
|