Commit graph

9874 commits

Author SHA1 Message Date
Willow Barraco
6815bc8e3b
main/postmarketos-ui-sxmo-de-sway: remove conky version constraint (MR 5967) 2025-01-02 13:39:58 +01:00
Willow Barraco
0f71ce1308
main/postmarketos-ui-sxmo-de-dwm: remove conky version constraint (MR 5967) 2025-01-02 13:39:54 +01:00
fossdd
b2a684a49a
main/postmarketos-base: set ANSI_COLOR in os-release (MR 5970)
For example systemd makes use of the color for the presentation color
when showing the OS name on the console
2025-01-02 05:32:02 +03:00
Clayton Craft
c916869512
firmware-lenovo-21bx: drop bluetooth fw (MR 5963)
This is now in linux-firmware-qca
2025-01-01 12:05:42 +03:00
Barnabás Czémán
a09ed3862b
device-qcom-msm89x7: new device (MR 5693)
Replace xiaomi-riva and xiaomi-santoni device package with
this generic package.

[ci:skip-vercheck]
[ci:skip-build]: already built successfully in CI
2024-12-31 16:43:16 -08:00
Barnabás Czémán
5c91232144
soc-qcom-msm89x7: add initial soc package for msm89x7 devices (MR 5693) 2024-12-31 16:43:16 -08:00
Barnabás Czémán
b61da3a499
linux-postmarketos-qcom-msm89x7: new package (MR 5693) 2024-12-31 16:43:16 -08:00
Ferass El Hafidi
45fcfc14ce
bananapi-bpi-cm4-cm4io: new device (MR 5962)
Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>

[ci:skip-build]: already built successfully in CI
2024-12-31 16:36:53 -08:00
Clayton Craft
dcc527966d
main/boot-deploy: use busybox sh (MR 5960)
boot-deploy uses 'local', which technically isn't POSIX-compliant
and if someone has 'sh' from something else that strictly adheres to
POSIX then boot-deploy will fail.
This is a workaround for https://gitlab.postmarketos.org/postmarketOS/boot-deploy/-/issues/38

[ci:skip-build]: already built successfully in CI
2024-12-31 10:58:25 -08:00
Stephan Gerhold
755132f651
main/postmarketos-initramfs: skip mounting /boot if rootfs is in fstab (MR 5920)
There is a special check in init_2nd.sh for older postmarketOS
installations that do not have a valid /etc/fstab file. When /boot does not
appear in fstab, it searches for the boot partition and mounts it manually.

However, /boot might be intentionally omitted in fstab, e.g. because we
just have a single rootfs partition that also contains /boot. In that case
it will wait forever, trying to find the missing boot partition.

The old installations do not have any entries in fstab, so fix this by
checking if the file is empty instead (with all comments and whitespace
removed).
[ci:skip-build]: already built successfully in CI
2024-12-30 15:46:02 -08:00
Stephan Gerhold
2965a659c8
Revert "main/postmarketos-initramfs: mount subpartitions if root or boot is missing (MR 5625)" (MR 5920)
This reverts commit 1259d74b09.

The main reason why that change was necessary is because we skipped
mounting subpartitions entirely if we found a potential root partition
(which could be simply a crypto_LUKS partition from a different distro).
Now that we look only for the actual root partition (based on the UUID),
this should not happen anymore.

Checking both conditions causes delays if there is no boot partition,
e.g. if pmOS was installed with --single-partition. Usually we don't need
to mount the boot partition anymore, because all needed files are part of
the initramfs. So let's drop the check for the boot partition again and
rely on the UUIDs to ensure we set up the correct partitions.
2024-12-30 15:46:01 -08:00
Stephan Gerhold
033d5f7985
main/postmarketos-initramfs: mount root partition we unlocked (MR 5920)
When using an encrypted installation of postmarketOS, the pmos_root_uuid=
on the cmdline only tells us the UUID of the crypto_LUKS partition. Once
the partition is unlocked, we perform the the old unreliable auto detection
again. This might mount the wrong partition if multiple installations of
pmOS are attached to the system.

