Commit graph

17 commits

Author SHA1 Message Date
Clayton Craft
9ae9a7eb2c
device-purism-librem5: do not start nonexistent service (MR 2034)
Fixes https://gitlab.com/postmarketOS/pmaports/-/issues/1010
2021-03-17 13:36:40 -07:00
Clayton Craft
0dc254adef
device-purism-librem5: use bq25890 ship mode support in kernel (MR 2032)
Ship mode via the mechanism used by purism doesn't work; it's either not
possible or outside my understanding to run an openrc runscript with a
busybox init on *poweroff* and *not reboot*, which is what is required
for this to work properly..

This module param requires a corresponding kernel patch to enable ship
mode support in the bq25890-charger module
2021-03-16 07:38:22 +01:00
Clayton Craft
07193614cb
device-purism-librem5: use new u-boot location (MR 2023) 2021-03-13 02:18:13 +01:00
Clayton Craft
6ed0879afe
device-purism-librem5: upgrade to 1.15 (MR 2009)
This includes a new librem5-base config release, the most notable change
being some mic echo cancellation changes in pulseaudio config.

Upstream changelog:
351958ffc0

Note: I did not include the upstream change to disable wifi PM. I don't
find the performance to be so bad that it's worth giving up some battery
efficiency for.

Note: the librem5-base thing from purism has a new naming/versioning
format, which is in line with some of their other projects, so the
APKBUILD has been updated to support that too
2021-03-07 20:15:28 +01:00
Clayton Craft
3ed8a1b07c
device-purism-librem5: add smartcard reader support (MR 1993)
This adds a new subpackage that installs dependencies and configures the
smartcard reader on the librem 5. Some setup is required before this
will work (e.g. upgrading reader firmware), the L5 wiki page will have
this information.

The pcsc init script was forked into this package to allow for powering
on the reader *before* the service started. Doing this in a separate
init script would have caused the reader to power on regardless of
whether the pcsc service was set to start, which is not desirable since
it should *only* be powered on when pcsc is starting
2021-02-28 10:50:36 +03:00
Clayton Craft
5943517ffe
device-purism-librem5: upgrade to 1.13 (MR 1960)
Main change is librem5-base v35, upstream changelog:
89c9c55def

Removed a dtb in the deviceinfo that is no longer generated on newer
kernels
2021-02-21 13:54:22 +01:00
Clayton Craft
361114359f
device-purism-librem5: change default dtb when board_rev is not set (MR 1920)
According to Purism, the imx8mq-librem5.dtb alias is going away soon,
and we should be using the -r2 dtb. The -r2 dtb (which represents
Birch/Chestnut L5 variants) is most compatible, it'll boot on later
variants. dtbs for later L5 devices won't work on older devices.
2021-02-03 15:40:46 -08:00
Bhushan Shah
3a82b531f5
device-purism-librem5*: drop workaround for mesa (MR 1906)
This is now no longer needed in both Plasma Mobile or Phosh. Compositor
seems to handle it correctly.
2021-01-29 09:35:38 +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
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
5a7962685e
purism-librem5: set deviceinfo_mesa_driver (MR 1625) 2020-11-12 23:42:39 -08: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
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
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
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
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
2a5247cf73
device-purism-librem5: move to 'community' (MR 1344) 2020-06-24 10:12:13 +02:00
Renamed from device/testing/device-purism-librem5/APKBUILD (Browse further)