Commit graph

196 commits

Author SHA1 Message Date
Newbyte
ac917294cc
device-purism-librem5: add myself as co-maintainer (MR 3850) 2023-02-07 01:22:23 -08:00
Newbyte
678fdf53d2
linux-purism-librem5: enable MGLRU (MR 3850)
See https://gitlab.com/postmarketOS/pmaports/-/issues/1918
2023-02-07 01:22:22 -08:00
Alistair Francis
e6f1fe7e73
linux-purism-librem5: upgrade to 6.1.8pureos1 (MR 3832)
Signed-off-by: Alistair Francis <alistair@alistair23.me>
[ci:skip-build]: already built successfully in CI
2023-02-01 07:42:56 +01:00
Jan Jasper de Kroon
52fd44825a
device/main/linux-postmarketos-allwinner: upgrade to 6.1.7 (MR 3816)
[ci:skip-build]: Already built successfully in CI
2023-01-27 17:46:43 +01:00
Alistair Francis
1993e0cc24
linux-purism-librem5: upgrade to 6.1.4pureos1 (MR 3809)
Signed-off-by: Alistair Francis <alistair@alistair23.me>

[ci:skip-build] already built successfully in CI
2023-01-17 15:11:52 -08:00
Bobby The Builder
c2d091a3a7
main/u-boot-pinephone: upgrade to v2023.01 (MR 3806)
[ci:skip-build]: Already built successfully in CI
2023-01-14 19:07:23 +01:00
Bobby The Builder
ae74e11664
main/device-pine64-pinephone: U-Boot script update (MR 3806)
Protect script when ram_freq is not set
   Safely load PSCI DTO to enable CPUidle driver: psci_idle
      The PSCI DTO shall only be applied if TF-A & Crust
      support CPU idle states [0]. Otherwise the CPU usage
      will be at 100%. This will not be visible in top,
      lead to overheating and battery drain.
      Worst case scenario would lead to a fried chip if
      the CPU thermal_zone does not work or is not enabled
      in DTS.

[0] https://gitlab.com/postmarketOS/pmaports/-/issues/1901#note_1238456920
2023-01-14 19:07:07 +01:00
Luca Weiss
31a651d0d7
pine64-pinephone: Remove myself as maintainer (MR 3804)
I have enough other devices to care about, and honestly haven't touched
my PinePhone in a while. Remove myself as Co-Maintainer from all
relevant packages.

[ci:skip-vercheck]: No rebuild necessary
[ci:skip-build]: Doesn't change resulting packages
2023-01-13 22:33:38 +01:00
Clayton Craft
c3669975e9
purism-librem5: disable power management for Sparklan/brcmfmac wifi (MR 3793)
This wifi module doesn't ship with the L5, but I have one because it's
generally more stable than the redpine thing that does ship with the
L5... however there's a known problem with having PM enabled on it.

This adds a NM config option, that matches specifically on this
device/driver, to disable wifi. PM for the redpine should not be
affected by this config change.

[ci:skip-build] already built successfully in CI
2023-01-08 13:56:25 -08:00
Jan Jasper de Kroon
314d1e58c3
device/main/linux-postmarketos-allwinner: upgrade to 6.1.3_git20230104 (MR 3781)
[ci:skip-build]: already built successfully in CI
2023-01-06 21:31:46 +01:00
Alistair Francis
22e26ced4f
linux-purism-librem5: upgrade to 6.1.1pureos1 (MR 3758)
Signed-off-by: Alistair Francis <alistair@alistair23.me>
[ci:skip-build]: already built successfully in CI
2022-12-29 17:50:52 +01:00
Alistair Francis
9183be336b
linux-purism-librem5: Add 166MHz to DDRC OPP table (MR 3754)
Backport the Purism patch from https://source.puri.sm/Librem5/linux/-/merge_requests/640

"With this patch, older revisions (2.0) should be able to switch between
166MHz and 800MHz as opposed to being stuck to 800MHz all the time, since
that was the only supported frequency in the OPP table."

Signed-off-by: Alistair Francis <alistair@alistair23.me>

[ci:skip-build] already built successfully in CI
2022-12-20 12:17:16 -08:00
Jan Jasper de Kroon
2707def9f8
device/main/linux-postmarketos-allwinner: Switch to CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL (MR 3720)
Schedutil is a CPU scheduler that is designed to be more efficient than other schedulers, such as the conservative scheduler, in terms of energy consumption.
This is because schedutil uses information about the utilization of individual CPU cores to make more intelligent decisions about when and how to scale the frequency of the CPU.
This can help to reduce the overall power consumption of the device, which can be particularly beneficial for battery-powered devices.
Additionally, schedutil can also help to improve the overall performance of the device by ensuring that the CPU is able to operate at its maximum frequency when needed.