After we unlock the root partition, we know exactly where the root
partition is supposed to be (= at /dev/mapper/root). Let's use that
directly instead of going through the whole detection sequence again.
2024-12-30 15:46:01 -08:00
Stephan Gerhold
e5a1370ddd
main/postmarketos-initramfs: don't fallback looking for root when given UUID or path (MR 5920)
Right now we fallback to the old behavior of searching for the "pmOS_root"
label when the root partition specified by pmos_root_uuid= on the cmdline
is not found. This works fine most of the time, but there are edge cases in
which this does not behave correctly. Problems occur especially if there
are multiple installations of pmOS (e.g. one on internal storage, and one
on USB drive/SD card). Depending on timing or enumeration order, the system
might boot into the wrong rootfs if the intended root partition shows up
too late.

For the boot partition we already enforce the UUID provided on the cmdline.
Let's apply the same for the root partition to ensure we always boot into
the correct root partition.
2024-12-30 15:46:01 -08:00
Jan Jasper de Kroon
0af3cf8732
device-pine64-pinephonepro: update keyboard config paths (MR 5956)
Update paths to keyboard configuration files to reflect PinePhone's
move from main to community device category.

[ci:skip-build]: already built successfully in CI
2024-12-29 19:39:54 +01:00
Anjandev Momi
d48e3c3f8c
kconfigcheck.toml: add comment explaining CONFIG_CRYPTO_MD4 (MR 5951)
[ci:skip-build]: already built successfully in CI
2024-12-29 12:16:21 +01:00
Alexandre Messier
848ea1fc81
device-htc-m8: enable initfs_extra for downstream kernel (MR 5919)
The full initramfs is now too big for the boot partition.

When building with the downstream kernel, use initfs-extra
to split the initramfs so it can fit again.

This is not an issue with mainline kernel since booting it
uses extlinux with lk2nd.

[ci:skip-vercheck]

Signed-off-by: Alexandre Messier <alex@me.ssier.org>
[ci:skip-build]: already built successfully in CI
2024-12-28 09:40:50 +01:00
Alexandre Messier
710b9f8499
device-htc-m8: add lk2nd dependency (MR 5919)
Like most msm8974 devices, lk2nd is used to boot mainline linux on the
HTC One (M8).

Add it as a dependency of the mainline kernel build, so that it is built
when required. It can be flashed with 'pmbootstrap flasher flash_lk2nd'
while in the vendor bootloader fastboot mode.

Only extlinux mode is supported for mainline kernel, as otherwise the
initramfs is too big for the boot partition.

Signed-off-by: Alexandre Messier <alex@me.ssier.org>
2024-12-28 09:40:50 +01:00
Alexandre Messier
85c25d0c1c
main/lk2nd: add support for HTC One (M8) (MR 5919)
To support the HTC One (M8), a new specific target is required
since it needs non-default values for mkbootimg.

Signed-off-by: Alexandre Messier <alex@me.ssier.org>
2024-12-28 09:40:47 +01:00
Duje Mihanović
b18635e940
device-samsung-coreprimevelte: add touchscreen driver to initfs (MR 5952)
Add the imagis and 88pm886_regulator drivers to the initfs allowing the
software keyboard in the debug shell to work.

[ci:skip-build]: already built successfully in CI
2024-12-28 09:30:13 +01:00
Duje Mihanović
d8eb869d12
firmware-samsung-pxa1908: depend OpenRC service on downstream subpackage (MR 5952)
Otherwise the service will be installed even if the mainline kernel is
selected.

Fixes: f59eac28b ("firmware-samsung-pxa1908: move openrc scripts to subpackage (MR 5688)")
2024-12-28 09:30:12 +01:00
Duje Mihanović
00ca589beb
linux-samsung-coreprimevelte: upgrade to 6.13_rc4 (MR 5952) 2024-12-28 09:30:12 +01:00
Duje Mihanović
dfdc8d2f9e
device-samsung-coreprimevelte: use U-Boot (MR 5952)
Convert the device package to use U-Boot.

