Commit Graph
386 Commits
Author SHA1 Message Date
Aelin 67f18e1fc0 */*: update my name and email
[ci:ignore-count]: intended
[ci:skip-build]: all patches still apply, no functional changes

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7721>
2026-01-11 18:52:28 +01:00
Clayton Craft 917ca066de device-qemu-*: drop initramfs module config
This is now in postmarketos-qemu-common

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7627>
2025-12-26 16:47:58 +00:00
Pablo Correa Gómez f048d723f5 device-qemu-amd64: 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
Pablo Correa Gómez 52e3daf0d3 device-qemu-aarch64: 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

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
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
Pablo Correa Gómez fbd0ab3bd7 device-qemu-aarch64: run unl0kr tests under ci-tron
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7481>
2025-12-05 07:26:24 +01:00
Pablo Correa Gómez c2c19a85d6 device-qemu-amd64: run unl0kr tests under ci-tron
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7481>
2025-12-05 07:26:24 +01:00
Jens Reidel e710e26cbb device-qemu-ppc64le: fix console name
This was already working previously, but hvc0 is the more correct name
for the serial console.

Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7192>
2025-10-13 23:59:57 +00:00
Jens Reidel ccb4f6d525 device-qemu-loongarch64: New device
Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7116>
2025-10-12 16:36:48 +00:00
Jens Reidel 882b3807aa device-qemu-ppc64le: support proper OF boot
Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7153>
2025-10-11 22:57:14 +02:00
Hugo Osvaldo Barrera ec17f2118c qemu-*: enable PSI
PSI is necessary (but not sufficient) to run Waydroid on this device
target:

- linux-virt is built without binder and unusable for Waydroid.
- linux-stable is build with CONFIG_PSI_DEFAULT_DISABLED.
- linux-lts is build with CONFIG_PSI_DEFAULT_DISABLED.

The performance difference is negligible for this device; less that 1%.

Fixes: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/1884
See: https://gitlab.alpinelinux.org/alpine/aports/-/issues/17465
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6995>
2025-09-05 21:54:00 +02:00
Jens Reidel 4182d118f9 main/qemu-ppc64le: new device (MR 5774)
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
[ci:skip-vercheck]: forked paackages

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/5774>
2025-08-17 12:43:26 +00:00
Clayton Craft 1793892a4c qemu-{aarch64,amd64}: use zstd for initramfs compression
Fixes #3861

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6853
2025-08-08 13:16:05 +02:00
Martin Roukala (né Peres) 8c2bf6c07e qemu-aarch64: add hwci support
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6696
2025-07-30 12:54:25 +02:00
Martin Roukala (né Peres) 89407374b2 qemu-aarch64/deviceinfo: set the default baudrate for ttyAMA0
This ensures consistency between the kernel boot messages' baudrate
and getty's.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6696
2025-07-30 12:54:24 +02:00
Martin Roukala (né Peres) 553479cfe8 qemu-amd64: add hwci support
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6696
2025-07-30 12:54:24 +02:00
Martin Roukala (né Peres) 541f804b97 qemu-amd64/deviceinfo: set the default baudrate for ttyS0
This ensures consistency between the kernel boot messages' baudrate
and getty's.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6696
2025-07-30 12:54:24 +02:00
fossdd 74b0524c44 device-qemu-riscv64: replace -kernel-edge with -kernel-stable
[ci:ignore-count]
[ci:skip-vercheck]: makes sense that a different kernel is enough for
a different pkgver

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6590
[ci:skip-build]: already built successfully in CI
2025-06-20 10:59:28 +02:00
fossdd 6bcdd94c4f device-qemu-amd64: replace -kernel-edge with -kernel-stable
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6590
2025-06-20 10:59:28 +02:00
fossdd 66bbaf9513 device-qemu-aarch64: replace -kernel-edge with -kernel-stable
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6590
2025-06-20 10:59:28 +02:00
Clayton Craft 68ed2f96a1 device-qemu-*: depend on postmarketos-qemu-common
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6508
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6508
2025-06-03 12:27:57 +02:00
Oliver Smith 0260dfaa85 purism-librem5: move from main to community (MR 5911)
[ci:skip-vercheck], [ci:skip-build]: moving devices
2024-12-16 23:44:40 +01:00
Oliver Smith 230d684eee pine64-pinephone: move from main to community (MR 5911) 2024-12-16 23:23:44 +01:00
Stefan Hansson 52f58a9c09 linux-purism-librem5: upgrade to 6.6.63 (MR 5898)
[ci:skip-build]: already built successfully in CI
2024-12-12 20:22:50 +01:00
Oliver Smith e9643f19db u-boot-pinephone: fix build with modern SWIG (MR 5893)
[ci:skip-build]: already built successfully in CI
2024-12-10 08:48:04 +01:00
Oliver Smith 4de559cf50 u-boot-librem5: fix build with modern SWIG (MR 5893) 2024-12-10 08:47:59 +01:00
Arnav Singh 578bd8f983 linux-postmarketos-allwinner: upgrade to 6.12.1_git20241127 (MR 5858) 2024-11-29 22:58:42 -08:00
Jakob Hauser ff1db54205 device-qemu-*: move X11 config file from /etc to /usr (MR 5809)
As it's delivered by the distro, it should go into /usr.
2024-11-25 23:35:10 +09:00
Robert Eckelmann 29e1a5f6c6 linux-purism-librem5: add CONFIG_CRYPTO_ZSTD (MR 5835)
Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>

[ci:ignore-count]: We meant to change many packages
[ci:skip-build]: already built successfully in CI
2024-11-24 09:31:47 +01:00
Stefan Hansson 207873d698 linux-purism-librem5: upgrade to 6.6.57 (MR 5815)
[ci:skip-build]: already built successfully in CI
2024-11-22 23:23:36 -08:00
Arnav Singh 49dfa5a0a8 linux-postmarketos-allwinner: upgrade to 6.11.8_git20241114 (MR 5794) 2024-11-14 17:57:34 -08:00
Arnav Singh f568f4e2ec linux-postmarketos-allwinner: upgrade to 6.11.5_git20241029 (MR 5753)
[ci:skip-build]: already built successfully in CI

[ci:skip-vercheck]
2024-11-02 11:02:07 +01:00
Oliver Smith 378cbbb235 linux-purism-librem5: add pmb:kconfigcheck-librem5 (MR 5633)
Follow up to MR 5562, which introduced category:librem5. Add the related
option, so CI actually enforces this category for the Librem 5.

[ci:skip-vercheck]: no need to rebuild for this
2024-10-23 13:24:10 +02:00
Jakob Hauser a8a4d06fac device-qemu-*: set a default resolution for X11 (MR 5712)
Qemu by default starts a GTK window in VGA resolution 640x480. The content
adapts to this resolution, thus X11 shows up in resolution 640x480 as well.

This resolution causes some handling issues. In Xfce4 the shutdown button of
the menu isn't reachable. Even worse in MATE, where the "Apply" button for
changing the resolution is out of the screen, making it difficult to change
the resolution.

The default resolution for X11 can be set by a config file. The Qemu GTK
window resolution remains independently at default 640x480. Setting the X11
resolution to default 800x600 mitigates the issue: Most of the screen content
becomes accessible while font size and button sizes are still large enough.
From this point the user can adjust the resolutions of the Qemu GTK window
and X11 content as desired.
[ci:skip-build]: already built successfully in CI
2024-10-23 00:23:40 -07:00
Jens Reidel 4a43fc75e0 device-pine64-pinephone: depend on postprocessd (MR 5699)
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-10-14 14:39:38 +02:00
Jens Reidel be6b56d467 device-purism-librem5: depend on postprocessd (MR 5699)
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-10-14 14:39:34 +02:00
Alistair Francis 31aa6e8a2b device-purism-librem5: upgrade to 65pureos1 (MR 5700)
Signed-off-by: Alistair Francis <alistair@alistair23.me>
2024-10-12 12:56:41 +00:00
Pablo Correa Gómez c1013ea2fd device-purism-librem5: rebuild to update references to gitlab.postmarketos.org (MR 5696)
[ci:skip-vercheck]
[ci:ignore-count]
2024-10-07 12:59:45 +02:00
Pablo Correa Gómez 9552b4a781 */*: update references to gitlab.postmarketos.org that need no rebuild (MR 5696)
These are in files or parts of files that are not part of the
checksums, or that serve as packaging-information only. Thus, require
no rebuild
2024-10-07 12:57:38 +02:00
Arnav Singh 5b7d971d3e linux-postmarketos-allwinner: upgrade to 6.11.0_git20240915 (MR 5669)
- 0012-ARM-dts-allwinner-sun5i-a13-pocketbook-614-plus-Add-.patch

  The dts added by this patch is now present in upstream, so this patch has
  been removed. Note that the upstream dts has differences from the one that
  this patch added.

- Set myself as primary maintainer since Jan has been inactive for
  many months now.
[ci:skip-build]: already built successfully in CI
2024-10-02 15:00:46 +02:00
Stefan Hansson 1fc9946b1e linux-purism-librem5: upgrade to 6.6.52 (MR 5640)
There's no longer a release without the PureOS release in the tag, so
this makes changes to facilitate that.

[ci:skip-build]: already built successfully in CI
2024-09-29 15:22:36 +02:00
Clayton Craft 5657b17112 device-pine64-pinephone: depend on megapixels (MR 5644)
default-cam is going away, depend on this camera app because it's probably more featureful than the app any UI recommends
2024-09-28 13:48:45 +02:00
Clayton Craft bbad3f7777 device-purism-librem5: depend on millipixels (MR 5644)
default-cam is going away, depend on this camera app because it's probably more featureful than the app any UI recommends
2024-09-28 13:48:45 +02:00
Clayton Craft fcf8baf52b device-purism-librem5: create openrc subpackage (MR 5635)
[ci:skip-build]: already built successfully in CI
2024-09-27 04:22:18 -07:00
Robert Mader 0bf40d20e0 linux-postmarketos-allwinner: restore CMA size (MR 5626)
This partly reverts the commit mentioned below. When disabling CMA
I thought that libcamera was the only user of it, which is only true
for userspace, though.
In fact CMA is used and often even required by the kernel for HW video
decoders, display engines and other hardware that might not have a
MMU.

Thus restore the previously established value.

Fixes: 196ece029 (linux-postmarketos-allwinner: enable CONFIG_UDMABUF (MR 5585))
[ci:skip-build]
2024-09-25 23:31:15 +09:00
Robert Mader fbfe596b46 linux-postmarketos-allwinner: restore CMA size (MR 5626)
This partly reverts the commit mentioned below. When disabling CMA
I thought that libcamera was the only user of it, which is only true
for userspace, though.
In fact CMA is used and often even required by the kernel for HW video
decoders, display engines and other hardware that might not have a
MMU.

Thus restore the previously established value.

Fixes: 196ece029 (linux-postmarketos-allwinner: enable CONFIG_UDMABUF (MR 5585))
2024-09-25 16:17:12 +02:00
Luca Weiss 3f779fdf93 kconfigcheck.toml: enable "ACM & MASS_STORAGE USB" gadgets for debug-shell (MR 5621)
These two gadgets are used in the initramfs, mostly for debugging
functionality, so force them on for devices.

[ci:ignore-count]
[ci:skip-build]
2024-09-25 22:45:47 +09:00
Arnav Singh dd3d96300c main/firmware-pine64-rtl8723bt: new aport (MR 5604)
This partially reverts 06edc589e7
"main/firmware-pine64-rtl8723bt: drop (MR 5582)" because the linux-firmware
fw breaks bluetooth on the pine64-pinephone 1.2b.

Specifically the cs_fw.bin from linux-firmware works but not
the cs_xx_config.bin, so this restored package provides just the latter.

The original package provided bs_config.bin also. The BS is used by
the pine64-a64-lts and pine64-dontbeevil, but I don't have those devices to
know for sure whether they work with linux-firmware's fw or not. So for now
this commit only restores the cs_config.bin and only updates
pine64-pinephone and pine64-pinetab to pull it in.

Ref: #3179

[ci:skip-vercheck] Restoring package with pkgrel one higher than the deleted
package.
[ci:skip-build]: already built successfully in CI
2024-09-17 23:27:44 +02:00
Arnav Singh 06edc589e7 main/firmware-pine64-rtl8723bt: drop (MR 5582)
Its contents are now provided by linux-firmware-rtl_bt-20240909-r0 onwards.

Fixes #3166
[ci:skip-build]: already built successfully in CI
2024-09-12 15:11:36 -07:00