Commit Graph
61 Commits
Author SHA1 Message Date
Aster Boese e59c888281 oneplus-fajita: move openrc depends to depends_openrc
There's a neat feature in abuild where dependencies of certain
built-in subpackages can be declared at the top-level and don't
need to be put inside of the subpackage. Let's use it.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9137>
2026-08-06 12:34:42 +00:00
Aster Boese 697fab6ef9 oneplus-fajita: remove irrelevant comments from deviceinfo
These comments got left over from moving the cmdline to kernel-cmdline.d.
Therefore, remove them to not confuse readers into thinking that
generating a bootimg has something to do with a race condition.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9137>
2026-08-06 12:34:05 +00:00
Aster Boese 6d6d684bfe treewide: move q6voiced.conf to new path
Moves configs to the new path as defined by q6voiced version 0.3.0.

[ci:skip-grep]

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8970>
2026-07-24 19:44:01 +00:00
Aster Boese 3d47d387a3 treewide: remove userspace pd-mapper from sdm845 devices
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8663>
2026-06-10 07:43:05 +00:00
Aster Boese f0a1a7142b oneplus-fajita: move q6voiced config out of openrc subpackage
q6voiced stores its config in the OpenRC configuration directory, which is
automatically picked up by the default_openrc split function and moved to
the openrc subpackage. This means q6voiced never starts on systemd. Move
this config out of the openrc subpackage by not using default_openrc.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8656>
2026-05-31 16:40:59 +02:00
Robert Eckelmann 091d973b26 device-oneplus-fajita: add -sensor firmware package to depends
Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8617>
2026-05-26 18:20:31 +00:00
Pablo Correa Gómez c987bdece9 device/*: depend on postmarketos-test-bootrr in pmtest subpackages
Which is more consistent and avoids requiring bootrr in pmaports

Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7881>
2026-03-12 19:17:29 +00:00
Aster Boese 9cdad06111 oneplus-fajita: disable quiet
This fixes a race condition between the panel initialization and the console.
I cannot reproduce it myself, but others report that this change fixes the
race condition for them, so add it anyways.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7953>
2026-02-21 16:03:10 +00:00
Luca Weiss 67bc6ac0d3 device/*: Drop redundant deviceinfo variable assignments
[Warning!] deviceinfo_append_dtb: Property is set to its default value (false) and can be removed.
[Warning!] deviceinfo_append_dtb_lts: Property is set to its default value (false) and can be removed.
[Warning!] deviceinfo_append_dtb_exynos4: Property is set to its default value (false) and can be removed.
sed -i '/^deviceinfo_append_dtb\(_.*\)\?="false"/d' device/*/*/deviceinfo

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

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

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

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8035>
2026-02-18 22:04:40 +01:00
Aster Boese a4ea6ee5dd oneplus-fajita: add myself as Co-Maintainer
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7973>
2026-02-09 11:41:51 -05:00
Clayton Craft 8d85538af3 device-oneplus-fajita: add support for u-boot
Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7893>
2026-02-06 18:36:08 +00:00
Clayton Craft 0648d45d76 device/*: migrate device packages to new kernel cmdline config system
This migrates all device package to the new system, which is documented
here: https://docs.postmarketos.org/pmaports/main/kernel-cmdline.html.

It also replaces old initramfs params (PMOS_NOSPLASH and
PMOS_FORCE_PARTITION_RESIZE) from the cmdlines with their modern
equivalents, so we can finally get rid of those.

Signed-off-by: default avatarClayton Craft <craftyguy@postmarketos.org>

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

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7830>
2026-01-27 12:34:40 -08:00
Clayton Craft 1fd5acd9b3 Revert "device: oneplus-enchilada/fajita: mask alsa-restore"
This reverts commit d8a5e4622a.

It doesnt' actually work, `mask` is not a valid directive for preset
files.

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7797>
2026-01-19 13:01:56 -08:00
tiel d8a5e4622a device: oneplus-enchilada/fajita: mask alsa-restore
disabling the service doesn't work, it needs to be masked to prevent it
from running.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7795>
2026-01-19 20:37:07 +01:00
Pablo Correa Gómez 3195aee54b device-oneplus-fajita: drop unnecessary systemd subpackage function
The default_systemd function already does what we want if we place the
files in the right directories

Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7489>
2026-01-15 07:48:48 +00:00
Pablo Correa Gómez 5612550691 device-oneplus-fajita: remove nonfree-firmware subpackage
The device won't really work well without this firmware, and
simplifies and modernizes the packaging quite a bit.

Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7489>
2026-01-15 07:48:48 +00:00
Pablo Correa Gómez f8a7760f82 device-oneplus-fajita: enable on ci-tron, set the kernel console
To enable on ci-tron, just create the gitlab-ci.yml.j2 template. This
could be reused by most other sdm845, and probably qcom devices.  This
also allows dropping the devicepkg_pmtest_post_install hack, since
ci-tron will concatenate all the CI_TRON_KERNEL_CMDLINE__* variables
into a single kernel commandline.

Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org>

Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7489>
2026-01-15 07:48:44 +00:00
Achill Gilgenast ecd710af96 */*: move to maintainer= variables
* Also move right above pkgname=
* Move Co-Maintainer lines above maintainer=
* Remove empty lines in the header

