Commit Graph
17 Commits
Author SHA1 Message Date
Ferass El Hafidi ab2a716197 device-google-trogdor: add hid-generic module to initramfs
Following a kernel upgrade, HID_GENERIC was changed from =y to =m,
however it was not included in the initramfs, causing the keyboard to
not respond and thus the FDE unlocking to be broken. Fix this by adding
it to the initramfs so the keyboard works again.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8064>
2026-02-23 15:42:50 +00:00
Alicja Michalska b2775ab1c3 linux-postmarketos-qcom-sc7180: Update to 6.18.9
Bumping the kernel to newest LTS, moves usb-storage to be a module
(instead of built-in).

Signed-off-by: Alicja Michalska <ellyqw@mainlining.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7964>
2026-02-17 08:28:17 +01: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
Ingo Reitz a339e3ab2f device-google-trogdor: change maintainers
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7676>
2026-01-04 18:44:28 +00:00
Ingo Reitz 546a2c16f2 Revert "device-google-{asurada,cherry,corsola,kukui,trogdor}: add systemd-boot"
This reverts commit 4960460b82.

This produces an invalid depthcharge payload on devices with kernel packages that install both a .efi kernel and vmlinuz. mkinitfs runs boot-deploy with the .efi kernel (because `deviceinfo_generate_systemd_boot=true`) and depthcharge can't boot a kernel in this format

pkgrels have been bumped

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7682>
2026-01-03 08:47:08 +01:00
Ingo Reitz 4960460b82 device-google-{asurada,cherry,corsola,kukui,trogdor}: add systemd-boot
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7656>
2026-01-01 20:35:06 +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
George Brooke 35ded7a2d7 device-google-trogdor: workaround accelerometer issue in buffered mode
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6495

[ci:skip-build]: already built successfully in CI
2025-05-13 09:46:59 +02:00
Oliver Smith b090beb066 device-google-trogdor: move eudev-hwids dep to openrc (MR 6042)
[ci:skip-build]: already built successfully in CI
2025-01-14 09:42:30 -08:00
Clayton Craft 2355af6a59 device/*: stop using console=null (MR 5752)
I replaced "console=null" with "quiet loglevel=2",
based on the findings in #2989

fixes #3269

[ci:ignore-count]
[ci:skip-build]: already built successfully in CI
2024-11-06 13:15:13 -08:00
WeirdTreeThing ce2ab7a168 google-trogdor: enable depthcharge image compression (MR 5376) 2024-08-15 17:19:19 +09:00
Anton Bambura 177f0a772d google-trogdor: disable dhcp (MR 5266) 2024-06-22 00:14:04 +03:00
Stefan Hansson 2af44f93f7 device: remove references to postmarketos-update-depthcharge-kernel (MR 5045)
Package was removed and is now included in boot-deploy.
2024-04-20 11:15:33 +02:00
Pablo Correa Gómez cf69326222 device/*: rebuild all devices (MR 4551)
[ci:ignore-count]
2024-01-22 19:32:30 +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 0383bcaa1e google-trogdor: move to community (MR 4291)
[ci:ignore-count]
[ci:skip-vercheck]

[ci:skip-build]: already built successfully in CI
2023-08-07 09:31:04 +02:00