Commit Graph
9824 Commits
Author SHA1 Message Date
Ferass El Hafidi 5ee51e105b device-postmarketos-trailblazer: add some modules for amlogic (MR 5926)
Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
2024-12-20 17:48:56 +00:00
Ferass El Hafidi 98605bb2d5 device-postmarketos-trailblazer: add myself as co-maintainer (MR 5926)
I want to help maintaining this generic device port.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
2024-12-20 17:48:56 +00:00
Ferass El Hafidi 42560daf68 device-postmarketos-trailblazer: add a few more kernels (MR 5926)
Kernels added:
* linux-edge
* linux-lts
* linux-postmarketos-amlogic
* linux-postmarketos-qcom-laptop

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
2024-12-20 17:48:56 +00:00
Richard Acayan dda11062b5 alsa-ucm-conf-qcom-sdm670: upgrade to 1.2.9_git20241211 (MR 5918)
[ci:skip-build]: already built successfully in CI
2024-12-20 18:15:31 +01:00
Sicelo A. Mhlongo f5b4473346 device-nokia-n900: move xdefaults to x11 subpackage (MR 5930)
The xdefaults file is not i3wm-specific, but can be used with any X11 UI the
user may want to try

[ci:skip-build]: already built successfully in CI
2024-12-20 15:31:26 +00:00
Sicelo A. Mhlongo 86fb190a34 device-nokia-n900: lock.sh: query touchscreen instead of display (MR 5930)
lock.sh is only reliable when used with i3wm, where we disable gpio_keys from
being handled by X/i3wm. When this is not done (e.g. when testing a different
X11 UI), the script becomes unreliable since the display turns on due to the
SCREENLOCK key being toggled, and therefore only the display=on case is ever
run.

Improve reliability of the script by basing the decision making on the
enabled/disabled state of the touchscreen instead.
2024-12-20 15:31:26 +00:00
Luca Weiss ccb0e43a6f linux-postmarketos-qcom-sm6350: upgrade to 6.12.4 (MR 5904)
[ci:skip-build]: already built successfully in CI
2024-12-20 16:15:58 +01:00
Oliver Smith ad0d82fbec device-pine64-pinephone: set partition_type=msdos (MR 5928)
Current pinephone images built pmbootstrap >= 3.0.0 don't boot on the
pinephone anymore. At least part of this must be the switch from GPT to
MBR that has been done by default in pmbootstrap. Set msdos explicitly
to revert this for the pinephone.

With Tow-Boot we could probably use GPT instead, but this should be a
well-tested, concious decision. Let's fix this regression first.

[ci:skip-build]: already built successfully in CI
2024-12-20 10:47:05 +01:00
postmarketOS CI 700dd6d775 linux-next: upgrade to next-20241219 2024-12-19 20:06:10 +00:00
Sicelo A. Mhlongo a092ed546a linux-postmarketos-omap: make AES builtin (MR 5925)
With AES built as a module, it is not possible to unlock the rootfs, at least
on the Nokia N900.

[ci:skip-build]: already built successfully in CI
2024-12-19 11:58:58 +02:00
panpantepan 8b455932f8 xiaomi-nabu: new device (MR 5804)
This adds Xiaomi Pad 5, it uses a close to mainline kernel on 6.12.0
the firmware is packaged and supported, although hexagonrpcd is not working yet.
this is a continuation from
https://github.com/map220v/postmarket_xiaomi_nabu/tree/test
updating its config and updating its components.
i based the hexagonrpcd bringup from xiaomi-elish and google-sargo