pmbootstrap 3.7+ & abuild supports maintainer= variables.

See also https://gitlab.alpinelinux.org/alpine/tsc/-/issues/88

[ci:skip-build]: no pkgver/pkgrel changes
[ci:ignore-count]: intended
[ci:skip-vercheck]: no functional changes
[skip ci]: false positives

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7723>
2026-01-12 17:01:35 +01:00
Pablo Correa Gómez 7df5d62494 device-oneplus-fajita: use postmarketos-test-unl0kr for pmtest
This is device-agnostic, and allows to not depend on a package that
might end up in alpine in the future

Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7553>
2025-12-17 16:11:54 +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
Stefan Hansson a324a84519 device: move local install to global install for some devices
This doesn't cover all devices, but I intend to do more of them in the
future.

See https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/4032

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>

[ci:ignore-count]: Intentionally changes a lot of packages.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7384>
2025-11-26 12:13:25 +00:00
Stefan Hansson 72869873df device-oneplus-fajita: fix build
Maybe something has changed in abuild, I don't know.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7406>
2025-11-26 11:30:27 +00:00
Jens Reidel f867644592 */*: make all users of soc-qcom depend on soc-qcom-pd-mapper
This is a rather conservative change to preserve previous behaviour on
current users of soc-qcom.

Signed-off-by: Jens Reidel <adrian@travitia.xyz>

[ci:ignore-count]
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6905
2025-08-16 13:38:04 +02:00
Aster Boese 7429bed2ca */*: bump pkgrels of packages with systemd subpackages
Update to use the new version of the abuild systemd split function.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6713
2025-07-27 17:03:09 -04:00
Oliver Smith ba2ec41c96 OP6/OP6T: disable alsa-restore.service
This results in the main speaker not working, so disable it.

Related: issue 3747

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6674
2025-06-16 22:11:54 +02:00
Henrik Grimler 9550de18ec device-*: drop deprecated deviceinfo_mesa_driver var
It was used by osk-sdl, which has now been dropped.  See
https://wiki.postmarketos.org/wiki/Deviceinfo_reference#Obsolete_options.

[ci:ignore-count]

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6635
[ci:skip-build]: already built successfully in CI
2025-06-11 22:55:02 +02:00
Casey Connolly 9b3769cced treewide: update my name
[ci:skip-build]

