Commit graph

73 commits

Author SHA1 Message Date
Clayton Craft
3883291acd
linux-purism-librem5: upgrade to 5.13.19pureos3 (MR 2658)
my patch to disable SS was merged in purism's tree, so it's dropped
here. This kernel also enables the hantro video decoding stuff.

[ci:skip-build] already built successfully in CI
2021-11-07 13:42:46 -08:00
Jakob Hauser
b0cdf66653
main/postmarketos-ui-xfce4: further improvements (MR 2506)
Improvements from xfce4-phone source:
- Add screenshot to README.md
- Enable screen locking
- Disable Desktop icons "Home", "File System", "Trash"
- Enable single-click on Desktop
- Enable single-click in Thunar
- Change clock format
- Set postmarketos wallpaper

Additional changes in postmarketos-ui-xfce4:
- Installing greybird-themes (which is already set as default theme in
  /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml).
- Changing /etc/skel/.config/autostart/onboard-autostart.desktop to
  slightly speed up keysboard startup (overriding startup-delay of
  /etc/xdg/autostart/onboard-autostart.desktop).
- Enabling scrollbars by /etc/profile.d/enable-scrollbars.sh, this is
  helpful where touch-scrolling doesn't work like e.g. in whiskermenu.

(And re-ordered network-manager-applet in APKBUILD _pmb_recommends
section.)

Also removing xfce4 subpackages of device-qemu-amd64,
device-qemu-aarch64 and device-nokia-n900. The device specific monitor
to set the wallpaper will now be automatically derived from "monitor0"
in file xfce4-desktop.xml.

Additionally taking maintainership as discussed in merge request
(!2506).
2021-09-29 18:29:54 +03:00
Johannes Marbach
95d375879c
treewide: firmware: use pmb:cross-native/!tracdeps (MR 2468)
Add pmb:cross-native/!tracedeps to applicable firmware packages and
secure both with a test.

This sets the pmb:cross-native and !tracedeps options on all firmware-*
packages that are compatible with the native compilation method. A unit
test ensures the presence of both options while maintaining a list of
exempted packages.

Fixes: #718
[ci:ignore-count] [ci:skip-vercheck] [ci:skip-build]
2021-09-19 18:57:36 +02:00
bo41
79061c94ce
device/*: remove empty variables (MR 2534)
[ci:ignore-count] [ci:skip-vercheck]
[ci:skip-build]: built all the device packages successfully in CI
                 already
2021-09-19 16:56:34 +02:00
Oliver Smith
62453b9e7d
pine64-pinephone: fix pre-upgrade script (MR 2512)
Use -f, so rm
* does not complain if the file does not exist
* does not exit with 1 if the file does not exist

Remove the stdout/stderr redirect (not needed with -f).

Add exit 0 at the end of the file, even though it clearly should not
exit with anything other than 0 anymore, as it's common practice in
these pre-upgrade etc. scripts.

With the old script, the problem was that it would exit 1 as soon as the
files did not exist at the time the script runs. Exit 1 in this
pre-upgrade script causes apk to show an error, and it would not go away
with 'apk fix' since it ran into the same problem.

Fixes: 7c511d ("pine64-pinephone: remove old u-boot...")
2021-09-12 22:29:14 +02:00
Clayton Craft
7c511d677e
pine64-pinephone: remove old u-boot legacy images from /boot on upgrade (MR 2494)
fixes #1228
2021-09-07 14:34:10 -07:00
Clayton Craft
1f8ff25707
pine64-pinephone: remove dependency on wys (MR 2482)
On the pinephone, callaudiod handles the switching of default outputs,
so wys is unnecessary and may be causing issues when running in parallel
with callaudiod.

fixes #1217
2021-09-05 16:29:35 -07:00
Clayton Craft
0a4e7a9db1
device-pine64-pinephone: change ucm2 install path to support 5.14 kernel (MR 2471)
with 5.14, there's some change to the path that alsa searches for ucm2
for this device. the install path for PinePhone.conf is changed, and it
references "full" path to HiFi and VoiceCall profiles (which I kept in
`PinePhone` dir, so that there could be several configs for the same
driver later on, if necessary/desired)
2021-09-05 13:43:07 -07:00
Clayton Craft
65bae8615b
device-*: don't use 'flavor' in kernel/initramfs names (MR 2426)
[ci:ignore-count]
[ci:skip-build] too many changed kernels/packages, won't complete in CI
2021-09-03 10:29:07 -07:00
Clayton Craft
d164248ac6
linux-*: bump pkgrel for kernels that use downstreamkernel_package (MR 2426)
This function was changed, so these packages need to be rebuilt to have
the kernel installed under the new filename 'vmlinuz'
2021-09-03 10:29:07 -07:00
Clayton Craft
82777179c1
device-pine64-pinephone: stop using legacy u-boot initrd (MR 2449)
[ci:skip-build] already built successfully in CI
2021-08-27 11:40:48 -07:00
Johannes Marbach
d850a2b2b4
device-qemu-*: add evdev module to initfs (MR 2463)
The Alpine LTS kernel builds evdev as a module which means it's not automatically
available in the initfs. Including evdev allows osk-sdl to properly recognise
physical keyboards, just like on a real device.

Fixes: #1204

[ci:skip-build] already built successfully in CI
2021-08-26 13:49:57 -07:00
Arnavion
bb25d9aa61
pine64-pinephone: fix pinephone_modem-setup to correctly invoke atinout (MR 2462)
`$DEV` was an undefined variable so the atinout commands were printing their
helptext instead of actually running. This was noticeable because
the "Failed to enable VoLTE profile auto selecting" log was being printed
along with said helptext to syslog.

The block that defined `$DEV` had been accidentally deleted in
bb41f53879 . This change restores it.
2021-08-26 00:34:46 -07:00
Bobby The Builder
2f325b6124
main/device-pine64-pinephone: disable sysrq config (MR 2447)
it's already disabled in kernel config:

      sysctl: cannot stat /proc/sys/kernel/sysrq: error code 2
       *   Unable to configure kernel parameters from /etc/sysctl.d/sysrq.conf
2021-08-22 19:24:22 +02:00
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:
5e7d7535eb/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:
  fe856fdde1

[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:
ca736e844a

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:
4e76143d2e

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:
6dcba4b588

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