Commit Graph
5199 Commits
Author SHA1 Message Date
David Wronek 0678d9392d device-xiaomi-surya: fix touchscreen module in initfs (MR 6212)
This fixes the touchscreen in unl0kr.

Signed-off-by: David Wronek <david@mainlining.org>
[ci:skip-build]: already built successfully in CI
2025-02-13 11:33:36 -08:00
Sicelo A. Mhlongo b99b919290 wl1251-cal: modernize and improve reliability (MR 6202)
Alpine now ships compressed firmware, so the old firmware file name is no
longer available, causing wl1251-cal to fail. Fix by manually creating the
expected uncompressed file.

Additionally, wl1251-cal has not been running early enough in most cases,
causing the kernel to use default nvs. Fix by blacklisting the driver and
probing it after the correct nvs has been extracted and saved.
[ci:skip-build]: already built successfully in CI
2025-02-13 11:29:32 -08:00
Clayton Craft 7ae8f9d25a device-xiaomi-davinci: install hexagonrpcd conf to new location (MR 6188) 2025-02-13 08:58:49 -08:00
Clayton Craft 29353f3d6a device-xiaomi-surya: install hexagonrpcd conf to new location (MR 6188) 2025-02-13 08:57:10 -08:00
Clayton Craft ce731e2c19 soc-qcom-sm7150: depend on the latest hexagonrpcd (MR 6188) 2025-02-13 08:55:42 -08:00
Clayton Craft 318ab06a29 device-xiaomi-miatoll: install hexagonrpcd conf to new location (MR 6188) 2025-02-13 08:52:57 -08:00
Clayton Craft a817674771 device-fairphone-fp4: install hexagonrpcd conf to new location (MR 6188) 2025-02-13 08:52:57 -08:00
Clayton Craft 623053fa97 device-fairphone-fp5: install hexagonrpcd conf to new location (MR 6188) 2025-02-13 08:52:57 -08:00
Clayton Craft 3d9d00d103 device-ayn-odin: install hexagonrpcd conf to new location (MR 6188) 2025-02-13 08:52:57 -08:00
Clayton Craft d2cf5de15d device-oneplus-enchilada: install hexagonrpcd conf to new location (MR 6188)
fixes #3537
2025-02-13 08:52:56 -08:00
Clayton Craft b3c4334b78 device-xiaomi-nabu: install hexagonrpcd conf to new location (MR 6188) 2025-02-13 08:52:56 -08:00
Clayton Craft 749ffd227b device-lenovo-q706f: install hexagonrpcd conf to new location (MR 6188) 2025-02-13 08:52:56 -08:00
Clayton Craft ac9466b52f device-oneplus-fajita: install hexagonrpcd conf to new location (MR 6188) 2025-02-13 08:52:56 -08:00
Clayton Craft 47f9209987 device-xiaomi-beryllium: install hexagonrpcd conf to new location (MR 6188) 2025-02-13 08:52:56 -08:00
Clayton Craft a3c158a081 device-shift-axolotl: install hexagonrpcd conf to new location (MR 6188) 2025-02-13 08:52:56 -08:00
Clayton Craft 1b58ec9b60 device-xiaomi-elish: install hexagonrpcd conf to new location (MR 6188) 2025-02-13 08:52:56 -08:00
Eisenbahnfan e6a1193f3d linux-samsung-v1awifi: fix for not compiling kernel (MR 6211)
The kernel couldn't be compiled. Additional patches were necessary to compile the linux kernel again.

[ci:skip-build]: already built successfully in CI
2025-02-13 14:39:08 +01:00
Arnav Singh 8bf5b2e6b2 linux-postmarketos-allwinner: upgrade to 6.13.2_git20250209 (MR 6199)
This does not yet switch to mainline wifi driver [^1]. I will do that later
so that if that needs to be reverted the kernel upgrade itself can stay.

[^1]: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3420
[ci:skip-build]: already built successfully in CI
2025-02-13 10:10:37 +01:00
Danila TikhonovandJens Reidel 0652ab1a0f device-xiaomi-surya: support more panels, fix deps and modules-initfs (MR 6195)
modules-initfs: Add touchscreen and panels, drop gpi and spi