Signed-off-by: Casey Connolly <kcxt@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6488
2025-05-10 17:59:34 +02:00
Clayton Craft 469374de6d device/*: explicitly depend on openrc if install scripts call rc-update
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6476
2025-05-06 10:48:44 +02:00
Clayton Craft be22d32df2 device-oneplus-fajita: depend on soc-qcom (MR 6189) 2025-02-19 08:13:23 -08:00
Pablo Correa Gómez 76f5633d2c device-oneplus-fajita: depend on unl0kr-fbforcerefresh (MR 6185)
Instead of packaging config file manually
2025-02-17 08:48:41 +01: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 91104b55c4 device-oneplus-fajita: Install q6voiced.conf for any init system (MR 6015) 2025-01-12 16:56:50 -08:00
Oliver Smith 2942aea548 device-oneplus-fajita: move replaces to -openrc (MR 5767) 2024-11-06 22:33:18 +01:00
Aster Boese 8251a6956f oneplus-fajita: move openrc scripts to subpackage (MR 5688) 2024-11-04 10:52:35 -08:00
Joel Selvaraj 9026187fe1 device-oneplus-fajita: ship hexagonrpcd conf (MR 5099)
Which specify path to new sensor firmware location needed by hexagonrpcd.
2024-05-18 09:41:41 +02:00
Stefan Hansson 86c77a7a38 device: remove references to postmarketos-update-kernel (MR 5045)
Package was removed and is now included in boot-deploy.

[ci:ignore-count]: Lots of packages intentionally changed.
[ci:skip-build]: already built successfully in CI
2024-04-20 11:15:33 +02:00
Caleb Connolly d2560bfb89 firmware-oneplus-sdm845: drop initramfs firmware (MR 4599)
Now that we're using unl0kr, we don't need the GPU firmware in the
initramfs.

Signed-off-by: Caleb Connolly <caleb@connolly.tech>
2024-03-25 21:15:23 +00:00
Pablo Correa Gómez cf69326222 device/*: rebuild all devices (MR 4551)
[ci:ignore-count]
2024-01-22 19:32:30 +01:00
Caleb Connolly 4a0a5456f1 device-oneplus-fajita: fix accelerometer mount matrix (MR 4661)
It's different to the op6 with one axis inverted

[ci:skip-build]: Already built successfully in CI.
2023-12-28 15:53:02 -05:00
Joel Selvaraj 68c805cd55 device-oneplus-fajita: start hexagonrpcd on boot and configure accelerometer (MR 4050)
hexagonrpcd is necessary to provide access to the filesystem for the SDSP.
Also, OP6T accelerometer is mounted differently than the screen, adjust
it with a mount matrix. This way, screen rotations follow the actual
screen rotation by the user.
2023-12-13 00:50:47 -08:00
Caleb Connolly 363446f9da device/community/sdm845: enable console to workaround display init issue (MR 4610)
See edge blog post
https://gitlab.com/postmarketOS/postmarketos.org/-/merge_requests/236

upstream bug: https://gitlab.freedesktop.org/drm/msm/-/issues/46

Signed-off-by: Caleb Connolly <caleb@connolly.tech>
[ci:skip-build]: already built successfully in CI
2023-12-08 17:56:23 +00:00
Caleb Connolly 570e52d99c device/community: add pmtest subpackages for a few sdm845 devices (MR 4420)
Signed-off-by: Caleb Connolly <caleb@connolly.tech>
2023-10-31 19:53:22 +00:00
Pablo Correa Gómez ea93a6d07f device/*: rebuild all devices to relocate deviceinfo (MR 4283)
[ci:ignore-count]
[ci:skip-build]: already built successfully in CI
2023-09-25 09:21:03 +02:00
Johannes Marbach 3dae87fc3c community/device-oneplus-fajita: enable unl0kr quirks (MR 3952) 2023-08-08 09:36:17 +02:00
Pablo Correa Gómez 4914067590 device/*: transform deviceinfo_modules_initfs into a file (MR 4169)
The file is automatically packed by devicepkg-dev utils

Relates #1836
2023-08-04 08:27:44 +02:00
Caleb Connolly 4eb8b81d7b community/device-(sdm845): various fixes (MR 4201)
* Use zstd:fast compression for the ramdisk
* Delete obselete phoc.ini config files
* Fixup kernel cmdline args
2023-07-20 16:35:18 +01:00
Caleb Connolly 6c27c1c460 soc-qcom-sdm845: encapsulate cellular specific stuff (MR 4047)
The upcoming db845c doesn't have cellular modem capabilities, but still
has wifi. Avoid installing modem related configs and services by default
and only install it for devices that need it.
2023-05-01 19:28:34 +01:00
Caleb Connolly 3f698640f1 device/community/sdm845: disable serial console (MR 3886)
The UART console makes the boot process a whole lot slower due to printk
being synchronous. These devices are well enough supported that we can
disable UART logging by default to improve the boot speed. This
constitutes a ~30 second speedup on the SHIFT6mq at 115200 baud.
2023-04-15 20:26:22 +01:00
Joel Selvaraj ba6c4be060 community/device-oneplus-fajita: add q6voiced conf as it can make calls now (MR 3639)
Related dts and alsa ucm confs are merged in our tree.
2022-11-28 09:07:33 +01:00
Caleb Connolly faae2121ff device-oneplus-*: depend on qbootctl (MR 3190)
[ci:skip-build] already built successfully in CI
2022-06-11 15:47:26 -07:00