diff --git a/device/community/device-xiaomi-scorpio/30-gpu-firmware.files b/device/community/device-xiaomi-scorpio/30-gpu-firmware.files new file mode 100644 index 000000000..2d4db3c0a --- /dev/null +++ b/device/community/device-xiaomi-scorpio/30-gpu-firmware.files @@ -0,0 +1,4 @@ +./lib/firmware/qcom/a530_pfp.fw +./lib/firmware/qcom/a530_pm4.fw +./lib/firmware/qcom/a530v3_gpmu.fw2 +./lib/firmware/qcom/msm8996/scorpio/a530_zap.mbn diff --git a/device/community/device-xiaomi-scorpio/APKBUILD b/device/community/device-xiaomi-scorpio/APKBUILD index e49b37479..edc8dc1b6 100644 --- a/device/community/device-xiaomi-scorpio/APKBUILD +++ b/device/community/device-xiaomi-scorpio/APKBUILD @@ -3,14 +3,15 @@ pkgname=device-xiaomi-scorpio pkgdesc="Xiaomi Mi Note 2" -pkgver=2 -pkgrel=3 +pkgver=3 +pkgrel=0 url="https://postmarketos.org" license="MIT" arch="aarch64" options="!check !archcheck" depends=" linux-postmarketos-qcom-msm8996 + mesa-egl mkbootimg postmarketos-base soc-qcom-msm8996 @@ -23,6 +24,7 @@ source=" deviceinfo pointercal rootston.ini + 30-gpu-firmware.files " build() { @@ -46,6 +48,9 @@ nonfree_firmware() { " install="$subpkgname.post-install" mkdir "$subpkgdir" + + install -Dm644 "$srcdir/30-gpu-firmware.files" -t \ + "$subpkgdir/etc/postmarketos-mkinitfs/files" } phosh() { @@ -56,7 +61,8 @@ phosh() { sha512sums=" -045783a46a0bdfd19a81897773076aee9f1f7ab058b6130469d544a2c9c87cd50f7ccd65141ebafc49a6b1db096897fb932310b0ad2b6b572b7075a68e17b65b deviceinfo +223a3b57befe9e5d9a46a3b6c3b800fe5e3340e8e57a887b318dc18a81e3f4268f3ebe8d16eb5d0bc16fadd945460e87eb089b0c4be20a1c6f495b91a1af1b44 deviceinfo e9ee9c1404b41ba15eafff3f728ff6e0e78dc17e9a88483fca92db1aa3efe0e4d5bf26142e533c4ff12b1bf8ce04ccabb7ca0f93aaea586d5b30910282aad237 pointercal 035f97e328ff9f976b082e66b97f76036cdee9825f3022471c7c5d371291cc4b5bd5c18196cd49f4cd9ad6390abe691b506de3b221e3c122433d5620e3b3c4c9 rootston.ini +a1ca623314e80045ea8d64be06d12ffc091a5585ca40f9713039883e20889ba47f4a3f9c3bd92bd3b616bb6bb621e87409b6b6fa43bfe566a2a46468609c16f4 30-gpu-firmware.files " diff --git a/device/community/device-xiaomi-scorpio/deviceinfo b/device/community/device-xiaomi-scorpio/deviceinfo index d4bd1b26a..a8cb24bda 100644 --- a/device/community/device-xiaomi-scorpio/deviceinfo +++ b/device/community/device-xiaomi-scorpio/deviceinfo @@ -8,8 +8,9 @@ deviceinfo_codename="xiaomi-scorpio" deviceinfo_year="2016" deviceinfo_dtb="qcom/msm8996-xiaomi-scorpio" deviceinfo_append_dtb="true" -deviceinfo_modules_initfs="qcom_fg atmel_mxt_ts" +deviceinfo_modules_initfs="atmel_mxt_ts msm panel-lgphilips-sw43101 qcom_fg" deviceinfo_arch="aarch64" +deviceinfo_mesa_driver="msm" # Device related deviceinfo_gpu_accelerated="true"