Commit Graph
10576 Commits
Author SHA1 Message Date
postmarketOS CI c5cc2e47bd linux-next: upgrade to next-20250314 2025-03-15 05:59:23 +00:00
Caleb Connolly 6f1862193c linux-next: enable QCOM_CPUCP_MBOX
This isn't used yet but will be required for SCMI cpu frequency scaling
on X1 Elite. Let's get ready for that by enabling it now.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>

[ci:skip-build] already built in CI
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/5814
2025-03-14 22:08:01 +00:00
Pablo Correa Gómez 4dbf379cdb main/postmarketos-dev: add openssh-client as dependency
And reorder deps alphabetically. This is a follow-up from
f85eabcca6

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6305
[ci:skip-build]: already built successfully in CI
2025-03-14 21:55:34 +01:00
Caleb Connolly b7118581dd postmarketos-initramfs: bump pkgver and checksum
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6172
2025-03-14 20:24:07 +00:00
Caleb Connolly 865653c97d postmarketos-initramfs: log splash messages
log splash messages with the new info log level. This can be useful when
working on headless devices.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6172
2025-03-14 20:24:07 +00:00
Caleb Connolly 4d3958c4a5 postmarketos-initramfs: add rd.info arg and reduce logging
Support the rd.info cmdline argument to enable additional info logging,
and reduce the log level of some things to info so we print less
overall.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6172
2025-03-14 20:24:07 +00:00
Caleb Connolly 8400fffefb postmarketos-initramfs: refactor cmdline parsing
Currently the initramfs is littered with various code snippets which
read /proc/cmdline. This is error prone and results in more complicated
code especially as we want to standardise all the pmos specific cmdline
arguments, and where some arguments have the same behaviour as
deviceinfo variables.

Let's do the parsing correctly, once, and set global variables to
enable/disable/configure parts of the initramfs. At the same time
introduce namespaced and standard versions of the remaining arguments
which haven't been standardised yet.

Now (for example) to check if the splash is disabled, rather than
grepping /proc/cmdline for PMOS_NOSPLASH AND checking if
deviceinfo_no_framebuffer is true, you can just check if "$nosplash" =
"y".

This will drastically simplify the process of adding additional
configuration options in the future.

Most of the code here was taken from the Arch Linux initramfs and
simplified/adjusted to better fix our use case.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6172
2025-03-14 20:24:07 +00:00
Caleb Connolly 91c5784bd4 postmarketos-initramfs: refactor find_root/boot_partition
These functions are almost identical and follow the same logic.
Introduce a generic find_partition function which they can both call
into so we can abstract the logic away from the specific usage and make
everything much cleaner.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6172
2025-03-14 20:24:06 +00:00
Caleb Connolly 024422416f postmarketos-initramfs: refactor setup_log
Simplify things by putting all the log targets in one variable, and add
a special-case to log to consoles when pmos.nosplash is set and no
consoles are used by the kernel (e.g. because console=null is set).

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6172
2025-03-14 20:24:06 +00:00
Caleb Connolly 4133f4aeb5 postmarketos-initramfs: use local for more function-local variables
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6172
2025-03-14 20:24:06 +00:00
Caleb Connolly acb5d895b3 postmarketos-initramfs: reword debug-shell usb storage info
Make it clearer what is exposed over USB and why rather than just
printing the cmdline option.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6172
2025-03-14 20:24:02 +00:00
Clayton Craft 8947f03100 systemd/postmarketos-base-systemd: add some missing user presets 2025-03-14 10:20:42 -07:00
Clayton Craft 8447742b20 systemd/systemd: ship a default user preset
This adds a default preset for user units, that disables them by
default. This behavior is identical to what we do with system presets,
which means that if we want a unit enabled by default then we need
to add a preset for it or rely on some other unit to pull it in
automatically. Without this default preset, user units are enabled by
default when `systemctl preset` is run on them, which may not always be
the desired behavior (i.e. we don't want this behavior with system units).
2025-03-14 10:20:42 -07:00
jane400andClayton Craft d9c21e9058 systemd/postmarketos-base-systemd: run systemctl on preset changes for already installed units (MR 6120)
Co-authored-by: Clayton Craft <clayton@craftyguy.net>

[ci:skip-build]: already built successfully in CI
2025-03-14 10:20:37 -07:00
Dzmitry Sankouski 267126bc8a firmware-samsung-sdm845: delete package
Delete package - it was replaced with msm-firmware-loader.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6315
[ci:skip-build]: already built successfully in CI
2025-03-14 17:31:10 +01:00
Dzmitry Sankouski d2430d5b9e device-samsung-starqltechn: firmware: add msm-firmware-loader
Starqltechn required firmware to be pulled out of the particular phone.
Replace starqltechn firmware package dependency with
msm-firmware-loader.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6315
2025-03-14 17:31:10 +01:00
J. Neuschäfer 40bb2bc9ca linux-postmarketos-amlogic: fix wifi on Ugoos AM3
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6319

[ci:skip-build]: already built successfully in CI
2025-03-14 17:24:23 +01:00
Clayton Craft 2679dce766 systemd/dbus: upgrade to 1.16.2
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6289
2025-03-14 15:41:57 +01:00
Jens Reidel 3c15d13757 linux-postmarketos-qcom-sm7150: Upgrade to 6.13.7
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6318
2025-03-14 06:23:47 +01:00
Clayton Craft 0faf7b73d1 issue template: add COSMIC UI option (MR 6274)
[ci:skip-build]: already built successfully in CI
2025-03-13 10:57:35 -07:00
Clayton Craft f62fc95d7d main/postmarketos-ui-cosmic: new aport (MR 6274) 2025-03-13 10:57:35 -07:00
Clayton Craft ad6dc88dd7 systemd/systemd-services: add unit files for COSMIC greeter (MR 6274) 2025-03-13 10:57:35 -07:00
Clayton Craft 71df49fd16 systemd/postmarketos-base-systemd: add preset for COSMIC greeter (MR 6274) 2025-03-13 10:57:35 -07:00
postmarketOS CI 94a830e9a2 linux-next: upgrade to next-20250313 2025-03-13 16:59:49 +00:00
Stephanie Bread b3f4741789 main/postmarketos-base-ui-gnome: add gvfs packages (MR 6314)
[ci:skip-build]: already built successfully in CI
2025-03-13 16:35:00 +01:00
Dzmitry Sankouski be40ee69cf device-samsung-starqltechn: add modules-initfs (MR 6310)
Add starqltechn initfs modules, recently enabled in linux kernel.
This provides touchscreen and haptics support when in initramfs.
This allows to use onscreen keyboard in initramfs debug mode.
2025-03-13 11:48:30 +03:00
Caleb Connolly 993429917f HACK: systemd: dbus: disable bootstrap logic (MR 6313)
Get dbus building in edge again. This regressed due to the cross-native2
work in pmb which stopped using abuild to install makedepends and does
it in pmb instead. But pmbootstrap's parsing logic can't handle
conditions in the APKBUILD.

Related: issue 3604
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
[ci:skip-build]: already built successfully in CI
2025-03-12 22:08:45 +01:00
fossdd 85e415e5e7 systemd/postmarketos-base-systemd: add system preset for kodi (MR 6273)
[ci:skip-build]: already built successfully in CI
2025-03-12 21:11:48 +01:00
fossdd adada180b2 systemd/systemd-services: add kodi service (MR 6273) 2025-03-12 21:11:48 +01:00
fossdd f757629409 main/postmarketos-ui-kodi: enable some architectures (MR 6273)
[ci:skip-vercheck] only $arch changed, doesnt affect APKINDEX or .apk
2025-03-12 21:11:43 +01:00
postmarketOS CI 86313545a6 linux-next: upgrade to next-20250312 2025-03-12 16:56:42 +00:00
fossdd ae7b3c1cdb main/postmarketos-base-ui-gnome: remove epiphany user agent override
Our epiphany got blocked by https://gitlab.gnome.org/ due to their new
AI scraping protection. We used a older User-agent that is not
regocnized by their protection and blocked us with "Access Denied.".

Nowadays Epiphany uses a dynamic user agent by default depending on the
chassis reported by systemd-hostnamed (e.g. mobile or desktop).

Fixes: 2722f6cac5 ("main/postmarketos-ui-{gnome,phosh}: less revealing epiphany user-agent (MR 1402)")

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6293
[ci:skip-build]: already built successfully in CI
2025-03-12 13:29:08 +01:00
Ermine 80ecf976c3 device-microsoft-dempsey: new device
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6294

[ci:skip-build]: already built successfully in CI
2025-03-12 13:01:13 +01:00
Aster Boese e520df71bb google-x64cros: Add 'psi=1' to kernel_cmdline
linux-lts from Alpine sets CONFIG_PSI_DEFAULT_DISABLED, so we
     need to enable it manually with the kernel cmdline.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6303
[ci:skip-build]: already built successfully in CI
2025-03-12 12:57:05 +01:00
Aster Boese 2b7d848537 generic-x86_64: Add 'psi=1' to kernel_cmdline
linux-lts from Alpine sets CONFIG_PSI_DEFAULT_DISABLED, so we
need to enable it manually with the kernel cmdline.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6303
2025-03-12 12:57:05 +01:00
Paul Sajna 7ee4100179 lg-judyp: enable getty on ttyMSM0
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6302

[ci:skip-build]: already built successfully in CI
2025-03-12 12:53:05 +01:00
Paul Sajna d66f753f74 lg-judyln: enable getty on ttyMSM0
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6302
2025-03-12 12:53:05 +01:00
Luca Weiss 809be0cfe2 firmware-fairphone-fp5: Drop .mdt symlinks
These are no longer used, remove them.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6248
[ci:skip-build]: already built successfully in CI
2025-03-12 12:44:28 +01:00
Richard Acayan 7080a0627b linux-postmarketos-qcom-sdm670: backport the qcom-spmi-adc-tm5 scaling fix (MR 6298)
The thermal monitor measures an NTC thermistor which decreases voltage
when the temperature increases.

When fixing the scaling for the first time, a wrong division by 20 was
removed. The voltage code was still high by a factor of 28900/16384,
enough that the thermal monitor constantly signalled/interrupted at a
low voltage/high temperature trip point. The thermal monitor still
reports the correct temperature so the kernel keeps the wrong trip
points and lets the thermal monitor keep interrupting 1000 times/sec.
Fix the other scaling amount so the thermal monitor sends interrupts at
the right temperature (with some imprecision).
2025-03-12 10:32:33 +03:00
postmarketOS CI d1bbf43ab2 linux-next: upgrade to next-20250311 2025-03-11 16:59:34 +00:00
J. Neuschäfer a8fa909bb7 testing/device-amlogic-tvbox: add Ugoos AM3 support
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6276
2025-03-11 20:57:32 +09:00
Oliver Smith 6cc823e729 main/postmarketos-mkinitfs: use cross-native2 (MR 6297)
Speed up cross compilation.

Related: https://docs.postmarketos.org/pmbootstrap/cross_compiling.html
[ci:skip-build]: already built successfully in CI
2025-03-10 22:09:26 +01:00
Oliver Smith 79fc4d2cd8 main/postmarketos-mkinitfs: build with cgo (MR 6297)
Set CGO_ENABLED=1 to fix the following when cross compiling with
cross-native2 from x86_64 to (armv7,riscv64,armhf):

  -buildmode=pie requires external (cgo) linking, but cgo is not enabled

Depends: pmbootstrap MR 2565
Related: https://gitlab.alpinelinux.org/alpine/aports/-/issues/15809
2025-03-10 22:09:26 +01:00
Oliver Smith 6b56b58193 main/postmarketos-mkinitfs: trigger: skip in pmb (MR 6297)
Don't run mkinitfs inside "pmbootstrap install" with the trigger
script, as it triggers multiple times as the rootfs gets constructed,
slowing down the process. Instead, pmbootstrap runs "mkinitfs"
explicitly once at the end of "pmbootstrap install".

pmaports master has pmbootstrap_min_version=2.3.2 in pmaports.cfg, which
already runs "mkinitfs" at the end of "pmbootstrap install", see
pmb/install/_install.py, install_system_image().
2025-03-10 22:09:26 +01:00
Oliver Smith 200529afe0 main/postmarketos-mkinitfs: tweak clean print (MR 6297)
Don't print the "Cleaning up old boot files..." message every time in
post-upgrade, only when it actually deletes files.
2025-03-10 22:09:17 +01:00
Jens Reidel eddffe3ec9 soc-qcom-sm7150: Drop, this is in the generic package now
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6286

[ci:skip-build]: already built successfully in CI
2025-03-10 15:09:23 +01:00
Jens Reidel dd2b636f3a device-xiaomi-surya: Drop, we have a generic package now
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6286
2025-03-10 15:09:23 +01:00
Jens Reidel 9642bb2a4b device-xiaomi-davinci: Drop, we have a generic package now
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6286
2025-03-10 15:09:23 +01:00
Jens Reidel 6ca5f01ee4 qcom-sm7150: New device
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6286
2025-03-10 15:09:23 +01:00
Jens Reidel 459fd71186 alsa-ucm-conf-qcom-sm7150: Fix speakers when booting with U-Boot
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6286
2025-03-10 15:09:23 +01:00