In my personal testing I haven't seen any noticable impact on power consumption, while the performance does certainly noticeably increase
Note: This is only a change in the aarch64 configuration as the armv7 configuration already used the schedutil scheduler as default.

[ci:skip-build]: Already built successfully in CI
2022-12-18 13:32:22 +01:00
Clayton Craft
1f2aab3a86
linux-purism-librem5: update to 6.1.0pureos1 (MR 3725)
Most of the config diff is from rebasing the kconfig in pmaports with
mainline + purism changes

[ci:skip-build] already built successfully in CI
2022-12-16 23:37:02 -08:00
Alistair Francis
bb359dfc4f
purism-librem5: add alistair23 as co-maintainer (MR 3705)
Signed-off-by: Alistair Francis <alistair@alistair23.me>

[ci:skip-vercheck]
[ci:skip-build] already built successfully in CI
2022-12-10 11:17:39 -08:00
Clayton Craft
280605a1f9
*-purism-librem5: remove Bhushan as co-maintainer (MR 3705)
He is not actively maintaining this device in pmOS
2022-12-10 11:11:13 -08:00
Alistair Francis
d737c7757e
device/main/u-boot-librem5: upgrade to 2022.10 (MR 3704)
Update to the latest release from Purism.

Signed-off-by: Alistair Francis <alistair@alistair23.me>

[ci:skip-build] already built successfully in CI
2022-12-09 14:55:43 -08:00
Clayton Craft
4c5c74bb8a
purism-librem5: use gnss-share with geoclue (MR 3698)
This fixes gnss out of the box on the librem 5, by configuring geoclue
to use gnss-share as a nmea source.

I went this route, of overriding a .service file that invokes geoclue
with a command line option, because forking this .service file is much
nicer than forking geoclue.conf. The conf file will likely change over
time to add new app permissions or whatever, and it's unlikely
(hopefull!) that this .service file will change much upstream...

[ci:skip-build] already built successfully in CI
2022-12-08 22:56:53 -08:00
Jan Jasper de Kroon
1542dbfb9d
device/main/linux-postmarketos-allwinner: upgrade to 6.1.0_rc7_git20221205 (MR 3694)
Contains the following fix:
- don't reinitialize bluetooth on Pinephone during resume

[ci:skip-build]: already built successfully in CI
2022-12-07 21:15:33 +01:00
Jan Jasper de Kroon
7c7c18e40f
device/main/linux-postmarketos-allwinner: Enabe LRU_GEN by default (MR 3686)
MGLRU seeks to address Linux's poor page reclamation behavior with this new high performance LRU implementation to over-commit memory.
MGLRU has shown to be beneficial in a variety of benchmarks especially on memory constrained systems.

Some benchmarks:
- https://www.phoronix.com/news/Linux-MGLRU-v9-Promising
- https://www.phoronix.com/news/MGLRU-Reaches-mm-stable

[ci:skip-build]: Already built successfully in CI
2022-12-03 12:06:44 +01:00
Clayton Craft
4f712b5771
linux-purism-librem5: upgrade to 6.0.8 (MR 3684)
[ci:skip-build]: already built successfully in CI
2022-12-02 07:27:12 +01:00
Clayton Craft
584337aa82
purism-librem5: upgrade to latest ucm, fix udev rule installation (MR 3684)
Apparently upstream names udev rules with the .udev extension... which
doesn't work with udev (I guess debian has a helper for installing rules
and it renames them?). This adds the expected ".rules" extension to them
so that udev actually uses them.

This update also includes improved ucm config from Purism.

"Lockdown suppport" is also added here, which allows toggling off all of
the hks on the L5 to disable all radios, etc without breaking some
sensors. For more info, see 65ec7038 in librem5-base.
2022-12-01 16:46:14 -08:00
Oliver Smith
5e7faf1a09
device/main/u-boot-librem5: fix build on gcc 12 (MR 3683)
Disable Werror and add -no-warn-rwx-segment to LDFLAGS of
arm-trusted-firmware to make it build with gcc 12, smilar to:
769f9666b6

Related: https://builds.sr.ht/~postmarketos/job/894728#task-pmbootstrap_build-422

[ci:skip-build] already built successfully in CI
2022-12-01 09:27:52 -08:00
Clayton Craft
2ccd927e23
purism-librem5: change default device tree (MR 3614)
Based on some new (to me...) info from Purism's Sebastian K, there are
apparently Evergreen devices that return different values for board rev,
so we shouldn't assume only r4 are Evergreen, and default to the r2 DT.

