Commit graph

8400 commits

Author SHA1 Message Date
Henrik Grimler
c63c313996
device-samsung-kminilte: avoid overriding udev v4l rule in /etc (MR 4768)
Depend on postmarketos-base-downstream-disable-udev-v4l instead, which
symlinks /lib/udev/rules.d/60-persistent-v4l.rules to /dev/null.
2024-01-28 22:15:11 +01:00
Henrik Grimler
ecc91098a9
device-samsung-zerofltexx: avoid overriding udev v4l rule in /etc (MR 4768)
Depend on postmarketos-base-downstream-disable-udev-v4l instead, which
symlinks /lib/udev/rules.d/60-persistent-v4l.rules to /dev/null.
2024-01-28 22:15:11 +01:00
Henrik Grimler
f278d1f50f
device-samsung-zeroltexx: avoid overriding udev v4l rule in /etc (MR 4768)
Depend on postmarketos-base-downstream-disable-udev-v4l instead, which
symlinks /lib/udev/rules.d/60-persistent-v4l.rules to /dev/null.
2024-01-28 22:15:11 +01:00
Henrik Grimler
11b6021a21
device-samsung-v1awifi: avoid overriding udev v4l rule in /etc (MR 4768)
Depend on postmarketos-base-downstream-disable-udev-v4l instead, which
symlinks /lib/udev/rules.d/60-persistent-v4l.rules to /dev/null.
2024-01-28 22:15:11 +01:00
Henrik Grimler
4a1db82b65
device-sharp-shl22: avoid overriding udev v4l rule in /etc (MR 4768)
Depend on postmarketos-base-downstream-disable-udev-v4l instead, which
symlinks /lib/udev/rules.d/60-persistent-v4l.rules to /dev/null.
2024-01-28 22:15:11 +01:00
Henrik Grimler
4face185f1
device-samsung-j7eltetmo: avoid overriding udev v4l rule in /etc (MR 4768)
Depend on postmarketos-base-downstream-disable-udev-v4l instead, which
symlinks /lib/udev/rules.d/60-persistent-v4l.rules to /dev/null.
2024-01-28 22:15:10 +01:00
Henrik Grimler
bc573e7d96
device-samsung-treltexx: avoid overriding udev v4l rule in /etc (MR 4768)
Depend on postmarketos-base-downstream-disable-udev-v4l instead, which
symlinks /lib/udev/rules.d/60-persistent-v4l.rules to /dev/null.
2024-01-28 22:15:10 +01:00
Henrik Grimler
43f788fa2f
main/postmarketos-base-downstream: add disable-udev-v4l subpackage (MR 4768)
Which replaces /lib/udev/rules.d/60-persistent-v4l.rules (from the
eudev package) with a symlink to /dev/null.  Around 20 devices need
this to fix a kernel panic with downstream kernel when starting udev.
Issue happens due to that camera firmware is missing and/or not loaded
properly.
2024-01-28 22:15:10 +01:00
Oliver Smith
e08332313d
channels.cfg: mark v23.06 as unsupported 2024-01-28 19:06:21 +00:00
Oliver Smith
7b8f969222
cross/grub-efi-x86: upgrade to 2.12-r1 2024-01-28 18:55:30 +00:00
Oliver Smith
8e8c795b79
cross/busybox-static-*: upgrade to 1.36.1-r19 2024-01-28 18:55:23 +00:00
Willow Barraco
f0a67a15e3
main/postmarketos-ui-sxmo-de-*: change maintainership (MR 4762)
[ci:skip-build]: already built successfully in CI
2024-01-26 13:47:53 +01:00
Luca Weiss
9c79574bd9
device-fairphone-fp5: add ALSA UCM for DisplayPort audio (MR 4761)
Since audio over DisplayPort (over USB-C) is supported in the kernel,
add a UCM config to complete support.

To be clear, this might not work out of the box yet, I hope it'll start
working better when another audio route (speaker or microphone) is
working from kernel side.

