Commit graph

8274 commits

Author SHA1 Message Date
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
Alexey Minnekhanov
99e263a632
linux-postmarketos-qcom-sdm660: upgrade to 6.7.0 (MR 4702)
New devices:
* Xiaomi Mi Pad 4 Plus
  - simpledrm framebuffer
  - touchscreen
  - battery (fuelgauge, charger)
  - radios (modem, Wi-Fi, Bluetooth)

Changes to existing devices:
 * lavender:
   - radios (modem, Wi-Fi, Bluetooth)
   - battery (fuelgauge, charger)
 * tulip:
   - touchscreen
   - fixed vol-down button
   - Bluetooth

Fixes: https://gitlab.com/postmarketOS/pmaports/-/issues/1580
Fixes: https://gitlab.com/postmarketOS/pmaports/-/issues/2501

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
2024-01-15 10:04:41 +01:00
Clayton Craft
74f7f0bc37
device-lenovo-21bx: add dependencies for enabling wwan / mobile data (MR 4718)
In order to make it work properly, the fcc unlock script from MM should
also be enabled... This info will be added to the device's wiki page for
now since upstream MM discourages distros from enabling these unlock
scripts by default...

fixes https://gitlab.com/postmarketOS/pmaports/-/issues/2489

[ci:skip-build]: Already built successfully in CI.
2024-01-15 10:01:40 +01:00
M0Rf30
f18fa3eabc
linux-postmarketos-qcom-msm8953: enable USB sound card module (MR 4724)
Closes #2531

[ci:skip-build]: Already built successfully in CI.
2024-01-15 09:40:37 +01:00
Oliver Smith
f6b8f9cf82
oem-amd: put amdgpu module + fw into initramfs (MR 4723)
Add the amdgpu kernel module and its firmware, as it is required for
e.g. the Thinkpad L14 to have any graphical output on boot.
2024-01-14 19:32:22 +00:00
Oliver Smith
44989cfce7
device-generic-x86_64: modules-initfs: add nvme (MR 4723) 2024-01-14 19:31:06 +00:00
Luca Weiss
3136aa71f5
linux-postmarketos-qcom-msm8974: upgrade to 6.7.0 (MR 4717)
[ci:skip-build] Already built fine on Gitlab CI
2024-01-14 17:09:04 +03:00
Barnabás Czémán
4b6128436d
xiaomi-daisy: add goodix_ts for modules-initfs (MR 4722) 2024-01-14 02:17:35 +01:00
Henrik Grimler
e63aeaf15e
device-samsung-m3: set getty and flash kernel on update (MR 4719)
Serial shell on ttySAC2, and kernel upgrades, work well for i9305/m3,
just like for i9300/m0.

[ci:skip-build]: Already built successfully in CI.
2024-01-13 18:23:03 +01:00
Eli Hersha
2ac7ccbdb4
amazon-sheldon: new device (MR 4698) 2024-01-13 07:11:00 +03:00
Stefan Hansson
a66a9051a5
device-motorola-titan: remove Weston configuration (MR 4713)
The fbdev backend was removed with Weston 10 which has been out for a
good while now. As such, it doesn't matter whether Xwayland works or not
since Weston won't work at all --- the DRM backend, which is what would
get used instead of fbdev with this removed, won't work on downstream
kernels like the one used by this device.

[ci:ignore-count]
[ci:skip-build]: Already built successfully in CI.
2024-01-12 13:07:30 +01:00
Stefan Hansson
f3e4de82e4
device-motorola-thea: remove Weston configuration (MR 4713)
The fbdev backend was removed with Weston 10 which has been out for a
good while now. As such, it doesn't matter whether Xwayland works or not
since Weston won't work at all --- the DRM backend, which is what would
get used instead of fbdev with this removed, won't work on downstream
kernels like the one used by this device.
2024-01-12 13:07:24 +01:00
Stefan Hansson
d0e7661a0b
device-raspberry-pi3: remove Weston configuration (MR 4713)
The only relevant backend available for Weston nowadays is the DRM one, so
remove this unnecessary config.
2024-01-12 13:07:24 +01:00
Stefan Hansson
ef341cc29a
device-motorola-def: remove Weston configuration (MR 4713)
There is no dri-backend.so. I don't know if this ever existed. May have
been a typo where the author meant to type drm-backend.so. The DRM
backend should be the default anyway, so just remove it instead of
fixing what may have been a typo.
2024-01-12 13:07:23 +01:00
Stefan Hansson
7f47a0c6ea
device-pine64-dontbeevil: remove Weston configuration (MR 4713)
The fbdev backend was removed with Weston 10 which has been out for a
good while now. This device should be able to use the DRM backend
anyway given that it uses the A64 SoC which also e.g. the PinePhone
uses.

Additionally, the comment about Xwayland being broken contradicts the
actual configuration file where Xwayland actually is being enabled
(xwayland=true), so this shouldn't be causing any regressions even if it
actually is broken.
2024-01-12 13:07:23 +01:00
Stefan Hansson
ebee4faa5f
device-sony-sirius: remove Weston configuration (MR 4713)
The only relevant backend available for Weston nowadays is the DRM one, so
remove this unnecessary config.
2024-01-12 13:07:23 +01:00
Stefan Hansson
d5c4408c7b
device-oneplus-bacon: remove Weston configuration (MR 4713)
The fbdev backend was removed with Weston 10 which has been out for a
good while now. As such, Weston won't work with the downstream port
anyway which is likely where Xwayland supposedly was broken. As such,
remove this unnecessary configuration file.
2024-01-12 13:07:23 +01:00
Stefan Hansson
429b500ac0
device-nokia-n9: remove Weston configuration (MR 4713)
The only relevant backend available for Weston nowadays is the DRM one, so
remove this unnecessary config.
2024-01-12 13:07:23 +01:00
Stefan Hansson
2b8838f467
device-asus-flo: remove Weston configuration (MR 4713)
The only relevant backend available for Weston nowadays is the DRM one, so
remove this unnecessary config.
2024-01-12 13:07:23 +01:00
Stefan Hansson
4dce6d1e7d
device-qemu-riscv64: remove Weston configuration (MR 4713)
The only relevant backend available for Weston nowadays is the DRM one, so
remove this unnecessary config.
2024-01-12 13:07:23 +01:00
Stefan Hansson
16ce2825dc
device-qemu-amd64: remove Weston configuration (MR 4713)
The only relevant backend available for Weston nowadays is the DRM one, so
remove this unnecessary config.
2024-01-12 13:07:23 +01:00
Stefan Hansson
62407d486f
device-qemu-aarch64: remove Weston configuration (MR 4713)
The only relevant backend available for Weston nowadays is the DRM one, so
remove this unnecessary config.
2024-01-12 13:07:22 +01:00
Stefan Hansson
12078dbcad
device-samsung-i9100: remove Weston configuration (MR 4713)
The only relevant backend available for Weston nowadays is the DRM one, so
remove this unnecessary config.
2024-01-12 13:07:22 +01:00
Anton Bambura
713c8d261d
nvida-tegra-armv7: disable fastboot (MR 4705)
We did set these variables, so it is possible to flash boot and root
partitions separately for booting with stock partition table. This
is useful for U-Boot as secondary bootloader. But it's not good for
U-Boot as primary bootloader because the resulting images have boot
and root partitions separated, so users have to create partitions
themselves and this is very confusing.

I'm suggesting to disable it in favor of doing U-Boot as primary
bootloader, this may be harder for users, but it needs to be done
only once, and this way is more fancy and is supported on more
devices than secondary bootloader.

If someone still wants to use this port with U-Boot as secondary
bootloader they can do "pmbootstrap install --split" and
"pmbootstrap export" to get 2 separate partitions to flash.

[ci:skip-build]: Already built successfully in CI.
2024-01-11 21:57:09 +01:00
mulingLHY
9147366ec8
firmware-xiaomi-kenzo: fix slow boot caused by venus firmware (MR 4699)
Package venus firmware to fix:
"subsys-pil-tz 1de0000.qcom,venus: venus: Failed to locate venus-v1.mdt"
causing 30 seconds delay on boot.
2024-01-11 16:51:19 +03:00
Svyatoslav Ryhel
942664fd0b
firmware-nvidia-tegra-armv7: add missing bcm4330 sdio and Ouya bluetooth firmware (MR 4711)
bcm4330 has 2 wifi sdio firmwares, one with IEEE 802.11а support
and one without. One without was missing which caused some
devices to have wireless network issues.

Additionally Oyua specific bluetooth firmware was found and it
is included as well.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>

[ci:skip-build]: Already built successfully in CI.
2024-01-11 12:40:21 +01:00
Arnav Singh
fc849e370f
CODEOWNERS: add Arnavion for pine64-pinephone and shutdown-clear-rtc-wakealarm (MR 4709)
[ci:skip-build]: Already built successfully in CI.
2024-01-11 12:37:42 +01:00