Commit graph

9037 commits

Author SHA1 Message Date
Sergey Lisov
6881d81ef8
linux-samsung-a6lte: remove CONFIG_FIVE (MR 5283)
This seems to be some Samsung's proprietary verified boot solution.
After a recent update, this started bootlooping my phone.

I have no idea why it only fired now, but pmOS does not use this
feature anyway, so it won't hurt to disable it.

[ci:skip-build] Already built fine once
2024-06-27 04:46:23 +03:00
Caleb Connolly
1b19bd7367
postmarketos-initramfs: debug-shell: buffyboard (MR 5048)
Drop the console-shell hook in favour of stuffing buffyboard into the
initramfs. This makes it possible to get a debug shell directly on the
device without needing to use a computer.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
[ci:skip-build]: already built successfully in CI
2024-06-26 17:32:33 -07:00
Caleb Connolly
abca4acbe0
postmarketos-initramfs: better wait_[br]oot_partition (MR 5048)
Rework the messages and avoid re-spawning the splash on every check.
Additionally, add a call to check_keys, this lets users drop to a debug
shell or export logs to triage this failure (particularly useful for
hard-to-reproduce issues).

Finally, add a (liberal) 30 second timeout and dump logs at the end. If
we're just waiting for a device to show up and it doesn't after 30
seconds then it's probably never going to...

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-06-26 17:32:33 -07:00
Caleb Connolly
7030e08e7b
postmarketos-initramfs: check for root subpartition (MR 5048)
In mount_subpartition we currently try to look for the boot partition,
to see if we're done (either we aren't using subpartitions or we found
the right one). However it is possible that a device might have
originally used the subpartition scheme, but was later converted to have
a real boot partition (for EFI for example).

In this scenario, the boot partition would be found immediately, but the
root subpartition would not be.

Address this by making mount_subpartition check for success by calling
find_root_partition instead of find_boot_partition. For most
installations this has no impact.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-06-26 17:32:33 -07:00
Caleb Connolly
0cd613c8b0
postmarketos-initramfs: drop duplicate in initramfs-base.files (MR 5048)
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-06-26 17:32:33 -07:00
Clayton Craft
629a143de2
main/postmarketos-base-ui-gnome: auto-start apk-polkit on systemd (MR 5284)
fixes one issue reported in
https://gitlab.com/postmarketOS/pmaports/-/issues/2899

[ci:skip-build]: already built successfully in CI
2024-06-26 16:07:56 -07:00
Robert Mader
42640780d4
temp/libcamera: backport swISP RGBA support (MR 5285)
Which can have significant performance impact on affected devices,
such as the Librem5 or the PinePhone.
The patch already landed upstream, however a new release is likely
several weeks or months away, making a backport worthwhile.

[ci:skip-build]: already built successfully in CI
2024-06-26 15:54:55 -07:00
postmarketOS CI
fbda46ebec
linux-next: update to next-20240625 2024-06-25 18:31:44 +00:00
postmarketOS CI
e55645383c
linux-next: update to next-20240624 2024-06-25 04:31:48 +00:00
Caleb Connolly
9c9e47b059
main/postmarketos-bootsplash: systemd support (MR 5181)
Install a kill-pbsplash systemd service which is configured to be
started as part of the graphical-session user target. Additionally
install an override so that if the display-manager service (aliases to
gdm, sddm, etc) fails to start it will still kill pbsplash.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Co-authored-by: Clayton Craft <clayton@craftyguy.net>
2024-06-24 16:00:27 -07:00
Caleb Connolly
1896be1222
device-postmarketos-trailblazer: add eusb phy for sm8250 (MR 5276)
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>

[ci:skip-build]: already built successfully in CI
2024-06-24 17:41:24 +02:00
methanal
28179dbb99
main/dtbtool-sprd: add dtc as a dependency as a fallback (MR 5275)
Currently, dtbtool-sprd has an argument -p which accepts the path to the
dtc binary. When it's not provided, it should use the dtc binary installed
in the system as a fallback. However, that's not the case. The following
error is reported:

