device-samsung-coreprimevelte: add WLAN calibration & QoL

The calibration is loaded from firmware, which in turn is done through a
modprobe config file.

Besides this, there're a few QoL fixes:
* Update my email in maintainer=
* Drop _pmb_recommends approach for firmware, it's now depended on
* Sort depends alphabetically

Signed-off-by: Duje Mihanović <duje@dujemihanovic.xyz>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8311>
This commit is contained in:
Duje Mihanović
2026-04-14 18:18:30 +02:00
parent 333ba1f2ce
commit d392f07927
2 changed files with 15 additions and 9 deletions
@@ -1,25 +1,28 @@
# Reference: <https://postmarketos.org/devicepkg>
maintainer="Duje Mihanović <duje.mihanovic@skole.hr>"
maintainer="Duje Mihanović <duje@dujemihanovic.xyz>"
pkgname=device-samsung-coreprimevelte
pkgdesc="Samsung Galaxy Core Prime VE LTE"
pkgver=8
pkgver=9
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="dtc
depends="
dtc
firmware-samsung-pxa1908
linux-samsung-coreprimevelte
u-boot-coreprimevelte
postmarketos-base
mkbootimg
postmarketos-base
pxa-mkbootimg
u-boot-coreprimevelte
u-boot-tools
pxa-mkbootimg"
"
makedepends="devicepkg-dev"
_pmb_recommends="firmware-samsung-pxa1908"
source="
boot-image.its
deviceinfo
modprobe.d_mwifiex.conf
modules-initfs
90-mlan-to-wlan.rules
"
@@ -33,15 +36,16 @@ package() {
install -Dm644 "$srcdir"/90-mlan-to-wlan.rules \
-t "$pkgdir"/usr/lib/udev/rules.d
mkdir -p "$pkgdir"/usr/share/u-boot/coreprimevelte/
install -Dm644 "$srcdir"/boot-image.its \
-t "$pkgdir"/usr/share/u-boot/coreprimevelte/
install -Dm644 "$srcdir"/modprobe.d_mwifiex.conf \
"$pkgdir"/usr/lib/modprobe.d/mwifiex.conf
}
sha512sums="
fd8183975ed524f5f04f45abadd58bf7cccda5672262dcb733a180f1a9b3edbab1abda3e849f2c0a7a8d593ac804b9b07952955f7c8af8bad1263015ab02c242 boot-image.its
452485d2da3802b0a8557f951c94085c31f5ba5bb67a6c446080cd3735766d75cfbaa4f54c4396d0ba7919717f79130e953b047223de2b7d37cbfb5badbc3e3e deviceinfo
d0f22c864f19d9d54c42a8397cb8c2412d43192211fb36a86d0bd61f9f420349f774282b9b6789b54e7a8be6d379f18e56b49ae19260a60d0b572e39729931c2 modprobe.d_mwifiex.conf
b1617e4b116d60abb15003c5bf7d4e8fa13e57a4a12feadd1e128946238b0922e98810289690f0466fec39f54adcc9ef08346acdef0f5a0fbb62c68438c3a063 modules-initfs
d51facbaa99f69964786e770dc8ed500bfb2609353a25aa344701c851131cc421ef3a2663fe4422a21a5f38e01f0c34235fa4fad75739fb614109a2fb268db8a 90-mlan-to-wlan.rules
"
@@ -0,0 +1,2 @@
# Load WLAN calibration data from a firmware file
options mwifiex cal_data_cfg=mrvl/WlanCalData_ext.conf