Commit graph

8059 commits

Author SHA1 Message Date
Clayton Craft
a75a7cf685
device-lenovo-21bx: drop kernel cmdline params, add modules to initfs (MR 4696)
These cmdline params are not needed because the issues they worked
around were fixed in 6.7 or in this kernel branch we are using.

Additional modules are included in the initramfs since they may not be
builtin in the future, and not having them loaded in the initfs can break booting
2024-01-09 16:30:16 -08:00
Clayton Craft
7806d4f2b6
linux-lenovo-21bx: upgrade to 6.7 (MR 4696)
kconfig changes:
- Most are due to running 'pmb kconfig migrate'
- Enable USB_F_FS
- Build ath11k as a module + enable debug, to help with debugging
  pma#2361
- Enable support for BT BR/EDR stuff (like HFP)
- Enable CRYPTO_MD4 for EAP_MSCHAPv2
2024-01-09 16:30:14 -08:00
Clayton Craft
d7dbabe46f
device-generic-x86_64: split off oem-specific packages (MR 4673)
This uses oem-specific packages for configuring Intel and AMD systems,
and installs them all by default for new images using pmbootstrap's
pmb_recommends feature.

The intention is to provide pre-built images with support for Intel and
AMD already enabled/configured, and users can remove an unwanted set of
packages (e.g., `apk del device-generic-x86_64-intel` when on an AMD
system) if they want to.

Upgrading existing systems should work, in that I haven't observed any
apk conflicts with it. But you do need to manually install the new
oem-specific package if you need it (e.g. `oem-intel`)

fixes https://gitlab.com/postmarketOS/pmaports/-/issues/2484
2024-01-09 21:56:39 +01:00
Clayton Craft
304b4043b8
device/oem-intel: new aport (MR 4673) 2024-01-09 21:56:39 +01:00
Clayton Craft
6dd2396695
device/oem-amd: new aport (MR 4673) 2024-01-09 21:56:39 +01:00
Adam Thiede
a27736f599
linux-postmarketos-mediatek-mt8173: upgrade to 6.7 (MR 4695)
[ci:skip-build]: already built successfully in CI
2024-01-09 01:34:43 +02:00
M0Rf30
9b1b2a1a32
linux-postmarketos-qcom-msm8953: upgrade to 6.6.10-r0 (MR 4690)
[ci:skip-build]: Already built successfully in CI.
2024-01-08 19:09:39 +01:00
Luca Weiss
9b34d19498
device-fairphone-fp4: update panel driver module name (MR 4694)
The panel driver has been renmaed in the kernel sources to be in line
with what's going to be upstreamed.

[ci:skip-build]: Already built successfully in CI.
2024-01-08 19:07:02 +01:00
Luca Weiss
b9ecefbf67
linux-postmarketos-qcom-sm6350: upgrade to 6.7.0 (MR 4694)
Kconfig changes:
* CRYPTO_DEV_QCE
* CRYPTO_STATS
* CRYPTO_USER_API_AEAD
* GENERIC_ADC_THERMAL
* HW_RANDOM
* QCOM_BAM_DMA
2024-01-08 19:06:56 +01:00
Luca Weiss
16cb5fa1dc
linux-postmarketos-qcom-sc7280: upgrade to 6.7.0 (MR 4693)
Kconfig changes:
* CRYPTO_DEV_QCE
* CRYPTO_STATS
* CRYPTO_USER_API_AEAD
* HW_RANDOM
* QCOM_BAM_DMA
* SND_SOC_SM8250

[ci:skip-build]: Already built successfully in CI.
2024-01-08 19:03:23 +01:00
Oliver Smith
0722c95c1c
cross/grub-efi-x86: upgrade to 2.12-r0 2024-01-08 12:50:54 +01:00
Caleb Connolly
1fbbc17339
soc-qcom-sdm845: update alsa UCM configs (MR 4688)
Fix JackControl entries.

Signed-off-by: Caleb Connolly <caleb@connolly.tech>