But many earlier devices (Birch, Chestnut, Dogwood) may or may not have
the board rev set either. Who knows! Defaulting to the Evergreen DT on
these devices is bad too, but there weren't many of those shipped (I
guess?), at least not compared to the number of Evergreens that aren't
properly identifiable in u-boot... so this using this DT by default is
the best of the two bad options we have.

This comment thread has more info:
https://gitlab.com/postmarketOS/pmaports/-/issues/1643#note_1147248594

fixes #1643

[ci:skip-build] already built successfully in CI
2022-12-01 09:24:13 -08:00
Jan Jasper de Kroon
ccc870dcf9
device/main/linux-postmarketos-allwinner: Upgrade to 6.1-rc7 (MR 3678)
Kernel source updated to 6.1-rc7
Ext2 and Ext3 modules in aarch64 config disabled because Ext4 is backwards compatible.
2 fixes for PinePhone included in this source:
pinephone: fix power key behavior during suspend (avoid stuck key during resume)
pinephone keyboard: wait for 100ms after enabling power supply and before probing.

[ci:skip-build]: already built successfully in CI
2022-12-01 09:02:47 +01:00
Oliver Smith
c1b08d8c60
u-boot-pinephone: disable automatic upgrade (MR 3664)
Don't upgrade u-boot automatically anymore as it doesn't work reliably
and isn't necessary anymore. See the wiki article for details.

Related: https://wiki.postmarketos.org/wiki/PinePhone_U-Boot_Upgrade
2022-11-27 17:52:30 +01:00
Jan Jasper de Kroon
a3ae92f0ff
device/main/linux-postmarketos-allwinner: upgrade to 6.1-rc6 (MR 3666)
[ci:skip-build]: already built successfully in CI
2022-11-27 17:13:01 +01:00
Luca Weiss
7553dc4011
qemu-riscv64: new device (MR 3571)
Support launching postmarketOS in QEMU on riscv64 architecture. It is
mostly copied from device-qemu-aarch64 with some riscv64-specific
modifications.

Currently UIs using Xorg like Mate, XFCE4 and LXQT work fine, Wayland
UIs like weston, plasma-mobile etc didn't work in my testing.

Also using "pmbootstrap qemu --tablet" is needed to make mouse input
work, the defaults don't seem to work at the moment.

[ci:skip-build]: already built successfully in CI
2022-11-20 15:22:22 +01:00
exkc
4a43f241ee
linux-postmarketos-allwinner: enable compiling sunxi-cir (MR 3609)
This gets IR RX working on Allwinner-based devices that have IR.

[ci:skip-build]: already built successfully in CI
2022-11-10 21:32:49 +01:00
Jan Jasper de Kroon
64e671aea3
Revert "device/pine64-pinephone: add recommended modem udev rules (MR 3235)" (MR 3632)
This reverts commit b62d7f6e7c.
These are already handled by 80-modem-eg25.rules in eg25-manager.

[ci:skip-build]: already built successfully in CI
2022-11-10 21:14:07 +01:00
Jan Jasper de Kroon
d4e96df17d
Revert "device/pine64-pinephone: add additional modem udev rule for new community firmware serial (MR 3240)" (MR 3632)
This reverts commit f8df093985.
These are already handled by 80-modem-eg25.rules in eg25-manager.
2022-11-10 21:13:55 +01:00
Jan Jasper de Kroon
62f19c3e03
device/main/linux-postmarketos-allwinner: upgrade to 6.0.7 (MR 3624)
[ci:skip-build]: Already built successfully in CI
2022-11-08 08:39:44 +01:00
Oliver Smith
f288cdaa77
treewide: remove linux-headers replacements (MR 3597)
Remove the -dev subpackages of kernels that replace the linux-headers
package. As I understand, the only case where this would make sense is
if you wanted to build a kernel module against headers that need to be
newer than the headers in Alpine's linux-headers package (currently
5.19.5).

While this might have been historically relevant when wireguard wasn't
in the kernel and you might have needed newer linux-headers to build
the module, it seems irrelevant today. If somebody should need this in
the future, then bring it back properly / consider getting the
linux-headers package in Alpine upgraded. Right now the -dev packages
are broken in several ways:

