Commit graph

267 commits

Author SHA1 Message Date
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
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
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
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
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
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
Martijn Braam
879bd336b7 device/pine64-pinephone: remove megapixels config (MR 1587)
(cherry picked from commit 2ac5e8f90a9f491520b880a98d16a7a4fe0a5c43)
2020-10-07 12:55:20 +02: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
Minecrell
2c491df415
bq-paella: enable splash screen (MR 1602)
Actually the display has been working in initramfs since MR 1261
(device-bq-paella: enable display and touchscreen on boot).
We should make it explicit in deviceinfo.
2020-09-28 14:49:14 +02:00
Bart Ribbers
f88001e233
firmware-pine64-rtl8723bt: upgrade to 0_git20200705 (MR 1588) 2020-09-18 22:32:07 +03:00
Oliver Smith
1acf66c8bf
pine64-pinephone: add megapixels config (MR 1537)
Copy of https://git.sr.ht/~martijnbraam/megapixels/tree/master/pinephone.ini
Let's do it like with other device specific configs, and put them into
the device package. It's a short file and it looks like it won't change
often.
2020-09-14 22:29:49 +02:00
Ralf Rachinger
583d433d85
device/device-pine64-pinephone: swaps L/R at Headset (MR 1556)
This Patch is needed, because in the kernel the audio from the cpu to the headset gets turned around. We need to turn this around again.
Please revert this if there is a fixed kernel.
2020-09-13 15:00:20 -07:00
Bart Ribbers
ff0929c925
asus-me176: modernize APKBUILD (MR 1538) 2020-09-08 10:09:07 +02:00
Luca Weiss
3720293639
pine64-pinephone: add anx7688 module to initramfs for usb keyboards (MR 1555)
The anx7688 module is needed for any USB devices to probe which we want
in the initramfs for unlocking osk-sdl using a USB-connected keyboard.
2020-09-07 21:19:59 +02:00
Linus Walleij
eb8a6b0cd0
device-nokia-n900: Add Finnish/Swedish keymap (MR 1519)
This adds a Finnish/Swedish key map for the Nokia n900.
The same keymap is used for Finnish and Swedish.