[ci:skip-build]: already built successfully in CI
2024-12-19 06:20:49 +03:00
Clayton Craft ec7a77f764 community/linux-postmarketos-allwinner: enable USB ACM module (MR 5922)
Allows using allwinner devices with usb devices that implement ACM (3d
printers, serial things, etc)
2024-12-18 17:47:39 -08:00
Android Piepaint 579b65d848 apple-tonga: new device (MR 5913) 2024-12-18 21:23:32 +09:00
postmarketOS CI 8f41b81707 linux-next: upgrade to next-20241218 2024-12-18 05:58:06 +00:00
Stephan Gerhold 35c98d44a8 main/postmarketos-initramfs: add cmdline to expose specific USB storage (MR 5912)
In addition to the pmos.debug-shell cmdline argument, add
pmos.usb-storage=<block-device> to set up the USB mass storage gadget by
default when going into debug shell. This allows building a special boot
image/option that directly exposes the storage for flashing, without having
to type in extra debug-shell commands.
2024-12-17 23:24:15 +03:00
Stephan Gerhold ce05d2d8ff main/postmarketos-initramfs: unify setup_usb_storage (MR 5912)
Right now we have two similar implementations of setting up a USB mass
storage gadget, in init_functions.sh and as separate script for the
debug-shell. Given that init_functions.sh is available in debug-shell
anyway, unify both in a common setup_usb_storage_configfs() function.

Having this included in the initramfs debug-shell by default (without
installing postmarketos-mkinitfs-hook-debug-shell) also simplifies
recovery, since you can set up the USB storage for repairing the flashed
postmarketOS installation in case of boot failures. The size overhead is
minimal, since this has no extra dependencies.
2024-12-17 23:24:15 +03: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 6ea3a6db14 device-xiaomi-lavender: 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:32 +03:00
postmarketOS CI cad5fcbbe3 linux-next: upgrade to next-20241217 2024-12-17 05:59:47 +00: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
cosmo aa7eb4ed77 device-fairphone-fp5: add unl0kr quirk (MR 5910)
Added a config file to /etc/unl0kr.conf.d/ to fix issue with unl0kr
being invisible during boot.

Commit-Msg-Tweaked-By: Oliver Smith <ollieparanoid@postmarketos.org>
2024-12-16 23:12:28 +01:00
Caleb Connolly f261f55ea7 linux-postmarketos-qcom-sdm845: upgrade to 6.13-rc2 (MR 5902)
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>

[ci:skip-build]: already built successfully in CI
2024-12-16 23:06:29 +01:00
Stephan Gerhold f9174c6d05 main/postmarketos-initramfs: resize btrfs after mount (MR 5844)
BTRFS only supports online resizing. Right now we implement that by
temporarily mounting the file system, resizing it, and then unmounting it
again. But most of this is redundant since we mount the rootfs at /sysroot
immediately after.

Avoid this by splitting the file system resizing in offline resize (before
mount) and online resize (after mount) and resize BTRFS after mounting
/sysroot. For EXT4 we can either do offline resizing or online resizing.
Keep offline resizing for now for better compatibility with older kernels.
F2FS does not seem to support online resizing, so we need to keep the
functionality for offline resizing anyway.

Drop the splash for now, since it would introduce flickering on each boot.
We can restore it later if needed (ideally by adding a way to update the
splash message without restarting pbsplash).
2024-12-16 22:55:44 +01:00
Stephan Gerhold 8e2ce06af5 main/postmarketos-initramfs: don't resize ext4 with fsck errors (MR 5844)
Right now we use the resize2fs -f (force) option, which "Forces resize2fs
to proceed with the filesystem resize operation, overriding some safety
checks which resize2fs normally enforces." For example, this flag instructs
resize2fs to attempt resizing file systems with errors in some situations.

We primarily care about resizing the file system on initial boot, where we
shouldn't have any errors in the file system. For all other subsequent
boots, we shouldn't risk the filesystem data just to resize it again.
So let's drop the -f flag and only resize clean file systems.
2024-12-16 22:55:44 +01:00
Stephan Gerhold 892d5bb14f main/postmarketos-initramfs: always resize rootfs during boot (MR 5844)
At the moment, the root file system is only resized to span the entire
partition if we previously also resized the partition itself. However, if
a rootfs image without subpartitions is flashed to a pre-existing partition
this means that the installation only has very limited space available
without manual resizing.