1. Add the touchscreen (nt36xxx-spi), panels (panel-huaxing-nt36672c,
panel_tianma_nt36672c) and wled to modules-initfs, as these drivers
have been switched to modules.

2. Drop GPI and SPI from the module list as they have been configured
as built-in within the kernel.

Refine nonfree firmware dependencies:

1. Removed the common GPU firmware package from soc-qcom-sm7150 and
subsequently re-added it to firmware-xiaomi-surya in earlier commits.
We now ensure the GPU ZAP firmware is installed by adding
firmware-xiaomi-surya-gpu as a dependency to nonfree_firmware.

2. Incorporated firmware-xiaomi-surya-sensors into nonfree_firmware,
following its prior inclusion in firmware-xiaomi-surya.

3. Extended the integration of the soc-qcom-sm7150-libssc-180-degrees
udev rule into nonfree_firmware, building on its earlier addition to
soc-qcom-sm7150.

4. Install firmware unconditionally and provide a path for hexagonfs.

The Xiaomi POCO X3 NFC (xiaomi-surya) has two possible panel variants:
Huaxing and Tianma. The kernel dts file has been split to accommodate
these variants. Update the device package to enable panel selection
during the pmbootstrap init.

Co-authored-by: Jens Reidel <adrian@travitia.xyz>
Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
2025-02-13 11:52:12 +03:00
Danila TikhonovandJens Reidel 5523be6326 firmware-xiaomi-surya: Update and add sensors firmware (MR 6195)
1. Added maintainers information.
2. Use a new method for firmware installation.
3. Add firmware for sensors.

Co-authored-by: Jens Reidel <adrian@travitia.xyz>
Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
2025-02-13 11:52:12 +03:00
Arian 591e3a4e84 {device,firmware}-xiaomi-davinci: Add myself as Co-Maintainer (MR 6195) 2025-02-13 11:52:11 +03:00
Jens Reidel 9d4eb8e8a6 device-xiaomi-davinci: Update firmware deps and initfs modules (MR 6195)
The panel driver was renamed and i2c and spi are now built-in.

Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2025-02-13 11:51:22 +03:00
Jens Reidel 8781683807 firmware-xiaomi-davinci: Update and add sensors and decommonized GPU firmware (MR 6195)
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2025-02-13 11:51:22 +03:00
Danila Tikhonov 210cb4e60a soc-qcom-sm7150: multiple improvements (MR 6195)
Drop the signed A615 GPU ZAP firmware from soc-qcom-sm7150 due to
compatibility issues causing crashes on Xiaomi (sweet/courbet) devices.

This firmware will be re-added in device-specific firmware packages
without being added to initramfs modules. Removing this firmware from
initramfs modules will not impact FDE functionality, as it is not
necessary for basic image display on panels.

Removal from initramfs modules is due to a change in the path to the
A615 GPU ZAP firmware, now device-specific.

Depend on new alsa ucm config package.

Add hexagonrpcd as a dependency and enable the
hexagonrpcd-adsp-sensorspd service for SSC.

Implement accel libssc_180_degrees mount matrix:
Introduce new udev rules tailored for Xiaomi devices (surya/davinci)
and potentially applicable to a broader range of sm7150 devices.
These rules are added to the SoC package and will be set as dependencies
in device packages for nonfree_firmware in subsequent commits.

Drop userspace pd-mapper, we have switched to the in-kernel
pd-mapper.

Add bootmac to set bt mac address.

Install nonfree firmware unconditionally.

