Commit graph

1499 commits

Author SHA1 Message Date
Oliver Smith
c48037d5ed
pine64-pinephone: add deviceinfo_dev_internal_storage (MR 1820) 2021-01-27 16:11:44 +01:00
Clayton Craft
22a5e4dda5
device-purism-librem5: upgrade to 1.11 (MR 1896)
- Upgrade librem5-base to v33
- Include the haptic vibration driver in initfs for supporting osk-sdl's
  haptic feedback feature
- remove gps udev rule in pmaports in favor of using rule from
  librem5-base
- install modem audio udev rule from librem5-base
- add openrc service for putting device into 'ship mode' on shutdown
  (prevents battery from slowly draining)
- include Evergreen/r4 dtb in /boot
- Fix audio with port of ucm config to ucm2 (patch submitted upstream
  here: https://source.puri.sm/Librem5/librem5-base/-/merge_requests/214)
2021-01-27 15:36:21 +01:00
Martijn Braam
67706609f9
device/motorola-osprey: switch to mainline (MR 1872) 2021-01-27 13:45:24 +01:00
Stefan
c395f9c94b
samsung-zerofltexx: new device Samsung Galaxy S6 (G920F) (MR 1865)
Port based on an unofficial LineageOS port
from https://www.los-legacy.de/17.1/zerofltexx, using kernel from https://github.com/Exynos7420/android_kernel_samsung_exynos7420/

What works:
- Kernel boots
- Display and touch input (tested with Weston)
- USB networking

Note: I removed camera support in kernel config for now, as there were related kernel crashes.
Wifi doesn't work either yet because the firmware dependencies/paths need to be fixed first.
2021-01-27 10:51:02 +01:00
Caleb Connolly
144b88ef16
device/testing/device-oneplus-fajita: override phosh scaling (MR 1861) 2021-01-27 10:45:59 +01:00
Caleb Connolly
2d0c5adc2d
device/testing/device-oneplus-enchilada: override phosh scaling (MR 1861)
When installing phosh UI, add /etc/phosh/rootston.ini to increase
scaling.
2021-01-27 10:45:59 +01:00
jenneron
4b7706d562
lenovo-a6010: new device (MR 1748) 2021-01-27 10:37:37 +01:00
jenneron
407911ab1a
lenovo-a6000: new device (MR 1898) 2021-01-27 10:25:07 +01:00
Bart Ribbers
be2f27a342
pine64-pinephone: re-add checksums
Not sure how I missed that one, and here I was wondering why CI was
broken
2021-01-27 10:19:29 +01:00
Nikita Travkin
b9af242f4f
wileyfox-crackling: updates for 5.11 kernel (MR 1871)
Change modules included in initfs, remove "no charging" note for
mainline kernel.
2021-01-27 10:09:01 +01:00
jonathan
332b6b5d6e
bq-paella: add truly display panel to initfs, update dtb paths (MR 1871) 2021-01-27 10:09:00 +01:00
Minecrell
ac1a2e71f2
xiaomi-wt88047: add new panel modules for 5.11-rc3 (MR 1871) 2021-01-27 10:09:00 +01:00
Minecrell
7bef094fae
{bq-paella,wileyfox-crackling,xiaomi-wt88047}: remove modprobe.conf (MR 1871)
The modprobe.conf is not necessary on those devices because they already
load the panel module using deviceinfo_modules_initfs. Let's skip the
modprobe.conf in that case so we don't need to add all panels in two places.
2021-01-27 10:09:00 +01:00
Bart Ribbers
71c3d3cc90
pine64-pinephone: change permissions of flashlight so PlaMo can toggle it (MR 1894)
A hack shamelessly stolen from Manjaro. Plasma Mobile runs in the user
session and needs direct access to the sys entries of the flashlight to
be able to toggle it in the GUI

[skip ci] Broken, thinks there is an unreferenced file while there is
not
2021-01-27 10:03:33 +01:00
Oliver Smith
4b8f37e46e
pine64-pinephone: move shelli alsa cfg to subpkg (MR 1902)
Move the shelli-specific alsa config from MR 1741 into a subpackage that
only gets installed together with shelli.

With the config installed, programs using alsa instead of pulseaudio,
can't be controlled through the volume setting in Phosh anymore (and
probably other UIs too). Shelli doesn't use pulseaudio.

Change the path of the config file like in MR 1877, so it's easier to
override it if necessary.

While at it, improve the APKBUILD slightly by fixing the install_if of
the phosh subpkg (should depend on =$pkgver-r$pkgrel, see APKBUILD
reference), and fix long lines.
2021-01-27 09:29:03 +01:00
Clayton Craft
afe338cee4
linux-purism-librem5: upgrade to 5.9.16+librem5.2 (MR 1904)
Upstream changelog:
ef903bb16a
2021-01-27 09:26:18 +01:00
Simon Brand
a1129ee0a1
samsung-kccat6: new device (MR 1842) 2021-01-25 11:32:48 +01:00
Henrik Grimler
1c99082f9d
device-samsung-chagallwifi: use msm-fb-refresher (MR 1884)
With this package the display works, and touch mostly works.