Such a setup is used for devices using the "fastboot-bootpart" flasher
(e.g. asus-me176c), where boot and root images are flashed to two separate
partitions and the device boots directly from the boot partition.

Avoid this problem on these devices by always resizing the root file system
on each boot. All the resize tools exit early if the file system is already
expanded to the maximum size. It's faster to call resize2fs unconditionally
instead of manually checking if the file system needs resizing before.
Similar tooling like systemd-growfs also resizes unconditionally.
2024-12-16 22:55:39 +01:00
postmarketOS CI 839037e0d6 linux-next: upgrade to next-20241216 2024-12-16 19:59:39 +00:00
Oliver Smith da9d2f95e5 cross/busybox-static-*: upgrade to 1.37.0-r10 2024-12-15 12:36:04 +01:00
Raymond Hackley 3d7ac0d51a samsung-rossa: rename device from cprime and maintain (MR 5865)
[ci:skip-build]: already built successfully in CI
2024-12-15 08:32:17 +01:00
Raymond Hackley b4f94a4621 samsung-fortuna: simplify backwards compatibility (MR 5908)
[ci:skip-build]: already built successfully in CI
2024-12-15 08:18:17 +01:00
Fiona Klute 1b83a7647e main/postmarketos-base-ui: Fix growing number of tethering unudhcpd instances (MR 5905)
/usr/lib/NetworkManager/dispatcher.d/50-tethering.sh had a typo in the
"killall" command in the "disable_tethering" function, leading to it
never stopping any unudhcpd process. As a new instance is started each
time a USB cable is connected, so the number of instances kept growing
until reboot. Fix the typo so any old unudhcpd instance is actually
stopped before starting a new one.

To illustrate the bug, a sample with an uptime of 4 days:

$ ps w | grep unudhcpd
 2467 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
 5009 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
 5525 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
 6360 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
 7271 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
 9356 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
11045 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
14779 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
15696 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
17454 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
19119 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
24729 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
25565 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
25691 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
27417 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
30649 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
31690 root      0:00 unudhcpd -i usb0 -s 172.16.42.1 -c 172.16.42.2
[ci:skip-build]: already built successfully in CI
2024-12-13 16:46:10 -08:00
Caleb Connolly 3becd343af soc-qcom-sdm845: update alsa UCM configs (MR 5901)
* reduce op6 default earpiece volume
* add symlinks to enable audio when booting with u-boot

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-12-13 09:37:44 +01:00
postmarketOS CI a236a9cce4 linux-next: upgrade to next-20241213 2024-12-13 05:59:45 +00:00
Oliver Smith e195bc11d9 main/postmarketos-artwork: set wallpaper: Dawning (MR 5900)
Related: https://fosstodon.org/@postmarketOS/113624366198561582

[ci:skip-build]: already built successfully in CI
2024-12-12 23:14:02 +01:00
Oliver Smith 22087e93c6 main/postmarketos-ui-gnome-mobile: fix gnome-mobile-extensions-app dep (MR 5899)
Fix the bug that prevented "pmbootstrap install" from working with
postmarketos-ui-gnome (not -mobile).

This bug has been here in pmaports for a long time, but until recent
changes in apk's resolver code, this did not fail (apk installed
gnome-extensions-app instead of gnome-mobile-extensions-app in that
scenario).