Co-developed-by: Danila Tikhonov <danila@jiaxyga.com>
Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
Co-developed-by: Jens Reidel <adrian@travitia.xyz>
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2025-02-13 11:44:12 +03:00
Jens Reidel e6e35145fe testing/alsa-ucm-conf-qcom-sm7150: New package (MR 6195)
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2025-02-13 11:44:05 +03:00
Barnabás Czémán c110eaf7f0 linux-postmarketos-msm89x7: Upgrade to v6.13-r1 (MR 6207)
[ci:skip-build]: already built successfully in CI
2025-02-13 09:11:16 +01:00
postmarketOS CI d1639b4a71 linux-next: upgrade to next-20250213 2025-02-13 06:00:17 +00:00
postmarketOS CI 354229f9e5 linux-next: upgrade to next-20250212 2025-02-12 06:00:15 +00:00
adamthiede 6ca3a66c10 linux-postmarketos-mediatek-mt8173: upgrade to 6.13.2 (MR 6176)
[ci:skip-build]: already built successfully in CI
2025-02-11 18:03:31 -08:00
Robert Eckelmann 4bf0235bed linux-postmarketos-marvell: switch to 6.13.2 (MR 6174)
Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>

[ci:skip-build]: already built successfully in CI
2025-02-11 17:55:32 -08:00
Jens Reidel 3b26a054a5 linux-postmarketos-qcom-sm7150: spgrade to 6.13.2 (MR 6193)
Signed-off-by: Jens Reidel <adrian@travitia.xyz>

[ci:skip-build]: already built successfully in CI
2025-02-11 07:24:43 +03:00
AbortRetryFail 31accb15ae ouya-ouya: Use deviceinfo_create_initfs_extra to keep boot.img <=8MB.
Fixes #3522

[ci:skip-build]: already built successfully in CI
2025-02-10 14:31:24 -08:00
Sam Day 4a7588d0e2 {device,soc}-*: use cairo software GTK renderer on quirky devices (MR 6178)
GTK shipped the ngl (new GL) renderer last year and deprecated the
legacy gl renderer. In GTK 4.17 this renderer has been removed entirely,
which means the devices that were forcing the use of this legacy
renderer need to now fallback to software rendering instead.

Fixes: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3533
Signed-off-by: Sam Day <me@samcday.com>
[ci:skip-build]: already built successfully in CI
2025-02-10 22:48:36 +01:00
Barnabás Czémán 5258a6b5bf soc-qcom-msm89x7: Add gpu and ucm subpackages as dependencies (MR 6180)
Add gpu and ucm supackages as dependecies.

[ci:skip-build]: already built successfully in CI
2025-02-10 13:16:12 -08:00
Pablo Correa Gómez c3273472e0 device-generic-x86_64: add psmouse to initfs modules (MR 6187)
This could serve a wide variety of old touchpads and mouses, to be
functional in unl0kr

Fixes https://gitlab.postmarketos.org/postmarketOS/buffybox/-/issues/42
[ci:skip-build]: already built successfully in CI
2025-02-10 08:51:39 -08:00
postmarketOS CI a127d53407 linux-next: upgrade to next-20250210 2025-02-10 05:59:58 +00:00
User0 50106d8503 samsung-loganrelte: boot mainline (MR 6142)
This replaces the downstream kernel with a near-to-mainline kernel, and also adds a msm8930-specific mainline package. While this removes some functionality (screen, touchscreen), this makes the boot more stable (boots no matter if charging or not). To flash this, you first need to flash lk2nd, and then flash to the userdata partition with pmbootstrap flasher flash_rootfs --partition userdata. You might need to wipe the system partition. The boot finishes, but to get USB networking, you might need to dis- and re-connect the device ca. 10 seconds after (re-)booting. SSH and internet-over-USB works fully.
2025-02-08 11:18:08 -08:00
exkc 8a42f604a9 lenovo-lxf-p5100: new device (MR 6128) 2025-02-08 11:12:18 -08:00
Sicelo A. Mhlongo ffa0f1245b nokia-n900: remove deprecated deviceinfo options (MR 6168)
screen_height and screen_width are now deprecated options according to the
wiki. remove them