The U-Boot binary is gzipped and put into a U-Boot legacy uImage to
match what the factory bootloader's demands. The postmarketOS kernel,
initramfs and device tree are packed into a FIT and passed to U-Boot as
an initramfs.
2024-12-28 09:30:12 +01:00
Duje Mihanović
bb7a87b47b
u-boot-coreprimevelte: new aport (MR 5952)
Package U-Boot fork for samsung-coreprimevelte.
2024-12-28 09:30:12 +01:00
exkc
39830ce2f3
linux-postmarketos-marvell-dove: drop aport in favour of linux-postmarketos-marvell (MR 5938) 2024-12-28 14:02:14 +09:00
exkc
58ffcc6bd1
device-linksys-shelby: new device (MR 5938) 2024-12-28 14:02:14 +09:00
exkc
a4b2fa217a
device-solidrun-cubox: use linux-postmarketos-marvell kernel (MR 5938) 2024-12-28 14:02:04 +09:00
exkc
bb5eb76814
linux-postmarketos-marvell: new aport (MR 5938)
Basically linux-postmarketos-marvell-dove but with fellow changes :

1. Added support for other marvell SoC

2. The local version has been changed to -postmarketos-marvell

3. Several redundant USB controller driver has been removed

4. CONFIG_SATA_MV is seted to y

5. fbdev is disabled

6. CONFIG_ZRAM_BACKEND_ZSTD it enabled
(due to kconfig config but i also enabled CONFIG_ZRAM_BACKEND_LZ4 and
others)

7. neon is enabled
2024-12-28 14:02:04 +09:00
hexaheximal
501db74b86
odroid-c4: new device (MR 5949) 2024-12-27 21:58:02 +09:00
Benjamin Valentin
1eab02a18d
lk2nd-msm*: set partition type to msdos (MR 5945)
[ci:skip-build]
2024-12-26 20:29:23 -08:00
hexaheximal
f7416c06d5
odroid-n2plus: new device (MR 5950) 2024-12-26 16:20:53 -05:00
Vitalii Skorkin
6587348337
temp/iio-sensor-proxy: increase delay (MR 5941)
On miatoll hexagonrpcd takes longer time to start
2024-12-26 17:39:11 +03:00
Vitalii Skorkin
6b1f3b752c
device-xiaomi-miatoll: add dependencies for modem, sensors, wifi and gpu (MR 5941)
Add soc-qcom-sm7125, firmware-xiaomi-miatoll, hexagonrpcd as dependency.
This necessary to make Wi-Fi, Sensors, GPU and modem work.
Split device package to support panel variants and take
maintainership.
2024-12-26 17:39:07 +03:00
Vitalii Skorkin
259e574f49
soc-qcom-sm7125: add alsa ucm subpackage and drop pd-mapepr (MR 5941)
pd-mapper is now built into the kernel, so we don't need userspace pd-mapper
2024-12-26 17:39:02 +03:00
Vitalii Skorkin
cedffcc304
firmware-xiaomi-miatoll: new aport (MR 5941) 2024-12-26 17:38:59 +03:00
Vitalii Skorkin
9cd58cd988
linux-postmarketos-qcom-sm7125: upgrade to 6.12.1 (MR 5941)
Upgrade linux-postmarketos-qcom-sm7125 to 6.12.1 and take
maintainership
2024-12-26 17:38:55 +03:00
Clayton Craft
c8b58685f6
linux-valve-jupiter: fix checksum for config file
fixes !5943

[ci:skip-build]: already built successfully in CI
2024-12-24 11:59:49 -08:00
Arnav Singh
0bcce70122
device-pine64-pinephone: drop modem autorecovery udev rule (MR 5935)
eg25-manager 0.5.2 seems to be able to bring back the modem on its own again,
so this hack is no longer necessary.