How it happened:
* postmarketos-ui-gnome has _pmb_recommends="gnome-extensions-app".
* pmbootstrap: pmb.install._install.get_recommends() works like this:
  1. Look at the packages i in _pmb_recommends of the packages that
     will be installed in "pmbootstrap install".
  2. For each package j in _pmb_recommends of i:
    2.1 Add all packages in j's _pmb_recommends to the list of
        packages to be installed.
    (2.2 Recurse by doing 1. with each package in j's _pmb_recommends.)
* In step 2:
  * pmaports doesn't have a gnome-extensions-app (it's in Alpine, a
    subpackage of gnome-shell).
  * Therefore our gnome-shell-mobile fork gets looked at, which has a
    gnome-mobile-extensions-app subpackage that provides
    gnome-extensions-app.
  * pmbootstrap looks at the _pmb_recommends of the gnome-shell-mobile
    package, which has "gnome-mobile-extensions-app" (this is wrong,
    it should be in postmarektos-ui-gnome-mobile instead and this patch
    fixes this!).
  * pmbootstrap adds the "gnome-mobile-extensions-app" to the list of
    packages to be installed.
* The result is an "apk add" line that has "postmarketos-ui-gnome" and
  "gnome-mobile-extensions-app" (and more packages), which results in a
  conflict betwen gnome and gnome-mobile packages.

Fixes: issue 3360
[ci:skip-vercheck]: _pmb_recommends changes don't need package rebuilds
[ci:skip-build]: already built successfully in CI
2024-12-12 22:01:59 +01:00
Raymond Hackley ccdf640439 main/postmarketos-base: add udev rules for imagis touchkey (MR 5358)
[ci:skip-build]: already built successfully in CI
2024-12-12 20:41:40 +01:00
Raymond Hackley 38691ceffa main/postmarketos-base: update comments in zinitix udev rules (MR 5358) 2024-12-12 20:41:40 +01:00
adamthiede 7f02b78afd postmarketos-base-ui-gnome: replace power-profiles-daemon dependency (MR 5820)
replace power-profiles-daemon with virtual package

[ci:skip-build]: already built successfully in CI
2024-12-12 20:37:49 +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
postmarketOS CI c74fd5fd85 linux-next: upgrade to next-20241212 2024-12-12 05:57:51 +00:00
Ferass El Hafidi cd1599baf8 testing/u-boot-librecomputer-lafrite: remove (MR 5897)
lafrite has u-boot in SPI already

it also prevents lafrite from booting because pmbootstrap uses GPT partitioning now.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
2024-12-11 17:51:17 -08:00
Jan Jasper de Kroon 948ed6c7b9 linux-postmarketos-pinephonepro: upgrade to 6.11.11 (MR 5855)
[ci:skip-build]: already built successfully in CI
2024-12-11 20:48:28 +01:00
Jack Knightly 4059957c69 device-samsung-{m0,m3,t03g,t0lte}: add camera flash udev rule subpackage (MR 5888)
[ci:skip-build]: already built successfully in CI
2024-12-11 16:21:42 +01:00
Jack Knightly 02f54fca6f exynos4412: add udev rule for camera flash (MR 5888) 2024-12-11 16:21:42 +01:00
Jack Knightly 52d5adb068 linux-postmarketos-exynos4: add camera configs (MR 5888) 2024-12-11 13:41:15 +01:00
Cedric Busacker c38afdc20a samsung-kminilte: fix flashing via heimdall (MR 5890)
Fixes the problem that BOOT partition is only 10 MB big while boot.img is 13 MB now.
Also heimdall was stuck at 7% with the sparse flag this gets fixed.

[ci:skip-build]: already built successfully in CI
2024-12-11 12:46:14 +01:00
Oliver Smith c513182c82 gitlab/issue_template: add v24.12 2024-12-11 09:16:18 +01:00
Oliver Smith 0431845a82 main/postmarketos-release-upgrade: upgrade to 1.8.0 (MR 5894)
[ci:skip-build]: already built successfully in CI
2024-12-11 08:35:48 +01:00
postmarketOS CI aec1f74992 linux-next: upgrade to next-20241211 2024-12-11 05:59:41 +00:00
postmarketOS CI cd2778a888 linux-next: upgrade to next-20241210 2024-12-10 20:15:40 +00:00