[ci:skip-build]: already built successfully in CI
2021-01-24 15:04:12 +01:00
Henrik Grimler
3cb681bc87
firmware-samsung-chagall: add wifi fw pkg for exynos5420 tablets (MR 1884)
Should work for at least chagallwifi and chagalllte, probably some
other models as well.
2021-01-24 15:00:25 +01:00
Henrik Grimler
0bb64c2e96
linux-samsung-chagallwifi: fix kernel boot problem (MR 1884)
Simply disabling FIMC IS does not work however due to compilation
errors and a null pointer dereference.  01-fix-FIMC-IS-disabling.patch
takes care of this.

As with other exynos devices some additional things had to be disabled
to make the kernel compile after FIMC IS had been disabled,
specifically:

CONFIG_CAMERA_EEPROM
CONFIG_VIDEO_EXYNOS_MIPI_CSIS
CONFIG_LEDS_MAX77803

Apart from that we also have:

02-netfilter-symbols.patch, which fixes another compilation error.

03-usb_gadget-set-random-rndis-host-MAC-address-to-prev.patch (taken
from another device) which prevents host mac address being set to
00:00:00:00:00.

Kernel sources have been changed to the lineage-16.0 branch in the
exynos5420 repo, as that is where development happens at the moment.
2021-01-24 15:00:20 +01:00
Stanislav Jakubek
e3e31a5617
samsung-kyleprods: new device (Samsung Galaxy S Duos 2) (MR 1885) 2021-01-24 11:29:37 +01:00
Clayton Craft
6db0e21df7
device-purism-librem5: add udev rule for toggling wifi PM on charger change (MR 1863) 2021-01-11 23:34:23 -08:00
Clayton Craft
6606d81688
device-pine64-pinephone: add udev rule for toggling wifi PM on charger change (MR 1863) 2021-01-11 23:30:17 -08:00
Stephan Hilb
0c4c50d071
htc-pme: new device (HTC 10, 2016) (MR 1860)
based off from lineage os, manages to boot including ssh over usb.

had to disable:

  CONFIG_HTC_RADIO_SMEM
  CONFIG_HTC_MODEM_NOTIFIER
  CONFIG_MSM_SMP2P
  CONFIG_UIO_MSM_SHAREDMEM

[ci:skip-build]: already built successfully in CI
2021-01-11 23:52:40 +01:00
ignapk
e13377c1ef
huawei-warsaw: new device (MR 1848)
[ci:skip-build]: already built successfully in CI
2021-01-11 23:42:36 +01:00
Clayton Craft
3a6500492e
device-pine64-pinephone: enable eg25-manager in post-upgrade (MR 1867)
On existing installs of pmOS, the service should also be enabled...
2021-01-10 12:36:39 -08:00
Max Buchholz
cc3e4a1812
trekstor-surftabduow1: new device (MR 1827) 2021-01-09 14:26:25 +03:00
clayton craft
d0588c4046
device-pine64-pinephone: do not rely on modem-power from kernel (MR 1815)
This adds eg25-manager for managing modem power in userspace instead of
relying on the modem-power stuff in the kernel. The userspace
eg25-manager has proven to be more reliable than using modem-power.

An older setup-modem script is installed for ofono, since eg25-manager
cannot interface with ofono (yet).

The eg25 init script was removed since it only dealt with configuring
the modem-power driver in the kernel

[ci:skip-build]: already built successfully in CI
2021-01-08 15:28:11 -08:00
Richard Qian
0688e7b9ab
lg-d851: New device LG G3 (T-Mobile) (MR 1762)
[ci:skip-build]: already built sucessfully in CI
2021-01-08 00:12:40 -08:00
BO41
53fc41e7d0
huawei-kiwi: rework to use mainline kernel (MR 1826)
[ci:skip-build]: already built successfully in CI
2021-01-08 00:07:57 -08:00
BO41
ea96c354c0
huawei-kiwi: add firmware (MR 1826)
[ci:skip-build]: already built successfully in CI
2021-01-08 00:07:57 -08:00
begs
8c39c913d1
samsung-superior: new device (Samsung Galaxy Premier) (MR 1852)
[ci:skip-build]: already built successfully in CI
2021-01-08 00:12:07 +01:00
Error1000
8f994d8c34
samsung-jxelte: new device (MR 1853) 2021-01-07 12:37:06 +01:00
Henrik Grimler
a2b1accbc0
linux-samsung-dream: fix issue with swapped red and blue colors (MR 1843) 2021-01-05 22:18:08 +03:00
Henrik Grimler
4d327313e4
device-samsung-dream: use minimal initfs-hook (MR 1843)
Instead of running the entire setup_usb_network_configfs function we
run the parts that are actually necessary for
setup_usb_network_android to succeed when it is run afterwards.
2021-01-05 22:18:04 +03:00
Bastiaan Teeuwen
b4760587b7
samsung-jfvelte: new device (MR 1841)
USB networking, Touchscreen and display are working.
CONFIG_SND_SOC_QDSP6V2 is omitted from kernel config for now as the resulting driver fails to build.
2021-01-05 16:18:30 +03:00
clayton craft
6410ab3fe5
linux-purism-librem5: upgrade to 5.9.15 (MR 1836)
Upstream changelog:
868f3eb852

