Commit Graph
59 Commits
Author SHA1 Message Date
Clayton Craft fdfe78b6a1 main/linux-purism-librem5: upgrade to 5.13.1 (MR 2389)
kconfig changes here are just me rebasing on config generated with the
new kernel.

[ci:skip-build] already built successfully in CI
2021-07-30 18:51:17 +02:00
Bobby The Builder 615cd3f67c device-pine64-pinephone: remove cma from boot args (MR 2371)
default value already defined:
   Symbol: CMA_SIZE_MBYTES [=256]
   Type  : integer
   Defined at kernel/dma/Kconfig:134
2021-07-22 23:54:01 -07:00
Uniformbuffer c043ffaaa7 device-pine64-pinephone: re-enable ngl gsk renderer (MR 2369) 2021-07-21 11:58:08 +02:00
Clayton Craft 28604a7d92 purism-librem5: add usbhid to initfs modules (MR 2347)
This allows using a usb keyboard when docked with osk-sdl

[ci:skip-build] already built successfully in CI
2021-07-16 12:36:26 -07:00
Dylan Van Assche e78ebb2574 device-pine64-pinephone: use quick suspend/resume hooks (MR 2187)
Improved suspend/resume handling for the EG25 modem

[ci:skip-build] already built successfully in CI
2021-07-11 14:53:13 -07:00
Clayton Craft f1e0404fb8 device/*: set gpu_accelerated for devices that show '3D=Y' on wiki (MR 2078)
[ci:ignore-count]
[ci:skip-vercheck] needed for the postmarketos-ui-* packages in this
series
[ci:skip-build] already built ui-* packages in CI, and device pacakges
are just trivial deviceinfo change (manually built some just to verify)
2021-07-07 08:06:17 +03:00
Oliver Smith 722e0588f6 qemu-aarch64: use postmarketos-ui-sway-logo-key-alt (MR 2162) 2021-07-03 10:55:57 +02:00
Oliver Smith 4c0b0d80db qemu-amd64: use postmarketos-ui-sway-logo-key-alt (MR 2162) 2021-07-03 10:55:57 +02:00
Dylan Van Assche 4b225a5f32 device-pine64-pinephone: drop eg25-manager configs (MR 2185)
Replaced by GNSS assistance support

[ci:skip-build] already built successfully in CI
2021-07-02 14:02:08 -07:00
Clayton Craft f9e45f969e linux-purism-librem5: enable zram support (MR 2276) 2021-06-25 09:22:08 -07:00
Clayton Craft ed39ad7319 device-purism-librem5: add workaround for ucm2 breaking audio (MR 2267)
For reference:
https://source.puri.sm/Librem5/librem5-base/-/issues/48

[ci:skip-build] already built successfully in CI
2021-06-23 11:17:56 -07:00
Clayton Craft 91eeb5e2a7 device-purism-librem5: upgrade to librem5-base v38 (MR 2267)
Not much here that is interesting for us, but keeping it relatively in
sync with purism's config helps with patching and maintenance.
2021-06-23 11:17:34 -07:00
Clayton Craft 0582513c46 purism-librem5: disable PM for the broadmobi modem (MR 2259)
Workaround for https://source.puri.sm/Librem5/linux-next/-/issues/303.

It seems worth sacrificing some power savings for a modem that won't
disappear, at least until the above issue is fixed.

[ci:skip-build]: already built successfully in CI
2021-06-19 16:39:37 +02:00
Clayton Craft 686136696c linux-purism-librem5: add kconfig check for nftables (MR 2060) 2021-06-14 14:04:37 -07:00
Dylan Van Assche 31b99cc224 device-pine64-pinephone: add Dylan Van Assche as co-maintainer (MR 2190) 2021-06-13 21:45:57 +02:00
Dylan Van Assche ccf639f856 device-pine64-pinephone: detect headphones jack events (MR 2190)
Headset jack events emit 2 events: 'Headset Microphone Jack'
and 'Headphone Jack'. These were properly detected before,
but not headphone jack events only: 'Headphone Jack'.
This change allows to detect headphone jack events as well
and act on these events by setting the headphones as
default audio output while keeping the internal
microphone as audio input. For headsets,
the microphone is switched to the headset microphone as well.
2021-06-13 21:45:52 +02:00
Clayton Craft 49788fd83f linux-purism-librem5: upgrade to 5.12.2purism3 (MR 2246)
Upstream changelog:
https://source.puri.sm/Librem5/linux-next/-/blob/5e7d7535eb3efc85668760b525366681fab077d6/debian/changelog
2021-06-11 11:54:10 +02:00
Clayton Craft bf6ad7a78c device-purism-librem5: set mesa env for using gles2 and opengl 2.1 (MR 2217)
These are needed to expose opengl 2.1, and for using gles2 with gst.
This also fixes launching Xwayland.
2021-06-03 00:03:00 +02:00
Dylan Van Assche 1ae70f921b device-pine64-pinephone: improve PulseAudio sample rate 2021-06-02 18:57:48 +02:00
Oliver Smith 0b7e4d6371 pine64-pinephone: upower: replace config properly (MR 2205) 2021-05-30 17:01:39 +02:00
Dylan Van Assche cfb5d41bdf device-pine64-pinephone: shutdown on critical battery (MR 2193)
The PMIC AXP803 sends an interrupt to the A64 CPU when the
battery is critical low. This wakes up the phone at ~10%
battery level, but UPower wasn't configured to add upon
this interrupt as the action level was way lower.
Therefore, the PMIC performed a hard shutdown when the
battery level dropped further, which may cause data loss.
2021-05-30 15:53:01 +02:00
Bart Ribbers 5a5a3cd619 pine64-pinephone: depend on u-boot >= 2021.01_git20201228-r2 (MR 2149) 2021-05-27 14:13:16 +02:00
Clayton Craft 6aa9506169 linux-purism-librem5: upgrade to 5.12.2pureos2 (MR 2199)
Upstream changelog:
  https://source.puri.sm/Librem5/linux-next/-/commit/fe856fdde196517cb0c7f564426574a95afb5835

[ci:skip-build]: already built successfully in CI
2021-05-27 02:59:54 +02:00
Oliver Smith cfe73e6680 pine64-pinephone: lower headphone volume to 70% (MR 2182)
We used to have it at 40% and just bumped it to 100%. With 100%, I can
hear static noise in the headphones when using the PinePhone (pmOS CE)
in a silent room, even if I turn the volume down in Pulseaudio (e.g.
18%-30% in Phosh). This was not the case when we had it at 40%.

70% seems to be the sweet spot, where no static noise can be heard when
using headphones in a silent room, but where volume can still be turned
up to a very high level if necessary.
2021-05-21 20:02:04 +02:00
Oliver Smith 5e227888fc pine64-pinephone: add gtk4 artifacts workaround (MR 2132) 2021-05-21 00:44:53 +02:00
Dylan Van Assche a38ca6c0e5 device-pine64-pinephone: increase maximum volume headphone jack (MR 2170)
Headphones are not so quiet anymore from now on!
2021-05-20 13:08:26 +02:00
Clayton Craft 2cd1f8d5c5 linux-purism-librem5: upgrade to 5.12.2 (MR 2157)
Upstream changelog:
https://source.puri.sm/Librem5/linux-next/-/commit/ca736e844a6b63967d135c2280e5696f0a95934e

Patches rebased, and includes some new fixes:

arm64-dts-imx8mq-librem5.dtsi-adjust-the-usdhc-bus-s.patch

- Being tested by Purism as well, has shown some promise improving GPS
  reliability

arm64-dts-imx8mq-disable-SuperSpeed-instances-in-par.patch

- Fixes issue with modem disappearing
2021-05-14 11:04:03 +02:00
Clayton Craft 22cee921f7 linux-purism-librem5: upgrade to 5.11.15 (MR 2140)
Upstream changelog:
https://source.puri.sm/Librem5/linux-next/-/commit/4e76143d2ec5694ec09da20c9e702ed2f0dbdb3f

Note, previous wifi driver behavior is not changed. The redpine module
still expects the fw to be in /lib/firmware on boot, and won't use the
fw on the card.. Theoretically this kernel version now supports both
loading fw from rootfs into ram AND using fw burned on the chip, but
since I haven't tested that well yet I'm leaving this as-is.

[ci:skip-build]: already built successfully in CI
2021-04-27 23:34:34 +02:00
Bart Ribbers 27b8ef368f */*: replace uboot-tools dependency for u-boot-tools (MR 2141)
uboot-tools is provided by u-boot-tools but sometimes apk still gets
confused. This change prevents errors such as

