Commit graph

8954 commits

Author SHA1 Message Date
Alistair Francis
af97a4bea3
main/device-purism-librem5: Remove broadmobi-port-types udev rule (MR 5071)
The 77-mm-broadmobi-port-types.rules file comes from ModemManager [1] so
there is no need for us to re-install the file again. Drop our version
so we can use the upstream one.

1: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/blob/main/src/plugins/broadmobi/77-mm-broadmobi-port-types.rules

Signed-off-by: Alistair Francis <alistair@alistair23.me>
2024-04-27 08:05:14 +09:00
Clayton Craft
9906d59ea4
device-lenovo-21bx: workaround pipewire audio playback issues (MR 5065)
Override the buffer size seems to help somewhat with audio playback
under pipewire.
2024-04-25 23:07:43 +09:00
Robert Eckelmann
3930c181e9
main: bump several packages for python 3.12 (MR 5060)
hwtest, extract-dtb, bootchart2 and ofonoctl need a rebuild to work with
python 3.12
2024-04-24 21:00:33 +02:00
Clayton Craft
28f8f3135e
Revert "ci: allow specifying pmbootstrap path to aid running locally (MR 4994)"
This was merged erroneously as a part of another MR. See
https://gitlab.com/postmarketOS/pmaports/-/merge_requests/5033#note_1877584477

This reverts commit 40a46fd4e5.
2024-04-24 11:53:27 -07:00
Stefan Hansson
ec057e2ba2
linux-samsung-expressatt-downstream: fix build (MR 5064)
Part of https://gitlab.com/postmarketOS/pmaports/-/issues/2401
2024-04-24 12:03:02 +02:00
Clayton Craft
a263494c1c
ci: fix failure with check_changed_aports when testing new aport
Apparently some callers of `get_package_version` expect it to return
None if a package wasn't found...  e.g. when CI is testing a branch that
introduces a new aport and it's trying to get the upstream version for
it, which doesn't exist.

This leads to a spectacular crash in CI:

      upstream = get_package_version(args, package, commit, False)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/home/clayton/src/pmaports/./.ci/lib/check_changed_aports_versions.py", line 47, in get_package_version
        return parsed["pkgver"] + "-r" + parsed["pkgrel"]
               ~~~~~~^^^^^^^^^^
    TypeError: 'NoneType' object is not subscriptable

When I refactored this method in 07812a918 I goofed up and changed this
behavior, so let's restore it to fix the crash.
2024-04-23 17:59:30 -07:00
Adam Thiede
f940d37fa4
device-lg-hammerhead: add GSK_RENDERER workaround (MR 5059)
As mentioned in https://gitlab.com/postmarketOS/pmaports/-/merge_requests/4952,
adding a script to work around GTK apps not rendering properly.
2024-04-24 07:00:28 +09:00
Andreas Kemnade
3c49199db3
kobo-clara: enable autodetection of board revs a vs b (MR 5057)
These two board revisions differ in regulator settings, so
detect them to avoid magic smoke.

[ci:skip-build]: already built successfully in CI
2024-04-23 21:55:12 +02:00
Arnav Singh
deb676fba2
ci/check_changed_aports_ver: fix pkgrel check (MR 5061)
The apkbuild parser returns `pkgrel` key as a `str`, not an `int`,
so the `!= 0` check would always succeed even if the file set it to `0`.

[ci:skip-build]: already built successfully in CI
2024-04-23 10:43:03 -07:00
Clayton Craft
478a4261ca
linux-valve-jupiter: upgrade to 6.9-rc5 (MR 5058)
[ci:skip-build]: already built successfully in CI
2024-04-23 14:07:46 +02:00
Clayton Craft
970bc34c45
ci/check_changed_aports_ver: add tests for new dev pkg rules (MR 4994)
[ci:ignore-count]

[ci:skip-vercheck]
[ci:skip-build]: already built successfully in CI
2024-04-22 16:37:41 -07:00
Clayton Craft
40a46fd4e5
ci: allow specifying pmbootstrap path to aid running locally (MR 4994)
I don't like how CI requires pmbootstrap in PATH to be a symlink, I use
a wrapper script to handle running pmbootstrap how I want and the
current pmbootstrap path detection is kinda annoying since it depends on
it being a symlink.

This allows using an environment variable, PMBOOTSTRAP_PATH, to set the
pmbootstrap path and skip all of the symlink resolving stuff.
2024-04-22 16:37:41 -07:00
Clayton Craft
07812a9189
ci/check_changed_aports_ver: move apkbuild reading from get_version (MR 4994)
This allows reusing the logic to read apkbuild contents in future
methods
2024-04-22 16:37:41 -07:00
Clayton Craft
284fd42c0a
ci: add test for validating pkgver for device packages (MR 4994) 2024-04-22 16:37:41 -07:00
Clayton Craft
ed377d97fa
device-samsung-expressatt-downstream: fix kernel dependency (MR 4994) 2024-04-22 16:37:40 -07:00
Anton Bambura
de1a13c782
devices: use consistent pkgver (MR 4994) 2024-04-22 15:45:12 -07:00
Arnav Singh
83a68a7611
device-pine64-pinephone: revert kernel 6.8.4 changes to match up with downgrade (MR 5054)
This reverts commit 1e3d484a64
"device-pine64-pinephone: update UCM config for new headphone jack name (MR 5022)"