[ci:skip-build]: Already built successfully in CI.
2024-01-26 12:28:31 +01:00
Luca Weiss
a794a8481c
device-fairphone-fp5: set gpu_accelerated flag, add uim-selection dep (MR 4761)
Since the GPU is supported since a while enable
deviceinfo_gpu_accelerated to let pmbootstrap show UIs like phosh.

Also with modem working with patched tqftpserv, we need the
msm-modem-uim-selection dependency, so add that as well.
2024-01-26 12:28:30 +01:00
Luca Weiss
10545000d4
linux-postmarketos-qcom-sc7280: enable useful kernel config options (MR 4761)
* BINFMT_MISC
* CIFS
* LEDS_TRIGGER_PATTERN
* NETFILTER_XT_MATCH_STATISTIC
* PM_WAKELOCKS
* SND_USB_AUDIO
* UHID
* USB_CONFIGFS_NCM
2024-01-26 12:28:30 +01:00
André Apitzsch
f8da0d6d3b
device-motorola-peregrine: add mainline kernel configuration (MR 4753)
[ci:skip-build]: Already built successfully in CI.
2024-01-26 12:25:38 +01:00
Luca Weiss
eb0ff6b46c device-htc-memul: add GPU support, ADSP & modem firmware (MR 4745)
We also kind of drop support for downstream, if somebody's interested in
this please revive it.

[ci:skip-build]: already built successfully in CI
2024-01-26 10:11:50 +00:00
Luca Weiss
0e7f627641 firmware-htc-memul: move firmware to device-specific subdirectory (MR 4745)
In mainline Linux these paths will be used, move the firmware packaging
there. By doing this we drop downstream support. Support could be
restored by adding some symlinks in a downstream-specific package if
required.

We also start squashing the firmware into .mbn format with pil-squasher.

For now we keep the files in _wififiles in their old location, I'm not
sure yet where they need to go since I didn't have wcnss working on
mainline yet.
2024-01-26 10:11:50 +00:00
Luca Weiss
28d7319042 linux-postmarketos-qcom-msm8226: upgrade to 6.7.0 (MR 4745)
Manual config changes:
* QCOM_BAM_DMUX=y
2024-01-26 10:11:50 +00:00
Stefan Hansson
d6cfda9df9
linux-purism-librem5: upgrade to 6.6.13pureos1 (MR 4759)
[ci:skip-build]: already built successfully in CI
2024-01-26 01:29:55 +01:00
Clayton Craft
f0ab570655
temp/gtk4.0: workaround for mesa-asahi being used (MR 4760)
Fixes: issue 2561
[ci:skip-build]: already built successfully in CI
2024-01-25 22:46:32 +00:00
Teemu Ikonen
b5bb90e3d3
temp/gtk4.0: upgrade to 4.12.5 (MR 4754)
Remove post-install etc. scripts.

[ci:skip-build]: Already built successfully in CI.
2024-01-24 17:06:24 +01:00
Arnav Singh
ffd803d1dd
main/postmarketos-base-ui: read USB network interface name from configfs gadget (MR 4750)
The configfs gadget can provide the actual interface name, which may not be
the default "usb0" since another gadget driver might have claimed "usb0".
This code is based on the `start_unudhcpd` function in `init_functions.sh`

[ci:skip-build] already built successfully in CI
2024-01-23 12:21:24 -08:00
Arnav Singh
2a0fab1a77
main/postmarketos-initramfs: support reading USB network UDC name from deviceinfo (MR 4750)
Before this change the script assumed that the device has only one UDC.
However it is possible for a device to have multiple UDCs, in which case
the deviceinfo is the appropriate place to specify which one should be used.
This change adds an optional deviceinfo variable `deviceinfo_usb_network_udc`
to specify the UDC that should be used.

