device-fxtec-qx1050: use sm6115-mainline kernel and new firmware repo (MR 5372)

[ci:skip-build] already built successfully in CI
This commit is contained in:
Stanislav Zaikin 2024-07-23 21:08:06 +02:00 committed by Clayton Craft
parent 075d3065b2
commit b6573808b3
No known key found for this signature in database
GPG key ID: 4A4CED6D7EDF950A
4 changed files with 52 additions and 35 deletions

View file

@ -2,7 +2,7 @@
pkgname=device-fxtec-qx1050 pkgname=device-fxtec-qx1050
pkgdesc="F(x)tec Pro1x (QX1050)" pkgdesc="F(x)tec Pro1x (QX1050)"
pkgver=1 pkgver=1
pkgrel=0 pkgrel=1
url="https://postmarketos.org" url="https://postmarketos.org"
license="MIT" license="MIT"
arch="aarch64" arch="aarch64"
@ -10,8 +10,12 @@ options="!check !archcheck"
depends=" depends="
linux-postmarketos-qcom-sm6115 linux-postmarketos-qcom-sm6115
firmware-fxtec-qx1050-adreno firmware-fxtec-qx1050-adreno
firmware-fxtec-qx1050-adsp
firmware-fxtec-qx1050-cdsp
firmware-fxtec-qx1050-ipa
firmware-fxtec-qx1050-radio firmware-fxtec-qx1050-radio
firmware-fxtec-qx1050-rproc firmware-fxtec-qx1050-rproc
firmware-fxtec-qx1050-venus
mkbootimg mkbootimg
postmarketos-base postmarketos-base
" "

View file