[ci:skip-build]: already built successfully in CI
2024-12-24 14:35:37 +01:00
Hendra Manudinata
a667218fa6
device-samsung-j4lte: remove unneeded kernel cmdline (MR 5936)
postmarketOS does not utilize SELinux. Besides, Samsung bootloader will
ignore cmdline from the boot image, anyway.
2024-12-24 21:15:53 +09:00
Hendra Manudinata
bfdbb4a3a3
testing/device-samsung-j4lte: New device (MR 5936)
Successfully built and booted postmarketOS on Samsung Galaxy J4.
It's based on Exynos 7570, same SoC used by samsung-xcover4lte [1].

Currently, these are tested working:

  - Boots from internal storage
  - Display (console framebuffer is NOT working, kernel panics)
  - Framebuffer (additionally with msm-fb-refresher to refresh the screen)
  - Touchscreen
  - USB Networking (RNDIS)
  - Wi-Fi

Tested UI environments:

  - XFCE 4
  - Console (Kernel log doesn't show up because
    `CONFIG_FRAMEBUFFER_CONSOLE` is not enabled, but enabling it panics
    the kernel. This is a known issue for some Samsung devices, notably
samsung-crownlte [2].)

[1] https://wiki.postmarketos.org/wiki/Samsung_Galaxy_Xcover_4_(samsung-xcover4lte)

[2] https://wiki.postmarketos.org/wiki/Samsung_Galaxy_Note_9_(Exynos)_(samsung-crownlte)#Current_status
2024-12-24 21:14:59 +09:00
Anjandev Momi
d506dbcb30
kconfigcheck: enable CRYPTO_MD4 for iwd (MR 5943)
see: #3386

[ci:skip-build]
2024-12-24 13:06:32 +01:00
Oliver Smith
7c7af9e1cd
gitlab/issue_templates: add EOL for v24.06 2024-12-23 18:28:35 +01:00
Oliver Smith
671d61e642
channels.cfg: mark v24.12 as released \o/ 2024-12-23 18:17:21 +01:00
iAboothahir
da2153b244
device-asus-x00td: generate extlinux config (MR 5937)
set deviceinfo_flash_kernel_on_update=true &&
set deviceinfo_generate_extlinux_config=true

Signed-off-by: iAboothahir <aboothahirpkd@gmail.com>
2024-12-23 16:21:30 +03:00
Jakob Hauser
7bf4268dfa
main/postmarketos-ui-lxqt: save and restore brightness on boots (MR 5933)
LXQt can control the display brightness. It doesn't save and restore it
over boots, however. In distributions with systemd this is handled by
"systemd-backlight@.service". For OpenRC the package brightnessctl offers
a service saving the state of the brightness at shutdown and reboot.
2024-12-23 15:37:35 +03:00
Jakob Hauser
dbf55cdb9d
main/postmarketos-ui-lxqt: separate openrc and main post-install scripts (MR 5933) 2024-12-23 15:37:31 +03:00
Anjandev Momi
c31bc1a1be
community/linux-postmarketos-qcom-laptop: enable CRYPTO_MD4 (MR 5923)
closes #3386

Needed to fix eduroam iwd on qcom laptots. This config option used to be enabled on v24.06.
[ci:skip-build]: already built successfully in CI
2024-12-22 13:18:17 +01:00
Clayton Craft
3d1f84a2c8
device-pine64-pinephone: fix hw keys in the initramfs (MR 5931)
fixes #3384

[ci:skip-build]: already built successfully in CI
2024-12-20 16:26:10 -08:00
Adam Thiede
202d2d2154
linux-postmarketos-mediatek-mt8173: upgrade to 6.12.6 (MR 5929)
[ci:skip-build]: already built successfully in CI
2024-12-20 23:31:17 +01:00
postmarketOS CI
dc2390e848
linux-next: upgrade to next-20241220 2024-12-20 19:56:22 +00:00
Ferass El Hafidi
38f522f798
device-postmarketos-trailblazer: drop deviceinfo_getty (MR 5926)
Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
2024-12-20 17:48:56 +00:00