Also, before this change the script assumed the USB network interface name is
"usb0". But other gadget drivers like `g_cdc` can claim USB interfaces
before the initramfs script gets around to creating one for USB networking,
so the interface might be "usb1" or something else. The configfs gadget itself
can provide the actual interface name, so this change makes the script
use that.
2024-01-23 12:21:24 -08:00
Pablo Correa Gómez
cf69326222
device/*: rebuild all devices (MR 4551)
[ci:ignore-count]
2024-01-22 19:32:30 +01:00
Pablo Correa Gómez
0a95f6ac31
main/devicepkg-dev: machine-info: remove manufacturer from HARDWARE_MODEL (MR 4551) 2024-01-22 19:32:30 +01:00
Luca Weiss
439227770f
linux-postmarketos-qcom-sm6350: enable CONFIG_RMNET (MR 4749)
Required for getting mobile data up, otherwise ModemManager fails to
connect with:

  Status     |                connected: no
             |    connection error name: org.freedesktop.ModemManager1.Error.MobileEquipment.Unknown
             | connection error message: failed to create net link for device: failed to add link for device: Could not allocate link: Failed to add link with mux id 1: Netlink message with transaction 27 failed
[ci:skip-build]: already built successfully in CI
2024-01-21 19:10:06 +01:00
Luca Weiss
0274ee9ea0
linux-postmarketos-qcom-sc7280: enable CONFIG_RMNET (MR 4749)
Required for getting mobile data up, otherwise ModemManager fails to
connect with:

  Status     |                connected: no
             |    connection error name: org.freedesktop.ModemManager1.Error.MobileEquipment.Unknown
             | connection error message: failed to create net link for device: failed to add link for device: Could not allocate link: Failed to add link with mux id 1: Netlink message with transaction 27 failed
2024-01-21 18:02:48 +01:00
Duje Mihanović
90fe9b508a
linux-samsung-coreprimevelte: upgrade to 6.7.0 (MR 4746)
Rewritten PMIC driver, power key and vibration support are also added in
this upgrade.
2024-01-21 13:17:46 +01:00
M0Rf30
badfe24eb6
linux-postmarketos-qcom-msm8953: upgrade to 6.6.12-r0 (MR 4744)
[ci:skip-build]: already built successfully in CI
2024-01-19 22:38:55 +01:00
Clayton Craft
bf26469fd7
main/postmarketos-mkinitfs: add /lib/firmware to list of trigger dirs (MR 4742)
In many cases, when fw is installed in /lib/firmware, some of it ends up
in the initramfs. In those situations, mkinitfs should run so that the
initramfs gets the latest fw. This will result in mkinitfs possibly
running in cases where it doesn't matter (i.e. device has fw in
/lib/firmware but none is used in the initramfs), but I think the
trade-off is worth it.

This also breaks the triggers= line into multiple lines so that it's
easier to review/maintain. We can't prepend whitespace on these lines
since the apkbuild parser expects dirs to be separated by ":"
2024-01-19 18:51:50 +01:00
Stefan Hansson
73b1a493b9
ci: replace Flake8 with Ruff (MR 4741)
See similar patch in pmbootstrap for rationale:
27618d5ffd

W504 ignore is removed as the rule does not exist in Ruff. But, since it
was ignored anyway, this does not matter.
2024-01-19 18:06:09 +01:00
Stefan Hansson
57aa208435
ci: switch Alpine from latest stable to Edge (MR 4741)
We use this in pmbootstrap, and it is currently necessary to use Ruff.
Issue about moving Ruff to community:
https://gitlab.alpinelinux.org/alpine/aports/-/issues/15693
2024-01-19 18:05:58 +01:00
Clayton Craft
b5b7983ade
ci/grep.sh: always run all tests (MR 4740)
fixes #2543
2024-01-19 17:02:21 +01:00
Richard Acayan
4472e41952
google-sargo: drop msm-firmware-loader dependency (MR 4730)
Previously, the modem firmware would be loaded from the modem partition
using this firmware loader. As of the 6.5.4 SDM670 kernel upgrade, the
firmware is installed and loaded from the firmware package. Drop the
dependency on the msm-firmware-loader, which is now unused.
2024-01-19 16:43:46 +03:00
Clayton Craft
a19105ce45
device-lenovo-21bx: add 'quiet' kernel cmdline option (MR 4739)
hides some early EFI-related kernel messages from the console
2024-01-19 12:38:50 +02:00
Clayton Craft
2ad0d8c4dc
linux-lenovo-21bx: use zinstall (MR 4739) 2024-01-19 12:38:50 +02:00
Mohd Bilal
7a68a913e1
samsung-j6lte: new device (MR 4658)
[ci:skip-build]: Already built successfully in CI.
2024-01-18 23:25:52 +01:00
Stefan Hansson
d8b97a440f
CI: check for wallpaper being set in device packages (MR 4738)
We do not want this going forward as we will be changing the wallpaper
on a bi-yearly basis and we do not want to have perform shotgun surgery
every time we do so.

[ci:skip-build]: already built successfully in CI
2024-01-18 22:39:49 +01:00
WeirdTreeThing
1f86677848
alsa-ucm-conf-google-kukui: improvements for mt8183 ucm (MR 4733)
Krane doesn't have a headphone jack, which caused audio server issues
for me. Add a check to only enable the headphone and headset mic device
on non-Krane boards. Also improve the formatting and remove
ChromeOS-specifc options.

[ci:skip-build]: already built successfully in CI
2024-01-18 19:21:25 +01:00
QC8086
def7d29774
pine64-pinebookpro: change maintainership (MR 4736)
I would like to maintain this device to keep it in community.

[ci:skip-vercheck]
[ci:skip-build]: already built successfully in CI
2024-01-18 19:18:19 +01:00
Nia Espera
ee009c6305
device-oneplus-lemonade: remove lemonadep bits and stop using empty dtbo (MR 4729)
[ci:skip-build]: already built successfully in CI
2024-01-18 19:06:44 +01:00
Nia Espera
e3fd584570
devices/testing: add device-oneplus-lemonadep (MR 4729) 2024-01-18 19:06:44 +01:00
Nia Espera
b76664e25b
linux-postmarketos-qcom-sm8350: upgrade to v6.7 (MR 4729)
Also change source to point to shared sm8350 mainline kernel fork
2024-01-18 19:06:44 +01:00
Nia Espera
b7361b32b6
soc-qcom-sm8350: add necessary packages as depends (MR 4729) 2024-01-18 19:06:37 +01:00
Nia Espera
34eedabcf4
firmware-oneplus-lemonade: add more firmware (MR 4729) 2024-01-18 19:06:04 +01:00
Clayton Craft
25557afcb5
linux-lenovo-21bx: build specific commit, not branch archive (MR 4735)
I was building a branch archive previously, which meant that rebuilding
would fail if someone pushed to the branch upstream (the archive
checksum would change)... so I've reverted back to building from a
specific commit for now.

pkgrel was increased because this commit includes a couple of
audio-related patches that weren't included in the previous packaging of
the 6.7 branch.

[ci:skip-build] Already build-tested on Gitlab CI
2024-01-18 08:34:01 +03:00
Stefan Hansson
9ef583c26a
linux-postmarketos-stericsson: upgrade to 6.7.0 (MR 4443)
[ci:skip-build]: already built successfully in CI
2024-01-17 00:31:44 +01:00
mulingLHY
1ad76090c0
linux-xiaomi-kenzo: fix kernel-compile error by remove Sun-Solaris style flag (MR 4715)
[ci:skip-build]: Already built successfully in CI.
2024-01-15 10:11:51 +01:00
Alexey Minnekhanov
df6a692c8f
xiaomi-clover: add Mi Pad 4 Plus variation (MR 4702)
Similarly to how it was done for xiaomi-beyllium with varying
display panels, add kernel variant for clover-plus.
Mi Pad 4 Plus is very very similar to regular Mi Pad 4,
but it has different panel and different touchscreen.
Therefore it uses different device tree in kernel - and it
is the only changed line in deviceinfo file.

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>

[ci:skip-build]: Already built successfully in CI.
2024-01-15 10:04:43 +01:00