Commit graph

26 commits

Author SHA1 Message Date
Minecrell
ef3f43963e
main/linux-postmarketos-qcom-msm8916: upgrade to 5.13 (MR 2286)
- Update to Linux 5.13
- Upstreamed many more patches
- Various cleanup to BAM-DMUX driver to prepare for upstreaming
- Enable support for virtualization/KVM via https://github.com/msm8916-mainline/qhypstub
- Probably many other things I forgot :)

- Add tons of kernel config options for containers and nftables
- Add WireGuard to kernel config

Device changes:
  - huawei-g7: Initial support for Huawei Ascend G7
    - USB
    - Storage (eMMC, SD card)
    - Display
    - Touchscreen, Buttons, Vibrator
    - Notification LED
    - WiFi/Bluetooth
    - Accelerometer, Magnetometer, Proximity
    - Audio
    - NFC
  - lg-c50: Initial support for LG Leon LTE
    - USB
    - Storage (eMMC, SD card)
    - Buttons
    - WiFi/Bluetooth
    - Vibrator
    - Display
  - longcheer-l8150 (wileyfox-crackling): Fix proximity sensor
  - motorola-surnia: Add audio and modem
  - samsung-j5nlte: Add buttons
  - samsung-j5xlte: Initial support for Samsung Galaxy J5 (2016)
    - USB
    - Storage (eMMC, SD card)
    - Buttons
  - samsung-serranovelte: Add USB-OTG detection

[ci:skip-build] already built successfully in CI
2021-06-30 22:12:19 -07:00
Minecrell
0108b8ba6e
main/linux-postmarketos-qcom-msm8916: upgrade to 5.11.7 (MR 2039)
- Update to Linux 5.11.7
- Upstreamed more patches
- Switch BAM DMUX (mobile data) driver to Raw-IP mode.
  This makes it work with the upstream version of ModemManager,
  reduces overhead a bit and is overall cleaner.
- Add QMI "memshare" driver which is needed for GPS to work on most
  MSM8916 devices.
  - GPS has been tested successfully on:
    - alcatel-idol347
    - lg-m216
    - longcheer-l8150 (wileyfox-crackling)
    - longcheer-l8910 (bq-paella)
    - motorola-harpia
    - motorola-osprey
    - samsung-a2015 (a3(u)lte, a5(u)lte)
    - samsung-serranovelte
    - wingtech-wt88047 (xiaomi-wt88047)
  - Needs more testing/investigation on:
    - asus-z00l
    - asus-z010d
    - wingtech-wt865x8

- Add SMB1360 battery/charger/OTG driver for longcheer-l8190
  and wingtech-wt88047.
- Rework TFA9895 speaker amplifier driver for potential upstreaming,
  make it work for TFA9897, add channel selection and a lot of cleanup.

- Add INSTALL_MOD_STRIP=1 to maybe reduce the size of modules a bit.
- Other things I forgot :)

