Commit Graph
24 Commits
Author SHA1 Message Date
Andreas Kemnade 3ae41f0abb device-{kobo,tolino}-*: enable drm for i.MX6 based ereaders
The near mainline kernel provides things in /dev/dri which can be used to
produce output on the screen. Of course these things are
quite dumb.
But the property is not named acceleration anymore.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8003>
2026-02-13 19:36:55 +00:00
Andreas Kemnade 6ba8c78578 device-kobo-clara: update module name
module name for epd regulator was changed in kernel

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7991>
2026-02-13 10:07:40 +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
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
Andreas Kemnade 725cd09e9d device-kobo/tolino: workaround GPT handling bug in pmbootstrap (MR 5977)
Bootloader needs to be at 0x400 for IMX6 devices. That is ignored by
pmbootstrap which places the GPT header there. Revert to msdos partition
table style to workaround that bug.
2025-01-05 17:02:20 +09:00
Andreas Kemnade 7763bc8113 linux-postmarketos-imx-ereader: rename from linux-kobo-clara-mainline (MR 5153)
Rename package to indicate the group of devices it is used for.

[ci:skip-build]: already built successfully in CI
2024-05-19 17:29:47 +02:00
Andreas Kemnade 3c49199db3 kobo-clara: enable autodetection of board revs a vs b (MR 5057)
These two board revisions differ in regulator settings, so
detect them to avoid magic smoke.

[ci:skip-build]: already built successfully in CI
2024-04-23 21:55:12 +02:00
Andreas Kemnade 219caeccad device-kobo-clara: use extlinux.conf (MR 4550)
simplify things by using standard ways to boot.
2024-04-18 14:23:32 +02:00
Andreas Kemnade 3531702772 device-kobo-clara: split out downstream build as unmaintained (MR 4550)
Near-mainline kernel is feature-complete since quite some time, so lets
use that as a default also to simplify boot process, since downstream kernel
depends on various blobs loaded into memory by the bootloader.
Get rid of quirks required in boot process for mainline kernels
also by using a near-mainline u-boot.
Prepare for handling rev b devices.
Keep Downstream kernel to be able to optimize/compare EPD operation
2024-04-18 14:23:32 +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 9ca0b50688 device/*: rebuild all devices with kernel subpackages (MR 4596)
[ci:ignore-count]
[ci:skip-build]: already built successfully in CI
2023-12-07 09:03:22 +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
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
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
Andreas Kemnade 475b892673 kobo-clara, tolino-shine2hd, tolino-shine3: add mesa-dri-gallium dep (MR 3470)
Mesa behaves again, #1658 is fixed, so lets re-revert MR 3306.
Lets also add the dependency to the other devices using the same
graphics driver.

[ci:skip-build] Already built successfuly on CI in MR
2022-09-27 10:24:48 +02:00
Andreas Kemnade 2a963f35f7 device-kobo-clara: remove mesa-dri-gallium dep (MR 3371)
Having mesa-dri-gallium installed causes Xorg to crash. See #1658.
Furthermore, display works without at least with near-mainline kernel,
tested with osk-sdl and xfce4.
So if specific applications depend on it, it should be added as a
dependency there.

This reverts MR 3306

This is just a hotfix, Xorg/mesa should be tamed to not crash here
but analyzing that costs time.
2022-08-22 09:52:05 +02:00
Andreas Kemnade 04208c6461 device/testing/device-{tolino,kobo}*: use common waveform extractor (MR 3099)
There is no need to duplicate things over and over again.
Also load the waveform in initramfs before loading display
modules. That is early enough to have a working display in
initramfs.
2022-08-19 18:52:44 -04:00
Dylan Van Assche b23b3c4cd8 device-kobo-clara: add mesa-dri-gallium dep (MR 3306)
Mesa dependency was missing causing the screen to stay blank after boot
2022-07-23 11:17:01 -04:00
Oliver Smith eb21ed5472 device/*/device-*: rebuild for new splash screens (MR 2222)
[ci:ignore-count]
2022-01-22 13:40:33 +01:00
bo41 79061c94ce device/*: remove empty variables (MR 2534)
[ci:ignore-count] [ci:skip-vercheck]
[ci:skip-build]: built all the device packages successfully in CI
                 already
2021-09-19 16:56:34 +02:00
Clayton Craft 65bae8615b device-*: don't use 'flavor' in kernel/initramfs names (MR 2426)
[ci:ignore-count]
[ci:skip-build] too many changed kernels/packages, won't complete in CI
2021-09-03 10:29:07 -07:00
Timotej Lazar b1d88b7bf0 device-kobo-clara: add init script to extract EPD waveform (MR 2334)
[ci:skip-build] already built successfully in CI
2021-07-18 09:36:26 +02:00
Timotej Lazar c1a3d06678 device-kobo-clara: new device (Kobo Clara HD) (MR 2334)
Support the downstream kernel and a close-to-mainline fork. Waveform
data for the eInk display and the Wi-Fi driver are not included yet.
Everything else should work.
2021-07-18 09:35:39 +02:00