* Use of unversioned provides= (pma#1766)
* Don't contain binaries needed to build binary packages (pma#462).
  This was worked around in 6aba5f ("Package kernel-scripts
  separately"), but later this didn't build anymore and we removed it.

So in short: broken and unused, drop them.
2022-11-02 15:02:54 +01:00
Luca Weiss
44f1e77115
device/*/firmware-*: move away from arch="noarch" (MR 3607)
Stop building many firmware packages for architectures that aren't used
by those devices. This should reduce CI/bpo time and repo space by a
bit.
2022-11-01 18:20:03 +01:00
Luca Weiss
0948a1659c
main/linux-postmarketos-allwinner: enable new community options (MR 3560) 2022-10-31 21:07:16 +01:00
Jan Jasper de Kroon
8b3c4eb6d3
linux-postmarketos-allwinner: upgrade to 6.0.3 (MR 3572)
[ci:skip-build]: already built in CI
2022-10-25 08:26:39 +02:00
Clayton Craft
052fdf55ac
linux-purism-librem5: upgrade to 6.0.2 (MR 3570)
[ci:skip-build]: Already built successfully in CI
2022-10-22 13:32:58 +02:00
Bobby The Builder
5c42cad7a6
linux-postmarketos-allwinner: regenerate config and enable ARM CPU Idle driver (MR 3564)
[ci:skip-build]: Already built successfully in CI
2022-10-20 18:57:23 +02:00
Jan Jasper de Kroon
62bd0f84bd
linux-postmarketos-allwinner: upgrade to 6.0.2 - 1017-0205 Megi Tag (MR 3553)
This updates the APKBUILD with the new Megi 6.0.2 tag release.
The 2 incremental patches on top of 6.0 have hereby been removed.

[ci:skip-build]: already built successfully in CI
2022-10-18 09:17:11 +02:00
Anjandev Momi
7270f472e3
treewide: fix tabs, final newline, trailing whitespace (MR 3530) 2022-10-16 16:27:22 +02:00
Jan Jasper de Kroon
32646621be
linux-postmarketos-allwinner: upgrade to 6.0.2
This kernel update addresses 5 important CVE's in the Wifi stack.
More info can be found over here: https://seclists.org/oss-sec/2022/q4/20

[ci:skip-build]: already built successfully in CI
2022-10-16 15:01:28 +02:00
Clayton Craft
325cc8e483
linux-purism-librem5: upgrade to 6.0
- the config diff is just rebasing

- drops the ship mode patch I wrote, since it is no longer required
  after a pending update to the device-purism-librem5 package...

- drops the dogwood voltage patch, apparently no longer necessary,
  see: https://source.puri.sm/Librem5/linux/-/issues/442#note_214984

- drops the usdhc bus patch
  see: https://source.puri.sm/Librem5/linux/-/issues/442#note_215026

[ci:skip-build] already built successfully in CI
2022-10-13 06:09:10 -07:00
Jan Jasper de Kroon
130e15f2ec
linux-postmarketos-allwinner: upgrade to 6.0.1_git20221004 (MR 3518) 2022-10-13 10:40:29 +02:00
Newbyte
270e5e28ad
device: drop depend on mesa-dri-gallium (MR 3478)
This is now installed by postmarketos-base when appropriate.
2022-10-11 11:19:43 +02:00
Elagost
a292830ef9
device-pine64-pinephone: add kxkbrc for plasma-mobile pinephone-keyboard (MR 3438) 2022-10-09 12:45:35 -05:00
Newbyte
70efe55031
linux-*: install dtbs to /boot/dtbs (MR 3254)
[ci:ignore-count]: Too many packages probably
[ci:skip-build]: No way this would finish in time
2022-10-09 17:04:30 +02:00
Dylan Van Assche
90c11c46ca
main/device-pine64-pinephone: refactor fwupd plugins (MR 3513)
fwupd 1.8.6 has all plugins builtin, remove subpackages
2022-10-09 16:22:38 +02:00
Clayton Craft
67b5efcea1
device-purism-librem5: upgrade to 1.34 (MR 3501)
- update to use librem5-base v52
- install usbguard config / new subpackage
- move xorg.conf to new x11 subpackage
- refactor udev rule install to just install everything available from
  librem5-base upstream
- use purism's shipmode script, see:
  https://source.puri.sm/Librem5/linux/-/merge_requests/333#note_195511
2022-10-07 21:31:45 +02:00
Luca Weiss
2c58ce8e45
device/{community,main}/*: migrate to pmb:kconfigcheck-community (MR 3422)
Replace usages of pmb:kconfigcheck-* options with
pmb:kconfigcheck-community which will be required for all devices in
community/main category. This ensures more consistent features &
behavior across devices.
2022-09-21 22:25:49 +02:00
Bobby The Builder
b66e58d4e3
linux-postmarketos-allwinner: upgrade to 5.19.8 (MR 3421)
[ci:skip-build]: already built successfully in CI
2022-09-18 20:53:42 +02:00