Commit graph

235 commits

Author SHA1 Message Date
Newbyte
91adc26f51
linux-purism-librem5: enable lazy RCU (MR 4080)
See https://gitlab.com/postmarketOS/pmbootstrap/-/issues/2220

[ci:skip-build]: Already built successfully in CI
2023-05-16 18:40:42 +02:00
Newbyte
f47d58a680
linux-purism-librem5: upgrade to 6.3.1 (MR 4080) 2023-05-16 18:40:41 +02:00
Newbyte
69aea328e5
purism-librem5: upgrade to librem5-base 60 (MR 4055) 2023-05-13 10:40:21 +02:00
Newbyte
70b7813fee
purism-librem5: don't install Alsa UCM configs (MR 4055)
This is now upstream in alsa-ucm-conf v1.2.9, and should as such
be removed from here as to avoid conflicts.
2023-05-13 10:40:17 +02:00
Oliver Smith
76f32fecf3
device-pine64-pinephone: add replaces=alsa-ucm-conf (MR 4061)
Override the upstream alsa-ucm-conf for now.

Related: issue 2115
2023-05-11 10:11:09 +02:00
Luca Weiss
bec770e995
main/linux-purism-librem5: adjust kconfig for usb_gadgets (MR 4028) 2023-05-02 08:33:03 +02:00
Luca Weiss
9c894f8a73
main/linux-postmarketos-allwinner: adjust kconfig for usb_gadgets (MR 4028) 2023-05-02 08:32:57 +02:00
Alistair Francis
01d084c777
linux-purism-librem5: upgrade to 6.2.10 (MR 4045)
Signed-off-by: Alistair Francis <alistair@alistair23.me>

[ci:skip-build] already built successfully in CI
2023-04-30 00:18:28 -07:00
Jan Jasper de Kroon
08b32ff4ba
linux-postmarketos-allwinner: upgrade to 6.3.0 (MR 4038)
-Removed 0013-media-ov5640-Update-last-busy-timestamp-to-reset-aut.patch:
 Fix should now be incorporated in 6.3 kernel.

[ci:skip-build]: Already built successfully in CI
2023-04-28 10:40:24 +02:00
Alistair Francis
484f587c1f
purism-librem5: upgrade to librem5-base 59 (MR 4016)
Update to the librem5-base release 59 and include a fix for the modem
stability issues from:
https://source.puri.sm/Librem5/librem5-base/-/merge_requests/358.

Signed-off-by: Alistair Francis <alistair@alistair23.me>
2023-04-17 11:04:19 +02:00
Oliver Smith
073e6edbac
purism-librem5: add librem5-base ver to pkgdesc (MR 4005)
Make it easier to look up the librem5-base version that was used in the
device-purism-librem5 package, e.g. for writing service pack release
notes:

> Purism Librem 5 Phone (librem5-base: 58pureos1)

[ci:skip-build]: already built successfully in CI
2023-04-11 09:19:05 +02:00
Alistair Francis
8c13dd3d7a
purism-librem5: upgrade to librem5-base 58 (MR 3989)
Update from librem5-bae 56 to 58, which includes the following changes
from Purism

  * default: gadget: Use CDC-NCM instead of CDC-ECM
  * defaults: Add an initramfs script to reencrypt LUKS rootfs
  * defaults: librem5-pm: Add rules for EM7565 and SIM7912G
  * defaults: pulse: Reduce fragment size to 22 ms
  * defaults: Switch USB PM timeouts back to 2s for devices and 0 for hub
  * defaults: Enable WiFi powersave with brcmfmac driver
  * defaults: usb_gadget: Run service as a dependency of UDC device unit
  * defaults: usb_gadget: Set Before= relation to network.target
  * defaults: librem5-pm: Enable NO_SUSPEND quirk and adjust PM properties
  * d/control: Bump Librem 5 kernel dependency to 6.1.19pureos1

Note, that this update doesn't fix the modem disapearing modem during
suspend. So we keep the current workarounds we have.

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

[ci:skip-build] already built successfully in CI
2023-04-05 16:22:45 -07:00
Alistair Francis
dfbf4f1c82
linux-purism-librem5: upgrade to 6.2.8 (MR 3986)
Signed-off-by: Alistair Francis <alistair@alistair23.me>

[ci:skip-build]: already built successfully in CI
2023-04-02 12:05:34 +02:00
Willow Barraco
7517c6cfad
linux-postmarketos-allwinner: enable FSCACHE and NFS caching (MR 3979)
See https://gitlab.com/postmarketOS/pmaports/-/issues/2034