Suspend is also disabled in the kconfig, since it is not
supported/working on this device

[ci:skip-build]: already built successfully in CI
2020-12-28 15:34:10 +01:00
Ion Agorria
02c6181e57
device-asus-tf101: Update blobtools to new name (MR 1803) 2020-12-28 15:04:12 +01:00
El Koulali András
0141b19438
samsung-coreprimevelte: new device (MR 1823)
[ci:skip-build]: already built successfully in CI
2020-12-27 21:39:44 -08:00
Newbyte
f85d5fa3fd
htc-golfu: new device (MR 1824)
[ci:skip-build]: already built successfully in CI
2020-12-27 19:22:05 -08:00
SUNGOLDSV
c7368d68c6
xiaomi-ferrari: update and add more firmware blobs (MR 1829) 2020-12-27 22:43:36 +01:00
Caleb Connolly
64b8f211f4
linux-oneplus-sdm845: update to v5.10 (MR 1828)
Enable support for f2fs, btrfs and XFS. Rebase on the 5.10 release!

[ci:skip-build]: already built successfully in CI
2020-12-22 21:31:26 -08:00
alter0ne
690d55512e
acer-swing: new device (MR 1513)
[ci:skip-build]: already built successfully in CI
2020-12-20 15:40:42 +01:00
JuniorJPDJ
1e1d6a7ee3
lg-hammerhead: firmware: use google URLs, add BT (MR 1818) 2020-12-20 13:21:27 +01:00
Nihal Jere
65c0da83a0
testing/linux-motorola-channel: upgrade to 4.9.206 (MR 1817)
[ci:skip-build]: already built successfully in CI
2020-12-19 22:08:34 -08:00
Sireesh Kodali
efd7a047bd
device/linux-motorola-potter: remove aport (MR 1796)
potter now uses linux-postmarketos-qcom-msm8953

[ci:skip-build]: already built successfully in CI
2020-12-18 18:15:31 -08:00
Sireesh Kodali
b581147c0b
motorola-potter: switch to linux-postmarketos-qcom-msm8953 (MR 1796)
* add optional nonfree-firmware dependency
* drop downstream kernel

[ci:skip-build]: already built successfully in CI
2020-12-18 18:15:31 -08:00
Sireesh Kodali
8e5edb3858
firmware/firmware-motorola-potter: new aport (MR 1796)
[ci:skip-build]: already built successfully in CI
2020-12-18 18:15:31 -08:00
Timon Baetz
d7d5424b5d
device/testing/linux-samsung-i9100-mainline: remove (MR 1794)
i9100 now uses shared exynos4 kernel

[ci:skip-build]: already built successfully in CI
2020-12-14 23:49:36 -08:00
Timon Baetz
622bf040ab
device-samsung-i9100: use exynos4 as mainline kernel (MR 1794)
While at it, remove deviceinfo_dev_touchscreen and set DATAFS as system
partition.

[ci:skip-build]: already built successfully in CI
2020-12-14 23:49:28 -08:00
devajithvs
4113502ad4
firmware-asus-z010d: fix incorrect url (MR 1808) 2020-12-13 15:53:44 +05:30
devajithvs
4f5bad9ce5
device-asus-z010d: enable modem (MR 1808) 2020-12-13 15:44:22 +05:30
HenriDellal
97ec465822
samsung-j3xnlte: port rename (MR 1805)
[ci:skip-vercheck]
[ci:skip-build]: already built successfully in CI
2020-12-12 03:26:18 +01:00
HenriDellal
d6eeae1ee4
samsung-j3nxlte: port improvements (MR 1787)
Changes:
- Depends on soc-sprd-audio-sc8830 package for audio support
- Includes fixes for X11 and color mode
- Switches to dtbtool-sprd

