Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pmaports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Adam Thiede
pmaports
Commits
9e5298ba
Unverified
Commit
9e5298ba
authored
1 week ago
by
Pan Ortiz
Committed by
Pablo Correa Gomez
1 week ago
Browse files
Options
Downloads
Patches
Plain Diff
device-xiaomi-nabu: Add a640_zap firmware and small fixes
Part-of:
!6367
parent
0c6620f7
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
device/testing/device-xiaomi-nabu/APKBUILD
+16
-7
16 additions, 7 deletions
device/testing/device-xiaomi-nabu/APKBUILD
with
16 additions
and
7 deletions
device/testing/device-xiaomi-nabu/APKBUILD
+
16
−
7
View file @
9e5298ba
...
...
@@ -2,12 +2,17 @@
# Maintainer: Pan Ortiz <panjeoc@proton.me>
pkgname
=
device-xiaomi-nabu
pkgdesc
=
"Xiaomi Pad 5"
pkgver
=
4
pkgver
=
5
pkgrel
=
0
url
=
"https://postmarketos.org"
license
=
"MIT"
arch
=
"aarch64"
options
=
"!check !archcheck"
options
=
"
!check
!archcheck
!strip
"
replaces
=
"firmware-xiaomi-nabu"
depends
=
"
alsa-ucm-conf
linux-firmware-ath10k
...
...
@@ -27,7 +32,7 @@ depends="
"
makedepends
=
"devicepkg-dev"
replaces
=
"alsa-ucm-conf"
_commit
=
"
b17a3ce0f08871f1c4553351b2f64b2c6969cd5c
"
_commit
=
"
181e8e4510b28ef13d2adde3017fa87eb3eda490
"
builddir
=
"
$srcdir
/nabu-firmware-
$_commit
"
# nabu-firwmare is temporary a640 is not packaged yet
source
=
"
...
...
@@ -37,7 +42,7 @@ source="
XiaomiPad5.conf
deviceinfo
30-gpu-firmware.files
https://gitlab.postmarketos.org/panpanpanpan/nabu-firmware/-/archive/
$_commit
/nabu-firmware-
main
.tar.gz
https://gitlab.postmarketos.org/panpanpanpan/nabu-firmware/-/archive/
$_commit
/nabu-firmware-
$_commit
.tar.gz
"
subpackages
=
"
...
...
@@ -68,11 +73,15 @@ package() {
# This is temporary, a640 firmware is not packaged yet
install
-Dm644
"
$builddir
"
/a640_gmu.bin
-t
\
"
$pkgdir
/lib/firmware/qcom/"
"
$pkgdir
"
/lib/firmware/qcom
# For some reason, msm-firwmare-loader is only able to load this from slot_a
install
-Dm644
"
$builddir
"
/a640_zap.mbn
-t
\
"
$pkgdir
"
/lib/firmware/qcom/sm8150/xiaomi/nabu/
# There were problems while loading this dynamically, hopefully i'll fix this before moving to a generic package package
install
-Dm644
"
$builddir
"
/novatek_nt36523_fw.bin
-t
\
"
$pkgdir
/lib/firmware/novatek
/"
"
$pkgdir
"
/lib/firmware/novatek
}
openrc
()
{
...
...
@@ -92,5 +101,5 @@ d66d6f2129f8aef4449137a1506fb3b3a1275c98502238537ac4dd0c174145706bac971e7e100d35
7b0b16f02b59b74cef7d82ae4e33f8d0c4ea12515824abb3392891eb75c365d19efec685f6f6248b7fec1e2698caca741bba01687673914d0f9de188444e0b37 XiaomiPad5.conf
cc3bdbf0be335ce932f45147fc60db251228f765024391015582fb98b2a31189827ab9f88fc92483077e62e6a5b11b772ffa2967ce40604442bc212f2e83f922 deviceinfo
755e266b66ca6b1ef1f7d90ed00da5ea8845113d906218123f8157893af31aaa0301fcf16be37482455e134ac07bf4d614656ea34091a921a7867e5d918aa456 30-gpu-firmware.files
4cff180e0c765dd8d7c9b643699a685ec1394dbbca6420ca21ae4da005320f9aaade033fa5a348111457c7a141b2abc1112abee06d9d6f14f573ed78344587ac nabu-firmware-main
.tar.gz
baa4dbfe7bf4f159bd4f59b2fe0cf3366ff5abd6b2690cf6ab843ca2b2efac13406d889cfc856c2fcede14ad621b749cbde85e6dff0a6b813e41dd4155dc600e nabu-firmware-181e8e4510b28ef13d2adde3017fa87eb3eda490
.tar.gz
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment