Commit Graph
40 Commits
Author SHA1 Message Date
Aster Boese adb832c1ee device/community/*: /etc/X11/xorg.conf.d -> /usr/share/X11/xorg.conf.d
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7805>
2026-03-27 13:42:53 +00:00
Clayton Craft ab80136a3e device-pine64-pinephonepro: remove MM config
Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7840>
2026-02-01 13:17:39 -08: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
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
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
Rudraksha Gupta 3ec6569b21 device-pine64-pinephonepro: Fix pmbootstrap build device-pine64-pinephonepro --force
Fixes pma#4078

```
$ pmbootstrap build device-pine64-pinephonepro --force fails with:

>>> device-pine64-pinephonepro: Entering fakeroot...
install: can't stat '/home/pmos/build/src/bootaa64.efi': No such file or directory
>>> ERROR: device-pine64-pinephonepro*: package failed
>>> ERROR: device-pine64-pinephonepro: rootpkg failed
```

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7308>
2025-11-10 02:46:27 +00:00
Jan Jasper de Kroon 77b82749b8 device-pine64-pinephonepro: build rockchip-isp1 into initramfs
Add rockchip-isp1 to modules-initfs as a workaround for display initialization
issues on kernel 6.11.11. Without the ISP driver built into initramfs, the
unl0kr screen fails to display during early boot when disk encryption is
enabled, though the input still works. Building rockchip-isp1 into initramfs
ensures proper display initialization.

This is a temporary workaround until the underlying power domain or clock
synchronization issue between the display and camera subsystems which I suspect
can be properly investigated and fixed.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/5955>
2025-09-23 12:44:29 +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
Oliver Smith 43fd2502a2 device-pine64-pinephonepro: fix openrc install bug
Let the openrc subpackage depend on eg25-manager-openrc to ensure the
latter gets installed first. Otherwise this can happen:

(122/741) Installing device-pine64-pinephonepro-openrc (4-r3)
Executing device-pine64-pinephonepro-openrc-4-r3.post-install
 * rc-update: service `eg25-manager' does not exist
ERROR: device-pine64-pinephonepro-openrc-4-r3.post-install: script exited with error 1
(123/741) Installing eg25-manager-openrc (0.5.2-r0)

Related: https://builds.sr.ht/~postmarketos/job/1472555#task-img-521

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6424
[ci:skip-build]: already built successfully in CI
2025-04-18 09:58:48 +02:00
Jan Jasper de Kroon 0af3cf8732 device-pine64-pinephonepro: update keyboard config paths (MR 5956)
Update paths to keyboard configuration files to reflect PinePhone's
move from main to community device category.

[ci:skip-build]: already built successfully in CI
2024-12-29 19:39:54 +01:00
Aster Boese 0125e65f90 pine64-pinephonepro: move openrc scripts to subpackage (MR 5688) 2024-11-04 10:52:36 -08:00
Caleb Connolly 3ed9591e41 treewide: drop PMOS_NO_OUTPUT_REDIRECT (MR 5240)
This cmdline argument is now a no-op. Drop it everywhere and add a new
CI check to enforce this.

Adjust the deprecated "minimal" initramfs variant to use
pmos.debug-shell to enable logging instead. It doesn't /support/
dropping to a shell, so the variable takes on a different meaning. But
that's ok since it's at least more consistent.

[ci:ignore-count]
[ci:skip-vercheck]
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Tweaked-by: Oliver Smith <ollieparanoid@postmarketos.org>
[ci:skip-build]: kernel builds are very likely to go through now
2024-06-23 14:48:20 +02:00
Bobby The Builder f630e34b60 device-pine64-pinephonepro: microphone alsa tune (MR 4630)
Since kernel 6.5 (I believe) the ucm config
   need to be adjusted because the mic way too
   sensitive. The other party hears a freight
   train riding rails that are almost
   perpendicular ...

   This is an attempt to get the mic to work nicely.
[ci:skip-build]: already built successfully in CI
2024-03-09 20:58:52 +01:00
Pablo Correa Gómez cf69326222 device/*: rebuild all devices (MR 4551)
[ci:ignore-count]
2024-01-22 19:32:30 +01:00
Oliver Smith 1e47f77bc7 pine64-pinephonepro: update maintainers (MR 4529)
[ci:skip-build]: already built successfully in CI
2023-11-03 09:27:16 +01: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
Anton Bambura 49c39b35c1 pine64-pinephonepro: depend on soc-rockchip-rk3399 (MR 4337) 2023-08-19 19:52:05 +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
Hugo Osvaldo Barrera 68d7792bb9 pine64-*: update references to firmware-pine64-pinebookpro (MR 4112) 2023-05-30 22:02:51 +02:00
hazardchem 4e1f99160d pine64-pinephonepro: Packages for PinePhone Keyboard with sway and X11 (MR 4078)
Copy of the work from this merge as pro model was missed:
https://gitlab.com/postmarketOS/pmaports/-/merge_requests/3845
2023-05-20 11:19:21 +02:00
Tom Fitzhenry 9b4b663a38 pine64-pinephonepro: fix dev_internal_storage (MR 3978)
Change /dev/mmcblk0 to /dev/mmcblk2. Motivation: Fix ondev SD->eMMC
installation.

Related: https://gitlab.com/postmarketOS/postmarketos-ondev/-/issues/61
2023-04-02 13:46:16 +02:00
Anton Bambura a21d5bbaa4 pine64-pinephonepro: depend on postmarketos-base>=25-r1 (MR 3791) 2023-02-13 08:52:20 +01:00
Anton Bambura b243969ea7 pine64-pinephonepro: use generated grub.cfg (MR 3724) 2023-01-05 03:49:15 +01:00
Bobby The Builder 61c985a901 pine64-pinephonepro: add --test-quick-suspend-resume to ModemManager (MR 3701)
Prevent losing the Modem after a resume

[ci:skip-build]: already built successfully in CI
2022-12-09 18:35:48 +01:00
Bobby The Builder 575bbc458e pine64-pinephonepro: enhance mic sensitivity (MR 3701) 2022-12-09 18:35:36 +01:00
medsouz 59c3894c44 device/pine64-pinephonepro: Load Pinephone Pro devicetree with Grub (MR 3628)
Restores Pinephone Keyboard functionality
2022-11-14 09:38:27 -05:00
Jan Jasper de Kroon c7c7fbce18 pine64-pinephonepro: Clean up double handled modem udev-rules (MR 3635)
Same as with PinePhone, remove some udev rules already handled by eg25-manager udev.

[ci:skip-build]: already built successfully in CI
2022-11-12 13:05:38 +01:00
Newbyte 270e5e28ad device: drop depend on mesa-dri-gallium (MR 3478)
This is now installed by postmarketos-base when appropriate.
2022-10-11 11:19:43 +02:00
Dylan Van Assche 2867af783a community/device-pine64-pinephonepro: refactor fwupd plugins (MR 3513)
fwupd 1.8.6 has all plugins builtin, remove subpackages
2022-10-09 16:22:03 +02:00
Bobby The Builder a34fbd3571 pine64-pinephonepro: add simple-card.conf symlink (MR 3356)
Add a workaround to fix loading the alsa ucm config.

Related: https://github.com/Tow-Boot/Tow-Boot/issues/171
[ci:skip-build]: already built successfully in CI
2022-08-17 09:09:25 +02:00
Pablo Correa Gómez 7ebf3bfc71 main/device-pine64-pinephone: add logind and upower fwupd plugins (MR 3320)
Otherwise, an update could be allowed even if the phone is not
connected to AC and it might also suspend in the middle of the upgrade
2022-07-27 10:57:31 -04:00
Adam Thiede 6545705115 device-pine64-pinephonepro: add gschema override for keyboard symbols (MR 3310)
[ci:skip-build]: already built successfully in CI
2022-07-27 08:42:49 +02:00
Oliver Smith c798839c60 pine64-pinephonepro: tweak kernel parameters (MR 3280)
* set PMOS_FORCE_PARTITION_RESIZE
* set loglevel=1 to have less verbose kernel output during boot, same as
  for the pinephone
2022-07-11 08:32:04 +02:00
Oliver Smith f608015ea3 pine64-pinephonepro: fix dev_internal_storage (MR 3280) 2022-07-11 08:31:59 +02:00
Oliver Smith 28e2019ff7 pine64-pinephonepro: fix audio with alsa-lib 1.2.7 (MR 3272)
Let /usr/share/alsa/ucm2/conf.d/simple-card/*.conf be a symlink,
as it is expected since alsa-lib 1.2.7.

Related: https://github.com/alsa-project/alsa-lib/commit/d6adde0e32376554e461098dcd7cfdb824fabd1e
[ci:skip-build]: already built successfully in CI
2022-07-08 00:04:54 +02:00
Martijn Braam e99bc1224d device/pine64-pinephonepro: add bluetooth firmware (MR 3278)
[ci:skip-build]: already built successfully in CI
2022-07-07 23:31:18 +02:00
Martijn Braam 11e959cc01 device/pine64-pinephonepro: fix up firmware (MR 3238)
Remove the firmware that was copied from the pine64-pinephone and add
the cdn-dp firmware for the rockchip platform.

[ci:skip-vercheck]
2022-07-07 09:26:57 +02:00
Martijn Braam b58b7cfbd4 device/pine64-pinephonepro: fix calling (MR 3238) 2022-07-07 09:26:57 +02:00
Martijn Braam 484b23f7a0 device/pine64-pinephonepro: Move to commmunity (MR 3238) 2022-07-07 09:26:57 +02:00