[ci:skip-build] Already built fine on CI in a MR
2020-12-07 17:15:37 +03:00
Luca Weiss
5d41f51909
linux-t2m-flame: use devicepkg-dev (MR 1751)
[ci:ignore-count]
[ci:skip-build]: already built successfully in CI
2020-12-07 09:45:08 +01:00
Luca Weiss
1a5b9a2937
linux-oneplus-bacon: use devicepkg-dev (MR 1751) 2020-12-07 09:44:59 +01:00
Luca Weiss
0179168f64
linux-lg-d285: use devicepkg-dev (MR 1751) 2020-12-07 09:44:59 +01:00
Luca Weiss
af9df7a7dc
linux-samsung-i9300: use devicepkg-dev (MR 1751) 2020-12-07 09:44:59 +01:00
Luca Weiss
ee14ec3272
linux-samsung-n7100: use devicepkg-dev (MR 1751) 2020-12-07 09:44:59 +01:00
Luca Weiss
1212611108
linux-motorola-osprey: use devicepkg-dev (MR 1751) 2020-12-07 09:44:58 +01:00
Luca Weiss
3bf72cb6ae
linux-motorola-titan: use devicepkg-dev (MR 1751) 2020-12-07 09:44:58 +01:00
Luca Weiss
1e07f880eb
linux-lg-d855: use devicepkg-dev (MR 1751) 2020-12-07 09:44:58 +01:00
Luca Weiss
5d12c429ce
linux-huawei-angler: use devicepkg-dev (MR 1751) 2020-12-07 09:44:58 +01:00
Luca Weiss
9744317cce
linux-htc-ace: use devicepkg-dev (MR 1751) 2020-12-07 09:44:58 +01:00
Luca Weiss
f283ebe709
linux-lg-lenok: use devicepkg-dev (MR 1751) 2020-12-07 09:44:53 +01:00
Gianluca Boiano
98db972307
linux-xiaomi-vince: update kernel to 4.9.247 (MR 1793)
[ci:skip-build]: already built successfully in CI
2020-12-06 20:45:51 -08:00
Luca Weiss
de9b5d3c21
pine64-pinetab: move to community (MR 1753)
[ci:skip-build]: already built successfully in CI
2020-12-06 18:06:31 -08:00
clayton craft
e067004579
linux-purism-librem5: upgrade to 5.9.12+purism5.1 (MR 1791)
[ci:skip-build]: already built successfully
2020-12-06 18:01:13 -08:00
HenriDellal
19c7fd692f
samsung-gts210ve{lte,wifi}: disable SEC_RESTRICT_ROOTING (MR 1786)
SEC_RESTRICT_ROOTING is a Samsung-specific option,
which makes unable to get root permissions
on the device.
Needed for postmarketos/pmbootstrap!2000 to be merged.

[ci:skip-build] Builds fine locally
2020-12-06 18:27:27 +03:00
Craig Comstock
c3078f5e97
pine64-pinephone: add default alsa config (MR 1741)
For use with or without pulseaudio.
2020-12-04 13:24:01 +01:00
mimi89999
bb2a0d945e
samsung-a3y17lte: new device (Samsung A3 2017) (MR 1784) 2020-12-04 11:59:44 +01:00
Bart Ribbers
c981d35ce6
pine64-pinephone: move from community to main (MR 1752)
First actual phone in main 🎉
Fits the requirements for main devices as listed on
https://wiki.postmarketos.org/wiki/Device_categorization.
2020-12-02 02:30:13 +01:00
dominduchami
77c0bf245f
device/htc-leo: enable wifi (MR 1767) 2020-12-01 16:58:49 +01:00
clayton craft
15a07ac74c
device-pine64-pinephone: add craftyguy as co-maintainer (MR 1765)
I have been working a lot with this device lately, and own one, so it
seems appropriate right‽

[ci:skip-build]: already built successfully in CI
2020-11-27 22:20:03 -08:00
clayton craft
4915578771
device-pine64-pinephone: fix audio after pulseaudio upgrade (MR 1765)
After pulseaudio 14.0 was released, audio on the pinephone was broken.
This applies the relevant config from here to fix it:
c23f92aa46

[ci:skip-build]: already built successfully in CI
2020-11-27 22:19:52 -08:00
devajithvs
03a96f0f28
asus-z010d: new device (MR 1757)
Device: Asus Zenfone Max ZC550KL
MSM8916
Mainline Kernel

Works:
- Boots
- external sdcard
- Wifi/bt
- Display
- Touchscreen

I'm still working on this device. You can expect more things to work in
the future.
2020-11-27 14:27:41 +01:00
Minecrell
b3248bfd32
device/community/soc-qcom-msm8916: fix regressions after PA update (MR 1760)
New upstream ALSA/PulseAudio release, new UCM regressions - of course!
Introduce some new hacks to make the ALSA UCM configurations work again.

This fixes weird "Combination of Speaker,Primary Microphone" outputs
appearing in the PulseAudio mixer.

And while we're at it, some minor improvements/additions:

  - Default to Speaker/PrimaryMic instead of Headphones/Headset
    I believe this is just a workaround until headphones detection
    works properly.

  - Add UCM configurations for oppo-a51f and lenovo-a6010
2020-11-26 11:45:14 +01:00
M0Rf30
0a20973d44
linux-xiaomi-vince: Update to 4.9.245 (MR 1749)
[ci:skip-build]: already built successfully in CI
2020-11-24 12:00:45 +01:00
Alexey Min
8bc2cacd9f
device-samsung-klte: several small fixes (MR 1746)
* Mainline kernel: enable installation of Wi-Fi firmware.
  Now that we have Wi-Fi support in mainline kernel, use it.
* Mainline kernel: adjust description of mainline kernel
  subpackage; we still cannot recommend it over downstream,
  but it is not so experimental anymore.
* Downstream kernel: add workaround for broken SSH:
  use dropbear instead of openssh server. See #808
  https://gitlab.com/postmarketOS/pmaports/-/issues/808