@ -1,28 +1,23 @@
pkgname=firmware-fxtec-qx1050 pkgname=firmware-fxtec-qx1050
pkgver=1 pkgver=1
pkgrel=0 pkgrel=1
pkgdesc="Firmware for F(x)tec Pro1x (QX1050)" pkgdesc="Firmware for F(x)tec Pro1x (QX1050)"
subpackages=" subpackages="
$pkgname-adreno $pkgname-adreno
$pkgname-adsp
$pkgname-cdsp
$pkgname-ipa
$pkgname-radio $pkgname-radio
$pkgname-rproc $pkgname-rproc
$pkgname-venus
" "
url="https://github.com/zstas/fxtec-pro1x-firmware" url="https://github.com/zstas/fxtec-pro1x-firmware"
arch="aarch64" arch="aarch64"
license="proprietary" license="proprietary"
makedepends="pil-squasher"
options="!check !strip !archcheck !tracedeps pmb:cross-native" options="!check !strip !archcheck !tracedeps pmb:cross-native"
_commit="f52d17cb759b9132b327f5cd10dc8c1b69d8d238" _commit="6c1ef5bce85750688f789bc6e232ca8237b24713"
source="$pkgname-$_commit.tar.gz::https://github.com/zstas/fxtec-pro1x-firmware/archive/$_commit.tar.gz" source="$pkgname-$_commit.tar.gz::https://github.com/sm6115-mainline/firmware-fxtec-qx1050/archive/$_commit.tar.gz"
builddir="$srcdir/fxtec-pro1x-firmware-$_commit" builddir="$srcdir/$pkgname-$_commit/lib/firmware/qcom/sm6115/Fxtec/QX1050/"
build() {
pil-squasher a610_zap.mbn a610_zap.mdt
pil-squasher adsp.mbn adsp.mdt
pil-squasher cdsp.mbn cdsp.mdt
pil-squasher modem.mbn modem.mdt
pil-squasher venus.mbn venus.mdt
}
package() { package() {
# parent package is empty # parent package is empty
@ -31,29 +26,40 @@ package() {
adreno() { adreno() {
pkgdesc="Fxtec Pro1x (QX1050) adreno firmware" pkgdesc="Fxtec Pro1x (QX1050) adreno firmware"
depends="firmware-qcom-adreno-a630"
install -Dm644 "$builddir"/a610_zap.mbn -t \ install -Dm644 "$builddir"/a610_zap.mbn -t \
"$subpkgdir/lib/firmware/qcom/sm6115/Fxtec/QX1050/" "$subpkgdir/lib/firmware/qcom/sm6115/Fxtec/QX1050/"
install -Dm644 "$builddir"/a630_sqe.fw -t \ }
"$subpkgdir/lib/firmware/qcom/"
adsp() {
pkgdesc="Fxtec Pro1x (QX1050) ADSP firmware"
install -Dm644 "$builddir"/adsp* -t \
"$subpkgdir/lib/firmware/qcom/sm6115/Fxtec/QX1050/"
}
cdsp() {
pkgdesc="Fxtec Pro1x (QX1050) CDSP firmware"
install -Dm644 "$builddir"/cdsp* -t \
"$subpkgdir/lib/firmware/qcom/sm6115/Fxtec/QX1050/"
}
ipa() {
pkgdesc="Fxtec Pro1x (QX1050) IPA firmware"
install -Dm644 "$builddir"/ipa_fws.mbn -t \
"$subpkgdir/lib/firmware/qcom/sm6115/Fxtec/QX1050/"
} }
radio() { radio() {
pkgdesc="Fxtec Pro1x (QX1050) radio firmware" pkgdesc="Fxtec Pro1x (QX1050) radio firmware"
depends="linux-firmware-ath10k"
install -Dm644 "$builddir"/board-2.bin -t \
"$subpkgdir/lib/firmware/ath10k/WCN3990/hw1.0/"
install -Dm644 "$builddir"/firmware-5.bin -t \
"$subpkgdir/lib/firmware/ath10k/WCN3990/hw1.0/"
install -Dm644 "$builddir"/adsp.mbn -t \
"$subpkgdir/lib/firmware/qcom/sm6115/Fxtec/QX1050/"
install -Dm644 "$builddir"/cdsp.mbn -t \
"$subpkgdir/lib/firmware/qcom/sm6115/Fxtec/QX1050/"
install -Dm644 "$builddir"/modem.mbn -t \ install -Dm644 "$builddir"/modem.mbn -t \
"$subpkgdir/lib/firmware/qcom/sm6115/Fxtec/QX1050/" "$subpkgdir/lib/firmware/qcom/sm6115/Fxtec/QX1050/"
install -Dm644 "$builddir"/modemuw.jsn -t \ install -Dm644 "$builddir"/modem*.jsn -t \
"$subpkgdir/lib/firmware/qcom/sm6115/Fxtec/QX1050/"
install -Dm644 "$builddir"/venus.mbn -t \
"$subpkgdir/lib/firmware/qcom/sm6115/Fxtec/QX1050/" "$subpkgdir/lib/firmware/qcom/sm6115/Fxtec/QX1050/"
install -Dm644 "$builddir"/wlanmdsp.mbn -t \ install -Dm644 "$builddir"/wlanmdsp.mbn -t \
"$subpkgdir/lib/firmware/qcom/sm6115/Fxtec/QX1050/" "$subpkgdir/lib/firmware/qcom/sm6115/Fxtec/QX1050/"
@ -72,6 +78,13 @@ rproc() {
mkdir "$subpkgdir" mkdir "$subpkgdir"
} }
venus() {
pkgdesc="Fxtec Pro1x (QX1050) venus firmware"
install -Dm644 "$builddir"/venus.mbn -t \
"$subpkgdir/lib/firmware/qcom/sm6115/Fxtec/QX1050/"
}
sha512sums=" sha512sums="
c46658bc9536dd7bdb97aa787c5c3f2093fc27f7279d2ca48baf88030c7ff671ae09632b980c61fad9dad91cb57b5ebd8d5f773bf85b92f48249987946e6ccda firmware-fxtec-qx1050-f52d17cb759b9132b327f5cd10dc8c1b69d8d238.tar.gz c46cdaf573c487f0971c3ebe78d79531eac3e4e3b4e840d9132d4107a6f1aa55061b752606df8d861e8feac3b96c83d5ba6f215b36e3d14b21ee43833d32db09 firmware-fxtec-qx1050-6c1ef5bce85750688f789bc6e232ca8237b24713.tar.gz
" "

View file

@ -1,6 +1,6 @@
pkgname=linux-postmarketos-qcom-sm6115 pkgname=linux-postmarketos-qcom-sm6115
pkgver=6.10 pkgver=6.10
pkgrel=0 pkgrel=1
pkgdesc="Mainline Kernel fork for SM6115 devices" pkgdesc="Mainline Kernel fork for SM6115 devices"
arch="aarch64" arch="aarch64"
_carch="arm64" _carch="arm64"
@ -19,11 +19,11 @@ makedepends="
python3 python3
" "
_repository="sm6115_mainline" _repository="linux"
_commit="6b7c96d10fc4264724e6b793ac8f1ec72757f885" _commit="42b61ea7cdb9f531dd53f9e2c844a056db8978c1"
_config="config-$_flavor.$arch" _config="config-$_flavor.$arch"
source=" source="
$pkgname-$_commit.tar.gz::https://github.com/zstas/$_repository/archive/$_commit.tar.gz $pkgname-$_commit.tar.gz::https://github.com/sm6115-mainline/$_repository/archive/$_commit.tar.gz
$_config $_config
" "
builddir="$srcdir/$_repository-$_commit" builddir="$srcdir/$_repository-$_commit"
@ -60,6 +60,6 @@ package() {
sha512sums=" sha512sums="
b324e8a3a45b8412448bdc414afcdd5cdc79af2d0159a25b0de8fe74797c01c6b6a27ab9f028a506fac27cd484949f7f825fe79e4f96344cd283903884577137 linux-postmarketos-qcom-sm6115-6b7c96d10fc4264724e6b793ac8f1ec72757f885.tar.gz 67cf8499a17a18bbeec08eb7729b7dcec05661433dfb37684320ed806bedf105499a3f38dd8662ec1e443ae979d4050094a266fe250b6e6869ddd0eda2b14053 linux-postmarketos-qcom-sm6115-42b61ea7cdb9f531dd53f9e2c844a056db8978c1.tar.gz
3bcc5d6ebd9a03f0b50aeb7c6360fd7aa97cb30eb98c985a217749de19b150a1a9bf91d63e3cc48eaf4b17ff6ff2075f1e4bad42abe41201b748ea2378457a41 config-postmarketos-qcom-sm6115.aarch64 d25eb84b2545ea89fef22db544a6b645b9ab54f9267efc67cfc1c60ed626b776be8d7223ba29beae44d7607291ea21e88f8f41d609187490780343e536cb16fe config-postmarketos-qcom-sm6115.aarch64
" "

View file

@ -2319,7 +2319,7 @@ CONFIG_TOUCHSCREEN_ATMEL_MXT=y
# CONFIG_TOUCHSCREEN_EGALAX_SERIAL is not set # CONFIG_TOUCHSCREEN_EGALAX_SERIAL is not set
# CONFIG_TOUCHSCREEN_EXC3000 is not set # CONFIG_TOUCHSCREEN_EXC3000 is not set
# CONFIG_TOUCHSCREEN_FUJITSU is not set # CONFIG_TOUCHSCREEN_FUJITSU is not set
CONFIG_TOUCHSCREEN_GOODIX=y CONFIG_TOUCHSCREEN_GOODIX=m
# CONFIG_TOUCHSCREEN_GOODIX_BERLIN_I2C is not set # CONFIG_TOUCHSCREEN_GOODIX_BERLIN_I2C is not set
# CONFIG_TOUCHSCREEN_GOODIX_BERLIN_SPI is not set # CONFIG_TOUCHSCREEN_GOODIX_BERLIN_SPI is not set
# CONFIG_TOUCHSCREEN_HIDEEP is not set # CONFIG_TOUCHSCREEN_HIDEEP is not set