pine64-pinephone:~$ sudo apk upgrade --verbose
WARNING: Failed to perform initial self-upgrade, continuing with full upgrade.
ERROR: unable to select packages:
  uboot-tools (virtual):
	    provided by: u-boot-tools
			    required by: device-pine64-pinephone-0.25-r1[uboot-tools]
[ci:ignore-count]
[ci:skip-build]: already built in CI successfully
2021-04-27 22:01:06 +02:00
Bart Ribbers 9392512166 qemu-{amd64,aarch64}: prevent display blanking when mce is in use (MR 2127)
mce is used by both Glacier and Asteroid to do all kind of power
management related stuff, including blanking the display. However,
obviously we don't ever want to blank the display on Qemu
2021-04-22 15:50:16 +02:00
Clayton Craft 38e689e5ab linux-purism-librem5: upgrade to 5.11.11pureos1 (MR 2116)
Upstream changelog:
https://source.puri.sm/Librem5/linux-next/-/commit/6dcba4b588f9269989be91cfb321960f8254cacc

The redpine interrupt handler patch has been dropped since it's now
merged in Purism's tree.

[ci:skip-build]: already built successfully in CI
2021-04-18 23:55:58 +02:00
Clayton Craft e3715a2d4e main/linux-purism-librem5: move from community (MR 2096)
[ci:skip-vercheck]: moving unchanged packages
[ci:skip-build]: moving unchanged packages
2021-04-17 22:41:10 -07:00
Clayton Craft 313bb89139 main/device-purism-librem5: move from community (MR 2096) 2021-04-17 22:40:45 -07:00
Oliver Smith caae6d5405 treewide: bump pkgrel to generate new splashes (MR 1996) 2021-04-11 19:52:37 +02:00
Bobby The Builder 259c9eefe5 pine64-*: change default RAM clock from 552 to 528 (MR 1998)
Issue #981 Change default clock from 552 to 528
(latest batches such as KDE are having issues with 552)
2021-04-05 11:14:18 +02:00
Bobby The Builder ba84cd8d49 temp/u-boot-pinephone: expose ram_freq in device tree (MR 1998)
Query the ram clock:
cat /proc/device-tree/memory/ram_freq
2021-04-05 11:14:17 +02:00
Bobby The Builder 5322350898 temp/u-boot-pinephone: build with 3 RAM clocks (MR 1998)
U-Boot package will be built and packaged with tree
different images, each with a custom RAM clock.