2020-11-23 11:57:56 +01:00
DX37
252466cb17
wexler-qc750: new device (MR 1742)
Hello there, DragonX256 here.
For now, this tablet only have flashing, USB net, display and touchscreen.
I will try to add other features soon, or, if I fail enough, switch to mainlining immediately :D
2020-11-20 14:25:30 +01:00
BO41
12f6a1ecd3
huawei-kiwi: new device (Huawei Honor 5X) (MR 1739)
[ci:skip-build]: already built successfully in CI
2020-11-20 13:43:32 +03:00
Daniele Debernardi
99438870d6
samsung-dream: new device (Samsung Galaxy S8/S8+) (MR 1725) 2020-11-19 04:29:35 +03:00
Luca Weiss
959bbaaffe
treewide: remove unused files (MR 1731)
These files aren't references by any APKBUILD, delete them.
2020-11-18 11:24:01 +01:00
Adam
af03173738
xiaomi-mido: rework to use mainline kernel (MR 1717)
[ci:skip-build]: already built successfully in CI
2020-11-18 09:04:01 +01:00
Dylan Van Assche
9d0c1b48d8
Set voice call playback rate to 8000 Hz, closes #864 (MR 1711) 2020-11-14 00:46:37 -08:00
Bart Ribbers
5fc992cf52
device/testing/device-bq-paella: drop, not sure how that ended up there 2020-11-13 13:28:42 +01:00
Bart Ribbers
787c730c1b
cross/busybox-static-*: upgrade to 1.32.0-r4 2020-11-13 13:16:22 +01:00
Ash
0cad340c13
xiaomi-daisy: new device (Xiaomi Mi A2 Lite) (MR 1697) 2020-11-13 10:20:16 +01:00
Bart Ribbers
bb41f53879
pine64-pinephone: clean setup-modem.sh script (MR 1701)
Since we now use the in-kernel modem driver of Megi's 5.9 kernel, the
majority of the setup script has become unnecessary. Remove all the now
unnecessary commands and keep it just for enabling VoLTE auto profile
selecting

https://megous.com/git/linux/tree/drivers/misc/modem-power.c?h=orange-pi-5.10#n531
https://megous.com/git/linux/tree/drivers/misc/modem-power.c?h=orange-pi-5.10#n580
https://megous.com/git/linux/tree/drivers/misc/modem-power.c?h=orange-pi-5.10#n610
2020-11-13 01:08:58 -08:00
clayton craft
5a7962685e
purism-librem5: set deviceinfo_mesa_driver (MR 1625) 2020-11-12 23:42:39 -08:00
Oliver Smith
1617d7a35c
pine64-pinetab: set deviceinfo_mesa_driver (MR 1625) 2020-11-12 23:42:38 -08:00
Luca Weiss
58f06f8b91
fairphone-fp2: set deviceinfo_mesa_driver to get fast osk-sdl (MR 1625)
we also have to install the gpu firmware into the initramfs
2020-11-12 23:42:38 -08:00
Luca Weiss
870db09b50
pine64-pinephone: set deviceinfo_mesa_driver to get fast osk-sdl (MR 1625) 2020-11-12 23:41:29 -08:00
dzmitry
97a88d030b
samsung-a5y17lte : use gcc6 for wifi module (MR 1698)
Fall back to gcc6, because wlan module compiled with gcc10 fails to
initialize with `module wlan: overflow in relocation type 261 val ffffffbffc000000`
error.
Explicitly add gcc-aarch64 in makedepends, because of gcc6 present, seems
like gcc dependencies  not resolved correctly

[ci:skip-build]: already built successfully in CI
2020-11-12 08:29:51 +01:00
VDavid003
29c004310f
samsung-jackpotlte: Add WiFi firmware (MR 1664)
[ci:skip-build]: already built successfully in CI
2020-11-12 08:26:28 +01:00
VDavid003
35e50b29f7
samsung-jackpotlte: Add new device (Samsung Galaxy A8 (2018)) (MR 1664) 2020-11-12 08:26:09 +01:00
Thiago Foganholi
dde69343ef
samsung-i9300: fix lint msgs for downstream kernel (MR 1634) 2020-11-11 14:35:20 +01:00
Thiago Foganholi
3057a029b5
samsung-i9100: Use Exynos4 mainline kernel (MR 1634) 2020-11-11 14:35:20 +01:00
Thiago Foganholi
637f9d2e86
samsung-i9305: Rename packages to samsung-i9300 (MR 1634)
The existing device package and its dependencies are for i9305, but
renaming them to i9300 makes more sense, as the i9300 is the base
version (SIII) and the i9305 (SIII LTE) is the improved version.
2020-11-11 14:35:20 +01:00
Thiago Foganholi
42fda5098b
samsung-i9305: Add multiple-kernel configuration (MR 1634)
With a new mainline kernel package available for this device, add a new
package dependency and allow the user to choose downstream or mainline
kernel.
2020-11-11 14:35:20 +01:00
Luca Weiss
b5895c0e19
linux-htc-memul: fix strace (MR 1690)
[ci:skip-build]: already built successfully in CI
2020-11-11 13:11:46 +01:00
Luca Weiss
6d0e79bbdb
linux-fairphone-fp2: fix strace & elogind (MR 1690) 2020-11-11 13:11:38 +01:00
Luca Weiss
863240f6c7
device-fairphone-fp2: configure serial console for downstream kernel (MR 1690) 2020-11-11 13:11:33 +01:00
Luca Weiss
51a635d236
device/testing/linux-*: remove unused compiler-gcc6.h files (MR 1696)
These haven't been used since converting the APKBUILDs to use
devicepkg-dev, so remove them.