Found file: test.dtb ... skip, failed to scan for 'sprd,sc-id = <' tag

...even though test.dtb has the `sprd,sc-id` property.

In order to mitigate such issues, install dtc as a dependency of the
package.
2024-06-24 15:51:29 +03:00
Federico Amedeo Izzo
969f770560
soc-qcom-sdm845: upgrade ucm configs to the latest commit (MR 5270)
[ci:skip-build]: already built successfully in CI
2024-06-24 11:08:11 +02:00
Oliver Smith
b804d43cb7
google-{x64cros,nyan-*}: depend on postmarketos-initramfs-minimal (MR 5269)
Related: issue 2914

[ci:skip-build]: already built successfully in CI
2024-06-23 15:08:54 +02:00
Ferass El Hafidi
1d69471598
linux-postmarketos-amlogic: enable CONFIG_NLS_ASCII (MR 5271)
Without it some devices will fail to mount the boot partition:

	FAT-fs (mmcblk1p1): IO charset ascii not found

Also disable CONFIG_RT_GROUP_SCHED.

Reported-by: Anton Bambura <jenneron@protonmail.com>
Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
[ci:skip-build]: already built successfully in CI
2024-06-23 15:02:12 +02:00
Gianluca Boiano
9350224c42
firmware-xiaomi-tulip: enable ath10k wifi (MR 5274)
[ci:skip-build]: already built successfully in CI
2024-06-23 14:59:37 +02:00
Oliver Smith
90786936f0
main/mobile-config-firefox: upgrade to 4.3.2 (MR 5258)
[ci:skip-build]: already built successfully in CI
2024-06-23 14:52:05 +02: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
Oliver Smith
e22a36d977
linux-postmarketos-mediatek-mt6735: V=1 workaround (MR 5240)
Until this kernel is upgraded to 6.2, we need V=1 to work around silent
make output leading to failing builds.
2024-06-23 14:45:06 +02:00
Sicelo A. Mhlongo
da712cf901
device-nokia-n900: update kernel cmdline (MR 5272)
* drop maxcpus=0, which was added with 73a033328e ("device-nokia-n900: set
    uniprocessor mode for kernel (MR 4299)") while troubleshooting. a better
    fix was eventually implemented with 3e737241ba ("linux-postmarketos-omap:
    N900: disable twl off idle features (MR 4317)")
* drop PMOS_NO_OUTPUT_REDIRECT, which was obsoleted by 7c98127746
    ("postmarketos-initramfs: switch to udev and kmod (MR 5000)")
2024-06-22 20:06:48 +02:00
Barnabás Czémán
54d61cd914
device-xiaomi-{ysl,tissot,rosy,onclite}: remove console cmdline parameter
Remove console=null cmdline parameter to suppress this warning:

WARNING: 'console=null' on kernel cmdline. This is NOT supported!
2024-06-22 17:03:59 +03:00
wire_witch
4ef274364d
amazon-biscuit: depend on mtk-mkimage (MR 5264)
Depend on mtk-mkinage to fix "pmbootstrap install".

Fixes #2908
2024-06-22 13:32:24 +03:00
adamthiede
775112cb22
linux-postmarketos-mediatek-mt8173: upgrade to 6.9.6 (MR 5263)
[ci:skip-build] Already built on CI in MR
2024-06-22 13:26:40 +03:00
Gianluca Boiano
117ffa602f
xiaomi-tulip: use soc-qcom-sdm660 and general enhancements (MR 5265) 2024-06-22 13:10:12 +03:00
postmarketOS CI
c3dd8edd1e
linux-next: update to next-20240621 2024-06-22 04:31:41 +00:00
Anton Bambura
2edbc1907e
google-spring: disable dhcp (MR 5266)
[ci:ignore-count]
[ci:skip-build]: already built successfully in CI
2024-06-22 02:55:07 +02:00
Anton Bambura
5799d11b57
google-smaug: disable dhcp (MR 5266) 2024-06-22 00:14:07 +03:00
Anton Bambura
5bdc7645b2
google-peach: disable dhcp (MR 5266) 2024-06-22 00:14:07 +03:00
Anton Bambura
d9b2f0f65f
google-nyan: disable dhcp (MR 5266) 2024-06-22 00:14:06 +03:00
Anton Bambura
f5eeaec856
google-nyan: disable dhcp (MR 5266) 2024-06-22 00:14:06 +03:00
Anton Bambura
d031124782
google-corsola: disable dhcp (MR 5266) 2024-06-22 00:14:06 +03:00
Anton Bambura
218d70bc8e
google-cherry: disable dhcp (MR 5266) 2024-06-22 00:14:05 +03:00
Anton Bambura
bc78078649
google-asurada: disable dhcp (MR 5266) 2024-06-22 00:14:05 +03:00
Anton Bambura
513af5043a
google-x64cros: disable dhcp (MR 5266) 2024-06-22 00:14:05 +03:00
Anton Bambura
5ac5eee4f3
google-veyron: disable dhcp (MR 5266) 2024-06-22 00:14:04 +03:00
Anton Bambura
177f0a772d
google-trogdor: disable dhcp (MR 5266) 2024-06-22 00:14:04 +03:00
Anton Bambura
078c961ab3
google-snow: disable dhcp (MR 5266) 2024-06-22 00:14:04 +03:00
Anton Bambura
f768d8bf92
google-peach: disable dhcp (MR 5266) 2024-06-22 00:14:03 +03:00
Anton Bambura
d148012b0c
google-oak: disable dhcp (MR 5266) 2024-06-22 00:14:03 +03:00
Anton Bambura
63507230a3
google-kukui: disable dhcp (MR 5266) 2024-06-22 00:14:03 +03:00
Anton Bambura
e7cdce2217
google-gru: disable dhcp (MR 5266) 2024-06-22 00:14:02 +03:00
knuxify
33813c1828
firmware-samsung-lt01: package stock WiFi firmware (MR 5262)
Use stock WiFi firmware instead of the generic linux-firmware-brcm
firmware. The stock firmware is newer and seems to be better suited
for the BCM4334B2 variant used in these tablets.

This fixes timeout errors from the brcmfmac driver and seems to
slightly improve download/upload speeds (by about 1MB/s).
2024-06-21 21:00:31 +03:00
Clayton Craft
c862361087
oem-intel: add i915 DMC fw to initramfs (MR 5237)
Intel >=gen9 GPUs require DMC firmware to support some runtime low power
states, it's loaded when i915 starts so let's make sure it's in the
initramfs.

Also see: https://www.kernel.org/doc/html/latest/gpu/i915.html#dmc-firmware-support

[ci:skip-build] already built successfully in CI
2024-06-21 10:08:50 -07:00
Clayton Craft
2364d0a6f8
device-generic-x86_64: support macbook keyboards in the initramfs (MR 5248)
[ci:skip-build] already built successfully in CI
2024-06-21 10:06:45 -07:00
adamthiede
e8b3544997
device-google-oak: depend on postmarketos-initramfs-minimal (MR 5259) 2024-06-20 18:12:47 -05:00
postmarketOS CI
daba855970
linux-next: update to next-20240620 2024-06-20 18:31:55 +00:00
Oliver Smith
1dfd81dfd0
cross/busybox-static-*: upgrade to 1.36.1-r31 2024-06-20 19:25:45 +02:00
Dylan Van Assche
dfd4a998c8
main/bootmac: upgrade to 0.5.0 (MR 5239)
[ci:skip-build]: already built successfully in CI
2024-06-20 10:07:07 -07:00
Clayton Craft
ba7b4d77da
main/boot-deploy: upgrade to 0.16.2 (MR 5255)
Changelog:

Fixes:
- Validate images/partition sizes before flashing (MR 64)

[ci:skip-build] already built successfully in CI
2024-06-20 09:50:48 -07:00
Caleb Connolly
7a01ded579
linux-next: enable CONFIG_NLS_ASCII (MR 5257)
for vfat boot partition

[ci:skip-build]
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-06-20 18:43:55 +02:00