Mainline port supports all features currently available on the platform, bringing whyred in line with the best supported devices on the sdm660 kernel. Working: * framebuffer display * regulators * volume/power keys * gpio hall sensor * battery fulegauge & charger * PMIC vibrator * PMIC WLED backlight * notification LED * storage: eMMC, SD cards * USB (only USB2 and only gadget mode, like the rest of the platform) * hardware video enocder/decoder (venus) * WCN3990 Bluetooth, Wi-Fi * Synaptics rmi4 touchscreen * Display (mdss), GPU Adreno 509 * LCD IPS video mode panel (Tianma TD4310) * sensors are automagically supported too Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6469 Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
39 lines
938 B
Bash
39 lines
938 B
Bash
# Reference: <https://postmarketos.org/devicepkg>
|
|
# Maintainer: Alexey Minnekhanov <alexeymin@postmarketos.org>
|
|
pkgname=device-xiaomi-whyred
|
|
pkgdesc="Xiaomi Redmi Note 5 Pro"
|
|
pkgver=3
|
|
pkgrel=0
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
options="!check !archcheck"
|
|
depends="
|
|
firmware-qcom-adreno-a530
|
|
firmware-xiaomi-whyred
|
|
linux-postmarketos-qcom-sdm660
|
|
mkbootimg
|
|
msm-firmware-loader
|
|
postmarketos-base
|
|
soc-qcom-sdm660
|
|
soc-qcom-sdm660-rproc
|
|
"
|
|
makedepends="devicepkg-dev"
|
|
source="
|
|
deviceinfo
|
|
modules-initfs
|
|
"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
sha512sums="
|
|
64b70e35e2e78de7ce9382e623e3bb9f31e21f944b872290189f004e2a7188f359762de19b3c37d491b0f83f515328dfce5105fcef3d88a5873aeff2104b1a66 deviceinfo
|
|
154cfa9f333506bf6c2da4d51d55bd42230db8ec6c38239febe2090a694e365fb76ddddf0c1dcac6b11a7b389d0fc6178316a0ca7a65c82d7d17337c49fcc424 modules-initfs
|
|
"
|