Commit Graph
100 Commits
Author SHA1 Message Date
Luca Weiss 22a792fbe6 linux-postmarketos-qcom-milos: upgrade to 6.18.0
Manual kconfig changes:
* CONFIG_NTSYNC should be enabled and preferably set to 'm' (category:wine)

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7601>
2025-12-19 10:04:25 +01:00
Luca Weiss ee0545d7ae main/postmarketos-ui-lomiri: fix wallpaper - yet again
Just pull in postmarketos-artwork-wallpapers-gnome which provides a
gschema override that is updated when the artwork package gets updated -
and won't break every so often.

Usually that package is pulled in via an "install_if" with
postmarketos-base-ui-gnome but since we just want the artwork
subpackage, depending on base-ui-gnome would be quite much and probably
not what we want for Lomiri.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7593>
2025-12-18 21:15:40 +00:00
Luca Weiss 2f8b24651a linux-postmarketos-qcom-sc7280: build with LLVM & update config per kconfigcheck
Migrate the compiler to LLVM toolchain and update config as per required
and preferred config options by kconfigcheck.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7536>
2025-12-15 16:00:51 +00:00
Luca Weiss 1d68379692 linux-postmarketos-qcom-sm6350: update config per kconfigcheck
Update config as per required and preferred config options by
kconfigcheck.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7535>
2025-12-10 19:10:06 +00:00
Luca Weiss 8d348d43f2 device-fairphone-fp5: Remove outdated hexagonrpcd config
The firmware paths were changed by pma!6966[0], so this is just wrong
config now. Remove it.

[0] https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6966

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7404>
2025-12-09 02:36:23 +00:00
Luca Weiss 94fab838ee device-fairphone-fp4: Remove outdated hexagonrpcd config
The firmware paths were changed by pma!6966[0], so this is just wrong
config now. Remove it.

[0] https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6966

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7404>
2025-12-09 02:36:23 +00:00
Luca Weiss 108b5f846c linux-postmarketos-qcom-milos: upgrade to 6.17.0
Update kconfig as per following "pmbootstrap kconfig check" messages.

* CONFIG_BTRFS_FS is preferably y, but currently m (category:filesystems)
* CONFIG_BTRFS_FS_POSIX_ACL should be enabled and preferably set to 'y' (category:filesystems)
* CONFIG_CFI_CLANG should be enabled and preferably set to 'y' (category:hardening)
* CONFIG_CFI_ICALL_NORMALIZE_INTEGERS should be enabled and preferably set to 'y' (category:hardening)
* CONFIG_CRYPTO_CMAC is preferably m, but currently y (category:iwd)
* CONFIG_DM_CRYPT is preferably y, but currently m (category:default)
* CONFIG_DM_VERITY should be enabled and preferably set to 'm' (category:immutable)
* CONFIG_EFIVAR_FS is preferably m, but currently y (category:immutable)
* CONFIG_EROFS_FS should be enabled and preferably set to 'y' (category:immutable)
* CONFIG_EROFS_FS_ZIP should be enabled and preferably set to 'y' (category:immutable)
* CONFIG_F2FS_FS is preferably y, but currently m (category:filesystems)
* CONFIG_HID_GENERIC is preferably m, but currently y (category:input)
* CONFIG_INPUT_EVDEV is preferably m, but currently y (category:default)
* CONFIG_INPUT_UINPUT is preferably y, but currently m (category:input)
* CONFIG_IP6_NF_FILTER should be enabled and preferably set to 'm' (category:nftables)
* CONFIG_IP6_NF_IPTABLES_LEGACY should be enabled and preferably set to 'm' (category:nftables)
* CONFIG_IP6_NF_NAT should be enabled and preferably set to 'm' (category:nftables)
* CONFIG_IP6_NF_TARGET_MASQUERADE should be enabled and preferably set to 'm' (category:containers)
* CONFIG_IP_NF_FILTER should be enabled and preferably set to 'm' (category:nftables)
* CONFIG_IP_NF_IPTABLES_LEGACY should be enabled and preferably set to 'm' (category:waydroid)
* CONFIG_IP_NF_MANGLE should be enabled and preferably set to 'm' (category:waydroid)
* CONFIG_IP_NF_NAT should be enabled and preferably set to 'm' (category:nftables)
* CONFIG_IP_NF_TARGET_MASQUERADE should be enabled and preferably set to 'm' (category:containers)
* CONFIG_IP_NF_TARGET_REDIRECT should be enabled and preferably set to 'm' (category:containers)
* CONFIG_LEDS_CLASS_MULTICOLOR is preferably m, but currently y (category:input)
* CONFIG_LEDS_TRIGGER_PATTERN is preferably m, but currently y (category:community_various)
* CONFIG_LEDS_TRIGGER_TIMER is preferably m, but currently y (category:community_various)
* CONFIG_LTO_CLANG_THIN should be enabled and preferably set to 'y' (category:hardening)
* CONFIG_NETFILTER_XTABLES_LEGACY should be enabled and preferably set to 'y' (category:waydroid)
* CONFIG_NULL_TTY is preferably m, but currently y (category:default)
* CONFIG_SHADOW_CALL_STACK should be enabled and preferably set to 'y' (category:hardening)
* CONFIG_SYN_COOKIES should be enabled and preferably set to 'y' (category:default)
* CONFIG_TUN is preferably m, but currently y (category:waydroid)
* CONFIG_USB_CONFIGFS is preferably m, but currently y (category:usb_gadgets)
* CONFIG_ZRAM is preferably y, but currently m (category:zram)
* CONFIG_ZSMALLOC is preferably y, but currently m (category:zram)

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7368>
2025-12-07 14:07:27 +00:00
Luca Weiss 5ca5542111 linux-postmarketos-qcom-milos: Build with LLVM
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7368>
2025-12-07 14:07:27 +00:00
Luca Weiss 1e7f2ed2e7 device-fairphone-fp6: update kernel package name & remove append_dtb
The kernel package has been renamed, so update the dependency
accordingly.