[ci:skip-build]
[ci:ignore-count]
[ci:skip-vercheck]
2020-11-10 10:27:23 +01:00
Luca Weiss
c3fb621111
device/testing/linux-*: deduplicate timeconst patch (MR 1695)
[ci:skip-build]
[ci:ignore-count]
[ci:skip-vercheck]
2020-11-10 10:25:55 +01:00
clayton craft
fb42b3b601 device-purism-librem5: upgrade to 1.8 (MR 1689)
- Upgrade librem5-base config
        - add goodix touch input and edx touchscreen drivers to
          deviceinfo/initramfs
2020-11-10 02:58:12 +00:00
clayton craft
b721b442e6 linux-purism-librem5: upgrade to 5.9.5 (MR 1689) 2020-11-10 02:58:12 +00:00
Martijn Braam
a853105c74
device-pine64-pinetab: fix too long uboot setenv 2020-11-06 16:29:33 +01:00
Martijn Braam
25399a1136
device-pine64-pinetab: force partition resize on boot (MR 1685)
Since the installer leaves the partition in a state where the initramfs
needs to resize it. But without the force parameter the postmarketOS
initramfs won't touch the partitions
2020-11-06 14:01:29 +01:00
Luca Weiss
81f8ca8e77
device/testing/linux-*: get building again (MR 1684)
Mostly the GCC10 yylloc failure was seen but several others have been
observed:

* wireguard script was silently failing
* several gcc10 x86 errors
* a checksum from kernel.org has changed

Now we have 3 different gcc10 yylloc patches:

gcc10-extern_YYLOC_global_declaration.patch:
    Linux < 4.2

linux4.2-gcc10-extern_YYLOC_global_declaration.patch:
    Linux 4.2+

linux4.17-gcc10-extern_YYLOC_global_declaration.patch:
    Linux 4.17+

[ci:skip-build]
[ci:ignore-count]
[ci:skip-vercheck]
2020-11-05 09:55:11 +01:00
Richard Qian
95c008a545
acer-picasso: Upgrade kernel to 5.10.0-rc1 (MR 1675)
[ci:skip-build]: already built successfully in CI
2020-11-04 10:43:14 +01:00
Dominduchami
59c6a25c36
htc-leo: new device (MR 1666) 2020-11-02 16:17:08 +01:00
Henrik Grimler
7bdce27e31
linux-samsung-chagallwifi: switch kernel sources (MR 1672)
With these kernel sources the device boots successfully,
sometimes. Usually, kernel panics and device reboots a couple of
times, but after a few attempts (maybe 1, maybe 7) it succeeds to
boot. The problems seem to be related to FIMC IS, unfortunately it
does not seem to be possible to just disable it in the kernel config,
as that leads to compilation errors.

I have so far just experimented with getting wifi up and running, but
it does not work out of the box even after adding firmware package
with files from TheMuppets, wpa_supplicant fails to connect and dmesg
is filed with lines like:

```
[  112.509235]  [L0: wl_event_handle:  3109] CFG80211-INFO2) wl_escan_handler : Couldn't find P2PIE in probe response/beacon
```

[ci:skip-build]: already built successfully in CI
2020-11-02 11:10:12 +01:00
Clayton Craft
38607b7f12
device-purism-librem5: select dtb based on device rev (MR 1673)
[ci:skip-build]: already built successfully in CI
2020-11-02 09:07:26 +01:00
Clayton Craft
48d1727d15
linux-purism-librem5: upgrade to 5.9.1 (MR 1673)
This also includes a patch from Purism that is the best workaround so
far for the hang that plagues Dogwood phones.
2020-11-01 19:15:42 -08:00
Oliver Smith
a09cd2ada8
lg-mako: fix elogind not starting (MR 1606)
[ci:skip-build]: CI times out. According to z3ntu, all of them build
		 fine.
