Commit Graph
23 Commits
Author SHA1 Message Date
Nickolay Goppen 6a0267124e device-xiaomi-clover: Add Mi Pad 4 LTE variation
Mi Pad 4 LTE is very very similar to regular Mi Pad 4,
but it has a modem with LTE support.

Signed-off-by: Nickolay Goppen <setotau@mainlining.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8305>
2026-04-11 14:41:26 +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
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 20f5c75a1b device/testing: add empty maintainer variables
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7734>
2026-01-15 11:15:21 +00:00
Alexey Minnekhanov efc2dd5540 device-xiaomi-clover: updates for kernel 6.17
Update modules names to the ones used in kernel 6.17.

Fix deviceinfo linting issues.

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7180>
2025-10-20 23:48:00 +03:00
Barnabás Czémán f364e6551d device-xiaomi-clover: update devicetree name
sdm660-xiaomi-clover was renamed to sda660-xiaomi-clover,
update deviceinfo for follow the change.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6370
2025-04-02 00:19:40 +03:00
Alexey Minnekhanov 12fc6da4a4 device-xiaomi-clover: add battery modules to initfs
Having battery charger and fuelgauge modules in initfs will
allow device battery to be charged e.g. in debug-shell mode,
instead of slowly discharging and dying.

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6336
2025-03-19 21:16:13 +01:00
Luca Weiss 4fff56942d device/*: remove unnecessary mtk_mkimage="false" values (MR 5995)
Like quite a few other values being set to false, this one has a default
of false so can be safely removed.
2025-01-07 10:58:40 +01:00
Alexey Min 854b37b98a device-xiaomi-clover: generate extlinux config (MR 5914)
So it can be booted using U-Boot bootstd method.

Signed-off-by: Alexey Min <alexey.min@gmail.com>
2024-12-17 22:52:46 +03:00
Alexey Min 71aee6a9c1 device-xiaomi-clover: enable GPU / panel support (MR 5702)
Include Qualcomm display subsystem and Adreno GPU driver, along
with panel driver into initramfs.

And mark devices as GPU accelerated to allow using all the UIs.
2024-10-17 03:49:36 +03: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
kubntd d6fa4df277 device-xiaomi-clover: add dependencies for modem, Wi-Fi and GPU (MR 5230)
Depend on msm-firmware-loader, firmware- and soc- packages.
Sort deps alphabetically.

Tidy up deviceinfo:
* add flash_kernel_on_update
* remove unneded things from kernel cmdline
[ci:skip-build]: already built successfully in CI
2024-06-17 09:51:49 +02:00
Anton Bambura de1a13c782 devices: use consistent pkgver (MR 4994) 2024-04-22 15:45:12 -07:00
Pablo Correa Gómez cf69326222 device/*: rebuild all devices (MR 4551)
[ci:ignore-count]
2024-01-22 19:32:30 +01:00
Alexey Minnekhanov df6a692c8f xiaomi-clover: add Mi Pad 4 Plus variation (MR 4702)
Similarly to how it was done for xiaomi-beyllium with varying
display panels, add kernel variant for clover-plus.
Mi Pad 4 Plus is very very similar to regular Mi Pad 4,
but it has different panel and different touchscreen.
Therefore it uses different device tree in kernel - and it
is the only changed line in deviceinfo file.

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>

[ci:skip-build]: Already built successfully in CI.
2024-01-15 10:04:43 +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
Alexey Minnekhanov 5a2b291aa4 xiaomi-clover: add touchscreen module to initfs (MR 3342) 2022-09-15 20:19:32 +02: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
Oliver Smith caae6d5405 treewide: bump pkgrel to generate new splashes (MR 1996) 2021-04-11 19:52:37 +02:00
Mark Hargreaves 241f34f4fe xiaomi-clover: new device (Xiaomi Mi Pad 4) (MR 2003)
[ci:skip-build] Already built on CI
2021-03-05 16:48:25 +03:00