2020-01-15 20:26:34 +00:00
|
|
|
# Maintainer: Minecrell <minecrell@minecrell.net>
|
2019-06-23 10:58:45 +00:00
|
|
|
# Kernel config based on: arch/arm64/configs/msm8916_defconfig
|
|
|
|
|
|
|
|
_flavor="postmarketos-qcom-msm8916"
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=linux-$_flavor
|
main/linux-postmarketos-qcom-msm8916: upgrade to 5.11_rc3 (MR 1871)
- Update to Linux 5.11-rc3
- Upstreamed more patches
Devices:
- bq-paella:
- Rename to longcheer-l8910 for consistency with longcheer-l8150
- Add second panel driver for truly-otm1288a
- wileyfox-crackling: Add better battery status and charging
- xiaomi-wt88047: Add second panel driver for ebbg-otm1285a
- oppo-a51f:
- Display/Brightness
- Touchscreen
- Accelerometer
- Audio
- lg-m216: Initial support for LG K10 (K420n)
- USB
- Storage (eMMC, SD card)
- Display
- Touchscreen, Buttons
- WiFi, Bluetooth
- Accelerometer, Magnetometer
- Audio
- Modem
- motorola-osprey: Initial support for Motorola Moto G 2015
- USB
- Storage (eMMC, SD card)
- Display
- Touchscreen, Buttons, Vibrator
- WiFi, Bluetooth
- Audio (no headphone detection)
- Battery status
- lenovo-a6010: Initial support for Lenovo A6010
- USB
- Storage (eMMC, SD card)
- Display
- Touchscreen, Buttons, Vibrator
- WiFi, Bluetooth
- Accelerometer, Gyroscope, Magnetometer
- Audio
- Modem
- asus-z00l: Initial support for Asus Zenfone 2 Laser (720p)
- USB
- Storage (eMMC)
- Display
- Touchscreen, Buttons
- WiFi, Bluetooth
- Audio
- asus-z010d: Initial support for Asus Zenfone Max (ZC550KL)
- USB
- Storage (eMMC, SD card)
- Display
- Touchscreen, Buttons, Vibrator
- Notification LED
- WiFi, Bluetooth
- Accelerometer, Magnetometer
- Audio
- Modem
2021-01-12 09:49:58 +00:00
|
|
|
pkgver=5.11_rc3
|
main/linux-postmarketos-qcom-msm8916: upgrade to 5.9-rc7 (MR 1603)
- Update to Linux 5.9-rc7
- Add "BAM DMUX" driver as network interface to the modem
for mobile data
- Major rewrite/cleanup of all MSM8916 device trees
- Lots of cleanup everywhere
- I hope I did not forget something :)
Devices:
- bq-paella: Add vibrator
- samsung-j5nlte: Add display
- samsung-a2015 (a3u/a5u): Fix USB-OTG detection
- "Initial" support for Xiaomi Redmi 2 (wingtech-wt88047)
- USB
- Storage (eMMC, SD card)
- Display, brightness control
- Touchscreen, buttons
- IMU (accelerometer+gyroscope)
- Notification LED
- Sound
- WiFi, Bluetooth
- Modem
- Initial support for Motorola Moto E 2015 (motorola-surnia)
- USB
- Storage (eMMC, SD card)
- Display, brightness control
- Touchscreen, buttons
- WiFi, Bluetooth
- Battery status
- Initial support for Samsung Galaxy Grand Prime
- USB
- Storage (eMMC, SD card)
- Initial support for Oppo Mirror 5s (oppo-a51f)
- USB
- Storage (eMMC, SD card)
- WiFi, Bluetooth
2020-09-28 07:46:40 +00:00
|
|
|
pkgrel=0
|
2019-06-23 10:58:45 +00:00
|
|
|
pkgdesc="Mainline kernel fork for Qualcomm MSM8916 devices"
|
2019-12-07 14:00:13 +00:00
|
|
|
arch="aarch64 armv7"
|
2019-06-23 10:58:45 +00:00
|
|
|
url="https://github.com/msm8916-mainline/linux"
|
|
|
|
license="GPL-2.0-only"
|
2020-05-13 16:32:23 +00:00
|
|
|
options="!strip !check !tracedeps pmb:cross-native pmb:kconfigcheck-anbox"
|
main/linux-postmarketos-qcom-msm8916: upgrade to 5.11_rc3 (MR 1871)
- Update to Linux 5.11-rc3
- Upstreamed more patches
Devices:
- bq-paella:
- Rename to longcheer-l8910 for consistency with longcheer-l8150
- Add second panel driver for truly-otm1288a
- wileyfox-crackling: Add better battery status and charging
- xiaomi-wt88047: Add second panel driver for ebbg-otm1285a
- oppo-a51f:
- Display/Brightness
- Touchscreen
- Accelerometer
- Audio
- lg-m216: Initial support for LG K10 (K420n)
- USB
- Storage (eMMC, SD card)
- Display
- Touchscreen, Buttons
- WiFi, Bluetooth
- Accelerometer, Magnetometer
- Audio
- Modem
- motorola-osprey: Initial support for Motorola Moto G 2015
- USB
- Storage (eMMC, SD card)
- Display
- Touchscreen, Buttons, Vibrator
- WiFi, Bluetooth
- Audio (no headphone detection)
- Battery status
- lenovo-a6010: Initial support for Lenovo A6010
- USB
- Storage (eMMC, SD card)
- Display
- Touchscreen, Buttons, Vibrator
- WiFi, Bluetooth
- Accelerometer, Gyroscope, Magnetometer
- Audio
- Modem
- asus-z00l: Initial support for Asus Zenfone 2 Laser (720p)
- USB
- Storage (eMMC)
- Display
- Touchscreen, Buttons
- WiFi, Bluetooth
- Audio
- asus-z010d: Initial support for Asus Zenfone Max (ZC550KL)
- USB
- Storage (eMMC, SD card)
- Display
- Touchscreen, Buttons, Vibrator
- Notification LED
- WiFi, Bluetooth
- Accelerometer, Magnetometer
- Audio
- Modem
2021-01-12 09:49:58 +00:00
|
|
|
makedepends="bison findutils flex installkernel openssl-dev perl gmp-dev mpc1-dev mpfr-dev"
|
2019-06-23 10:58:45 +00:00
|
|
|
|
2019-12-07 14:00:13 +00:00
|
|
|
# Architecture
|
|
|
|
case "$CARCH" in
|
|
|
|
aarch64) _carch="arm64" ;;
|
|
|
|
arm*) _carch="arm" ;;
|
|
|
|
esac
|
|
|
|
|
2019-06-23 10:58:45 +00:00
|
|
|
# Source
|
2019-12-23 11:47:03 +00:00
|
|
|
_tag=v${pkgver//_/-}-msm8916
|
2019-06-23 10:58:45 +00:00
|
|
|
source="
|
|
|
|
$pkgname-$_tag.tar.gz::$url/archive/$_tag.tar.gz
|
2019-12-07 14:00:13 +00:00
|
|
|
config-$_flavor.aarch64
|
|
|
|
config-$_flavor.armv7
|
2019-06-23 10:58:45 +00:00
|
|
|
"
|
|
|
|
builddir="$srcdir/linux-${_tag#v}"
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
default_prepare
|
2019-12-07 14:00:13 +00:00
|
|
|
cp "$srcdir/config-$_flavor.$CARCH" .config
|
2019-06-23 10:58:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
unset LDFLAGS
|
|
|
|
make ARCH="$_carch" CC="${CC:-gcc}" \
|
|
|
|
KBUILD_BUILD_VERSION=$((pkgrel + 1 ))
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
mkdir -p "$pkgdir"/boot
|
|
|
|
make zinstall modules_install dtbs_install \
|
|
|
|
ARCH="$_carch" \
|
|
|
|
INSTALL_PATH="$pkgdir"/boot \
|
|
|
|
INSTALL_MOD_PATH="$pkgdir" \
|
|
|
|
INSTALL_DTBS_PATH="$pkgdir"/usr/share/dtb
|
|
|
|
rm -f "$pkgdir"/lib/modules/*/build "$pkgdir"/lib/modules/*/source
|
|
|
|
|
|
|
|
install -D "$builddir"/include/config/kernel.release \
|
|
|
|
"$pkgdir"/usr/share/kernel/$_flavor/kernel.release
|
|
|
|
}
|
|
|
|
|
main/linux-postmarketos-qcom-msm8916: upgrade to 5.11_rc3 (MR 1871)
- Update to Linux 5.11-rc3
- Upstreamed more patches
Devices:
- bq-paella:
- Rename to longcheer-l8910 for consistency with longcheer-l8150
- Add second panel driver for truly-otm1288a
- wileyfox-crackling: Add better battery status and charging
- xiaomi-wt88047: Add second panel driver for ebbg-otm1285a
- oppo-a51f:
- Display/Brightness
- Touchscreen
- Accelerometer
- Audio
- lg-m216: Initial support for LG K10 (K420n)
- USB
- Storage (eMMC, SD card)
- Display
- Touchscreen, Buttons
- WiFi, Bluetooth
- Accelerometer, Magnetometer
- Audio
- Modem
- motorola-osprey: Initial support for Motorola Moto G 2015
- USB
- Storage (eMMC, SD card)
- Display
- Touchscreen, Buttons, Vibrator
- WiFi, Bluetooth
- Audio (no headphone detection)
- Battery status
- lenovo-a6010: Initial support for Lenovo A6010
- USB
- Storage (eMMC, SD card)
- Display
- Touchscreen, Buttons, Vibrator
- WiFi, Bluetooth
- Accelerometer, Gyroscope, Magnetometer
- Audio
- Modem
- asus-z00l: Initial support for Asus Zenfone 2 Laser (720p)
- USB
- Storage (eMMC)
- Display
- Touchscreen, Buttons
- WiFi, Bluetooth
- Audio
- asus-z010d: Initial support for Asus Zenfone Max (ZC550KL)
- USB
- Storage (eMMC, SD card)
- Display
- Touchscreen, Buttons, Vibrator
- Notification LED
- WiFi, Bluetooth
- Accelerometer, Magnetometer
- Audio
- Modem
2021-01-12 09:49:58 +00:00
|
|
|
sha512sums="28e73646f3099db9c6681932ea10159747bd48a795b468423c5b92f7725bd3c76f24a6d11a1fbadb77a74a62a8bc740d13d810a028305bdd0f0d2844aa47913b linux-postmarketos-qcom-msm8916-v5.11-rc3-msm8916.tar.gz
|
|
|
|
5879bb06f4c3aa312d5a9df88c8c5565eca9369e3b0ba58a593a226002f3f9c9893643b116d56b2556243b73b837883ad82544df0e08071a87dee2332afae85b config-postmarketos-qcom-msm8916.aarch64
|
|
|
|
18db35659a7e5b3296feb0e46aa33ba3b96140afeac554d64a7a209460f786114f6369f79e0cad22becc9857521ba71d0cfade02baf85ace7762fe701bbc1a51 config-postmarketos-qcom-msm8916.armv7"
|