[ci:skip-build]: Already built successfully in CI
2023-03-27 17:43:22 +02:00
Oliver Smith
8cd80e0733
linux-postmarketos-allwinner: unset ANDROID_BINDER_IPC_SELFTEST (MR 3975)
Fix long waydroid initialization time.

[ci:skip-build]: already built successfully in CI
2023-03-24 09:46:16 +01:00
Oliver Smith
ac3ad6047d
linux-postmarketos-allwinner: update waydroid opts (MR 3901)
Enable options required for the Android 11 image inside waydroid:

* CONFIG_BPF_SYSCALL
* CONFIG_CGROUP_BPF
* CONFIG_PSI (already set for this kernel)
* not CONFIG_PSI_DEFAULT_DISABLED (already set for this kernel)

The same will be done for all devices in main and community in the
following patches. Also add V=1 for all kernels I'm modifying that are
below 6.2 (see issue 1990).
2023-03-19 15:52:43 -07:00
Jan Jasper de Kroon
b743274522
device/main/linux-postmarketos-allwinner: upgrade to 6.2.7 (MR 3962)
Kernel configuration addition:
Just like on the PinePhone Pro I enabled the newly added Lazy RCU scheduler.

RCU_LAZY can help battery-powered systems like the PinePhone Pro in a few ways:

    1. Reduced CPU usage: Because RCU_LAZY allows readers to access shared data structures without acquiring locks or other synchronization primitives,
       it reduces the amount of CPU time that is required to manage synchronization. This can be particularly beneficial in battery-powered systems,
       where reducing CPU usage can extend battery life.

    2. Reduced memory usage: RCU_LAZY delays the creation of multiple versions of the shared data structure until they are actually needed.
       This reduces the amount of memory that is required to store these versions.
       In battery-powered systems, where memory usage can be a critical resource, this can help to conserve power.

    3. Reduced synchronization overhead: RCU_LAZY reduces the overhead of synchronization by delaying the creation of multiple versions of the shared data structure.
       This can reduce the amount of time that is spent acquiring and releasing locks or other synchronization primitives,
       which can help to conserve power in battery-powered systems.

Signed-off-by: Jan Jasper de Kroon <jajadekroon@gmail.com>

[ci:skip-build] already built successfully in CI
2023-03-19 15:36:48 -07:00
Alistair Francis
619bf897d4
linux-purism-librem5: upgrade to 6.2.6 (MR 3957)
Signed-off-by: Alistair Francis <alistair@alistair23.me>

[ci:skip-build] already built successfully in CI
2023-03-19 15:11:58 -07:00
Alistair Francis
adf423de58
linux-purism-librem5: upgrade to 6.2.2 (MR 3957)
Signed-off-by: Alistair Francis <alistair@alistair23.me>
2023-03-19 15:11:58 -07:00
Clayton Craft
4fc0f7eec6
purism-librem5: re-enable PM for the Sparklan module (MR 3921)
According to Purism, PM on the Sparklan WiFi module works now with
recent kernels, the upstream bug referenced earlier (see diff) was
closed.

Note that this has no effect on the Redpine WiFi module, which is the
default module shipped with the L5.

[ci:skip-build] already built successfully in CI
2023-03-03 20:07:14 +01:00
Clayton Craft
a5978b8561
device/purism-librem5: upgrade librem5-base to v56 (MR 3913)
Includes changes that might improve modem stability (with resetting,
that is...), and some ucm tweaks.

Changelog from upstream:
1b154d9316/debian/changelog

[ci:skip-build] already built successfully in CI
2023-03-02 09:12:12 -08:00
Alistair Francis
597eefcfcd
linux-purism-librem5: upgrade to 6.2.1 (MR 3916)
Signed-off-by: Alistair Francis <alistair@alistair23.me>
[ci:skip-build]: already built successfully in CI
2023-03-02 08:32:05 +01:00
Elagost
74db854263
device-pine64-pinephone: subpkgs for sway and x11 keyboard configs (MR 3845)
[ci:skip-build]: already built successfully in CI
2023-03-02 08:22:41 +01:00
Clayton Craft
5e9e19b7a7
pine64-pinephone: add -camera subpackage (MR 3815) 2023-03-01 08:42:45 +01:00
Clayton Craft
d49b2087e5
purism-librem5: add -camera subpackage (MR 3815) 2023-03-01 08:42:45 +01:00
Clayton Craft
ce40d054ce
pine64-pinephone: create "kirigami" subpackage (MR 3815)
kirigami may be installed outside of plamo, however there are some
changes that should only be applied when plamo is installed
2023-03-01 08:42:45 +01:00
Clayton Craft
a8450a53f2
purism-librem5: replace -phosh subpkg with -gnome (MR 3815)
Installing wys and anything else on all gnome-related UIs is better than
just having a special case for phosh. Phosh should pull in
pmos-base-ui-gnome.
2023-03-01 08:42:45 +01:00
Alistair Francis
e1efe18136
device-purism-librem5: Disable modem power management (MR 3902)
According to
https://source.puri.sm/Librem5/linux/-/issues/303#note_160864 enabling
the modem power management results in a unreliable modem, but more power
savings.