[ci:skip-build]: Already built successfully in CI.
2024-01-06 23:14:14 +01:00
Svyatoslav Ryhel
93a3a97c95
firmware-nvidia-tegra-armv7: switch to new repo (MR 4683)
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
[ci:skip-build]: already built successfully in CI
2024-01-05 21:05:14 +01:00
Svyatoslav Ryhel
3e4816e2bd
linux-postmarketos-grate: upgrade to 6.6.9 (MR 4683)
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
2024-01-05 21:04:19 +01:00
Arnav Singh
6c0391deb4
linux-postmarketos-allwinner: update checksum due to upstream changes (MR 4684)
Codeberg tarballs changed checksums. The content is the same as before.

Ref: https://codeberg.org/Codeberg/Community/issues/1366

[ci:skip-vercheck]
[ci:skip-build]: already built successfully in CI
2024-01-05 21:01:28 +01:00
Stefan Hansson
fe4254f697
temp/logbookd: remove (MR 4685)
The riscv64 builder in Alpine has now caught up and logbookd is
available there for all architectures.
2024-01-05 20:57:19 +01:00
Caleb Connolly
57744b984e
postmarketos-initramfs: export logs on boot failure (MR 4646)
Currently, when postmarketOS fails to boot up, retrieving any
information necessary to root cause the issue is non-trivial, requiring
building a custom initramfs with debug-shell enabled and then manually
copying out data.

Let's improve the situation by exporting logs automatically on boot
failure. This is safer than just exposing a root shell but still
provides a whole lot of useful info that should make duplicating and
triaging issues much easier for developers.

This commit implements the functionality and includes some generally
useful data. We then generate a README and expose files for each command/log
as well as an archive that can be easily attached to a GitLab issue.

To help with triaging, also record the version of the postmarketos-initramfs
package and hash the init.sh and init_functions.sh files.

For testing purposes, you can trigger the log recovery mode on-time by
creating an empty file named ".pmos_export_logs" in the /boot partition.

Signed-off-by: Caleb Connolly <caleb@connolly.tech>
2024-01-05 17:29:45 +00:00
Caleb Connolly
241ade087f
postmarketos-initramfs: always save logs (MR 4646)
Always write logs to the ramdisk, adjust setup_log() to spawn "tail" to
pipe the log to the console device when PMOS_NO_OUTPUT_REDIRECT is set.

This is necessary to ensure that the initramfs logs can be extracted on
a failed boot.

Signed-off-by: Caleb Connolly <caleb@connolly.tech>
2024-01-05 16:36:18 +00:00
Alexey Minnekhanov
190860eb5f
xiaomi-lavender: move downstream port to unmaintained (MR 4676)
In preparation of new sdm660-mainline kernel release all
downstream ports will become irrelevant.

If needed, downstream port can still be chosen as
'xiaomi-lavender-downstream' during pmbootstrap init.

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
[ci:skip-build]: already built successfully in CI
2024-01-04 02:39:11 +01:00
M0Rf30
22c3cd1e69
linux-postmarketos-qcom-msm8953: upgrade to 6.6.8-r0 (MR 4671)
[ci:skip-build]: already built successfully in CI
2024-01-03 22:10:47 +01:00
M0Rf30
856aa1af6d
soc-qcom-msm8953: update ucm configurations (MR 4669)
- fix jack control

