Commit graph

8014 commits

Author SHA1 Message Date
Luca Weiss
8b8c03461b
firmware-fairphone-fp4: upgrade to 20231122 (MR 4704)
Also start squashing the .mdt files into .mbn and provide compatibility
symlinks so old kernels that look for .mdt still find it.

Also move the zap firmware into a device-specific subdirectory.

Symlinks for venus are skipped since that one's not used in any
production branch yet for sm7225.

[ci:skip-build]: Already built successfully in CI.
2024-01-10 16:56:33 +01:00
Jakob Hauser
753b12a793
main/postmarketos-ui-lxqt: new set of improvements (MR 4623)
Dependencies:
- Add dependency "xfce4-screensaver" to provide virtual keyboard at screen
  unlock. As a dependency because several settings need to be implemented to
  integrate it well in LXQt.
- Add dependency "setxkbmap" to make keyboard layout settings work
- Add dependency "upower" to make battery icon in panel work

Recommends:
- Add recommend "pulseaudio" to make sound work
- Add recommend "adwaita-icon-theme" because that's used by xfce4-screensaver
- Remove recommend "pavucontrol" because there is already "pavucontrol-qt"

Sources:
- Add autostart desktop file for xfce4-screensaver
- Add autostart desktop file to override lxqt-xscreensaver-autostart
- Modify autostart desktop file for onboard, a startup delay mitigates
  an issue with the onboard panel icon not showing up at the first boot
- Modify lxqt-tablet.sh to include custom XDG_DATA_DIRS
- Add application desktop file to override xfce4-screensaver-preferences,
  adding it to the menu
- Add application desktop file to override xscreensaver-settings, removing it
  from the menu
- Change install location of "lxqt-tablet" repository configs from
  /etc/skel/.config to /etc/xdg/lxqt-tablet. That way they are handled as
  distribution-specific configs and are separated from the user configs in
  ~/.config.
- Upgrade to version 0.3 of "lxqt-tablet" repository:
  - Change theme to "Dark" to fix panel look
  - Increase panel size
  - Change wallpaper mode to "zoom" to avoid deforming the picture
  - Disable global single click to not interfere with PCManFM
  - Add terminal and file manager launchers to panel
  - Rename openbox xml file to apply the configs
  - Set lock command to xfce4-screensaver
  - Add xfconf files to configure xfce4-screensaver
  - Clean up configs by removing default values

[ci:skip-build]: Already built successfully in CI.
2024-01-10 16:45:57 +01:00
Jakob Hauser
540c678ad2
main/postmarketos-ui-lxqt: sort recommends and sources alphabetically (MR 4623) 2024-01-10 16:45:55 +01:00
Jakob Hauser
9b15060d54
main/postmarketos-ui-lxqt: enable on riscv64 (MR 4623)
It was disabled because Alpine riscv64 builder was behind. But now it's
fine again.
2024-01-10 16:45:55 +01:00
Clayton Craft
e9222cb0b6
CODEOWNERS: add craftyguy for lenovo-21bx (MR 4696)
[ci:skip-build] already built successfully in CI
2024-01-09 16:30:16 -08:00
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