Device changes:
  - alcatel-alto5-vdf: Initial support for Vodafone Smart prime 6
    - USB
    - Storage (eMMC, SD card)
    - Buttons
    - WiFi, Bluetooth
  - alcatel-idol347: Initial support for Alcatel Idol 3 (4.7")
    - USB
    - Storage (eMMC, SD card)
    - Display, Brightness
    - Touchscreen, Buttons, Vibrator
    - WiFi, Bluetooth
    - Accelerometer, Magnetometer, Gyroscope, Proximity
    - Audio (no headphones yet)
    - Modem (voice call audio needs some more minor changes)
  - asus-z00l
    - SD card
    - IMU (Accelerometer + Gyroscope), Magnetometer
  - lg-m216
    - Battery/charging
  - longcheer-l8150 (wileyfox-crackling)
    - Tweak battery values slightly for 25°C instead of 0°C
  - longcheer-l8910 (bq-paella)
    - Battery/charging
    - USB OTG
  - motorola-harpia
    - Add panel driver for "boe" panel
  - samsung-gt510wifi/matissevewifi:
    - Fix touchscreen
  - wingtech-wt88047 (xiaomi-wt88047)
    - Battery/charging
    - USB OTG

[ci:skip-build]: already built successfully in CI
2021-03-22 21:22:40 +01:00
Alexey Min
a857a69c87
linux-postmarketos-qcom-msm8916: add support for zram (MR 2005) 2021-03-03 12:32:52 +03:00
Minecrell
eb776065a5
main/linux-postmarketos-qcom-msm8916: upgrade to 5.11_rc5 (MR 1871)
- Update to Linux 5.11-rc5
- Upstreamed more patches
- Fix more audio regressions without modem introduced
  by some refactoring from Qualcomm upstream

Devices:
  - asus-z00l: Add modem
  - wingtech-wt88047 (Xioami Redmi 2):
    - Add additional sharp-r69431 panel driver
  - wingtech-wt86528 (Lenovo A6010):
    - Add battery status
    - Add additional tianma-hx8394d panel driver
  - wingtech-wt86518: Initial support for Lenovo A6000
    - USB
    - Storage (eMMC, SD card)
    - Display
    - Touchscreen, Buttons, Vibrator
    - WiFi, Bluetooth
    - Accelerometer
    - Battery status, charging
    - Audio
    - Modem
2021-01-27 10:09:01 +01:00
Minecrell
deec2ee3b8
main/linux-postmarketos-qcom-msm8916: upgrade to 5.11_rc4 (MR 1871)
- Update to Linux 5.11-rc4
- Upstreamed more patches
- Fix audio regression without modem introduced by some refactoring
  from Qualcomm upstream

Devices:
  - samsung-a2015 (a3/a5): Fix speaker on some devices
  - motorola-osprey: Add modem
2021-01-27 10:09:01 +01:00
Minecrell
2305bc9762
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-27 10:09:00 +01:00
Minecrell
cadfc4189f
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-10-05 02:16:14 +03:00
Minecrell
2a8897b079
main/linux-postmarketos-qcom-msm8916: enable CONFIG_CRYPTO_XTS (MR 1405)
Seems like "pmbootstrap kconfig edit" causes unrelated kernel config
changes for some reason (probably because pmbootstrap does not install
a cross compiler for it). For now let's just edit the config manually
with the new options so everything else stays as-is.
2020-07-11 15:26:34 +02:00
Minecrell
140a04816f
main/linux-postmarketos-qcom-msm8916: upgrade to 5.7.1 (MR 1295)
We are in the midst of the Linux 5.8 merge window so there is no new
-rc version to rebase on. -rc1 next week is also not the perfect choice
for a release (first rc is usually still a bit unstable).

On the other hand the changes that landed the last few days are quite
nice and ready to go, so I decided to rebase on a stable kernel release
(5.7.1). Not sure if I'm ever going to do this again :)

Changes:
- Update to Linux 5.7.1
- bq-paella: Add sound and modem
- Enable some new kernel options for DB410c
2020-06-09 23:18:36 +03:00
Minecrell
768ae7c1ee
main/linux-postmarketos-qcom-msm8916: upgrade to 5.7 (MR 1284)
- Update to Linux 5.7
- motorola-harpia: Add battery reporting
- bq-paella: Add accelerometer/magnetometer/gyroscope
- bq-paella: Expose touch key backlight as LED
2020-06-06 09:40:59 +03:00
Antoine Fontaine
6041d4eed0
Support Anbox explicitly in some kernels: (MR 1232)
* linux-postmarketos-allwinner
* linux-postmarketos-qcom-msm8916
* linux-asus-me176c

They support anbox already.

It will make CI catch errors such as the removal of anbox support in
https://gitlab.com/postmarketOS/pmaports/-/merge_requests/1205 when
https://gitlab.com/postmarketOS/pmbootstrap/-/merge_requests/1916 will
be merged.

[ci:skip-vercheck] and [ci:skip-build]: no need to rebuild the package.
2020-05-19 22:23:39 +03:00
Minecrell
e950f1215c
main/linux-postmarketos-qcom-msm8916: upgrade to 5.7_rc5 (MR 1228)
- Update to Linux 5.7-rc5
- Add voice call audio
- samsung-a3u/a5u: add speaker
- wileyfox-crackling: add notification LED
- bq-paella: add display, touchscreen, buttons
- Initial support for Samsung Galaxy J5 (2015) (SM-J500FN)
- Initial support for Samsung Galaxy J3 (2016) (SM-J320P)
2020-05-13 15:52:55 +02:00
Minecrell
c3dcc196ea
*: remove quotes around pkgname (MR 1186)
TP:[AL3]:APKBUILD:5:pkgname must not be quoted

[skip ci]: won't finish within 3 hours
2020-04-25 12:06:47 +02:00
Antoine Fontaine
c1628ecdce
cross/arch-bin-masquerade, main/anbox-image, linux-*: use pmb:cross-native (MR 1169)
https://gitlab.com/postmarketOS/pmbootstrap/-/issues/1910

[skip ci]: CI fails because it can't download every release tarball to
           check checksums in 3h.
2020-04-25 10:50:38 +02:00
Minecrell
bfe15c5c85
main/linux-postmarketos-qcom-msm8916: upgrade to 5.7-rc2 (!1167)
- Update to Linux 5.7-rc2
- Initial support for BQ Aquaris X5 (bq-paella/picmt)
- Add speaker for samsung-gt510wifi/matissevewifi
- Add flash LED for wileyfox-crackling
2020-04-22 20:12:31 +02:00
Minecrell
c747733aec
main/linux-postmarketos-qcom-msm8916: upgrade to 5.6 (!1115)
- Update to Linux 5.6
- Major improvements for Samsung Galaxy Tab 4 10.1 WiFi (samsung-matissevewifi)
  - Buttons
  - Accelerometer
  - Display
  - Touchscreen
  - Audio (Speaker is WIP)
- Upstreamed some patches
2020-03-31 21:42:36 +03:00
Minecrell
b566e05cf9
main/linux-postmarketos-qcom-msm8916: upgrade to 5.6-rc5 (!1055)
- Update to Linux 5.6-rc5
- Basic audio support on samsung-gt510wifi (speaker is WIP)
- Initial support for samsung-matissevewifi
- Enable some kernel config options for elogind/Anbox/fbkeyboard
2020-03-11 20:12:06 +03:00
Minecrell
89fa4dd264
main/linux-postmarketos-qcom-msm8916: upgrade to 5.6-rc3 (!992)
- Update to Linux 5.6-rc3
- Fix orientation on wileyfox-crackling (add mount-matrix)
- Fix sound (workaround inexistent backward compatibility in alsa-lib...)
2020-02-27 16:28:24 +03:00
Minecrell
e460d5cce2
main/linux-postmarketos-qcom-msm8916: upgrade to 5.6-rc2 (!970)
- Update to Linux 5.6-rc2
- Major improvements for Motorola Moto G4 Play (motorola-harpia)
  - Display
  - Touchscreen
  - Accelerometer
  - Audio
  - Modem
  - Vibrator

- Fix headphones/headset detection for wileyfox-crackling
- Add mount-matrix for samsung-a3ulte/a5ulte to fix
  orientation detection with iio-sensor-proxy
- A lot of cleanup everywhere

- APKBUILD: Clean up makedepends (a lot of them are unneeded)
2020-02-20 13:36:35 +01:00
Minecrell
bd5992fe54
main/linux-postmarketos-qcom-msm8916: stop generating QCDT image (!907)
wileyfox-crackling was the only user of QCDT. Now that it is also
using appended DTBs, there is no need to generate the QCDT image anymore.

Another advantage of this is that mainline can then be only booted using lk2nd
(as intended), since booting it from the stock bootloader has weird side effects
(e.g. no WiFi/BT MAC address set).
2020-02-16 12:47:39 +01:00
Minecrell
47b17d55c7
main/linux-postmarketos-qcom-msm8916: upgrade to 5.5-rc7 (!901)
- Update to Linux 5.5-rc7
- Touchkey support for samsung-a5ulte/a3ulte/serranovelte

[ci:skip-build]: already built successfully in CI
2020-01-26 22:36:49 +01:00
Minecrell
e0021755b0
main/linux-postmarketos-qcom-msm8916: upgrade to 5.5-rc4 (!848)
- Update to Linux 5.5-rc4
- Fix freeze/crash when accessing reserved memory on Samsung devices
  - This happened e.g. when doing large eMMC writes
    because the disk cache filled all available RAM.
- Fix SD card detection on samsung-serranovelte
  - Disable UHS-1 modes since they appear to be broken in hardware

[ci:skip-build]: already built successfully in CI
2020-01-03 03:23:21 +01:00
Minecrell
8ac2eaa2cf
main/linux-postmarketos-qcom-msm8916: build for armv7 (!828)
Unfortunately, early firmware versions on MSM8916 (used together with
Android 4.4) are not capable of booting aarch64 kernels. MSM8916 was
Qualcomm's first 64-bit capable CPU, and back when it was introduced
Android did not even support aarch64 yet. So the aarch64 capable
hardware was usually used together with armv7 binaries.

To make things worse, this firmware is also signed (usually per-device),
making it (currently) impossible to update it without help from the manufacturer.
This means that we are currently unable to run mainline on devices
that never received an update to Android 5.0
(e.g. the Samsung Galaxy S4 Mini Value Edition).

One way to circumvent this limitation is to build mainline for armv7.
This works surprisingly well with some additional fixes.
Devices with this firmware limitation are still unable to use aarch64
binaries, but at least we can run mainline on them!
2019-12-24 03:14:54 +03:00
Minecrell
403ddcc037
main/linux-postmarketos-qcom-msm8916: upgrade to 5.5-rc3 (!824)
- Rebase on Linux 5.5-rc3
- Add display, touchscreen and GPIO keys for samsung-gt510wifi
- Add vibrator for wileyfox-crackling
- Zinitix touchscreen improvements (used in samsung-a3ulte)
- Upstreamed several patches
2019-12-23 16:40:11 +01:00
lambdadroid
686d7b4792
main/linux-postmarketos-qcom-msm8916: upgrade to v5.4-rc2-msm8916 (!669)
[ci:skip-build]: already built successfully in CI
2019-10-09 23:30:55 +02:00
lambdadroid
e80aabe73f
soc-qcom-msm8916: Add common packages for mainline MSM8916 devices (!582)
Add main/linux-postmarketos-qcom-msm8916 as shared mainline kernel
for all MSM8916 devices.
2019-08-31 19:47:15 +02:00