Commit Graph
56 Commits
Author SHA1 Message Date
Duje Mihanović fd0fb50ca8 device: Move MSM GPU compile fix to shared patches
The downstream KGSL patch is shared by a ton of devices, make it shared.

xiaomi-aries is exempt as it has a different path for the KGSL driver.

[ci:skip-build] # No functional changes
[ci:skip-vercheck] # See above

Signed-off-by: Duje Mihanović <duje@dujemihanovic.xyz>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7073>
2025-09-23 20:16:11 +00:00
Duje Mihanović 7347015c0c device: Move ftrace static inline patch to shared patches
This patch is shared by a few devices, make it shared.

[ci:skip-build] # No functional changes
[ci:skip-vercheck] # See above

Signed-off-by: Duje Mihanović <duje@dujemihanovic.xyz>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7073>
2025-09-23 20:16:11 +00:00
Duje Mihanović 6f27d8084c lg-vee3e: Fix port
Use gcc6 and add a few shared patches to make the kernel (and
menuconfig) build again. Since it now works, move the aport back to
downstream.

The "new" initramfs does not work without an extra initfs, so enable
that. Delete a few redundant deviceinfo properties while at it.

Finally, change the red tint fix to a Kconfig option instead of a patch.

[ci:skip-vercheck] # Package moved, complains despite pkgrel bump

Signed-off-by: Duje Mihanović <duje@dujemihanovic.xyz>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7064>
2025-09-21 16:09:21 +02:00
AutumnSpark1226 142d967a54 device-samsung-kyleprods: add proprietary wifi firmware
use firmware package shared with kylepro

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7056>
2025-09-19 08:49:45 +00:00
AutumnSpark1226 1ee1c994e5 firmware-samsung-kyleproxx: rename from firmware-samsung-kylepro; device-samsung-kylepro: use renamed firmware package as direct dependency and remove firmware subpackage
Since kylepro and kyleprods are very similar devices (they also share the same kernel), the firmware package can be used for both.
The nonfree firmware subpackage is redundant, so device-samsung-kylepro directly depends on firmware-samsung-kyleproxx.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7056>
2025-09-19 08:49:45 +00:00
Pablo Correa Gómez dbd88de572 device-samsung-a40: stop depending on removed samsung-a40-headers
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7034>
2025-09-12 13:13:38 +02:00
Pablo Correa Gómez 5c1bb690bf linux-samsung-a40: do not provide linux-headers
Providing linux-headers is an unresolved issue (see
https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/152)
and this is currently breaking the build with
"pmbootstrap config build_pkgs_on_install True".
So remove them.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7034>
2025-09-12 13:06:26 +02:00
Aster Boese ef79caff27 samsung-goyawifi: /lib/{modprobe, modules-load}.d -> /usr/lib/{modprobe, modules-load}.d
The previous commit moving these to only `/lib/` was an error on my part for
misreading the manpages of kmod. Alpine *does* correctly handle modules under
`/usr/lib/`, so this is fine.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7033>
2025-09-12 00:31:37 +02:00
Aster Boese 9a2dce5125 samsung-degaswifi: /etc/modprobe.d -> /usr/lib/modprobe.d
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7033>
2025-09-12 00:12:12 +02:00
Dan 40d43a3731 samsung-a40: new device
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6916

[ci:skip-build]: already built successfully in CI
2025-09-11 22:44:00 +02:00
Matus Mastena 92105c6dd5 samsung-a53x: new device
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6987