And remove append_dtb, this was actually used with boot-deploy < 0.20.0
because deviceinfo_header_version="2" was ignored and therefore v0 was
used, which requires appended dtb. Now that boot-deploy is actually
passing this parameter, we do not have to append the dtb to the kernel
image anymore, because the dtb is passed in a separate field.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7368>
2025-12-07 14:07:24 +00:00
Luca Weiss d16bac3335 linux-postmarketos-qcom-milos: rename from linux-postmarketos-qcom-sm7635
Rename the kernel package to follow updated naming conventions in the
upstream kernel.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7368>
2025-12-07 14:07:24 +00:00
Luca Weiss 8624b297e6 device/*: Resolve deviceinfo errors highlighted by dint
A large scripted cleanup to fix the errors, each with the sed command
used.

**Renamed variables**

[Error!!!] deviceinfo_gpu_accelerated: gpu_accelerated was renamed to drm: More accurately describes its function; see pmaports#1481 for the reasoning.
sed -i 's/^deviceinfo_gpu_accelerated=/deviceinfo_drm=/' device/*/*/deviceinfo

[Error!!!] deviceinfo_flash_heimdall_partition_system: flash_heimdall_partition_system was renamed to flash_heimdall_partition_rootfs: Renamed to avoid confusion
sed -i 's/^deviceinfo_flash_heimdall_partition_system=/deviceinfo_flash_heimdall_partition_rootfs=/' device/*/*/deviceinfo

[Error!!!] deviceinfo_flash_fastboot_partition_system: flash_fastboot_partition_system was renamed to flash_fastboot_partition_rootfs: Renamed to avoid confusion
sed -i 's/^deviceinfo_flash_fastboot_partition_system=/deviceinfo_flash_fastboot_partition_rootfs=/' device/*/*/deviceinfo

**Obsolete variables**

[Error!!!] deviceinfo_keyboard: This property is obsolete: Programs should automatically detect if the device currently has a keyboard or not (often it can be hotplugged anyway).
sed -i '/^deviceinfo_keyboard=/d' device/*/*/deviceinfo

[Error!!!] deviceinfo_framebuffer_landscape: This property is obsolete: Removed by the switch to pbsplash with no apparent replacement
sed -i '/^deviceinfo_framebuffer_landscape=/d' device/*/*/deviceinfo

[Error!!!] deviceinfo_mesa_driver: This property is obsolete: This was used by osk-sdl, which has been replaced by unl0kr.
sed -i '/^deviceinfo_mesa_driver=/d' device/*/*/deviceinfo

**Default values**

[Warning!] deviceinfo_flash_method: Property is set to its default value ("none") and can be removed.
sed -i '/^deviceinfo_flash_method="none"/d' device/*/*/deviceinfo

[Warning!] deviceinfo_drm: Property is set to its default value (false) and can be removed.
sed -i '/^deviceinfo_drm="false"/d' device/*/*/deviceinfo

[Warning!] deviceinfo_bootimg_dtb_second: Property is set to its default value (false) and can be removed.
sed -i '/^deviceinfo_bootimg_dtb_second="false"/d' device/*/*/deviceinfo

[Warning!] deviceinfo_generate_bootimg: Property is set to its default value (false) and can be removed.
sed -i '/^deviceinfo_generate_bootimg="false"/d' device/*/*/deviceinfo