[ci:skip-build]: already built successfully in CI
2024-01-03 22:08:37 +01:00
Anton Bambura
f774a11e24
temp/xf86-video-opentegra: add a comment about removal (MR 4679)
[ci:skip-vercheck]: Changes don't affect the resulting package
[ci:skip-build]: Changes don't affect the resulting package
2024-01-03 21:23:37 +01:00
Anton Bambura
36c450994a
temp/libvdpau-tegra: add a comment about removal (MR 4679) 2024-01-03 21:23:35 +01:00
Anton Bambura
71b23d8d95
samsung-p4wifi: move libvdpau-tegra to x11 subpackage (MR 4680)
It depends on some x11 libraries, so it pulls x11 when we don't need
it. Also, vdpau is a xorg thing which is not likely to work on wayland.
2024-01-02 23:31:54 +03:00
Anton Bambura
9d01f154ae
samsung-i927: move libvdpau-tegra to x11 subpackage (MR 4680)
It depends on some x11 libraries, so it pulls x11 when we don't need
it. Also, vdpau is a xorg thing which is not likely to work on wayland.
2024-01-02 23:31:51 +03:00
Anton Bambura
c332d82f77
ouya-ouya: move libvdpau-tegra to x11 subpackage (MR 4680)
It depends on some x11 libraries, so it pulls x11 when we don't need
it. Also, vdpau is a xorg thing which is not likely to work on wayland.
2024-01-02 23:31:47 +03:00
Anton Bambura
6c9586a13c
microsoft-surface-rt: move libvdpau-tegra to x11 subpackage (MR 4680)
It depends on some x11 libraries, so it pulls x11 when we don't need
it. Also, vdpau is a xorg thing which is not likely to work on wayland.
2024-01-02 23:31:44 +03:00
Anton Bambura
9b0b8a4585
nvida-tegra-armv7: move libvdpau-tegra to x11 subpackage (MR 4680)
It depends on some x11 libraries, so it pulls x11 when we don't need
it. Also, vdpau is a xorg thing which is not likely to work on wayland.
2024-01-02 23:31:41 +03:00
Clayton Craft
ed3fbbfe23
device-lenovo-21bx: depend on firmware-lenovo-21bx in nonfree fw pkg (MR 4664)
[ci:skip-build] already built successfully in CI
2024-01-01 15:06:32 -08:00
Clayton Craft
7e92a0cb32
firmware-lenovo-21bx: new aport (MR 4664)
non-free firmware not (yet?) submitted to linux-firmware, this is pulled
directly from the latest versions distributed by lenovo, instead of some
probably outdated repo distributed by random folks.

The bt firmware here fixes an issue where the bt range on the 21bx is
extremely poor (like ~1 meter or less)
2024-01-01 15:06:32 -08:00
Henrik Grimler
30ad206d3e
shared-patches: merge linux3.4 #alloc&#execinstr patches (MR 4672)
linux3.4-ARM-8933-1-replace-Sun-Solaris-style-flag-on-section-xz-supplementation.patch
contains an addition that was not part of
linux3.4-ARM-8933-1-replace-Sun-Solaris-style-flag-on-section.patch
simply because error did not occur with the config I tested with.

[ci:skip-build]: already built successfully in CI
2024-01-01 15:44:22 +01:00
Oliver Smith
780a96aec1
cross/busybox-static-aarch64: upgrade to 1.36.1-r18 2024-01-01 15:16:59 +01:00
Oliver Smith
83a5b08c2d
cross/musl-*: upgrade to 1.2.4_git20230717-r5 2024-01-01 14:12:22 +01:00
Oliver Smith
62f75c65ff
cross/busybox-static: upgrade to 1.36.1-r18 2024-01-01 14:11:55 +01:00
hexaheximal
e0ecc07790
main/postmarketos-ui-openbox: new aport (MR 4667)
[ci:skip-build]: already built successfully in CI
2024-01-01 11:59:26 +00:00
Teemu Ikonen
60485f1d08
temp/gtk+3.0: Upgrade to 3.24.37-2pureos4, fix patches (MR 4548)
Upgrade to upstrem version 3.24.37-2pureos4.

Apply an explicit list of patches from the PureOS upstream sources.
These upstream patches were skipped in the previous version and are now
applied:

  pureos/adaptive/Add-the-view-sidebar-symbolic-icon.patch
  pureos/events-Compress-touch-update-events.patch

Remove upstreamed gdk-wayland-Track-last-touch-serial-on-seat.patch.

Add a fixed version of 'Port file chooser to phones' patch:
https://source.puri.sm/Librem5/debs/gtk/-/blob/pureos/byzantium/debian/patches/pureos/adaptive/Port-file-chooser-to-phones.patch
The original did not apply cleanly and was disabled by PureOS upstream:
f7dfd6e7b6

[ci:skip-build] already built successfully in CI
2023-12-31 15:33:24 -08:00
Svyatoslav Ryhel
1c8cb906f4
device-nvidia-tegra-armv7: move to community (MR 4641)
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>