Supported clocks: 528, 552 and 624
2021-04-05 11:14:13 +02:00
Oliver Smith a9a343dc16 pine64-pinephone: drop setup-modem.sh.ofono (MR 2066)
Now that eg25-manager is able to send the AT commands to the modem, even
when ofono is used, drop the ofono specific script.
2021-03-28 23:26:36 +02:00
Dylan Van Assche a57d0c630e device-pine64-pinephone: Override eg25-manager configs (MR 1931)
Figured out with a Quectel engineer and the ModemManager maintainer
2021-03-22 21:20:31 +01:00
Dylan Van Assche 2055cfad30 device-pine64-pinephone: disable ModemManager's suspend/resume hooks (MR 1931) 2021-03-22 21:20:06 +01:00
Clayton Craft 5023b9c433 device-pine64-pinephone: add gpio_vibra module to initfs (MR 1870)
This is needed to enable osk-sdl's haptic feedback when typing
2021-02-22 15:40:48 +03:00
Bart Ribbers e2cbd9e4ed pine64-pinephone: enable Kirigami lowpower mode (MR 1928)
Should increase performance a bit of Kirigami applications by disabling
some fancy stuff like shadows
2021-02-11 09:50:05 +01:00
Martijn Braam 6fe006aa52 device-pine64-pinephone: Enable jack detection (MR 1943)
Enable headset jack detection and automatic switching in the UCM
2021-02-11 09:15:10 +01:00
Oliver Smith c3b1ffe1df qemu-amd64: add deviceinfo_dev_internal_storage (MR 1820)
Use to simulate installation from SD to eMMC with:
$ pmbootstrap qemu --second-storage
2021-01-27 16:12:26 +01:00
Oliver Smith c48037d5ed pine64-pinephone: add deviceinfo_dev_internal_storage (MR 1820) 2021-01-27 16:11:44 +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
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 6606d81688 device-pine64-pinephone: add udev rule for toggling wifi PM on charger change (MR 1863) 2021-01-11 23:30:17 -08: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