This makes the keyboard work in the console. To fix the
XkbLayout other changes are needed to pmbootstrap.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2020-09-07 18:24:07 +02:00
Danct12
da565bb838
community/firmware-analogix: add new firmware (MR 1421)
Signed-off-by: Danct12 <danct12@disroot.org>
2020-08-19 15:57:25 +02:00
Danct12
11c6587dca
device/*: switch to Alpine Mesa (MR 1496)
[ci:ignore-count]

Signed-off-by: Danct12 <danct12@disroot.org>
2020-08-18 14:53:31 +07:00
Clayton Craft
aaddd13d23
linux-purism-librem5: upgrade to 5.8.0+librem5.1 (MR 1489)
Upstream changelog:
457325eb59
2020-08-11 17:06:46 +02:00
Oliver Smith
dbf4d13907
treewide: avoid "More than one maintainer" error (MR 1480)
Alpine's abuild is soon going to complain if an APKBUILD has more than
one "Maintainer:" listed. Work around it by renaming the additional
maintainers to "Co-Maintainer:". While at it, move the devicepkg reference
link to the top in device-xiaomi-santoni for consistency.

In postmarketOS, we require at least two maintainers for devices in
main, therefore it does not make sense to drop additional maintainers
from the file.

In Alpine, this change was made because pkgs.alpinelinux.org apparently
can't handle more than one maintainer. I looked into it, and it would
require a database change to add it there, so it does not seem worth the
effort. I also thought about extending abuild to add an environment
variable to skip the check, but then the package would not build with
plain abuild without using the env var.

Related: dd4cd9d606
[ci:skip-build] [ci:skip-vercheck]
2020-08-08 22:07:20 +02:00
Bart Ribbers
15acd86d60 pine64-pinephone: enable VoLTE (MR 1434)
Also fix configuring device sleep wakeup when modem receives a call
2020-08-04 12:19:36 +02:00
Clayton Craft
5b603d94c7
linux-purism-librem5: upgrade to 5.7.12+librem5.1 (MR 1474)
Upstream changelog:
7a614767bd
2020-08-03 12:26:46 +02:00
Danct12
76cade06e1
device-pine64-pinephone: make the proximity sensor usable within iio-sensor-proxy (MR 1416)
Signed-off-by: Danct12 <danct12@disroot.org>
2020-07-31 18:03:12 +02:00
Federico Amedeo Izzo
4a0b0e7b18
samsung-serranovelte: fix Phosh scaling (MR 1407)
[ci:skip-build]: already built successfully in CI
2020-07-28 15:34:03 +02:00
Federico Amedeo Izzo
57b59eafb6
samsung-a3ulte: Fix Phosh scaling, make ui elements bigger (MR 1407) 2020-07-28 15:33:08 +02:00
Clayton Craft
25f3534d9b
linux-purism-librem5: upgrade to 5.7.9+librem5.1 (MR 1447)
Upstream changelog:
70f4e814de
2020-07-24 13:37:15 +02:00
Oliver Smith
802add79d4
pine64-pinephone: use PMOS_FORCE_PARTITION_RESIZE (MR 1428)
Automatically resize the root partition, if it is followed by
unallocated space.
2020-07-21 22:53:03 +02:00
Oliver Smith
c19d5dfc26
pine64-pinephone: fix setup-modem.initd (MR 1427)
The OpenRC service failed with the following error, as shown on serial:
	command_background option used but no pidfile specified
2020-07-20 20:17:59 +02:00
Martijn Braam
957dc9356a
pine64-pinephone: add multiple dtbs (MR 1163) 2020-07-16 23:16:17 +02:00
Bart Ribbers
dff419cf10
pine64-pinephone: setup modem to wake device (MR 1163) 2020-07-16 23:14:54 +02:00
Oliver Smith
7463d92293
device/*: clarify "close to mainline" (cosmetic) (MR 1408)
Make it clear, that these kernels are not mainline, but "close to
mainline".

[ci:skip-build] [ci:skip-vercheck]: just changing pkgdesc

Related: https://wiki.postmarketos.org/wiki/(Close_to)_Mainline
2020-07-11 16:06:16 +02:00
Martijn Braam
7743b4a25d
pine64-pinephone: use wys-pinephone (MR 1406) 2020-07-11 12:12:23 +02:00
Dolphin von Chips
f15f71c36f
device/community/firmware-pine64-rtl8723bt: add missing "replaces=" (MR 1400)
Package got renamed and "provides" wasn't added, so right now
`apk upgrade -a` with firmware-rtl8723bt installed results in
`ERROR: firmware-pine64-rtl8723bt-0_git20181104-r0: trying to overwrite lib/firmware/rtl_bt/rtl8723bs_config-pine64.bin owned by firmware-rtl8723bt-0_git20181104-r0.`
Add `replaces="firmware-rtl8723bt"` so `apk` prefers this package.

[ci:skip-build]: already built successfully in CI
2020-07-07 20:23:37 +02:00
Minecrell
4724b0f9c1
firmware/*: move community firmware packages to device/community (MR 1362)
Right now we have all firmware packages under firmware/*.
This is problematic for mainly two reasons:

  - It's not immediately clear which firmware packages we need to keep
    when forking a new stable branch. (Where we delete testing devices
    at the moment...) We might end up deleting firmware packages that
    are actually used by one of the devices in community.

  - When backporting devices to the stable we cannot just cherry-pick
    the commit that moved the device to community (since it does not
    contain the firmware package). Instead we need to cherry-pick
    earlier commits as well, which may touch a lot of deleted files
    in the testing directory.

Let's make this consistent by also placing the firmware packages in
the device/* directory. We already have the common firmware- prefix
to distinguish them from device/kernel packages, which are already
both under the device/* directory.
2020-07-07 15:48:57 +02:00
Minecrell
1eff900dcb
firmware/firmware-pine64-rtl8723bt: add -pine64-, cleanup, install license (MR 1362)
For most firmware packages we use a vendor- prefix to make it clear
who has provided the firmware. The firmware-rtl8723bt package is only
used for Pine64 devices and actually contains configs that are specific
to Pine64 hardware (e.g. rtl8723bs_config-pine64.bin).

Let's rename it to firmware-pine64-rtl8723bt to make this more clear.
Also cleanup the APKBUILD a bit and provide the LICENSE file in a -doc
subpackage so we can legally redistribute that firmware.
2020-07-07 15:48:52 +02:00
Clayton Craft
51cb42b3e6
linux-purism-librem5: upgrade to 5.7.7+librem5.1 (MR 1387) 2020-07-03 14:23:54 +02:00
Minecrell
8e080015d7
modem/msm-modem: rename msm-modem-mainline to msm-modem-rpmsg (MR 1356)
Newer Qualcomm SoCs (e.g. SDM845. MSM8953) seem to use a different
method to talk to the modem. There are no longer separate rpmsg/SMD
channels for QMI messags, instead the modem is also available through QRTR.

On these newer SoCs, installing msm-modem-mainline is pointless,
because the created /dev/modem device will not actually allow
communicating with the modem. However, you still need the part from
the base package (msm-modem), which installs+enables rmtfs.

To avoid confusion, rename the msm-modem-mainline subpackage to
msm-modem-rpmsg. Install only "msm-modem" on SDM845 because that
likely does not allow communication with the modem through RPMSG
anyway.
2020-06-25 09:41:35 +02:00
Clayton Craft
7cdd140b97
device-purism-librem5: upgrade to 1.5 (MR 1368)
This upgrades the librem5-base config used to v21:
        - better headphone support/detection
        - enable runtime PM for usb/SD interface

This also removes the modemmanager subpackage, the udev rule that was
installed by that package is now in modemmanager in Alpine.
2020-06-25 09:26:36 +02:00
Clayton Craft
6bccb218e6
linux-purism-librem5: upgrade to 5.7.5+librem5.2 (MR 1368)
This upgrade includes a runtime PM fix for the SD card reader/usb
2020-06-25 09:26:31 +02:00
Clayton Craft
79ad89afb2
linux-purism-librem5: upgrade to 5.7.5 (MR 1344) 2020-06-24 10:12:13 +02:00
Clayton Craft
973b239c3c
device-purism-librem5: upgrade package (MR 1344)
This upgrade includes:

    1) enabling fb in deviceinfo: This was previously disabled for
       debugging purposes, but can be re-enabled now so we get the
       awesome postmarketOS splash screen!
    2) fixing GPS, kinda: the device has changed, so this fixes the gpsd
       config to use the correct device, and includes a udev rule to
       make sure the device is owned by a group that gpsd can use
    3) usbnet working with configfs
    4) disables getty on /dev/ttyGS0, this was usb serial but isn't
       configured now that this uses configfs
    5) uses Mesa from Alpine, instead of mesa-git in pmaports. Upstream
       Mesa has support for the vivante gpu, and no longer need to rely
       on mesa master branch for support.
    6) fix pulseaudio detection of profiles
    7) update the librem5-base version used, includes a udev rule to
       configure DDR freq governor as 'powersave' (reduces power, and
       how much heat this thing puts out)

fixes #524
fixes #526
2020-06-24 10:12:13 +02:00
Clayton Craft
d44056eef7
linux-purism-librem5: move to 'community' (MR 1344) 2020-06-24 10:12:13 +02:00
Clayton Craft
2a5247cf73
device-purism-librem5: move to 'community' (MR 1344) 2020-06-24 10:12:13 +02:00
Mis012
62f97294a0
samsung-a3ulte: fix scaling on phosh (MR 1364) 2020-06-23 21:46:54 +03:00
Minecrell
5d1529f27b
arrow-db410c: move from testing to community (MR 1318) 2020-06-23 11:05:25 +02:00
jonathan
02aaf4620f
bq-paella: move from testing to community (MR 1319) 2020-06-23 10:37:51 +02:00
Antoine Fontaine
1d2b62a109
pine64-pinephone: unbreak audio (MR 1323)
Fixes #633.
2020-06-17 11:13:58 +02:00
Minecrell
af01e26142
device/community/soc-qcom-msm8916: install alsa-ucm-conf (MR 1307)
Newer versions of alsa-lib now require a top-level ALSA UCM
configuration (/usr/share/alsa/ucm2/ucm.conf):

    ALSA lib parser.c:2159:(load_toplevel_config) Unable to find the top-level configuration file '/usr/share/alsa/ucm2/ucm.conf'.
    ALSA lib main.c:983:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2
    alsaucm: error failed to open sound card hw:0: No such file or directory

The upstream ALSA UCM configurations are provided by Alpine's
"alsa-ucm-conf" package, so make sure to install it additionally.
2020-06-16 12:42:41 +02:00
Martijn Braam
057fa02f90
nokia-n900: move to community (MR 1177) 2020-06-11 14:41:26 +02:00
Minecrell
d7306531f5
soc-qcom-msm8916: add ALSA UCM configuration for bq-paella (MR 1295)
bq-paella has an external speaker amplifier connected to the right
channel of the headphones output. Add an extra UCM configuration
to handle this properly.
2020-06-09 23:18:38 +03:00
Minecrell
8013cad133
<msm8916-mainline>: add myself as co-maintainer (MR 1273)
I cannot test on most of them (at the moment), but I was involved
in porting all of them so I could "guess" certain changes at least.

[ci:skip-vercheck]: just moved and some maintainers
2020-06-03 13:46:00 +02:00
Nikita Travkin
ff5fb6fdcc
wileyfox-crackling: move from testing to community (MR 1273) 2020-06-03 13:46:00 +02:00
Mis012
ab271276e4
samsung-a3ulte: move from testing to community (MR 1273) 2020-06-03 13:46:00 +02:00
Ruby Iris Juric
08f312a0c1
motorola-harpia: move from testing to community (MR 1273) 2020-06-03 13:46:00 +02:00
Minecrell
1a82353f10
samsung-serranovelte: move from testing to community (MR 1273) 2020-06-03 13:46:00 +02:00
Minecrell
d021832955
samsung-a5(u)lte: move from testing to community (MR 1273)
a5lte and a5ulte are almost identical hardware-wise, the separate
package is mainly necessary because they use different firmware
signatures.

Alexey Min agreed to do some testing occasionally :)
2020-06-03 13:46:00 +02:00
Luca Weiss
a17a931026
device/*: Add deviceinfo_chassis variable (MR 1246)
[ci:ignore-count], [ci:skip-build]
2020-05-24 06:35:30 +02: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
Bart Ribbers
557a83d1ca
pine64-pinephone: move to community (MR 1175)
[ci:skip-build]: already built successfully in CI
2020-05-17 15:00:12 +02:00
Minecrell
a85db1dc7b
*: remove "Contributor:" lines from APKBUILDs (MR 1203)
At the moment we have Contributor: lines on some packages (but not all of them),
but often they don't represent the actual contributors to the package very well.
E.g. when we added them retroactively to the device packages we only added
the initial contributor (which isn't necessarily the person
who made most of the work for a device...)

The Git history is the most representative source for figuring out
who contributed to a package, so there is no reason to duplicate that
into the APKBUILD.

[skip ci]: way too many packages
2020-05-02 21:45:25 +03:00
Minecrell
c05987b8d7
asus-me176c: move to community (MR 1185) 2020-05-02 17:38:31 +02:00