[ci:skip-build]: already built successfully in CI
2025-02-08 20:02:41 +01:00
fossdd 8a3498457f linux-next: use git.kernel.org as source (MR 6012)
Canonical location of the linux-next tree is at git.kernel.org and to
avoid potential malicious attacks use their tarballs instead
2025-02-08 09:38:48 -08:00
Clayton Craft 4e908a7615 soc-qcom-sdm845: remove dependency on alsa-utils (MR 6169)
Suddenly apk wants to install other ucm pkgs that conflict with
soc-qcom-sdm845-ucm, like the soc-qcom-msm8996-ucm pkg. Later when the
sdm845-ucm is installed it conflicts with the previously installed (and
incorrect) ucm pkg.

This SOC pkg depends on alsa-utils from e95d28a6, but the
call_audio_idle_suspend_workaround.sh that was added in that commit
doesn't actually seem to be using apps from alsa-utils, so maybe it's
safe to remove that dependency and fix an issue where apk will sometimes
install the wrong alsa-ucm-conf pkg for a device...

[ci:skip-build]: already built successfully in CI
2025-02-08 09:35:22 -08:00
Barnabás Czémán 1d63a75d4d linux-postmarketos-qcom-msm8953: upgrade to v6.13.0-r0 (MR 6116)
Tested Community Devices:

    - xiaomi-mido
    - xiaomi-vince
    - xiaomi-tissot
    - xiaomi-ysl

Tested Community Devices:

    - xiaomi-onclite
    - motorola-potter

Changes

    e33e7f9 arm64: dts: qcom: msm8953: motorola-potter: add touchscreen reset GPIO
    dd26b8f Input: rmi_i2c: introduce reset GPIO handling
    39aa0e7 dt-bindings: input: add max output voltage & auto resonance mode to the Qualcomm SPMI haptics
    8ec6321 input: misc: qcom-spmi-haptics: make vmax configureable via DT prop
    2ed3f64 input: misc: qcom-spmi-haptics: make auto res mode configureable via DT prop

Maybe Fixes: #3078 (idk aftermarket display could be a different issue.)

Thank You! @Felix @smankusors
2025-02-08 00:18:55 -08:00
Luca Weiss 09c45cb26b linux-postmarketos-qcom-sc7280: upgrade to 6.13.0 (MR 6072)
Manual kconfig changes:
* TOUCHSCREEN_GOODIX_BERLIN_SPI
* DRM_PANEL_VISIONOX_RM692E5
* SND_SOC_TFA9872
* TOUCHSCREEN_FTS
* VIDEO_IMX471
2025-02-08 00:06:29 -08:00
Robert MaderandClayton Craft 62611a7b06 device-oneplus-enchilada: Reuse hexagonrpcd config on systemd (MR 6147)
By sharing the config file and making the systemd unit files match the
openRC ones as close as possible.

Also fix the q6voiced.conf path while on it.

Co-authored-by: Clayton Craft <clayton@craftyguy.net>
2025-02-07 11:34:59 -08:00
Clayton Craft ed01099318 device-oneplus-enchilada: remove nonfree_firmware subpkg (MR 6147)
We decided last year to always install the pkgs this subpkg pulled in,
and removing it simplifies the apkbuild.
2025-02-07 11:34:59 -08:00
Robert MaderandClayton Craft 338d7d66f8 device-google-sargo: Fix hexagonrpcd on systemd (MR 6147)
By sharing the config file and making the systemd unit files match the
openRC ones as close as possible.

Co-authored-by: Clayton Craft <clayton@craftyguy.net>
2025-02-07 11:34:59 -08:00
Sicelo A. Mhlongo 82a8d55197 device-nokia-n900: drop partition resize cmdline option (MR 6164)
Partition resizing is now done in initramfs at every boot.
2025-02-07 16:48:37 +03:00
postmarketOS CI 8e65e1edac linux-next: upgrade to next-20250207 2025-02-07 06:00:02 +00:00
Barnabás Czémán c3a3c4d98a device-qcom-msm89x7: add support for more Motorola (MR 6101)
Add support for more motorola nora, montana and panels
for cedric and jeter.
2025-02-06 21:25:57 +09:00
Barnabás Czémán 16f52f3f28 firmware-qcom-msm89x7: new package (MR 6101)
Add new fw package for device what cannot load necessary fws
with msm-firmware-loader.
2025-02-06 21:25:57 +09:00