Commit graph

8176 commits

Author SHA1 Message Date
Henrik Grimler
20e286aa77
linux-samsung-chagallwifi: add patches to fix compilation issues (MR 4721)
Required after some somewhat recent gcc update.
2024-01-30 12:26:21 -08:00
Henrik Grimler
89d074c762
samsung-klimtlte: enable FIMC IS with downstream kernel (MR 4721)
As for several other exynos devices we need to disable the
video4linux's udev rule OR disable FIMC IS and patch kernel to fix
build error without FIMC IS.

Add dependency on postmarketos-base-downstream-disable-udev-v4l to
override the v4l rule with symlink to /dev/null.  We can then drop
FIMC IS patch and keep kernel config more similar to original one.
2024-01-30 12:26:21 -08:00
Henrik Grimler
7d3a0bb977
samsung-chagallwifi: enable FIMC IS with downstream kernel (MR 4721)
As for several other exynos devices we need to disable the
video4linux's udev rule OR disable FIMC IS and patch kernel to fix
build error without FIMC IS.

Add dependency on postmarketos-base-downstream-disable-udev-v4l to
override the v4l rule with symlink to /dev/null.  We can then drop
FIMC IS patch and keep kernel config more similar to original one.
2024-01-30 12:26:21 -08:00
Henrik Grimler
6b48aee5cd
firmware-samsung-klimt: add wifi firmware for mainline (MR 4721)
We take the nvram file from downstream vendor repo, and depend on
linux-firmware-brcm for the brcm blob.
2024-01-30 12:26:21 -08:00
Henrik Grimler
bc15225b03
firmware-samsung-klimt: switch to latest commit (MR 4721) 2024-01-30 12:26:21 -08:00
Henrik Grimler
7af2394e0c
samsung-klimtlte: select firmware pkg variant in device package (MR 4721)
We want both klimtwifi and klimtlte to be able to depend on
firmware-samsung-klimt, for both their downstream and mainline kernel
variants.

Previously we used install_if like:
install_if="device-samsung-klimtlte-kernel-mainline" which will only
work for klimtlte and not klimtwifi.  Instead we add two nonfree
subpackages to the device packages that install_if's depending on
kernel choice.
2024-01-30 12:26:20 -08:00
Henrik Grimler
a078aa3c62
firmware-samsung-chagall: add wifi firmware for mainline (MR 4721)
We take the nvram file from downstream vendor repo, and depend on
linux-firmware-brcm for the brcm blob.
2024-01-30 12:26:20 -08:00
Henrik Grimler
a21a732983
firmware-samsung-chagall: add more downstream firmware blobs (MR 4721)
Add more wifi blobs, which might be used by different device models,

Also switch to another, better maintained, source repo.
2024-01-30 12:26:20 -08:00
Henrik Grimler
654b9dc36e
samsung-chagallwifi: select firmware pkg variant in device package (MR 4721)
We want both chagallwifi and chagalllte to be able to depend on
firmware-samsung-chagall, for both their downstream and mainline
kernel variants.

Previously we used install_if like:
install_if="device-samsung-chagallwifi-kernel-mainline"
which will only work for chagallwifi and not chagalllte.  Instead we
add two nonfree subpackages to the device packages that install_if's
depending on kernel choice.
2024-01-30 12:26:20 -08:00
Henrik Grimler
4c89adb645
firmware-samsung-chagall: depend on firmware-samsung-exynos5420.. (MR 4721)
-downstream, when using downstream kernel.
2024-01-30 12:26:20 -08:00
Henrik Grimler
f3f459db51
firmware-samsung-klimt: dep on firmware-samsung-exynos5420-.. (MR 4721)
-downstream, when using downstream kernel.
2024-01-30 12:26:20 -08:00
Henrik Grimler
124b9d677e
firmware-samsung-exynos5420-downstream: add package (MR 4721)
Provides firmware files that are common for all Samsung devices based
on Exynos 5420 when using Samsung's vendor kernel.

For now the package contains mfc, sound and bluetooth firmware. Sound
and bluetooth do not work at the moment, but lets package the required
files anyways.
2024-01-30 12:26:20 -08:00
Arnav Singh
05a3c22d81
main/linux-postmarketos-allwinner: update to v6.7.2 (MR 4770)
Patch `0015-usb-gadget-u_ether-Re-attach-netif-device-to-mirror.patch` is
now in upstream.

[ci:skip-build]: already built successfully in CI
2024-01-29 21:22:03 +01:00
Anton Bambura
532f3962a5
temp/xf86-video-opentegra: remove (MR 4771) 2024-01-29 13:39:03 +01:00
Anton Bambura
9a5f7177b1
main/asus-transformer-blobtools: remove (MR 4772)
Devices that had been using it currently require users to install
U-Boot, so this package is not used and not needed anymore
2024-01-29 11:18:48 +01:00
Henrik Grimler
5e7ab9f35f
device-lg-mako: avoid overriding udev v4l rule in /etc (MR 4768)
Postmarketos-base-downstream-disable-udev-v4l symlinks
/lib/udev/rules.d/60-persistent-v4l.rules to /dev/null, so depend on
this package instead.  The dependency is added to downstream kernel
subpackage, as issue *should* only affect downstream kernel.

[ci:ignore-count]: many device packages updated at the same time
[ci:skip-build]: already built successfully in CI
2024-01-28 22:15:12 +01:00
Henrik Grimler
60c8f7a54f
device-sony-yuga: avoid overriding udev v4l rule in /etc (MR 4768)
Postmarketos-base-downstream-disable-udev-v4l symlinks
/lib/udev/rules.d/60-persistent-v4l.rules to /dev/null, so depend on
this package instead.  The dependency is added to downstream kernel
subpackage, as issue *should* only affect downstream kernel.
2024-01-28 22:15:12 +01:00
Henrik Grimler
02de87f414
device-sony-nicki: avoid overriding udev v4l rule in /etc (MR 4768)
Postmarketos-base-downstream-disable-udev-v4l symlinks
/lib/udev/rules.d/60-persistent-v4l.rules to /dev/null, so depend on
this package instead.  The dependency is added to downstream kernel
subpackage, as issue *should* only affect downstream kernel.
2024-01-28 22:15:11 +01:00
Henrik Grimler
82591a8c25
device-jolla-sbj: 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
93789b8362
device-htc-k2ul: 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
10280b22e2
device-htc-protou: 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
b9c053c51e
device-motorola-titan: 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
55f0db994b
device-motorola-thea: 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
dd04440b64
device-samsung-gts210lte: 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
4e9a885f22
device-xiaomi-santoni: 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
6fde810437
device-samsung-s3ve3g: 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
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