Commit graph

8230 commits

Author SHA1 Message Date
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
Fiona Klute
4c3bf9ce07
linux-postmarketos-allwinner: Import patch for u_ether regression (MR 4706)
This fixes the USB networking issue, see:
https://patchwork.kernel.org/project/linux-usb/patch/20231218164532.411125-2-mailingradian@gmail.com/

Thanks to Alexey Min to pointing me at the patch!

[ci:skip-build]: Already built successfully in CI.
2024-01-11 12:35:12 +01:00
Fiona Klute
79d3be2826
linux-postmarketos-allwinner: upgrade to 6.7.0 (MR 4706)
Fixes #2349. Patches refreshed because some didn't apply when I built
directly from local repo and tried to import them with "git am".

Known issue: NetworkManager fails to assign IP to usb0, I had to
assign it manually to use USB networking.
2024-01-11 12:34:48 +01:00
Jianhua Lu
255aff57de
firmware-xiaomi-elish: upgrade to 20240109 (MR 4700)
[ci:skip-build]: Already built successfully in CI.
2024-01-11 12:28:50 +01:00
Jianhua Lu
259c733e71
linux-postmarketos-qcom-sm8250: upgrade to 6.7.0 (MR 4700) 2024-01-11 12:28:48 +01:00
Jakob Hauser
c467b2ae99
main/postmarketos-ui-xfce4: tooltips & onboard mouse keys (MR 4708)
- Hide tooltips by workaround (opacity and font size)
- Enable mouse key buttons on onboard keyboard by default (eases
  right-clicking)
2024-01-11 08:02:30 +03:00
Jakob Hauser
f6e8a7beb9
main/postmarketos-ui-mate: make use of install option -t in APKBUILD (MR 4708) 2024-01-11 08:02:26 +03:00
Hagen Fritsch
f46c5d762e
samsung-manta: fix the battery readout driver (MR 4701)
In the mainline ds2482 onewire kernel driver, active_pullup defaults to
1 which is setting the APU register. This caused the connection to the
ds2784_battery slave to be unstable and flaky. In the AOSP manta project
this flag is set to 0 as well.
2024-01-11 07:57:08 +03:00
Stefan Hansson
85b2f83b9d
wl1251-cal: move to device (MR 4707)
This is a device-specific package. The only device that depends on
this, device-nokia-n900, is in community, so let's move it there too.

[ci:skip-build]: already built successfully in CI
2024-01-10 20:27:38 +01:00
Stefan Hansson
74565c5321
u-boot-q8-a33-tablet: move to device (MR 4707)
This is a device-specific package. No need to keep it in main where it
gets included in stable releases unnecessarily. The only device that
depends on this, device-inet-a33, is in testing, so let's move it there
too.
2024-01-10 20:27:27 +01:00
Adam Thiede
2ddce77e9b
linux-postmarketos-mediatek-mt8173: enable RTL8XXU module (MR 4703)
[ci:skip-build]: already built successfully in CI
2024-01-10 20:39:55 +02:00
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