[ci:skip-build]: already built successfully in CI
2025-09-10 17:12:48 +02:00
Dinolek d869b99210 xiaomi-begonia: add -downstream suffix and archive downstream port
Signed-off-by: Dinolek <git@dinolek.me>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6975>
2025-09-05 15:43:23 +00:00
Dinolek 22a9c72680 linux-xiaomi-begonia: fix build
Signed-off-by: Dinolek <git@dinolek.me>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6975>
2025-09-05 15:43:23 +00:00
Robert Bloy 6c2f173b20 downstream/linux-amazon-ford: kernel config framebuffer console enabled
CONFIG_FRAMEBUFFER_CONSOLE=y without this the ui fbkeyboard dont start

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6977>
2025-08-28 20:16:32 +00:00
Antoine Martin 174b5f611f linux-radxa: rebuild kernel
Fixes #3926 by rebuilding the kernel, thus rebuilding the failing binary
`scripts/basic/fixdep`.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6958>
2025-08-21 18:19:30 -04:00
Robert Bloy 721f3e6b8d downstream/linux-amazon-ford: Change Downstream Kernel to 3.10.108 and add Patch for Touchpanel
With Amazon Ford Tab 7 where was a scaling in Touchpanel Driver for ssd60xx, this lead to misfunctional touch events in fbkeyboard. This patch remove the scaling and swapping x/y-coordinates

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6942>
2025-08-19 14:35:55 -07:00
Luca Weiss 5ce8ad66ce device/downstream/*: move broken kernels plus devices to archived
All these kernels do not compile anymore, move them and the associated
device and firmware packages to archived.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6700>
2025-08-17 12:29:01 +00:00
Luca Weiss 6333082d49 linux-asus-tf101: drop
No package depends on this one, so drop it. It doesn't build either.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6700>
2025-08-17 12:29:01 +00:00
Maanush Putcha 8dc5cb9d7b device-lenovo-manning: new device
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6898
2025-08-13 13:16:20 +02:00
faveoled c65e2961c6 samsung-beyond1lte: kernel update
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6907

[ci:skip-build]: already built successfully in CI
2025-08-13 13:13:33 +02:00
r00t a217d2e40c linux-samsung-crownlte: backport statx syscall,
quite a few programs require this syscall,
severely restricting usability without it.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6877
2025-08-11 17:02:23 -04:00
Achill Gilgenast 1b6ddf3679 bq-tenshi: move to archived
Kernel doesn't build anymore

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6899
2025-08-09 12:10:16 +02:00
Henrik Grimler dbc2aea5c6 u-boot-samsung-i9100: move to archived category
The downstream port of i9100 does not use u-boot-samsung-i9100, so it
is essentially dead code. Furthermore, this u-boot is ancient, based
on 2012.04-rc1, with backported patches to get ext4 support. It is
hence not really suitable for use with postmarketos.

[ci:skip-build]: build fails.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6847
2025-08-02 10:14:23 -07:00
maddinkunze f4ec8960a3 zte-v0720: new device
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6826
2025-08-01 11:52:02 -04:00
Henrik Grimler 18590df8ff linux-samsung-gts210lte: set console=ttySAC1
ttySAC1 is the debug uart on this device.

Unfortunately something stops kernel output a certain time into boot,
so we only get output for the first few seconds.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6745
2025-07-30 16:03:50 +02:00
Henrik Grimler ac421c24eb linux-samsung-gts210lte: re-generate config and cleanup patches
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6745
2025-07-30 16:03:50 +02:00
Henrik Grimler cc6086d029 device-samsung-gts210lte: set getty to ttySAC1
ttySAC1 is the debug uart on this device.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6745
2025-07-30 16:03:50 +02:00
Henrik Grimler 02e10a2161 device-samsung-gts210lte: deviceinfo: drop un-needed variables
screen_width and screen_height are only needed for
dev_touchscreen_calibration calculation. We do not need to set
dev_touchscreen_calibration though, as we already ship a custom
90-sec_touchscreen.rules file with the same calibration.

Suggested-by: @sicelo
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6745
2025-07-30 16:03:50 +02:00
Henrik Grimler fcca70824e device-samsung-gts210lte: re-add 90-sec_touchscreen.rules
The install command was accidentally dropped in commit
dd04440b64 ("device-samsung-gts210lte: avoid overriding udev v4l
rule in /etc").

Also change so it is installed to /usr/lib/udev/rules.d/.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6745
2025-07-30 16:03:50 +02:00
Aster Boese 78b2485f3a samsung-goyawifi: install files under /usr
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6806

[ci:skip-build]: already built successfully in CI
2025-07-30 09:10:56 +02:00
Hendra Manudinata d0995c138e linux-samsung-j4lte: enable required configurations for Docker
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6716
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6716
2025-07-27 00:24:40 -04:00
Hendra Manudinata d7e410d6a3 linux-samsung-j4lte: update source and add zstd zram algorithm
- Enable zstd zram algorithm support
- Refresh kernel patches
- Switch to a new source location

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6716
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6716
2025-07-27 00:24:40 -04:00
GoldenVadim ea9a248af4 device-xiaomi-fog: change bootimg header version to 3
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6810
2025-07-24 15:44:13 +02:00
Henrik Grimler 94fd3a01db device-samsung-dream: use ncm instead of rndis in initfs network script
PostmarketOS now uses ncm instead of rndis, so update script accordingly.

Unfortunately usb networking does not work even after this change when
I test on dream2lte, so this needs further debugging.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6706
[ci:skip-build]: already built successfully in CI
2025-06-27 09:08:39 -07:00
Henrik Grimler aa65318036 device-samsung-dream: set getty, and drop kernel_cmdline
The buildvariant=eng variable does absolutely nothing for us when
using postmarketos.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6706
2025-06-27 09:08:39 -07:00
Henrik Grimler 3c9279f86e device-samsung-dream: fix too large boot.img
The boot partition is only 40 mb, but the boot.img currently ends up
at ~44 mb. Fix by setting create_initfs_extra.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6706
2025-06-27 09:08:39 -07:00
Henrik Grimler a0d79b92e1 linux-samsung-dream: ignore bundled toolchain
To fix errors like:

../toolchain/gcc-cfp/gcc-cfp-jopp-only/aarch64-linux-android-4.9/bin/aarch64-linux-android-ld: line 1: syntax error: unexpected "("
make[3]: *** [../scripts/Makefile.build:345: kernel/bpf/built-in.o] Error 2
make[2]: *** [../scripts/Makefile.build:411: kernel/bpf] Error 2

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6706
2025-06-27 09:08:39 -07:00
Henrik Grimler ee1363afa8 linux-samsung-dream: add console=ttySAC0 to cmdline
So that kernel output is printed to the debug uart.

Unfortunately the debug uart is only available on some pads underneath
the silkmask on the board.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6706
2025-06-27 09:08:39 -07:00
Henrik Grimler c0e2a66141 linux-samsung-dream: add lxdialog patch
To fix pmbootstrap kconfig edit error.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6706
2025-06-27 09:08:39 -07:00
Henrik Grimler 32afb3851a linux-samsung-dream: cleanup patches
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6706
2025-06-27 09:08:38 -07:00
Luca Weiss a09e6d3b86 device/downstream/linux-*: build fixes
A collection of assorted fixes to fix compilation of a good chunk of
downstream kernels.

[ci:skip-build] # build tested all 148 kernels locally

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6670
2025-06-23 06:14:29 +02:00
Luca Weiss 14654ab7f5 device: Move selinux compile fix to shared patches
Prepare for this patch to be used by other kernels.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6670
2025-06-23 06:09:05 +02:00
Luca Weiss 77380c215c meizu-mblu2: move to archived
The kernel sources are 404, does not build anymore.

[skip ci] # some checksums will fail with 404, can't skip individually

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6675
2025-06-22 12:44:54 +02:00
Luca Weiss baf86f255c amazon-suez: move to archived
The kernel sources are 404, does not build anymore.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6675
2025-06-22 11:56:57 +02:00
Luca Weiss a591acae24 samsung-kylessopen: move to archived
Fix up some bits, but it's too broken to easily fix for now.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6675
2025-06-22 11:56:57 +02:00
Luca Weiss c660af4532 linux-amazon-thor: change to undead sources and fix build
Change source URL and add a patch to fix the build.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6675
2025-06-22 11:56:57 +02:00
Luca Weiss bd2ae650f7 linux-amazon-mustang: change to undead sources and fix build
Change source URL and add a patch to fix the build.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6675
2025-06-22 11:56:57 +02:00
Antoine Martin caaad993e8 device-clockworkpi-uconsole-radxa-cm5: add akms submodule with drivers
* following !6604, adds akms module subpackage
* adds missing pinctrl-axp209 module, fixing screen issues

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6620
2025-06-17 23:10:37 +09:00
Antoine Martin bf363b0f8c linux-radxa: upgrade to 6.1.115, add dev() subpackage
* upgrades to 6.1.115, while introducing patches to defconfig to facilitate future upgrades
* adds dev subpackage for out-of-tree module building

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6620
2025-06-17 23:10:36 +09:00
Oliver Smith d147cfdd5e device-nextbit-robin: move to downstream
This package depends on a downstream kernel so move it to the downstream
device category.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6624
[ci:skip-build]: already built successfully in CI
2025-06-10 12:15:36 +02:00