Commit graph

4461 commits

Author SHA1 Message Date
Clayton Craft
81dee0f57c
device-valve-jupiter: fix emmc/nvme boot, partially fix debug shell (MR 5292)
- Added some modules to fix booting from emmc/nvme (fixes #2953)

- Partially fixes debug shell (#2955): the OSK still shows partially,
  but at least now there's some usable console/shell with an external
  usb keyboard.

[ci:skip-build] already built successfully in CI
2024-07-10 14:09:56 -07:00
Clayton Craft
45cdeafe38
oem-amd: install amdgpu stuff into the initramfs (MR 5292)
One day the initramfs and -extra will be combined anyways, and this lets
us use the AMD graphics stuff earlier in boot (better splash, etc)
2024-07-10 14:09:56 -07:00
postmarketOS CI
a984ac80b6
linux-next: upgrade to next-20240710 2024-07-10 18:31:55 +00:00
adamthiede
d769cafbf0
device/linux-postmarketos-mediatek-mt8173: upgrade to 6.9.8 (MR 5320)
standard upgrade with `pmbootstrap kconfig migrate`

[ci:skip-build] already built successfully in CI
2024-07-09 12:55:28 -07:00
Sergey Lisov
29248d292c
device-samsung-a6lte: set chassis to "handset" (MR 5330)
This device is a smartphone, so "handset" is the correct option here, and not "convertible".

[ci:skip-build] already built successfully in CI
2024-07-09 12:52:42 -07:00
postmarketOS CI
b71651f421
linux-next: upgrade to next-20240709 2024-07-09 18:31:57 +00:00
Luca Weiss
f4493be839
linux-postmarketos-qcom-sm6350: enable USB Type-C related options (MR 5321)
Since the v6.9 upgrade the kernel supports Type-C functionality for
Fairphone 4, but I forgot to enable the relevant kconfig options then.

Enable them now along with a bunch of options related to USB that come
in useful. Also prepare some options that will be used in the future
with DisplayPort over USB-C (e.g. SBU mux).

[ci:skip-build]: already built successfully in CI
2024-07-08 22:25:38 +02:00
Duje Mihanović
9c134939e0
samsung-coreprimevelte: drop firmware subpackage (MR 5324)
... and install the firmware package using _pmb_recommends instead.

Applied to both downstream and mainline ports.
[ci:skip-build]: already built successfully in CI
2024-07-07 17:39:39 +02:00
Alistair Francis
f4249a0af3
linux-purism-librem5: sync kconfig (MR 5310)
With the latest kernel bump the config was updated based on the output
of:

    make ARCH="$_carch" CC="${CC:-gcc}" defconfig KBUILD_DEFCONFIG=librem5_defconfig

but there are other changes that pop up when running

    pmbootstrap kconfig edit linux-purism-librem5

This commit updates the config so that future config empty edits don't
generate any changes.

This is still pretty in sync with the Purism config, besides passing the
`kconfig check` and disablling SELinux as that causes boot failures.

Signed-off-by: Alistair Francis <alistair@alistair23.me>
[ci:skip-build]: already built successfully in CI
2024-07-07 16:33:36 +02:00
WeirdTreeThing
bcc52c36bb
linux-postmarketos-mediatek-mt81xx: upgrade to 6.10.0_rc4_git20240624 (MR 5325)
Updated to latest collabora cros kernel. Fixes audio on mt8192 devices
and fixes display issues on all devices using this kernel.

[ci:skip-build]: already built successfully in CI
2024-07-07 16:11:18 +02:00
WeirdTreeThing
19cee7b440
google-asurada: add linux-firmware-rtl_bt to firmware subpackage (MR 5326)
Fixes bluetooth not working

[ci:skip-build]: already built successfully in CI
2024-07-07 16:05:48 +02:00
neokitty
3963f4cc8a
device-xiaomi-fire: depend on firmware-xiaomi-fire (MR 5323)
[ci:skip-build]: already built successfully in CI

[ci:skip-vercheck]
2024-07-06 13:05:19 +02:00
Nikita Travkin
ae88cf9e60
linux-postmarketos-qcom-sc7180: Conform to UEFI kconfig check (MR 4900)
[ci:skip-build]: already built successfully in CI
2024-07-06 11:23:17 +02:00
Nikita Travkin
0b5614b34d
device-acer-aspire1: Switch to systemd-boot (MR 4900) 2024-07-06 11:23:16 +02:00
Nikita Travkin
488d91bbe2
linux-postmarketos-qcom-sc7180: Enable EFI_ZBOOT (MR 4900) 2024-07-06 11:23:16 +02:00
Nikita Travkin
89a4c7f08f
device-acer-aspire1: Enable DP in ucm config (MR 4900)
With the latest kernel update the EC is now enabled and DP alt mode can
be used. Enable the DP sound in UCM config.
2024-07-06 11:23:16 +02:00
Nikita Travkin
ad28501092
linux-postmarketos-qcom-sc7180: upgrade to 6.6.28 (MR 4900) 2024-07-06 11:23:16 +02:00
Luca Weiss
240365f5a7
device-fairphone-fp5: add sensor support (MR 5313)
Add the required dependencies and config for both hexagonrpcd and
libssc so that sensors start working.

[ci:skip-build]: already built successfully in CI
2024-07-05 09:53:03 +02:00
Luca Weiss
ba6d8a86ce
firmware-fairphone-fp5: package files for hexagonfs (MR 5313)
Package the files to be served by hexagonrpcd.
2024-07-05 09:53:03 +02:00
Luca Weiss
f1767d7dbd
device-fairphone-fp4: add sensor support (MR 5290)
Add the required dependencies and config for both hexagonrpcd and
libssc so that sensors start working.

[ci:skip-build]: already built successfully in CI
2024-07-05 09:48:47 +02:00
Luca Weiss
86fa840915
device-fairphone-fp4: drop nonfree firmware subpackage (MR 5290)
The device already loads plenty of nonfree-firmware into the
co-processors during the bootloader stages, and also once booted in
Linux won't really be useful without everything.

Additionally I doubt anyone tests that case, so just require nonfree
firmware unconditionally to simplify maintenance.
2024-07-05 09:48:47 +02:00
Luca Weiss
cdb5b2873e
firmware-fairphone-fp4: package files for hexagonfs (MR 5290)
Package the files to be served by hexagonrpcd.
2024-07-05 09:48:47 +02:00
Luca Weiss
8ce73a79a1
linux-postmarketos-qcom-sm6350: upgrade to v6.9.7 (MR 5290)
Notably include a fix for fastrpc required for sensors.
2024-07-05 09:48:47 +02:00
Alistair Francis
933688fb85
device-purism-librem5: Run hciattach for Bluetooth (MR 5281)
This gets Bluetooth working for the Sparklan card.

btattach doesn't work on the Librem5 at the moment (see [1]) so even
though it's deprecated let's use hciattach to get things working.

1: https://source.puri.sm/Librem5/librem5-base/-/issues/76

Signed-off-by: Alistair Francis <alistair@alistair23.me>

[ci:skip-build] already built successfully in CI
2024-07-04 16:15:19 -07:00
Arnav Singh
3c9a7bcaa5
linux-postmarketos-allwinner: upgrade to 6.9.7_git20240630 (MR 5303) 2024-07-04 13:03:15 -07:00
Duje Mihanović
3f8e4730d1
firmware-samsung-pxa1908: do not install conf files on mainline (MR 5296)
Suggested-by: Karel Balej <balejk@matfyz.cz>
2024-07-04 23:56:13 +09:00
Duje Mihanović
86c0223e69
firmware-samsung-pxa1908: only enable service if downstream (MR 5296)
I made an oversight in pmaports!5295 which caused the post-install
script to try enabling the sd8x-wlan service even if the downstream
subpackage isn't installed. This causes errors when creating a new
mainline rootfs, so fix it by moving the install variable declaration to
the subpackage function.
2024-07-04 23:38:31 +09:00
postmarketOS CI
92527d8432
linux-next: upgrade to next-20240703 2024-07-03 18:31:45 +00:00
Martijn Braam
33d35c0835
*/: Drop maintainership (MR 5302)
Tweaked-by: Oliver Smith <ollieparanoid@postmarketos.org>
2024-07-03 17:20:51 +02:00
postmarketOS CI
69c110a940
linux-next: update to next-20240702 2024-07-02 18:31:53 +00:00
Eisenbahnfan
eacaaebaa3
device-samsung-n2awifi: add display support (MR 5305)
And use postmarketos-initramfs-minimal for a smaller boot
image that fits on the boot partition.

[ci:skip-build]: already built successfully in CI
2024-07-02 09:27:42 +02:00
postmarketOS CI
17af4685ba
linux-next: update to next-20240701 2024-07-01 18:31:46 +00:00
Ferass El Hafidi
4269e40815
device-amlogic-tvbox: new aport (MR 5273)
Merge all TV box ports into one.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
[ci:skip-build]: already built successfully in CI
2024-07-01 17:19:07 +02:00
Stefan Hansson
9ada0b0d5e
linux-pine64-pinetab2: upgrade to 6.9.6 (MR 5299)
[ci:skip-build]: already built successfully in CI
2024-07-01 17:13:27 +02:00
Stefan Hansson
8a3ec1faa9
linux-pine64-pinetab2: use $pkgver in $_tags (MR 5299)
This is usually how it's done so you only need to change the pkgver in
one place.
2024-07-01 17:13:27 +02:00
Caleb Connolly
afb8bedc7f
postmarketos-trailblazer: fix onboard-usb-dev module (MR 5260)
This got renamed from usb-hub to usb-dev in 6.9

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-07-01 17:05:55 +02:00
Ts0p0sT
833f98ef01
motorola-ghost: enable armv7 (was armhf) (MR 5300) 2024-07-01 12:01:58 +02:00
Luca Weiss
a4153e809f
*/*: update Luca's email address (MR 5291)
[ci:ignore-count]
[ci:skip-build]
[ci:skip-vercheck]
2024-07-01 11:55:02 +02:00
Clayton Craft
d6f7c933bb
linux-valve-jupiter: upgrade to 6.10-rc5 (MR 5297)
Patches were rebased, sadly nothing was dropped :(

All kconfig changes are from simply running `kconfig migrate` and
accepting all defaults when prompted
[ci:skip-build]: already built successfully in CI
2024-06-29 15:42:43 -07:00
Duje Mihanović
395bbb99cc
firmware-samsung-pxa1908: split downstream wifi-enablement to subpackage (MR 5295)
Resolves this harmless, but annoying error on mainline:

 * Enabling wlan driver ...
/lib/rc/sh/openrc-run.sh: line 14: can't create /sys/devices/platform/sd8x-rfkill/pwr_ctrl: nonexistent directory
 * ERROR: sd8x-wlan failed to start
[ci:skip-build]: already built successfully in CI
2024-06-29 18:25:18 +02:00
Duje Mihanović
f49dc9b38f
device-samsung-coreprimevelte-downstream: use minimal initramfs (MR 5295) 2024-06-29 18:24:51 +02:00
Duje Mihanović
8d2fd628cc
linux-samsung-coreprimevelte: enable zstd for zram (MR 5295) 2024-06-29 18:24:51 +02:00
Duje Mihanović
ae07d1e7d6
linux-samsung-coreprimevelte: upgrade to 6.10-rc5 (MR 5295)
This also increases the (necessarily) hardcoded initrd end by 16MiB in
the DTS, which is necessary to make the phone boot with the new
initramfs (and in general any initramfs which exceeds 2624KiB).
2024-06-29 18:24:51 +02:00
Federico Amedeo Izzo
0f2f183aa1
alsa-ucm-conf-qcom-sdm670: upgrade ucm configs to the latest commit (MR 5282) 2024-06-29 18:01:48 +02:00
sn0w
68b65efb40
device-amazon-biscuit: switch to minimal initramfs (MR 5294)
[ci:skip-build]: already built successfully in CI
2024-06-29 17:52:41 +02:00
postmarketOS CI
4bb0cb738f
linux-next: update to next-20240628 2024-06-29 04:31:42 +00:00
postmarketOS CI
e22f389860
linux-next: update to next-20240627 2024-06-27 18:31:42 +00:00
postmarketOS CI
1cb18d06ec
linux-next: update to next-20240626 2024-06-27 04:31:44 +00:00
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
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
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
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
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
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
Caleb Connolly
0384c8a98d
postmarketos-trailblazer: remove PMOS_NO_OUTPUT_REDIRECT (MR 5257)
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-06-20 18:32:56 +02:00
Caleb Connolly
7a353219c0
postmarketos-trailblazer: enable more modules in initramfs (MR 5257)
These are needed for the RB2 board to boot from USB.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-06-20 16:52:25 +02:00
Caleb Connolly
876b72b6d4
postmarketos-trailblazer: sort modules (MR 5257) 2024-06-20 16:51:25 +02:00
Caleb Connolly
89be88b09a
linux-next: add missing python3 dep (MR 5253)
This is now needed to generate headers for drm/msm.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-06-20 00:23:07 +02:00
postmarketOS CI
02ae499d6a
linux-next: update to next-20240619 2024-06-19 21:01:25 +00:00
Caleb Connolly
ca9a26cb0d
testing/device-postmarketos-trailblazer (MR 4967)
trailblazer is a bleeding edge, unstable target for EFI capable ARM64
devices. It runs linux-next and should otherwise be adjusted to support
as many devices as possible.

The goal of trailblazer is to motivate more upstream kernel development by
providing a tighter feedback loop (patches land in -next weeks before they
make it into mainline or stable), as well as encouraging more generic
solutions to the device specific hacks we have in userspace.

On supported devices, trailblazer should reflect the current state of
upstream. It allows users to easily appreciate what feature are
unavailable, and more importantly appreciate when a new feature does get
added upstream.

Due to the instability of linux-next, the plan is to have BPO build
trailblazer images nightly, so if next breaks then the images should
only be broken for a day.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-06-19 22:43:36 +02:00
Caleb Connolly
18462c566a
testing/linux-next: new aport (MR 4967)
Introduce a linux-next kernel with postmarketOS configs and some
additional device specific configs enabled.

This kernel package will be updated daily to the latest -next tag.
breakages expected. It is designed to be used in tandem with a generic
ARM64 device package to provide a bleeding edge option for those with
EFI capable bootloaders.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-06-19 22:43:36 +02:00
WeirdTreeThing
2ce4f51210
device-xunlong-orangepi5-plus: new device (MR 5219)
[ci:skip-build]: already built successfully in CI
2024-06-19 22:12:17 +02:00
WeirdTreeThing
51d84dc5bc
linux-postmarketos-rockchip-rk3588: new aport (MR 5219) 2024-06-19 22:12:17 +02:00
Brian Cole
2e4ef2b276
device-google-kukui: depend on minimal initramfs (MR 5246)
[ci:skip-build]: already built successfully in CI
2024-06-19 08:47:48 -07:00
Stefan Hansson
b0d8f91a79
device-samsung-t0lte: depend on minimal initramfs (MR 5241)
This device probably has a small boot partition where the big initramfs
won't fit, so use this.

[ci:skip-build]: already built successfully in CI
2024-06-18 22:39:55 +02:00
Stefan Hansson
1f5f37a2d0
device-samsung-t03g: depend on minimal initramfs (MR 5241)
This device probably has a small boot partition where the big initramfs
won't fit, so use this.
2024-06-18 22:39:55 +02:00
Stefan Hansson
f290379828
device-samsung-p4note: depend on minimal initramfs (MR 5241)
This device has a small boot partition (8 MB). The big initramfs
won't fit.
2024-06-18 22:39:55 +02:00
Stefan Hansson
ce48786034
device-samsung-m3: depend on minimal initramfs (MR 5241)
This device probably has a small boot partition where the big initramfs
won't fit, so use this.
2024-06-18 22:39:55 +02:00