2020-10-30 18:27:31 +01:00
Luca Weiss
ce501c83a2
device/*: share Linux 3.4 patch for elogind not starting (MR 1606) 2020-10-30 18:27:02 +01:00
Luca Weiss
813a78a74f
linux-sony-eagle: fix compile with gcc10 (MR 1606) 2020-10-30 18:27:02 +01:00
Luca Weiss
fdacb76e7e
linux-alcatel-pop7lte: fix compile with gcc10 (MR 1606) 2020-10-30 18:27:02 +01:00
Luca Weiss
49566d48bd
linux-huawei-y530: fix compile with gcc10 (MR 1606) 2020-10-30 18:27:02 +01:00
Luca Weiss
6ec15b58ee
linux-samsung-ms013g: fix compile with gcc10 (MR 1606) 2020-10-30 18:27:02 +01:00
Minecrell
421095284a
device/community/soc-qcom-msm8916: fork alsa-ucm-conf entirely (MR 1655)
Upstream keeps making breaking changes in patch releases.
Let's fork alsa-ucm-conf entirely for now instead of just patching
in some files to ensure that these files don't break every few months.

This fixes audio on MSM8916 devices when not using the modem.
2020-10-30 17:10:18 +01:00
clayton craft
737f33e561
pine64-pinephone: add workaround for purging the -elogind subpackage (MR 1660)
This subpackage was removed when a proper fix for suspend was merged,
however apk doesn't know to purge this subpackage, so the old elogind
hook workaround stuck around. This workaround could probably be removed
once we're sure all folks on edge have installed this upgraded package
with the 'provides'...
2020-10-28 22:34:56 -07:00
Martijn Braam
07a7853b50
device-pine64-pinephone: add autofocus firmware (MR 1656)
[ci:skip-build]: already built successfully in CI
2020-10-28 11:57:32 -07:00
Pedro Moreno
e4366d5f8a
Pinephone: Fix excessive mic noise on call (MR 1652)
Fix ucm2 settings to lower mic boost and increase mic volume.

Fixes: #720
2020-10-28 11:45:02 -07:00
Bhushan Shah
378904d076
device-pine64-pinephone: remove the elogind hook (MR 1651)
musb_hrdc bug is fixed properly with kernel patch, so we do not need to
do this bind/unbind dance anymore.

This partially reverts commit f7d743a213.
2020-10-27 13:58:34 +05:30
32Linux
ebc26c92e2
wiko-ufeel: fix wifi firmware path (MR 1609)
[ci:skip-build]: already built successfully in CI
2020-10-26 11:33:31 +01:00
Andrei Ostanin
628f799ab2
xiaomi-libra: new device (MR 1454) 2020-10-26 09:17:02 +01:00
clayton craft
f7d743a213
device-pine64-pinephone: fix suspend with elogind (MR 1636)
- re-enable console suspend, which seems to be broken with elogind when
  suspending (kernel gets hung up indefinitely in vt_waitactive)

- add a suspend hook to work around the musb driver not allowing the
  device to suspend

Based on my testing, this option seems to prevent suspending via
elogind (using `loginctl suspend`). When console suspend is disabled,
the kernel gets hung up in the call to vt_waitactive, and elogind times
out trying to suspend.
2020-10-25 11:17:34 -07:00
Minecrell
8a36bb744e
oneplus-oneplus3(t): explicitly install + activate qrtr-ns (MR 1640)
qrtr-ns is now part of the Linux kernel (as of version 5.9), so
there is no need to start it in userspace anymore. It does not seem
to be needed (or working) on downstream either.

linux-postmarketos-qcom-msm8996 is the only mainline kernel which
is still on < 5.9. In preparation to make the qrtr dependency optional
for rmtfs, let's explicitly enable qrtr-ns for MSM8996 devices to avoid
causing regressions.
2020-10-25 18:34:29 +01:00
Caleb Connolly
4dd597d8a0
linux-oneplus-sdm845: update to 5.9 (MR 1635)
Update to kernel 5.9 with the following changes:
* Change tri-state key to macro keys instead of 'A', 'B' and 'C' keys.

[ci:skip-build]: already built successfully in CI
2020-10-20 22:30:55 +02:00
Hendrik Borghorst
86adf2a7ce
pine64-pinetab: provide choice of panel and fix audio (MR 1614)
* add LCD panel type selection
* adjust alsa configs

Signed-off-by: Hendrik Borghorst <hendrikborghorst@gmail.com>
Co-Authored-By: Martijn Braam <martijn@brixit.nl>
Co-Authored-By: Oliver Smith <ollieparanoid@postmarketos.org>
2020-10-20 18:02:24 +02:00
Oliver Smith
517f905b84
pine64-pinephone: update devicepkg for 5.9 kernel (MR 1614)
* update modem init for modem_power
* adjust alsa configs
* remove obsolete megapixels config file

Related: https://xnux.eu/log/#020
Co-Authored-By: Martijn Braam <martijn@brixit.nl>
2020-10-20 18:02:24 +02:00
WTechNinja
25a0dbe27d
samsung-gprimeltecan: new device (MR 1401) 2020-10-13 21:16:24 +02:00
Otto Urpelainen
97fa300bc7
sony-tuba: new device (Sony Xperia XA) (MR 1613)
Initial support for Sony Xperia XA (codename: sony-tuba). Builds, can be
flashed, ssh connection through usb works, display works, touchscreen works,
no wifi or anything else.
2020-10-13 10:07:59 +02:00
Thiago Foganholi
a248ec3e55
Remove armhf from firmware-samsung-i9305 (MR 1631)
As the device samsung-i9305 was updated to armv7, there is no need to
keep the armhf architecture on the firmware package anymore.
2020-10-13 10:04:42 +02:00
Thiago Foganholi
7fc133578e samsung-i9305: Update architecture to armv7
According to the wiki pages, some interfaces can't be built for the
armhf architecture. This device is configured to armhf but it actually
supports armv7 architecture. Tested with a samsung-i9300.
2020-10-13 10:04:35 +02:00
clayton craft
bdf120c6a7
device-purism-librem5: upgrade to 1.6 (MR 1628)
This new version:
        - Upgrades device config from upstream to v25
        - Fixes a problem using modesetting driver on Xorg (lightdm
          was broken because it now uses Xorg)
        - Override GDK to use GLES (change from upstream Purism)
2020-10-08 22:08:35 -07:00
clayton craft
d2cf30ae66
linux-purism-librem5: upgrade to 5.9.0-rc8 (MR 1628) 2020-10-08 22:08:35 -07:00
fengjiongmax
da72051070
motorola-nash: new device (Moto Z2 Force) (MR 1567) 2020-10-08 10:26:18 +02:00
Luca Weiss
ce76c867df
qemu-aarch64: configure getty on serial console (MR 1626) 2020-10-07 21:49:40 +03:00
Luca Weiss
808b73ca43
qemu-amd64: configure getty on serial console (MR 1626) 2020-10-07 21:49:36 +03:00
Martijn Braam
879bd336b7 device/pine64-pinephone: remove megapixels config (MR 1587)
(cherry picked from commit 2ac5e8f90a9f491520b880a98d16a7a4fe0a5c43)
2020-10-07 12:55:20 +02:00
Aphrodite
5ae1207392
oppo-a51f: new device (Oppo Mirror 5s) (MR 1503)
[ci:skip-build]: already built successfully in CI
2020-10-05 20:24:12 +03:00
timbz
0bc009892f
samsung-i9100: fix wifi firmware loading for mainline kernel (MR 1598)
[ci:skip-build]: already built successfully in CI
2020-10-05 14:18:43 +02:00
timbz
93f6b3dab9
samsung-i9100: enable drm backend for weston (MR 1598) 2020-10-05 14:18:24 +02:00
timbz
ffd5fd8b2b
samsung-i9100: add mainline kernel (MR 1598) 2020-10-05 14:18:18 +02:00
Minecrell
c64f29713f
xiaomi-wt88047: add mainline port for Xiaomi Redmi 2 (MR 1604)
Replace the old downstream port with a new aarch64 port running the
linux-postmarketos-qcom-msm8916 close-to-mainline(TM) kernel.
Most of the functionality is working:

  - USB Network
  - Storage (eMMC, SD card)
  - Display, brightness control
  - Touchscreen, buttons
  - IMU (accelerometer+gyroscope)
  - Notification LED
  - Sound (Speaker, Headphones, Microphones)
  - WiFi, Bluetooth
  - Modem (SMS, voice calls, mobile data)

Coming soon (hopefully): Battery/Charging, USB-OTG (not working yet)

There are many variants of the device, so more changes to handle
differences between them may be needed in the future. For now,
the only relevant difference is the required modem firmware:

  - wt88047 (global variant)
  - wt86047 (China variant)

... have different kind of modems and they do not seem to work with
the firmware of the other one. The way this is handled in this device
package is that there is a separate kernel variant for both of them.
All other required firmware can be shared, and therefore there is no
differentiation needed when using the kernel variant without modem.

I renamed "wingtech-wt88047" to "xiaomi-wt88047".
My reasoning for that is the following:

  - Wingtech is the ODM (original design manufacturer), they designed the
    hardware and (probably) manufactured it. But postmarketOS port applies
    to the combination of both hardware and firmware, and the firmware was
    at least partially provided by Xiaomi.

  - wt88047 looks lonely with the "wingtech" vendor, when all other Xiaomi
    devices use "xiaomi", even though many from them were probably also
    designed by Wingtech.

  - We don't use the ODM hardware name for other devices either, e.g.
    "wileyfox-crackling" would be "longcheer-l8150" with the same approach.

I think the port is better visible as "xiaomi-wt88047" (too bad Xiaomi
seemingly did not have a proper codename for this device...)
2020-10-05 04:00:56 +03:00
Minecrell
7ab48c472a
wingtech-wt88047: remove downstream device port (MR 1604)
In preparation for adding mainline device port for Xiaomi Redmi 2
(wt88047), remove the downstream device port. It's still armhf
which makes it clear that it hasn't been tested for a long time.

The mainline port has many more features, also it is aarch64, which
is not compatible with the downstream kernel.
2020-10-05 04:00:56 +03:00
Minecrell
e9925b4a72
device/community/soc-qcom-msm8916: update ALSA UCM configurations (MR 1603)
- Add UCM configuration for Xiaomi Redmi 2 (wt88047)
- Add UCM configuration for Xiaomi Redmi Note 4 (xiaomi-mido)
- Some fixes to UCM configuration for BQ Aquaris X5 (bq-paella)
2020-10-05 02:16:19 +03:00