With power management on the modem can disconnect at any time,
including during calls. This makes the Librem 5 a very bad phone.
Instead let's ensure it works as a phone with a semi-reliable modem
(there is still the sleep/resume issue
https://source.puri.sm/Librem5/linux/-/issues/423) at the cost of
battery life.

As the Librem5's battery life is already poor, a little bit worse
isn't much different. Either way you need an external battery pack.

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

[ci:skip-build] already built successfully in CI
2023-02-25 22:38:27 -08:00
Oliver Smith
92efdacfbf
linux-purism-librem5: add Clayton's rebase comment (MR 3896)
Taken from here:
https://gitlab.com/postmarketOS/pmaports/-/merge_requests/3896#note_1287206744

[ci:skip-build]: already built successfully in CI (without this cosmetic
		 comment, but it shouldn't change anything.)
[ci:skip-vercheck]: this patch just modifies comments
2023-02-24 09:27:06 +01:00
Newbyte
2affe723e2
linux-purism-librem5: upgrade to 6.2.0 (MR 3896)
I unset CONFIG_ARM64_PTR_AUTH_KERNEL because the i.MX 8 CPU in the
Librem 5 doesn't support features from ARMv8.1-A and above anyway.
Same rationale applies to CONFIG_ARM64_TLB_RANGE being unset.
2023-02-24 09:25:34 +01:00
Newbyte
c3540b4678
device-purism-librem5: don't specify cma size in U-Boot bootargs (MR 3889)
This allows the back camera to work reliably for me as the CMA size then
grows to what's specified in the kernel configuration which is slightly
larger (320 MiB).

Closes https://gitlab.com/postmarketOS/pmaports/-/issues/1947

See https://source.puri.sm/Librem5/millipixels/-/issues/65

[ci:skip-build] already built successfully in CI
2023-02-22 15:17:10 -08:00
Newbyte
8496464c47
linux-purism-librem5: upgrade to 6.1.12 (MR 3888)
Includes more power management fixes.

[ci:skip-build]: Already built successfully in CI
2023-02-21 14:39:40 +01:00
Arnavion
025105c5a4
device/main/linux-postmarketos-allwinner: enable CONFIG_ARM_SUN8I_A33_MBUS_DEVFREQ and devfreq governors (MR 3864)
This enables the DRAM frequency stats driver that can be useful for debugging
issues with the PinePhone. This came up in a discussion in #pinephone on IRC
where megi was helping a pmos user with idle power draw issues.

This also enables the performance, powersave and userspace devfreq governors.

Ref: 8bfd4858b4

[ci:skip-build]: already built successfully in CI
2023-02-19 20:49:05 +01:00
Newbyte
624a384a9f
linux-purism-librem5: disable CONFIG_LOGO (MR 3881)
This gets rid of the Tux army on bootup. While it hurts my soul,
removing Tux from bootup makes it less flickery.

[ci:skip-build]: already built successfully in CI
2023-02-19 19:26:21 +01:00
Jan Jasper de Kroon
fecd1c038d
device/main/linux-postmarketos-allwinner: upgrade to 6.1.9 (MR 3858)
Also added: 0013-media-ov5640-Update-last-busy-timestamp-to-reset-aut.patch
This solves bug of taking greenish pictures with Megapixels, due to
sensor being shutdown to early after taking a picture.

[ci:skip-build]: already built successfully in CI
2023-02-13 08:43:29 +01:00
Newbyte
3a50065ed8
linux-purism-librem5: update url (MR 3859)
Repository was moved.

[ci:skip-build]: Already built successfully in CI
2023-02-10 20:52:05 +01:00
Newbyte
279c363323
linux-purism-librem5: upgrade to 6.1.10 (MR 3859) 2023-02-10 20:51:58 +01:00
Newbyte
3fd7928b97
u-boot-librem5: add myself as co-maintainer (MR 3850)
[ci:skip-build] already built successfully in CI
2023-02-07 01:22:23 -08:00
Newbyte
518101fc2f
linux-purism-librem5: add myself as co-maintainer (MR 3850) 2023-02-07 01:22:23 -08:00
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