[ci:skip-vercheck]
[ci:skip-build]: already built successfully in CI
2024-04-22 22:29:33 +02:00
Arnav Singh
686479bc4d
linux-postmarketos-allwinner: downgrade to 6.7.9_git20240306 (MR 5054)
Kernel 6.8.4 has multiple issues on the pine64-pinephone:

- Incoming calls don't work reliably when the phone is suspended. ( #2734 )

- Audio routing has changed such that it's seemingly not possible to use
  headphones with the builtin mic. ( #2738 )

Kernel 6.7.9 does not have these problems. This commit reverts to that for now
until they're figured out on the new kernel.
2024-04-22 22:29:33 +02:00
Paul Cercueil
01bb57f89b
device-samsung-i9100: Flash kernel/initramfs on kernel update (MR 5049)
Add deviceinfo_flash_kernel_on_update="true" to the deviceinfo file.
This makes sure that the updated kernel is flashed to the device every
time the linux-postmarketos-exynos4 package is updated.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
[ci:skip-build]: already built successfully in CI
2024-04-22 12:56:37 -07:00
Vitaliy Ognev
5ac8778de8
testing/linux-powkiddy-x55: upgrade to 6.8.6 (MR 4972)
[ci:skip-build]: already built successfully in CI
2024-04-22 12:53:47 -07:00
Vitaliy Ognev
de4af423ff
testing/linux-powkiddy-x55: WiFi improvements (MR 4972) 2024-04-22 12:53:47 -07:00
Vitaliy Ognev
7423756972
testing/linux-powkiddy-x55: kconfig check conformance (MR 4972) 2024-04-22 12:53:47 -07:00
Andreas Kemnade
824c6e51db
testing/linux-kobo-clara-mainline: Upgrade to v6.8.7 (MR 5056) 2024-04-22 21:17:37 +09:00
Pablo Correa Gómez
cc54c46e0d main/postmarketos-ui-i3wm: disable in riscv64 2024-04-22 12:52:41 +02:00
Sicelo A. Mhlongo
081f663b36
postmarketos-ui-i3wm: auto-generate user config (MR 5041)
90b0205a ("postmarketos-ui-i3wm: configure wallpaper globally") directly copies
the default i3 config into the user's config directory. Change to using the
wizard instead
2024-04-21 12:03:35 +09:00
Sicelo A. Mhlongo
10fd1b4e3e
device-nokia-n900: drop nonfree_firmware subpackage (MR 5050)
Drop the nonfree_firmware package now that pmboostrap commit aa594b76fa
("pmb.config: do not prompt for nonfree fw/userland") is merged
2024-04-20 23:26:24 +09:00
Sicelo A. Mhlongo
ea25bc48d7
device-nokia-n900: unconditionally fetch wl1251 nvs on each boot (MR 5050)
Reading the wl1251 data on each boot can be useful when using the same SD card
on different devices, allowing each to fetch its correct calibration data.
Additionally, this opens up the possibility to simplify the packaging (in
follow-up commit)
2024-04-20 23:26:07 +09:00
Raymond Hackley
00f2bb6452
main/devicepkg-dev: remove empty folder /usr/share/deviceinfo (MR 4990)
After removing the following files, $pkgdir/usr/share/deviceinfo is empty:
- $pkgdir/usr/share/deviceinfo/$pkgname
- $pkgdir/usr/share/deviceinfo/deviceinfo

Remove it when it's empty.
[ci:skip-build]: already built successfully in CI
2024-04-20 13:33:48 +02:00
Adam Thiede
fbd92700e6
linux-postmarketos-mediatek-mt8173: upgrade to 6.8.7 (MR 5051)
[ci:skip-build]: already built successfully in CI
2024-04-20 13:31:10 +02:00
Stefan Hansson
86c77a7a38
device: remove references to postmarketos-update-kernel (MR 5045)
Package was removed and is now included in boot-deploy.

[ci:ignore-count]: Lots of packages intentionally changed.
[ci:skip-build]: already built successfully in CI
2024-04-20 11:15:33 +02:00
Stefan Hansson
824647ea3a
CI: remove flash_kernel_on_update dependency check (MR 5045)
This property is now handled by boot-deploy, which devices shouldn't
depend on directly anyway.
2024-04-20 11:15:33 +02:00
Stefan Hansson
66d84cc745
CI: remove postmarketos-update-kernel from Shellcheck check (MR 5045)
This script has been integrated into boot-deploy.
2024-04-20 11:15:33 +02:00
Stefan Hansson
2af44f93f7
device: remove references to postmarketos-update-depthcharge-kernel (MR 5045)
Package was removed and is now included in boot-deploy.
2024-04-20 11:15:33 +02:00
Stefan Hansson
93a5491872
CODEOWNERS: remove reference to postmarketos-update-depthcharge-kernel (MR 5045)
Package was removed.
2024-04-20 11:15:33 +02:00
Stefan Hansson
02b5dcbcac
main/postmarketos-update-kernel: remove (MR 5045)
Was integrated into boot-deploy in
5c17849fab
As such, this package is redundant.
2024-04-20 11:15:33 +02:00
Stefan Hansson
016986d4ac
main/postmarketos-update-depthcharge-kernel: remove (MR 5045)
Was integrated into boot-deploy in
bd14f1be8d
As such, this package is redundant.
2024-04-20 11:15:28 +02:00
Stefan Hansson
f8fdc70e70
main/postmarketos-tweaks: take over maintainership (MR 5047)
[ci:skip-build]: already built successfully in CI
2024-04-18 23:13:26 +02:00
Stefan Hansson
39e1774da3
main/postmarketos-tweaks: upgrade to 0.13.2 (MR 5047) 2024-04-18 23:13:08 +02:00
Clayton Craft
1244e97349
main/boot-deploy: upgrade to 0.15 (MR 5044)
Features:
  - Include "sort-key" in bootloader spec config (MR 58)
  - Integrate pmos-update-depthcharge-kernel and pmos-update kernel
    logic (MR 55)

[ci:skip-build] already built successfully in CI
2024-04-18 12:15:40 -07:00
Barnabás Czémán
295ea8ae74
device-xiaomi-daisy: move calibration to subpackage (MR 5040)
Move goodix calibration rules to an subpackage because only the
replacement controllers are need this.

[ci:skip-build]: already built successfully in CI
2024-04-18 15:07:26 +02:00
Clayton Craft
d1ad0d8713
main/postmarketos-initramfs: add crc32_generic module for F2FS (MR 4973)
Apparently f2fs has a soft dependency on this driver, so if it's =m in
the kernel then let's make sure it's always in the initramfs since f2fs
is a supported filesystem.

Fixes https://gitlab.com/postmarketOS/pmaports/-/issues/2711
[ci:skip-build]: already built successfully in CI
2024-04-18 14:44:55 +02:00
Andreas Kemnade
f2808cb350
u-boot-kobo-clara: add upgrade script (MR 4550)
[ci:skip-build]: already built successfully in CI
2024-04-18 14:23:32 +02:00
Andreas Kemnade
219caeccad
device-kobo-clara: use extlinux.conf (MR 4550)
simplify things by using standard ways to boot.
2024-04-18 14:23:32 +02:00
Andreas Kemnade
a5feb76365
linux-kobo-clara-downstream: binutils 2.41 fix (MR 4550)
no more solaris format for sections
2024-04-18 14:23:32 +02:00
Andreas Kemnade
3531702772
device-kobo-clara: split out downstream build as unmaintained (MR 4550)
Near-mainline kernel is feature-complete since quite some time, so lets
use that as a default also to simplify boot process, since downstream kernel
depends on various blobs loaded into memory by the bootloader.
Get rid of quirks required in boot process for mainline kernels
also by using a near-mainline u-boot.
Prepare for handling rev b devices.
Keep Downstream kernel to be able to optimize/compare EPD operation
2024-04-18 14:23:32 +02:00
bzy-080408
a83cb87b70
huawei-milan: new device (MR 5034)
This introduce support for Huawei Maimang5 / G9 (Plus) / Nova (Plus)

[ci:skip-build]: already built successfully in CI
2024-04-17 19:12:46 +02:00
Arnav Singh
1e3d484a64
device-pine64-pinephone: update UCM config for new headphone jack name (MR 5022)
The previous name stopped being valid with the kernel 6.8 upgrade. This caused
ALSA to think a headset was connected, which in turn caused callaudiod to
select the Headphones port in the PA sink instead of Earpiece / Speaker.

I missed this in my own kernel upgrade testing because I use
a custom callaudiod that doesn't care about the headphones port.
I now confirmed the issue with regular callaudiod and that this change
fixes it.

Co-authored-by: Fiona Klute <fiona.klute@gmx.de>
2024-04-16 10:53:07 -07:00
Caleb Connolly
19ac4f599b
linux-postmarketos-qcom-sdm845: upgrade to 6.9-rc4 (MR 5036)
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>

[ci:skip-build]: already built successfully in CI
2024-04-16 20:19:22 +03:00
Clayton Craft
f5099ad248
device-lenovo-21bx: various improvements (MR 5027)
- usbguard config: these are builtin USB devices that should be allowed
  by default

- removed nonfree-fw package, I decided that everything from that should
  be required since some fairly major features are broken without these
  firmwares and relevant userspace apps

- re-enabled EFI runtime services, so efifb is used (and probably other
  benefits?)
        - Laptops need the "Linux Boot" option enabled
        - "With recent UEFI firmware efi=noruntime can be left out when
          the Linux Boot option is enabled."
        - https://github.com/jhovold/linux/wiki/X13s#kernel-command-line
[ci:skip-build]: already built successfully in CI
2024-04-16 14:47:54 +02:00
Vitaliy Ognev
b8f8f8dec1
ci: always update docker image packages (MR 5038) 2024-04-16 09:46:11 +03:00