[Warning!] deviceinfo_flash_heimdall_partition_rootfs: Property is set to its default value ("SYSTEM") and can be removed.
sed -i '/^deviceinfo_flash_heimdall_partition_rootfs="SYSTEM"/d' device/*/*/deviceinfo

[Warning!] deviceinfo_flash_heimdall_partition_kernel: Property is set to its default value ("KERNEL") and can be removed.
sed -i '/^deviceinfo_flash_heimdall_partition_kernel="KERNEL"/d' device/*/*/deviceinfo

[Warning!] deviceinfo_flash_heimdall_partition_initfs: Property is set to its default value ("RECOVERY") and can be removed.
sed -i '/^deviceinfo_flash_heimdall_partition_initfs="RECOVERY"/d' device/*/*/deviceinfo

[Warning!] deviceinfo_flash_offset_base: Property is set to its default value ("0x10000000") and can be removed.
sed -i '/^deviceinfo_flash_offset_base="0x10000000"/d' device/*/*/deviceinfo

[Warning!] deviceinfo_flash_kernel_on_update: Property is set to its default value (false) and can be removed.
sed -i '/^deviceinfo_flash_kernel_on_update="false"/d' device/*/*/deviceinfo

[Warning!] deviceinfo_flash_fastboot_partition_rootfs: Property is set to its default value ("userdata") and can be removed.
sed -i '/^deviceinfo_flash_fastboot_partition_rootfs="userdata"/d' device/*/*/deviceinfo

[Warning!] deviceinfo_flash_fastboot_partition_kernel: Property is set to its default value ("boot") and can be removed.
sed -i '/^deviceinfo_flash_fastboot_partition_kernel="boot"/d' device/*/*/deviceinfo

[Warning!] deviceinfo_partition_type: Property is set to its default value ("gpt") and can be removed.
sed -i '/^deviceinfo_partition_type="gpt"/d' device/*/*/deviceinfo

[Warning!] deviceinfo_sd_embed_firmware_step_size: Property is set to its default value (1024) and can be removed.
sed -i '/^deviceinfo_sd_embed_firmware_step_size="1024"/d' device/*/*/deviceinfo

[Warning!] deviceinfo_boot_part_start: Property is set to its default value (2048) and can be removed.
sed -i '/^deviceinfo_boot_part_start="2048"/d' device/*/*/deviceinfo

[Warning!] deviceinfo_generate_legacy_uboot_initfs: Property is set to its default value (false) and can be removed.
sed -i '/^deviceinfo_generate_legacy_uboot_initfs="false"/d' device/*/*/deviceinfo

All were bumped using "pmbootstrap pkgver_bump".

[ci:ignore-count]