[ci:skip-build]: Already built successfully in CI.
2023-12-31 10:10:30 -05:00
Svyatoslav Ryhel
b36b693965
linux-postmarketos-grate: move to community (MR 4641)
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
2023-12-31 10:09:47 -05:00
Anton Bambura
c4488f3c36
linux-postmarketos-grate: upgrade to 6.6.8 (MR 4668)
Probably fixes https://gitlab.com/postmarketOS/pmaports/-/issues/2486
2023-12-31 17:14:14 +03:00
M0Rf30
325626bccb
main/lk2nd-msm8953: upgrade to 0.3.6 (MR 4670)
[ci:skip-build]: already built successfully in CI
2023-12-31 14:44:35 +01:00
Augis154
1b4262607d
xiaomi-monet: new device (MR 4612)
[ci:skip-build]: already built successfully in CI
2023-12-31 14:09:36 +01:00
Luca Weiss
f012b3b37c
linux-postmarketos-qcom-msm8974: upgrade to 6.7.0_rc5 (MR 4663)
Manual config changes:
* POWER_RESET_QCOM_PON=y
* QCOM_RPM_MASTER_STATS=y

[ci:skip-build]: Already built successfully in CI
2023-12-31 12:10:14 +01:00
hexaheximal
26cd749376
device-samsung-gta7litewifi: add msm-fb-refresher to the APKBUILD (MR 4666)
[ci:skip-build] already built successfully in CI
2023-12-29 12:04:24 -08:00
Clayton Craft
9911c9f9de
device-tablet-x{64,86}uefi: drop (MR 4554)
Moved/consolidated/refactored into "device-generic-x86_64"
2023-12-29 21:24:53 +02:00
Clayton Craft
93b904420a
device-generic-x86_64: new aport (MR 4554)
This device package is intended to replace the tablet-x*uefi device
packages. It was made by basically merging config from those two
packages.

One important change (besides the name, covered later) is that it
replaces grub-efi with sd-boot for these devices.

The pkgver is starting at '8' to get ahead of the packages this is meant
to replace.

Because package names, especially for device packages(!), is important,
here's a long explanation of why the name is "device-generic-x86_64":

"uefi" was excluded from the device package name, because it should (in
theory at least...) be able to simultaneously support EFI and non-EFI
boot in 1 device package. The device-qemu-amd64 package kiiiinda does
this already and could be a useful example for how to do that, though in
this situation we'd need to support syslinux for legacy boot instead of
what qemu does (bypass installed bootloader and directly boot the
kernel). In other words, the packages this one is meant to replace only
support EFI boot, they currently don't support legacy boot. So IF we
need to support legacy boot in the future and IF there's no way to
support both in one package, THEN we can consider changing the name of
this one or calling the other "-legacy" or something.

"x86_64" instead of "amd64" (like the device-qemu-amd64 device package),
because "x86_64" is what Alpine uses to refer to this arch, and it
doesn't have a hw vendor name baked into it.

"tablet" was dropped from the name, because there are many other x86_64 devices
out there that people might want to install pmOS. For example, it might be
confusing if you want to install pmOS on an x86_64 toaster but best
pmOS image for it is named "device-tablet-..."
2023-12-29 21:24:52 +02:00
Willow Barraco
3695e5b98f
main/postmarketos-ui-sxmo-de-*: Fix sxmo-setpermissions does not exists (MR 4659)
This daemons has been dropped, but this service management line
remained.

[ci:skip-build] already built successfully in CI
2023-12-29 09:44:42 -08:00
Duje Mihanović
189186cc69
linux-samsung-coreprimevelte: upgrade to v6.7-rc7 (MR 4600)
Also add a patch to fix NCM.

[ci:skip-build] already built successfully in CI
2023-12-29 09:40:43 -08:00
Luca Weiss
e5c26d38f8
CI: add CODEOWNERS file sanity check (MR 4662)
* Check for space indentation instead of tabs
* Check that an entry actually exists
* Check that a directory ends in a slash, otherwise GitLab seems to
  ignore it
2023-12-29 15:02:10 +01:00
Luca Weiss
2cb6b5e645
CODEOWNERS: fix typos, remove non-existing entries (MR 4662) 2023-12-29 15:02:10 +01:00
Luca Weiss
c34ddc658b
CODEOWNERS: clean up formatting (MR 4662)
Make sure all directories end with a slash, replace spaces with tabs
2023-12-29 15:02:09 +01:00