[ci:skip-build]: already built successfully in CI

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7403>
2025-12-05 16:57:35 +00:00
Luca Weiss 3251144858 device/*: Add deviceinfo_year where missing
Take where available from the "Released" field from the postmarketOS
wiki page.

For others:
* https://en.wikipedia.org/wiki/RISC-V Introduced: 2014
* https://en.wikipedia.org/wiki/Loongson "Loongson moved to their own
  processor instruction set architecture (ISA) in 2021 [...]"
* https://en.wikipedia.org/wiki/AArch64 Introduced: 2011
* https://en.wikipedia.org/wiki/Chromebook "The first Chromebooks were
  shipped on June 15, 2011."
* https://en.wikipedia.org/wiki/POWER8 Launched: 2014

[ci:ignore-count]
[ci:skip-dint] # remaining occurances fixed in pma!7403

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7480>
2025-12-05 16:13:36 +00:00
Luca Weiss 05c4cd8e06 device/*: Remove invalid deviceinfo variables
* deviceinfo_flash_heimdall_partition_boot was likely supposed to be
  deviceinfo_flash_heimdall_partition_kernel, but drop it because it
  might just be wrong

* deviceinfo_partition_table was likely supposed to be
  deviceinfo_partition_type, but drop it because it might just be wrong

* deviceinfo_disable_usb_gadget is used in
  https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6166
  but that MR has been open for 9 months, so remove the variable for
  now.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7480>
2025-12-05 16:13:36 +00:00
Luca Weiss 9968990d0b device/*: Remove 0x prefix from deviceinfo_legacy_uboot_load_address
While mkimage seems to also accept the address with a 0x prefix, remove
it to satisfy 'dint' and ensure consistency.

[Error!!!] deviceinfo_legacy_uboot_load_address: Failed to parse "0x1080000" as integer: invalid digit found in string

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7480>
2025-12-05 16:13:36 +00:00
Luca Weiss 70c0a00926 device/*: Bring remaining device packages to integer pkgver
We switched to using integer pkgver versions a long time ago. Bring the
remaining 4 packages in line so that "pmbootstrap pkgver_bump" can also
work properly on these (and not fail with these, given they're not
integers).

[ci:ignore-count]
[ci:skip-dint] # remaining occurances fixed in pma!7403
[ci:skip-vercheck] # intentionally bumping pkgver when not needed

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7480>
2025-12-04 21:36:48 +09:00
Luca Weiss 627ba80058 device/*: Remove leftover _mainline / _downstream deviceinfo variables
They were forgotten during the testing/downstream split it seems. Clean
them up.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7480>
2025-12-04 21:36:48 +09:00
Luca Weiss 13f234e09b device-samsung-janice: Rename kernel_cmdline deviceinfo variable
While this package doesn't have a mainline kernel subpackage, it looks
like this cmdline should indeed be used. Remove the suffix.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7480>
2025-12-04 21:36:48 +09:00
Luca Weiss b21fe7ad23 device-motorola-maserati: Remove invalid deviceinfo variables
Move one that's used through 10-safestrap-maserati.sh to the script
itself.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7480>
2025-12-04 21:36:48 +09:00
Luca Weiss 28548ba440 device-clockworkpi-uconsole-radxa-cm5: move to archived
linux-radxa-dev packages x86_64 binaries in aarch64 package which makes
akms part of this device fail when built on aarch64.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7480>
2025-12-04 21:36:48 +09:00
Luca Weiss 486a726a2d device-clockworkpi-uconsole-radxa-cm5: Align deviceinfo header comment
Bring this file in line with the expected style, and fix a 'dint'
failure. There's no Maintainer line in deviceinfo either, just in the
APKBUILD.

[Error!!!]: Second comment was not an instruction to only use double quotes:

Actual: "# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>"
Expected: "# Please use double quotes only. You can source this file in shell scripts."
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7480>
2025-12-04 21:10:55 +09:00
Luca Weiss 210b56e4d9 device-samsung-loganrelte: Don't add comment after property in deviceinfo
There shouldn't be a comment in the same line as a variable.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7480>
2025-12-04 21:01:17 +09:00
Luca Weiss cabfabb88c ci: build_changed_aports: Skip packages in 'archived' category
Per definition, those might not be buildable anymore, so stop trying to
validate building them.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7480>
2025-12-04 21:00:29 +09:00
Luca Weiss 98587c72b9 device-tokio-techbook: add missing u-boot-tools makedependendency
During build, only makedepends are installed so this is missing.

    /usr/bin/abuild: line 21: mkimage: not found
    >>> ERROR: device-tokio-techbook: build failed

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7442>
2025-11-28 16:05:34 +00:00
Luca Weiss f208372359 device/*: fix build due to abuild breaking changes
Since abuild 3.16.0_rc1 split functions are executed in $pkgdir. And
built files in build() are no longer showing up in "$srcdir" but are in
$pkgdir now apparently.

[ci:skip-vercheck] # just build fixes, no change in final package

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7428>
2025-11-28 10:30:30 +00:00
Luca Weiss a21e1717fe device-samsung-starqltechn: update checksums
Somehow the different order of checksums breaks the checksum
verification?

    /home/pmos/build/boot_image.its: FAILED
    sha512sum: WARNING: 1 of 1 computed checksums did NOT match

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7428>
2025-11-28 10:30:30 +00:00
Luca Weiss 04303b8978 linux-postmarketos-qcom-sm6350: upgrade to 6.17.6
Manual kconfig changes:
* BATTERY_QCOM_QG=y
* CHARGER_QCOM_SMB2=y
* VIDEO_QCOM_CAMSS=m
* VIDEO_IMX576=m (FP4)
* VIDEO_IMX582=m (FP4)
* DRM_PANEL_SAMSUNG_SOFEF01=m (sm6350-lena)
* SYN_COOKIES=y (category:default)
* BTRFS_FS_POSIX_ACL=y (category:filesystems)

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7281>
2025-11-14 11:08:44 +00:00
Luca Weiss 6cd1c895fb linux-postmarketos-qcom-sc7280: upgrade to 6.17.0
Manual kconfig changes:
* VIDEO_DW9719=m (Fairphone 5)
* PCI=y (Tachyon)
* PCIE_QCOM=y (Tachyon)
* LEDS_GPIO=m (Tachyon)
* SYN_COOKIES=y (category:default)
* BTRFS_FS_POSIX_ACL=y (category:filesystems)

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7107>
2025-10-29 18:14:30 +01:00
Luca Weiss c8a8a0cfcf linux-postmarketos-qcom-sm6350: upgrade to 6.17.0
Manual kconfig changes:
* EEPROM_AT24=m
* REGULATOR_QCOM_REFGEN=y
* NVMEM_SPMI_SDAM=y
* IP_NF_FILTER (category:containers)
* IP_NF_TARGET_MASQUERADE (category:containers)
* IP_NF_NAT (category:containers)
* IP_NF_TARGET_REDIRECT (category:containers)
* IP6_NF_TARGET_MASQUERADE (category:containers)
* IP_NF_FILTER (category:nftables)
* IP_NF_NAT (category:nftables)
* IP6_NF_FILTER (category:nftables)
* IP6_NF_NAT (category:nftables)
* IP_NF_MANGLE (category:waydroid)

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7106>
2025-10-10 06:48:20 +00:00
Luca Weiss 6890536ff6 main/mtk-mkimage: update url
The URL is dead, so link to an archive.org version of that page instead.

Fixes #3981

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7111>
2025-09-30 20:51:22 +00:00
Luca Weiss c11b4a74f2 device-fairphone-fp3: modem, audio & qbootctl
While the modem has worked for quite a while on mainline, for some
reason some dependencies were never added to the device package.

And add the firmware for the audio amplifier on Fairphone 3 since it's
also supposed to work now.

And install qbootctl (and enable it by default) to mark the current slot
as successful to not get stuck in the bootloader after a couple of
reboots.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7010>
2025-09-10 15:20:51 +00:00
Luca Weiss 2cb88d5c6d firmware-fairphone-fp3: remove compat symlinks, add audio amp firmware
The symlinks are not needed anymore with the newest kernel, so clean
them up.

And package up the aw8898_cfg.bin firmware/config file for Fairphone 3.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7010>
2025-09-10 15:20:51 +00:00
Luca Weiss c3f0506216 modem/rmtfs: upgrade to 1.1.1
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7009>
2025-09-10 11:42:12 +00:00
Luca Weiss 57a6a580f4 modem/pd-mapper: upgrade to 1.0
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7009>
2025-09-10 11:42:12 +00:00
Luca Weiss 8cd50f8c87 soc-qcom-msm8953: update ucm config
Update to the latest master branch in msm8953's alsa-ucm-conf.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7017>
2025-09-09 12:36:05 +00:00
Luca Weiss 8caae63c7f main/postmarketos-ui-lomiri: fix wallpaper and launcher icon
Fix the paths at least, for some reason the launcher icon still doesn't
show up in the latest versions.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6726>
2025-09-07 17:10:56 +00:00
Luca Weiss 60d40dcda0 main/postmarketos-ui-lomiri: clean up polkit config
Apk is unhappy about depending on both polkit and polkit-elogind. Align
with other UI packages by only depending on polkit-elogind directly, and
remove the rc-update call since also no other UI is doing this.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6726>
2025-09-07 17:10:56 +00:00
Luca Weiss f465847f28 modem/rmtfs: patch to serve modem_study partition for Fairphone (Gen. 6)
And replace the modem_tng patch with the version that was accepted
upstream.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6962>
2025-08-25 12:12:42 +00:00
Luca Weiss 25f9af2fdf device-fairphone-fp6: update dtb naming, enable internal storage options
The dtb was renamed to follow the new upstream naming guidelines.

Add configuration and dependencies that now make sense given that
internal storage is working.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6962>
2025-08-25 12:12:42 +00:00
Luca Weiss 2f20590e9e firmware-fairphone-fp6: update firmware path
The firmware has moved to a different path, along with updated naming
guidelines upstream.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6962>
2025-08-25 12:12:42 +00:00
Luca Weiss 487c0eb8f4 linux-postmarketos-qcom-sm7635: upgrade to 6.16
From the first revision, the compatibles and names were changed from
sm7635 to milos, to follow the new upstream naming guidelines.

Significant Milos-specific changes:
* UFS (internal storage) now works
* CCI I2C enablement including the EEPROMs on the camera sensors
* Partial IPA (mobile data) enablement, at least allows ModemManager to
  detect the modem, but mobile data is still broken.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6962>
2025-08-25 12:12:42 +00:00
Luca Weiss 5fa166d6f8 linux-postmarketos-qcom-sc7280: upgrade to 6.16.1
Enable options for SHIFTphone 8, and enable vibration motor driver for
Fairphone 5.

Manual kconfig changes:
* TOUCHSCREEN_FOCALTECH_FT3658U=m
* INPUT_AW86927=m
* DRM_PANEL_SHIFT_SH8804B=m
* LEDS_QCOM_LPG=m

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6934>
2025-08-22 13:07:26 +00:00
Luca Weiss 5ce8ad66ce device/downstream/*: move broken kernels plus devices to archived
All these kernels do not compile anymore, move them and the associated
device and firmware packages to archived.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6700>
2025-08-17 12:29:01 +00:00
Luca Weiss 6333082d49 linux-asus-tf101: drop
No package depends on this one, so drop it. It doesn't build either.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6700>
2025-08-17 12:29:01 +00:00
Luca Weiss 05dcc7d201 linux-postmarketos-qcom-sm6350: upgrade to 6.16.0
Manual kconfig changes:
* SND_USB_AUDIO_QMI=m
* SND_SOC_USB=m
* SND_SOC_QCOM_OFFLOAD_UTILS=m
* SND_SOC_QDSP6_USB=m
* USB_XHCI_SIDEBAND=y

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6862
2025-08-10 13:31:00 -04:00
Luca Weiss d2ff552d94 linux-postmarketos-qcom-sc7280: upgrade to 6.16.0
Manual kconfig changes:
* SND_USB_AUDIO_QMI=m
* SND_SOC_USB=m
* SND_SOC_QCOM_OFFLOAD_UTILS=m
* SND_SOC_QDSP6_USB=m
* USB_XHCI_SIDEBAND=y

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6863
2025-08-10 12:51:50 -04:00
Luca Weiss 383028dfa5 device-huawei-sturgeon: add lk2nd-msm8226 dependency
Add the dependency to be able to use "pmbootstrap flasher flash_lk2nd".

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6699
2025-07-22 19:01:04 +02:00
Luca Weiss c8c5a935c1 device-asus-sparrow: add lk2nd-msm8226 dependency
Add the dependency to be able to use "pmbootstrap flasher flash_lk2nd".

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6699
2025-07-22 19:01:04 +02:00
Luca Weiss a23cc0aa14 linux-postmarketos-qcom-msm8226: upgrade to 6.15.2
No manual kconfig changes

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6684
[ci:skip-build]: already built successfully in CI
2025-07-22 18:53:15 +02:00
Luca Weiss f2f354e7f3 linux-postmarketos-qcom-msm8953: shorten LOCALVERSION to -msm8953
The full version number with -postmarketos-qcom-msm8953 appended becomes
a bit long for the splash screen. Shorten it to just -msm8953.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6736
[ci:skip-build]: already built successfully in CI
2025-07-22 18:49:25 +02:00
Luca Weiss 76b33cdb15 ci: wiki: Use https in URLs
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6719
2025-07-11 22:20:55 +02:00
Luca Weiss 947b2d6bba ci: wiki: Use pathlib instead of os.path
Pathlib is the modern way to use

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6719
2025-07-11 22:20:55 +02:00
Luca Weiss 0973c059e5 ci: wiki: Add type hints
For one of the urllib responses, we need to make it a bit more explicit
that urlopen returns a bytes object - as per Python documentation. Not
sure why mypy needs some extra help there.

Checked with "mypy --strict".

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6719
2025-07-11 22:20:55 +02:00
Luca Weiss 6f8ce18d96 ci: wiki: Resolve some pylint warnings
Use resource management with urllib.request.urlopen, and move a print
out of an unnecessary "else" since the line before returns anyways.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6719
2025-07-11 22:20:50 +02:00
Luca Weiss 6a2c3f0818 treewide: remove downstream feedbackd vibra rules
All of them are now included upstream with feedbackd, so we can remove
them here.

https://gitlab.freedesktop.org/agx/feedbackd/-/merge_requests/182

[ci:ignore-count]

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6695
2025-06-28 11:16:55 +02:00
Luca Weiss 5029df171b fairphone-fp6: new device
Add an initial port for The Fairphone (Gen. 6) smartphone. This includes
firmware and close-to-mainline kernel package.

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6715
[ci:skip-build]: already built successfully in CI
2025-06-26 23:45:11 +02:00
Luca Weiss 0ac545f4d6 linux-postmarketos-qcom-msm8974: upgrade to 6.15.2
No manual kconfig changes.

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6685
[ci:skip-build]: already built successfully in CI
2025-06-26 15:37:51 +02:00
Luca Weiss a09e6d3b86 device/downstream/linux-*: build fixes
A collection of assorted fixes to fix compilation of a good chunk of
downstream kernels.

[ci:skip-build] # build tested all 148 kernels locally

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6670
2025-06-23 06:14:29 +02:00
Luca Weiss 14654ab7f5 device: Move selinux compile fix to shared patches
Prepare for this patch to be used by other kernels.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6670
2025-06-23 06:09:05 +02:00
Luca Weiss 7fc89853ac device: Move fix_mdp4_parameter.patch to shared patches
Prepare for this patch to be used by other kernels.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6670
2025-06-23 06:09:01 +02:00
Luca Weiss 77380c215c meizu-mblu2: move to archived
The kernel sources are 404, does not build anymore.

[skip ci] # some checksums will fail with 404, can't skip individually

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6675
2025-06-22 12:44:54 +02:00
Luca Weiss baf86f255c amazon-suez: move to archived
The kernel sources are 404, does not build anymore.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6675
2025-06-22 11:56:57 +02:00
Luca Weiss a591acae24 samsung-kylessopen: move to archived
Fix up some bits, but it's too broken to easily fix for now.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6675
2025-06-22 11:56:57 +02:00
Luca Weiss c660af4532 linux-amazon-thor: change to undead sources and fix build
Change source URL and add a patch to fix the build.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6675
2025-06-22 11:56:57 +02:00
Luca Weiss bd2ae650f7 linux-amazon-mustang: change to undead sources and fix build
Change source URL and add a patch to fix the build.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6675
2025-06-22 11:56:57 +02:00
Luca Weiss 92ee04d094 linux-postmarketos-qcom-msm8974: upgrade to 6.14.6
Manual kconfig changes:
* CONFIG_QCOM_SNS_REG=m
* CONFIG_IIO_QCOM_SMGR_ACCEL=m
* CONFIG_IIO_QCOM_SMGR=m
* CONFIG_IIO_QCOM_SMGR_GYRO=m
* CONFIG_IIO_QCOM_SMGR_MAG=m
* CONFIG_IIO_QCOM_SMGR_PRESSURE=m
* CONFIG_IIO_QCOM_SMGR_PROX=m
* CONFIG_UDMABUF=y (for community kconfig check)

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6639
[ci:skip-build]: already built successfully in CI
2025-06-19 22:19:04 +02:00
Luca Weiss 6502ab3af5 main/postmarketos-initramfs: modprobe vfat before mounting logs device
Avoid mount failure due to the possibility of the kernel being built
with vfat as a module (CONFIG_VFAT_FS=m) by explicitly trying to probe
the vfat module before trying to mount.

~ # mount /dev/loop0 /tmp/logs
mount: mounting /dev/loop0 on /tmp/logs failed: No such file or directory

~ # modprobe vfat
~ # mount /dev/loop0 /tmp/logs

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6679
[ci:skip-build]: already built successfully in CI
2025-06-19 08:58:00 -07:00
Luca Weiss 610ab96f8a linux-postmarketos-qcom-msm8226: slim config, build more as modules
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6640
2025-06-19 21:20:17 +09:00
Luca Weiss 5ae1459ac8 linux-postmarketos-qcom-msm8226: upgrade to 6.14.8
Manual kconfig changes:
* CONFIG_QCOM_SNS_REG=m
* CONFIG_IIO_QCOM_SMGR_ACCEL=m
* CONFIG_IIO_QCOM_SMGR=m
* CONFIG_IIO_QCOM_SMGR_GYRO=m
* CONFIG_IIO_QCOM_SMGR_MAG=m
* CONFIG_IIO_QCOM_SMGR_PRESSURE=m
* CONFIG_IIO_QCOM_SMGR_PROX=m

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6640
2025-06-19 21:20:17 +09:00
Luca Weiss 10d2f913b8 device-oneplus-bacon: add dependency on adsp, modem & wcnss firmware
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6671

[ci:skip-build]: already built successfully in CI
2025-06-17 18:48:27 +02:00
Luca Weiss 5d951b077d firmware-oneplus-bacon: squash firmware and add adsp & modem firmware
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6671
2025-06-17 18:48:27 +02:00
Luca Weiss eb7dabc8f7 firmware-fairphone-fp3: drop useless _fwdir variable
Drop the variable and just use /lib/firmware where needed to not rely on
this variable which does not bring any benefit anyways.

[ci:skip-vercheck]

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6672
[ci:skip-build]: already built successfully in CI
2025-06-17 18:45:13 +02:00
Luca Weiss 9f5a636c02 linux-postmarketos-qcom-sm6350: upgrade to 6.15.0
Manual kconfig changes:
* SND_SOC_SM8250=m (plus dependencies)
* QCOM_STATS=m

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6576
[ci:skip-build]: already built successfully in CI
2025-06-02 23:44:48 +02:00
Luca Weiss 86bfad3b13 linux-postmarketos-qcom-sc7280: upgrade to 6.15.0
Manual kconfig changes:
* SND_SOC_SM8250=y (and disable SND_SOC_SC8280XP)
* SC_LPASS_CORECC_7280=y
* QCOM_STATS=y

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6577
[ci:skip-build]: already built successfully in CI
2025-06-02 23:40:57 +02:00
Luca Weiss 3c8552ecc1 main/hwtest: add missing py3-setuptools makedepend
This is required to build.

Take the opportunity to clean up the APKBUILD a bit.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6594
[ci:skip-build]: already built successfully in CI
2025-06-02 22:43:00 +02:00
Luca Weiss a45ad4b1b1 device/testing/*: split downstream ports into new downstream category
[ci:skip-build] # way too many packages changed
[ci:skip-vercheck] # just moving

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6519
2025-05-22 15:43:23 -07:00
Luca Weiss 63b64868c4 CI: directory-structure: add new downstream device category
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6519
2025-05-22 23:06:10 +02:00
Luca Weiss 26454d5c4d linux-wiko-lenny5: switch to alive sources
wikogeek.com appears to be down.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6519
2025-05-22 23:06:10 +02:00
Luca Weiss 0fae7c397a linux-wiko-lenny3: switch to alive sources
wikogeek.com appears to be down.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6519
2025-05-22 23:06:09 +02:00
Luca Weiss 45fc98843d xiaomi-kenzo: add -downstream suffix for downstream port
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6516

[ci:skip-build]: already built successfully in CI
2025-05-16 11:05:45 +01:00
Luca Weiss 744a3d15c7 firmware-samsung-espresso10: drop
Unused firmware package, drop it.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6516
2025-05-16 11:05:45 +01:00
Luca Weiss 3081ae4c48 linux-samsung-j5y17lte: drop
It's a downstream kernel but there's no (downstream) device port
referencing it. Drop it.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6516
2025-05-16 11:05:45 +01:00
Luca Weiss 95a7699122 linux-asus-sparrow-downstream: fix build (MR 6491)
[ci:skip-build] # too many devices modified
2025-05-15 16:20:28 +01:00
Luca Weiss 9ce104b3bc linux-htc-m8-downstream: fix build (MR 6491) 2025-05-15 16:20:28 +01:00
Luca Weiss f8882b5807 linux-htc-memul-downstream: fix build (MR 6491) 2025-05-15 16:20:28 +01:00
Luca Weiss 08e7f33cd8 linux-huawei-angler-downstream: fix build (MR 6491) 2025-05-15 16:20:28 +01:00
Luca Weiss 9fab60f585 linux-huawei-sturgeon-downstream: fix build (MR 6491) 2025-05-15 16:20:28 +01:00
Luca Weiss 118f41e16c linux-lg-bullhead-downstream: fix build (MR 6491) 2025-05-15 16:20:28 +01:00
Luca Weiss d235bbfab4 linux-lg-h815-downstream: fix build (MR 6491) 2025-05-15 16:20:28 +01:00
Luca Weiss 8fbdfcff91 linux-lg-lenok-downstream: fix build (MR 6491) 2025-05-15 16:20:28 +01:00
Luca Weiss 806c1e3d82 linux-lg-mako-downstream: fix build (MR 6491) 2025-05-15 16:20:28 +01:00
Luca Weiss 139e39a459 linux-motorola-falcon-downstream: fix build (MR 6491) 2025-05-15 16:20:28 +01:00
Luca Weiss 3d30ba97a4 linux-motorola-peregrine-downstream: fix build (MR 6491) 2025-05-15 16:20:28 +01:00
Luca Weiss 243973dfe2 linux-oneplus-bacon-downstream: fix build (MR 6491) 2025-05-15 16:20:28 +01:00
Luca Weiss e1c66777f0 linux-ouya-ouya-downstream: fix build (MR 6491) 2025-05-15 16:20:27 +01:00
Luca Weiss 3798264c7d linux-samsung-golden-downstream: fix build (MR 6491) 2025-05-15 16:20:27 +01:00
Luca Weiss 05aa43490e linux-samsung-i9100-downstream: fix build (MR 6491) 2025-05-15 16:20:27 +01:00
Luca Weiss 251d72da62 linux-sony-amami-downstream: fix build (MR 6491) 2025-05-15 16:20:27 +01:00
Luca Weiss 1ae2025252 linux-sony-leo-downstream: fix build (MR 6491) 2025-05-15 16:20:27 +01:00
Luca Weiss 816e40a971 linux-sony-nicki-downstream: fix build (MR 6491) 2025-05-15 16:20:27 +01:00
Luca Weiss 0f91538a89 linux-sony-yuga-downstream: fix build (MR 6491) 2025-05-15 16:20:27 +01:00