Compare commits

..
Author SHA1 Message Date
Caleb Connolly e91c9e08bf enable EFI on sdm845 phones
Enable support for generating systemd-boot configs on SDM845 devices
while continuing to support the Android boot image.

This additionally switches over the flash method to fastboot-bootpart,
so the pmOS boot and root partitions are exported seperately. The
expectation is that users STOP using the subpartitioning scheme and
flash the two partitions separately.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-07-24 14:26:33 +02:00
Henrik Grimler 24344344a0 device-samsung-manta: set getty (MR 5362)
With getty set to ttySAC2 we can get a shell when connecting to UART
pads on main board.
2024-07-19 20:22:19 +02:00
Arnav Singh a5e28010e5 main/pinephone-callaudiod: upgrade to 0.1.3 (MR 5360)
[ci:skip-build]: already built successfully in CI
2024-07-19 15:24:17 +02:00
adamthiede caab567a98 linux-postmarketos-mediatek-mt8173: upgrade to 6.10 (MR 5354) 2024-07-19 14:46:28 +02:00
Jianhua Lu f76176dc6f device-xiaomi-elish: use quiet instead of console=null (MR 5356)
[ci:skip-build]: already built successfully in CI
2024-07-19 08:58:17 +02:00
Jianhua Lu b7aeb6e023 device-xiaomi-elish: add bootmac to depends (MR 5356) 2024-07-19 08:58:17 +02:00
Jianhua Lu 72f91452ca alsa-ucm-conf-qcom-sm8250: drop (MR 5356) 2024-07-19 08:58:17 +02:00
Jianhua Lu 4f0fae476d linux-postmarketos-qcom-sm8250: upgrade to 6.10.0 (MR 5356) 2024-07-19 08:58:17 +02:00
postmarketOS CI 645774c8ca linux-next: upgrade to next-20240719 2024-07-19 04:31:46 +00:00
postmarketOS CI 877e59f95e linux-next: upgrade to next-20240718 2024-07-18 18:31:45 +00:00
Clayton Craft 501777e6e0 linux-valve-jupiter: upgrade to 6.10 (MR 5318)
- Enable XFS (requested by @ell1e)
- Disable CONFIG_RT_GROUP_SCHED (kconfigcheck-community requirement)

[ci:skip-build] already built successfully in CI
2024-07-18 09:30:23 -07:00
Anri Dellalandjane400 985741dd65 main/postmarketos-base-ui: rebuild to exclude font-twemoji from CLI (MR 5352)
Add postmarketos-base-ui-wayland
Move _pmb_recommends to x11 and wayland subpackages

[ci:skip-build] Was built before

Co-authored-by: jane400 <5940129-jane400@users.noreply.gitlab.com>
2024-07-17 11:44:31 -07:00
postmarketOS CI 34af7ca182 linux-next: upgrade to next-20240717 2024-07-17 18:31:45 +00:00
Arnav Singh dcff247a40 device-pine64-pinephone: switch to pinephone-callaudiod (MR 5349)
This new daemon implements the same D-Bus API as callaudiod
in aports community/callaudiod, but works with the new audio profiles
generated by PulseAudio v17 and PipeWire v1.2 for pine64-pinephone
that the aports package's daemon does not.

Installs that use pipewire-pulse for audio (eg SXMO) will automatically start
having working call audio with this update. Installs that use pulseaudio
have to wait for pulseaudio's crash on startup to be fixed first
( https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/68586 ).

Ref: #2968

[ci:skip-build] already built successfully in CI
2024-07-16 15:54:50 -07:00
Arnav Singh 030c5c1ec1 main/pinephone-callaudiod: new aport (MR 5349)
This provides a daemon that implements the same D-Bus API as callaudiod
in aports community/callaudiod, but works with the new audio profiles
generated by PulseAudio v17 and PipeWire v1.2 for pine64-pinephone
that the aports package's daemon does not.

This daemon is specific to the pine64-pinephone since it has
a hard-coded list of profiles and ALSA devices. If other devices also happen
to have UCM settings that trigger PulseAudio / PipeWire to generate
the combinatorial audio profiles that callaudiod cannot handle, and if
a callaudiod fix / alternative does not appear, then the maintainer (me) is
open to making this daemon more broadly useful for other devices, say by
having the hard-coded strings in device-specific config files.

Ref: #2968
2024-07-16 15:54:49 -07:00
postmarketOS CI ca0a4537f0 linux-next: upgrade to next-20240716 2024-07-16 18:31:46 +00:00
Raymond Hackley 5e8344dbfa samsung-rossa: drop subpackage phosh (MR 5348)
It's already well scaled in 1.25x on rossa devices.
Drop unnecessary phoc.ini

[ci:skip-build]: Already built successfully in CI.
2024-07-16 17:05:07 +02:00
postmarketOS CI 4a88990b1e linux-next: upgrade to next-20240715 2024-07-15 18:31:49 +00:00
Anton Bambura a988d089f8 linux-postmarketos-rockchip: upgrade to 6.6.34 (MR 5243)
Also a little clean up

[ci:skip-build]: already built successfully in CI
2024-07-14 20:32:37 +02:00
Gus Antoniassi b448fc61eb linux-postmarketos-qcom-msm8953: enable multiport and mark netfilter modules (MR 5345)
[ci:skip-build] Already build tested
2024-07-12 21:48:25 +03:00
postmarketOS CI 1282ad59b2 linux-next: upgrade to next-20240712 2024-07-12 18:31:47 +00:00
Richard Acayan 436876625d device-google-sargo: add sensors support (MR 5329) 2024-07-12 13:05:18 +03:00
Richard Acayan 9501e9daa1 firmware-google-sargo: add sensor registry (MR 5329) 2024-07-12 13:05:14 +03:00
Clayton Craft e30db78d84 main/postmarketos-ui-phosh: don't depend on phosh-service (MR 5342)
The package name is wrong now (!5315), and the service stuff is
automatically installed by systemd-service

[ci:skip-build]: already built successfully in CI
2024-07-12 10:21:31 +02:00
Caleb Connolly c4c6a222c4 CI: use more gitlab.com runners (MR 5236)
We have access to the fancy runners since GitLab.com donate premium to
us. There's no downside to making the most of them while we can. We
don't depend on them, but they'll make our CI go zoom!

For the next few months until we migrate to self-hosted :D

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-07-11 23:05:55 -07:00
Clayton Craft cbe2f4f7f6 main/postmarketos-mkinitfs: upgrade to 2.5.1 (MR 5341)
Fixes:

        - ignore leading/trailing whitespace in files (MR 55)
        - fix spelling typo in manpage
        - add missing /usr/sbin symlinks for UsrMerge (MR 53)
[ci:skip-build]: already built successfully in CI
2024-07-11 15:00:04 -07:00
Stefan Hansson f5dd18d657 pine64-pinetab2: add co-maintainership (MR 5336)
I use the PineTab 2 for various tasks on a semi-regular basis, so I
would like to co-maintain it.

---

[ci:skip-vercheck]:
Since this doesn't affect the resulting package as Co-Maintainer is a
postmarketOS schema extension that abuild doesn't read, there is no need
to bump pkgrel for this.
[ci:skip-build]: already built successfully in CI
2024-07-11 21:16:16 +02:00
postmarketOS CI 88cd14232b linux-next: upgrade to next-20240711 2024-07-11 18:31:13 +00:00
Danct12 9624284a20 linux-pine64-pinetab2: upgrade to 6.9.8-danctnix2 (MR 5333)
[ci:skip-build]: already built successfully in CI
2024-07-11 16:05:56 +02:00
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
jane400 aed9243c65 main/postmarketos-initramfs-minimal: backport fsck and mount sysroot rw (MR 5238) 2024-07-09 15:49:31 -07:00
jane400 59fd336bbc main/postmarketos-initramfs: run fsck and mount sysroot as rw (MR 5238)
This moves the responsibility to auto-repair filesystems to the
initramfs. (I think we don't do this at all right now).
We don't try to mount broken partitions at all, we tell the user
that the system is broken and fail_to_boot.

The flow is now:

1. mount the boot partition (read-only) for initramfs-extra
2. initramfs-extra is extracted (with the needed fsck executables)
3. fsck the root partition
4. mount root partition (read-write)
5. fsck the boot partition
6. mount the boot partition (read-write)

This helps with the systemd bringup, as we want to make use of
systemd-firstboot, which sets /etc and enabled services up. As
this service is responsible of setting up /etc, it is run before
/etc/fstab is read and before / is remounted read-write.
2024-07-09 15:49:26 -07: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
Dylan Van Assche 372ccb3cf2 temp/iio-sensor-proxy: upgrade SSC patches (MR 5215)
Include latest fixes for SSC support and require building against libssc 0.1.6 or higher.

[ci:skip-build]: already built successfully in CI
2024-07-07 16:20:02 +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
Oliver Smith c8e2ad0b95 ci/kconfig.sh: use pmbootstrap v3 (MR 5301)
Use pmbootstrap v3 for kconfig check, which reads kconfigcheck.toml from
the current pmaports branch and uses it.
2024-07-07 15:38:18 +02:00
Oliver Smith 7829e6c985 kconfigcheck: new file (MR 5301)
Move the kernel config options from the pmbootstrap code to pmaports, so
it can be changed per branch, and it can be changed at the same time as
we actually make the changes to the kernel configs.
2024-07-07 15:38:18 +02:00
Oliver Smith e0453db08f CI: kconfig check: just run pmbootstrap (MR 5301)
Replace previous code that used internal pmbootstrap code with running
pmbootstrap directly. pmbootstrap doesn't really have a stable API yet,
so calling the internal code is always a bit fragile and now that we
have reworked a lot of its code, this is all broken.

The trade-off is that it is now slower and the output isn't as pretty,
but we can finally use kconfigcheck.toml from the pmaports branch. So it
is worth it!
2024-07-07 15:38:14 +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
Stefan Hansson 8cc5cc801d CI: adapt autoupdate.sh to follow our commit style (MR 5314)
Our commit style (specified in COMMITSTYLE.md) states that "upgrade to"
should be used when increasing the version of a package.
2024-07-03 18:32:45 +02:00
Martijn Braam 33d35c0835 */: Drop maintainership (MR 5302)
Tweaked-by: Oliver Smith <ollieparanoid@postmarketos.org>
2024-07-03 17:20:51 +02:00
fossdd 53455c41ac main/postmarketos-ui-i3wm: take over maintainership (MR 5309) 2024-07-03 17:03:24 +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
Clayton Craft fe20c109fc main/postmarketos-bootsplash: fix kill-pbsplash systemd service (MR 5286)
This wasn't actually getting run on boot because After=graphical.target
created an ordering issue and systemd was disabling it.

I saw this ordering issue in the journal after finding that pbsplash was
still running in the background after the UI loaded, and confirmed it by
running systemd-analyze.
2024-06-27 19:17:38 +02:00
Richard Acayan f3b649c3c0 main/postmarketos-initramfs: invalidate cached rootfs after unlock (MR 5288)
The referenced commit had surfaced a bug with the unlocking code, which
would attempt to change the output of find_root_partition while the
cached PMOS_ROOT is stale and active. Clear this variable to force
find_root_partition to find the new rootfs value.

Fixes: 7030e08e7b ("postmarketos-initramfs: check for root subpartition (MR 5048)")
[ci:skip-build]: already built successfully in CI
2024-06-27 10:49:33 -04: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
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 ConnollyandClayton Craft 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
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
Clayton Craft eb3c299a61 main/postmarketos-initramfs-minimal: update to 2.7.1 (MR 5251)
This updates the minimal initramfs to be at the same version that
postmarketos-initramfs was when it was split off. This should have been
done as a part of !5000.

The changelog from git:

- main/postmarketos-initramfs: fix stowaway (MR 5206)
- main/msm-fb-refresher: move cleanup from initramfs into msm-fb-refresher (MR 5191)
- main/postmarketos-mkinitfs-hook-debug-shell: Cleanup debug-shell telnet server (MR 5191)
- main/postmarketos-initramfs: Allow packages to define cleanup hooks (MR 5191)
- main/postmarketos-initramfs: update comment on why we mount /boot (MR 5089)
- main/postmarketos-initramfs: add options for charset to mount vfat /boot (MR 5089)
- main/postmarketos-initramfs: add some sane mount options to /boot (MR 5089)
- main/postmarketos-initramfs: stowaway rootfs (MR 4386)
- main/postmarketos-initramfs: add crc32_generic module for F2FS (MR 4973)
- main/postmarketos-initramfs: add USB booting support (MR 4947)
- main/postmarketos-initramfs: fix starting unudhcpd when no UDC configured (MR 4907)
- postmarketos-initramfs: bigger log image size (MR 4880)
- main/postmarketos-initramfs: allow redirect logs to pmsg device (MR 4800)
2024-06-20 00:00:27 +02:00
postmarketOS CI 02ae499d6a linux-next: update to next-20240619 2024-06-19 21:01:25 +00:00
Caleb Connolly d934985209 CI: implement scheduled auto-update pipeline (MR 4967)
Introduce support for having CI automatically update packages using
project access tokens and scheduled pipelines.

The pipeline schedule is configured with an additional variable
containing a list of packages to update, the autoupdate-fetch.sh script
then calls a handler for each of these, the handler is expected to check
for an update, make the necessary APKBUILD changes and commit them.

After all packages have been updated, the changes are pushed to pmaports
master using a project access token.

[ci:skip-build] takes too long to build in CI
2024-06-19 22:45:20 +02: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
jane400 48250d4ad2 main/postmarketos-initramfs*: prohibit installing multiple -initramfs packages (MR 5249)
Thanks to a good hint of Craftyguy, we just have too use versioned
provides.

Closes #2903
[ci:skip-build]: already built successfully in CI
2024-06-19 10:35:30 -07: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
Clayton Craft a2d30ae115 main/boot-deploy: upgrade to 0.16.1 (MR 5244)
Fixes:
        - flash_android_bootimg: check validate target partition size before flashing (MR 63)
        - copy target dtb to a temp directory for qcom and sprd dt.img types (MR 57)

Other:
        - ci: add integration test for exynos qcdt (MR 57)
        - ci: switch to unpackbooting from osm0sis (MR 57)

[ci:skip-build] already built successfully in CI
2024-06-18 15:29:38 -07:00
Clayton Craft 5fffa17b06 main/postmarketos-initramfs: explicitly depend on libinput-libs (MR 5242)
pma!5000 added a new implicit dependency on libinput, because it
specified libinput files in the initramfs file hook. mkinitfs considers
it fatal if it cannot find files listed in a file hook.

Later this could be 'optimized' by adding a -libinput subpkg and an
`install_if=libinput-libs` to add this file hook so it's not installed
everywhere... but the size increase isn't too much for UIs.. someone can
do this later.

> libinput-libs-1.26.0-r0 installed size:
> 476 KiB

This fixes a missing dependency problem where a UI (e.g. "none") doesn't
normally depend on libinput, and mkinitfs would fail because these files
were missing.
2024-06-18 14:23:29 -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
Stefan Hansson 8ccbb8a864 device-samsung-lt01: 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 ed5b11da90 device-samsung-i9100: 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 68af03bdf5 device-samsung-m0: 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:53 +02:00
Stefan Hansson 8cae59f47c device-samsung-m0-downstream: 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:47 +02:00
Stefan Hansson a1c6fec44b device-samsung-lt01wifi-downstream: depend on minimal initramfs (MR 5241)
This device probably has a small boot partition where the big initramfs
won't fit, so use this. And also reformat depends.
2024-06-18 22:11:30 +02:00
Caleb Connolly 7c98127746 postmarketos-initramfs: switch to udev and kmod (MR 5000)
mdev is slow and missing features, it also requires that we load all the
modules that we include at once making the boot process slower.

udev is required for unl0kr (and buffyboard), it can also load modules
on demand (and asynchronously). Making the boot process considerably
faster on devices, especially for generic images where we have lots of
drivers for different display panels in the initramfs.

Additionally, import full fat modprobe from the kmod package, this is
required to support compressed modules.

This brings us more in line with other distros and generally improves
compatibility.

If devices use broken kernel modules which don't correctly define
modalias', these drivers may not be loaded by udev. This should be fixed
by defining the missing modalias statements in the driver.

This also runs udev earlier in the init, so that display drivers are
loaded before the splash in case they are needed.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Co-authored-by: Clayton Craft <clayton@craftyguy.net>

[ci:ignore-count]
[ci:skip-build]: already built successfully in CI
2024-06-18 12:35:05 -07:00
Clayton Craft 54ef5cdf15 device-*: depend on initramfs-minimal for devices with small boot (MR 5000)
[ci:ignore-count]
2024-06-18 12:35:05 -07:00
Caleb Connolly dd28314ba2 postmarketos-initramfs: debug-shell 3.0 (MR 5000)
This incorprates the debug-shell functionality directly into the
initramfs, so it's no longer necessary to build and boot a custom
initramfs in order to debug your device.

Additionally, the behaviour of the debug-shell is entirely reworked, It
now creates an ACM serial gadget which can be accessed via any normal
terminal emulator (picocom, minicom, etc; or PuTTY on windows). Rather
than just invoking sh, the debug-shell now creates a respawning getty on
both the new virtual console and the active console (this will either be
the UART console or tty0/1).

It is necessary to spawn these shells via getty since the logging rework
means we can no longer assume that stdin/out/err reference a TTY.

In addition to the above, it is now possible to trigger a log dump by
holding volume up during boot. This can be useful for helping users
debug their devices if the issue doesn't result in a failure that can be
detected in the initramfs.

With these changes, the console-shell and debug-shell hook packages are
reduced to only adding the additional tools/features. console-shell is
still required for fbkeyboard, and debug-shell for the setup_usb_storage
tool.

Co-Developed-by: Clayton Craft <craftyguy@postmarketos.org>
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-06-18 12:35:05 -07:00
Caleb Connolly f66238f045 postmarketos-initramfs: handle empty hooks dir (MR 5000)
For some reason globbing doesn't work properly for empty directories,
adjust the check in run_hooks to ensure the directory both exists and
contains something, otherwise we get an error about
"/hooks-cleanup/*.sh" not existing.

/ # mkdir blah
/ # for x in blah/*; do echo $x; done
blah/*
/ # touch blah/beep
/ # for x in blah/*; do echo $x; done
blah/beep

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-06-18 12:35:05 -07:00
Caleb Connolly 5a27482c20 postmarketos-initramfs: depend on mdevd (MR 5000)
I somehow hit a case where this wasn't installed and
/lib/mdev/persistent-storage wasn't available. Let's just explicitly
depend on mdevd...

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-06-18 12:35:05 -07:00
Caleb Connolly 51cde04a4b main/iskey: new aport (MR 5000)
iskey is a tiny tool that reports if any of the given keys are pressed.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-06-18 12:35:05 -07:00
Caleb Connolly 118a30935e postmarketos-initramfs: mount subpartitions after hooks (MR 5000)
This step is the most likely to go wrong or have issues, and it has side
effects which can make it difficult to run multiple times on one boot.
Move it to after hooks so that e.g. when dropping to a debug shell, we
land before the first call.

This also makes booting to hooks a faster in many cases.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-06-18 12:35:05 -07:00
Caleb Connolly 5dcb7aab62 postmarketos-initramfs: use dd to allocate logs image (MR 5000)
fallocate seems to cause some strange behaviour where the logs.img file
is treated like it's empty. Given it's small and in a ramdisk let's just
create it with dd instead.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-06-18 12:35:04 -07:00
Caleb Connolly 709768214c postmarketos-initramfs: check if UDC is configured before clearing (MR 5000)
This fixes the annoying "sh: write error" and "Couldn't write to clear
UDC" messages that happen on every single boot.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-06-18 12:35:04 -07:00
Caleb Connolly 75613d9f69 postmarketos-initramfs: make CONFIGFS global (MR 5000)
This variable is being used in more places, just make it global.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-06-18 12:35:04 -07:00
Caleb Connolly 95b22138c4 postmarketos-initramfs: log to kernel ringbuffer (MR 5000)
Rework logging to always log the initramfs output to the kernel
ringbuffer and deprecate PMOS_NO_OUTPUT_REDIRECT in favour of following
the kernel loglevel.

I know it seems silly to use syslogd for this, but it's necessary to
buffer writes to /dev/kmsg per-line if we want to correctly set the log
level, and "tee" does not do this (it will write multiple lines at once,
resulting in "<14>" prints in the ringbuffer). The main advantage to
this is that we won't have kernel logs cut in half by initramfs logs
anymore, everything will be nicely line buffered!

The previous logging solution of multiple "tail" commands would actually
fail to log up to the last few lines before a crash due to how tail
works (it polls the file and buffers lines).

I attempted something like this before, but I stopped after running into
ratelimiting issues. These are now resolved by configuring the
printk_devkmsg sysctl.

Dropping PMOS_NO_OUTPUT_REDIRECT:

The general motivations behind PMOS_NO_OUTPUT_REDIRECT was to avoid
cluttering up the console with initramfs logs when they aren't wanted;
this is now handled instead by the kernels logging facility. We log to
the ringbuffer at LOGLEVEL_INFO, so if "quiet" is specified on the
cmdline (or the loglevel is otherwise set above info) then initramfs
logs will also not be shown.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-06-18 12:35:04 -07:00
Caleb Connolly 6c799ac4f6 postmarketos-initramfs: fork -minimal variant (MR 5000)
We plan to make a lot of changes to the initramfs which will require
incresaing the size. There are some devices that have literally no free
space for this, so make a -minimal initramfs fork that can continue to
support those while we update the regular initramfs.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-06-18 12:34:59 -07:00
Eisenbahnfan e2bf43b9e1 samsung-n2awifi: new device (MR 5233)
[ci:skip-build]: already built successfully in CI
2024-06-17 15:37:54 -07:00
Clayton Craft cc4c164c58 device-purism-librem5: remove craftyguy as maintainer (MR 5223)
I'm not able to give this device the attention it deserves.

This also removes me from maintaining fw and kernel packages used by the
L5, and adds the current L5 maintainers to those packages.

[ci:skip-vercheck]
[ci:skip-build]: already built successfully in CI
2024-06-17 14:20:57 -07:00
Pablo Correa Gómez 8a7042faf6 main/postmarketos-base-ui-gnome: replace evince with papers (MR 5234)
papers is now in community in alpine, and is the GTK4
replacement. Current main version (still not available in alpine),
fits phone screens, but makes sense to change it already now.

Relates #1479

[ci:skip-vercheck] changes are in pmb_recommends
[ci:skip-build]: already built successfully in CI
2024-06-17 17:54:18 +02:00
kubntd d6fa4df277 device-xiaomi-clover: add dependencies for modem, Wi-Fi and GPU (MR 5230)
Depend on msm-firmware-loader, firmware- and soc- packages.
Sort deps alphabetically.

Tidy up deviceinfo:
* add flash_kernel_on_update
* remove unneded things from kernel cmdline
[ci:skip-build]: already built successfully in CI
2024-06-17 09:51:49 +02:00
kubntd d94c7d1721 firmware-xiaomi-clover: add initial firmware package (MR 5230) 2024-06-17 09:51:49 +02:00
Oliver Smith 0b6530a250 gitlab/issue_template: add EOL date to v23.12 2024-06-16 20:40:46 +02:00
Oliver Smith 33107c541d channels.cfg: update for v24.06 release 2024-06-16 19:50:32 +02:00
Andreas Kemnade f3cee8a36e epson-embt2ws: new device (MR 5210)
Currently it requries the check_code result check in the
vendor uboot to be disabled as explained in the wiki.

Booting directly via reconfigured boot order still
does not work. It hangs somewhere in the kernel.

Firmware for Wifi/BT is not included yet.

It could use the linux-postmarketos-omap kernel in the future,
but there are still some dirty things in there e.g. for sound
which are not suitable for a multi-device kernel.
[ci:skip-build]: already built successfully in CI
2024-06-14 15:11:06 +02:00
Alistair Francis 863760c6ba linux-purism-librem5: upgrade to 6.6.32 (MR 5231)
Bump to the 6.6.32 release, including updating the config with the
latest changes from Purism.

Signed-off-by: Alistair Francis <alistair@alistair23.me>
[ci:skip-build]: already built successfully in CI
2024-06-14 07:44:05 +02:00
Anton Bambura 432cc88ff9 google-x64cros: add firmware for ASUS Chromebox 3 NC356U (MR 5229)
Fixes WiFi on this device.

[ci:skip-vercheck]: the changes are only for _pmb_recommends
2024-06-13 15:52:09 +02:00
Danct12 c0ad00a6ae pine64-pinetab2: new device (MR 4208)
PineTab 2 is a successor to the original PineTab from PINE64 released
in mid-2023.

The tablet came with DanctNIX's fork of Arch Linux ARM, comes with
K Desktop Environment as the UI and available with 64GB eMMC/4GB RAM
or 128GB eMMC/8GB RAM.
2024-06-12 16:52:05 +00:00
Danct12 8721705c4b firmware-bestechnic-bes2600: new aport (MR 4208)
Bestechnic BES2600 is a WLAN/BT combo chip.
2024-06-12 16:52:05 +00:00
Alexey Minnekhanov 305b5a7783 linux-postmarketos-qcom-sdm660: upgrade to 6.9.3 (MR 4897)
Changelog since 6.7:

General:

* Adreno 5xx preemtion is now disabled due to hangs it causes.
  This makes GPU a lot more cooperative on these platforms.
* Fixed absence of zap-shader region which caused devices with
  GPU enabled to freeze the whole system.
* Fixed ath10k Wi-Fi not connecting to 5Ghz networks.
* Incorporated in-kernel pd-mapper patchset, therefore userspace
  pd-mapper daemon is not required.
* Kernel cmdline from bootloader is no longer ignored completely,
  in other words, not hardcoded. You can now modify cmdline in
  deviceinfo file and changes in that file will not be ignored.

Devices:

* Xiaomi Redmi Note 7 (lavender):
  * split device trees into 2 variants by panel type (Tianma & BOE)
  * GPU + panel support for 2 variants
  * Vibrator support
  * Connectivity: modem, Wi-Fi and bluetooth support.

* Other/all devices:
  * update device trees according to upstream USB stack changes
    (related to USB 3 phy support)
2024-06-12 15:45:04 +00:00
Alexey Minnekhanov c97eafc5b8 soc-qcom-sdm660: install Adreno GPU quirks script (MR 4897)
Install script into /etc/profile.d with workaround for mesa bugs.
This makes most SDM660 devices usable for general people out of the box.

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
2024-06-12 15:45:04 +00:00
Barnabás Czémán 22a9cdf7b2 device-xiaomi-lavender: add necessary depedencies for modem, wifi and gpu (MR 4897)
Add msm-firmware-loader, soc-qcom-sdm660-rproc, firmware-xiaomi-lavender
and firmware-qcom-adreno-a530 as dependency. This is necessary to make
Wi-Fi and modem work.
Add support for panel drivers.
2024-06-12 15:45:04 +00:00
Barnabás Czémán 3cd4659a53 firmware-xiaomi-lavender: new aport (MR 4897)
Initial firmware package with firmware for wifi and zap firmware for gpu.
2024-06-12 15:45:04 +00:00
Barnabás Czémán 43133df4ac soc-qcom-sdm660: add rmtfs and qcom-diag to rproc package (MR 4897)
Add rmtfs and qcom-diag and bootmac to rproc package
to make wifi, modem and bluetooth work.
Add swclock-offset as a dependency.
2024-06-12 15:45:04 +00:00
Sicelo A. Mhlongo 5e03ad2817 device-nokia-n900: fix sxmo lock state (MR 5228)
commit 933f2b5703 ("device-nokia-n900: improve sxmo-dwm support [MR 5227]")
accidentally removed sxmo lock state initialization. Restore the lock state
initialization
2024-06-12 16:07:42 +02:00
Stefan Hansson 05925f194a samsung-skomer: remove phoc scale config (MR 5221)
Phoc now defaults to 1,25 as scale on skomer, which while not perfect,
is good enough and lets the device be unlocked. As such, let's remove
this configuration file and encourage improvements upstream instead.

See https://gitlab.com/postmarketOS/pmaports/-/merge_requests/4541
2024-06-12 21:39:41 +09:00
Sicelo A. Mhlongo f888ffee55 device-nokia-n900: fix packaging for upower (MR 5227)
170189393b (device-nokia-n900: add upower support and config (MR 4397) added
an upower config, but did not provide a subpackage to actually install it on
device. Add the needed subpackage.

[ci:skip-build]: already built successfully in CI
2024-06-12 10:30:30 +02:00
Sicelo A. Mhlongo 933f2b5703 device-nokia-n900: improve sxmo-dwm support (MR 5227)
(1) the deviceprofile differs from upstream 1.16.3 in the following respects:

  (a) -export SXMO_NO_KEYBOARD=1 - allow use of the virtual keyboard

  (b) +export SXMO_DMENU_LANDSCAPE_LINES="10"
      +export SXMO_DMENU_PORTRAIT_LINES="6" - these two adjust the size of the
         displayed dmenu menu.

    * NB: All foregoing changes are already merged in sxmo-utils master.

  (c) +export SXMO_TOUCHSCREEN_ID="TSC2005 touchscreen" - allows sxmo to
         reliably toggle touch screen's enabled status

    * The foregoing change is awaiting acceptance by upstream.

(2) The start hook differs from upstream 1.16.3 by the removal of the line that
      starts conky. That program pegs N900 CPU usage at 100% all the time. This
      change is not upstreamable, at least not for the time being
2024-06-12 10:25:59 +02:00
Clayton Craft c2f7be3cec main/postmarketos-base-ui: drop pulseaudio wireplumber config (MR 5225)
This was upstreamed to Alpine aports, see aports@cc2f22db473
2024-06-12 10:40:57 +03:00
Pablo Correa Gómez d375a5d75d main/postmarketos-base-ui: add pipewire-spa-bluez to pipewire-audio (MR 5163)
And configure any modem to be able to use it, so that we can keep
controlling things like bluetooth headsets, and take phone calls from a
car.

[ci:skip-build]: already built successfully in CI
2024-06-11 11:20:10 +02:00
Pablo Correa Gómez be9ac83d73 temp/pulseaudio: drop (MR 5163)
Upstream MR has been closed by Dylan 2 months ago, and this feature is
already present in pipewire. We are doing considerably amount of work to
get Pipewire production-ready in postmarketOS, including features to let
users choose. Given HFP support is actually a nice-to-have feature, but
not a great requirement, our fork is outdated (aports is on 17.0), and that
the upstream MR has been dropped and is not being worked on, it might be
time to drop this.
2024-06-11 11:20:10 +02:00
Clayton Craft 263d00790e firmware-brcm43752: install symlinks to fix driver loading (MR 5224)
At some point the driver started using symlinks w/ machine IDs for
finding/loading fw, and for some reason I thought it was a good idea to
not install those symlinks.

Fixes this failure when loading the brcmfmac driver:
brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43752-sdio.purism,librem5r4.bin failed with error -2

[ci:skip-build]: already built successfully in CI
2024-06-10 21:27:51 +02:00
Mighty 65679fec40 linux-postmarketos-omap: upgrade to 6.9.3 (MR 5216)
* Use upstreamed power controller for espresso
  Related issue: https://gitlab.com/postmarketOS/pmaports/-/issues/2825

* Include patch for iio-rescale logic
  Related: https://lore.kernel.org/all/20220524075448.140238-1-linus.walleij@linaro.org/

* Enable CONFIG_NLS_ASCII
  Related: https://gitlab.com/postmarketOS/pmaports/-/issues/2874

* espresso-common: Remove twl6030 import and use upstreamed clk32kg for wlan

[ci:skip-build]: already built successfully in CI
Tweaked-By: Oliver Smith <ollieparanoid@postmarketos.org>
2024-06-10 19:56:01 +02:00
Oliver Smith 074eb3b0a5 temp/gnome-shell-mobile: upgrade to 45_git20240610 (MR 5220)
Add the patch "keyboard: Add a double click gesture on the bottom bar
to trigger the OSK".

[ci:skip-build]: already built successfully in CI
2024-06-10 08:14:15 +02:00
Alexandre Marquet ef8e2d0e02 device-samsung-manta: load ds2482 module at boot (MR 5205)
With the current kernel, ds2482 w1<>i2c module is not automatically
loaded at boot, which prevents loading the ds2784 battery module.

Signed-off-by: Alexandre Marquet <tb@a-marquet.fr>
[ci:skip-build]: already built successfully in CI
2024-06-09 16:20:07 +02:00
Caleb Connolly 647f2bc640 linux-postmarketos-qcom-sdm845: upgrade to 6.9.0-r2 (MR 5212)
This fixes op6 display panel support, drm error spam in dmesg, and
various other minor things.

It also enabled dynamic debugging and ftrace.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-06-08 18:57:39 +02:00
Anton Bambura 492f3c0e64 CI: test installing of postmarketos-installkernel (MR 4681)
[ci:skip-build]: too many kernels to build in CI, all built locally
2024-06-07 11:11:58 +02:00
Pablo Correa Gómez b541410f51 linux-postmarketos-qcom-sm8250: depend on postmarketos-installkernel (MR 4681) 2024-06-06 23:30:19 +02:00
Pablo Correa Gómez 1335a73415 linux-postmarketos-qcom-sm7125: depend on postmarketos-installkernel (MR 4681) 2024-06-06 23:30:19 +02:00
Pablo Correa Gómez ab75cf71f7 linux-postmarketos-qcom-apq8064: depend on postmarketos-installkernel (MR 4681) 2024-06-06 23:30:19 +02:00
Pablo Correa Gómez bf2f268fac linux-postmarketos-exynos7870: depend on postmarketos-installkernel (MR 4681) 2024-06-06 23:30:19 +02:00
Pablo Correa Gómez 5a6a85f9a1 linux-google-smaug: depend on postmarketos-installkernel (MR 4681) 2024-06-06 23:30:19 +02:00
Pablo Correa Gómez c85d6e2820 linux-google-nyan: depend on postmarketos-installkernel (MR 4681) 2024-06-06 23:30:19 +02:00
Pablo Correa Gómez 9dd4479136 linux-postmarketos-qcom-sc7180: depend on postmarketos-installkernel (MR 4681) 2024-06-06 23:30:19 +02:00
Pablo Correa Gómez ddfa8a9124 linux-postmarketos-mediatek-mt8173: depend on postmarketos-installkernel (MR 4681) 2024-06-06 23:30:18 +02:00
Anton Bambura c03571ace8 linux-postmarketos-qcom-sm7150: depend on postmarketos-installkernel (MR 4681) 2024-06-06 23:30:18 +02:00
Raymond Hackley 449f5aef15 qcom-msm8916: add panel-acer-a1-724-hx8394d to modules-initfs (MR 5209)
[ci:skip-build]: already built successfully in CI
2024-06-06 17:31:48 +02:00
Pablo Correa Gómez 77373bff11 CODEOWNERS: Add Pablo and Newbyte to GNOME stuff (MR 5208)
[ci:skip-build]: already built successfully in CI
2024-06-06 12:46:19 +02:00
Pablo Correa Gómez 19d7c9cd83 CODEOWNERS: add Caleb and Clayton as maintainers of the initramfs (MR 5208) 2024-06-06 12:46:19 +02:00
Clayton Craft d46d5855be main/postmarketos-ui-phosh: drop hardcoded dependency on pulseaudio (MR 5203)
This allows users to test out pipewire audio on phosh. Currently the
default audio backend is pulseaudio. This is configured in pmos-base-ui.

fixes #2013
[ci:skip-build]: already built successfully in CI
2024-06-06 12:42:03 +02:00
SSD 086078ded7 main/postmarketos-initramfs: fix stowaway (MR 5206)
I have noticed a bug. Because is some cases, uuid for the boot partition is set, it won't reach logic for the stowaway.

[ci:skip-build]: already built successfully in CI
2024-06-06 11:12:48 +02:00
Andreas Kemnade e0382da4f7 kobo-clara2e: new device (MR 5202)
For now, limited support without graphics. Graphics
support would need messing and detecting board variants.

especially since Rev B seems to need a vcom setting per batch.

[ci:skip-build]: already built successfully in CI
2024-06-05 23:03:05 +02:00
Willow Barraco c5ca6732a0 main/postmarketos-base-ui-cage: add CAGE_UI_ARGS (MR 5168)
Usefull to pass arguments to the cage exec program.

[ci:skip-build]: already built successfully in CI
2024-06-05 22:43:45 +02:00
knuxify 98603be1a2 device-samsung-lt01: use firmware-samsung-lt01 package for firmware (MR 5185)
Replace the firmware-samsung-midas package with an lt01-specific one.

[ci:skip-build]: already built successfully in CI
2024-06-04 23:38:40 -07:00
knuxify 5dee283860 firmware-samsung-lt01: new package (MR 5185)
Add separate firmware package for samsung-lt01.
2024-06-04 23:38:40 -07:00
knuxify 2e654e1cbb firmware-samsung-midas: drop lt01 firmware (MR 5185)
The lt01 firmware will be moved to a separate package.
2024-06-04 23:38:40 -07:00
Andreas Kemnade f39958cc88 linux-postmarketos-imx-ereader: Update to 6.9.0 (MR 5201)
[ci:skip-build]: already built successfully in CI
2024-06-04 23:34:51 -07:00
Richard Acayan 1811ad154c google-sargo: enable DRM rendering in initramfs (MR 5199)
[ci:skip-build]: already built successfully in CI
2024-06-04 23:28:21 -07:00
mae 61133a23ae main/msm-fb-refresher: move cleanup from initramfs into msm-fb-refresher (MR 5191)
[ci:skip-build]: already built successfully in CI
2024-06-04 20:46:50 +02:00
mae 25ad7892a1 main/postmarketos-mkinitfs-hook-debug-shell: Cleanup debug-shell telnet server (MR 5191)
Moved the cleanup code from initramfs
2024-06-04 20:46:50 +02:00
mae ebd351c346 main/postmarketos-initramfs: Allow packages to define cleanup hooks (MR 5191) 2024-06-04 18:44:34 +00:00
Clayton Craft 45dec6cc73 pmos-base-ui: re-enable DNS filtering (MR 4846)
Alpine aports will have a patch[1] to fix the bug this was working around,
so let's re-enable it.

This reverts commit 4dac896160.

1. https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/61103

fixes #2601

Also see #1430
2024-06-04 09:42:33 -07:00
Alexey Minnekhanov c9bab638d4 main/lk2nd: upgrade to 0.16.0 (MR 5197)
Latest release of "old" lk2nd.

Release notes:
- msm8974 improvements
- New variants for few Samsung devices, some renames
- Added Lenovo Vibe K5 variants

New devices:
- Vivo Y21L
- Motorola Moto G 4G
- Huawei G7 Plus
- Samsung Galaxy On7 2015 (SM-G600FY)
- HTC One M8
- Samsung G360T

Added big patch to fix compile errors with gcc-14.

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
[ci:skip-build]: already built successfully in CI
2024-06-03 22:56:04 -07:00
Johannes Marbach 96148a6213 main/unl0kr: upgrade to 3.2.0 (MR 5198)
[ci:skip-build]: already built successfully in CI
2024-06-04 07:46:34 +02:00
Oliver Smith f775c45906 gitlab/issue_template: add v24.06 2024-06-03 07:57:50 +02:00
Oliver Smith 33dd515af3 main/postmarketos-ui-sxmo-*: add wallpaper (MR 5195)
Add postmarketos-artwork-wallpapers to _pmb_recommends, so Sxmo shows
the postmarketOS wallpaper.

Related: https://todo.sr.ht/~mil/sxmo-tickets/602
Related: pmaports issue 2499
[ci:skip-build]: already built successfully in CI
2024-06-02 21:58:01 +02:00
Willow Barraco 83284e5749 main/postmarketos-ui-sxmo-de-*: use downgraded conky (MR 5195) 2024-06-02 21:47:36 +02:00
Willow Barraco 8e5597aed2 temp/conky: downgrade to 1.20.1 (MR 5195)
Conky got an issue on Wayland since 1.20.2:

https://github.com/brndnmtthws/conky/issues/1898
2024-06-02 21:47:36 +02:00
Oliver Smith 0059607677 main/postmarketos-artwork: set plasma wallpaper (MR 5186)
Set the postmarketOS wallpaper as default for Plasma Mobile and Plasma
Desktop, so we can change it across all UIs with every postmarketOS
release.

It would be nice if we could just set the wallpaper with a simple config
file (reported https://bugs.kde.org/show_bug.cgi?id=487816). Until that
is possible, use a shell script as workaround.

Copy the contents dir and metadata.json file explicitly, instead of
copying the entire "meadow" directory. With this change we avoid copying
meadow.svg, which fixes two issues:
* This file doesn't have a stable name, when we switch to the next
  wallpaper and the user had selected it, the wallpaper will just be
  gone instead of automatically switching to the new wallpaper.
* It shows up as broken wallpaper in Plasma's wallpaper selection.

[ci:skip-build]: already built successfully in CI
2024-06-02 19:37:43 +02:00
Oliver Smith 06f761e972 main/postmarketos-release-upgrade: upgrade to 1.7.0 (MR 5193)
[ci:skip-build]: already built successfully in CI
2024-06-02 17:01:25 +02:00
Oliver Smith fab386bcc7 cross/busybox-static-*: upgrade to 1.36.1-r29 2024-06-02 16:43:10 +02:00
Oliver Smith d2cf8cd78a u-boot-librem5: fix build with python 3.12 (MR 5192)
[ci:skip-build]: already built successfully in CI
2024-06-02 15:20:26 +02:00
David Wronek 4fad2a99d4 treewide: update my email address (MR 5177)
[ci:skip-vercheck]

Signed-off-by: David Wronek <david@mainlining.org>
2024-06-02 17:10:07 +09:00
David Wronek e65dc71f05 xiaomi-miatoll: new device (MR 5177)
Add support for the Xiaomi Miatoll phones. There are currently two
device trees in the upstream kernel.

Signed-off-by: David Wronek <david@mainlining.org>
2024-06-02 17:10:07 +09:00
David Wronek 9c22892b09 linux-postmarketos-qcom-sm7125: upgrade to 6.9.2 (MR 5177)
Upgrade linux-postmarketos-qcom-sm7125 to v6.9.2 and take
maintainership.

Signed-off-by: David Wronek <david@mainlining.org>
2024-06-02 17:10:07 +09:00
David Wronek dd9a80f708 samsung-a52q: remove (MR 5177)
The original maintainer unfortunately has bricked their phone. Drop the
device package in preparation for the SM7125 kernel upgrade.

Signed-off-by: David Wronek <david@mainlining.org>
2024-06-02 17:10:07 +09:00
David Wronek 6716574b85 samsung-a72q: remove (MR 5177)
The device trees for this phone have never been upstreamed
unfortunately. Drop the device package in preparation for the SM7125
kernel upgrade.

Signed-off-by: David Wronek <david@mainlining.org>
2024-06-02 17:10:07 +09:00
David Wronek b8c90fef97 alsa-ucm-conf-samsung-sm7125: remove (MR 5177)
Drop alsa-ucm-conf-samsung-sm7125 in preparation for the SM7125 kernel
upgrade.

Signed-off-by: David Wronek <david@mainlining.org>
2024-06-02 17:10:07 +09:00
Clayton Craft 158247240f device-lenovo-21bx: add usb module to initramfs (MR 5189)
These modules are required in the initramfs when booting a kernel that
builds them as modules (i.e. not builtin)

[ci:skip-build] already built successfully in CI
2024-06-01 16:34:52 -07:00
Richard Acayan 43715175e8 linux-postmarketos-qcom-sdm670: upgrade to v6.9.3 (MR 5187) 2024-06-01 22:23:47 +09:00
Clayton Craft 393250f826 main/postmarketos-mkinitfs: upgrade to 2.5.0 (MR 5183)
- Add support for systems with merged /usr (MR 39)
 - Improve support for deviceinfo format (MR 52)
 - Add support for systemd (MR 51)
 - Document archive compression formats/levels (MR 50)

[ci:skip-build] already built successfully in CI
2024-05-31 12:05:07 -07:00
Caleb Connolly eff1586b5c linux-postmarketos-qcom-sdm845: depend on python3 (MR 5188)
Since 6.10-rc1 python3 is now a hard requirement to compile the kernel,
it's used to generates headers for drm/msm. Add it now so our CI can
keep working.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-05-31 13:50:33 +02:00
Clayton Craft 53407e5203 main/postmarketos-base-ui-gnome: systemd-related service fixes (MR 5184)
- Fix MM and NM service unit names
- drop iio-sensor-proxy, seems to be dbus activated

[ci:skip-build]: already built successfully in CI
2024-05-29 17:23:56 -07:00
Clayton Craft 0a4c05863e main/postmarketos-ui-plasma-mobile: autostart modemmanager (MR 5184) 2024-05-29 17:23:56 -07:00
Clayton Craft e979d5e79e main/postmarketos-base-ui-plasma: various systemd service fixes (MR 5184)
- fix NM unit name
- relocate an errant -openrc pkg
- remove iio-sensor-proxy from service autostart on systemd, it appears
  that this is dbus activated (inspected the .service file, no `Install`
  section and using dbus directive)
2024-05-29 17:23:44 -07:00
Oliver Smith 3126954b45 cross/grub-efi-x86: upgrade to 2.12-r5 2024-05-29 00:26:57 +02:00
Oliver Smith 2d1d38e73f cross/musl-*: upgrade to 1.2.5-r1 2024-05-29 00:26:57 +02:00
Oliver Smith b4f51af7c8 cross/busybox-static-*: upgrade to 1.36.1-r28 2024-05-29 00:26:57 +02:00
Clayton Craft 59b83d7847 main/postmarketos-ui-*: remove hardcoded dependency on pulseaudio (MR 5145)
This allows the audio switching backend stuff to work on all UIs (see
!5072 / 87d355e08). For example, users of any UI can switch audio
backends by installing one of the pmos-base-ui-audio-* metapackages.

[ci:skip-build] already built successfully in CI
2024-05-28 13:15:59 -07:00
Clayton Craft 96e61da7a2 main/postmarketos-base-ui: audio backend improvements (MR 5145)
- Merge pulseaudio and audio-pulse subpkgs
  Just general cleanup, there's no reason to have a separate pulseaudio
  subpackage now since both were being installed anyways (one indirectly
  depended on the other)

- Add 'none' option for audio backend
  Some users might not want to have an audio backend installed taking
  up disk space. For example they're running a headless server or just
  don't want audio I/O, and PA + dependencies, which include mesa(!!)
  can be a lot... I measured 208MB

Note about drop the pulseaudio subpkg and it's "provides="...
This was done in 6e325417, when pmos-base-ui was split off from
pmos-base (3 years ago). I'm not sure how many people are still rocking
a 3yo pmOS install, but the original package (see 92e43e83) was only
pulled in by install_if, so I think the chance that it's in someone's
world file would be really really low.
2024-05-28 13:15:55 -07:00
Clayton Craft d20a7944bf main/postmarketos-base-ui-gnome: add weather app to pmb_recommends (MR 5149)
[ci:skip-build] already built successfully in CI
[ci:skip-vercheck]
2024-05-28 12:07:42 -07:00
Clayton Craft 564429192e main/postmarketos-ui-gnome: add snapshot to recommends (MR 5149)
Snapshot is a useful camera app, currently only useful on webcams and
that's why I added it here and not in the base-ui-gnome package
2024-05-28 11:17:20 -07:00
Clayton Craft 1f32b78940 main/postmarketos-base-ui-plasma: enable NM for systemd post-install (MR 5171)
[ci:skip-vercheck]

[ci:skip-build]: already built successfully in CI
2024-05-28 09:33:54 -07:00
Oliver Smith 333f5f77ce main/postmarketos-ui-sxmo-*: set pmb:systemd-never (MR 5171)
Sxmo maintainers have decided to stay with OpenRC on postmarketOS. Set
this option, so pmbootstrap doesn't even ask the user if they want to
install Sxmo with systemd. The idea is that users don't end up
reporting issues about this unsupported use case.
2024-05-28 09:33:52 -07:00
Bart RibbersandClayton Craft d0b1579cc7 main/postmarketos-ui-plasma-*: support openrc and systemd installs (MR 5171)
Co-authored-by: Clayton Craft <clayton@craftyguy.net>
2024-05-28 09:33:29 -07:00
Sam DayandClayton Craft 7f16b13781 main/postmarketos-ui-phosh: support openrc and systemd installs (MR 5171)
Also see: MR 4904

Co-authored-by: Clayton Craft <clayton@craftyguy.net>
2024-05-28 09:33:29 -07:00
Caleb ConnollyandClayton Craft b18ccab0f5 main/postmarketos-base-ui-gnome: split openrc depends to -openrc subpackage (MR 5171)
Allow this package to be used on systemd installs without pulling in a
bunch of openrc services.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Co-authored-by: Clayton Craft <clayton@craftyguy.net>
2024-05-28 09:33:29 -07:00
Caleb Connolly d35091be52 main/postmarketos-base-ui: initial support for systemd (MR 5171)
Not sure if dropping the networkmanager-openrc dependency causes issues.
Otherwise, make the elogind subpackage conflict with systemd-logind.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-05-27 13:54:35 -07:00
Stefan Hansson 924c47e1d6 linux-postmarketos-qcom-sm8250: disable CONFIG_RT_GROUP_SCHED (MR 5178)
The community check now mandates that this is turned off.

Closes https://gitlab.com/postmarketOS/pmaports/-/issues/2848
[ci:skip-build]: already built successfully in CI
2024-05-27 22:50:45 +02:00
Stefan Hansson fcf8026c83 CI: use latest (stable) Alpine instead of Edge (MR 5174)
Alpine 3.20 has released now which should contain everything we need to
run our CI.

Closes https://gitlab.com/postmarketOS/pmaports/-/issues/2747
[ci:skip-build]: already built successfully in CI
2024-05-27 13:33:23 -07:00
Clayton Craft d163a56a66 community/lenovo-21bx: move to community (MR 5156)
[ci:skip-vercheck]
[ci:skip-build] already built successfully in CI
2024-05-27 13:30:13 -07:00
Clayton Craft cb34a47985 device-lenovo-21bx: Add Jane as co-maintainer (MR 5156) 2024-05-27 13:30:12 -07:00
Clayton Craft 015a3299fa device/lenovo-21bx: remove Konrad as maintainer (MR 5156)
He did an awesome job adding an initial port for this device but hasn't
helped to maintain it, so I'm removing him from the list of active maintainers.
2024-05-27 13:29:43 -07:00
Clayton Craft fd16f66e4f main/postmarketos-config-nftables: add openrc subpkg (MR 5172)
For installing openrc-specific dependencies, specifically
nftables-openrc which is needed because the post-install enables the
openrc service and expects the initd script to be available then

[ci:skip-build] already built successfully in CI
2024-05-27 13:27:16 -07:00
Pablo Correa Gómez aaa7d267a2 temp/gnome-shell-mobile: rename extensions app to add "mobile" (MR 5176)
And add it to pmb_recommends. This way new installations with
pmb_recommends will force install the correct version.

[ci:skip-build]: already built successfully in CI
2024-05-27 13:23:45 -07:00
Pablo Correa Gómez 5e865cde7e temp/gnome-shell-mobile: sync with upstream APKBUILD (MR 5176)
Most remarkably, in addition to cleaning up a bit, add the
gnome-extensions-app subpackage.

Fixes #2844
2024-05-27 13:23:45 -07:00
Adam Thiede 006256a0d0 linux-postmarketos-mediatek-mt8173: upgrade to 6.9.2 (MR 5179)
[ci:skip-build]: already built successfully in CI
2024-05-27 08:50:10 +02:00
Sergey Lisov dc948f885a samsung-a6lte: add workaround for Wi-Fi not connecting (MR 5175)
Shamelessly stolen from https://wiki.postmarketos.org/wiki/Samsung_Galaxy_J7_Pro_(samsung-j7y17lte)#Notes_on_WiFi
2024-05-26 10:23:12 +09:00
Dylan Van Assche 6cfa3caffe temp/iio-sensor-proxy: rebuild against libssc 0.1.5 (MR 5173)
See https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/66530
2024-05-26 10:09:36 +09:00
Luca Weiss 568cac3585 firmware-fairphone-fp5: upgrade to 20240417 (MR 5169)
[ci:skip-build]: already built successfully in CI
2024-05-25 08:38:38 +02:00
Luca Weiss fe27e85609 firmware-fairphone-fp4: upgrade to 20240313 (MR 5170)
And remove the compatibility symlinks again, all kernels running now
should use the .mbn files already.

[ci:skip-build]: already built successfully in CI
2024-05-24 15:46:27 +02:00
Luca Weiss cf513281f9 linux-postmarketos-qcom-msm8974: upgrade to 6.9.1 (MR 5159)
Manual config changes:
* QCOM_APCS_IPC=y
* RT_GROUP_SCHED=n (community check)

[ci:skip-build]: already built successfully in CI
2024-05-23 09:25:03 +02:00
Luca Weiss 4d18a89f6f linux-postmarketos-qcom-msm8226: upgrade to 6.9.1 (MR 5166)
Manual config changes:
* BMC150_ACCEL=m

[ci:skip-build]: already built successfully in CI
2024-05-23 08:46:15 +02:00
Andreas Kemnade 8ca07c2439 CODEOWNERS: add myself for packages I maintain (MR 5165)
[ci:skip-build]: already built successfully in CI
2024-05-22 16:26:33 -07:00
Barnabás Czémán c30b0adb4d linux-postmarketos-qcom-msm8953: update to 6.9.1-r1 (MR 5167)
Update kernel to the latest release.

[ci:skip-build]: already built successfully in CI
2024-05-22 16:16:30 +02:00
Robert Mader f77dc643c9 temp/libcamera: fork for temporary downstream patches (MR 5162)
which are probably too experimental to ask Alpine to carry them, while being
very helpful for devices that pmOS targets. The explicit goal is to help
Libcamera development and drop the fork again.

For the dma heaps permissions see the ongoing debate in
https://lore.kernel.org/all/bb372250-e8b8-4458-bc99-dd8365b06991@redhat.com/
It's possible that Libcamera will switch to another solution in a future
release or that memory accounting issues around dma heaps will need to
get fixed in the kernel before the permissions can be set by default by
distros.

Regarding `libcamera: simple:` patches:
 - 0001-0003 can likely be dropped once the Libcamera SoftISP gains
   support for raw (bayer) streams passthrough (on top of converting to
   RGB or YUV formats).
 - 0004 will likely be needed until Megi downstream patches for the
   Pinephone get improved/upstreamed and Libcamera adopted accordingly.

With these patches libcamera and pipewire based applications should work
on the Librem5, Pinephone and - hopefully soon - devices like the OP6.

See https://gitlab.com/postmarketOS/pmaports/-/merge_requests/5162 for
more context.
[ci:skip-build]: already built successfully in CI
2024-05-21 20:23:50 +02:00
Pablo Correa Gómez 982799b9a8 device-nokia-n900: add postmarketos-mvcfg to depends (MR 5085)
Since it's been removed from postmarketos-base. In the process, also
reorder the dependencies

[ci:skip-build]: already built successfully in CI
2024-05-21 10:16:27 +02:00
Pablo Correa Gómez f39d5a6291 main/postmarketos-base-ui: drop mvcfg (MR 5085)
All these config update are there since 2021. Having them there
serves no purpose, apart from increasing packaging complexity and
have some unnecessary files under /etc
2024-05-21 10:16:27 +02:00
Pablo Correa Gómez 064d503623 main/postmarketos-base: drop mvcfg (MR 5085)
All these config update are there since 2020. Having them there
serves no purpose, apart from increasing packaging complexity and
have some unnecessary files under /etc
2024-05-21 10:16:27 +02:00
Pablo Correa Gómez a65e271055 main/postmarketos-ui-gnome: add gnome-extensons-app to pmb_recommends (MR 5152)
[ci:skip-vercheck] pmb_recommends do not need bumping pkgrel

[ci:skip-build]: already built successfully in CI
2024-05-21 09:53:51 +02:00
Pablo Correa Gómez 15a730118f main/postmarketos-ui-gnome-mobile: add gnome-extensions-app to pmb_recommends (MR 5152) 2024-05-21 09:53:51 +02:00
Devellevel ad2ac94979 device-sony-suzuran: Fix LightDM and add msm-fb-refresher (MR 5134) 2024-05-21 06:44:41 +02:00
Oliver Smith 2b98781eb1 CODEOWNERS: update clamor-s nickname (MR 5155)
> User 'clamor95' was moved to 'clamor-s'. Please update any links and
> bookmarks that may still have the old path.

[ci:skip-build]: already built successfully in CI
2024-05-20 15:49:14 -07:00
Oliver Smith a36baab269 CODEOWNERS: update postmarketos-ui-plasma-mobile (MR 5155)
This is maintained by Bart, see Maintainer line in the APKBUILD.
2024-05-20 15:49:14 -07:00
Barnabás Czémán dfee3e4365 msm8953: remove gpu firmwares from initfs (MR 5114)
Remove gpu firmwares from initfs,
panel drivers work fine without them.

[ci:skip-build]: already built successfully in CI
2024-05-20 15:43:50 -07:00
Clayton Craft da0f0a306a device-qemu-aarch64: enable support for efi boot (MR 5137)
Copied from qemu-amd64. Enabling support for EFI boot allows me/others
to easily test pmOS EFI boot loader and config changes. Legacy BIOS boot
will still work, see 22c602096 for details.

[ci:skip-build]: already built successfully in CI
2024-05-19 22:24:28 +02:00
Andreas Kemnade 7763bc8113 linux-postmarketos-imx-ereader: rename from linux-kobo-clara-mainline (MR 5153)
Rename package to indicate the group of devices it is used for.

[ci:skip-build]: already built successfully in CI
2024-05-19 17:29:47 +02:00
Barnabás Czémán 6b55f838d6 xiaomi-rosy: new device (MR 5128)
[ci:skip-build]: already built successfully in CI
2024-05-19 14:34:40 +02:00
Barnabás Czémán c5b6c5397a linux-postmarketos-qcom-msm8953: upgrade to 6.9.1-r0 (MR 5132)
[ci:skip-build]: already built successfully in CI
2024-05-19 13:32:56 +02:00
Barnabás Czémán d7f8b31920 device-motorola-ali: remove non-free-firmware & add lk2nd and panels (MR 5132)
Add lk2nd-msm8953-motorola-ali as a dependency and panel drivers to initfs and
remove non-free-firmware subpackage.
2024-05-19 13:32:54 +02:00
Barnabás Czémán 26b052562a firmware-motorola-ali: clean up firmwares (MR 5132)
Remove every firmware what can be loaded with msm-firmware-loader.
2024-05-19 13:32:54 +02:00
Barnabás Czémán 886baeb741 main/lk2nd-msm8953: update to 0.3.9 & add motorola-ali (MR 5132)
Update lk2nd to latest release and add motorola-ali project
as an subpackage.
2024-05-19 13:32:54 +02:00
Barnabás Czémán feaa0e9471 soc-qcom-msm8953: update UCM configs (MR 5132)
Update alsa ucm configs to the latest commit.
2024-05-19 13:32:54 +02:00
knuxify a7827ef4e2 main/postmarketos-ui-weston: drop weston-clients from depends (MR 5143)
These appear to be client demos, and are already in _pmb_recommends;
drop them from depends to avoid duplication.

[ci:skip-build]: already built successfully in CI
2024-05-19 13:28:59 +02:00
knuxify 3d91c3dd97 main/postmarketos-base-ui-gnome: move xdg-user-dir and xdg-user-dir-gtk to depends (MR 5143)
Previously xdg-user-dir was repeated in both _pmb_recommends and depends;
move it to the depends variable, alongside with xdg-user-dir-gtk.
2024-05-19 13:28:58 +02:00
knuxify a1c73a055c CODEOWNERS: add entry for samsung-lt01 (MR 5154)
[ci:skip-build]: already built successfully in CI
2024-05-19 11:32:33 +02:00
Stefan Hansson 66397e7563 linux-purism-librem5: upgrade to 6.6.29pureos1 (MR 5141)
[ci:skip-build]: already built successfully in CI
2024-05-19 11:04:09 +02:00
Arnav Singh f4f6c02ed1 linux-postmarketos-allwinner: upgrade to 6.9.0_git20240514 (MR 5130)
- 0003-dts-pinetab-add-missing-bma223-ohci1.patch

  The original patch added a node for BMA223 and a node for ohci1.
  The former is already present in upstream, so the new patch
  0003-dts-pinetab-add-missing-ohci1.patch only adds the latter.

- 0004-arm64-dts-allwinner-Add-bluetooth-node-to-the-PineTa.patch

  The patch is now present in upstream so it has been removed.
  However it's worth noting that upstream's node has the wake GPIOs
  reversed from the original patch. The original patch added:

      device-wake-gpios = <&r_pio 0 6 GPIO_ACTIVE_LOW>; /* PL6 */
      host-wake-gpios = <&r_pio 0 5 GPIO_ACTIVE_HIGH>; /* PL5 */

  ... while upstream has:

      device-wake-gpios = <&r_pio 0 5 GPIO_ACTIVE_LOW>; /* PL5 */
      host-wake-gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */

  This has not been tested on a PineTab.

- 0005-dts-pinetab-make-audio-routing-consistent-with-pinep.patch

  The first hunk of the patch is in upstream and has been removed.

- 0013-Revert-usb-quirks-Add-USB_QUIRK_RESET-for-Quectel-EG25G-Modem.patch

  This patch reverted upstream commit that was present until v6.7
  ( https://codeberg.org/megi/linux/commit/f9e3e7ea4ea5452e2c149acbe2a958751046ca29 )
  but is not present in v6.8+, so the patch has been removed.

- 0014-usb-serial-option-add-reset-resume-callback-for-WWAN.patch

  The patch is now present in upstream so it has been removed.

- 0016-Define-orientation-and-rotation-for-PinePhone-camera.patch

  The patch is now present in upstream so it has been removed.

---

The issues found with the previous upgrade to 6.8.4
( 646e0b50df ), ie reliably receiving calls
in suspend ( #2734 ) and the headset / headphones detection being broken
because of the jack detection changes ( #2738 ) have been fixed.

[ci:skip-build]: already built successfully in CI
2024-05-18 10:21:12 -07:00
Dylan Van Assche 2c6d302a13 firmware-shift-sdm845: use new hexagonrpcd paths and drop board-2.bin (MR 5151)
Adjust the sensor firmware paths for hexagonrpcd 0.3.1.
Also drop board-2.bin file which is now upstream and use upstream mba.mbn
and wlanmdsp.mbn.

[ci:skip-build]: already built successfully in CI
2024-05-18 14:10:23 +02:00
Joel Selvaraj c461e9ed35 device-shift-axolotl: ship hexagonrpcd conf (MR 5151)
Which specify path to new sensor firmware location needed by hexagonrpcd.
2024-05-18 14:10:23 +02:00
Sergey Lisov 754375c006 linux-samsung-a6lte: disable CONFIG_ZSWAP (MR 5144)
This causes a lot of spam in dmesg about "failed to allocate compressor transform", making it nearly impossible to search anything in the system logs.

This option has nothing to do with zram.
[ci:skip-build]: already built successfully in CI
2024-05-18 09:59:59 +02:00
Clayton Craft e95ba25742 main/postmarketos-ui-kodi: disable for x86 (MR 5146)
kodi x86 support was dropped upstream, see aports f53343613a4

[ci:skip-build]: already built successfully in CI
[ci:skip-vercheck]: Only changing architectures, no changes to package.
2024-05-18 09:47:08 +02:00
Joel Selvaraj deed403153 linux-postmarketos-qcom-sdm845: upgrade to 6.9.0 (MR 5099)
Contains fix for Poco F1 display issue when booting and enables sensor
support for Poco F1.

[ci:ignore-count]
[ci:skip-build]: already built successfully in CI
2024-05-18 09:41:41 +02:00
Joel Selvaraj 874dadcf04 temp/iio-sensor-proxy: workaround the hexagonrpcd delay (MR 5099)
Needed for some devices like the OP6T and AYN Odin
2024-05-18 09:41:41 +02:00
Joel Selvaraj acc3c898e6 device-ayn-odin: ship hexagonrpcd conf (MR 5099)
Which specify path to new sensor firmware location needed by hexagonrpcd.
2024-05-18 09:41:41 +02:00
Joel Selvaraj 9026187fe1 device-oneplus-fajita: ship hexagonrpcd conf (MR 5099)
Which specify path to new sensor firmware location needed by hexagonrpcd.
2024-05-18 09:41:41 +02:00
Joel Selvaraj 1761c761b2 device-oneplus-enchilada: ship hexagonrpcd conf (MR 5099)
Which specify path to new sensor firmware location needed by hexagonrpcd.
2024-05-18 09:41:41 +02:00
Robert Eckelmann 1eb794e124 device-xiaomi-beryllium: add sensor support (MR 5099) 2024-05-18 09:41:41 +02:00
Joel Selvaraj f547af68d8 firmware-ayn-odin: use new hexagonrpcd paths (MR 5099) 2024-05-18 09:41:40 +02:00
Dylan Van Assche 694fefda45 firmware-oneplus-sdm845: use new hexagonrpcd paths and drop board-2.bin (MR 5099)
Adjust sensor firmware paths for hexagonrpcd 0.3.1.
Also drop board-2.bin file which is now upstream.
2024-05-18 09:41:40 +02:00
Dylan Van Assche dbf2e96893 firmware-xiaomi-beryllium: add sensor firmware and drop board-2.bin (MR 5099) 2024-05-18 09:41:40 +02:00
Clayton Craft ad560f56fa linux-lenovo-21bx: kconfig updates (MR 5135)
- Enable KVM support (for using with slbounce!)
- Disable RT_GROUP_SCHED, community device kernel requirement

[ci:skip-build]: already built successfully in CI
2024-05-17 16:40:22 +02:00
Luca Weiss a25512a35a linux-postmarketos-qcom-sc7280: upgrade to 6.9.0 (MR 5138)
Kconfig changes:
* Disable RT_GROUP_SCHED ('community' check)

[ci:skip-build]: already built successfully in CI
2024-05-17 16:37:20 +02:00
Luca Weiss 26d72af07f linux-postmarketos-qcom-sm6350: upgrade to 6.9.0 (MR 5139)
[ci:skip-build]: already built successfully in CI
2024-05-17 16:33:34 +02:00
Raymond Hackley 3f48a12d2e samsung-j5(x): maintain devices (MR 5140)
[ci:skip-build]: already built successfully in CI
2024-05-17 16:30:12 +02:00
neokitty 7a4e852165 firmware-xiaomi-fire: new aport (MR 5129)
[ci:skip-build]: already built successfully in CI
2024-05-17 13:18:21 +02:00
Clayton Craft 0c1113b3ec linux-*: enable NLS_ASCII for kernels that support EFI boot (MR 5136)
These kernels must have NLS_ASCII set after bb6d7a05b, or else they
cannot mount the ESP as /boot and boot fails. This kconfig option will
be added to the pmb efi kconfig check so that this is caught in the
future pre-merge.

fixes 3909b1dbf and bb6d7a05b

[ci:skip-build] already built successfully in CI
2024-05-16 22:48:41 -07:00
Pablo Correa Gómez 3909b1dbf6 main/postmarketos-base: fixup old /etc/fstab entries with multiple bugs (MR 5089)
See pmbootstrap!2304
2024-05-16 12:02:37 +02:00
Pablo Correa Gómez 28e58a9cda main/postmarketos-initramfs: update comment on why we mount /boot (MR 5089) 2024-05-16 12:02:37 +02:00
Pablo Correa Gómez bb6d7a05b3 main/postmarketos-initramfs: add options for charset to mount vfat /boot (MR 5089)
This charset is the default and the recommended value, since boot fat
partitions should be case insensitive. linux-lts and linux-edge in
alpine use "utf-8", that might change, but add the options regardless,
so we can be safe

Fixes https://gitlab.com/postmarketOS/pmaports/-/issues/2782
2024-05-16 12:02:37 +02:00
Pablo Correa Gómez efc7ad99e4 main/postmarketos-initramfs: add some sane mount options to /boot (MR 5089)
We won't want executables, suid executables, devices. We neither want
symbolic links in fat partitions. These have been taken from
systemd (Ref #2782)
2024-05-16 12:02:37 +02:00
Vitaliy Ognev 2db5ff27fc main/postmarketos-base-ui-cage: automatically rotate panel (MR 5121)
[ci:skip-build]: already built successfully in CI
2024-05-16 10:40:19 +02:00
Clayton Craft e0ff1e478c linux-lenovo-21bx: upgrade to 6.9 (MR 5133)
[ci:skip-build] already built successfully in CI
2024-05-15 16:39:41 -07:00
Oliver Smith d1f7e3ca7d channels.cfg: add initial v24.06 branch
Related: issue 2819
2024-05-15 21:06:57 +02:00
Stefan Hansson 2975d16ac8 pmaports.cfg: set pmbootstrap_min_version=2.3.0 (MR 5046)
The change from unmaintained to archived needs changes in pmbootstrap.

[ci:ignore-count]
[ci:skip-vercheck]: Packages aren't being changed
[ci:skip-build]: All packages verified to build separately and would
take too long to build in CI
2024-05-15 17:08:00 +02:00
Stefan Hansson b29ebae96b CI: rename "device/unmaintained" to "device/archived" (MR 5046) 2024-05-15 17:07:51 +02:00
Stefan Hansson fb7f99efe2 device: rename unmaintained to archived (MR 5046)
Unmaintained is a name which on multiple occasions have seen lead to
confusion with people having the impression that unmaintained is for all
unmaintained devices, which is not how we're really using it. Many
devices in testing do not actually have a maintainer, yet there has been
no push to move these out of there and into unmaintained.

I think this is a result of that unmaintained was introduced not to keep
unmaintained ports but rather a place to store ports that have a better
replacement but where the inferior one still holds some sort of value,
such as for debugging purposes. These ports also are not necessarily
entirely unmaintained and see more fixes than many ports in testing.

While one approach to solving this problem could be to simply moving all
unmaintained ports to unmaintained, I think this comes with some
problems: It would require an initial effort to figure out which ports
are indeed unmaintained and which just don't have a maintained noted in
the package, and given how many ports there are in testing this would be
a big endeavour. It would also require continuous work on moving ports
into unmaintained as the maintainers go silent if we are to keep testing
and unmaintained's state consistent with reality. Additionally, just
because a port doesn't have a maintainer on paper doens't mean that
there aren't people who aren't willing to fix it up if there are issues
that arise.

As such, I think the way to go is renaming unmaintained to better
reflect the original intent. Thanks to Luca Weiss for suggesting
"archive", and to Arnav Singh for suggesting that "archived" would match
the other category names better.
2024-05-15 17:07:51 +02:00
knuxify 1be51a1472 main/postmarketos-base-ui-gnome: add gcr-ssh-agent to depends (MR 5120)
The SSH agent built into gnome-keyring has been disabled by default
in version 46, and replaced by the SSH agent implementation in gcr.
Install the new implementation to provide a graphical SSH agent
for all GNOME-based UIs.

Follow-up to aports!63893, which fixes this upstream and adds this
dependency to the upstream gnome package.

Fixes #2728.
[ci:skip-build]: already built successfully in CI
2024-05-15 14:00:36 +02:00
Adam Thiede f78a7fd8c5 linux-postmarketos-mediatek-mt8173: upgrade to 6.9 (MR 5125)
Default answers to `pmbootstrap kconfig migrate` with 'y' to any
seemingly relevant Mediatek entries.

[ci:skip-build]: already built successfully in CI
2024-05-14 22:36:15 +02:00
Oliver Smith ff2f4a108a gitlab/issue_template: add confidential issue note (MR 5131) 2024-05-14 21:09:45 +02:00
Oliver Smith f77febc40e gitlab/issue_template: drop v23.06 (MR 5131) 2024-05-14 21:09:44 +02:00
Lost-Entrepreneur439 33dc6ef65f samsung-afyonltecan: new device (MR 5009) 2024-05-14 14:57:20 +02:00
Sicelo A. Mhlongo 8d570a7847 linux-postmarketos-omap: upgrade to 6.9.0 (MR 5127)
[ci:skip-build]: already built successfully in CI
2024-05-14 09:06:29 +02:00
Jianhua Lu 293d2783f8 linux-postmarketos-qcom-sm8250: upgrade to 6.9.0 (MR 5123)
[ci:skip-build]: already built successfully in CI
2024-05-13 17:01:59 +02:00
Stefan Hansson b15ff1601c CI: fix deprecation warning (MR 5126)
Fixes this warning:

    warning: `ruff <path>` is deprecated. Use `ruff check <path>` instead:
2024-05-13 16:19:06 +02:00
Stefan Hansson 6a1f7a1623 CI: clarify which commit to put [ci:ignore-count] in (MR 5126)
I've seen confusion about this in the past where people would find it
unclear which commit to put this in.
2024-05-13 16:16:18 +02:00
Stefan Hansson 79b8de8483 CI: replace lots of print statements with a single one (MR 5126)
This way it's easier to edit the text.
2024-05-13 16:16:18 +02:00
jane400 1ffe60ab67 linux-lenovo-21bx: enable touchscreen driver (MR 5124)
[ci:skip-build]: already built successfully in CI
2024-05-13 15:34:39 +02:00
Robert Eckelmann d633f78749 main/postmarketos-base-ui: add font-twemoji as _pmb_recommends (MR 4755)
[ci:skip-build]: already built successfully in CI
2024-05-11 22:39:01 +02:00
saikat edc8e01dc7 realme-porsche: new device (Realme GT 2) (MR 4425)
[ci:skip-build]: already built successfully in CI
2024-05-11 12:38:54 +02:00
Anton Bambura 23d54f5ee4 powkiddy-x55: adjust for postmarketos-base-ui-cage (MR 5097) 2024-05-11 13:31:12 +03:00
Anton Bambura 466d30eb24 main/postmarketos-ui-moonlight: new aport (MR 5097) 2024-05-11 13:31:12 +03:00
Anton Bambura b66b6ea92e main/postmarketos-ui-cage: add myself as co-maintainer (MR 5097) 2024-05-11 13:31:12 +03:00
Anton Bambura 7f28bc2338 main/postmarketos-ui-cage: use postmarketos-base-ui-cage (MR 5097) 2024-05-11 13:31:12 +03:00
Anton Bambura eb0e92bf04 main/postmarketos-base-ui-cage: new aport (MR 5097)
Based on current postmarketos-ui-cage
2024-05-11 13:31:12 +03:00
Teemu Ikonen 356171e852 temp/gtk4.0: upgrade to 4.14.4 (MR 5119)
[ci:skip-build]: already built successfully in CI
2024-05-10 19:11:39 +02:00
Alexander Martinz 409d5d5616 device-shift-otter: new device (MR 4884)
Heavily based on z3ntu's work on FP5, thanks for all your work!

Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
[ci:skip-build]: already built successfully in CI
2024-05-09 11:02:07 -07:00
SSD 089d7cc987 main/postmarketos-initramfs: stowaway rootfs (MR 4386)
[ci:skip-build]: already built successfully in CI
2024-05-09 08:32:23 -07:00
Stefan Hansson 8a2904d341 linux-samsung-espresso10-downstream: fix build (MR 5102)
Part of https://gitlab.com/postmarketOS/pmaports/-/issues/2401

[ci:skip-build]: already built successfully in CI
2024-05-09 13:43:43 +02:00
Stefan Hansson 41f2cc0155 linux-samsung-m0-downstream: fix build (MR 5098)
Part of https://gitlab.com/postmarketOS/pmaports/-/issues/2401

[ci:skip-build]: already built successfully in CI
2024-05-09 13:40:37 +02:00
Stefan Hansson 0a78f50c73 linux-xiaomi-wt88047-downstream: fix build (MR 5103)
Part of https://gitlab.com/postmarketOS/pmaports/-/issues/2401

[ci:skip-build]: already built successfully in CI
2024-05-09 13:24:40 +02:00
Stefan Hansson f1e18c5475 linux-samsung-a5ulte-downstream: fix build (MR 5107)
Part of https://gitlab.com/postmarketOS/pmaports/-/issues/2401

[ci:skip-build]: already built successfully in CI
2024-05-09 13:15:59 +02:00
Stefan Hansson b295060231 linux-samsung-janice-downstream: fix build (MR 5105)
Part of https://gitlab.com/postmarketOS/pmaports/-/issues/2401

[ci:skip-build]: already built successfully in CI
2024-05-09 13:12:09 +02:00
Stefan Hansson 1a39ee6b56 linux-samsung-a5lte-downstream: fix build (MR 5108)
Part of https://gitlab.com/postmarketOS/pmaports/-/issues/2401

[ci:skip-build]: already built successfully in CI
2024-05-09 13:06:26 +02:00
Stefan Hansson a27034fe4b linux-htc-flounder-downstream: fix build (MR 5112)
Part of https://gitlab.com/postmarketOS/pmaports/-/issues/2401

[ci:skip-build]: already built successfully in CI
2024-05-09 13:03:04 +02:00
Stefan Hansson 033e3516f6 linux-huawei-kiwi-downstream: fix build (MR 5109)
Part of https://gitlab.com/postmarketOS/pmaports/-/issues/2401

[ci:skip-build]: already built successfully in CI
2024-05-09 12:38:43 +02:00
Stefan Hansson 5a338d90c2 linux-bq-paella-downstream: fix build (MR 5110)
Part of https://gitlab.com/postmarketOS/pmaports/-/issues/2401

[ci:skip-build]: already built successfully in CI
2024-05-09 11:09:22 +02:00
Stefan Hansson 0bc76bd8e9 linux-alcatel-idol347-downstream: fix build (MR 5111)
Part of https://gitlab.com/postmarketOS/pmaports/-/issues/2401

[ci:skip-build]: already built successfully in CI
2024-05-09 10:55:53 +02:00
Pablo Correa Gómez 4203227fd0 main/postmarketos-base-ui: add self-depend on base-ui-audio (MR 5091)
So that we can warranty that any of the packages is installed by
default. In addition, make sure that pipewire-pulse can never be
installed together with
postmarketos-base-ui-audio-pulseaudio. pipewire-pulse provides
pulseaudio, so installations that have pipewire-pulse already
installed would end up in a very weird position otherwise.

Fixes 87d355e08d
[ci:skip-build]: already built successfully in CI
2024-05-08 11:16:48 -07:00
Pablo Correa Gómez 1cabc5fb2a main/postmarketos-base-ui: disable wireplumber audio with pulseaudio (MR 5091)
This is necessary to avoid wireplumber messing with the sound when
pulseaudio is expected to take care of it.
2024-05-08 11:16:47 -07:00
Pablo Correa Gómez 59eecf22ec soc-qcom-sdm845: drop wireplumber subpackage (MR 5091)
It's now a dependency of pmos-base-ui
2024-05-08 11:16:47 -07:00
Pablo Correa Gómez ac8c63ebe2 main/postmarketos-base-ui-plasma: drop pipewire dependency (MR 5091)
Taken care by pmos-base-ui package
2024-05-08 11:16:47 -07:00
Pablo Correa Gómez d3d1989563 device-samsung-j7y17lte: remove pipewire-media-session file and replaces (MR 5091)
pipewire-media-session was dropped in alpine in
4dc6a181bf590339f29a279fb7c4b9ae3c26c5fa, more than one year ago, so
this should be safe

While at it, also drop pipewire dependency, that is now a dependency
of postmarketos-base-ui
2024-05-08 11:16:47 -07:00
Pablo Correa Gómez 387db85874 device-samsung-a6lte: remove pipewire-media-session file and replaces (MR 5091)
pipewire-media-session was dropped in alpine in
4dc6a181bf590339f29a279fb7c4b9ae3c26c5fa, more than one year ago, so
this should be safe

While at it, also drop the dep on pipewire, since it's taken care by
pmos-base-ui now
2024-05-08 11:16:47 -07:00
Pablo Correa Gómez 53a861f670 device-lenovo-21bx: remove pipewire subpackage (MR 5091)
This is not related to audio, and unnecessary since now pipewire is
installed by default
2024-05-08 11:16:46 -07:00
Pablo Correa Gómez b0d474ba3d main/postmarketos-base-ui: add pipewire and wireplumber (MR 5091)
These are increasingly needed for camera and screen sharing/recording
tasks. To make the development easier and future-proof, install them
by default. They can now be removed from the audio subpackage

Fixes #2785
2024-05-08 11:16:46 -07:00
Stefan Hansson ee41607a00 xiaomi-tissot-downstream: remove (MR 5106)
No longer builds, can't be bothered to investigate why as the error is
unusual and I don't understand it. See issue linked below for more
detailed information.

Clsoes https://gitlab.com/postmarketOS/pmaports/-/issues/2798
[ci:skip-build]: already built successfully in CI
2024-05-07 10:56:11 -07:00
Clayton Craft 9d356be7bb linux-lenovo-21bx: upgrade to 6.9-rc7 (MR 5104) 2024-05-07 20:43:45 +09:00
Arnav SinghandRobert Mader d52346cf1f linux-postmarketos-allwinner: add patch to define PinePhone camera orientations and rotations. (MR 5096)
libcamera etc need them.

Ref: https://gitlab.com/postmarketOS/pmaports/-/issues/2787

Co-authored-by: Robert Mader <robert.mader@collabora.com>
2024-05-06 16:06:54 -07:00
Clayton Craft c0b5f13420 {main,community}/linux-*: unset CONFIG_RT_GROUP_SCHED (MR 5088)
fixes #2652

[ci:skip-build] too many kernels to build, CI will never finish
[ci:ignore-count]
2024-05-06 10:24:48 -07:00
Stefan Hansson 02aad8d342 linux-samsung-klte-downstream: fix build (MR 5101)
Part of https://gitlab.com/postmarketOS/pmaports/-/issues/2401

[ci:skip-build]: already built successfully in CI
2024-05-06 15:21:41 +02:00
Teemu Ikonen 461b2c28e9 temp/gtk4.0: upgrade to 4.14.3 (MR 5100)
[ci:skip-build]: already built successfully in CI
2024-05-06 13:26:49 +02:00
Tetra Green a00122a6f8 motorola-titan: set kernel compression mode to LZMA
This helps the boot image fit the partition. Additionally, add a patch
to fix build.
2024-05-06 11:50:15 +02:00
Andreas Kemnade a09d8eba5c linux-kobo-clara-mainline: enable more input devices and EPD regulators (MR 5062)
Satisfy the requirements of more devices including some Kobo Nia fixes

[ci:skip-build]: already built successfully in CI
2024-05-05 11:28:50 +03:00
Andreas Kemnade c44ba04184 kobo-nia: new device (MR 5062)
This only support revision A, but nothing dangerous is expected
if run on revision C.
2024-05-05 11:28:50 +03:00
Stefan Hansson 4889ea583d main/boot-deploy: upgrade to 0.16 (MR 5095)
[ci:skip-build]: already built successfully in CI
2024-05-04 19:48:30 +02:00
Dzmitry Sankouski 0cfff96c6b device/testing/starqltechn: deviceinfo: enable flash on update (MR 5090)
Device uses heimdall flash method by default, with uppercase
partition name in it's PIT file. This conflicts with flash on update,
because in Linux partitions named in lowercase. To resolve this conflict,
default flash method changed to fastboot. Heimdall still can be used with
`--method` flag: `pmbootstrap flasher  --method heimdall-bootimg flash_kernel`

- enable flash on update flag.
- change default flash method to 'fastboot'
2024-05-02 20:46:25 +00:00
Dzmitry Sankouski 75c5b04652 device/testing/starqltechn: u-boot: add bootscript to prebootscript (MR 5090)
U-boot doesn't output bootscript logs, which makes it hard to debug.

Put bootscript to prebootscript section. Preboot is executed before
boot, and u-boot displays it's logs.
2024-05-02 20:46:25 +00:00
Dzmitry Sankouski 53a5a7a836 device/testing/starqltechn: u-boot: fix FIT image (MR 5090)
- increase memory for bootm command to 0x5000000
- change initramfs and fdt loading addresses to
leave more space for kernel decompression and loading
2024-05-02 20:46:25 +00:00
Dzmitry Sankouski a7d0d3f85b device/testing/starqltechn: u-boot: fix kernel command line (MR 5090)
- Enable console to workaround a race condition with
display initialisation (https://gitlab.freedesktop.org/drm/msm/-/issues/46)
- Remove unneeded options from kernel command line
2024-05-02 20:46:25 +00:00
Clayton Craft c349549b48 device-generic-x86_64: add fw-b43xx to recommends (MR 5081)
Enabled WiFi OOTB on some intel-based macbooks

[ci:skip-vercheck] moved devpkg fails devpkg version checks
[ci:skip-build]: already built successfully in CI
2024-05-02 10:49:17 -07:00
Clayton Craft eab8911810 firmware-b43xx: new aport (MR 5081)
Added straight into community because it'll be used by the
generic-x86_64 device package
2024-05-02 10:49:13 -07:00
Clayton Craft dde8b6439d generic-x86_64: move from testing (MR 5066)
Fixes #2598
2024-05-02 10:44:45 -07:00
Clayton Craft 4d3b0721e3 device-generic-x86_64: various improvements (MR 5066)
- Drop -mesa subpackage, this is handled by postmarketos-base now

- Add 'quiet' kernel cmdline param to hide kernel messages on boot by
  default

- set chassis type to 'desktop'

- re-add firmware-ath6kl, this used to be included in the old
  tablet-x86uefi but was accidentally dropped when that was merged into
  this generic device package
2024-05-02 10:43:26 -07:00
Clayton Craft 8e10f4dadd community/firmware-ath6kl: move from testing (MR 5066) 2024-05-02 10:43:26 -07:00
Clayton Craft fb2f8e5ae5 device-generic-x86_64: add Ollie as maintainer (MR 5066) 2024-05-02 10:43:25 -07:00
Clayton Craft ac0424b58a codeowners: add craftyguy to device/generic-x86_64 (MR 5066) 2024-05-02 10:43:25 -07:00
Pablo Correa Gómez fb1a13a5d6 cross/busybox-static-*: upgrade to 1.36.1-r26 2024-05-02 02:05:17 +02:00
Clayton Craft 1f153b1a14 linux-lenovo-21bx: add missing kconfig from "community" and "containers" (MR 5086)
- adds kconfigcheck-containers
- adds missing kconfigcheck-community options
- adds some missing dynamic debug stuff
- also adds kconfig options required by libcamera, because why not.

[ci:skip-build]: already built successfully in CI
2024-05-01 15:59:17 +02:00
Stanislav Jakubek 522660aaf5 device-motorola-falcon: add initial near-mainline support
Add an option to use a close-to-mainline kernel.
2024-05-01 15:22:37 +02:00
Alexander Martinz 4cbf394b17 device-fairphone-fp5: drop nonfree firmware subpackage (MR 4891)
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>

[ci:skip-build]: already built successfully in CI
2024-05-01 09:51:06 +02:00
Alexander Martinz 100ad49f00 device-fairphone-fp5: use soc-qcom-sc7280 (MR 4891)
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
2024-05-01 09:51:06 +02:00
Alexander Martinz d5b425cbd3 soc-qcom-sc7280: new aport (MR 4891)
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
2024-05-01 09:51:05 +02:00
Stefan Hansson f18c7210ab linux-postmarketos-allwinner: enable options necessary for libcamera development (MR 5084)
See https://gitlab.com/postmarketOS/pmbootstrap/-/issues/2174#note_1884069175

[ci:skip-build]: already built successfully in CI
2024-05-01 00:19:22 -07:00
Stefan Hansson 9db736df62 linux-purism-librem5: enable options necessary for libcamera development (MR 5084)
See https://gitlab.com/postmarketOS/pmbootstrap/-/issues/2174#note_1884069175
2024-05-01 00:19:22 -07:00
Clayton Craft 86e913235c ci: suggest setting PMBOOTSTRAP_CMD when unable to locate pmbootstrap.py (MR 5033)
When running locally, sometimes pmbootstrap in PATH is not a symlink and
the auto-detection stuff fails. This can be resolved by setting
PMBOOTSTRAP_CMD=/path/to/pmbootstrap.py, so the error has been improved
to suggest doing this.

[ci:skip-build]: already built successfully in CI
2024-05-01 01:04:33 +02:00
Luca Weiss 0d4817959d device-htc-memul: increase available VRAM (MR 5075)
Reserve 256MB for CMA, and of those use 192MB as VRAM.

The default value from the kernel side causes graphical issues with e.g.
phosh, so increase it so we have some more VRAM to work with.
[ci:skip-build]: already built successfully in CI
2024-05-01 01:00:29 +02:00
Luca Weiss 15f073b93c firmware-htc-memul: un-squash wcnss firmware (MR 5075)
Unfortunately due to some HTC weirdness we cannot squash the wcnss
firmware - some data is lost and the firmware doesn't authenticate on
the device.
2024-05-01 01:00:29 +02:00
Luca Weiss f8390e8815 linux-postmarketos-qcom-msm8226: upgrade to 6.8.7 (MR 5075) 2024-05-01 01:00:29 +02:00
Clayton Craft c63e05246f ci/common: use gitlab CI target branch in get_upstream_branch (MR 5082)
This prefers gitlab CI's target branch from the env, and falls back to
the old target branch detection mechanism (using pmaports.cfg, etc) if
it's not set. This fixes CI in gitlab where the target branch is
something different than expected, e.g. if using stacked branches.

[ci:skip-build]: already built successfully in CI
2024-05-01 00:58:32 +02:00
Stefan Hansson 5db3273820 CI: stop adding testing repository to Ruff check (MR 5039)
Ruff is now in community in Alpine Edge.

[ci:skip-build]: already built successfully in CI
2024-05-01 00:54:49 +02:00
Stefan Hansson 3249af6333 CI: run wiki check on changed .gitlab-ci.yml (MR 5039)
Useful to check that changes to the CI definition actually work.
2024-05-01 00:54:49 +02:00
Newbyte 3c855ce53b linux-samsung-n7100-downstream: fix build (MR 5080)
Part of https://gitlab.com/postmarketOS/pmaports/-/issues/2401

[ci:skip-build]: already built successfully in CI
2024-04-30 20:52:10 +02:00
Joe HH 0c859fbfc3 main/postmarketos-ui-phosh: remove karlender from pmb_recommends (MR 3742)
It's now in the base-ui-gnome package

[ci:skip-vercheck]
2024-04-30 16:43:17 +02:00
Joe HH db43d01558 main/postmarketos-ui-gnome-mobile: remove karlender from pmb_recommends (MR 3742)
It's now in the base-ui-gnome package
2024-04-30 16:43:15 +02:00
Joe HH 5fda4808ce main/postmarketos-base-ui-gnome: add gnome-calendar to pmb_recommends (MR 3742)
It now is feasible to have it in all form-factors
2024-04-30 16:43:07 +02:00
Clayton Craft 7efcacc46d linux-lenovo-21bx: upgrade to 6.9-rc6 (MR 5079)
- kconfig migrate
    - drop drm panel patch, doesn't seem to actually be required
    - enable connector + proc_events, useful for extrace / debug
2024-04-30 00:51:32 +00:00
Alexey Minnekhanov 2c807afc06 modem/tqftpserv: upgrade and switch buildsystem to meson (MR 5076)
Upstream has switched to meson buildsystem and Luca's patches
were merged, so we can drop them.

Update package URL to linux-msm project.

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
2024-04-30 03:36:35 +03:00
Alexey Minnekhanov 94a777390c modem/qrtr: upgrade to 1.1 and switch buildsystem to meson (MR 5076)
Upstream has moved to meson buildsystem and tagged new release.

Update package URL to linux-msm project.

Drop qrtr-ns subpackage, service and executable building, as it
was moved into kernel long time ago and separate userspace daemon
is no longer required.

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
2024-04-30 03:36:34 +03:00
Luca Weiss 7615c6e0d2 device-fairphone-fp4: depend on missing GPU firmware (MR 5078)
Due to Alpine packaging changes, linux-firmware-qcom is not pulled in
anymore so the GPU firmware a630_sqe.fw is missing on the device now.

Fix this by explicitly pulling in firmware-qcom-adreno-a630 which also
provides this file - based on linux-firmware.
2024-04-30 09:13:41 +09:00
Brandon Boese 87d355e08d main/postmarketos-base-ui: add audio subpackages (MR 5072) 2024-04-30 09:08:38 +09:00
Clayton Craft 09eb3346d6 main/postmarketos-ui-gnome: add two useful apps to recommends (MR 5077)
These are useful on desktops/laptops/tablets.

This was only added to the gnome (desktop) UI because:

1) The system monitor could be useful on mobile devices however the UI
   is not adaptive.

2) Disk utility isn't that useful on mobile devices since it tends to
   show dozens of partitions on android phones, and so it's kinda
   confusing and it would be easy for users to mess things up.

[ci:skip-build]: already built successfully in CI
2024-04-29 16:30:07 +02:00
Felicitas Pojtinger d1a85cc5f9 temp/gnome-shell-mobile: upgrade to 45_git20240426 (MR 5073)
Signed-off-by: Felicitas Pojtinger <felicitas@pojtinger.com>

[ci:skip-build]: already built successfully in CI
2024-04-27 13:31:17 +02:00
Andreas Kemnade 2d1f6bd541 device: tolino-* add extlinux support (MR 5067)
makes u-boot env / script installation  unnecessary.
2024-04-27 08:32:56 +09:00
Alistair Francis af97a4bea3 main/device-purism-librem5: Remove broadmobi-port-types udev rule (MR 5071)
The 77-mm-broadmobi-port-types.rules file comes from ModemManager [1] so
there is no need for us to re-install the file again. Drop our version
so we can use the upstream one.

1: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/blob/main/src/plugins/broadmobi/77-mm-broadmobi-port-types.rules

Signed-off-by: Alistair Francis <alistair@alistair23.me>
2024-04-27 08:05:14 +09:00
Clayton Craft 9906d59ea4 device-lenovo-21bx: workaround pipewire audio playback issues (MR 5065)
Override the buffer size seems to help somewhat with audio playback
under pipewire.
2024-04-25 23:07:43 +09:00
Robert Eckelmann 3930c181e9 main: bump several packages for python 3.12 (MR 5060)
hwtest, extract-dtb, bootchart2 and ofonoctl need a rebuild to work with
python 3.12
2024-04-24 21:00:33 +02:00
Clayton Craft 28f8f3135e Revert "ci: allow specifying pmbootstrap path to aid running locally (MR 4994)"
This was merged erroneously as a part of another MR. See
https://gitlab.com/postmarketOS/pmaports/-/merge_requests/5033#note_1877584477

This reverts commit 40a46fd4e5.
2024-04-24 11:53:27 -07:00
Stefan Hansson ec057e2ba2 linux-samsung-expressatt-downstream: fix build (MR 5064)
Part of https://gitlab.com/postmarketOS/pmaports/-/issues/2401
2024-04-24 12:03:02 +02:00
Clayton Craft a263494c1c ci: fix failure with check_changed_aports when testing new aport
Apparently some callers of `get_package_version` expect it to return
None if a package wasn't found...  e.g. when CI is testing a branch that
introduces a new aport and it's trying to get the upstream version for
it, which doesn't exist.

This leads to a spectacular crash in CI:

      upstream = get_package_version(args, package, commit, False)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/home/clayton/src/pmaports/./.ci/lib/check_changed_aports_versions.py", line 47, in get_package_version
        return parsed["pkgver"] + "-r" + parsed["pkgrel"]
               ~~~~~~^^^^^^^^^^
    TypeError: 'NoneType' object is not subscriptable

When I refactored this method in 07812a918 I goofed up and changed this
behavior, so let's restore it to fix the crash.
2024-04-23 17:59:30 -07:00
Adam Thiede f940d37fa4 device-lg-hammerhead: add GSK_RENDERER workaround (MR 5059)
As mentioned in https://gitlab.com/postmarketOS/pmaports/-/merge_requests/4952,
adding a script to work around GTK apps not rendering properly.
2024-04-24 07:00:28 +09:00
Andreas Kemnade 3c49199db3 kobo-clara: enable autodetection of board revs a vs b (MR 5057)
These two board revisions differ in regulator settings, so
detect them to avoid magic smoke.

[ci:skip-build]: already built successfully in CI
2024-04-23 21:55:12 +02:00
Arnav Singh deb676fba2 ci/check_changed_aports_ver: fix pkgrel check (MR 5061)
The apkbuild parser returns `pkgrel` key as a `str`, not an `int`,
so the `!= 0` check would always succeed even if the file set it to `0`.

[ci:skip-build]: already built successfully in CI
2024-04-23 10:43:03 -07:00
Clayton Craft 478a4261ca linux-valve-jupiter: upgrade to 6.9-rc5 (MR 5058)
[ci:skip-build]: already built successfully in CI
2024-04-23 14:07:46 +02:00
Clayton Craft 970bc34c45 ci/check_changed_aports_ver: add tests for new dev pkg rules (MR 4994)
[ci:ignore-count]

[ci:skip-vercheck]
[ci:skip-build]: already built successfully in CI
2024-04-22 16:37:41 -07:00
Clayton Craft 40a46fd4e5 ci: allow specifying pmbootstrap path to aid running locally (MR 4994)
I don't like how CI requires pmbootstrap in PATH to be a symlink, I use
a wrapper script to handle running pmbootstrap how I want and the
current pmbootstrap path detection is kinda annoying since it depends on
it being a symlink.

This allows using an environment variable, PMBOOTSTRAP_PATH, to set the
pmbootstrap path and skip all of the symlink resolving stuff.
2024-04-22 16:37:41 -07:00
Clayton Craft 07812a9189 ci/check_changed_aports_ver: move apkbuild reading from get_version (MR 4994)
This allows reusing the logic to read apkbuild contents in future
methods
2024-04-22 16:37:41 -07:00
Clayton Craft 284fd42c0a ci: add test for validating pkgver for device packages (MR 4994) 2024-04-22 16:37:41 -07:00
Clayton Craft ed377d97fa device-samsung-expressatt-downstream: fix kernel dependency (MR 4994) 2024-04-22 16:37:40 -07:00
Anton Bambura de1a13c782 devices: use consistent pkgver (MR 4994) 2024-04-22 15:45:12 -07:00
Arnav Singh 83a68a7611 device-pine64-pinephone: revert kernel 6.8.4 changes to match up with downgrade (MR 5054)
This reverts commit 1e3d484a64
"device-pine64-pinephone: update UCM config for new headphone jack name (MR 5022)"

[ci:skip-vercheck]
[ci:skip-build]: already built successfully in CI
2024-04-22 22:29:33 +02:00
Arnav Singh 686479bc4d linux-postmarketos-allwinner: downgrade to 6.7.9_git20240306 (MR 5054)
Kernel 6.8.4 has multiple issues on the pine64-pinephone:

- Incoming calls don't work reliably when the phone is suspended. ( #2734 )

- Audio routing has changed such that it's seemingly not possible to use
  headphones with the builtin mic. ( #2738 )

Kernel 6.7.9 does not have these problems. This commit reverts to that for now
until they're figured out on the new kernel.
2024-04-22 22:29:33 +02:00
Paul Cercueil 01bb57f89b device-samsung-i9100: Flash kernel/initramfs on kernel update (MR 5049)
Add deviceinfo_flash_kernel_on_update="true" to the deviceinfo file.
This makes sure that the updated kernel is flashed to the device every
time the linux-postmarketos-exynos4 package is updated.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
[ci:skip-build]: already built successfully in CI
2024-04-22 12:56:37 -07:00
Vitaliy Ognev 5ac8778de8 testing/linux-powkiddy-x55: upgrade to 6.8.6 (MR 4972)
[ci:skip-build]: already built successfully in CI
2024-04-22 12:53:47 -07:00
Vitaliy Ognev de4af423ff testing/linux-powkiddy-x55: WiFi improvements (MR 4972) 2024-04-22 12:53:47 -07:00
Vitaliy Ognev 7423756972 testing/linux-powkiddy-x55: kconfig check conformance (MR 4972) 2024-04-22 12:53:47 -07:00
Andreas Kemnade 824c6e51db testing/linux-kobo-clara-mainline: Upgrade to v6.8.7 (MR 5056) 2024-04-22 21:17:37 +09:00
Pablo Correa Gómez cc54c46e0d main/postmarketos-ui-i3wm: disable in riscv64 2024-04-22 12:52:41 +02:00
Sicelo A. Mhlongo 081f663b36 postmarketos-ui-i3wm: auto-generate user config (MR 5041)
90b0205a ("postmarketos-ui-i3wm: configure wallpaper globally") directly copies
the default i3 config into the user's config directory. Change to using the
wizard instead
2024-04-21 12:03:35 +09:00
Sicelo A. Mhlongo 10fd1b4e3e device-nokia-n900: drop nonfree_firmware subpackage (MR 5050)
Drop the nonfree_firmware package now that pmboostrap commit aa594b76fa
("pmb.config: do not prompt for nonfree fw/userland") is merged
2024-04-20 23:26:24 +09:00
Sicelo A. Mhlongo ea25bc48d7 device-nokia-n900: unconditionally fetch wl1251 nvs on each boot (MR 5050)
Reading the wl1251 data on each boot can be useful when using the same SD card
on different devices, allowing each to fetch its correct calibration data.
Additionally, this opens up the possibility to simplify the packaging (in
follow-up commit)
2024-04-20 23:26:07 +09:00
Raymond Hackley 00f2bb6452 main/devicepkg-dev: remove empty folder /usr/share/deviceinfo (MR 4990)
After removing the following files, $pkgdir/usr/share/deviceinfo is empty:
- $pkgdir/usr/share/deviceinfo/$pkgname
- $pkgdir/usr/share/deviceinfo/deviceinfo

Remove it when it's empty.
[ci:skip-build]: already built successfully in CI
2024-04-20 13:33:48 +02:00
Adam Thiede fbd92700e6 linux-postmarketos-mediatek-mt8173: upgrade to 6.8.7 (MR 5051)
[ci:skip-build]: already built successfully in CI
2024-04-20 13:31:10 +02:00
Stefan Hansson 86c77a7a38 device: remove references to postmarketos-update-kernel (MR 5045)
Package was removed and is now included in boot-deploy.

[ci:ignore-count]: Lots of packages intentionally changed.
[ci:skip-build]: already built successfully in CI
2024-04-20 11:15:33 +02:00
Stefan Hansson 824647ea3a CI: remove flash_kernel_on_update dependency check (MR 5045)
This property is now handled by boot-deploy, which devices shouldn't
depend on directly anyway.
2024-04-20 11:15:33 +02:00
Stefan Hansson 66d84cc745 CI: remove postmarketos-update-kernel from Shellcheck check (MR 5045)
This script has been integrated into boot-deploy.
2024-04-20 11:15:33 +02:00
Stefan Hansson 2af44f93f7 device: remove references to postmarketos-update-depthcharge-kernel (MR 5045)
Package was removed and is now included in boot-deploy.
2024-04-20 11:15:33 +02:00
Stefan Hansson 93a5491872 CODEOWNERS: remove reference to postmarketos-update-depthcharge-kernel (MR 5045)
Package was removed.
2024-04-20 11:15:33 +02:00
Stefan Hansson 02b5dcbcac main/postmarketos-update-kernel: remove (MR 5045)
Was integrated into boot-deploy in
https://gitlab.com/postmarketOS/boot-deploy/-/commit/5c17849fab85d5d28755bfc9b6d4c7ec74349056
As such, this package is redundant.
2024-04-20 11:15:33 +02:00
Stefan Hansson 016986d4ac main/postmarketos-update-depthcharge-kernel: remove (MR 5045)
Was integrated into boot-deploy in
https://gitlab.com/postmarketOS/boot-deploy/-/commit/bd14f1be8da2ed85129e8103fb51bafad4449b25
As such, this package is redundant.
2024-04-20 11:15:28 +02:00
Stefan Hansson f8fdc70e70 main/postmarketos-tweaks: take over maintainership (MR 5047)
[ci:skip-build]: already built successfully in CI
2024-04-18 23:13:26 +02:00
Stefan Hansson 39e1774da3 main/postmarketos-tweaks: upgrade to 0.13.2 (MR 5047) 2024-04-18 23:13:08 +02:00
Clayton Craft 1244e97349 main/boot-deploy: upgrade to 0.15 (MR 5044)
Features:
  - Include "sort-key" in bootloader spec config (MR 58)
  - Integrate pmos-update-depthcharge-kernel and pmos-update kernel
    logic (MR 55)

[ci:skip-build] already built successfully in CI
2024-04-18 12:15:40 -07:00
Barnabás Czémán 295ea8ae74 device-xiaomi-daisy: move calibration to subpackage (MR 5040)
Move goodix calibration rules to an subpackage because only the
replacement controllers are need this.

[ci:skip-build]: already built successfully in CI
2024-04-18 15:07:26 +02:00
Clayton Craft d1ad0d8713 main/postmarketos-initramfs: add crc32_generic module for F2FS (MR 4973)
Apparently f2fs has a soft dependency on this driver, so if it's =m in
the kernel then let's make sure it's always in the initramfs since f2fs
is a supported filesystem.

Fixes https://gitlab.com/postmarketOS/pmaports/-/issues/2711
[ci:skip-build]: already built successfully in CI
2024-04-18 14:44:55 +02:00
Andreas Kemnade f2808cb350 u-boot-kobo-clara: add upgrade script (MR 4550)
[ci:skip-build]: already built successfully in CI
2024-04-18 14:23:32 +02:00
Andreas Kemnade 219caeccad device-kobo-clara: use extlinux.conf (MR 4550)
simplify things by using standard ways to boot.
2024-04-18 14:23:32 +02:00
Andreas Kemnade a5feb76365 linux-kobo-clara-downstream: binutils 2.41 fix (MR 4550)
no more solaris format for sections
2024-04-18 14:23:32 +02:00
Andreas Kemnade 3531702772 device-kobo-clara: split out downstream build as unmaintained (MR 4550)
Near-mainline kernel is feature-complete since quite some time, so lets
use that as a default also to simplify boot process, since downstream kernel
depends on various blobs loaded into memory by the bootloader.
Get rid of quirks required in boot process for mainline kernels
also by using a near-mainline u-boot.
Prepare for handling rev b devices.
Keep Downstream kernel to be able to optimize/compare EPD operation
2024-04-18 14:23:32 +02:00
bzy-080408 a83cb87b70 huawei-milan: new device (MR 5034)
This introduce support for Huawei Maimang5 / G9 (Plus) / Nova (Plus)

[ci:skip-build]: already built successfully in CI
2024-04-17 19:12:46 +02:00
Arnav SinghandFiona Klute 1e3d484a64 device-pine64-pinephone: update UCM config for new headphone jack name (MR 5022)
The previous name stopped being valid with the kernel 6.8 upgrade. This caused
ALSA to think a headset was connected, which in turn caused callaudiod to
select the Headphones port in the PA sink instead of Earpiece / Speaker.

I missed this in my own kernel upgrade testing because I use
a custom callaudiod that doesn't care about the headphones port.
I now confirmed the issue with regular callaudiod and that this change
fixes it.

Co-authored-by: Fiona Klute <fiona.klute@gmx.de>
2024-04-16 10:53:07 -07:00
Caleb Connolly 19ac4f599b linux-postmarketos-qcom-sdm845: upgrade to 6.9-rc4 (MR 5036)
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>

[ci:skip-build]: already built successfully in CI
2024-04-16 20:19:22 +03:00
Clayton Craft f5099ad248 device-lenovo-21bx: various improvements (MR 5027)
- usbguard config: these are builtin USB devices that should be allowed
  by default

- removed nonfree-fw package, I decided that everything from that should
  be required since some fairly major features are broken without these
  firmwares and relevant userspace apps

- re-enabled EFI runtime services, so efifb is used (and probably other
  benefits?)
        - Laptops need the "Linux Boot" option enabled
        - "With recent UEFI firmware efi=noruntime can be left out when
          the Linux Boot option is enabled."
        - https://github.com/jhovold/linux/wiki/X13s#kernel-command-line
[ci:skip-build]: already built successfully in CI
2024-04-16 14:47:54 +02:00
Vitaliy Ognev b8f8f8dec1 ci: always update docker image packages (MR 5038) 2024-04-16 09:46:11 +03:00
Vitaliy Ognev 5cef8d31ca ci: fix format specifier typo in wiki script (MR 5038) 2024-04-16 09:05:05 +03:00
Saalim Quadri 583ab0a2fe asus-x00p: new device (Asus Max M1) (MR 5028)
Signed-off-by: Saalim Quadri <danascape@gmail.com>
2024-04-13 09:51:36 +09:00
Clayton Craft c0e3ea11e0 main/postmarketos-artwork: fix upgrade failure with -gnome subpackage (MR 5031)
This subpackage now installs a file that was previously in the other
subpackage it is meant to replace, leading to upgrade conflicts that
have to be manually resolved (i.e. with apk fix)

Fixes: 126f43220 and 1712a2d03
2024-04-13 09:34:51 +09:00
Johannes MarbachandNewbyte abfc585aa6 main/unl0kr: upgrade to 3.1.0 (MR 5029)
Co-authored-by: Newbyte <newbie13xd@gmail.com>

[ci:skip-build]: already built successfully in CI
2024-04-12 10:25:18 -07:00
Oliver Smith 10e5389345 cross/grub-efi-x86: upgrade to 2.12-r3 2024-04-12 15:43:19 +00:00
Doni Halim 2ae9112ce1 zte-b860hv5: new device (MR 4886)
[ci:skip-build]: already built successfully in CI
2024-04-12 13:25:25 +02:00
Doni Halim b3a07b8cec u-boot-amlogic-s905x2-tv: new aport (MR 4886) 2024-04-12 13:25:22 +02:00
Doni Halim 5b99c13534 linux-postmarketos-amlogic: add support for zte-b860hv5 (MR 4886) 2024-04-12 13:25:13 +02:00
Stefan Hansson 90ac4dbad0 Revert "linux-postmarketos-amlogic: add support for zte-b860hv5 (MR 4886)"
Authorship of this commit was incorrectly reset when merging. As such,
it is being reverted to fix this problem.

This reverts commit fa68f4a96b.
2024-04-12 13:21:29 +02:00
Stefan Hansson e17b5bdef6 Revert "u-boot-amlogic-s905x2-tv: new aport (MR 4886)"
Authorship of this commit was incorrectly reset when merging. As such,
it is being reverted to fix this problem.

This reverts commit dc6dc89779.
2024-04-12 13:20:01 +02:00
Stefan Hansson 13b35693f0 Revert "zte-b860hv5: new device (MR 4886)"
Authorship of this commit was incorrectly reset when merging. As such,
it is being reverted to fix this problem.

This reverts commit 6ac494088f.
2024-04-12 13:19:14 +02:00
Raymond Hackley 383b26a8c6 lg-hammerhead: add subpackage unl0kr (MR 4989)
To get unl0kr working, add subpackage unl0kr for the quirk.
2024-04-12 12:28:52 +02:00
WeirdTreeThing 3365d5764c device-google-x64cros: depend on alsa-ucm-conf-cros (MR 5020)
[ci:skip-build]: already built successfully in CI
2024-04-11 16:14:17 -07:00
WeirdTreeThing b383c20a51 alsa-ucm-conf-google-kukui: drop in favor of alsa-ucm-conf-cros (MR 5020) 2024-04-11 16:14:17 -07:00
WeirdTreeThing e5efdcf862 alsa-ucm-conf-cros: new aport (MR 5020) 2024-04-11 16:14:17 -07:00
Pablo Correa Gómez 132659ec52 main/postmarketos-ui-cage: add tinydm-openrc subpackage (MR 5025)
This is used in the post-install script, so it's actually a dependency

[ci:skip-build]: already built successfully in CI
2024-04-11 12:35:02 +02:00
Teemu Ikonen 57426fcdb4 temp/gtk4.0: upgrade to 4.14.2 (MR 5023) 2024-04-11 11:11:44 +03:00
Oliver Smith 1c17a83eff cross/busybox-static-*: upgrade to 1.36.1-r25 2024-04-10 21:27:53 +00:00
Sergey Lisov 5580908a14 samsung-a6lte: configure headroom in wireplumber (MR 5021)
It seems that wireplumber is now installed by default, instead of pipewire-media-session. Thus we need to set api.alsa.headroom in wireplumber configuration too to get working audio.

This basically copies /usr/share/wireplumber/wireplumber.conf.d/alsa-vm.conf and relaxes the filters.
[ci:skip-build]: already built successfully in CI
2024-04-10 17:40:57 +02:00
WeirdTreeThing 082f26f72d linux-postmarketos-mediatek-mt8183: upgrade to 6.6.25 (MR 5019)
[ci:skip-build]: already built successfully in CI
2024-04-10 16:40:19 +02:00
Sicelo A. MhlongoandDvaMishkiLapa 730c56ed35 community/device-nokia-n900: x11: integrate screenshot utility (MR 5014)
Take screenshots in any x11 UI by depressing the camera key while keeping the
proximity sensor covered

This is a variation of [1] and [2] from postmarketOS/pmaports!4133.

[1] https://gitlab.com/postmarketOS/pmaports/-/merge_requests/4133/diffs?commit_id=35007eaefd0e471634c74aad9294234ceed260ae
[2] https://gitlab.com/postmarketOS/pmaports/-/merge_requests/4133/diffs?commit_id=0ef9ffe3928313b7afc5ce68ad0ec4487f1f2f11

Co-Authored-By: DvaMishkiLapa <thesame.personal@gmail.com>
Signed-off-By: Sicelo A. Mhlongo <absicsz@gmail.com>
2024-04-10 22:40:37 +09:00
Ferass El Hafidi cb693d6164 linux-postmarketos-amlogic: upgrade to 6.8.4 (MR 5010)
Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>

[ci:skip-build]: already built successfully in CI
2024-04-10 11:29:24 +02:00
Pablo Correa Gómez 6ac494088f zte-b860hv5: new device (MR 4886)
[ci:skip-build]: already built successfully in CI
2024-04-10 10:55:16 +02:00
Pablo Correa Gómez dc6dc89779 u-boot-amlogic-s905x2-tv: new aport (MR 4886) 2024-04-10 10:54:45 +02:00
Pablo Correa Gómez fa68f4a96b linux-postmarketos-amlogic: add support for zte-b860hv5 (MR 4886) 2024-04-10 10:52:17 +02:00
Ferass El Hafidi ce57bf3416 {xiaomi-once,beelink-gt1}: drop maintainership as requested (MR 5011)
exkc has stated that he cannot maintain the ports anymore,
see #postmarketos-devel discussion:

	<@f_[xmpp]> af2e02839bcfb0aae789a9ea66f63a: hiya, are you available?
	<@f_[xmpp]> It's about 2 of your Amlogic device ports. You said
	before that your beelink-gt1 and xiaomi-once were broken
	<@f_[xmpp]> are you still able to maintain these ports?
	<@f_[xmpp]> If not then they should probably be dropped.
	<af2e02839bcfb0aae789a9ea66f63a> drop them
	<@f_[xmpp]> af2e02839bcfb0aae789a9ea66f63a: sure

[ci:skip-vercheck]

Suggested-by: exkc <exxxxkc@getgoogleoff.me>
Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
2024-04-10 08:30:59 +02:00
Sicelo A. Mhlongo e3b33d613b wl1251-cal: build only for armv7 (n900) (MR 5017)
The tool is Nokia N900-specific, so no need to build for all archs

[ci:skip-vercheck]
[ci:skip-build]: already built successfully in CI
2024-04-09 17:49:36 +02:00
Kacper 57863359a9 lenovo-karatep: new device (MR 4875)
For now there is just PMOS Splash Screen and ssh connection working
2024-04-09 16:11:42 +02:00
Alexandre Messier c72f4346d2 device-htc-m8: add support for near-mainline kernel (MR 5018)
Add option to use near-mainline kernel package
linux-postmarketos-qcom-msm8974.

[ci:skip-build]: already built successfully in CI
2024-04-09 09:45:08 +02:00
Oliver Smith 126f432206 main/postmarketos-artwork: fix broken wallpapers (MR 5015)
* Bring back /usr/share/wallpapers/postmarketos.jpg, which is used in at
  least as the default in sway, mate, lxqt, xfce4
* Move postmarketos-gnome.xml here (instead of taking the version from
  artwork.git), because the paths mentioned in the xml file are also set
  in this package in pmaports. This makes it easier to maintain.
* Fix the paths in postmarketos-gnome.xml (postmarketos vs
  postmarketOS).
* Keep the postmarketos-gnome.xml name, as we had it before recent
  wallpaper changes, and as it is the same name in v23.12 still. This
  should make it backwards compatible for people upgrading from v23.12.
* Move 10_pmOS-wallpaper.gschema.override here for the same reason.

Fixes: 72357ecf ("main/postmarketos-artwork: upgrade to Meadow wallpaper and make Plasma-compatible (MR 4805)")
[ci:skip-build]: already built successfully in CI
2024-04-08 17:13:09 +00:00
Oliver Smith 1712a2d03a main/postmarketos-base-ui-gnome: remove wallpaper config (MR 5015)
Remove the postmarketos-base-ui-gnome-wallpapers subpackage that only
Phosh and GNOME desktop used to depend on, and instead add a hard
dependency on postmarketos-artwork-wallpapers.

The config that enables the wallpapers will be moved to
postmarketos-artwork-wallpapers in the next commit. This will make it
easier to maintain, the paths to the wallpapers will only be in one
package instead of being scattered across many.
2024-04-08 17:13:09 +00:00
Oliver Smith fd5808c0a0 main/postmarketos-ui-gnome-mobile: remove custom wallpaper config (MR 5015)
We used to have a special wallpaper with more contrast for Gnome Shell
on Mobile, but not anymore. Use the same wallpaper, as all other UIs.
2024-04-08 17:13:09 +00:00
Oliver Smith 785aaeefb1 main/postmarketos-ui-sway: depend on swaybg (MR 5015)
Fix that no wallpaper was set for sway:
[ERROR] [sway/config/output.c:828] failed to execute 'swaybg' (background configuration probably not applied): No such file or directory
2024-04-08 17:13:04 +00:00
Anton Bambura 60415b58db ayn-odin: depend on soc-qcom-sdm845-ucm (MR 5013)
[ci:skip-build]: already built successfully in CI
2024-04-08 12:39:07 +02:00
Anton Bambura ee5fec6b29 soc-qcom-sdm845: upgrade ucm configs to the latest commit (MR 5013) 2024-04-08 12:39:07 +02:00
Luca Weiss bbd3bf58c2 linux-postmarketos-qcom-msm8974: upgrade to 6.8.4 (MR 5007)
Add support for Sony Xperia Z3 Compact and HTC One (M8).

Also take the opportunity to align the LOCALVERSION/KBUILD_BUILD_VERSION
fields with e.g. SC7280 kernel.
[ci:skip-build]: already built successfully in CI
2024-04-08 12:36:37 +02:00
Oliver Smith 816ed854d0 qemu-amd64: tweak kernel descriptions (MR 5016)
I just noticed that the virt kernel doesn't have mouse and network
working anymore in QEMU and Alpine edge. It did work with v23.12.
Everything seems to work with the LTS kernel though, and it doesn't
change often, so recommend that for now.

[ci:skip-build]: already built successfully in CI
2024-04-08 12:34:28 +02:00
Sicelo A. Mhlongo a61c3a3e48 device-nokia-n900: i3wm: use volume keys for audio and display brightness (MR 5012)
Volume keys adjust alsa volume, and Shift + volume keys adjusts display
brightness.

This is a variation of [1] and [2] from from postmarketOS/pmaports!4133.

[1] https://gitlab.com/postmarketOS/pmaports/-/merge_requests/4133/diffs?commit_id=a060096b4abe8b614e9ae11aff29f133aa4486b9
[2] https://gitlab.com/postmarketOS/pmaports/-/merge_requests/4133/diffs?commit_id=968293603a3d55d1380fdff34d4c89d8bcd00bda

Co-Authored-By: DvaMishkiLapa <thesame.personal@gmail.com>
Signed-off-By: Sicelo A. Mhlongo <absicsz@gmail.com>
[ci:skip-build]: already built successfully in CI
2024-04-07 13:33:00 +02:00
Arnav Singh 646e0b50df linux-postmarketos-allwinner: upgrade to 6.8.4_git20240405 (MR 5008)
- 0003-dts-pinetab-add-missing-bma223-ohci1.patch

  The original patch added a node for BMA223 and a node for ohci1.
  The former is already present in upstream, so the new patch
  0003-dts-pinetab-add-missing-ohci1.patch only adds the latter.

- 0004-arm64-dts-allwinner-Add-bluetooth-node-to-the-PineTa.patch

  The patch is now present in upstream so it has been removed.
  However it's worth noting that upstream's node has the wake GPIOs
  reversed from the original patch. The original patch added:

      device-wake-gpios = <&r_pio 0 6 GPIO_ACTIVE_LOW>; /* PL6 */
      host-wake-gpios = <&r_pio 0 5 GPIO_ACTIVE_HIGH>; /* PL5 */

  ... while upstream has:

      device-wake-gpios = <&r_pio 0 5 GPIO_ACTIVE_LOW>; /* PL5 */
      host-wake-gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */

  This has not been tested on a PineTab.

- 0005-dts-pinetab-make-audio-routing-consistent-with-pinep.patch

  The first hunk of the patch is in upstream and has been removed.

- 0013-Revert-usb-quirks-Add-USB_QUIRK_RESET-for-Quectel-EG25G-Modem.patch

  This patch reverted upstream commit that was present until v6.7
  ( https://codeberg.org/megi/linux/commit/f9e3e7ea4ea5452e2c149acbe2a958751046ca29 )
  but is not present in v6.8, so the patch has been removed.

- 0014-usb-serial-option-add-reset-resume-callback-for-WWAN.patch

  The patch is now present in upstream so it has been removed.
2024-04-06 12:54:29 -07:00
Richard Acayan a4901cc122 testing/linux-postmarketos-qcom-sdm670: upgrade to 6.8.2 (MR 5003) 2024-04-06 22:32:14 +09:00
Lost-Entrepreneur439 9d9cc83ea2 lg-sf340n: new device (MR 5004)
(MR 5004)
2024-04-06 18:09:01 +09:00
Barnabás Czémán 95a9e93450 device/msm8953*: Generate extlinux.conf (MR 4999)
Genearete extlinux.conf for msm8953 make ability switch to new lk2nd seamlessly.

[ci:ignore-count]
[ci:skip-build]: already built successfully in CI
2024-04-05 18:25:19 +02:00
Gianluca Boiano b4d3cf3d71 linux-postmarketos-qcom-msm8953: upgrade to 6.8.2-r0 (MR 4987)
[ci:skip-build]: already built successfully in CI
2024-04-05 17:58:40 +02:00
Luca Weiss 314a161a86 soc-qcom-sdm845: align pipewire script formatting (MR 5006)
Replace some stray tabs in the file with spaces, as is used by the other
half of the file.

[ci:skip-build]: already built successfully in CI
2024-04-05 17:54:16 +02:00
adamthiede 5ac004cf65 linux-postmarketos-mediatek-mt8173: upgrade to 6.8.4 (MR 5005)
[ci:skip-build]: already built successfully in CI
2024-04-05 17:52:10 +02:00
Andreas Kemnade d928c75e7b postmarketos-ui-fbkeyboard: fix energy waste (MR 5001)
Turn off blinking cursor as on e-ink screens this wastes energy.

[ci:skip-build]: already built successfully in CI
2024-04-05 00:02:34 +02:00
Sicelo A. Mhlongo c5bb75e4d0 device-nokia-n900: acpi_handler: fix indentation (MR 4988)
Fixes: 7270f472e3 ("treewide: fix tabs, final newline, trailing whitespace"

[ci:skip-build]: already built successfully in CI
2024-04-03 07:57:52 +02:00
Sicelo A. Mhlongo e67b6e5a06 device-nokia-n900: turn display off after two minutes (MR 4988)
we are not using a screensaver or similar, so let's turn display off when idle,
to save some power
2024-04-03 07:57:52 +02:00
Sicelo A. Mhlongo 0a0d84325e device-nokia-n900: enable screen and touchscreen on keyboard slide up (MR 4988)
Partially implements the request from
https://gitlab.com/postmarketOS/pmaports/-/issues/621
2024-04-03 07:57:52 +02:00
Sicelo A. MhlongoandClayton Craft 4ac671b055 device-nokia-n900: switch to more robust locking script (MR 4988)
This is an adaptation of craftguy's improved script [1]

[1] https://gitlab.com/postmarketOS/pmaports/-/tree/n900-screen-locker

Co-authored-by: Clayton Craft <clayton@craftyguy.net>
2024-04-03 07:57:51 +02:00
Sicelo A. Mhlongo d5ee14fc28 device-nokia-n900: improve handling of slidey key (MR 4988)
The handling for the lock key is currently unreliable (racy?). In many cases,
you have to toggle it twice to turn display off. Fix this by handling it via
acpid. Since the scripts currently depend on X11 tools, move them to the x11
subpackage. They can be moved back to the main device package in future when
Wayland support has been implemented.

Block i3 from handling the lock key to avoid additional races.
2024-04-03 07:57:51 +02:00
Sicelo A. Mhlongo 27523989d9 device-nokia-n900: modernize acpid scripts (MR 4988)
1. Reduce keypad brightness. Full brightness is unnecessary
2. Correct the camera cover states. It is 1 when closed, i.e. covered [1]
3. Drop proximity sensor handling, in favor of supporting it in
   iio-sensor-proxy [2]
4. Drop power button handling. This is handled by the WM [3]
5. Drop handling for volume keys. These will be handled via WM later (when PA
   is integrated)
6. Drop duplicate KP_SLIDE_* entries in handler script

[1] https://elixir.bootlin.com/linux/v6.9-rc1/source/include/uapi/linux/input-event-codes.h#L917
[2] https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/merge_requests/375
[3] https://gitlab.com/postmarketOS/pmaports/-/blob/9bb205e18c5b300313d53853acb466e014afdbeb/device/community/device-nokia-n900/i3wm/i3wm.conf#L67
2024-04-03 07:57:48 +02:00
Anton Bambura beb5bebd3f microsoft-surface-rt: move to community (MR 4943)
[ci:skip-vercheck]

[ci:skip-build]: already built successfully in CI
2024-04-03 07:25:51 +02:00
Oliver Smith 6d3cbd5d95 main/mobile-config-firefox: upgrade to 4.3.1 (MR 4998)
[ci:skip-build]: already built successfully in CI
2024-04-02 14:25:00 -07:00
Sicelo A. Mhlongo fd49591adf device-nokia-n900: provide feedbackd haptics support (MR 4997)
[ci:skip-build]: already built successfully in CI
2024-04-02 21:26:25 +02:00
Oliver Smith 0ce1ca8948 cross/busybox-static-*: upgrade to 1.36.1-r24 2024-04-02 19:22:34 +00:00
Sicelo A. Mhlongo bd8dfd304f device-nokia-n900: do not load gpio_leds automatically (MR 4996)
6c30cb42a4 ("linux-postmarketos-omap: enable new community kconfig options")
set CONFIG_LEDS_TRIGGER_DEFAULT_ON builtin. The consequence is that the debug
LEDs are now always turned on, which interferes with the keyboard backlight.
Since pmOS requires it to be builtin now, let us workaround the issue by not
loading leds_gpio at boot.

[ci:skip-build]: already built successfully in CI
2024-04-02 19:48:14 +02:00
Anton Bambura ac5c79aa8c google-x64cros: install rtw88 firmware (MR 4993)
This is used on some devices

[ci:skip-vercheck]: changing only _pmb_recommends
2024-04-02 18:50:42 +03:00
Anton Bambura d6660baef0 CODEOWNERS: add ayn-odin maintainership (MR 4986)
[ci:skip-build]: already built successfully in CI
2024-04-02 18:36:14 +03:00
Anton Bambura 5e34e16021 ayn-odin: new device (MR 4986) 2024-04-02 18:36:13 +03:00
Anton Bambura d425b3630d firmware-ayn-odin: new aport (MR 4986) 2024-04-02 18:36:13 +03:00
Anton Bambura d3b6adacd6 linux-ayn-odin: new aport (MR 4986) 2024-04-02 18:36:13 +03:00
Ferass El Hafidi 44b9db8247 device/{main,community}: be consistent with $pkgver (MR 4992)
See: pmaports#2610

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
2024-04-02 12:55:46 +02:00
Ferass El Hafidi 9bb205e18c CODEOWNERS: use my new gitlab handle and add more files (MR 4983)
Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
2024-03-31 14:19:53 +02:00
Barnabás Czémán 2db2095b2a device-xiaomi-daisy: limit touchscreen calibration for goodix (MR 4978)
Limit touchscreen calibration only available for goodix variant, it has fixed
the calibration isssues on focaltech variant.
2024-03-31 18:14:56 +09:00
Karol Kosek 70e443b94e linux-lg-e610: fix framebuffer mode (MR 4982) 2024-03-31 17:44:32 +09:00
methanal 3b164500be samsung-on7xelte: new mainline port (MR 4980)
This port is based on the linux-postmarketos-exynos7870 kernel.

[ci:skip-build]: already built successfully in CI
2024-03-31 17:21:16 +09:00
methanal 8c1b379e53 unmaintained/samsung-on7xelte: move downstream port to unmaintained (MR 4980)
[ci:skip-build]: already built successfully in CI
2024-03-31 17:21:16 +09:00
methanal 440638512e samsung-a2corelte: new device (MR 4981) 2024-03-31 03:16:31 +05:30
methanal e187df7809 samsung-a6lte: enable qcdt generation for mainline (MR 4977)
Add deviceinfo variables so that QCDT generation is carried out by
boot-deploy. The mainline kernel no longer generates the QCDT image
for the device.

[ci:skip-build]: already built successfully in CI
2024-03-30 19:58:15 +01:00
methanal c92084f672 linux-postmarketos-exynos7870: upgrade to 6.8.1 (MR 4977)
Upgrade the kernel to version 6.8.1.

Move the devicetrees to be built in-tree. This enables better
integration of the devicetree sources with the kernel, such as being
able to access macros available in include/dt-bindings.

Additionally, remove QCDT generation from the kernel. This is required
for supporting multiple devices, having different QCDTs. It can instead
be done in a per-device basis using boot-deploy.

[ci:skip-build]: already built successfully in CI
2024-03-30 19:58:14 +01:00
Caleb Connolly fb8851447b CI: port to rules (MR 4966)
Rules are the new and much more configurable way to handle conditionally
enabling jobs. Replace the old "only" keyword usage with equivalent
rules.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-03-30 14:40:28 +00:00
Oliver Smith 1526420d86 main/mobile-config-firefox: upgrade to 4.3.0 (MR 4975)
[ci:skip-build]: already built successfully in CI
2024-03-29 23:09:26 +00:00
Alexey Minnekhanov 5ee9ecef01 main/msm-firmware-loader: upgrade to 1.5.0 (MR 4974) 2024-03-29 22:20:30 +03:00
Duje Mihanović a428f968e4 linux-samsung-coreprimevelte: upgrade to 6.9-rc1 (MR 4971)
[ci:skip-build]: already built successfully in CI
2024-03-29 22:17:07 +03:00
Luca Weiss af695a1dd6 linux-postmarketos-qcom-msm8226: upgrade to 6.8.1 (MR 4954)
[ci:skip-build]: already built successfully in CI
2024-03-29 17:43:12 +01:00
Icenowy Zheng 266c923666 device-samsung-klte: enable GPU (MR 4731)
As hlte has GPU enabled now, klte GPU should also be okay to be enabled.

Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
2024-03-28 19:28:33 +01:00
Icenowy Zheng 4d50d0f0e7 device-samsung-klte: add kltechn variant (MR 4731)
The China LTE versions of Samsung Galaxy S5 (G9006[VW]/G9008[VW]/G9009W) have
some little hardware difference with the G900F variant.

Add kernel variants, with klte variant for G900F (which is currently
supported) and kltechn variant for G9006/G9008/G9009W (newly added).

Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
2024-03-28 19:28:33 +01:00
Luca Weiss 001c74bd00 linux-postmarketos-qcom-msm8974: upgrade to 6.8.0 (MR 4952)
[ci:skip-build]: already built successfully in CI
2024-03-28 19:19:55 +01:00
Barnabás Czémán c529560855 device-xiaomi-mido: remove nonfree-firmware subpackage (MR 4970)
Remove nonfree-firmware subpackage and depend on firmware-qcom-adreno-a530.

[ci:ignore-count]
2024-03-28 19:05:02 +03:00
Barnabás Czémán e057a9ad77 device-motorola-potter: remove nonfree-firmware subpackage (MR 4970)
Remove nonfree-firmware subpackage and depend on firmware-qcom-adreno-a530.
2024-03-28 19:05:02 +03:00
Barnabás Czémán c06adf0310 firmware-motorola-potter: remove a530 firmware files (MR 4970)
Remove a530 firmware files in favor of firmware-qcom-adreno-a530.
2024-03-28 19:05:02 +03:00
Barnabás Czémán 8ff2b343a3 device-xiaomi-onclite: remove nonfree-firmware subpackage (MR 4970)
Remove nonfree-firmware subpackage and depend on firmware-qcom-adreno-a530.
2024-03-28 19:05:02 +03:00
Barnabás Czémán 08d3e5831a firmware-xiaomi-onclite: remove a530 firmware files (MR 4970)
Remove a530 firmware files in favor of firmware-qcom-adreno-a530.
2024-03-28 19:05:01 +03:00
Barnabás Czémán 482fa6862a device-xiaomi-ysl: remove nonfree-firmware subpackage (MR 4970)
Remove nonfree-firmware subpackage and depend on firmware-qcom-adreno-a530.
2024-03-28 19:05:01 +03:00
Barnabás Czémán 917ab60d5c firmware-xiaomi-ysl: remove a530 firmware files (MR 4970)
Remove a530 firmware files in favor of firmware-qcom-adreno-a530.
2024-03-28 19:05:01 +03:00
Barnabás Czémán e0c742901d device-xiaomi-vince: remove nonfree-firmware subpackage (MR 4970)
Remove nonfree-firmware subpackage and depend on firmware-qcom-adreno-a530.
2024-03-28 19:05:00 +03:00
Barnabás Czémán fee53da732 firmware-xiaomi-vince: remove a530 firmware files (MR 4970)
Remove a530 firmware files in favor of firmware-qcom-adreno-a530.
2024-03-28 19:05:00 +03:00
Barnabás Czémán 0f52d19d52 device-xiaomi-tissot: remove nonfree-firmware subpackage (MR 4970)
Remove nonfree-firmware subpackage and depend on firmware-qcom-adreno-a530.
2024-03-28 19:05:00 +03:00
Barnabás Czémán 53901bc222 firmware-xiaomi-tissot: remove a530 firmware files (MR 4970)
Remove a530 firmware files in favor of firmware-qcom-adreno-a530.
2024-03-28 19:04:59 +03:00
Barnabás Czémán b826962b2a device-xiaomi-markw: remove nonfree-firmware subpackage (MR 4970)
Remove nonfree-firmware subpackage and depend on firmware-qcom-adreno-a530.
2024-03-28 19:04:59 +03:00
Barnabás Czémán 84d35ee5a1 firmware-xiaomi-markw: remove a530 firmware files (MR 4970)
Remove a530 firmware files in favor of firmware-qcom-adreno-a530.
2024-03-28 19:04:59 +03:00
Barnabás Czémán ae4ea07856 device-xiaomi-daisy: remove nonfree-firmware subpackage (MR 4970)
Remove nonfree-firmware subpackage and depend on firmware-qcom-adreno-a530.
2024-03-28 19:04:58 +03:00
Barnabás Czémán 3c2f6d76d2 firmware-xiaomi-daisy: remove a530 firmware files (MR 4970)
Remove a530 firmware files in favor of firmware-qcom-adreno-a530.
2024-03-28 19:04:54 +03:00
Andrea Bolognani d13c816c57 soc-qcom-msm8953: Add workaround for GTK4 rendering issues (MR 4961)
This workaround is basically identical to the one recently
applied to soc-qcom-msm8916 (MR 4958).

Tested on xiaomi-tissot and xiaomi-daisy, where performance for
GTK4 applications goes from barely usable to fairly decent.

Closes: https://gitlab.com/postmarketOS/pmaports/-/issues/2220
Thanks: Nikita Travkin <nikita@trvn.ru>
Signed-off-by: Andrea Bolognani <eof@kiyuko.org>
[ci:skip-build]: already built successfully in CI
2024-03-27 21:09:32 +00:00
Oliver Smith 42042f691c cross/busybox-static-*: upgrade to 1.36.1-r23 2024-03-27 19:21:12 +00:00
Sergey Lisov c57ca2dc8c samsung-a6lte: make samsungipcd a dependency of the firmware subpackage (MR 4968)
The modem requires firmware to be loaded from an on-device RADIO partition, samsungipcd does that. Not installing it prevents that firmware from being used.

[ci:skip-build]: already built successfully in CI
2024-03-27 16:23:43 +01:00
Caleb Connolly da997fd9cb temp/gnome-shell-mobile: drop caribou dep (MR 4969)
This package is dropped from Alpine and I don't think we need it..?

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
[ci:skip-build]: already built successfully in CI
2024-03-26 21:42:35 +01:00
Nikita Travkin f182040240 qcom-msm8916: new device (MR 4962)
With the new changes in lk2nd that allow us to support extlinux.conf and
with the U-Boot support with EFI, we can now generate image that would
be generic to these devices.

[ci:skip-build]: already built successfully in CI
2024-03-26 12:03:43 +01:00
Nikita Travkin 399e4da96f community/linux-postmarketos-qcom-msm8916: Enable EFI (MR 4962)
Many msm8916 devices can make use of U-Boot's EFI support. Enable it.
2024-03-26 12:03:28 +01:00
Caleb Connolly 4266e41791 device-qualcomm-sdm845: new aport (MR 4599)
Signed-off-by: Caleb Connolly <caleb@connolly.tech>
2024-03-25 23:10:40 +00:00
Caleb Connolly 6edf162782 firmware-oneplus-sdm845: fix source file name (MR 4599)
We need the checksum otherwise local HTTP cache gets real confused.

Signed-off-by: Caleb Connolly <caleb@connolly.tech>
2024-03-25 21:15:24 +00:00
Caleb Connolly 378d76b830 firmware-shift-sdm845: drop firmware-initramfs (MR 4599)
Now we're using unl0kr, we don't have to include the GPU firmware in the
initramfs anymore!

Signed-off-by: Caleb Connolly <caleb@connolly.tech>
2024-03-25 21:15:24 +00:00
Caleb Connolly d2560bfb89 firmware-oneplus-sdm845: drop initramfs firmware (MR 4599)
Now that we're using unl0kr, we don't need the GPU firmware in the
initramfs.

Signed-off-by: Caleb Connolly <caleb@connolly.tech>
2024-03-25 21:15:23 +00:00
Vitaliy Ognev 8f81ee8d06 testing/powkiddy-x55-mapper: upgrade to 1.0.1 (MR 4965)
[ci:skip-build]: already built successfully in CI
2024-03-25 16:56:59 +02:00
Stefan Hansson d4d536481d temp/iio-sensor-proxy: only build on aarch64 (MR 4955)
Instead of just disabling it on armv7, we can only build it on aarch64
given that the patches applied only are relevant on that architecture
anyway.

[ci:skip-vercheck]: No need to increment pkgrel when only changing
architectures.
[ci:skip-build]: already built successfully in CI
2024-03-25 15:18:25 +01:00
Stefan Hansson a445ce34bd linux-purism-librem5: upgrade to 6.6.22pureos1 (MR 4964)
[ci:skip-build]: already built successfully in CI
2024-03-25 15:15:07 +01:00
fossdd 7aa0c329ed bq-tenshi: new device (MR 4938)
[ci:skip-build]: already built successfully in CI
2024-03-25 09:20:20 +01:00
knuxify d9c1035f91 device-samsung-lt01: add nonfree-firmware to _pmb_recommends (MR 4963)
Since the prompt has been dropped in pmbootstrap, install the firmware here.

[ci:skip-build]: already built successfully in CI
2024-03-25 09:12:44 +01:00
Sergey Lisov 4597357bfa samsung-a6lte: add WiFi and Bluetooth on mainline (MR 4665)
Also adds Bluetooth support on the downstream kernel.

[ci:skip-build] Already built fine on CI in MR
2024-03-25 01:52:18 +03:00
Sergey Lisov f261b2b204 main/bootmac: upgrade to v0.4.0 (MR 4665)
Added generate-only mode
2024-03-25 01:52:05 +03:00
knuxify 0bb531b926 community/linux-postmarketos-exynos4: Add patch needed for booting samsung-lt01 (MR 4435)
This one has stalled a bit due to some upstream shenanigans,
but is now confirmed to be fine; since it hasn't been merged
yet, add it here manually.

[ci:skip-build]: already built successfully in CI
2024-03-24 14:57:52 +01:00
knuxify b37ce13469 samsung-lt01: mainlined device package for Samsung Galaxy Tab 3 8.0 (MR 4435)
This new package covers all three variants of the tablet: the WiFi
version (SM-T310), the 3G version (SM-T311) and the LTE version
(SM-T315). It uses the linux-postmarketos-exynos4 kernel, like other
mainlined Exynos 4 devices.
2024-03-24 14:57:52 +01:00
knuxify c3ed702df9 samsung-lt01wifi: move downstream variant to unmaintained (MR 4435)
- The 3 different variants of the lt01 will be merged into a single
  main device package, so the old package is deprecated.
- We will now be using the mainline kernel, so the downstream kernel is
  no longer necessary.
- Add a patch to fix a new build error.
2024-03-24 14:57:51 +01:00
knuxify d1ba99ce5e firmware-samsung-midas: add Samsung Galaxy Tab 3 8.0 mainline firmware (MR 4435)
The binaries are the same as for the other devices, we just need to add three
new NVRAM TXTs, so add them here since they don't make the package that much
larger.
2024-03-24 14:57:50 +01:00
Vitaliy Ognev 19f864a631 device-powkiddy-x55: enable bluetooth (MR 4953)
[ci:skip-build]: already built successfully in CI
2024-03-23 16:54:33 +01:00
Stefan Hansson 6293b17a35 linux-postmarketos-stericsson: upgrade to 6.8.1 (MR 4945)
And enable CONFIG_NFT_COMPAT.

[ci:skip-build]: already built successfully in CI
2024-03-23 16:44:11 +01:00
Vitaliy Ognev f61fee5d41 device-powkiddy-x55: recommend powkiddy-x55-mapper (MR 4936)
[ci:skip-build]: already built successfully in CI
2024-03-23 10:34:41 +01:00
Vitaliy Ognev 367d6432dc powkiddy-x55-mapper: new aport (MR 4936) 2024-03-23 10:34:01 +01:00
Arnav Singh d67aa6b44d device-pine64-pinephone: automatically recover modem when it dies (MR 4937)
eg25-manager is supposed to watch for the modem going away and recover it
automatically, but it doesn't seem to actually do anything.
Manually restarting eg25-manager in this situation does recover the modem.
This upstream issue https://gitlab.com/mobian1/eg25-manager/-/issues/47
is probably the same, and as that issue says, manually restarting eg25-manager
in this situation does recover the modem.

So this change adds a udev rule to automatically restart eg25-manager when
the modem dies. Common triggers for the modem dying are:

1. When the phone wakes up from suspend.

2. When an incoming call is disconnected, especially if the disconnect happens
   very quickly after the call started, such as what happens when
   phosh-antispam identified the call as spam.

3. When plugging or unplugging the phone from USB power, and when plugging
   or unplugging other USB devices like keyboard from a connected dock.

udev shouldn't be used for spawning long-lasting processes,
but `rc-service start` will parent the process to the service manager and exit,
so that's fine. It does take a few seconds during which udev is blocked and
can't process other events, which udev also recommends against,
but in this case it's not a big deal IMO.

Fixes #2641
[ci:skip-build]: already built successfully in CI
2024-03-23 10:12:14 +01:00
Andrea Bolognani 540caff8ae device-xiaomi-daisy: provide touchscreen calibration data (MR 4959)
The data is not 100% accurate, but it's the best I've got
and it makes the device usable, which it currently isn't.

Closes: https://gitlab.com/postmarketOS/pmaports/-/issues/2647

Signed-off-by: Andrea Bolognani <eof@kiyuko.org>
2024-03-23 11:46:37 +03:00
Andrea Bolognani 9200f8fe1a devicepkg-dev: fix call to dc (MR 4959)
The current invocation doesn't work:

  $ busybox dc "100" "5" / p
  dc: can't open '100': No such file or directory

Fix it so that it does:

  $ busybox dc -e "100 5 / p"
  20

One of the messages that is printed on failure was missing
the "WARNING:" prefix. Address that too.

Signed-off-by: Andrea Bolognani <eof@kiyuko.org>
2024-03-23 11:46:12 +03:00
Nikita Travkin 74cec4794b community/soc-qcom-msm8916: Add a workarund for GTK4 (MR 4958)
GTK4 has switched to a new renderer. Unfortunately adreno a306 is
effectively abandoned in mesa and has many bugs which the new GTK
renderer now hits.

To allow us to still use GTK4 apps on the msm8916 based devices, force
the old renderer on them for now.

Fixes: #2681
[ci:skip-build]: already built successfully in CI
2024-03-22 17:46:22 +05:00
Clayton Craft f37ee63217 linux-valve-jupiter: upgrade to 6.8 (MR 4957)
- enable some modules for USB storage devices
 - enable scsi disk support (e.g. for USB thumb disks)

[ci:skip-build] already built successfully in CI
2024-03-21 23:11:53 -07:00
Anton Bambura 41d528f6b9 main/cros-keyboard-map: upgrade to 0_git20240313 (MR 4930)
[ci:skip-build]: already built successfully in CI
2024-03-21 21:38:15 +02:00
Teemu Ikonen 661a6494ce temp/gtk4.0: upgrade to 4.14.1, clean up compile command (MR 4951) 2024-03-21 12:49:39 +01:00
Luca Weiss ca51ad851e linux-postmarketos-qcom-sm6350: upgrade to 6.8.1 (MR 4949)
Kconfig changes:
* DRM_SIMPLEDRM
* QCOM_ICC_BWMON

[ci:skip-build]: already built successfully in CI
2024-03-20 21:22:39 +01:00
Stefan Hansson d74c66bcf6 linux-postmarketos-exynos4: enable CONFIG_AUDIT (MR 4946)
Necessary to debug seccomp filters, among other things. Without this
auditd doesn't work at all.
2024-03-20 21:01:18 +01:00
Robert Eckelmann 2ca42e6f79 temp/iio-sensor-proxy: disable the build for armv7 (MR 4950)
Ref: #2468
2024-03-20 08:40:35 -07:00
jethrob b41ec7a9d7 linux-postmarketos-grate: take co-maintainership (MR 4948)
[ci:skip-vercheck]

[ci:skip-build]: already built successfully in CI
2024-03-19 21:44:24 +00:00
jethrob caab6c96fa device-microsoft-surface-rt: take co-maintainership (MR 4948) 2024-03-19 20:47:05 +00:00
Raymond Hackley 10eb68fe05 main/postmarketos-initramfs: add USB booting support (MR 4947)
How to boot from USB drives:
1. Make sure the extcon has OTG support and included in initramfs
2. Make sure the PMIC supports the power to OTG devices, and included in initramfs. Otherwise, a hub with external power supply is required.
3. Make sure module `usb-storage` is enabled in initramfs
4. `pmbootstrap install --sdcard=/dev/<usb_drive>`
    - postmarketOS/pmbootstrap@942ee20789 is required to ignore sdcard check. Thanks @ollieparanoid for the patch.
5. `pmbootstrap flasher flash_kernel`
6. Insert the USB drive to OTG and boot

[ci:skip-build]: already built successfully in CI
2024-03-19 09:28:32 +00:00
Anton Bambura 0db311f94a microsoft-surface-rt: sort depends (MR 4944)
[ci:skip-vercheck]

[ci:skip-build]: already built successfully in CI
2024-03-18 19:39:38 +01:00
Anton Bambura d085c072dd linux-postmarketos-grate: take co-maintainership (MR 4941)
I contribute to this package from time to time, so let's add myself to
maintainers to represent it here.

[ci:skip-build]: already built successfully in CI
2024-03-18 13:49:56 +02:00
Anton Bambura 894a115705 linux-postmarketos-grate: upgrade to 6.6.22 (MR 4941)
This upgrades kernel to 6.6.22 backporting fixes for major performance
issues of Microsoft Surface RT.

This also re-generates config with "make grate_defconfig pmos.config"
and adds pmb:kconfigcheck-uefi for surface rt.
2024-03-18 13:49:56 +02:00
Luca Weiss 6cb3e795e4 modem/{pd-mapper,tqftpserv}: take over maintainership (MR 4942)
The previous maintainer hasn't been active on GitLab for at least two
years, time to replace them.

[ci:skip-build]: already built successfully in CI
2024-03-18 12:14:43 +01:00
André Apitzsch e6cdfd8d42 device/msm8226*: Generate extlinux.conf (MR 4939)
Now as boot-deploy allows us to generate both boot.img and extlinux.conf
at the same time, enable generating the config for all msm8226 since it
will be used in the future lk2nd release. boot.img is still kept to keep
compatibility with current lk2nd releases and to allow system recovery
with fastboot when required.

[ci:skip-build]: already built successfully in CI
2024-03-18 12:12:13 +01:00
Oliver Smith 2d0a7aa6dc CI: add more tests for CODEOWNERS (MR 4940)
* Parse the file in python and ensure it is ordered alphabetically
* Ensure that we have at least as many gitlab nicknames in CODEOWNERS,
  as there are listed maintainers in main and community devices. This
  should help with enforcing that every maintainer is also listed in
  CODEOWNERS, so they can be easily pinged via their gitlab nickname if
  something for the device they maintain is happening.

[ci:skip-build]: already built successfully in CI
2024-03-18 08:01:26 +00:00
Oliver Smith 8bf7a0f6dd CODEOWNERS: add maintainers from APKBUILDs (MR 4940)
Sometimes we need to figure out the gitlab nicknames of maintainers and
co-maintainers as listed in the APKBUILDs, e.g. when a specific issue
appears that only happens with a given device. Or if we want to ping
all device maintainers in the testing phase for the new release.

So far it has been a very tiresome, manual process to figure out gitlab
nicknames from the maintainers in the APKBUILDs (involving git log
--follow and opening merge requests in browsers...). After some
discussion we figured it would be good to store it in the CODEOWNERS
file.

This also has the nice side-effect that maintainers get notifications if
the APKBUILDs they maintain get changed.
2024-03-18 08:01:20 +00:00
Oliver Smith f45189285e CODEOWNERS: order alphabetically (MR 4940) 2024-03-17 22:48:52 +00:00
Oliver Smith 297dafc5ba CODEOWNERS: remove vim modeline (MR 4940)
We configure editors via editorconfig file. Remove the modeline, it was
wrong anyway by setting "et" to expand tabs to spaces, where in reality
this file uses tabs.
2024-03-17 22:48:52 +00:00
Oliver Smith f20ff5dba3 editorconfig: add CODEOWNERS (MR 4940)
Let editors use tabs for this file
2024-03-17 22:48:52 +00:00
Oliver Smith af6d4c661d linux-postmarketos-rockchip: remove Martijn as maintainer (MR 4940) 2024-03-17 22:48:52 +00:00
Oliver Smith a8e36280c5 device-qemu-{amd64,aarch64}: add myself as maintainer (MR 4940)
Daniele has been inactive for some years, set myself as maintainer.
2024-03-17 22:48:47 +00:00
Sergey Lisov a14ef97406 linux-samsung-a6lte: touchscreen in charge mode (MR 4845)
pmOS does not support charge mode anyway, and boots to a full UI, but this vendor kernel disables touchscreen when booting in charge mode. Remove that check, so that the phone can be used as usual.

[ci:skip-build]: already built successfully in CI
2024-03-17 21:16:17 +03:00
Oliver Smith 11cc8fc549 cross/busybox-static-*: upgrade to 1.36.1-r21 2024-03-17 17:30:24 +00:00
Vitaliy Ognev df5f42fb0f powkiddy-x55: new device (MR 4926) 2024-03-17 14:15:33 +01:00
Vitaliy Ognev 9740a785b3 postmarketos-ui-cage: new aport (MR 4934)
[ci:skip-build]: already built successfully in CI
2024-03-17 11:59:27 +01:00
Caleb Connolly 75f98f10e6 postmarketos-base-ui-gnome: depend on correct wallpapers (MR 4929)
The postmarketos-artwork-wallpapers-gnome package no longer exists. Now
we just depend on the postmarketos-artwork-wallpapers package.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-03-17 02:11:50 +00:00
Adam Thiede aaade24fd4 linux-postmarketos-mediatek-mt8173: upgrade to 6.8.1 (MR 4932)
[ci:skip-build]: already built successfully in CI
2024-03-16 18:37:16 +02:00
Icenowy Zheng 8e1bb335ca linux-postmarketos-qcom-sdm845: hotfixes for xiaomi-polaris (MR 4867)
Current 6.6 kernel has some features broken for xiaomi-polaris including
LCD and Wi-Fi.

Add two patches that fix these problems.

Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
[ci:skip-build]: already built successfully in CI
2024-03-16 16:55:12 +01:00
Anton Bambura dd0ca74839 linux-postmarketos-grate: enable WM8962 (MR 4931)
This sound card is used on surface rt

[ci:skip-build]: already built successfully in CI
2024-03-16 16:51:34 +01:00
Teemu Ikonen 355ecfb07b temp/gtk4.0: upgrade to 4.14.0, remove mesa-asahi workaround (MR 4927)
[ci:skip-build]: already built successfully in CI
2024-03-16 16:48:10 +01:00
Luca Weiss 2bb07cb553 linux-postmarketos-qcom-sc7280: upgrade to 6.8.0 (MR 4922)
[ci:skip-build]: already built successfully in CI
2024-03-16 16:42:04 +01:00
Stefan Hansson d92929d716 main/postmarketos-mkinitfs: remove CGO_ENABLED=0 (MR 4924)
See https://gitlab.alpinelinux.org/alpine/aports/-/issues/15809

[ci:skip-build]: already built successfully in CI
2024-03-16 14:44:26 +01:00
Stefan Hansson 85824bc1d3 main/postmarketos-mkinitfs: upgrade to 2.4.0 (MR 4924) 2024-03-16 14:44:26 +01:00
Anton Bambura 8c395c506d microsoft-surface-rt: remove deprecated deviceinfo variables (MR 4928)
[ci:skip-build]: already built successfully in CI
2024-03-16 13:50:27 +02:00
Anton Bambura 5d6d977dc8 microsoft-surface-rt: use PMOS_FORCE_PARTITION_RESIZE (MR 4928)
This will be needed for prebuilt images.
2024-03-16 13:50:27 +02:00
Anton Bambura 991e6340ad microsoft-surface-rt: use generated grub.cfg (MR 4928) 2024-03-16 13:50:27 +02:00
Anton Bambura ae3050cd42 microsoft-surface-rt: remove initfs-hook.sh (MR 4928)
This is needed for osk-sdl which we don't use anymore
2024-03-16 13:50:27 +02:00
Anton Bambura 4f29d783fe microsoft-surface-rt: remove pointercal (MR 4928)
This is needed for osk-sdl which we don't use anymore
2024-03-16 13:50:27 +02:00
Anton Bambura 50141cab00 microsoft-surface-rt: remove phosh config (MR 4928)
This should be handled automatically nowadays
2024-03-16 13:50:27 +02:00
Bart Ribbers 72357ecfb2 main/postmarketos-artwork: upgrade to Meadow wallpaper and make Plasma-compatible (MR 4805) 2024-03-15 20:06:32 +03:00
Adam Thiede d9ed2ac850 main/device-pine64-pinephone: depend on sway instead of sway-virtual (MR 4857)
[ci:skip-build]: already built successfully in CI
2024-03-15 15:18:50 +01:00
Arseniy Velikanov 3776d03f39 device-nokia-argon: embed matrix-keypad module in initramfs (MR 4923)
[ci:skip-build]: already built successfully in CI
2024-03-14 23:41:28 +01:00
FuchtelJockel 59b3c1af1d linux-postmarketos-qcom-msm8994: update dt for h815 (MR 4915)
- add volume up/down, power key
- add hall sensor
- add sd card support
- fix normal boot

[ci:skip-build]: already built successfully in CI
2024-03-14 10:51:54 -07:00
FuchtelJockel a2cd4434b6 linux-postmarketos-qcom-msm8994: upgrade to 6.8 (MR 4915) 2024-03-14 10:51:54 -07:00
raihan2000 2f1a87b362 device-lenovo-kuntao: new device (MR 4879)
[ci:skip-build]: already built successfully in CI
2024-03-14 10:47:10 -07:00
Clayton Craft cec324a838 linux-lenovo-21bx: upgrade to 6.8 (MR 4914)
- kconfig changes from `pmb kconfig migrate`
- also enabled some USB serial drivers I wanted
- Reverts 7dcd3e014aa7, fixing bluetooth connections. This commit was
  added after 6.8-rc6 and causes a regression. A revert was sent
  upstream: https://lore.kernel.org/all/ZfMStHjwtCT1SW3z@hovoldconsulting.com/

[ci:skip-build] already built successfully in CI
2024-03-14 10:32:45 -07:00
Bart Ribbers b666024ba9 Revert "main/postmarketos-ui-plasma-mobile: replace angelfish for firefox (MR 4917)" (MR 4921)
This reverts commit 5d39c25f4d.

Angelfish is available for armv7 again

[ci:skip-vercheck]
2024-03-14 14:39:36 +01:00
Bart Ribbers b56bd88949 Revert "main/postmarketos-ui-plasma-mobile: remove some packages from pmb_recommends (MR 4917)" (MR 4921)
This reverts commit e42d9f7c45.

These packages are available again on armv7
2024-03-14 14:39:36 +01:00
Statzar 19a136e4e6 xiaomi-fog: new device (MR 4911) 2024-03-14 11:23:44 +01:00
Denis Burkov 59f889ceb7 pocketbook-614-plus: new device (MR 4901)
[ci:skip-build]: already built successfully in CI
2024-03-13 21:33:28 +01:00
Jianhua Lu f133310c02 device-xiaomi-elish: disable framebuffer console output (MR 4910) 2024-03-13 20:06:39 +01:00
Jianhua Lu eb7d184a0f linux-postmarketos-qcom-sm8250: upgrade to 6.8.0 (MR 4910) 2024-03-13 20:06:39 +01:00
vipoll ee399626ea device-xiaomi-markw: remove workaround for touchscreens (MR 4902)
[ci:skip-build]: already built successfully in CI
2024-03-13 19:00:12 +01:00
Barnabás Czémán cabf69e2fb device-xiaomi-vince: add nt36xxx to initfs (MR 4913)
Add nt36xxx for initfs to support FDE.
Add missing rmi_core for rmi_i2c.
2024-03-13 18:50:01 +01:00
Barnabás Czémán 3ed0fc4c8c device-xiaomi-mido: add goodix_ts in initfs (MR 4913)
Add goodix_ts to initfs for support FDE.
2024-03-13 17:42:23 +00:00
Pablo Correa Gómez e42d9f7c45 main/postmarketos-ui-plasma-mobile: remove some packages from pmb_recommends (MR 4917)
They're not available in some architectures like x86 and armv7

[ci:skip-vercheck]
2024-03-13 00:10:38 +00:00
Pablo Correa Gómez 5d39c25f4d main/postmarketos-ui-plasma-mobile: replace angelfish for firefox (MR 4917)
Only temporarilly. This is in pmb_recommends, so does not need pkgver
bump. We can swap them back once it's built for armv7 in alpine, but
it's now blocking all MRs from merging.

[ci:skip-vercheck]
2024-03-13 00:10:34 +00:00
Oliver Smith 45acb50ffc cross/gcc-*: upgrade to 13.2.1_git20240309-r0 2024-03-12 22:44:04 +00:00
Sicelo A. Mhlongo 22dfc72571 linux-postmarketos-omap: upgrade to 6.8.0 (MR 4871)
[ci:skip-build]: already built successfully in CI
2024-03-11 14:29:23 -07:00
Sicelo A. Mhlongo c38e4643da linux-postmarketos-omap: fix version parsing logic (MR 4871)
Remove the need for an extra $_kernver variable when handling rc kernels
2024-03-11 14:29:23 -07:00
Sicelo A. Mhlongo cab1114ce2 linux-postmarketos-omap: fix n900 battery & charger (MR 4871)
Two changes are already upstream:
 * Battery: fix reporting of full state
     - https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/drivers/power/supply?id=8fbb11162504f2de167a8ccd2d2c55a849d2c5ea
 * Charger: report online state
     - https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/drivers/power/supply?h=next-20240301&id=9a451f1b028e116d037a93bf13eb8f8620994205

 * The other change (950mA charger current limit) will be included starting
   with 6.9-rc1. We previously had it in pmOS but it was dropped during the
   transition to a common OMAP kernel
    - https://lore.kernel.org/linux-devicetree/ZeBB1GYb31UAW886@tp440p.steeds.sam/T/#t
2024-03-11 14:29:23 -07:00
Anton Bambura 05fe8d4015 linux-postmarketos-mediatek-mt81xx: upgrade to 6.8_rc6_git20240228 (MR 4908)
[ci:skip-build]: already built successfully in CI
2024-03-11 13:57:36 -07:00
Arnav Singh 4d4dc1baea main/postmarketos-base-ui: fix tethering script when no UDC configured (MR 4907)
Reading the `ifname` of a gadget that has not been configured with a UDC
succeeds with the content `(unnamed net_device)` instead of failing.
So we need to explicitly check that a UDC was configured before we read
the interface name.

Ref: #2648
[ci:skip-build]: already built successfully in CI
2024-03-11 13:53:18 -07:00
Arnav Singh b0226839d4 main/postmarketos-initramfs: fix starting unudhcpd when no UDC configured (MR 4907)
Reading the `ifname` of a gadget that has not been configured with a UDC
succeeds with the content `(unnamed net_device)` instead of failing.
So we need to explicitly check that a UDC was configured before we read
the interface name.

Ref: #2648
2024-03-11 13:53:17 -07:00
Clayton Craft 2b02900d5b device-valve-jupiter: fix install, rootfs resize, etc (MR 4885)
A number of fixes:

- oem-amd-nonfree-fw no longer exists from c6306cb9b, and the fw here is
  pretty much required for the device to be useful so it's added to
  "depends=".

- drops the -vulkan subpackage since oem-amd-vulkan is doing the same
  thing.

- force rootfs partition resize on boot, else the rootfs is too small

- disable unudhcpd, usb networking isn't working, and we don't need to
  run it on any dedicated eth device

- use kernel with Valve's out of tree patches, to improve stability /
  usefulness of device

fixes #2630

[ci:skip-build] already built successfully in CI
2024-03-11 11:48:28 -07:00
Clayton Craft 46bf4695d7 linux-valve-jupiter: new aport (MR 4885)
There are some important platform drivers that Valve has not upstreamed,
that are basically required for this device to operate well. I picked
those patches from the kernel tree they released for 6.5, and rebased
them onto 6.8.
2024-03-11 10:30:25 -07:00
Henrik Grimler a2fef82d62 device-raspberry-pi3: move config.txt stuff to usercfg.txt (MR 4903)
Our config.txt is replaced (mv'ed to config.txt.old, maybe by alpine's
initramfs-generator?) and so our configuration does not have an
effect. Put our config stuff in usercfg.txt instead, which is included
by config.txt.

Fixes: https://gitlab.com/postmarketOS/pmaports/-/issues/2471
[ci:skip-build]: already built successfully in CI
2024-03-10 21:33:16 +02:00
Henrik Grimler 48a3705dfd device-raspberry-pi4: move config.txt stuff to usercfg.txt (MR 4903)
Our config.txt is replaced (mv'ed to config.txt.old, maybe by alpine's
initramfs-generator?) and so our configuration does not have an
effect. Put our config stuff in usercfg.txt instead, which is included
by config.txt.

Also update vmlinuz name, should be vmlinuz-rpi and not vmlinuz-rpi4.
2024-03-10 21:33:16 +02:00
Henrik Grimler 1c1b47d6e2 device-raspberry-pi4: depend on linux-rpi instead of linux-rpi4 (MR 4903)
Name of package in aports is linux-rpi these days. linux-rpi provides
linux-rpi4 for backward compatibility, so depending on linux-rpi4
still works, but lets use real package name so that it is easier to
find.
2024-03-10 21:33:16 +02:00
Caleb Connolly a65dc9b4c0 postmarketos-initramfs: bigger log image size (MR 4880)
Sometimes, there can be more than 10M of stuff collected for logging,
which breaks things.. bump the size to 32M which should still be small
enough for low end / old devices.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-03-10 16:10:13 +00:00
Devin Lin 8ee5516088 main/postmarketos-ui-plasma-mobile: update list of pre-installed apps (MR 4895)
[ci:skip-build]: already built successfully in CI
2024-03-10 16:06:24 +00:00
Stefan Hansson bf62d9a814 device-cutiepi-tablet: remove redundant symlinks (MR 4898)
These are now provided by linux-firmware-brcm, which subsequently causes
a conflict between these packages. Fix it by removing the symlinks from
the device package.

Closes https://gitlab.com/postmarketOS/pmaports/-/issues/2616
[ci:skip-build]: already built successfully in CI
2024-03-10 15:37:21 +00:00
Barnabás Czémán 09d189f364 motorola-potter: use msm-firmware-loader & cleanups (MR 4870)
Changes:
- use msm-firmware-loader
- use soc-qcom-msm8953
- cleanup firmware package
- add tqftpserv as a dependency for modem
- add modules-initfs with panel and touchscreen modules

[ci:skip-build]: already built successfully in CI
2024-03-10 15:30:38 +00:00
Gianluca Boiano 54986eb5eb linux-postmarketos-qcom-msm8953: upgrade to 6.7.9-r0 (MR 4899)
[ci:skip-build]: already built successfully in CI
2024-03-10 11:18:18 +01:00
Gianluca Boiano 6171147de1 soc-qcom-msm8953: update ucm configurations (MR 4899)
- add huawei-milan config:
- add Lenovo ThinkSmart View (CD-18781) config
- add Motorola G5 Plus (potter) config
2024-03-10 11:18:18 +01:00
Gianluca Boiano 08e3a394c9 main/lk2nd-msm8953: upgrade to 0.3.7 (MR 4899) 2024-03-10 11:18:18 +01:00
Bobby The Builder f630e34b60 device-pine64-pinephonepro: microphone alsa tune (MR 4630)
Since kernel 6.5 (I believe) the ucm config
   need to be adjusted because the mic way too
   sensitive. The other party hears a freight
   train riding rails that are almost
   perpendicular ...

   This is an attempt to get the mic to work nicely.
[ci:skip-build]: already built successfully in CI
2024-03-09 20:58:52 +01:00
Adam Thiede ce473309ea linux-postmarketos-mediatek-mt8173: upgrade to 6.7.9 (MR 4896)
[ci:skip-build]: already built successfully in CI
2024-03-08 09:31:26 -06:00
Arnav Singh c8e4507e5d linux-postmarketos-allwinner: upgrade to 6.7.9_git20240306 (MR 4893)
[ci:skip-build]: already built successfully in CI
2024-03-06 17:11:42 -08:00
Luca Weiss d7c64500ee modem/tqftpserv: upgrade and add patches for rsize & seek option handling (MR 4747)
Makes modem work on fairphone-fp4 (sm6350/sm7225) and fairphone-fp5
(sc7280/qcm6490)

Patches are submitted upstream:
https://github.com/andersson/tqftpserv/pull/13
[ci:skip-build]: already built successfully in CI
2024-03-06 01:50:52 +01:00
Luca Weiss 7aca98d772 cross/musl-*: upgrade to 1.2.5-r0 (MR 4890)
[ci:skip-build]: already built successfully in CI
2024-03-05 20:40:55 +01:00
Luca Weiss c8e64981b7 cross/busybox-static-*: upgrade to 1.36.1-r20 (MR 4890) 2024-03-05 20:40:55 +01:00
hitechshell 8ab166acc0 main/postmarketos-base: change order of baud rate and tty name according to upstream (MR 4889)
[ci:skip-build]: already built successfully in CI
2024-03-05 20:36:39 +05:00
Anton Bambura 0446f43875 google-snow: include usb storage modules in initramfs (MR 4881) 2024-03-05 15:47:14 +01:00
Anton Bambura aef897f44a google-peach-pit: include usb storage modules in initramfs (MR 4881) 2024-03-05 15:47:14 +01:00
Anton Bambura c37536a7c9 google-peach-pi: include usb storage modules in initramfs (MR 4881) 2024-03-05 15:47:14 +01:00
Anton Bambura 3a7ff7125d google-spring: include usb storage modules in initramfs (MR 4881) 2024-03-05 15:47:14 +01:00
Arnav Singh 2eb1a1dc2f device-google-x64cros: remove nonfree-firmware subpackages (MR 4887)
They were used to install `oem-{amd,intel}-nonfree-firmware` but they had been
merged into `oem-{amd,intel}` by c6306cb9bb
2024-03-05 15:37:59 +01:00
Devin Lin cf2026196e postmarketos-base-ui-plasma: remove unnecessary override files, and move kscreenlocker override back to plasma-mobile (MR 4882)
A bunch of override files in postmarketos-base-ui-plasma seem to have come from the plasma-mobile ui package, which probably shouldn't be on desktop and bigscreen.

With Plasma 6, a lot of the overrides are now no longer necessary for Plasma Mobile.

Situation with each file:
- 000-gschema.override - This likely was for changing maliit themes and GTK title bar layout for Plasma Mobile, maliit theming was dropped (https://github.com/maliit/keyboard/pull/108), and title bar layout is now handled within Plasma Mobile
- kdeglobals - This was for setting the look-and-feel on Plasma Mobile and default browser, it's now handled within Plasma Mobile envmanager
- kwinrc - These were settings for disabling window decorations and setting the vkbd to maliit, which is now handled in Plasma Mobile envmanager
- kscreenlockerrc - This is to autolock the screen after login (tinydm autologs in), the file was for Plasma Mobile, I don't think we want it for Desktop since SDDM is used there
2024-03-04 22:59:59 +01:00
Raymond Hackley 135a2e4904 main/postmarketos-ui-plasma-{desktop,bigscreen}: drop duplicated dependencies (MR 4876)
Drop duplicated dependencies, which have been already included
in postmarketos-base-ui-plasma:

- dnsmasq
- elogind
- elogind-openrc
- polkit-kde-agent-1
[ci:skip-build]: already built successfully in CI
2024-03-04 22:41:42 +01:00
Henrik Grimler 7852e08148 device-samsung-i9100: use ttySAC2 for getty shell (MR 4861)
Unfortunately we cannot get to a getty shell unless we also run:
  setenv SWITCH_SEL 3
from the SBL shell.  Furthermore, actually getting kernel output
requires setting console=ttySAC2,115200.

SWITCH_SEL might be related to the "MUIC" of the device, but the
variable also controls whether or not it is possible to get serial
output from pads on main board, and seems weird that those pads are
affected by MUIC (unless pads are also behind MUIC, but seems like
that would be very annoying when developing the device)

See also initial MR where mainline support for i9100 was added, where
serial output is also discussed:
https://gitlab.com/postmarketOS/pmaports/-/merge_requests/1598#how-to-get-serial-output
[ci:skip-build]: already built successfully in CI
2024-03-04 21:04:45 +01:00
Stefan Hansson 494f42defb main/postmarketos-ui-plasma-bigscreen: disable (MR 4883)
All of Plasma Bigscreen was removed from aports[1]. It will return with
KDE 6.1, according to PureTryOut. But for now, disable this package by
making it build on no architectures so that CI works again.

 [1]: https://gitlab.alpinelinux.org/alpine/aports/-/commit/4e7fa26ea26a81c59ae26d3327bbe13838f19208

[ci:skip-vercheck]: Version does not need to change when changin arches.
2024-03-04 20:52:25 +01:00
Clayton Craft 936e121615 linux-lenovo-21bx: upgrade to 6.8-rc6 (MR 4877)
[ci:skip-build]: already built successfully in CI
2024-03-03 23:03:43 +01:00
Martin Jücker d1655e9fd6 samsung-p4note: enable audio (MR 4868)
add alsa-utils package and the corresponding ucm configuration to enable
audio on the p4note
2024-03-03 08:56:39 +00:00
Arnav Singh 5ad554d68e main/linux-postmarketos-allwinner: upgrade to 6.7.7 (MR 4878)
[ci:skip-build]: already built successfully in CI
2024-03-02 18:12:33 +01:00
cnnrduncan eb32f6c41b firmware-xiaomi-surya: install venus firmware (MR 4874) 2024-03-02 03:17:42 +00:00
armel.guido 1e7a8a1556 samsung-jxelte: display, USB network and zram fixes (MR 4852)
Added postmarketos-base-downstream and msm-fb-refresher to jxelte
dependencies.
    The modules_install and firmware_install targets install binary
files as the zram files among others.
    Added the 'mfc_fw.bin' binary to be installed from the firmware
package.
    The '0002-fix-usb-gadget-random-mac.patch' patch make it possible
to get ethernet over usb, and the 'disable-charging-bootmode.patch'
avoid error messages on dmesg about 'sec_battery_probe'.

[ci:skip-build]: already built successfully in CI
2024-03-01 12:29:42 +01:00
Veronika Bušová e891b5117a samsung-a32: new device (MR 4859)
[ci:skip-build]: already built successfully in CI
2024-03-01 12:22:51 +01:00
Adam Thiede ed1447cac9 firmware-powervr-gx6250: upgrade to 1.0.6503725 and take over maintainership (MR 4872)
[ci:skip-vercheck]: due to changed versioning in upstream
2024-02-29 10:07:41 -06:00
Adam Thiede b297dde28a linux-postmarketos-mediatek-mt8173: take over maintainership (MR 4872) 2024-02-28 14:46:34 -06:00
Adam Thiede f1b991b811 device-google-oak: take over maintainership (MR 4872) 2024-02-28 14:46:10 -06:00
Adam Thiede 30053c68f2 linux-postmarketos-mediatek-mt8173: upgrade to 6.7.6 (MR 4869)
[ci:skip-build]: already built successfully in CI
2024-02-28 19:34:22 +01:00
Stefan Hansson 79a047d5ae linux-purism-librem5: upgrade to 6.6.18pureos1 (MR 4866)
[ci:skip-build]: already built successfully in CI
2024-02-27 08:39:44 -08:00
Stefan Hansson fc9c3c1fef CI: don't check for executable files in temp (MR 4858)
Most things in temp come from Alpine's aports repository, which has
different rules and does not for example mandate that files are not
marked as executable. As such, let's not require packages in there
to conform to our rules.

[ci:skip-build]: already built successfully in CI
2024-02-27 08:24:53 -08:00
Stefan Hansson 20463394b0 CI: .ecrc: Exclude temp from check (MR 4858)
Most things in temp come from Alpine's aports repository, which has
different rules and does not for example mandate that all files use tabs
instead of spaces. As such, let's not require packages in there to
conform to our rules.
2024-02-27 08:24:53 -08:00
Arnav Singh a1c6859f16 main/linux-postmarketos-allwinner: upgrade to 6.7.6 (MR 4865)
[ci:skip-build]: already built successfully in CI
2024-02-27 10:44:40 +01:00
Stefan 9531e5fe54 samsung-zerofltexx: add missing dependency (MR 4851)
Fix incomplete commit ecc91098a9 that
was missing the dependency on
"postmarketos-base-downstream-disable-udev-v4l".

Fix MR !4768

[ci:skip-build]: already built successfully in CI
2024-02-26 11:17:55 +01:00
socksinspace c134e75336 lg-vee7e: fix red screen (MR 4863)
Fixes the red screen that plagued this port from the beginning.

[ci:skip-build]: already built successfully in CI
2024-02-26 11:06:37 +01:00
Henrik Grimler 39a2a1aa5c linux-postmarketos-exynos4: update to 6.7.6 (MR 4862)
Tested on m0, i9100 and odroid-u2.

[ci:skip-build]: already built successfully in CI
2024-02-26 10:57:43 +01:00
socksinspace a2a377334b lg-vee7e: fix build, and add a new shared patch (MR 4860)
This fixes building for linux-lg-vee7e, and adds a shared patch.

The shared patch replaces the "Solaris style flags" in piggy.gzip.S

[ci:skip-build]: already built successfully in CI
2024-02-25 18:55:42 +01:00
Anton Bambura e40e525ee7 linux-postmarketos-mediatek-mt81xx: fix nvme on tomato-r1 (MR 4856)
[ci:skip-build]: already built successfully in CI
2024-02-25 15:27:14 +01:00
Clayton Craft 50bde57187 device-lenovo-21bx: update kernel cmdline params for new kernel (MR 4854)
Taken from:
https://github.com/jhovold/linux/wiki/X13s#kernel-command-line

[ci:skip-build]: already built successfully in CI
2024-02-25 13:09:32 +02:00
Clayton Craft 9ac973f072 linux-lenovo-21bx: upgrade to 6.8_rc5 (MR 4854)
kconfig migrated, and enabled a driver for a usb uart/serial adapter
that I use sometimes for debugging other devices.
2024-02-25 13:09:32 +02:00
Nikita Travkin fa3a734875 device/msm8916*: Generate extlinux.conf for armv7 devices (MR 4855)
Commit fe54a7be4 ("device/msm8916*: Generate extlinux.conf (MR 4826)")
updated most users of msm8916 kernel to generate extlinux.conf.

Unfortunately the commands used to bulk-make changes only affected
aarch64 users of the kernel package and armv7 users were missed.

Apply the same changes to all armv7 users of msm8916 kernel too.

[ci:ignore-count]
2024-02-24 16:09:24 +05:00
Henrik Grimler 886878a3d4 u-boot-starqltechn: remove unused var depends_dev (MR 4853)
$depends_dev is most likely a left over from u-boot package in aports
repo.  Remove the variable from makedepends field as it is not used.
2024-02-23 12:21:47 +00:00
Henrik Grimler 39a0eb6c01 device-samsung-m3: set myself as maintainer (MR 4850)
m3 is very similar to m0, works well with mainline, and deserves a
maintainer and some love.

[ci:skip-build]: already built successfully in CI
2024-02-23 08:00:39 +01:00
Henrik Grimler 71c5523401 firmware-samsung-midas: add bl1 blob (MR 4850)
This p4412_s_f2bl1.bin is signed by Samsung and allegedly originates
from a vendor bsp package for one of the early odroid devices based on
exynos 4412.  Unlike most bl1 blobs this one does not check the
signature of bl2, allowing us to use open bootloaders like u-boot
instead of Samsung's proprietary sboot.
2024-02-23 08:00:36 +01:00
Natalia M. Sother fa34a43cfc xiaomi-merlin: new device (MR 4808)
[ci:skip-build]: already built successfully in CI
2024-02-22 21:24:08 +01:00
Clayton Craft 94de94e598 device-generic-x86_64: install all linux-firmware by default (MR 4794)
This installs all linux-firmware by default (using pmb_recommends) in a
way that allows for users to remove extraneous fw if they want.

The old `nonfree-firmware` packages have been dropped since pmbootstrap
no longer conditionally installs these.
[ci:skip-build]: already built successfully in CI
2024-02-21 22:54:41 -08:00
Clayton Craft c6306cb9bb community/oem-*: add firmware dependencies (MR 4794) 2024-02-21 22:54:41 -08:00
Stefan Hansson ec5b59eb77 CI: check for "before wpa_supplicant" in OpenRC service files (MR 4769)
See https://gitlab.com/postmarketOS/pmaports/-/merge_requests/4564
2024-02-21 21:19:12 +01:00
M0Rf30 5fce743177 soc-qcom-msm8953: update ucm configurations (MR 4831)
- add VoiceMMode1 configuration

[ci:skip-build]: already built successfully in CI
2024-02-20 19:15:12 +01:00
M0Rf30 22ed4b23ef linux-postmarketos-qcom-msm8953: upgrade to 6.7.5-r0 (MR 4831) 2024-02-20 19:15:12 +01:00
Arnav Singh 005db0a024 main/linux-postmarketos-allwinner: update to v6.7.4 (MR 4847)
[ci:skip-build]: already built successfully in CI
2024-02-20 19:11:28 +01:00
Luca Weiss 1cbd8ecfae cross/grub-efi-x86: upgrade to 2.12-r2 (MR 4844)
[ci:skip-build]: already built successfully in CI
2024-02-19 16:24:37 -08:00
Anton Bambura c4f73b934b samsung-manta: mark as GPU accelerated (MR 4843)
See https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/61093

[ci:skip-build]: Already built successfully in CI.
2024-02-19 21:48:11 +01:00
Anton Bambura 1b585e3317 google-snow: enable GPU (MR 4843)
Enable GPU by removing all software rendering workarounds.

While at it also remove i3wm config, because it should be in ui package
if we want to make it default.

See https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/61093
2024-02-19 21:48:09 +01:00
Oliver Smith ff20316ff3 CI: allow firmware packages as deps of device pkgs (MR 4839)
We have decided to not use the non-free firmware subpackages anymore,
read the details in the blog post. Allow direct dependencies from the
device packages to the firmware packages.

Related: https://postmarketos.org/edge/2024/02/15/default-nonfree-fw/
[ci:skip-build]: already built successfully in CI
2024-02-19 21:35:33 +01:00
Anton Bambura bf944e6c06 linux-google-nyan: upgrade to 6.6.17 (MR 4840)
This switches from 6.1 LTS to 6.6 LTS.

Unfortunately, this version has regressions related to SPI (breaks keyboard)
and DRM (breaks display). Thus adding patches to revert these regressions.
Hopefully, these will be properly fixed until the next LTS release.

This also makes it pass community kconfig check again.

[ci:skip-build]: already built successfully in CI
2024-02-19 20:44:05 +02:00
Clayton Craft 6923219afc main/boot-deploy: upgrade to 0.14 (MR 4842)
Changelog:
        - Add support for Linux kernel cpu microcode loading on boot

[ci:skip-build] already built successfully in CI
2024-02-19 10:28:47 -08:00
Raymond Hackley 30d57cadf9 samsung-fortuna: drop subpackage phosh (MR 4841)
It's already well scaled in 1.5x on fortuna devices.
Drop unnecessary phoc.ini

[ci:skip-build]: Already built successfully in CI.
2024-02-19 18:02:08 +01:00
Stefan Hansson e3b8f656b4 CI: do ruff check when .gitlab-ci.yml changes (MR 4838)
To ensure that the check still works after .gitlab-ci.yml changes.
2024-02-18 19:39:20 +00:00
Stefan Hansson 8ff400c128 CI: remove unnecessary apk add (MR 4838)
This happens later in ruff.sh anyway.
2024-02-18 19:39:15 +00:00
Federico Amedeo Izzo 587b03ad73 clockworkpi-uconsole-cm4: new device (MR 4751)
[ci:skip-build]: already built successfully in CI
2024-02-18 19:08:43 +00:00
Arnav Singh 7fdf08a0ad main/postmarketos-base-ui: remove tinydm-x11 subpackage (MR 4837)
This reverts commit 518e62df34
"main/postmarketos-base-ui: add tinydm subpackage to pull in xinit (MR 4814)"

aports/tinydm now provides its own -x11 subpackage to do this since
https://gitlab.alpinelinux.org/alpine/aports/-/commit/7df6d02609d42617412267b2ea6609cc9b9e3ef3
2024-02-18 10:34:27 -08:00
Anton Bambura 2cee97a462 main/postmarketos-cros-common: remove newlines after comments (MR 4821) 2024-02-18 04:31:41 +02:00
Anton Bambura 9491099e73 main/postmarketos-cros-common: add -p to mkdir at sway subpackage (MR 4821) 2024-02-18 04:31:41 +02:00
Anton Bambura 9353628472 main/postmarketos-cros-common: add keyboard mapping (MR 4821) 2024-02-18 04:31:41 +02:00
Anton Bambura e2eb8f7927 main/cros-keyboard-map: new aport (MR 4821) 2024-02-18 04:31:40 +02:00
Clayton Craft 0aa02bb6f4 cross/gcc-*: upgrade to 13.2.1_git20231014-r1 2024-02-17 15:52:43 -08:00
Clayton Craft f3fc836ccc main/systemd-boot: enable armv7 and riscv64 support (MR 4830)
[ci:skip-build] already built successfully in CI
[ci:skip-vercheck]
2024-02-17 15:29:05 -08:00
Clayton Craft 5ef542d70e device-generic-x86_64: initfs: fix FDE w/ usb keyboard (MR 4829)
- Fixes FDE unlocking on devices with usb keyboards

- Also drops the i915 module from the initfs, this is specified by the
  oem-intel package now

[ci:skip-build] already built successfully in CI
2024-02-16 10:05:29 -08:00
Clayton Craft 65cc23c5b6 oem-intel: include i915 module in initramfs (MR 4829) 2024-02-16 10:05:29 -08:00
xtex 160c63f12c main/postmarketos-initramfs: allow redirect logs to pmsg device (MR 4800)
/dev/pmsg0 may be created by pstore driver. When it is available,
write logs into it so logs can be recovered through pstore after
a failed boot. This is useful for devices without console or hard
to get console.
2024-02-16 09:39:37 -08:00
Alexandre Messier 9298e1eb9f device-htc-m8: remove screen_[height,width] variables (MR 4799)
The "screen_height" and "screen_width" are deprecated, and can
safely be removed.

[ci:skip-build]: already built successfully in CI
2024-02-16 17:58:27 +01:00
Alexandre Messier b5a019bb00 device-htc-m8: specify 'system' as rootfs partition (MR 4799)
On HTC devices with S-On still active, the 'userdata' partition
is not writable. Change the default rootfs partition to the
'system' partition, which is writable.
2024-02-16 17:58:27 +01:00
Alexandre Messier 71015037ca device-htc-m8: remove unused entry 'external_storage_install' (MR 4799)
The device info entry 'external_storage_install' is not in use
anymore, remove it.
2024-02-16 17:58:27 +01:00
Eray Tutmaz 65ae048ae5 xiaomi-fire: new device (MR 4827)
Working: USB OTG, display, external/internal storage
2024-02-16 15:39:50 +01:00
Nikita Travkin fe54a7be49 device/msm8916*: Generate extlinux.conf (MR 4826)
Now as boot-deploy allows us to generate both boot.img and extlinux.conf
at the same time, enable generating the config for all msm8916 since it
will be used in the future lk2nd release. boot.img is still kept to keep
compatibility with current lk2nd releases and to allow system recovery
with fastboot when required.

[ci:skip-build] already built successfully in CI
[ci:ignore-count]
2024-02-15 11:34:55 -08:00
Eray Tutmaz 93f68f6253 samsung-j7y17lte: new device (MR 4502)
[ci:skip-build]: Already built successfully in CI.
2024-02-15 02:19:03 -08:00
armel.guido d33abab084 linux-samsung-jxelte: fix build removing Sun-Solaris style flag (MR 4825)
[ci:skip-build]: Already built successfully in CI.
2024-02-15 09:03:23 +01:00
Clayton Craft 4dac896160 pmos-base-ui: disable DNS filtering to work around dnsmasq hang (MR 4824)
Crappy workaround, it's better than having DNS broken...
See: https://gitlab.com/postmarketOS/pmaports/-/issues/2601

Also removed it from shellcheck, because SC doesn't like all of the
unused/unreachable things after the `exit 0`. This commit should be
reverted when the issue is actually fixed later...

[ci:skip-build] already built successfully in CI
2024-02-14 12:17:55 -08:00
Anton Bambura 70e5d9164b samsung-manta: replace openrc (MR 4823)
Closes #2600
2024-02-14 11:37:45 +02:00
Arnav Singh 5e7d14a297 main/device-pine64-pinephone: install nonfree-firmware subpackage via _pmb_recommends (MR 4822)
... instead of relying on pmb's interactive question that is being removed
in pmbootstrap!2255

[ci:skip-build]: already built successfully in CI
2024-02-13 23:07:16 +01:00
Jens Reidel bc32205ef8 xiaomi-davinci: new device (MR 4547)
Signed-off-by: Jens Reidel <adrian@travitia.xyz>

[ci:skip-build]: already built successfully in CI
2024-02-13 12:57:05 +01:00
Jens Reidel 2f24a3913e device-xiaomi-surya: various updates (MR 4547)
* Depend on the common soc-qcom-sm7150 package
* Set console=null in cmdline
* Add touchscreen firmware to initramfs
* Add required modules for touchscreen to modules-initfs
* Panel output works, drop phoc.ini
* Switch maintainer and co-maintainer
* Bump pkgrel to 1.2

Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-02-13 12:57:05 +01:00
Danila Tikhonov 6e3372541b firmware-xiaomi-surya: update firmware (MR 4547)
Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
2024-02-13 12:57:05 +01:00
Danila TikhonovandJens Reidel f5a048c777 soc-qcom-sm7150: new aport (MR 4547)
Co-authored-by: Jens Reidel <adrian@travitia.xyz>
Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-02-13 12:57:05 +01:00
Clayton Craft 5013cca632 main/postmarketos-mkinitfs: upgrade to 2.3.1 (MR 4763)
[ci:skip-build] already built successfully in CI
2024-02-12 15:42:25 -08:00
Clayton Craft a0eabc6e59 main/boot-deploy: upgrade to 0.13 (MR 4763) 2024-02-12 15:42:21 -08:00
Arnav Singh 518e62df34 main/postmarketos-base-ui: add tinydm subpackage to pull in xinit (MR 4814)
tinydm uses startx for Xorg UIs, which is provided by the xinit package.
The xinit package used to be pulled in automatically by
the xorg-server package, but this stopped being the case with
https://gitlab.alpinelinux.org/alpine/aports/-/commit/1fd2d70696b88a0605ad5771137da148c998c192
2024-02-12 11:27:33 -08:00
Sicelo A. Mhlongo bdf9697cd9 ci: perform wallpaper checks on N900 too (MR 4810)
[ci:skip-build]: already built successfully in CI
2024-02-12 19:57:26 +01:00
Sicelo A. Mhlongo fb01ee1bf9 device-nokia-n900: drop custom wallpaper config (MR 4810)
Wallpaper is now configured globally from the main `postmarketos-ui-i3wm`
package.
2024-02-12 20:17:41 +02:00
Sicelo A. Mhlongo 90b0205a90 postmarketos-ui-i3wm: configure wallpaper globally (MR 4810)
Configure wallpaper in the UI package, to accommodate changing wallpapers per
release.

The wallpaper path is adjusted in `/usr/share/i3/config.pmos`.
2024-02-12 20:14:11 +02:00
Jens Reidel 46da640a74 linux-postmarketos-qcom-sm7150: upgrade to 6.7.4 (MR 4818)
Signed-off-by: Jens Reidel <adrian@travitia.xyz>

[ci:skip-build]: Already built successfully in CI.
2024-02-12 13:36:48 +01:00
Svyatoslav Ryhel 19641651a8 linux-postmarketos-grate: upgrade to 6.6.14-lts (MR 4819)
[ci:skip-build]: already built successfully in CI

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
2024-02-12 10:42:17 +02:00
jane400 98af7cea03 main/postmarketos-base-ui: split usb-tethering into subpackage (MR 4788)
this allows to opt-out of usb-tethering on pmOS devices with
`apk add !postmarketos-base-ui-networkmanager-usb-tethering`
this is useful for developers with laptops on pmOS / dailydriving
those laptops on pmOS.

[ci:skip-build]: Already built successfully in CI.
2024-02-11 19:20:05 +01:00
Andras Sebok 0bc724b8ba samsung-j5y17lte: new device (MR 4797)
[ci:skip-build]: Already built successfully in CI.
2024-02-11 19:15:00 +01:00
WeirdTreeThing 497374e290 linux-postmarketos-mediatek-mt8183: upgrade to 6.6.16 (MR 4813)
[ci:skip-build]: already built successfully in CI
2024-02-11 19:21:08 +02:00
Arnav Singh b73b434423 main/firmware-pine64-rtl8723bt: compress with zstd (MR 4812)
This uses the same settings that aports/linux-firmware will use with
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/60282
2024-02-10 09:39:50 -08:00
Arnav Singh 9f06c2b7cc main/firmware-pine64-ov5640: compress with zstd (MR 4812)
This uses the same settings as aports/linux-firmware will use with
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/60282
2024-02-10 09:39:50 -08:00
Arnav Singh 79866613ee main/linux-postmarketos-allwinner: support zstd-compressed firmware (MR 4812)
This is in preparation for aports/linux-firmware switching to zstd compression
in https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/60282
2024-02-10 09:39:50 -08:00
Ferass El Hafidi 8ea01b4219 linux-postmarketos-amlogic: enable new community kconfig options (MR 4815)
Also enable CONFIG_FW_LOADER_COMPRESS_ZSTD for zstd compression of
firmware. See https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/60282

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>

[ci:skip-build]: Already built successfully in CI.
2024-02-10 15:51:18 +01:00
Luca Weiss 9bc99167c3 linux-postmarketos-qcom-msm8974: enable new community kconfig options (MR 4803) 2024-02-09 21:01:05 +01:00
Luca Weiss dc4582792a linux-postmarketos-qcom-sc7280: enable new community kconfig options (MR 4803) 2024-02-09 21:01:05 +01:00
Anton Bambura 9f2b1dad9f google-corsola: new device (MR 4806)
[ci:skip-build]: already built successfully in CI
2024-02-09 21:47:38 +02:00
Anton Bambura 6c2241d917 google-cherry: new device (MR 4806) 2024-02-09 21:47:37 +02:00
Anton Bambura c79b58d23c google-asurada: new device (MR 4806) 2024-02-09 21:47:37 +02:00
Anton Bambura 124fc54823 linux-postmarketos-mediatek-mt81xx: new aport (MR 4806) 2024-02-09 21:47:37 +02:00
Anton Bambura 667c5c12ac google-x64cros: add mmc_block module to initfs (MR 4811)
This is required for eMMC
2024-02-09 21:44:03 +02:00
Alexandre Marquet a0e9c2250e samsung-manta: move to community (MR 4783)
Signed-off-by: Alexandre Marquet <tb@a-marquet.fr>
2024-02-09 18:33:03 +02:00
Alexandre Marquet b9536f2889 device-samsung-manta: use max77686 RTC (MR 4783)
hwclock default configuration is to use the S3C RTC, which is mapped to
/dev/rtc0. However, reading from this clock fails with the following
kernel message:
"s3c-rtc 101e0000.rtc: hctosys: unable to read the hardware clock"
and the time as boot is then always set to 1/1/1970.

This commit change the default RTC to the MAX77686 one (mapped to
/dev/rtc1), that does not suffer from this issue.

Signed-off-by: Alexandre Marquet <tb@a-marquet.fr>
2024-02-09 18:33:03 +02:00
Alexandre Marquet 5cd58b8a6b device-samsung-manta: make wifi-macaddr.sh pass shellcheck (MR 4783)
Signed-off-by: Alexandre Marquet <tb@a-marquet.fr>
2024-02-09 18:33:02 +02:00
Alexandre Marquet de63d0f060 firmware-samsung-manta: remove .post-install script (MR 4783)
The adjustments made by this script are unnecessary now that the device
runs a mainline kernel, and more importantly the brcmfmac driver (as
opposed to the bcmdhd driver used in the vendor kernel).

Signed-off-by: Alexandre Marquet <tb@a-marquet.fr>
2024-02-09 18:33:02 +02:00
Anton Bambura 4d17876274 google-x64cros: add sdhci_pci to initfs modules (MR 4793)
This is required for eMMC on some devices
2024-02-09 11:59:01 +02:00
David Heidelberg bdea74f041 main/osk-sdl: drop (MR 4732)
Prequisite for dropping DirectFB support from SDL2 builds.

Signed-off-by: David Heidelberg <david@ixit.cz>
2024-02-07 21:44:46 +00:00
Clayton Craft 47a42c8f16 main/unl0kr: "provide" osk-sdl (MR 4732)
needed to replace osk-sdl with unl0kr on systems where osk-sdl is in the
apk world file
2024-02-07 21:44:19 +00:00
Caleb Connolly 070ae7566d main/postmarketos-initramfs: depend on mdev-conf (MR 4807)
we need this, i think it was pulled in via some dependency before.

Signed-off-by: Caleb Connolly <caleb@connolly.tech>
2024-02-07 22:41:29 +01:00
Bart Ribbers faf91a17cc main/postmarketos-base-ui-plasma: explicitly depend on -openrc subpackages and remove tinydm-set-session (MR 4802) 2024-02-07 22:39:57 +01:00
Luca Weiss 7a0c56293b device-fairphone-fp5: remove Phosh clock tweaks (MR 4804)
The latest version of phosh / gmobile knows about the notch, so remove
the gtk hacks.
2024-02-07 11:25:06 +01:00
Luca Weiss e8fd6d6635 device/*: rename partition_system to partition_rootfs (MR 4159)
With the pmbootstrap change let's change the deviceinfo variable names
to the non-deprecated version.

[ci:ignore-count]
[ci:skip-build]: already built successfully in CI
2024-02-07 09:45:34 +00:00
Oliver Smith 1547999e8f main/postmarketos-ondev: remove (MR 4801)
Remove it, as we don't build images with this anymore. A new package
will be added for ondev2 when it is ready.

Related: https://postmarketos.org/blog/2023/12/18/v23.12-release/#notable-changes
         "Installation images have been removed."
2024-02-07 09:16:00 +00:00
Bart Ribbers 268b30a555 postmarketos-base-ui-plasma: install flatpak support by default (MR 4798) 2024-02-06 16:45:15 -08:00
Bart Ribbers 45535ce780 pmos-ui-plasma-{bigscreen,desktop,mobile}: refactor to use a common base package (MR 4798)
Inspired by postmarketos-base-ui-gnome and https://gitlab.com/postmarketOS/pmaports/-/merge_requests/4756
2024-02-06 16:45:14 -08:00
Clayton Craft dc235b39a0 pmos-ui-gnome: add some useful pkgs to pmb_recmds (MR 4756) 2024-02-06 16:05:57 -08:00
Clayton Craft cc5959c275 pmos-base-ui-gnome: add gnome-maps to pmb_recmds (MR 4756) 2024-02-06 16:05:56 -08:00
Clayton Craft 2b928cfc1b pmos-base-ui-gnome: add flatpak to pmb_recommends (MR 4756) 2024-02-06 16:05:56 -08:00
Clayton Craft 75c679e139 pmos-base-ui: add flatpak subpkg to configure default repo (MR 4756) 2024-02-06 16:05:56 -08:00
Clayton Craft d680f3eb09 pmos-ui-{gnome,phosh}: Move shared pmb_rcmds to pmos-base-ui-gnome (MR 4756)
These apps are useful to have on the full GNOME desktop too, and this
removes the need to duplicate package lists across UI meta packages that
depend on the base gnome UI package.
2024-02-06 16:05:56 -08:00
Clayton Craft 6191625ab9 pmos-ui-{gnome,phosh}: move kgx/gnome-console to pmb_recmds (MR 4756)
The package name has changed so the new name, gnome-console, is used
instead.
2024-02-06 16:05:56 -08:00
Clayton Craft 87e9476dbd pmos-ui-{gnome,phosh}: move shared depends to pmos-base-ui-gnome (MR 4756) 2024-02-06 16:05:56 -08:00
Clayton Craft c251612916 pmaports.cfg: set pmbootstrap_min_version=2.2.0 (MR 4756)
This version includes fixes for pmb_recommends, to be used by package
changes in pmaports.
2024-02-06 16:05:55 -08:00
Clayton Craft d3ed7fe428 main/postmarketos-initramfs: don't fallback looking for /boot when given uuid or path (MR 4775)
fixes #2562

[ci:skip-build] already built successfully in CI
2024-02-06 14:24:35 -08:00
Clayton Craft 2adefeb206 main/postmarketos-initramfs: tweak msg when boot or root not found (4775) 2024-02-06 14:24:15 -08:00
Anton Bambura d2dec46275 main/postmarketos-initramfs: wait for boot partition (MR 4775)
Some devices take time to initialize storage, e.g. Qualcomm laptops
using ADSP need to load firmware firstly, and initramfs script does
not always manage to mount boot partition in time.

Unfortunately, there is no reliable way to reproduce the issue, but
this patch should fix cases like this.
2024-02-06 14:21:15 -08:00
Pablo Correa Gómez 4456938022 temp/gtk4.0: upgrade to 4.13.6 (MR 4773)
[ci:skip-build]: Already built successfully in CI.
2024-02-06 21:18:49 +01:00
Ferass El Hafidi 3db1f266d0 linux-postmarketos-amlogic: upgrade to 6.7.2 (MR 4765)
This commit also removes librecomputer-solitude/alta device tree patches
as they're now upstream.

Signed-off-by: Ferass El Hafidi <vitali64pmemail@protonmail.com>
[ci:skip-build]: already built successfully in CI
2024-02-06 20:35:44 +01:00
Luca Weiss 53ca7c81f2 linux-purism-librem5: enable new community kconfig options (MR 4795)
[ci:skip-build] # too many packages
2024-02-06 18:53:59 +00:00
Luca Weiss 47c14fb985 linux-postmarketos-allwinner: enable new community kconfig options (MR 4795) 2024-02-06 18:53:59 +00:00
Luca Weiss 74078919a7 linux-postmarketos-rockchip: enable new community kconfig options (MR 4795) 2024-02-06 18:53:59 +00:00
Luca Weiss 76ebc6d9f7 linux-postmarketos-qcom-sm6350: enable new community kconfig options (MR 4795) 2024-02-06 18:53:59 +00:00
Luca Weiss e5c3b4bf8d linux-postmarketos-qcom-sdm845: enable new community kconfig options (MR 4795) 2024-02-06 18:53:59 +00:00
Luca Weiss 42180738d3 linux-postmarketos-qcom-sc7180: enable new community kconfig options (MR 4795) 2024-02-06 18:53:59 +00:00
Luca Weiss 786927289f linux-postmarketos-qcom-msm8996: enable new community kconfig options (MR 4795) 2024-02-06 18:53:59 +00:00
Luca Weiss 6cfe80db0b linux-postmarketos-qcom-msm8953: enable new community kconfig options (MR 4795) 2024-02-06 18:53:59 +00:00
Luca Weiss ce4e4532f9 linux-postmarketos-qcom-msm8916: enable new community kconfig options (MR 4795) 2024-02-06 18:53:59 +00:00
Luca Weiss 6c30cb42a4 linux-postmarketos-omap: enable new community kconfig options (MR 4795) 2024-02-06 18:53:59 +00:00
Luca Weiss dad552d553 linux-postmarketos-mediatek-mt8183: enable new community kconfig options (MR 4795) 2024-02-06 18:53:59 +00:00
Luca Weiss 065394f12b linux-postmarketos-mediatek-mt8173: enable new community kconfig options (MR 4795) 2024-02-06 18:53:58 +00:00
Luca Weiss 5f8ae165f8 linux-postmarketos-grate: enable new community kconfig options (MR 4795) 2024-02-06 18:53:58 +00:00
Luca Weiss b7427191bf linux-postmarketos-exynos5: enable new community kconfig options (MR 4795) 2024-02-06 18:53:58 +00:00
Luca Weiss ac788b8f3d linux-postmarketos-exynos4: enable new community kconfig options (MR 4795) 2024-02-06 18:53:58 +00:00
Luca Weiss 037d77840b linux-pine64-pinephonepro: enable new community kconfig options (MR 4795) 2024-02-06 18:53:58 +00:00
Luca Weiss 25bab38b7f linux-google-veyron: enable new community kconfig options (MR 4795) 2024-02-06 18:53:54 +00:00
Arnav Singh 03940b180a main/crust: remove (MR 4785)
The community/crust package in aports is newer, and
its crust-pinephone subpackage is equivalent to this one.
2024-02-06 08:45:17 -08:00
Arnav Singh a12bbf1057 main/u-boot-pinephone: fix build to work with crust from aports (MR 4785)
aports' community/crust package generates a crust-pinephone subpackage
that is equivalent to pmaports' current main/crust package, that is,
the crust-pinephone subpackage contains the SCP firmware binary needed for
the PinePhone. The aports crust package itself only contains a LICENSE file.
Furthermore, aports' package updated to v0.6 recently, so apk would pick it
over pmaports' v0.5 package, which would cause the build to fail because of
the missing SCP firmware binary.

This change fixes the build of u-boot-pinephone by switching the dependency to
the aports crust-pinephone package.
2024-02-06 08:44:31 -08:00
Oliver Smith ee4e52206a oem-amd: firmware files + modules -> initfs-extra (MR 4796)
Move the files to initramfs-extra, so the initramfs is not too big for
ChromeOS devices. I had initially added this to initramfs, because
otherwise the graphics on my Thinkpad L14 would not come up. But I
verified that it also works with having it in initramfs-extra.

Fixes: #2578
2024-02-06 15:46:59 +00:00
Luca Weiss 5df7206d7a oem-{amd,intel}: move to community (MR 4791)
There's now packages in community depending on this. Move it.

[ci:skip-build]: already built successfully in CI
2024-02-06 02:01:18 +01:00
Luca Weiss 4321701042 device-google-x64cros: add nonfree-firmware subpackages (MR 4791)
This is required by oem-amd/oem-intel dependencies.
2024-02-06 01:52:38 +01:00
Luca Weiss 91475c1230 device-qemu-amd64: move kernel-none subpackage as last (MR 4790)
Currently the none kernel gets selected as default, move it to last so
that kernel-lts gets selected by default.

[ci:skip-vercheck]
2024-02-06 01:02:25 +01:00
Oliver Smith 3661a84936 cross/musl: upgrade to 1.2.4_git20230717-r6 2024-02-05 23:27:09 +00:00
Richard Acayan f43d13e14b testing/linux-postmarketos-qcom-sdm670: upgrade to v6.7.2 (MR 4777) 2024-02-05 23:09:29 +01:00
Nikita Travkin e5bfcbba1a soc-qcom-msm8916: update UCM configurations (MR 4787)
- Update mic jack name to the upstream one

[ci:skip-build]: Already built successfully in CI.
2024-02-05 15:27:54 +01:00
Arnav Singh e0dbd3c78d testing/u-boot-*: remove spurious crust dependency from AMLogic devices (MR 4786)
crust has no use for non-Allwinner devices.
2024-02-04 00:02:29 -08:00
Anton Bambura 16e1b20d8a device-google-x64cros: use oem-intel and oem-amd packages (MR 4779)
Inspired by generic-x86_64

Also, add myself as co-maintainer
2024-02-02 20:13:06 +01:00
adamthiede 8c5e77ae65 linux-postmarketos-mediatek-mt8173: upgrade to 6.7.3 (MR 4784)
[ci:skip-build] Built fine on Gitlab CI already
2024-02-02 21:05:10 +03:00
Raymond Hackley 3bbb83f3cc samsung-a6plte: fix panel display (MR 4562) 2024-02-02 16:40:33 +01:00
Vishal Balasubramanian 696e202443 samsung-degaswifi: new device (MR 4767)
[ci:skip-build]: already built successfully in CI
2024-02-02 13:24:24 +01:00
Luca Weiss cab106e84e linux-postmarketos-qcom-msm8226: upgrade to 6.7.2 (MR 4781)
Fix USB gadget regression of 6.7.0 by merging -stable.

[ci:skip-build]: already built successfully in CI
2024-02-01 18:34:54 +01:00
M0Rf30 453e1e28fa linux-postmarketos-qcom-msm8953: upgrade to 6.7.2-r0 (MR 4764)
[ci:skip-build]: already built successfully in CI
2024-02-01 17:52:10 +01:00
Alexandre Marquet 136e5b89f3 samsung-manta: add co-maintainer (MR 4782)
Signed-off-by: Alexandre Marquet <tb@a-marquet.fr>

[ci:skip-build]: Already built successfully in CI.
2024-02-01 13:54:07 +01:00
Alexandre Marquet 91d7f6f41d samsung-manta: remove unnecessary modules-load.conf (MR 4782)
Signed-off-by: Alexandre Marquet <tb@a-marquet.fr>
2024-02-01 13:42:47 +01:00
Ferass El Hafidi ad7eb63663 treewide: replace f_'s personal email with his @postmarketos.org one (MR 4778)
[ci:skip-vercheck]

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
2024-01-31 18:58:26 +01:00
Anton Bambura 72a051e125 samsung-manta: add initramfs modules (MR 4780)
This is required for splash screen and FDE

[ci:skip-vercheck]
2024-01-31 20:38:44 +03:00
Anton Bambura 9c12b1bcb1 samsung-manta: enable automatic kernel upgrades (MR 4780) 2024-01-31 20:38:41 +03:00
Anton Bambura fbd73fcec1 samsung-manta: remove irrelevant deviceinfo variables (MR 4780) 2024-01-31 20:38:37 +03:00
Anton Bambura b24616a252 samsung-manta: take maintainership (MR 4780)
This device has no maintainers specified, and, though I did not port this
device, I have one and I maintain linux-postmarketos-exynos5, so it is
probably okay for me to take maintainership of it.
2024-01-31 20:38:30 +03:00
Clayton Craft 136baec915 device-valve-jupiter: depend on oem-amd (MR 4728)
[ci:skip-build] already built successfully in CI
2024-01-30 12:47:18 -08:00
Clayton Craft c6b6bd45ef device-generic-x86_64: add non-free fw subpackage (MR 4728) 2024-01-30 12:47:17 -08:00
Clayton Craft feb09aa916 oem-intel: add non-free fw subpackage (MR 4728) 2024-01-30 12:47:17 -08:00
Clayton Craft e988ace3cb oem-amd: add non-free fw subpackage (MR 4728) 2024-01-30 12:47:17 -08:00
Henrik Grimler 5e0e66568f device-samsung-chagallwifi: set myself as sole maintainer (MR 4721)
David has been inactive for quite a while.

[ci:skip-build] already built successfully in CI
[ci:skip-vercheck]
2024-01-30 12:43:10 -08:00
Henrik Grimler f66cdf089c device-samsung-klimtlte: update kernel statuses (MR 4721)
Wifi is broken in downstream, but works in mainline.
2024-01-30 12:26:22 -08:00
Henrik Grimler f21c045b68 device-samsung-chagallwifi: update kernel statuses (MR 4721)
Wifi is broken in downstream, but works in mainline.
2024-01-30 12:26:22 -08:00
Henrik Grimler fe0edb541b linux-samsung-klimtlte: add patches to fix compilation issues (MR 4721)
Required after some somewhat recent gcc update.
2024-01-30 12:26:22 -08:00
Henrik Grimler 20e286aa77 linux-samsung-chagallwifi: add patches to fix compilation issues (MR 4721)
Required after some somewhat recent gcc update.
2024-01-30 12:26:21 -08:00
Henrik Grimler 89d074c762 samsung-klimtlte: enable FIMC IS with downstream kernel (MR 4721)
As for several other exynos devices we need to disable the
video4linux's udev rule OR disable FIMC IS and patch kernel to fix
build error without FIMC IS.

Add dependency on postmarketos-base-downstream-disable-udev-v4l to
override the v4l rule with symlink to /dev/null.  We can then drop
FIMC IS patch and keep kernel config more similar to original one.
2024-01-30 12:26:21 -08:00
Henrik Grimler 7d3a0bb977 samsung-chagallwifi: enable FIMC IS with downstream kernel (MR 4721)
As for several other exynos devices we need to disable the
video4linux's udev rule OR disable FIMC IS and patch kernel to fix
build error without FIMC IS.

Add dependency on postmarketos-base-downstream-disable-udev-v4l to
override the v4l rule with symlink to /dev/null.  We can then drop
FIMC IS patch and keep kernel config more similar to original one.
2024-01-30 12:26:21 -08:00
Henrik Grimler 6b48aee5cd firmware-samsung-klimt: add wifi firmware for mainline (MR 4721)
We take the nvram file from downstream vendor repo, and depend on
linux-firmware-brcm for the brcm blob.
2024-01-30 12:26:21 -08:00
Henrik Grimler bc15225b03 firmware-samsung-klimt: switch to latest commit (MR 4721) 2024-01-30 12:26:21 -08:00
Henrik Grimler 7af2394e0c samsung-klimtlte: select firmware pkg variant in device package (MR 4721)
We want both klimtwifi and klimtlte to be able to depend on
firmware-samsung-klimt, for both their downstream and mainline kernel
variants.

Previously we used install_if like:
install_if="device-samsung-klimtlte-kernel-mainline" which will only
work for klimtlte and not klimtwifi.  Instead we add two nonfree
subpackages to the device packages that install_if's depending on
kernel choice.
2024-01-30 12:26:20 -08:00
Henrik Grimler a078aa3c62 firmware-samsung-chagall: add wifi firmware for mainline (MR 4721)
We take the nvram file from downstream vendor repo, and depend on
linux-firmware-brcm for the brcm blob.
2024-01-30 12:26:20 -08:00
Henrik Grimler a21a732983 firmware-samsung-chagall: add more downstream firmware blobs (MR 4721)
Add more wifi blobs, which might be used by different device models,

Also switch to another, better maintained, source repo.
2024-01-30 12:26:20 -08:00
Henrik Grimler 654b9dc36e samsung-chagallwifi: select firmware pkg variant in device package (MR 4721)
We want both chagallwifi and chagalllte to be able to depend on
firmware-samsung-chagall, for both their downstream and mainline
kernel variants.

Previously we used install_if like:
install_if="device-samsung-chagallwifi-kernel-mainline"
which will only work for chagallwifi and not chagalllte.  Instead we
add two nonfree subpackages to the device packages that install_if's
depending on kernel choice.
2024-01-30 12:26:20 -08:00
Henrik Grimler 4c89adb645 firmware-samsung-chagall: depend on firmware-samsung-exynos5420.. (MR 4721)
-downstream, when using downstream kernel.
2024-01-30 12:26:20 -08:00
Henrik Grimler f3f459db51 firmware-samsung-klimt: dep on firmware-samsung-exynos5420-.. (MR 4721)
-downstream, when using downstream kernel.
2024-01-30 12:26:20 -08:00
Henrik Grimler 124b9d677e firmware-samsung-exynos5420-downstream: add package (MR 4721)
Provides firmware files that are common for all Samsung devices based
on Exynos 5420 when using Samsung's vendor kernel.

For now the package contains mfc, sound and bluetooth firmware. Sound
and bluetooth do not work at the moment, but lets package the required
files anyways.
2024-01-30 12:26:20 -08:00
Arnav Singh 05a3c22d81 main/linux-postmarketos-allwinner: update to v6.7.2 (MR 4770)
Patch `0015-usb-gadget-u_ether-Re-attach-netif-device-to-mirror.patch` is
now in upstream.

[ci:skip-build]: already built successfully in CI
2024-01-29 21:22:03 +01:00
Anton Bambura 532f3962a5 temp/xf86-video-opentegra: remove (MR 4771) 2024-01-29 13:39:03 +01:00
Anton Bambura 9a5f7177b1 main/asus-transformer-blobtools: remove (MR 4772)
Devices that had been using it currently require users to install
U-Boot, so this package is not used and not needed anymore
2024-01-29 11:18:48 +01:00
Henrik Grimler 5e7ab9f35f device-lg-mako: avoid overriding udev v4l rule in /etc (MR 4768)
Postmarketos-base-downstream-disable-udev-v4l symlinks
/lib/udev/rules.d/60-persistent-v4l.rules to /dev/null, so depend on
this package instead.  The dependency is added to downstream kernel
subpackage, as issue *should* only affect downstream kernel.

[ci:ignore-count]: many device packages updated at the same time
[ci:skip-build]: already built successfully in CI
2024-01-28 22:15:12 +01:00
Henrik Grimler 60c8f7a54f device-sony-yuga: avoid overriding udev v4l rule in /etc (MR 4768)
Postmarketos-base-downstream-disable-udev-v4l symlinks
/lib/udev/rules.d/60-persistent-v4l.rules to /dev/null, so depend on
this package instead.  The dependency is added to downstream kernel
subpackage, as issue *should* only affect downstream kernel.
2024-01-28 22:15:12 +01:00
Henrik Grimler 02de87f414 device-sony-nicki: avoid overriding udev v4l rule in /etc (MR 4768)
Postmarketos-base-downstream-disable-udev-v4l symlinks
/lib/udev/rules.d/60-persistent-v4l.rules to /dev/null, so depend on
this package instead.  The dependency is added to downstream kernel
subpackage, as issue *should* only affect downstream kernel.
2024-01-28 22:15:11 +01:00
Henrik Grimler 82591a8c25 device-jolla-sbj: avoid overriding udev v4l rule in /etc (MR 4768)
Depend on postmarketos-base-downstream-disable-udev-v4l instead, which
symlinks /lib/udev/rules.d/60-persistent-v4l.rules to /dev/null.
2024-01-28 22:15:11 +01:00
Henrik Grimler 93789b8362 device-htc-k2ul: avoid overriding udev v4l rule in /etc (MR 4768)
Depend on postmarketos-base-downstream-disable-udev-v4l instead, which
symlinks /lib/udev/rules.d/60-persistent-v4l.rules to /dev/null.
2024-01-28 22:15:11 +01:00
Henrik Grimler 10280b22e2 device-htc-protou: avoid overriding udev v4l rule in /etc (MR 4768)
Depend on postmarketos-base-downstream-disable-udev-v4l instead, which
symlinks /lib/udev/rules.d/60-persistent-v4l.rules to /dev/null.
2024-01-28 22:15:11 +01:00
Henrik Grimler b9c053c51e device-motorola-titan: avoid overriding udev v4l rule in /etc (MR 4768)
Depend on postmarketos-base-downstream-disable-udev-v4l instead, which
symlinks /lib/udev/rules.d/60-persistent-v4l.rules to /dev/null.
2024-01-28 22:15:11 +01:00
Henrik Grimler 55f0db994b device-motorola-thea: avoid overriding udev v4l rule in /etc (MR 4768)
Depend on postmarketos-base-downstream-disable-udev-v4l instead, which
symlinks /lib/udev/rules.d/60-persistent-v4l.rules to /dev/null.
2024-01-28 22:15:11 +01:00
Henrik Grimler dd04440b64 device-samsung-gts210lte: avoid overriding udev v4l rule in /etc (MR 4768)
Depend on postmarketos-base-downstream-disable-udev-v4l instead, which
symlinks /lib/udev/rules.d/60-persistent-v4l.rules to /dev/null.
2024-01-28 22:15:11 +01:00
Henrik Grimler 4e9a885f22 device-xiaomi-santoni: avoid overriding udev v4l rule in /etc (MR 4768)
Depend on postmarketos-base-downstream-disable-udev-v4l instead, which
symlinks /lib/udev/rules.d/60-persistent-v4l.rules to /dev/null.
2024-01-28 22:15:11 +01:00
Henrik Grimler 6fde810437 device-samsung-s3ve3g: avoid overriding udev v4l rule in /etc (MR 4768)
Depend on postmarketos-base-downstream-disable-udev-v4l instead, which
symlinks /lib/udev/rules.d/60-persistent-v4l.rules to /dev/null.
2024-01-28 22:15:11 +01:00
Henrik Grimler c63c313996 device-samsung-kminilte: avoid overriding udev v4l rule in /etc (MR 4768)
Depend on postmarketos-base-downstream-disable-udev-v4l instead, which
symlinks /lib/udev/rules.d/60-persistent-v4l.rules to /dev/null.
2024-01-28 22:15:11 +01:00
Henrik Grimler ecc91098a9 device-samsung-zerofltexx: avoid overriding udev v4l rule in /etc (MR 4768)
Depend on postmarketos-base-downstream-disable-udev-v4l instead, which
symlinks /lib/udev/rules.d/60-persistent-v4l.rules to /dev/null.
2024-01-28 22:15:11 +01:00
Henrik Grimler f278d1f50f device-samsung-zeroltexx: avoid overriding udev v4l rule in /etc (MR 4768)
Depend on postmarketos-base-downstream-disable-udev-v4l instead, which
symlinks /lib/udev/rules.d/60-persistent-v4l.rules to /dev/null.
2024-01-28 22:15:11 +01:00
Henrik Grimler 11b6021a21 device-samsung-v1awifi: avoid overriding udev v4l rule in /etc (MR 4768)
Depend on postmarketos-base-downstream-disable-udev-v4l instead, which
symlinks /lib/udev/rules.d/60-persistent-v4l.rules to /dev/null.
2024-01-28 22:15:11 +01:00
Henrik Grimler 4a1db82b65 device-sharp-shl22: avoid overriding udev v4l rule in /etc (MR 4768)
Depend on postmarketos-base-downstream-disable-udev-v4l instead, which
symlinks /lib/udev/rules.d/60-persistent-v4l.rules to /dev/null.
2024-01-28 22:15:11 +01:00
Henrik Grimler 4face185f1 device-samsung-j7eltetmo: avoid overriding udev v4l rule in /etc (MR 4768)
Depend on postmarketos-base-downstream-disable-udev-v4l instead, which
symlinks /lib/udev/rules.d/60-persistent-v4l.rules to /dev/null.
2024-01-28 22:15:10 +01:00
Henrik Grimler bc573e7d96 device-samsung-treltexx: avoid overriding udev v4l rule in /etc (MR 4768)
Depend on postmarketos-base-downstream-disable-udev-v4l instead, which
symlinks /lib/udev/rules.d/60-persistent-v4l.rules to /dev/null.
2024-01-28 22:15:10 +01:00
Henrik Grimler 43f788fa2f main/postmarketos-base-downstream: add disable-udev-v4l subpackage (MR 4768)
Which replaces /lib/udev/rules.d/60-persistent-v4l.rules (from the
eudev package) with a symlink to /dev/null.  Around 20 devices need
this to fix a kernel panic with downstream kernel when starting udev.
Issue happens due to that camera firmware is missing and/or not loaded
properly.
2024-01-28 22:15:10 +01:00
Oliver Smith e08332313d channels.cfg: mark v23.06 as unsupported 2024-01-28 19:06:21 +00:00
Oliver Smith 7b8f969222 cross/grub-efi-x86: upgrade to 2.12-r1 2024-01-28 18:55:30 +00:00
Oliver Smith 8e8c795b79 cross/busybox-static-*: upgrade to 1.36.1-r19 2024-01-28 18:55:23 +00:00
Willow Barraco f0a67a15e3 main/postmarketos-ui-sxmo-de-*: change maintainership (MR 4762)
[ci:skip-build]: already built successfully in CI
2024-01-26 13:47:53 +01:00
Luca Weiss 9c79574bd9 device-fairphone-fp5: add ALSA UCM for DisplayPort audio (MR 4761)
Since audio over DisplayPort (over USB-C) is supported in the kernel,
add a UCM config to complete support.

To be clear, this might not work out of the box yet, I hope it'll start
working better when another audio route (speaker or microphone) is
working from kernel side.

[ci:skip-build]: Already built successfully in CI.
2024-01-26 12:28:31 +01:00
Luca Weiss a794a8481c device-fairphone-fp5: set gpu_accelerated flag, add uim-selection dep (MR 4761)
Since the GPU is supported since a while enable
deviceinfo_gpu_accelerated to let pmbootstrap show UIs like phosh.

Also with modem working with patched tqftpserv, we need the
msm-modem-uim-selection dependency, so add that as well.
2024-01-26 12:28:30 +01:00
Luca Weiss 10545000d4 linux-postmarketos-qcom-sc7280: enable useful kernel config options (MR 4761)
* BINFMT_MISC
* CIFS
* LEDS_TRIGGER_PATTERN
* NETFILTER_XT_MATCH_STATISTIC
* PM_WAKELOCKS
* SND_USB_AUDIO
* UHID
* USB_CONFIGFS_NCM
2024-01-26 12:28:30 +01:00
André Apitzsch f8da0d6d3b device-motorola-peregrine: add mainline kernel configuration (MR 4753)
[ci:skip-build]: Already built successfully in CI.
2024-01-26 12:25:38 +01:00
Luca Weiss eb0ff6b46c device-htc-memul: add GPU support, ADSP & modem firmware (MR 4745)
We also kind of drop support for downstream, if somebody's interested in
this please revive it.

[ci:skip-build]: already built successfully in CI
2024-01-26 10:11:50 +00:00
Luca Weiss 0e7f627641 firmware-htc-memul: move firmware to device-specific subdirectory (MR 4745)
In mainline Linux these paths will be used, move the firmware packaging
there. By doing this we drop downstream support. Support could be
restored by adding some symlinks in a downstream-specific package if
required.

We also start squashing the firmware into .mbn format with pil-squasher.

For now we keep the files in _wififiles in their old location, I'm not
sure yet where they need to go since I didn't have wcnss working on
mainline yet.
2024-01-26 10:11:50 +00:00
Luca Weiss 28d7319042 linux-postmarketos-qcom-msm8226: upgrade to 6.7.0 (MR 4745)
Manual config changes:
* QCOM_BAM_DMUX=y
2024-01-26 10:11:50 +00:00
Stefan Hansson d6cfda9df9 linux-purism-librem5: upgrade to 6.6.13pureos1 (MR 4759)
[ci:skip-build]: already built successfully in CI
2024-01-26 01:29:55 +01:00
Clayton Craft f0ab570655 temp/gtk4.0: workaround for mesa-asahi being used (MR 4760)
Fixes: issue 2561
[ci:skip-build]: already built successfully in CI
2024-01-25 22:46:32 +00:00
Teemu Ikonen b5bb90e3d3 temp/gtk4.0: upgrade to 4.12.5 (MR 4754)
Remove post-install etc. scripts.

[ci:skip-build]: Already built successfully in CI.
2024-01-24 17:06:24 +01:00
Arnav Singh ffd803d1dd main/postmarketos-base-ui: read USB network interface name from configfs gadget (MR 4750)
The configfs gadget can provide the actual interface name, which may not be
the default "usb0" since another gadget driver might have claimed "usb0".
This code is based on the `start_unudhcpd` function in `init_functions.sh`

[ci:skip-build] already built successfully in CI
2024-01-23 12:21:24 -08:00
Arnav Singh 2a0fab1a77 main/postmarketos-initramfs: support reading USB network UDC name from deviceinfo (MR 4750)
Before this change the script assumed that the device has only one UDC.
However it is possible for a device to have multiple UDCs, in which case
the deviceinfo is the appropriate place to specify which one should be used.
This change adds an optional deviceinfo variable `deviceinfo_usb_network_udc`
to specify the UDC that should be used.

Also, before this change the script assumed the USB network interface name is
"usb0". But other gadget drivers like `g_cdc` can claim USB interfaces
before the initramfs script gets around to creating one for USB networking,
so the interface might be "usb1" or something else. The configfs gadget itself
can provide the actual interface name, so this change makes the script
use that.
2024-01-23 12:21:24 -08:00
Pablo Correa Gómez cf69326222 device/*: rebuild all devices (MR 4551)
[ci:ignore-count]
2024-01-22 19:32:30 +01:00
Pablo Correa Gómez 0a95f6ac31 main/devicepkg-dev: machine-info: remove manufacturer from HARDWARE_MODEL (MR 4551) 2024-01-22 19:32:30 +01:00
Luca Weiss 439227770f linux-postmarketos-qcom-sm6350: enable CONFIG_RMNET (MR 4749)
Required for getting mobile data up, otherwise ModemManager fails to
connect with:

  Status     |                connected: no
             |    connection error name: org.freedesktop.ModemManager1.Error.MobileEquipment.Unknown
             | connection error message: failed to create net link for device: failed to add link for device: Could not allocate link: Failed to add link with mux id 1: Netlink message with transaction 27 failed
[ci:skip-build]: already built successfully in CI
2024-01-21 19:10:06 +01:00
Luca Weiss 0274ee9ea0 linux-postmarketos-qcom-sc7280: enable CONFIG_RMNET (MR 4749)
Required for getting mobile data up, otherwise ModemManager fails to
connect with:

  Status     |                connected: no
             |    connection error name: org.freedesktop.ModemManager1.Error.MobileEquipment.Unknown
             | connection error message: failed to create net link for device: failed to add link for device: Could not allocate link: Failed to add link with mux id 1: Netlink message with transaction 27 failed
2024-01-21 18:02:48 +01:00
Duje Mihanović 90fe9b508a linux-samsung-coreprimevelte: upgrade to 6.7.0 (MR 4746)
Rewritten PMIC driver, power key and vibration support are also added in
this upgrade.
2024-01-21 13:17:46 +01:00
M0Rf30 badfe24eb6 linux-postmarketos-qcom-msm8953: upgrade to 6.6.12-r0 (MR 4744)
[ci:skip-build]: already built successfully in CI
2024-01-19 22:38:55 +01:00
Clayton Craft bf26469fd7 main/postmarketos-mkinitfs: add /lib/firmware to list of trigger dirs (MR 4742)
In many cases, when fw is installed in /lib/firmware, some of it ends up
in the initramfs. In those situations, mkinitfs should run so that the
initramfs gets the latest fw. This will result in mkinitfs possibly
running in cases where it doesn't matter (i.e. device has fw in
/lib/firmware but none is used in the initramfs), but I think the
trade-off is worth it.

This also breaks the triggers= line into multiple lines so that it's
easier to review/maintain. We can't prepend whitespace on these lines
since the apkbuild parser expects dirs to be separated by ":"
2024-01-19 18:51:50 +01:00
Stefan Hansson 73b1a493b9 ci: replace Flake8 with Ruff (MR 4741)
See similar patch in pmbootstrap for rationale:
https://gitlab.com/postmarketOS/pmbootstrap/-/commit/27618d5ffdb0b6cbf9471dc01a2ed14e1655ced0

W504 ignore is removed as the rule does not exist in Ruff. But, since it
was ignored anyway, this does not matter.
2024-01-19 18:06:09 +01:00
Stefan Hansson 57aa208435 ci: switch Alpine from latest stable to Edge (MR 4741)
We use this in pmbootstrap, and it is currently necessary to use Ruff.
Issue about moving Ruff to community:
https://gitlab.alpinelinux.org/alpine/aports/-/issues/15693
2024-01-19 18:05:58 +01:00
Clayton Craft b5b7983ade ci/grep.sh: always run all tests (MR 4740)
fixes #2543
2024-01-19 17:02:21 +01:00
Richard Acayan 4472e41952 google-sargo: drop msm-firmware-loader dependency (MR 4730)
Previously, the modem firmware would be loaded from the modem partition
using this firmware loader. As of the 6.5.4 SDM670 kernel upgrade, the
firmware is installed and loaded from the firmware package. Drop the
dependency on the msm-firmware-loader, which is now unused.
2024-01-19 16:43:46 +03:00
Clayton Craft a19105ce45 device-lenovo-21bx: add 'quiet' kernel cmdline option (MR 4739)
hides some early EFI-related kernel messages from the console
2024-01-19 12:38:50 +02:00
Clayton Craft 2ad0d8c4dc linux-lenovo-21bx: use zinstall (MR 4739) 2024-01-19 12:38:50 +02:00
Mohd Bilal 7a68a913e1 samsung-j6lte: new device (MR 4658)
[ci:skip-build]: Already built successfully in CI.
2024-01-18 23:25:52 +01:00
Stefan Hansson d8b97a440f CI: check for wallpaper being set in device packages (MR 4738)
We do not want this going forward as we will be changing the wallpaper
on a bi-yearly basis and we do not want to have perform shotgun surgery
every time we do so.

[ci:skip-build]: already built successfully in CI
2024-01-18 22:39:49 +01:00
WeirdTreeThing 1f86677848 alsa-ucm-conf-google-kukui: improvements for mt8183 ucm (MR 4733)
Krane doesn't have a headphone jack, which caused audio server issues
for me. Add a check to only enable the headphone and headset mic device
on non-Krane boards. Also improve the formatting and remove
ChromeOS-specifc options.

[ci:skip-build]: already built successfully in CI
2024-01-18 19:21:25 +01:00
QC8086 def7d29774 pine64-pinebookpro: change maintainership (MR 4736)
I would like to maintain this device to keep it in community.

[ci:skip-vercheck]
[ci:skip-build]: already built successfully in CI
2024-01-18 19:18:19 +01:00
Nia Espera ee009c6305 device-oneplus-lemonade: remove lemonadep bits and stop using empty dtbo (MR 4729)
[ci:skip-build]: already built successfully in CI
2024-01-18 19:06:44 +01:00
Nia Espera e3fd584570 devices/testing: add device-oneplus-lemonadep (MR 4729) 2024-01-18 19:06:44 +01:00
Nia Espera b76664e25b linux-postmarketos-qcom-sm8350: upgrade to v6.7 (MR 4729)
Also change source to point to shared sm8350 mainline kernel fork
2024-01-18 19:06:44 +01:00
Nia Espera b7361b32b6 soc-qcom-sm8350: add necessary packages as depends (MR 4729) 2024-01-18 19:06:37 +01:00
Nia Espera 34eedabcf4 firmware-oneplus-lemonade: add more firmware (MR 4729) 2024-01-18 19:06:04 +01:00
Clayton Craft 25557afcb5 linux-lenovo-21bx: build specific commit, not branch archive (MR 4735)
I was building a branch archive previously, which meant that rebuilding
would fail if someone pushed to the branch upstream (the archive
checksum would change)... so I've reverted back to building from a
specific commit for now.

pkgrel was increased because this commit includes a couple of
audio-related patches that weren't included in the previous packaging of
the 6.7 branch.

[ci:skip-build] Already build-tested on Gitlab CI
2024-01-18 08:34:01 +03:00
Stefan Hansson 9ef583c26a linux-postmarketos-stericsson: upgrade to 6.7.0 (MR 4443)
[ci:skip-build]: already built successfully in CI
2024-01-17 00:31:44 +01:00
mulingLHY 1ad76090c0 linux-xiaomi-kenzo: fix kernel-compile error by remove Sun-Solaris style flag (MR 4715)
[ci:skip-build]: Already built successfully in CI.
2024-01-15 10:11:51 +01:00
Alexey Minnekhanov df6a692c8f xiaomi-clover: add Mi Pad 4 Plus variation (MR 4702)
Similarly to how it was done for xiaomi-beyllium with varying
display panels, add kernel variant for clover-plus.
Mi Pad 4 Plus is very very similar to regular Mi Pad 4,
but it has different panel and different touchscreen.
Therefore it uses different device tree in kernel - and it
is the only changed line in deviceinfo file.

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>

[ci:skip-build]: Already built successfully in CI.
2024-01-15 10:04:43 +01:00
Alexey Minnekhanov 99e263a632 linux-postmarketos-qcom-sdm660: upgrade to 6.7.0 (MR 4702)
New devices:
* Xiaomi Mi Pad 4 Plus
  - simpledrm framebuffer
  - touchscreen
  - battery (fuelgauge, charger)
  - radios (modem, Wi-Fi, Bluetooth)

Changes to existing devices:
 * lavender:
   - radios (modem, Wi-Fi, Bluetooth)
   - battery (fuelgauge, charger)
 * tulip:
   - touchscreen
   - fixed vol-down button
   - Bluetooth

Fixes: https://gitlab.com/postmarketOS/pmaports/-/issues/1580
Fixes: https://gitlab.com/postmarketOS/pmaports/-/issues/2501

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
2024-01-15 10:04:41 +01:00
Clayton Craft 74f7f0bc37 device-lenovo-21bx: add dependencies for enabling wwan / mobile data (MR 4718)
In order to make it work properly, the fcc unlock script from MM should
also be enabled... This info will be added to the device's wiki page for
now since upstream MM discourages distros from enabling these unlock
scripts by default...

fixes https://gitlab.com/postmarketOS/pmaports/-/issues/2489

[ci:skip-build]: Already built successfully in CI.
2024-01-15 10:01:40 +01:00
M0Rf30 f18fa3eabc linux-postmarketos-qcom-msm8953: enable USB sound card module (MR 4724)
Closes #2531

[ci:skip-build]: Already built successfully in CI.
2024-01-15 09:40:37 +01:00
Oliver Smith f6b8f9cf82 oem-amd: put amdgpu module + fw into initramfs (MR 4723)
Add the amdgpu kernel module and its firmware, as it is required for
e.g. the Thinkpad L14 to have any graphical output on boot.
2024-01-14 19:32:22 +00:00
Oliver Smith 44989cfce7 device-generic-x86_64: modules-initfs: add nvme (MR 4723) 2024-01-14 19:31:06 +00:00
Luca Weiss 3136aa71f5 linux-postmarketos-qcom-msm8974: upgrade to 6.7.0 (MR 4717)
[ci:skip-build] Already built fine on Gitlab CI
2024-01-14 17:09:04 +03:00
Barnabás Czémán 4b6128436d xiaomi-daisy: add goodix_ts for modules-initfs (MR 4722) 2024-01-14 02:17:35 +01:00
Henrik Grimler e63aeaf15e device-samsung-m3: set getty and flash kernel on update (MR 4719)
Serial shell on ttySAC2, and kernel upgrades, work well for i9305/m3,
just like for i9300/m0.

[ci:skip-build]: Already built successfully in CI.
2024-01-13 18:23:03 +01:00
Eli Hersha 2ac7ccbdb4 amazon-sheldon: new device (MR 4698) 2024-01-13 07:11:00 +03:00
Stefan Hansson a66a9051a5 device-motorola-titan: remove Weston configuration (MR 4713)
The fbdev backend was removed with Weston 10 which has been out for a
good while now. As such, it doesn't matter whether Xwayland works or not
since Weston won't work at all --- the DRM backend, which is what would
get used instead of fbdev with this removed, won't work on downstream
kernels like the one used by this device.

[ci:ignore-count]
[ci:skip-build]: Already built successfully in CI.
2024-01-12 13:07:30 +01:00
Stefan Hansson f3e4de82e4 device-motorola-thea: remove Weston configuration (MR 4713)
The fbdev backend was removed with Weston 10 which has been out for a
good while now. As such, it doesn't matter whether Xwayland works or not
since Weston won't work at all --- the DRM backend, which is what would
get used instead of fbdev with this removed, won't work on downstream
kernels like the one used by this device.
2024-01-12 13:07:24 +01:00
Stefan Hansson d0e7661a0b device-raspberry-pi3: remove Weston configuration (MR 4713)
The only relevant backend available for Weston nowadays is the DRM one, so
remove this unnecessary config.
2024-01-12 13:07:24 +01:00
Stefan Hansson ef341cc29a device-motorola-def: remove Weston configuration (MR 4713)
There is no dri-backend.so. I don't know if this ever existed. May have
been a typo where the author meant to type drm-backend.so. The DRM
backend should be the default anyway, so just remove it instead of
fixing what may have been a typo.
2024-01-12 13:07:23 +01:00
Stefan Hansson 7f47a0c6ea device-pine64-dontbeevil: remove Weston configuration (MR 4713)
The fbdev backend was removed with Weston 10 which has been out for a
good while now. This device should be able to use the DRM backend
anyway given that it uses the A64 SoC which also e.g. the PinePhone
uses.

Additionally, the comment about Xwayland being broken contradicts the
actual configuration file where Xwayland actually is being enabled
(xwayland=true), so this shouldn't be causing any regressions even if it
actually is broken.
2024-01-12 13:07:23 +01:00
Stefan Hansson ebee4faa5f device-sony-sirius: remove Weston configuration (MR 4713)
The only relevant backend available for Weston nowadays is the DRM one, so
remove this unnecessary config.
2024-01-12 13:07:23 +01:00
Stefan Hansson d5c4408c7b device-oneplus-bacon: remove Weston configuration (MR 4713)
The fbdev backend was removed with Weston 10 which has been out for a
good while now. As such, Weston won't work with the downstream port
anyway which is likely where Xwayland supposedly was broken. As such,
remove this unnecessary configuration file.
2024-01-12 13:07:23 +01:00
Stefan Hansson 429b500ac0 device-nokia-n9: remove Weston configuration (MR 4713)
The only relevant backend available for Weston nowadays is the DRM one, so
remove this unnecessary config.
2024-01-12 13:07:23 +01:00
Stefan Hansson 2b8838f467 device-asus-flo: remove Weston configuration (MR 4713)
The only relevant backend available for Weston nowadays is the DRM one, so
remove this unnecessary config.
2024-01-12 13:07:23 +01:00
Stefan Hansson 4dce6d1e7d device-qemu-riscv64: remove Weston configuration (MR 4713)
The only relevant backend available for Weston nowadays is the DRM one, so
remove this unnecessary config.
2024-01-12 13:07:23 +01:00
Stefan Hansson 16ce2825dc device-qemu-amd64: remove Weston configuration (MR 4713)
The only relevant backend available for Weston nowadays is the DRM one, so
remove this unnecessary config.
2024-01-12 13:07:23 +01:00
Stefan Hansson 62407d486f device-qemu-aarch64: remove Weston configuration (MR 4713)
The only relevant backend available for Weston nowadays is the DRM one, so
remove this unnecessary config.
2024-01-12 13:07:22 +01:00
Stefan Hansson 12078dbcad device-samsung-i9100: remove Weston configuration (MR 4713)
The only relevant backend available for Weston nowadays is the DRM one, so
remove this unnecessary config.
2024-01-12 13:07:22 +01:00
Anton Bambura 713c8d261d nvida-tegra-armv7: disable fastboot (MR 4705)
We did set these variables, so it is possible to flash boot and root
partitions separately for booting with stock partition table. This
is useful for U-Boot as secondary bootloader. But it's not good for
U-Boot as primary bootloader because the resulting images have boot
and root partitions separated, so users have to create partitions
themselves and this is very confusing.

I'm suggesting to disable it in favor of doing U-Boot as primary
bootloader, this may be harder for users, but it needs to be done
only once, and this way is more fancy and is supported on more
devices than secondary bootloader.

If someone still wants to use this port with U-Boot as secondary
bootloader they can do "pmbootstrap install --split" and
"pmbootstrap export" to get 2 separate partitions to flash.

[ci:skip-build]: Already built successfully in CI.
2024-01-11 21:57:09 +01:00
mulingLHY 9147366ec8 firmware-xiaomi-kenzo: fix slow boot caused by venus firmware (MR 4699)
Package venus firmware to fix:
"subsys-pil-tz 1de0000.qcom,venus: venus: Failed to locate venus-v1.mdt"
causing 30 seconds delay on boot.
2024-01-11 16:51:19 +03:00
Svyatoslav Ryhel 942664fd0b firmware-nvidia-tegra-armv7: add missing bcm4330 sdio and Ouya bluetooth firmware (MR 4711)
bcm4330 has 2 wifi sdio firmwares, one with IEEE 802.11а support
and one without. One without was missing which caused some
devices to have wireless network issues.

Additionally Oyua specific bluetooth firmware was found and it
is included as well.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>

[ci:skip-build]: Already built successfully in CI.
2024-01-11 12:40:21 +01:00
Arnav Singh fc849e370f CODEOWNERS: add Arnavion for pine64-pinephone and shutdown-clear-rtc-wakealarm (MR 4709)
[ci:skip-build]: Already built successfully in CI.
2024-01-11 12:37:42 +01:00
Fiona Klute 4c3bf9ce07 linux-postmarketos-allwinner: Import patch for u_ether regression (MR 4706)
This fixes the USB networking issue, see:
https://patchwork.kernel.org/project/linux-usb/patch/20231218164532.411125-2-mailingradian@gmail.com/

Thanks to Alexey Min to pointing me at the patch!

[ci:skip-build]: Already built successfully in CI.
2024-01-11 12:35:12 +01:00
Fiona Klute 79d3be2826 linux-postmarketos-allwinner: upgrade to 6.7.0 (MR 4706)
Fixes #2349. Patches refreshed because some didn't apply when I built
directly from local repo and tried to import them with "git am".

Known issue: NetworkManager fails to assign IP to usb0, I had to
assign it manually to use USB networking.
2024-01-11 12:34:48 +01:00
Jianhua Lu 255aff57de firmware-xiaomi-elish: upgrade to 20240109 (MR 4700)
[ci:skip-build]: Already built successfully in CI.
2024-01-11 12:28:50 +01:00
Jianhua Lu 259c733e71 linux-postmarketos-qcom-sm8250: upgrade to 6.7.0 (MR 4700) 2024-01-11 12:28:48 +01:00
Jakob Hauser c467b2ae99 main/postmarketos-ui-xfce4: tooltips & onboard mouse keys (MR 4708)
- Hide tooltips by workaround (opacity and font size)
- Enable mouse key buttons on onboard keyboard by default (eases
  right-clicking)
2024-01-11 08:02:30 +03:00
Jakob Hauser f6e8a7beb9 main/postmarketos-ui-mate: make use of install option -t in APKBUILD (MR 4708) 2024-01-11 08:02:26 +03:00
Hagen Fritsch f46c5d762e samsung-manta: fix the battery readout driver (MR 4701)
In the mainline ds2482 onewire kernel driver, active_pullup defaults to
1 which is setting the APU register. This caused the connection to the
ds2784_battery slave to be unstable and flaky. In the AOSP manta project
this flag is set to 0 as well.
2024-01-11 07:57:08 +03:00
2066 changed files with 187962 additions and 26409 deletions

No files matched your search

+108
View File
@@ -0,0 +1,108 @@
#!/bin/sh -e
# Description: update a list of packages
# Options: native slow
# https://postmarketos.org/pmb-ci
if [ "$(id -u)" = 0 ]; then
set -x
apk add git openssh-keygen grep curl
wget "https://gitlab.com/postmarketOS/ci-common/-/raw/master/install_pmbootstrap.sh"
sh ./install_pmbootstrap.sh
exec su "${TESTUSER:-pmos}" -c "sh -e $0 $*"
fi
git config --global --add safe.directory "$CI_PROJECT_DIR"
git config --global user.name "postmarketOS CI"
# pmaports
# The email address is the username of the bot (from the GitLab group members page) @noreply.gitlab.com
git config --global user.email "project_8065375_bot_13cf44ca4cd2c938688af6e3d500d9cb@noreply.gitlab.com"
# For testing with pmaports-autoupdate-test repo
# git config --global user.email "project_58002231_bot_be2d4e9e7aba929855726aafe12940d6@noreply.gitlab.com"
# Configure SSH key for signing
mkdir -p ~/.ssh
cp "$PMAPORTS_SSH_KEY" ~/.ssh/pmaports
chmod 600 ~/.ssh/pmaports
# Generate public key from private
ssh-keygen -t ecdsa -f ~/.ssh/pmaports -y > ~/.ssh/pmaports.pub
git config --global gpg.format ssh
git config --global user.signingkey ~/.ssh/pmaports.pub
export PYTHONUNBUFFERED=1
PKGS="$1"
if [ -z "$PKGS" ]; then
echo "Usage: $0 <packages>"
exit 1
fi
echo "Checking for new versions of packages: $PKGS"
update_linux_next() {
# Check for the latest -next tag
local latest
local pkgver
local new_pkgver
# Get the current version
# shellcheck source=/dev/null
pkgver=$(. device/testing/linux-next/APKBUILD; echo "$pkgver")
curl -s "https://gitlab.com/linux-kernel/linux-next/-/tags?format=atom" | grep -oP "(?<=<title>)[^<]+" | tail -n +2 > /tmp/tags
latest=$(grep -v "v" < /tmp/tags | head -n1)
if [ -z "$latest" ]; then
echo "Failed to get the latest -next tag"
exit 1
fi
echo "Latest -next tag: $latest"
new_pkgver=$(grep "v" < /tmp/tags | head -n1)
if [ -z "$new_pkgver" ]; then
echo "Failed to get the latest mainline tag from atom feed, reusing current pkgver"
new_pkgver="${pkgver%_git*}"
else
echo "Latest mainline tag: $new_pkgver"
# new_pkgver is like 'v6.9-rc1' but we want '6.9'
new_pkgver=$(echo "$new_pkgver" | sed -e 's/^v//' -e 's/-.*//')
fi
new_pkgver="${new_pkgver}_git${latest#*-}"
if [ "$pkgver" = "$new_pkgver" ]; then
echo "No new version of linux-next"
exit 0
fi
echo "Updating linux-next from $pkgver to $new_pkgver..."
sed -i -e "s/pkgver=$pkgver/pkgver=$new_pkgver/" device/testing/linux-next/APKBUILD
# Update the checksums
pmbootstrap checksum linux-next
# Commit
git add device/testing/linux-next/APKBUILD
git commit -S -m "linux-next: upgrade to $latest"
}
# For testing
#git remote add gitlab https://pmos-ci:"$PMAPORTS_PUSH_TOKEN"@gitlab.com/postmarketOS/pmaports-autoupdate-test.git
git remote add gitlab https://pmos-ci:"$PMAPORTS_PUSH_TOKEN"@gitlab.com/postmarketOS/pmaports.git
git fetch gitlab
git checkout --track gitlab/master
for pkg in $PKGS; do
case "$pkg" in
linux-next)
update_linux_next
;;
*)
echo "Unknown package: $pkg"
exit 1
;;
esac
done
git push
+42 -6
View File
@@ -2,6 +2,8 @@
# Description: check various bad patterns with grep
# https://postmarketos.org/pmb-ci
exit_code=0
if [ "$(id -u)" = 0 ]; then
set -x
apk -q add grep
@@ -12,7 +14,7 @@ fi
if grep -qr '(CHANGEME!)' -- *; then
echo "ERROR: Please replace '(CHANGEME!)' in the following files:"
grep --color=always -r '(CHANGEME!)' -- *
exit 1
exit_code=1
fi
# DTBs installed to /usr/share/db
@@ -23,7 +25,7 @@ if grep -qr 'INSTALL_DTBS_PATH="$pkgdir"/usr/share/dtb' device/; then
echo 'ERROR: Files that need fixing:'
# shellcheck disable=SC2016
grep --color=always -r 'INSTALL_DTBS_PATH="$pkgdir"/usr/share/dtb' device/
exit 1
exit_code=1
fi
@@ -31,24 +33,58 @@ fi
if grep -qr '/etc/postmarketos-mkinitfs' -- *; then
echo "ERROR: Please replace '/etc/postmarketos-mkinitfs' with '/usr/share/mkinitfs' in the following files:"
grep --color=always -r '/etc/postmarketos-mkinitfs' -- *
exit 1
exit_code=1
fi
if grep -qr '/usr/share/postmarketos-mkinitfs' -- *; then
echo "ERROR: Please replace '/usr/share/postmarketos-mkinitfs' with '/usr/share/mkinitfs' in the following files:"
grep --color=always -r '/usr/share/postmarketos-mkinitfs' -- *
exit 1
exit_code=1
fi
# Direct sourcing of deviceinfo
if grep --exclude='source_deviceinfo' -qEr 'source /etc/deviceinfo|\. /etc/deviceinfo' -- *; then
echo 'ERROR: Please source the source_deviceinfo script instead of sourcing deviceinfo directly!'
grep --color=always --exclude='rootfs-usr-share-misc-source_deviceinfo' -Er 'source /etc/deviceinfo|\. /etc/deviceinfo' -- *
exit 1
exit_code=1
fi
# Removed deviceinfo variable
if grep -qr 'deviceinfo_modules_initfs' -- *; then
echo 'ERROR: deviceinfo_modules_initfs variable has been removed. Use "modules-initfs" file instead.'
grep --color=always -r 'deviceinfo_modules_initfs' -- *
exit 1
exit_code=1
fi
POSTMARKETOS_WALLPAPER_PATH='/usr/share/wallpapers/postmarketos.jpg'
# The excluded devices are "grandfathered in". New devices should not be added here.
# See https://gitlab.com/postmarketOS/pmaports/-/issues/2529
if grep -qr $POSTMARKETOS_WALLPAPER_PATH \
--exclude-dir='device-pine64-pinetab' \
--exclude-dir='device-oneplus-kebab' \
--exclude-dir='device-xiaomi-willow' \
-- device; then
echo "ERROR: Please don't include configuration files that set the default wallpaper in device-specific packages!"
grep --color=always -r $POSTMARKETOS_WALLPAPER_PATH \
--exclude-dir='device-pine64-pinetab' \
--exclude-dir='device-oneplus-kebab' \
--exclude-dir='device-xiaomi-willow' \
-- device
exit_code=1
fi
OPENRC_SERVICE_FILES=$(find . -name '*.initd')
# shellcheck disable=SC2086
if grep -q 'before wpa_supplicant' $OPENRC_SERVICE_FILES; then
echo "ERROR: Please use 'before wlan' in OpenRC service files! This ensures compatibility with both wpa_supplicant and iwd."
grep --color=always 'before wpa_supplicant' $OPENRC_SERVICE_FILES
exit_code=1
fi
if grep -qEr 'PMOS_NO_OUTPUT_REDIRECT' -- *; then
echo "ERROR: PMOS_NO_OUTPUT_REDIRECT is deprecated and doesn't do anything."
echo "Please remove it from the following files:"
grep --color=always -Er 'PMOS_NO_OUTPUT_REDIRECT' -- *
exit_code=1
fi
exit "$exit_code"
+1
View File
@@ -6,6 +6,7 @@
if [ "$(id -u)" = 0 ]; then
set -x
export PMBOOTSTRAP_TAG=master
wget "https://gitlab.com/postmarketOS/ci-common/-/raw/master/install_pmbootstrap.sh"
sh ./install_pmbootstrap.sh
exec su "${TESTUSER:-pmos}" -c "sh -e $0"
+44 -2
View File
@@ -16,8 +16,7 @@ import pmb.parse
import pmb.parse.version
import pmb.helpers.logging
def get_package_version(args, package, revision, check=True):
def get_package_contents(args, package, revision, check=True):
# Redirect stderr to /dev/null, so git doesn't complain about files not
# existing in upstream branch for new packages
stderr = None
@@ -40,6 +39,15 @@ def get_package_version(args, package, revision, check=True):
handle.write(apkbuild_content)
parsed = pmb.parse.apkbuild(tempdir + "/APKBUILD", False, False)
return parsed
def get_package_version(args, package, revision, check=True):
""" returns version in the format "{pkgver}-r{pkgrel}", or None if no
matching package is found """
parsed = get_package_contents(args, package, revision, check)
if parsed is None:
return None
return parsed["pkgver"] + "-r" + parsed["pkgrel"]
@@ -112,6 +120,40 @@ def check_versions(args, packages):
print(f"- {package}: {head} (HEAD) (new package)")
continue
# Check pkgver follows expected format for device packages
pkgver = head.rpartition('-r')[0]
if package.startswith('device-') and not pkgver.isdigit():
print(f" - {package}: invalid pkgver \"{pkgver}\""
"See: https://wiki.postmarketos.org/wiki/Packaging#device_packages_and_other_packages_without_sources")
error = True
# Additional checks for device packages
if package.startswith('device-'):
head_parsed = get_package_contents(args, package, "HEAD", False)
upstream_parsed = get_package_contents(args, package, commit, False)
# checksums did not change
if head_parsed["sha512sums"] == upstream_parsed["sha512sums"]:
# Check that pkgver did not change
if head_parsed["pkgver"] != upstream_parsed["pkgver"]:
print(f" - {package}: pkgver should not change when package source checksums did not change."
"See: https://wiki.postmarketos.org/wiki/Packaging#device_packages_and_other_packages_without_sources")
error = True
# We do not check for a bumped pkgrel, because not everything
# needs it, e.g: pmb_recommends
# checksums changed
else:
# Check that pkgrel was reset to 0
if head_parsed["pkgrel"] != "0":
print(f" - {package}: pkgrel should be 0 when package source checksums change."
"See: https://wiki.postmarketos.org/wiki/Packaging#device_packages_and_other_packages_without_sources")
error = True
# Check that pkgver was changed
if head_parsed["pkgver"] == upstream_parsed["pkgver"]:
print(f" - {package}: pkgver should change when package source checksums change."
"See: https://wiki.postmarketos.org/wiki/Packaging#device_packages_and_other_packages_without_sources")
error = True
# Compare head and upstream versions
result = pmb.parse.version.compare(head, upstream)
if result != 1:
+10 -31
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# Copyright 2023 Oliver Smith
# Copyright 2024 Oliver Smith
# SPDX-License-Identifier: GPL-3.0-or-later
import glob
@@ -10,42 +10,25 @@ import subprocess
# Same dir
import common
# pmbootstrap
import add_pmbootstrap_to_import_path # noqa
import pmb.parse
import pmb.helpers.logging
def check_kconfig(args, pkgnames):
def check_kconfig(pkgnames):
last_failed = None
for i in range(len(pkgnames)):
pkgname = pkgnames[i]
print(f" ({i+1}/{len(pkgnames)}) {pkgname}")
apkbuild_path = pmb.helpers.pmaports.find(args, pkgname)
apkbuild = pmb.parse._apkbuild.apkbuild(f"{apkbuild_path}/APKBUILD")
p = subprocess.run(["pmbootstrap", "kconfig", "check", pkgname],
check=False)
options = []
for opt in apkbuild["options"]:
if "pmb:kconfigcheck" in opt:
options += [opt]
if len(options):
options.sort()
print(f'options="{" ".join(options)}"')
if "!pmb:kconfigcheck" in apkbuild["options"]:
print("skipped (!pmb:kconfigcheck)")
continue
if not pmb.parse.kconfig.check(args, pkgname, details=True):
if p.returncode:
last_failed = pkgname
return last_failed
def show_error(last_failed):
print("")
print("---")
print("")
print("Please adjust your kernel config. This is required for getting your"
" patch merged.")
@@ -59,6 +42,8 @@ def show_error(last_failed):
print("Run this check again (on all kernels you modified):")
print(" pmbootstrap ci kconfig")
print("")
print("---")
print("")
if __name__ == "__main__":
@@ -70,13 +55,7 @@ if __name__ == "__main__":
print("No kernels changed in this branch")
exit(0)
# Initialize args (so we can use pmbootstrap's kconfig parsing)
sys.argv = ["pmbootstrap", "kconfig", "check"]
args = pmb.parse.arguments()
pmb.helpers.logging.init(args)
print("Running kconfig check on changed kernels...")
last_failed = check_kconfig(args, pkgnames)
last_failed = check_kconfig(pkgnames)
if last_failed:
show_error(last_failed)
+1 -1
View File
@@ -106,7 +106,7 @@ def main():
# Ask to adjust the wiki
if error:
print("*** Wiki check failed!")
print("Thank you for porting postmarketOS to a new device! \o/")
print("Thank you for porting postmarketOS to a new device! \\o/")
print("")
print("Now it's time to add some documentation:")
print("1) Create a device specific wiki page as described here:")
+27 -21
View File
@@ -59,6 +59,11 @@ def get_upstream_branch():
channels.cfg from master to retrieve the upstream branch.
:returns: branch name, e.g. "v20.05" """
# Prefer gitlab CI target branch name if it's set (i.e. running in gitlab CI)
if target_branch := os.environ.get("CI_MERGE_REQUEST_TARGET_BRANCH_NAME"):
return target_branch
global cache
if "upstream_branch" in cache:
return cache["upstream_branch"]
@@ -130,27 +135,28 @@ def get_changed_packages_sanity_check(count):
return
branch = get_upstream_branch()
print()
print("ERROR: Too many packages have changed!")
print()
print("This is a sanity check, so we don't end up building packages that")
print("have not been modified. CI won't run for more than three hours")
print("anyway.")
print()
print("Your options:")
print("a) If you *did not* modify everything listed above, then rebase")
print(f" your branch on the official postmarketOS/pmaports.git {branch}")
print(" branch. Feel free to ask in the chat for help if you need any.")
print("b) If you *did* modify all these packages, and you assume that")
print(" they will build within one hour: skip this sanity check by")
print(" adding '[ci:ignore-count]' to the commit message (then force")
print(" push).")
print("c) If you *did* modify all these packages, and you are sure that")
print(" they won't build in time, please add '[ci:skip-build]' to the")
print(" commit message (then force push). Make sure that all packages")
print(" build with 'pmbootstrap build --strict'!")
print()
print("Thank you and sorry for the inconvenience.")
print(f"""
ERROR: Too many packages have changed!
This is a sanity check, so we don't end up building packages that
have not been modified. CI won't run for more than three hours
anyway.
Your options:
a) If you *did not* modify everything listed above, then rebase
your branch on the official postmarketOS/pmaports.git {branch}
branch. Feel free to ask in the chat for help if you need any.
b) If you *did* modify all these packages, and you assume that
they will build within one hour: skip this sanity check by
adding '[ci:ignore-count]' to the commit message of the last
commit in the merge request (then force push).
c) If you *did* modify all these packages, and you are sure that
they won't build in time, please add '[ci:skip-build]' to the
commit message (then force push). Make sure that all packages
build with 'pmbootstrap build --strict'!
Thank you and sorry for the inconvenience.
""")
sys.exit(1)
+2 -2
View File
@@ -4,11 +4,11 @@
if [ "$(id -u)" = 0 ]; then
set -x
apk -q add py3-flake8
apk -q add ruff
exec su "${TESTUSER:-build}" -c "sh -e $0"
fi
set -x
# shellcheck disable=SC2046
flake8 --ignore E501,F401,E722,W504,W605 $(find .ci -name '*.py')
ruff check --ignore E501,F401,E722,W605 $(find .ci -name '*.py')
-3
View File
@@ -15,17 +15,14 @@ fi
# Shell: shellcheck
sh_files="
./main/mdss-fb-init-hack/mdss-fb-init-hack.sh
./main/osk-sdl/unlock.sh
./main/postmarketos-base/rootfs-usr-lib-firmwareload.sh
./main/postmarketos-base-ui/rootfs-usr-lib-NetworkManager-dispatcher.d-50-dns-filter.sh
./main/postmarketos-base-ui/rootfs-usr-lib-NetworkManager-dispatcher.d-50-tethering.sh
./main/postmarketos-installkernel/installkernel-pmos
./main/postmarketos-initramfs/init.sh
./main/postmarketos-initramfs/init_functions.sh
./main/postmarketos-mkinitfs-hook-debug-shell/20-debug-shell.sh
./main/postmarketos-mkinitfs-hook-debug-shell/setup_usb_storage.sh
./main/postmarketos-mkinitfs-hook-netboot/netboot.sh
./main/postmarketos-update-kernel/update-kernel.sh
./main/ttyescape/*.post-install
./main/unl0kr/unlock.sh
./main/msm-firmware-loader/*.post-install
@@ -34,7 +34,7 @@ def path_pmbootstrap():
return directory
# Symlink not set up properly
print("ERROR: 'pmbootstrap' is not a symlink to pmbootstrap.py")
print("ERROR: unable to find path to pmbootstrap.py. Try setting 'PMBOOTSTRAP_CMD'.")
sys.exit(1)
+75 -20
View File
@@ -1,30 +1,32 @@
#!/usr/bin/env python3
# Copyright 2021 Oliver Smith
# Copyright 2024 Oliver Smith
# SPDX-License-Identifier: GPL-3.0-or-later
import fnmatch
import glob
import os
import pytest
import sys
import os
import add_pmbootstrap_to_import_path
import pmb.parse
import pmb.parse._apkbuild
# Cache for codeowners_parse
codeowners_parsed = {}
# Don't complain if these nicknames are the only maintainers of an APKBUILD,
# because they are actually a group of people
gitlab_groups = [
"@sdm845-mainline",
]
def device_dependency_check(apkbuild, path):
""" Raise an error if a device package has a dependency that is not allowed
(e.g. because it should be in a subpackage instead). """
for depend in apkbuild["depends"]:
if depend == "linux-firmware-none":
continue
if (depend.startswith("firmware-") or
depend.startswith("linux-firmware")):
raise RuntimeError("Firmware package '" + depend + "' found in"
" depends of " + path + ". These go into"
" subpackages now, see"
" <https://postmarketos.org/devicepkg>.")
if depend == "mesa-dri-gallium":
raise RuntimeError(f"{path}: mesa-dri-gallium shouldn't be in"
" depends anymore (see pmaports!3478)")
@@ -46,7 +48,7 @@ def test_aports_device(args):
raise RuntimeError("Missing 'postmarketos-base' in depends of " +
path)
# Depends: Must not have firmware packages
# Depends: Must not have specific packages
for depend in apkbuild["depends"]:
device_dependency_check(apkbuild, path)
@@ -59,14 +61,6 @@ def test_aports_device(args):
if "!archcheck" not in apkbuild["options"]:
raise RuntimeError("!archcheck missing in options= line: " + path)
if deviceinfo["flash_kernel_on_update"] == "true" \
and "postmarketos-update-kernel" not in apkbuild["depends"]:
raise RuntimeError(
"Deviceinfo indicates this device supports automatic kernel"
" flashing on update, but doesn't depend on"
" 'postmarketos-update-kernel'. Please add the missing"
" dependency.")
def test_aports_device_kernel(args):
"""
@@ -108,23 +102,84 @@ def test_aports_device_kernel(args):
path)
def codeowners_parse(args):
global codeowners_parsed
pattern_prev = None
with open(f"{args.aports}/CODEOWNERS") as h:
for line in h:
line = line.rstrip()
if not line or line.startswith("#"):
continue
pattern_nicks = line.split()
assert len(pattern_nicks) > 1, f"CODEOWNERS line without nicks: {line}"
pattern = pattern_nicks[0]
if pattern.endswith("/"):
pattern += "*"
nicks = []
for word in pattern_nicks[1:]:
if word.startswith("@"):
nicks += [word]
codeowners_parsed[pattern] = nicks
if pattern_prev:
assert pattern_prev <= pattern, "CODEOWNERS: please order entries alphabetically"
pattern_prev = pattern
def require_enough_codeowners_entries(args, path, maintainers):
"""
:param path: full path to an APKBUILD (e.g. /home/user/…/APKBUILD)
:param maintainers: list of one or more maintainers
"""
path = os.path.relpath(path, args.aports)
nicks = set()
for pattern, pattern_nicks in codeowners_parsed.items():
if fnmatch.fnmatch(path, pattern):
for nick in pattern_nicks:
nicks.add(nick)
print(f"{path}:")
print(f" APKBUILD: {maintainers}")
print(f" CODEOWNERS: {nicks}")
if len(nicks) < len(maintainers):
for nick in nicks:
if nick in gitlab_groups:
print(f" -> {nick} is a group")
return
assert len(nicks) >= len(maintainers), \
f"{path}: make sure that each maintainer is listed in CODEOWNERS!"
def test_aports_maintained(args):
"""
Ensure that aports in /device/{main,community} have "Maintainer:" and
"Co-Maintainer:" (only required for main) listed in their APKBUILDs.
"Co-Maintainer:" (only required for main) listed in their APKBUILDs. Also
check that at least as many are listed in CODEOWNERS.
"""
codeowners_parse(args)
for path in glob.iglob(f"{args.aports}/device/main/*/APKBUILD"):
if '/firmware-' in path:
continue
maintainers = pmb.parse._apkbuild.maintainers(path)
assert maintainers and len(maintainers) >= 2, \
f"{path} in main needs at least 1 Maintainer and 1 Co-Maintainer"
require_enough_codeowners_entries(args, path, maintainers)
for path in glob.iglob(f"{args.aports}/device/community/*/APKBUILD"):
if '/firmware-' in path:
continue
maintainers = pmb.parse._apkbuild.maintainers(path)
assert maintainers, f"{path} in community needs at least 1 Maintainer"
require_enough_codeowners_entries(args, path, maintainers)
def test_aports_unmaintained(args):
+2 -2
View File
@@ -6,10 +6,10 @@ import stat
expected_directories = [
"cross",
"device/archived",
"device/community",
"device/main",
"device/testing",
"device/unmaintained",
"main",
"modem",
"non-free",
@@ -30,7 +30,7 @@ def test_directories():
# Ensure no file in pmaports are executable.
# see https://gitlab.com/postmarketOS/pmaports/-/issues/593.
def test_executable_files():
for file in glob.iglob("**/*", recursive=True):
for file in glob.iglob("[!temp]**/**/*", recursive=True):
if os.path.isdir(file) or os.path.islink(file):
continue
# still check other less common inode types
+8
View File
@@ -6,6 +6,8 @@ import glob
import pytest
import sys
import os
import re
from pathlib import Path
import add_pmbootstrap_to_import_path
import pmb.parse
@@ -40,3 +42,9 @@ def test_aports_kernel(args):
if "pmb:kconfigcheck-community" not in apkbuild["options"]:
raise RuntimeError(f"{aport_name}: \"pmb:kconfigcheck-community\" missing in"
" options= line, required for all community/main devices.")
# check for postmarketos-installkernel in makedepends when installing kernel with make
if bool(re.search("make z?install", Path(path).read_text(encoding="utf-8"))):
if "postmarketos-installkernel" not in apkbuild["makedepends"]:
raise RuntimeError(f"{aport_name}: \"postmarketos-installkernel\" missing in"
" makedepends, required when using make install/zinstall.")
+2 -1
View File
@@ -1,3 +1,4 @@
{
"SpacesAftertabs": true
"SpacesAftertabs": true,
"Exclude": ["temp"]
}
+1 -1
View File
@@ -7,7 +7,7 @@
# Top-most EditorConfig file.
root = true
[{**.{md,ini,sh,rules,nft},**/APKBUILD}]
[{**.{md,ini,sh,rules,nft},**/APKBUILD,CODEOWNERS}]
indent_style = tab
end_of_line = lf
trim_trailing_whitespace = true
+69 -45
View File
@@ -2,60 +2,58 @@
# global settings
image: alpine:latest
before_script: &global_before_scripts
- apk upgrade -U
after_script:
- .ci/lib/move_logs.sh $CI_PROJECT_DIR
stages:
- lint
- build
- autoupdate
# defaults for "only"
# We need to run the CI jobs in a "merge request specific context", if CI is
# running in a merge request. Otherwise the environment variable that holds the
# merge request ID is not available. This means, we must set the "only"
# variable accordingly - and if we only do it for one job, all other jobs will
# not get executed. So have the defaults here, and use them in all jobs that
# should run on both the master branch, and in merge requests.
# https://docs.gitlab.com/ee/ci/merge_request_pipelines/index.html#excluding-certain-jobs
.only-default: &only-default
only:
- master
- merge_requests
- tags
# This defines the rules for when a pipeline should run.
workflow:
rules:
# Don't run branch pipeline if an MR is open (only the MR pipeline will run)
- if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS && $CI_PIPELINE_SOURCE == "push"
when: never
# Run for merge requests
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
# Run scheduled pipeline for autoupdate or manually triggered pipeline
- if: $CI_PIPELINE_SOURCE == "schedule" || $CI_PIPELINE_SOURCE == "web"
# device documentation
wiki:
stage: lint
<<: *only-default
only:
refs:
- merge_requests
changes:
- device/*/device-*/*
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event" || $CI_COMMIT_REF_PROTECTED == "false"
changes:
- .ci/**/*
- .gitlab-ci.yml
- device/*/device-*/*
script:
- .ci/lib/gitlab_prepare_ci.sh
- .ci/wiki.sh
# testcases linting
flake8:
ruff:
stage: lint
<<: *only-default
only:
refs:
- merge_requests
changes:
- .ci/*
- .ci/*/*
before_script:
- apk -q add py-flake8
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event" || $CI_COMMIT_REF_PROTECTED == "false"
changes:
- .ci/*
- .ci/*/*
- .gitlab-ci.yml
script:
- .ci/lib/gitlab_prepare_ci.sh
- .ci/flake8.sh
- .ci/ruff.sh
# shellcheck and various grep checks
shellcheck-grep:
stage: lint
<<: *only-default
image: alpine:edge
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event" || $CI_COMMIT_REF_PROTECTED == "false"
script:
- .ci/lib/gitlab_prepare_ci.sh
- .ci/shellcheck.sh
@@ -64,8 +62,9 @@ shellcheck-grep:
editor-config:
stage: lint
<<: *only-default
image: alpine:edge
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event" || $CI_COMMIT_REF_PROTECTED == "false"
script:
- .ci/lib/gitlab_prepare_ci.sh
- .ci/ec.sh
@@ -73,7 +72,8 @@ editor-config:
# aports checks (generic)
pytest-commits:
stage: lint
<<: *only-default
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event" || $CI_COMMIT_REF_PROTECTED == "false"
script:
- .ci/lib/gitlab_prepare_ci.sh
- .ci/pytest.sh
@@ -89,23 +89,21 @@ pytest-commits:
# APKBUILD linting
aport-lint:
stage: lint
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event" || $CI_COMMIT_REF_PROTECTED == "false"
script:
- .ci/lib/gitlab_prepare_ci.sh
- .ci/apkbuild-lint.sh
only:
- merge_requests
allow_failure: true
# kernel kconfig check
kernel-kconfig:
stage: lint
only:
refs:
- master
- merge_requests
changes:
- device/*/linux-*/config-*
- main/linux-*/config-*
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event" || $CI_COMMIT_REF_PROTECTED == "false"
changes:
- device/*/linux-*/config-*
- main/linux-*/config-*
script:
- .ci/lib/gitlab_prepare_ci.sh
- .ci/kconfig.sh
@@ -114,9 +112,10 @@ kernel-kconfig:
# (Checks for "Allow commits from members who can merge to the target branch")
mr-settings:
stage: lint
only:
- merge_requests
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
before_script:
- *global_before_scripts
- apk -q add python3
script:
- wget -q "https://gitlab.com/postmarketOS/ci-common/-/raw/master/check_mr_settings.py"
@@ -125,8 +124,12 @@ mr-settings:
# build changed aports
.build:
stage: build
<<: *only-default
tags:
- saas-linux-large-amd64
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event" || $CI_COMMIT_REF_PROTECTED == "false"
before_script:
- *global_before_scripts
- .ci/lib/gitlab_prepare_ci.sh
after_script:
- cp -r /home/pmos/.local/var/pmbootstrap/packages/ packages/ || true
@@ -148,6 +151,8 @@ build-x86:
build-aarch64:
extends: .build
tags:
- saas-linux-large-arm64
script:
- .ci/build-aarch64.sh
@@ -165,3 +170,22 @@ build-riscv64:
extends: .build
script:
- .ci/build-riscv64.sh
auto-update:
stage: autoupdate
rules:
# This variable is set in the scheduled pipeline configuration. It should be a space separated list of
# package names to update.
- if: $AUTOUPDATE_PACKAGES != null && $CI_PIPELINE_SOURCE == "schedule" || $CI_PIPELINE_SOURCE == "web"
before_script:
- .ci/lib/gitlab_prepare_ci.sh
script:
- .ci/autoupdate.sh "$AUTOUPDATE_PACKAGES"
after_script:
- .ci/lib/move_logs.sh $CI_PROJECT_DIR
artifacts:
when: on_failure
paths:
- log.txt
- log_testsuite_pmaports.txt
- pmbootstrap.cfg
+9 -3
View File
@@ -1,6 +1,12 @@
<!--
Thank you for using postmarketOS! In order to speed up process of resolving your issue,
we would like you to fill in the following :
we would like you to fill in the following form.
*** NOTE FOR CONFIDENTIAL ISSUES: ***
A lot of people can read confidential pmaports issues! If you want to
submit something that only the postmarketOS Core Team can see, write to
team@postmarketos.org
instead of opening an issue here!
-->
### Describe your issue
#### What's the expected behaviour?
@@ -21,8 +27,8 @@
Replace space inside `[ ]` with `x` to fill the checkbox
-->
* [ ] edge (`master` branch)
* [ ] `v23.12`
* [ ] `v23.06` (supported until 2024-01-18)
* [ ] `v24.06`
* [ ] `v23.12` (supported until 2024-07-16)
* [ ] I confirm that the issue still is present after running `sudo apk upgrade -a`
+122 -47
View File
@@ -1,59 +1,134 @@
# https://docs.gitlab.com/ee/user/project/code_owners.html
# Put groups like @sdm845-mainline into test_device.py:gitlab_groups.
# Order lines alphabetically!
device/*/*-amlogic-s905*/ @funderscore
device/*/*-arrow-db410c/ @Minecrell
device/*/*-asus-me176c/ @Minecrell
device/*/*-ayn-odin/ @jenneron
device/*/*-bq-paella/ @Minecrell
device/*/*-bq-tenshi/ @fossdd
device/*/*-google-gru/ @jenneron
device/*/*-google-kukui/ @jenneron @binarycraft
device/*/*-google-oak/ @jenneron @adamthiede
device/*/*-google-trogdor/ @jenneron
device/*/*-google-veyron/ @jenneron
device/*/*-google-x64cros/ @jenneron @JustSoup321 @alpernebbi
device/*/*-htc-golfu/ @Newbyte
device/*/*-pine64-pinephone/ @craftyguy @milesalan @bshah @proycon @anjandev @StacyHarper
device/*/*-htc-m8qlul/ @Newbyte
device/*/*-purism-librem5/ @craftyguy @bshah
device/*/device-lg-judyln/ @Newbyte
device/*/device-samsung-m0/ @Newbyte
device/*/linux-postmarketos-exynos4/ @Newbyte
device/*/linux-postmarketos-qcom-msm8939/ @Newbyte
device/*/linux-postmarketos-stericsson/ @Newbyte
device/*/*-kobo-clara/ @akemnade
device/*/*-lenovo-21bx/ @craftyguy @jane400
device/*/*-lenovo-a6000/ @jenneron @Minecrell
device/*/*-lenovo-a6010/ @jenneron @Minecrell
device/*/*-librecomputer-lafrite/ @funderscore
device/*/*-librecomputer-lepotato/ @funderscore
device/*/*-librecomputer-solitude/ @Newbyte @funderscore
device/*/*-motorola-harpia/ @Minecrell
device/*/*-nokia-n900/ @sicelo @Danct12
device/*/*-pine64-pinebookpro/ @QC8086
device/*/*-pine64-pinephone/ @craftyguy @milesalan @proycon @anjandev @StacyHarper @Arnavion @PsychoGame
device/*/*-pine64-pinephonepro/ @PsychoGame
device/*/*-pine64-rockpro64/ @PureTryOut
device/*/*-purism-librem5/ @craftyguy @alistair23 @Newbyte
device/*/*-qcom-msm8916/ @Minecrell @TravMurav
device/*/*-qcom-sdm845/ @sdm845-mainline
device/*/*-qcom-sm6350/ @z3ntu
device/*/*-samsung-a3/ @Mis012 @TravMurav @Minecrell
device/*/*-samsung-a5/ @Minecrell @minlexx
device/*/*-samsung-e7/ @wonderfulShrineMaidenOfParadise
device/*/*-samsung-espresso10/ @MightyM17
device/*/*-samsung-espresso7/ @MightyM17 @antoni.aloytorrens
device/*/*-samsung-grandmax/ @wonderfulShrineMaidenOfParadise
device/*/*-samsung-gt510/ @TravMurav
device/*/*-samsung-gt58/ @TravMurav
device/*/*-samsung-j5/ @wonderfulShrineMaidenOfParadise
device/*/*-samsung-j5x/ @wonderfulShrineMaidenOfParadise
device/*/*-samsung-serranove/ @Minecrell
device/*/*-tolino-shine2hd/ @akemnade
device/*/*-videostrong-kii-pro/ @funderscore
device/*/*-wileyfox-crackling/ @TravMurav @Minecrell
device/*/*-xiaomi-beryllium/ @joelselvaraj
device/*/*-xiaomi-daisy/ @joelselvaraj @alikates
device/*/*-xiaomi-markw/ @vipaoL
device/*/*-xiaomi-mido/ @barni2000
device/*/*-xiaomi-scorpio/ @Tooniis
device/*/*-xiaomi-tissot/ @jiaxyga @barni2000
device/*/*-xiaomi-vince/ @M0Rf30
device/*/*-xiaomi-wt88047/ @Minecrell
device/*/*-xiaomi-ysl/ @barni2000
device/*/alsa-ucm-conf-cros/ @WeirdTreeThing
device/*/device-fairphone-*/ @z3ntu
device/*/device-generic-x86_64/ @craftyguy @ollieparanoid
device/*/device-google-nyan-big/ @jenneron
device/*/device-google-nyan-blaze/ @jenneron
device/*/device-google-peach-pi/ @jenneron
device/*/device-google-peach-pit/ @jenneron
device/*/device-google-snow/ @jenneron
device/*/device-huawei-plank/ @gtrxAC
device/*/device-lg-judyln/ @Newbyte
device/*/device-lg-judyp/ @jenneron
device/*/device-microsoft-surface-rt/ @jenneron @jethrob
device/*/device-nvidia-tegra-armv7/ @clamor-s @okias @mschwalm @nokun
device/*/device-odroid-xu4/ @Grimler
device/*/device-oneplus-enchilada/ @calebccff
device/*/device-oneplus-fajita/ @calebccff
device/*/firmware-oneplus-sdm845/ @calebccff
device/*/device-shift-axolotl/ @amartinz @calebccff @dylanvanassche
device/*/*-lenovo-21bx/ @craftyguy
device/*/*-lenovo-a6010/ @jenneron
device/*/*-lenovo-a6000/ @jenneron
device/*/device-microsoft-surface-rt/ @jenneron
device/*/device-google-nyan-big/ @jenneron
device/*/device-google-peach-pi/ @jenneron
device/*/linux-google-veyron/ @jenneron
device/*/linux-postmarketos-exynos5/ @jenneron @Grimler
device/*/soc-mediatek-mt8183/ @jenneron
device/*/linux-google-nyan/ @jenneron
device/*/linux-postmarketos-mediatek-mt8173/ @jenneron
device/*/linux-postmarketos-mediatek-mt8183/ @jenneron @binarycraft
device/*/device-google-nyan-blaze/ @jenneron
device/*/firmware-powervr-gx6250/ @jenneron
device/*/device-google-snow/ @jenneron
device/*/firmware-google-veyron-brcm/ @jenneron
device/*/device-google-peach-pit/ @jenneron
device/*/device-lg-judyp/ @jenneron
device/*/linux-postmarketos-grate/ @clamor95 @jenneron
device/*/device-postmarketos-trailblazer/ @calebccff
device/*/device-qemu-aarch64/ @Minecrell @ollieparanoid
device/*/device-qemu-amd64/ @Minecrell @ollieparanoid
device/*/device-qemu-riscv64/ @Minecrell @z3ntu
device/*/device-qualcomm-sdm845/ @calebccff
device/*/device-samsung-chagallwifi/ @Grimler
device/*/device-odroid-xu4/ @Grimler
device/*/device-samsung-klimtlte/ @Grimler
device/*/linux-samsung-klimtlte/ @Grimler
device/*/firmware-odroid-xu4/ @Grimler
device/*/linux-samsung-chagallwifi/ @Grimler
device/*/device-huawei-plank/ @gtrxAC
device/*/linux-huawei-plank/ @gtrxAC
device/*/device-samsung-coreprimevelte/ @legolivesmatter @balejk
device/*/device-samsung-j5y17lte/ @andrisas
device/*/device-samsung-klimtlte/ @Grimler
device/*/device-samsung-lt01/ @knuxify
device/*/device-samsung-m0/ @Newbyte
device/*/device-samsung-manta/ @jenneron @alexmrqt
device/*/device-shift-axolotl/ @amartinz @calebccff @dylanvanassche
device/*/firmware-google-veyron-brcm/ @jenneron
device/*/firmware-odroid-xu4/ @Grimler
device/*/firmware-oneplus-sdm845/ @calebccff
device/*/firmware-powervr-gx6250/ @jenneron
device/*/kobo-epdc-extractor/ @akemnade
device/*/linux-google-nyan/ @jenneron
device/*/linux-google-veyron/ @jenneron
device/*/linux-huawei-plank/ @gtrxAC
device/*/linux-next/ @calebccff
device/*/linux-postmarketos-allwinner/ @Arnavion @PsychoGame
device/*/linux-postmarketos-amlogic/ @funderscore @exkc
device/*/linux-postmarketos-exynos4/ @Newbyte @ThiagaoPlusPlus
device/*/linux-postmarketos-exynos5/ @jenneron @Grimler
device/*/linux-postmarketos-grate/ @clamor-s @jenneron @jethrob
device/*/linux-postmarketos-imx-ereader/ @akemnade
device/*/linux-postmarketos-mediatek-mt8173/ @jenneron @adamthiede
device/*/linux-postmarketos-mediatek-mt8183/ @jenneron @binarycraft
device/*/linux-postmarketos-omap/ @MightyM17 @Sicelo
device/*/linux-postmarketos-qcom-msm8939/ @Newbyte
device/*/linux-postmarketos-qcom-msm8953/ @M0Rf30 @Ultra-azu @barni2000
device/*/linux-postmarketos-qcom-msm8996/ @Tooniis
device/*/linux-postmarketos-qcom-sc7180/ @jenneron
device/*/linux-postmarketos-rockchip/ @QC8086
device/*/linux-postmarketos-stericsson/ @Newbyte
device/*/linux-samsung-chagallwifi/ @Grimler
device/*/linux-samsung-coreprimevelte/ @legolivesmatter @balejk
main/postmarketos-update-depthcharge-kernel/ @jenneron
main/osk-sdl/ @craftyguy
main/postmarketos-ui-plasma-mobile/ @bshah
device/*/linux-samsung-j5y17lte/ @andrisas
device/*/linux-samsung-klimtlte/ @Grimler
device/*/oem-amd/ @craftyguy
device/*/oem-intel/ @craftyguy
device/*/soc-mediatek-mt8183/ @jenneron
device/*/soc-qcom-msm8953/ @barni2000
device/*/soc-qcom-msm8996/ @Tooniis
device/*/soc-qcom-sc7180/ @jenneron
device/*/soc-rockchip-rk3399/ @jenneron
device/*/soc-samsung-exynos4412/ @Newbyte
device/*/u-boot-librem5/ @craftyguy @alistair23 @Newbyte
device/*/u-boot-pinebookpro/ @QC8086
device/*/u-boot-pinephone/ @Arnavion @PsychoGame
device/*/wl1251-cal/ @Danct12
main/postmarketos*gnome*/ @pabloyoyoista @Newbyte
main/postmarketos-initramfs/ @calebccff @craftyguy
main/postmarketos-ui-i3wm/ @fossdd
main/postmarketos-ui-phosh/ @pabloyoyoista @Newbyte
main/postmarketos-ui-plasma-mobile/ @PureTryOut
main/shutdown-clear-rtc-wakealarm/ @Arnavion
main/ttyescape/ @calebccff
device/*/u-boot-librem5/ @craftyguy @bshah
device/*/alsa-ucm-conf-google-kukui/ @jenneron @binarycraft
device/*/alsa-ucm-conf-google-gru/ @jenneron
device/*/*-videostrong-kii-pro/ @vitali64yt
device/*/*-amlogic-s905*/ @vitali64yt
device/*/linux-postmarketos-amlogic/ @vitali64yt @exkc
# vim: ts=8 sw=4 et
+8 -2
View File
@@ -8,14 +8,20 @@ branch_pmaports=master
branch_aports=master
mirrordir_alpine=edge
[v23.12]
[v24.06]
description=Latest release / Recommended for best stability
branch_pmaports=v24.06
branch_aports=3.20-stable
mirrordir_alpine=v3.20
[v23.12]
description=Old release (supported until 2024-07-16)
branch_pmaports=v23.12
branch_aports=3.19-stable
mirrordir_alpine=v3.19
[v23.06]
description=Old release (supported until 2024-01-18)
description=Old release (unsupported)
branch_pmaports=v23.06
branch_aports=3.18-stable
mirrordir_alpine=v3.18
+2 -2
View File
@@ -8,7 +8,7 @@ fi
pkgname=busybox-static-aarch64
pkgver=1.36.1
pkgrel=18
pkgrel=31
_arch="aarch64"
_mirror="http://dl-4.alpinelinux.org/alpine/"
@@ -32,5 +32,5 @@ package() {
}
sha512sums="
08f68b23bd880be12f95c5e1f071891f6b658fe7576f63d54e71d7390e4afc58de01813b2ea628f2b062830a89b0f69e8bd8a2b15fdb08bb9aba9e2a08971b0b busybox-static-1.36.1-r18-aarch64-edge.apk
c34906bb0a5d7e268ab43ca1e3e2f9c75c06f3f5de8d41671396bcd7d585a79a66e25ad43e80a3e107a1de0ecaf83ac7198163d3e775edbd6d626ef014307ec5 busybox-static-1.36.1-r31-aarch64-edge.apk
"
+2 -2
View File
@@ -8,7 +8,7 @@ fi
pkgname=busybox-static-armhf
pkgver=1.36.1
pkgrel=18
pkgrel=31
_arch="armhf"
_mirror="http://dl-4.alpinelinux.org/alpine/"
@@ -32,5 +32,5 @@ package() {
}
sha512sums="
20b11081b5d1f25298fd4d8dfde51062f5c65060f5b53840eaad6fb69b94d64c5f5e522c9286f9a56cef4a9c88bdf53dcd385f47451b1563faf2058f1ea928cb busybox-static-1.36.1-r18-armhf-edge.apk
7e6a961a0adcbc2912f5b261ce84a62b9189dce49c5dd3d2bcbdae407645dec72c27af8804c1d5446d50e78ea938a4d812c477db199ed83cac7c647c4b41f3fe busybox-static-1.36.1-r31-armhf-edge.apk
"
+2 -2
View File
@@ -8,7 +8,7 @@ fi
pkgname=busybox-static-armv7
pkgver=1.36.1
pkgrel=18
pkgrel=31
_arch="armv7"
_mirror="http://dl-4.alpinelinux.org/alpine/"
@@ -32,5 +32,5 @@ package() {
}
sha512sums="
8f2fa87d979bdbe88eef0b9dece61001998df960e025902854b2af415b96d63ce9831dbe44d5c32b671c313efdfe9e22743a26de73febcc92d8d45d944ad66c0 busybox-static-1.36.1-r18-armv7-edge.apk
b9736dc7df4230196bf05de3bd76b61fc689c56861bc7c5194cd310e23f513cec649c1b3e3f338266b8d58540468d97e8525948a3efc2d1af53e288cd525e836 busybox-static-1.36.1-r31-armv7-edge.apk
"
@@ -0,0 +1,61 @@
From c4f484f465a32e796ae384aa3f90e79fa218b4e9 Mon Sep 17 00:00:00 2001
From: Jingyun Hua <huajingyun@loongson.cn>
Date: Mon, 7 Aug 2023 15:25:58 +0800
Subject: [PATCH] loongarch disable multilib support
Signed-off-by: Jingyun Hua <huajingyun@loongson.cn>
---
gcc/config/loongarch/linux.h | 10 +---------
gcc/config/loongarch/t-linux | 18 +++---------------
3 files changed, 5 insertions(+), 25 deletions(-)
diff --git a/gcc/config/loongarch/linux.h b/gcc/config/loongarch/linux.h
index 9059d2441..23eaff0cc 100644
--- a/gcc/config/loongarch/linux.h
+++ b/gcc/config/loongarch/linux.h
@@ -22,15 +22,7 @@ along with GCC; see the file COPYING3. If not see
* can work in a multilib environment. */
#if defined(LA_DISABLE_MULTILIB) && defined(LA_DISABLE_MULTIARCH)
-
- #if DEFAULT_ABI_BASE == ABI_BASE_LP64D
- #define ABI_LIBDIR "lib64"
- #elif DEFAULT_ABI_BASE == ABI_BASE_LP64F
- #define ABI_LIBDIR "lib64/f32"
- #elif DEFAULT_ABI_BASE == ABI_BASE_LP64S
- #define ABI_LIBDIR "lib64/sf"
- #endif
-
+ #define ABI_LIBDIR "lib"
#endif
#ifndef ABI_LIBDIR
diff --git a/gcc/config/loongarch/t-linux b/gcc/config/loongarch/t-linux
index e40da1792..f72c6e878 100644
--- a/gcc/config/loongarch/t-linux
+++ b/gcc/config/loongarch/t-linux
@@ -36,18 +36,6 @@ else
endif
# Don't define MULTILIB_OSDIRNAMES if multilib is disabled.
-ifeq ($(filter LA_DISABLE_MULTILIB,$(tm_defines)),)
-
- MULTILIB_OSDIRNAMES = \
- mabi.lp64d=../lib64$\
- $(call if_multiarch,:loongarch64-linux-gnu)
-
- MULTILIB_OSDIRNAMES += \
- mabi.lp64f=../lib64/f32$\
- $(call if_multiarch,:loongarch64-linux-gnuf32)
-
- MULTILIB_OSDIRNAMES += \
- mabi.lp64s=../lib64/sf$\
- $(call if_multiarch,:loongarch64-linux-gnusf)
-
-endif
+ MULTILIB_OSDIRNAMES = mabi.lp64d=../lib
+ MULTILIB_OSDIRNAMES += mabi.lp64f=../lib
+ MULTILIB_OSDIRNAMES += mabi.lp64s=../lib
--
2.41.0
+14 -7
View File
@@ -24,7 +24,7 @@ CBUILDROOT="/"
_cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET"
pkgname=gcc-aarch64
pkgver=13.2.1_git20231014
pkgver=13.2.1_git20240309
# i.e. 13.2.1, must match gcc/BASE-VER
_pkgbase="${pkgver%%_git*}"
# date component from snapshots
@@ -46,6 +46,7 @@ makedepends_host="linux-headers gmp-dev mpfr-dev mpc1-dev isl-dev zlib-dev musl-
subpackages="g++-aarch64:gpp libstdc++-dev-aarch64:libcxx_dev"
[ "$CHOST" = "$CTARGET" ] && subpackages="gcc-gdb gcc-doc$_target"
replaces="libstdc++ binutils"
options="!strip"
: "${LANG_CXX:=true}"
: "${LANG_D:=true}"
@@ -143,7 +144,7 @@ case "$CARCH" in
# GDC hasn't been ported to PowerPC
# See libphobos/configure.tgt in GCC sources for supported targets
# riscv fails with: error: static assert "unimplemented"
ppc64le|riscv64) LANG_D=false ;;
ppc64le|riscv64|loongarch64) LANG_D=false ;;
# GDC does currently not work on 32-bit musl architectures.
# This is a known upstream issue.
# See: https://github.com/dlang/druntime/pull/3383
@@ -155,6 +156,7 @@ case "$CTARGET_ARCH" in
arm*) _libitm=false ;;
mips*) _libitm=false ;;
riscv64) _libitm=false ;;
loongarch64) _libitm=false ;;
esac
# Internal libffi fails to build on MIPS at the moment, need to
@@ -162,6 +164,7 @@ esac
# the internal libffi.
case "$CTARGET_ARCH" in
mips*) LANG_GO=false ;;
loongarch64) LANG_GO=false ;;
esac
# Fortran uses libquadmath if toolchain has __float128
@@ -186,6 +189,11 @@ riscv64)
LANG_ADA=false;;
esac
case "$CTARGET_ARCH" in
loongarch64)
LANG_ADA=false;;
esac
_languages=c
if $LANG_CXX; then
_languages="$_languages,c++"
@@ -269,6 +277,7 @@ source="https://dev.alpinelinux.org/archive/gcc/${_pkgbase%%.*}-$_pkgsnap/gcc-${
0033-libphobos-do-not-use-LFS64-symbols.patch
0034-libgo-fix-lfs64-use.patch
0036-PR110792-Early-clobber-issues-with-rot32di2-on-i386.patch
0037-loongarch-disable-multilib-support.patch
"
# secfixes:
@@ -328,6 +337,7 @@ build() {
i586-*-*-*) _arch_configure="--with-arch=pentium-m --with-fpmath=sse --with-tune=generic --enable-cld";;
s390x-*-*-*) _arch_configure="--with-arch=z196 --with-tune=zEC12 --with-zarch --with-long-double-128 --enable-decimal-float";;
riscv64-*-*-*) _arch_configure="--with-arch=rv64gc --with-abi=lp64d --enable-autolink-libatomic";;
loongarch64-*-*-*) _arch_configure="--with-arch=loongarch64 --with-abi=lp64d";;
esac
case "$CTARGET_ARCH" in
@@ -683,10 +693,6 @@ go() {
depends="gcc=$_gccrel libgo=$_gccrel !go"
install="$pkgname-go.post-install"
# See https://lists.alpinelinux.org/~alpine/devel/%3C33KG0XO61I4IL.2Z7RTAZ5J3SY6%408pit.net%3E
provides="go-bootstrap"
provider_priority=1 # lowest, see community/go
mkdir -p "$subpkgdir"/$_gcclibexec \
"$subpkgdir"/usr/lib \
"$subpkgdir"/usr/bin
@@ -787,7 +793,7 @@ gdb() {
}
sha512sums="
406673a62deba759fc0532a801b3f57cabf894ea328587b23e62a707ba5767b0e3ae9b3f86bf3c6fcf13e8a3c30bc470e6598b625c8231efb629034211c162c2 gcc-13-20231014.tar.xz
2d1e0374ebdee526f0549319fc9c364968c52a0d4aaa16759f00453cb083fe58d8f463c47d97f3bb74a0a92e251989eb75a50ee5800b4569978c72d25446b44e gcc-13-20240309.tar.xz
1ecffba1b07d60e1b4422302b032bbea918b674c8e12b30aa6965b544d700ce86b61e9f7b8d402c6caf59257f491a394dd0912f0948565d6eae9335ee54f3b35 0001-posix_memalign.patch
163f282455b6a4df33f011bcd8b0440566ba0ffaeeab30d8ac52d39948980a56881ca0eff60687129d59556389a58b9d64e7768750bd70b1fe0fedbc9fc30dc2 0002-gcc-poison-system-directories.patch
3f24bb6a50d3c45b71ea05590e32fe3e69b91377ab185352891d5035c76ed193117c6d0b314a4c364bcf136b9a9dd5c926d6c7c30ab436976c121ebfea8d3ddd 0003-specs-turn-on-Wl-z-now-by-default.patch
@@ -823,4 +829,5 @@ b325035cb7122d79c6b42ca6d3fc9e02319ed2f7cddb0639dff25d2798d2ce63812cd623462cdf95
c474f34e6f9a4239d486a65141a133dbe8ce91427d502a57a9fd6eb403478a2b5715ba74f24c1cc0761e16eec77ba2c1ca921fb7d7bc1e040fc3703fc9559e75 0033-libphobos-do-not-use-LFS64-symbols.patch
c4482ffc36e7894b2140800159f4cbc9a3e9011e43a69b69f4fa92d5a11e2ee645c7e21df4423dd1e0636e8890849a5719647bfbdf84f951d638f8f488cb718c 0034-libgo-fix-lfs64-use.patch
cc1e10ac6e72db816f09325e301103109cc212a6f3de3ce0b9b038d149233c467319d203941695dbf3d7b9e2dcbbcd17609cdb056e831fcc323cd592423882d8 0036-PR110792-Early-clobber-issues-with-rot32di2-on-i386.patch
d834f5f95f4ebe70ec0af0748c8632c99a4f57b69dc14db1a38becdfcb03406b32febf39f772f37bd145538147099fa7433edce845e14ee77cd8f38fd9774fc1 0037-loongarch-disable-multilib-support.patch
"
@@ -0,0 +1,61 @@
From c4f484f465a32e796ae384aa3f90e79fa218b4e9 Mon Sep 17 00:00:00 2001
From: Jingyun Hua <huajingyun@loongson.cn>
Date: Mon, 7 Aug 2023 15:25:58 +0800
Subject: [PATCH] loongarch disable multilib support
Signed-off-by: Jingyun Hua <huajingyun@loongson.cn>
---
gcc/config/loongarch/linux.h | 10 +---------
gcc/config/loongarch/t-linux | 18 +++---------------
3 files changed, 5 insertions(+), 25 deletions(-)
diff --git a/gcc/config/loongarch/linux.h b/gcc/config/loongarch/linux.h
index 9059d2441..23eaff0cc 100644
--- a/gcc/config/loongarch/linux.h
+++ b/gcc/config/loongarch/linux.h
@@ -22,15 +22,7 @@ along with GCC; see the file COPYING3. If not see
* can work in a multilib environment. */
#if defined(LA_DISABLE_MULTILIB) && defined(LA_DISABLE_MULTIARCH)
-
- #if DEFAULT_ABI_BASE == ABI_BASE_LP64D
- #define ABI_LIBDIR "lib64"
- #elif DEFAULT_ABI_BASE == ABI_BASE_LP64F
- #define ABI_LIBDIR "lib64/f32"
- #elif DEFAULT_ABI_BASE == ABI_BASE_LP64S
- #define ABI_LIBDIR "lib64/sf"
- #endif
-
+ #define ABI_LIBDIR "lib"
#endif
#ifndef ABI_LIBDIR
diff --git a/gcc/config/loongarch/t-linux b/gcc/config/loongarch/t-linux
index e40da1792..f72c6e878 100644
--- a/gcc/config/loongarch/t-linux
+++ b/gcc/config/loongarch/t-linux
@@ -36,18 +36,6 @@ else
endif
# Don't define MULTILIB_OSDIRNAMES if multilib is disabled.
-ifeq ($(filter LA_DISABLE_MULTILIB,$(tm_defines)),)
-
- MULTILIB_OSDIRNAMES = \
- mabi.lp64d=../lib64$\
- $(call if_multiarch,:loongarch64-linux-gnu)
-
- MULTILIB_OSDIRNAMES += \
- mabi.lp64f=../lib64/f32$\
- $(call if_multiarch,:loongarch64-linux-gnuf32)
-
- MULTILIB_OSDIRNAMES += \
- mabi.lp64s=../lib64/sf$\
- $(call if_multiarch,:loongarch64-linux-gnusf)
-
-endif
+ MULTILIB_OSDIRNAMES = mabi.lp64d=../lib
+ MULTILIB_OSDIRNAMES += mabi.lp64f=../lib
+ MULTILIB_OSDIRNAMES += mabi.lp64s=../lib
--
2.41.0
+14 -7
View File
@@ -24,7 +24,7 @@ CBUILDROOT="/"
_cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET"
pkgname=gcc-armhf
pkgver=13.2.1_git20231014
pkgver=13.2.1_git20240309
# i.e. 13.2.1, must match gcc/BASE-VER
_pkgbase="${pkgver%%_git*}"
# date component from snapshots
@@ -46,6 +46,7 @@ makedepends_host="linux-headers gmp-dev mpfr-dev mpc1-dev isl-dev zlib-dev musl-
subpackages="g++-armhf:gpp libstdc++-dev-armhf:libcxx_dev"
[ "$CHOST" = "$CTARGET" ] && subpackages="gcc-gdb gcc-doc$_target"
replaces="libstdc++ binutils"
options="!strip"
: "${LANG_CXX:=true}"
: "${LANG_D:=true}"
@@ -143,7 +144,7 @@ case "$CARCH" in
# GDC hasn't been ported to PowerPC
# See libphobos/configure.tgt in GCC sources for supported targets
# riscv fails with: error: static assert "unimplemented"
ppc64le|riscv64) LANG_D=false ;;
ppc64le|riscv64|loongarch64) LANG_D=false ;;
# GDC does currently not work on 32-bit musl architectures.
# This is a known upstream issue.
# See: https://github.com/dlang/druntime/pull/3383
@@ -155,6 +156,7 @@ case "$CTARGET_ARCH" in
arm*) _libitm=false ;;
mips*) _libitm=false ;;
riscv64) _libitm=false ;;
loongarch64) _libitm=false ;;
esac
# Internal libffi fails to build on MIPS at the moment, need to
@@ -162,6 +164,7 @@ esac
# the internal libffi.
case "$CTARGET_ARCH" in
mips*) LANG_GO=false ;;
loongarch64) LANG_GO=false ;;
esac
# Fortran uses libquadmath if toolchain has __float128
@@ -186,6 +189,11 @@ riscv64)
LANG_ADA=false;;
esac
case "$CTARGET_ARCH" in
loongarch64)
LANG_ADA=false;;
esac
_languages=c
if $LANG_CXX; then
_languages="$_languages,c++"
@@ -269,6 +277,7 @@ source="https://dev.alpinelinux.org/archive/gcc/${_pkgbase%%.*}-$_pkgsnap/gcc-${
0033-libphobos-do-not-use-LFS64-symbols.patch
0034-libgo-fix-lfs64-use.patch
0036-PR110792-Early-clobber-issues-with-rot32di2-on-i386.patch
0037-loongarch-disable-multilib-support.patch
"
# secfixes:
@@ -328,6 +337,7 @@ build() {
i586-*-*-*) _arch_configure="--with-arch=pentium-m --with-fpmath=sse --with-tune=generic --enable-cld";;
s390x-*-*-*) _arch_configure="--with-arch=z196 --with-tune=zEC12 --with-zarch --with-long-double-128 --enable-decimal-float";;
riscv64-*-*-*) _arch_configure="--with-arch=rv64gc --with-abi=lp64d --enable-autolink-libatomic";;
loongarch64-*-*-*) _arch_configure="--with-arch=loongarch64 --with-abi=lp64d";;
esac
case "$CTARGET_ARCH" in
@@ -683,10 +693,6 @@ go() {
depends="gcc=$_gccrel libgo=$_gccrel !go"
install="$pkgname-go.post-install"
# See https://lists.alpinelinux.org/~alpine/devel/%3C33KG0XO61I4IL.2Z7RTAZ5J3SY6%408pit.net%3E
provides="go-bootstrap"
provider_priority=1 # lowest, see community/go
mkdir -p "$subpkgdir"/$_gcclibexec \
"$subpkgdir"/usr/lib \
"$subpkgdir"/usr/bin
@@ -787,7 +793,7 @@ gdb() {
}
sha512sums="
406673a62deba759fc0532a801b3f57cabf894ea328587b23e62a707ba5767b0e3ae9b3f86bf3c6fcf13e8a3c30bc470e6598b625c8231efb629034211c162c2 gcc-13-20231014.tar.xz
2d1e0374ebdee526f0549319fc9c364968c52a0d4aaa16759f00453cb083fe58d8f463c47d97f3bb74a0a92e251989eb75a50ee5800b4569978c72d25446b44e gcc-13-20240309.tar.xz
1ecffba1b07d60e1b4422302b032bbea918b674c8e12b30aa6965b544d700ce86b61e9f7b8d402c6caf59257f491a394dd0912f0948565d6eae9335ee54f3b35 0001-posix_memalign.patch
163f282455b6a4df33f011bcd8b0440566ba0ffaeeab30d8ac52d39948980a56881ca0eff60687129d59556389a58b9d64e7768750bd70b1fe0fedbc9fc30dc2 0002-gcc-poison-system-directories.patch
3f24bb6a50d3c45b71ea05590e32fe3e69b91377ab185352891d5035c76ed193117c6d0b314a4c364bcf136b9a9dd5c926d6c7c30ab436976c121ebfea8d3ddd 0003-specs-turn-on-Wl-z-now-by-default.patch
@@ -823,4 +829,5 @@ b325035cb7122d79c6b42ca6d3fc9e02319ed2f7cddb0639dff25d2798d2ce63812cd623462cdf95
c474f34e6f9a4239d486a65141a133dbe8ce91427d502a57a9fd6eb403478a2b5715ba74f24c1cc0761e16eec77ba2c1ca921fb7d7bc1e040fc3703fc9559e75 0033-libphobos-do-not-use-LFS64-symbols.patch
c4482ffc36e7894b2140800159f4cbc9a3e9011e43a69b69f4fa92d5a11e2ee645c7e21df4423dd1e0636e8890849a5719647bfbdf84f951d638f8f488cb718c 0034-libgo-fix-lfs64-use.patch
cc1e10ac6e72db816f09325e301103109cc212a6f3de3ce0b9b038d149233c467319d203941695dbf3d7b9e2dcbbcd17609cdb056e831fcc323cd592423882d8 0036-PR110792-Early-clobber-issues-with-rot32di2-on-i386.patch
d834f5f95f4ebe70ec0af0748c8632c99a4f57b69dc14db1a38becdfcb03406b32febf39f772f37bd145538147099fa7433edce845e14ee77cd8f38fd9774fc1 0037-loongarch-disable-multilib-support.patch
"
@@ -0,0 +1,61 @@
From c4f484f465a32e796ae384aa3f90e79fa218b4e9 Mon Sep 17 00:00:00 2001
From: Jingyun Hua <huajingyun@loongson.cn>
Date: Mon, 7 Aug 2023 15:25:58 +0800
Subject: [PATCH] loongarch disable multilib support
Signed-off-by: Jingyun Hua <huajingyun@loongson.cn>
---
gcc/config/loongarch/linux.h | 10 +---------
gcc/config/loongarch/t-linux | 18 +++---------------
3 files changed, 5 insertions(+), 25 deletions(-)
diff --git a/gcc/config/loongarch/linux.h b/gcc/config/loongarch/linux.h
index 9059d2441..23eaff0cc 100644
--- a/gcc/config/loongarch/linux.h
+++ b/gcc/config/loongarch/linux.h
@@ -22,15 +22,7 @@ along with GCC; see the file COPYING3. If not see
* can work in a multilib environment. */
#if defined(LA_DISABLE_MULTILIB) && defined(LA_DISABLE_MULTIARCH)
-
- #if DEFAULT_ABI_BASE == ABI_BASE_LP64D
- #define ABI_LIBDIR "lib64"
- #elif DEFAULT_ABI_BASE == ABI_BASE_LP64F
- #define ABI_LIBDIR "lib64/f32"
- #elif DEFAULT_ABI_BASE == ABI_BASE_LP64S
- #define ABI_LIBDIR "lib64/sf"
- #endif
-
+ #define ABI_LIBDIR "lib"
#endif
#ifndef ABI_LIBDIR
diff --git a/gcc/config/loongarch/t-linux b/gcc/config/loongarch/t-linux
index e40da1792..f72c6e878 100644
--- a/gcc/config/loongarch/t-linux
+++ b/gcc/config/loongarch/t-linux
@@ -36,18 +36,6 @@ else
endif
# Don't define MULTILIB_OSDIRNAMES if multilib is disabled.
-ifeq ($(filter LA_DISABLE_MULTILIB,$(tm_defines)),)
-
- MULTILIB_OSDIRNAMES = \
- mabi.lp64d=../lib64$\
- $(call if_multiarch,:loongarch64-linux-gnu)
-
- MULTILIB_OSDIRNAMES += \
- mabi.lp64f=../lib64/f32$\
- $(call if_multiarch,:loongarch64-linux-gnuf32)
-
- MULTILIB_OSDIRNAMES += \
- mabi.lp64s=../lib64/sf$\
- $(call if_multiarch,:loongarch64-linux-gnusf)
-
-endif
+ MULTILIB_OSDIRNAMES = mabi.lp64d=../lib
+ MULTILIB_OSDIRNAMES += mabi.lp64f=../lib
+ MULTILIB_OSDIRNAMES += mabi.lp64s=../lib
--
2.41.0
+14 -7
View File
@@ -24,7 +24,7 @@ CBUILDROOT="/"
_cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET"
pkgname=gcc-armv7
pkgver=13.2.1_git20231014
pkgver=13.2.1_git20240309
# i.e. 13.2.1, must match gcc/BASE-VER
_pkgbase="${pkgver%%_git*}"
# date component from snapshots
@@ -46,6 +46,7 @@ makedepends_host="linux-headers gmp-dev mpfr-dev mpc1-dev isl-dev zlib-dev musl-
subpackages="g++-armv7:gpp libstdc++-dev-armv7:libcxx_dev"
[ "$CHOST" = "$CTARGET" ] && subpackages="gcc-gdb gcc-doc$_target"
replaces="libstdc++ binutils"
options="!strip"
: "${LANG_CXX:=true}"
: "${LANG_D:=true}"
@@ -143,7 +144,7 @@ case "$CARCH" in
# GDC hasn't been ported to PowerPC
# See libphobos/configure.tgt in GCC sources for supported targets
# riscv fails with: error: static assert "unimplemented"
ppc64le|riscv64) LANG_D=false ;;
ppc64le|riscv64|loongarch64) LANG_D=false ;;
# GDC does currently not work on 32-bit musl architectures.
# This is a known upstream issue.
# See: https://github.com/dlang/druntime/pull/3383
@@ -155,6 +156,7 @@ case "$CTARGET_ARCH" in
arm*) _libitm=false ;;
mips*) _libitm=false ;;
riscv64) _libitm=false ;;
loongarch64) _libitm=false ;;
esac
# Internal libffi fails to build on MIPS at the moment, need to
@@ -162,6 +164,7 @@ esac
# the internal libffi.
case "$CTARGET_ARCH" in
mips*) LANG_GO=false ;;
loongarch64) LANG_GO=false ;;
esac
# Fortran uses libquadmath if toolchain has __float128
@@ -186,6 +189,11 @@ riscv64)
LANG_ADA=false;;
esac
case "$CTARGET_ARCH" in
loongarch64)
LANG_ADA=false;;
esac
_languages=c
if $LANG_CXX; then
_languages="$_languages,c++"
@@ -269,6 +277,7 @@ source="https://dev.alpinelinux.org/archive/gcc/${_pkgbase%%.*}-$_pkgsnap/gcc-${
0033-libphobos-do-not-use-LFS64-symbols.patch
0034-libgo-fix-lfs64-use.patch
0036-PR110792-Early-clobber-issues-with-rot32di2-on-i386.patch
0037-loongarch-disable-multilib-support.patch
"
# secfixes:
@@ -328,6 +337,7 @@ build() {
i586-*-*-*) _arch_configure="--with-arch=pentium-m --with-fpmath=sse --with-tune=generic --enable-cld";;
s390x-*-*-*) _arch_configure="--with-arch=z196 --with-tune=zEC12 --with-zarch --with-long-double-128 --enable-decimal-float";;
riscv64-*-*-*) _arch_configure="--with-arch=rv64gc --with-abi=lp64d --enable-autolink-libatomic";;
loongarch64-*-*-*) _arch_configure="--with-arch=loongarch64 --with-abi=lp64d";;
esac
case "$CTARGET_ARCH" in
@@ -683,10 +693,6 @@ go() {
depends="gcc=$_gccrel libgo=$_gccrel !go"
install="$pkgname-go.post-install"
# See https://lists.alpinelinux.org/~alpine/devel/%3C33KG0XO61I4IL.2Z7RTAZ5J3SY6%408pit.net%3E
provides="go-bootstrap"
provider_priority=1 # lowest, see community/go
mkdir -p "$subpkgdir"/$_gcclibexec \
"$subpkgdir"/usr/lib \
"$subpkgdir"/usr/bin
@@ -787,7 +793,7 @@ gdb() {
}
sha512sums="
406673a62deba759fc0532a801b3f57cabf894ea328587b23e62a707ba5767b0e3ae9b3f86bf3c6fcf13e8a3c30bc470e6598b625c8231efb629034211c162c2 gcc-13-20231014.tar.xz
2d1e0374ebdee526f0549319fc9c364968c52a0d4aaa16759f00453cb083fe58d8f463c47d97f3bb74a0a92e251989eb75a50ee5800b4569978c72d25446b44e gcc-13-20240309.tar.xz
1ecffba1b07d60e1b4422302b032bbea918b674c8e12b30aa6965b544d700ce86b61e9f7b8d402c6caf59257f491a394dd0912f0948565d6eae9335ee54f3b35 0001-posix_memalign.patch
163f282455b6a4df33f011bcd8b0440566ba0ffaeeab30d8ac52d39948980a56881ca0eff60687129d59556389a58b9d64e7768750bd70b1fe0fedbc9fc30dc2 0002-gcc-poison-system-directories.patch
3f24bb6a50d3c45b71ea05590e32fe3e69b91377ab185352891d5035c76ed193117c6d0b314a4c364bcf136b9a9dd5c926d6c7c30ab436976c121ebfea8d3ddd 0003-specs-turn-on-Wl-z-now-by-default.patch
@@ -823,4 +829,5 @@ b325035cb7122d79c6b42ca6d3fc9e02319ed2f7cddb0639dff25d2798d2ce63812cd623462cdf95
c474f34e6f9a4239d486a65141a133dbe8ce91427d502a57a9fd6eb403478a2b5715ba74f24c1cc0761e16eec77ba2c1ca921fb7d7bc1e040fc3703fc9559e75 0033-libphobos-do-not-use-LFS64-symbols.patch
c4482ffc36e7894b2140800159f4cbc9a3e9011e43a69b69f4fa92d5a11e2ee645c7e21df4423dd1e0636e8890849a5719647bfbdf84f951d638f8f488cb718c 0034-libgo-fix-lfs64-use.patch
cc1e10ac6e72db816f09325e301103109cc212a6f3de3ce0b9b038d149233c467319d203941695dbf3d7b9e2dcbbcd17609cdb056e831fcc323cd592423882d8 0036-PR110792-Early-clobber-issues-with-rot32di2-on-i386.patch
d834f5f95f4ebe70ec0af0748c8632c99a4f57b69dc14db1a38becdfcb03406b32febf39f772f37bd145538147099fa7433edce845e14ee77cd8f38fd9774fc1 0037-loongarch-disable-multilib-support.patch
"
@@ -0,0 +1,61 @@
From c4f484f465a32e796ae384aa3f90e79fa218b4e9 Mon Sep 17 00:00:00 2001
From: Jingyun Hua <huajingyun@loongson.cn>
Date: Mon, 7 Aug 2023 15:25:58 +0800
Subject: [PATCH] loongarch disable multilib support
Signed-off-by: Jingyun Hua <huajingyun@loongson.cn>
---
gcc/config/loongarch/linux.h | 10 +---------
gcc/config/loongarch/t-linux | 18 +++---------------
3 files changed, 5 insertions(+), 25 deletions(-)
diff --git a/gcc/config/loongarch/linux.h b/gcc/config/loongarch/linux.h
index 9059d2441..23eaff0cc 100644
--- a/gcc/config/loongarch/linux.h
+++ b/gcc/config/loongarch/linux.h
@@ -22,15 +22,7 @@ along with GCC; see the file COPYING3. If not see
* can work in a multilib environment. */
#if defined(LA_DISABLE_MULTILIB) && defined(LA_DISABLE_MULTIARCH)
-
- #if DEFAULT_ABI_BASE == ABI_BASE_LP64D
- #define ABI_LIBDIR "lib64"
- #elif DEFAULT_ABI_BASE == ABI_BASE_LP64F
- #define ABI_LIBDIR "lib64/f32"
- #elif DEFAULT_ABI_BASE == ABI_BASE_LP64S
- #define ABI_LIBDIR "lib64/sf"
- #endif
-
+ #define ABI_LIBDIR "lib"
#endif
#ifndef ABI_LIBDIR
diff --git a/gcc/config/loongarch/t-linux b/gcc/config/loongarch/t-linux
index e40da1792..f72c6e878 100644
--- a/gcc/config/loongarch/t-linux
+++ b/gcc/config/loongarch/t-linux
@@ -36,18 +36,6 @@ else
endif
# Don't define MULTILIB_OSDIRNAMES if multilib is disabled.
-ifeq ($(filter LA_DISABLE_MULTILIB,$(tm_defines)),)
-
- MULTILIB_OSDIRNAMES = \
- mabi.lp64d=../lib64$\
- $(call if_multiarch,:loongarch64-linux-gnu)
-
- MULTILIB_OSDIRNAMES += \
- mabi.lp64f=../lib64/f32$\
- $(call if_multiarch,:loongarch64-linux-gnuf32)
-
- MULTILIB_OSDIRNAMES += \
- mabi.lp64s=../lib64/sf$\
- $(call if_multiarch,:loongarch64-linux-gnusf)
-
-endif
+ MULTILIB_OSDIRNAMES = mabi.lp64d=../lib
+ MULTILIB_OSDIRNAMES += mabi.lp64f=../lib
+ MULTILIB_OSDIRNAMES += mabi.lp64s=../lib
--
2.41.0
+14 -7
View File
@@ -24,7 +24,7 @@ CBUILDROOT="/"
_cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET"
pkgname=gcc-riscv64
pkgver=13.2.1_git20231014
pkgver=13.2.1_git20240309
# i.e. 13.2.1, must match gcc/BASE-VER
_pkgbase="${pkgver%%_git*}"
# date component from snapshots
@@ -46,6 +46,7 @@ makedepends_host="linux-headers gmp-dev mpfr-dev mpc1-dev isl-dev zlib-dev musl-
subpackages="g++-riscv64:gpp libstdc++-dev-riscv64:libcxx_dev"
[ "$CHOST" = "$CTARGET" ] && subpackages="gcc-gdb gcc-doc$_target"
replaces="libstdc++ binutils"
options="!strip"
: "${LANG_CXX:=true}"
: "${LANG_D:=true}"
@@ -143,7 +144,7 @@ case "$CARCH" in
# GDC hasn't been ported to PowerPC
# See libphobos/configure.tgt in GCC sources for supported targets
# riscv fails with: error: static assert "unimplemented"
ppc64le|riscv64) LANG_D=false ;;
ppc64le|riscv64|loongarch64) LANG_D=false ;;
# GDC does currently not work on 32-bit musl architectures.
# This is a known upstream issue.
# See: https://github.com/dlang/druntime/pull/3383
@@ -155,6 +156,7 @@ case "$CTARGET_ARCH" in
arm*) _libitm=false ;;
mips*) _libitm=false ;;
riscv64) _libitm=false ;;
loongarch64) _libitm=false ;;
esac
# Internal libffi fails to build on MIPS at the moment, need to
@@ -162,6 +164,7 @@ esac
# the internal libffi.
case "$CTARGET_ARCH" in
mips*) LANG_GO=false ;;
loongarch64) LANG_GO=false ;;
esac
# Fortran uses libquadmath if toolchain has __float128
@@ -186,6 +189,11 @@ riscv64)
LANG_ADA=false;;
esac
case "$CTARGET_ARCH" in
loongarch64)
LANG_ADA=false;;
esac
_languages=c
if $LANG_CXX; then
_languages="$_languages,c++"
@@ -269,6 +277,7 @@ source="https://dev.alpinelinux.org/archive/gcc/${_pkgbase%%.*}-$_pkgsnap/gcc-${
0033-libphobos-do-not-use-LFS64-symbols.patch
0034-libgo-fix-lfs64-use.patch
0036-PR110792-Early-clobber-issues-with-rot32di2-on-i386.patch
0037-loongarch-disable-multilib-support.patch
"
# secfixes:
@@ -328,6 +337,7 @@ build() {
i586-*-*-*) _arch_configure="--with-arch=pentium-m --with-fpmath=sse --with-tune=generic --enable-cld";;
s390x-*-*-*) _arch_configure="--with-arch=z196 --with-tune=zEC12 --with-zarch --with-long-double-128 --enable-decimal-float";;
riscv64-*-*-*) _arch_configure="--with-arch=rv64gc --with-abi=lp64d --enable-autolink-libatomic";;
loongarch64-*-*-*) _arch_configure="--with-arch=loongarch64 --with-abi=lp64d";;
esac
case "$CTARGET_ARCH" in
@@ -683,10 +693,6 @@ go() {
depends="gcc=$_gccrel libgo=$_gccrel !go"
install="$pkgname-go.post-install"
# See https://lists.alpinelinux.org/~alpine/devel/%3C33KG0XO61I4IL.2Z7RTAZ5J3SY6%408pit.net%3E
provides="go-bootstrap"
provider_priority=1 # lowest, see community/go
mkdir -p "$subpkgdir"/$_gcclibexec \
"$subpkgdir"/usr/lib \
"$subpkgdir"/usr/bin
@@ -787,7 +793,7 @@ gdb() {
}
sha512sums="
406673a62deba759fc0532a801b3f57cabf894ea328587b23e62a707ba5767b0e3ae9b3f86bf3c6fcf13e8a3c30bc470e6598b625c8231efb629034211c162c2 gcc-13-20231014.tar.xz
2d1e0374ebdee526f0549319fc9c364968c52a0d4aaa16759f00453cb083fe58d8f463c47d97f3bb74a0a92e251989eb75a50ee5800b4569978c72d25446b44e gcc-13-20240309.tar.xz
1ecffba1b07d60e1b4422302b032bbea918b674c8e12b30aa6965b544d700ce86b61e9f7b8d402c6caf59257f491a394dd0912f0948565d6eae9335ee54f3b35 0001-posix_memalign.patch
163f282455b6a4df33f011bcd8b0440566ba0ffaeeab30d8ac52d39948980a56881ca0eff60687129d59556389a58b9d64e7768750bd70b1fe0fedbc9fc30dc2 0002-gcc-poison-system-directories.patch
3f24bb6a50d3c45b71ea05590e32fe3e69b91377ab185352891d5035c76ed193117c6d0b314a4c364bcf136b9a9dd5c926d6c7c30ab436976c121ebfea8d3ddd 0003-specs-turn-on-Wl-z-now-by-default.patch
@@ -823,4 +829,5 @@ b325035cb7122d79c6b42ca6d3fc9e02319ed2f7cddb0639dff25d2798d2ce63812cd623462cdf95
c474f34e6f9a4239d486a65141a133dbe8ce91427d502a57a9fd6eb403478a2b5715ba74f24c1cc0761e16eec77ba2c1ca921fb7d7bc1e040fc3703fc9559e75 0033-libphobos-do-not-use-LFS64-symbols.patch
c4482ffc36e7894b2140800159f4cbc9a3e9011e43a69b69f4fa92d5a11e2ee645c7e21df4423dd1e0636e8890849a5719647bfbdf84f951d638f8f488cb718c 0034-libgo-fix-lfs64-use.patch
cc1e10ac6e72db816f09325e301103109cc212a6f3de3ce0b9b038d149233c467319d203941695dbf3d7b9e2dcbbcd17609cdb056e831fcc323cd592423882d8 0036-PR110792-Early-clobber-issues-with-rot32di2-on-i386.patch
d834f5f95f4ebe70ec0af0748c8632c99a4f57b69dc14db1a38becdfcb03406b32febf39f772f37bd145538147099fa7433edce845e14ee77cd8f38fd9774fc1 0037-loongarch-disable-multilib-support.patch
"
@@ -0,0 +1,61 @@
From c4f484f465a32e796ae384aa3f90e79fa218b4e9 Mon Sep 17 00:00:00 2001
From: Jingyun Hua <huajingyun@loongson.cn>
Date: Mon, 7 Aug 2023 15:25:58 +0800
Subject: [PATCH] loongarch disable multilib support
Signed-off-by: Jingyun Hua <huajingyun@loongson.cn>
---
gcc/config/loongarch/linux.h | 10 +---------
gcc/config/loongarch/t-linux | 18 +++---------------
3 files changed, 5 insertions(+), 25 deletions(-)
diff --git a/gcc/config/loongarch/linux.h b/gcc/config/loongarch/linux.h
index 9059d2441..23eaff0cc 100644
--- a/gcc/config/loongarch/linux.h
+++ b/gcc/config/loongarch/linux.h
@@ -22,15 +22,7 @@ along with GCC; see the file COPYING3. If not see
* can work in a multilib environment. */
#if defined(LA_DISABLE_MULTILIB) && defined(LA_DISABLE_MULTIARCH)
-
- #if DEFAULT_ABI_BASE == ABI_BASE_LP64D
- #define ABI_LIBDIR "lib64"
- #elif DEFAULT_ABI_BASE == ABI_BASE_LP64F
- #define ABI_LIBDIR "lib64/f32"
- #elif DEFAULT_ABI_BASE == ABI_BASE_LP64S
- #define ABI_LIBDIR "lib64/sf"
- #endif
-
+ #define ABI_LIBDIR "lib"
#endif
#ifndef ABI_LIBDIR
diff --git a/gcc/config/loongarch/t-linux b/gcc/config/loongarch/t-linux
index e40da1792..f72c6e878 100644
--- a/gcc/config/loongarch/t-linux
+++ b/gcc/config/loongarch/t-linux
@@ -36,18 +36,6 @@ else
endif
# Don't define MULTILIB_OSDIRNAMES if multilib is disabled.
-ifeq ($(filter LA_DISABLE_MULTILIB,$(tm_defines)),)
-
- MULTILIB_OSDIRNAMES = \
- mabi.lp64d=../lib64$\
- $(call if_multiarch,:loongarch64-linux-gnu)
-
- MULTILIB_OSDIRNAMES += \
- mabi.lp64f=../lib64/f32$\
- $(call if_multiarch,:loongarch64-linux-gnuf32)
-
- MULTILIB_OSDIRNAMES += \
- mabi.lp64s=../lib64/sf$\
- $(call if_multiarch,:loongarch64-linux-gnusf)
-
-endif
+ MULTILIB_OSDIRNAMES = mabi.lp64d=../lib
+ MULTILIB_OSDIRNAMES += mabi.lp64f=../lib
+ MULTILIB_OSDIRNAMES += mabi.lp64s=../lib
--
2.41.0
+14 -7
View File
@@ -24,7 +24,7 @@ CBUILDROOT="/"
_cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET"
pkgname=gcc-x86
pkgver=13.2.1_git20231014
pkgver=13.2.1_git20240309
# i.e. 13.2.1, must match gcc/BASE-VER
_pkgbase="${pkgver%%_git*}"
# date component from snapshots
@@ -46,6 +46,7 @@ makedepends_host="linux-headers gmp-dev mpfr-dev mpc1-dev isl-dev zlib-dev musl-
subpackages="g++-x86:gpp libstdc++-dev-x86:libcxx_dev"
[ "$CHOST" = "$CTARGET" ] && subpackages="gcc-gdb gcc-doc$_target"
replaces="libstdc++ binutils"
options="!strip"
: "${LANG_CXX:=true}"
: "${LANG_D:=true}"
@@ -143,7 +144,7 @@ case "$CARCH" in
# GDC hasn't been ported to PowerPC
# See libphobos/configure.tgt in GCC sources for supported targets
# riscv fails with: error: static assert "unimplemented"
ppc64le|riscv64) LANG_D=false ;;
ppc64le|riscv64|loongarch64) LANG_D=false ;;
# GDC does currently not work on 32-bit musl architectures.
# This is a known upstream issue.
# See: https://github.com/dlang/druntime/pull/3383
@@ -155,6 +156,7 @@ case "$CTARGET_ARCH" in
arm*) _libitm=false ;;
mips*) _libitm=false ;;
riscv64) _libitm=false ;;
loongarch64) _libitm=false ;;
esac
# Internal libffi fails to build on MIPS at the moment, need to
@@ -162,6 +164,7 @@ esac
# the internal libffi.
case "$CTARGET_ARCH" in
mips*) LANG_GO=false ;;
loongarch64) LANG_GO=false ;;
esac
# Fortran uses libquadmath if toolchain has __float128
@@ -186,6 +189,11 @@ riscv64)
LANG_ADA=false;;
esac
case "$CTARGET_ARCH" in
loongarch64)
LANG_ADA=false;;
esac
_languages=c
if $LANG_CXX; then
_languages="$_languages,c++"
@@ -269,6 +277,7 @@ source="https://dev.alpinelinux.org/archive/gcc/${_pkgbase%%.*}-$_pkgsnap/gcc-${
0033-libphobos-do-not-use-LFS64-symbols.patch
0034-libgo-fix-lfs64-use.patch
0036-PR110792-Early-clobber-issues-with-rot32di2-on-i386.patch
0037-loongarch-disable-multilib-support.patch
"
# secfixes:
@@ -328,6 +337,7 @@ build() {
i586-*-*-*) _arch_configure="--with-arch=pentium-m --with-fpmath=sse --with-tune=generic --enable-cld";;
s390x-*-*-*) _arch_configure="--with-arch=z196 --with-tune=zEC12 --with-zarch --with-long-double-128 --enable-decimal-float";;
riscv64-*-*-*) _arch_configure="--with-arch=rv64gc --with-abi=lp64d --enable-autolink-libatomic";;
loongarch64-*-*-*) _arch_configure="--with-arch=loongarch64 --with-abi=lp64d";;
esac
case "$CTARGET_ARCH" in
@@ -683,10 +693,6 @@ go() {
depends="gcc=$_gccrel libgo=$_gccrel !go"
install="$pkgname-go.post-install"
# See https://lists.alpinelinux.org/~alpine/devel/%3C33KG0XO61I4IL.2Z7RTAZ5J3SY6%408pit.net%3E
provides="go-bootstrap"
provider_priority=1 # lowest, see community/go
mkdir -p "$subpkgdir"/$_gcclibexec \
"$subpkgdir"/usr/lib \
"$subpkgdir"/usr/bin
@@ -787,7 +793,7 @@ gdb() {
}
sha512sums="
406673a62deba759fc0532a801b3f57cabf894ea328587b23e62a707ba5767b0e3ae9b3f86bf3c6fcf13e8a3c30bc470e6598b625c8231efb629034211c162c2 gcc-13-20231014.tar.xz
2d1e0374ebdee526f0549319fc9c364968c52a0d4aaa16759f00453cb083fe58d8f463c47d97f3bb74a0a92e251989eb75a50ee5800b4569978c72d25446b44e gcc-13-20240309.tar.xz
1ecffba1b07d60e1b4422302b032bbea918b674c8e12b30aa6965b544d700ce86b61e9f7b8d402c6caf59257f491a394dd0912f0948565d6eae9335ee54f3b35 0001-posix_memalign.patch
163f282455b6a4df33f011bcd8b0440566ba0ffaeeab30d8ac52d39948980a56881ca0eff60687129d59556389a58b9d64e7768750bd70b1fe0fedbc9fc30dc2 0002-gcc-poison-system-directories.patch
3f24bb6a50d3c45b71ea05590e32fe3e69b91377ab185352891d5035c76ed193117c6d0b314a4c364bcf136b9a9dd5c926d6c7c30ab436976c121ebfea8d3ddd 0003-specs-turn-on-Wl-z-now-by-default.patch
@@ -823,4 +829,5 @@ b325035cb7122d79c6b42ca6d3fc9e02319ed2f7cddb0639dff25d2798d2ce63812cd623462cdf95
c474f34e6f9a4239d486a65141a133dbe8ce91427d502a57a9fd6eb403478a2b5715ba74f24c1cc0761e16eec77ba2c1ca921fb7d7bc1e040fc3703fc9559e75 0033-libphobos-do-not-use-LFS64-symbols.patch
c4482ffc36e7894b2140800159f4cbc9a3e9011e43a69b69f4fa92d5a11e2ee645c7e21df4423dd1e0636e8890849a5719647bfbdf84f951d638f8f488cb718c 0034-libgo-fix-lfs64-use.patch
cc1e10ac6e72db816f09325e301103109cc212a6f3de3ce0b9b038d149233c467319d203941695dbf3d7b9e2dcbbcd17609cdb056e831fcc323cd592423882d8 0036-PR110792-Early-clobber-issues-with-rot32di2-on-i386.patch
d834f5f95f4ebe70ec0af0748c8632c99a4f57b69dc14db1a38becdfcb03406b32febf39f772f37bd145538147099fa7433edce845e14ee77cd8f38fd9774fc1 0037-loongarch-disable-multilib-support.patch
"
@@ -0,0 +1,61 @@
From c4f484f465a32e796ae384aa3f90e79fa218b4e9 Mon Sep 17 00:00:00 2001
From: Jingyun Hua <huajingyun@loongson.cn>
Date: Mon, 7 Aug 2023 15:25:58 +0800
Subject: [PATCH] loongarch disable multilib support
Signed-off-by: Jingyun Hua <huajingyun@loongson.cn>
---
gcc/config/loongarch/linux.h | 10 +---------
gcc/config/loongarch/t-linux | 18 +++---------------
3 files changed, 5 insertions(+), 25 deletions(-)
diff --git a/gcc/config/loongarch/linux.h b/gcc/config/loongarch/linux.h
index 9059d2441..23eaff0cc 100644
--- a/gcc/config/loongarch/linux.h
+++ b/gcc/config/loongarch/linux.h
@@ -22,15 +22,7 @@ along with GCC; see the file COPYING3. If not see
* can work in a multilib environment. */
#if defined(LA_DISABLE_MULTILIB) && defined(LA_DISABLE_MULTIARCH)
-
- #if DEFAULT_ABI_BASE == ABI_BASE_LP64D
- #define ABI_LIBDIR "lib64"
- #elif DEFAULT_ABI_BASE == ABI_BASE_LP64F
- #define ABI_LIBDIR "lib64/f32"
- #elif DEFAULT_ABI_BASE == ABI_BASE_LP64S
- #define ABI_LIBDIR "lib64/sf"
- #endif
-
+ #define ABI_LIBDIR "lib"
#endif
#ifndef ABI_LIBDIR
diff --git a/gcc/config/loongarch/t-linux b/gcc/config/loongarch/t-linux
index e40da1792..f72c6e878 100644
--- a/gcc/config/loongarch/t-linux
+++ b/gcc/config/loongarch/t-linux
@@ -36,18 +36,6 @@ else
endif
# Don't define MULTILIB_OSDIRNAMES if multilib is disabled.
-ifeq ($(filter LA_DISABLE_MULTILIB,$(tm_defines)),)
-
- MULTILIB_OSDIRNAMES = \
- mabi.lp64d=../lib64$\
- $(call if_multiarch,:loongarch64-linux-gnu)
-
- MULTILIB_OSDIRNAMES += \
- mabi.lp64f=../lib64/f32$\
- $(call if_multiarch,:loongarch64-linux-gnuf32)
-
- MULTILIB_OSDIRNAMES += \
- mabi.lp64s=../lib64/sf$\
- $(call if_multiarch,:loongarch64-linux-gnusf)
-
-endif
+ MULTILIB_OSDIRNAMES = mabi.lp64d=../lib
+ MULTILIB_OSDIRNAMES += mabi.lp64f=../lib
+ MULTILIB_OSDIRNAMES += mabi.lp64s=../lib
--
2.41.0
+14 -7
View File
@@ -24,7 +24,7 @@ CBUILDROOT="/"
_cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET"
pkgname=gcc-x86_64
pkgver=13.2.1_git20231014
pkgver=13.2.1_git20240309
# i.e. 13.2.1, must match gcc/BASE-VER
_pkgbase="${pkgver%%_git*}"
# date component from snapshots
@@ -46,6 +46,7 @@ makedepends_host="linux-headers gmp-dev mpfr-dev mpc1-dev isl-dev zlib-dev musl-
subpackages="g++-x86_64:gpp libstdc++-dev-x86_64:libcxx_dev"
[ "$CHOST" = "$CTARGET" ] && subpackages="gcc-gdb gcc-doc$_target"
replaces="libstdc++ binutils"
options="!strip"
: "${LANG_CXX:=true}"
: "${LANG_D:=true}"
@@ -143,7 +144,7 @@ case "$CARCH" in
# GDC hasn't been ported to PowerPC
# See libphobos/configure.tgt in GCC sources for supported targets
# riscv fails with: error: static assert "unimplemented"
ppc64le|riscv64) LANG_D=false ;;
ppc64le|riscv64|loongarch64) LANG_D=false ;;
# GDC does currently not work on 32-bit musl architectures.
# This is a known upstream issue.
# See: https://github.com/dlang/druntime/pull/3383
@@ -155,6 +156,7 @@ case "$CTARGET_ARCH" in
arm*) _libitm=false ;;
mips*) _libitm=false ;;
riscv64) _libitm=false ;;
loongarch64) _libitm=false ;;
esac
# Internal libffi fails to build on MIPS at the moment, need to
@@ -162,6 +164,7 @@ esac
# the internal libffi.
case "$CTARGET_ARCH" in
mips*) LANG_GO=false ;;
loongarch64) LANG_GO=false ;;
esac
# Fortran uses libquadmath if toolchain has __float128
@@ -186,6 +189,11 @@ riscv64)
LANG_ADA=false;;
esac
case "$CTARGET_ARCH" in
loongarch64)
LANG_ADA=false;;
esac
_languages=c
if $LANG_CXX; then
_languages="$_languages,c++"
@@ -269,6 +277,7 @@ source="https://dev.alpinelinux.org/archive/gcc/${_pkgbase%%.*}-$_pkgsnap/gcc-${
0033-libphobos-do-not-use-LFS64-symbols.patch
0034-libgo-fix-lfs64-use.patch
0036-PR110792-Early-clobber-issues-with-rot32di2-on-i386.patch
0037-loongarch-disable-multilib-support.patch
"
# secfixes:
@@ -328,6 +337,7 @@ build() {
i586-*-*-*) _arch_configure="--with-arch=pentium-m --with-fpmath=sse --with-tune=generic --enable-cld";;
s390x-*-*-*) _arch_configure="--with-arch=z196 --with-tune=zEC12 --with-zarch --with-long-double-128 --enable-decimal-float";;
riscv64-*-*-*) _arch_configure="--with-arch=rv64gc --with-abi=lp64d --enable-autolink-libatomic";;
loongarch64-*-*-*) _arch_configure="--with-arch=loongarch64 --with-abi=lp64d";;
esac
case "$CTARGET_ARCH" in
@@ -683,10 +693,6 @@ go() {
depends="gcc=$_gccrel libgo=$_gccrel !go"
install="$pkgname-go.post-install"
# See https://lists.alpinelinux.org/~alpine/devel/%3C33KG0XO61I4IL.2Z7RTAZ5J3SY6%408pit.net%3E
provides="go-bootstrap"
provider_priority=1 # lowest, see community/go
mkdir -p "$subpkgdir"/$_gcclibexec \
"$subpkgdir"/usr/lib \
"$subpkgdir"/usr/bin
@@ -787,7 +793,7 @@ gdb() {
}
sha512sums="
406673a62deba759fc0532a801b3f57cabf894ea328587b23e62a707ba5767b0e3ae9b3f86bf3c6fcf13e8a3c30bc470e6598b625c8231efb629034211c162c2 gcc-13-20231014.tar.xz
2d1e0374ebdee526f0549319fc9c364968c52a0d4aaa16759f00453cb083fe58d8f463c47d97f3bb74a0a92e251989eb75a50ee5800b4569978c72d25446b44e gcc-13-20240309.tar.xz
1ecffba1b07d60e1b4422302b032bbea918b674c8e12b30aa6965b544d700ce86b61e9f7b8d402c6caf59257f491a394dd0912f0948565d6eae9335ee54f3b35 0001-posix_memalign.patch
163f282455b6a4df33f011bcd8b0440566ba0ffaeeab30d8ac52d39948980a56881ca0eff60687129d59556389a58b9d64e7768750bd70b1fe0fedbc9fc30dc2 0002-gcc-poison-system-directories.patch
3f24bb6a50d3c45b71ea05590e32fe3e69b91377ab185352891d5035c76ed193117c6d0b314a4c364bcf136b9a9dd5c926d6c7c30ab436976c121ebfea8d3ddd 0003-specs-turn-on-Wl-z-now-by-default.patch
@@ -823,4 +829,5 @@ b325035cb7122d79c6b42ca6d3fc9e02319ed2f7cddb0639dff25d2798d2ce63812cd623462cdf95
c474f34e6f9a4239d486a65141a133dbe8ce91427d502a57a9fd6eb403478a2b5715ba74f24c1cc0761e16eec77ba2c1ca921fb7d7bc1e040fc3703fc9559e75 0033-libphobos-do-not-use-LFS64-symbols.patch
c4482ffc36e7894b2140800159f4cbc9a3e9011e43a69b69f4fa92d5a11e2ee645c7e21df4423dd1e0636e8890849a5719647bfbdf84f951d638f8f488cb718c 0034-libgo-fix-lfs64-use.patch
cc1e10ac6e72db816f09325e301103109cc212a6f3de3ce0b9b038d149233c467319d203941695dbf3d7b9e2dcbbcd17609cdb056e831fcc323cd592423882d8 0036-PR110792-Early-clobber-issues-with-rot32di2-on-i386.patch
d834f5f95f4ebe70ec0af0748c8632c99a4f57b69dc14db1a38becdfcb03406b32febf39f772f37bd145538147099fa7433edce845e14ee77cd8f38fd9774fc1 0037-loongarch-disable-multilib-support.patch
"
+2 -2
View File
@@ -3,7 +3,7 @@
pkgname=grub-efi-x86
pkgver=2.12
pkgrel=0
pkgrel=5
_arch="x86"
_mirror="http://dl-4.alpinelinux.org/alpine/"
@@ -22,5 +22,5 @@ package() {
}
sha512sums="
2958746c0c05271d3bb27912973ddf9180bbf060f9909037f0b9dcf3da2036dd81b69a37e1c43414def0e26942f83bccab04554ae6ddd6b3b9dc94d5e3744ac4 grub-efi-2.12-r0-x86-edge.apk
3cc14376ad5dc2a4d8488d49199d1257c5024c8c4afcbcdf67a0cd7a66e75962191850cca4248ce13abf060b4d9e2fd0966ef6adeb38a00d58c9e4054eec1e9d grub-efi-2.12-r5-x86-edge.apk
"
+4 -4
View File
@@ -7,8 +7,8 @@ if [ -z "$(type -t arch_to_hostspec)" ]; then
fi
pkgname=musl-aarch64
pkgver=1.2.4_git20230717
pkgrel=5
pkgver=1.2.5
pkgrel=1
arch="x86_64"
subpackages="musl-dev-aarch64:package_dev"
@@ -57,6 +57,6 @@ package_dev() {
}
sha512sums="
478704707b55072b9be8747e8c3bf3a20832d0329f63429fae2048e6b9a0674e31e92b4c1b8af87f65f84270711fef6b7ce54653448e580e532fa2c94e3761e1 musl-1.2.4_git20230717-r5-aarch64-edge.apk
24471c9d781ce9920d06ab79296afb30ce61563729bb319ee8cd8feb960d1c05e5f96edb9464fcdb95b6c16fde788400408dd2e768e69ce13cc15ad3be54a969 musl-dev-1.2.4_git20230717-r5-aarch64-edge.apk
5ad546aca584d77f6fcf7d92bc5e6432d8c32b3db2922a4099423649e674b5c149464bd0048021e50b18398a00382bbeb6a0a598148bea4fa6d783f5c4c4445d musl-1.2.5-r1-aarch64-edge.apk
b6fed1441c0eacfea0061967915a876ce0af79b83511d9b05ae7e7cf489d88e36a544fa7f7512f390429d7d0217b672c04a83dfceea603ce0e86d2a47c50f4cc musl-dev-1.2.5-r1-aarch64-edge.apk
"
+4 -4
View File
@@ -7,8 +7,8 @@ if [ -z "$(type -t arch_to_hostspec)" ]; then
fi
pkgname=musl-armhf
pkgver=1.2.4_git20230717
pkgrel=5
pkgver=1.2.5
pkgrel=1
arch="x86_64"
subpackages="musl-dev-armhf:package_dev"
@@ -57,6 +57,6 @@ package_dev() {
}
sha512sums="
c0bdfbfc2c1f475c17850e7462cf286e9d8ce874deb03d536d208fcdeb45b35c761737f693be3be9711c15547cd9d2bbafae45280fc9b0291192c2489da0790f musl-1.2.4_git20230717-r5-armhf-edge.apk
1197968b53adca7c482d23ea2ca99d21fe905b554b83c30b960a4e64dda6ff40009745cd18621bd363b4994ccbc8b9b763b6c3105f6f6283dc8ee1305ab7206e musl-dev-1.2.4_git20230717-r5-armhf-edge.apk
148883dfd80bb670df4c6a919aaf3334d203a87fac98df8046a920a2e4c1c3439347f5653abc2994e9a9fe2946764395cd83e2f2437ab903e37f8ad3fcc6637a musl-1.2.5-r1-armhf-edge.apk
052f4f3ff6974aadbe90c1a69c4b29a1fefc25d2f2f794b3d55ed49b79a94dab900592a65b3c80ae9824580eab4fb99cb2cfdf9399354e74a1804871d97774a0 musl-dev-1.2.5-r1-armhf-edge.apk
"
+4 -4
View File
@@ -7,8 +7,8 @@ if [ -z "$(type -t arch_to_hostspec)" ]; then
fi
pkgname=musl-armv7
pkgver=1.2.4_git20230717
pkgrel=5
pkgver=1.2.5
pkgrel=1
arch="x86_64"
subpackages="musl-dev-armv7:package_dev"
@@ -57,6 +57,6 @@ package_dev() {
}
sha512sums="
5236dadbdb41e9543426592cf7e64e548fec59742e4943a99bb18e3cb93c9ae1287c9ac34c2de7fcb58bd1f94df4313324e8afa1160acc4929fb91f06754c77c musl-1.2.4_git20230717-r5-armv7-edge.apk
1877267544198d867752d02cb8cbe6672c4bd1fcd20ac8e5e4c614675b31921f3da9bc2a68f769fbd726ffc0c7125406387e01a9ebf49d0e56d49e1ce257e71d musl-dev-1.2.4_git20230717-r5-armv7-edge.apk
f3da7602184940c3ca4ddc973fd127fe08eb5e9141cf4c22cf49ccf131ef836b7f697f20dc64c7e18661f88779354c8b93c14521d18fb2e83d10638c3c8ed7d5 musl-1.2.5-r1-armv7-edge.apk
b2678887dfc565691d92c1604137d984c5ce68f7c39c1ec2fd7200d4df4f818d4690c323f93b76ca1d4498a5dc36dff61959e06cc749099c706f85601d915d8e musl-dev-1.2.5-r1-armv7-edge.apk
"
+4 -4
View File
@@ -7,8 +7,8 @@ if [ -z "$(type -t arch_to_hostspec)" ]; then
fi
pkgname=musl-riscv64
pkgver=1.2.4_git20230717
pkgrel=5
pkgver=1.2.5
pkgrel=1
arch="x86_64"
subpackages="musl-dev-riscv64:package_dev"
@@ -57,6 +57,6 @@ package_dev() {
}
sha512sums="
3f924270fb0ec0fa8fb5a23f0f9d6d9148affcac89cae413940dc04465d375415fcf0aff734754e2ac0b9ba2113c10f836b186908d75cdccec4d923eacafb961 musl-1.2.4_git20230717-r5-riscv64-edge.apk
76ae321a9d3895f8367968226a6a492b268ae582a83e74d4152cf88dd48aaa79814532e8e1a057cba7c29b926f48d2309f2c12a16b991649cb8f713455aa5501 musl-dev-1.2.4_git20230717-r5-riscv64-edge.apk
822f24faaf2285174742788da0dceef3bada4dbd0db9f67362876b3c0ab6bc647a0f2f0cc70e2e28dbb90121f08b65640a344e7cae8416a84bfb389db32e7d9c musl-1.2.5-r1-riscv64-edge.apk
04ac4a81d713f71b68082767ce2afab3ce458730664c140f49a0b33f257666a6b4289c5b53935fe16345f8445a458e5307511773651c4574526cfaaf232c239a musl-dev-1.2.5-r1-riscv64-edge.apk
"
+4 -4
View File
@@ -7,8 +7,8 @@ if [ -z "$(type -t arch_to_hostspec)" ]; then
fi
pkgname=musl-x86
pkgver=1.2.4_git20230717
pkgrel=5
pkgver=1.2.5
pkgrel=1
arch="x86_64"
subpackages="musl-dev-x86:package_dev"
@@ -57,6 +57,6 @@ package_dev() {
}
sha512sums="
c93eec26b3bd7b2bc5c8859d71a9dfcfc3c0d346183d97b8600d57270585ce57ac9f84dd633b8d8ae4eae0324aa6f8e98c67a0bdd33e2e8994d721e208e07a3c musl-1.2.4_git20230717-r5-x86-edge.apk
77723100d0b2ae558816e4b9eb86c07d9ed64c69a84d6a07904d0806646e800a0f81b3a158948d5681394b9e3304a10bd0ca26445f5d4630f921bb87328d3afe musl-dev-1.2.4_git20230717-r5-x86-edge.apk
53a30a57f0db29e8d73d7190590fce18a19bcd358f9b0f3d4fa0b8821dad4ed5f1065c3c07dbc373a23cbd98c9a9dc1c2c2d864ac88eefd53dc5f89d8e57ed67 musl-1.2.5-r1-x86-edge.apk
e9178fcfe27bdc7568c35889cff8cf20829f67460fd6dc22a6ca0465063a809081ee1267b4275432d23d1e7d457a4b207a0ff11c678233c4e430a1173d4ccea8 musl-dev-1.2.5-r1-x86-edge.apk
"
+4 -4
View File
@@ -7,8 +7,8 @@ if [ -z "$(type -t arch_to_hostspec)" ]; then
fi
pkgname=musl-x86_64
pkgver=1.2.4_git20230717
pkgrel=5
pkgver=1.2.5
pkgrel=1
arch="aarch64"
subpackages="musl-dev-x86_64:package_dev"
@@ -57,6 +57,6 @@ package_dev() {
}
sha512sums="
4ea90456fcff08cb7c9065f4c790c5d0a3b2b17224f2490f6954c2de7ddb64559a6e1f0df1f13629da5d8f619fc1d9737a6982bb438120641bf1d717004e2688 musl-1.2.4_git20230717-r5-x86_64-edge.apk
0ce4a260cb8c6fc9d412d5164d848ee6155d4ea4fca9dff89d5b08b8e2c0fcde5e635846ca762be54a6df139aa178902fc2594ffe76f94ae1e5414a67f0707a3 musl-dev-1.2.4_git20230717-r5-x86_64-edge.apk
5506970c66b6da294d32961e94cadc6926a7405915a3d4dd519ed8c2aae829f2fbfaab2ccc8d0794f4aa102aa3e8cbd62099aa54668a11ac0c5072f59befece6 musl-1.2.5-r1-x86_64-edge.apk
bd2602e59831ba860a548c8281bb62be3382b4035f18c9e36350be644db61a762a413e1d696697d402a57d4bc565faf86c2a212e27c9b9a890d765f794bbe829 musl-dev-1.2.5-r1-x86_64-edge.apk
"
@@ -0,0 +1,70 @@
From 3810f128e9ecf04cf07d243cd377fcb6046cfd73 Mon Sep 17 00:00:00 2001
From: Newbyte <newbyte@postmarketos.org>
Date: Tue, 30 Apr 2024 17:57:20 +0200
Subject: [PATCH] ARM: 8933/1: replace Sun/Solaris style flag on section
Taken from
linux3.4-ARM-8933-1-replace-Sun-Solaris-style-flag-on-section.patch
and adapted for the Exynos 4412 vendor sources.
---
arch/arm/boot/bootp/init.S | 2 +-
arch/arm/boot/compressed/big-endian.S | 2 +-
arch/arm/boot/compressed/head.S | 2 +-
arch/arm/mm/proc-v7.S | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/bootp/init.S b/arch/arm/boot/bootp/init.S
index 78b50807516..868eeeaaa46 100644
--- a/arch/arm/boot/bootp/init.S
+++ b/arch/arm/boot/bootp/init.S
@@ -16,7 +16,7 @@
* size immediately following the kernel, we could build this into
* a binary blob, and concatenate the zImage using the cat command.
*/
- .section .start,#alloc,#execinstr
+ .section .start, "ax"
.type _start, #function
.globl _start
diff --git a/arch/arm/boot/compressed/big-endian.S b/arch/arm/boot/compressed/big-endian.S
index 25ab26f1c6f..f22428e275f 100644
--- a/arch/arm/boot/compressed/big-endian.S
+++ b/arch/arm/boot/compressed/big-endian.S
@@ -5,7 +5,7 @@
* Author: Nicolas Pitre
*/
- .section ".start", #alloc, #execinstr
+ .section ".start", "ax"
mrc p15, 0, r0, c1, c0, 0 @ read control reg
orr r0, r0, #(1 << 7) @ enable big endian mode
diff --git a/arch/arm/boot/compressed/head.S b/arch/arm/boot/compressed/head.S
index 63cfa2e9236..3cd67aa3855 100644
--- a/arch/arm/boot/compressed/head.S
+++ b/arch/arm/boot/compressed/head.S
@@ -112,7 +112,7 @@
#endif
.endm
- .section ".start", #alloc, #execinstr
+ .section ".start", "ax"
/*
* sort out different calling conventions
*/
diff --git a/arch/arm/mm/proc-v7.S b/arch/arm/mm/proc-v7.S
index e1687990af9..a479702f198 100644
--- a/arch/arm/mm/proc-v7.S
+++ b/arch/arm/mm/proc-v7.S
@@ -519,7 +519,7 @@ __v7_setup_stack:
string cpu_elf_name, "v7"
.align
- .section ".proc.info.init", #alloc, #execinstr
+ .section ".proc.info.init", "ax"
/*
* Standard v7 proc info content
--
2.44.0
@@ -0,0 +1,22 @@
From c6b821b1281f7ce2b54aad3b0b2acd0e29039c8f Mon Sep 17 00:00:00 2001
From: Stefan Hansson <newbyte@postmarketos.org>
Date: Mon, 6 May 2024 10:59:58 +0200
Subject: [PATCH] Fix lzma piggy
---
arch/arm/boot/compressed/piggy.lzma.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/compressed/piggy.lzma.S b/arch/arm/boot/compressed/piggy.lzma.S
index d7e69cffbc0..cfea81ae8f4 100644
--- a/arch/arm/boot/compressed/piggy.lzma.S
+++ b/arch/arm/boot/compressed/piggy.lzma.S
@@ -1,4 +1,4 @@
- .section .piggydata,#alloc
+ .section .piggydata, "a"
.globl input_data
input_data:
.incbin "arch/arm/boot/compressed/piggy.lzma"
--
2.45.0
@@ -0,0 +1,22 @@
From 6083916292864215fe4af6c0829186d5cc520f7f Mon Sep 17 00:00:00 2001
From: Stefan Hansson <newbyte@postmarketos.org>
Date: Mon, 6 May 2024 19:08:35 +0200
Subject: [PATCH] Fix lzo piggy
---
arch/arm/boot/compressed/piggy.lzo.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/compressed/piggy.lzo.S b/arch/arm/boot/compressed/piggy.lzo.S
index a425ad95..236976d8 100644
--- a/arch/arm/boot/compressed/piggy.lzo.S
+++ b/arch/arm/boot/compressed/piggy.lzo.S
@@ -1,4 +1,4 @@
- .section .piggydata,#alloc
+ .section .piggydata, "a"
.globl input_data
input_data:
.incbin "arch/arm/boot/compressed/piggy.lzo"
--
2.45.0
@@ -0,0 +1,10 @@
diff --git a/arch/arm/boot/compressed/piggy.gzip.S b/arch/arm/boot/compressed/piggy.gzip.S
index a68adf91a16..175ed02a6ac 100644
--- a/arch/arm/boot/compressed/piggy.gzip.S
+++ b/arch/arm/boot/compressed/piggy.gzip.S
@@ -1,4 +1,4 @@
- .section .piggydata,#alloc
+ .section .piggydata, "a"
.globl input_data
input_data:
.incbin "arch/arm/boot/compressed/piggy.gzip"
@@ -0,0 +1,12 @@
diff --git a/arch/arm64/mm/proc.S b/arch/arm64/mm/proc.S
index d2f2cedf..7e2cbc74 100644
--- a/arch/arm64/mm/proc.S
+++ b/arch/arm64/mm/proc.S
@@ -171,7 +171,6 @@ ENTRY(cpu_do_switch_mm)
ret
ENDPROC(cpu_do_switch_mm)
- .section ".text.init", #alloc, #execinstr
/*
* __cpu_setup
@@ -1,4 +1,4 @@
# Unmaintained: Downstream port, only for testing. Use mainline port (alcatel-idol347)!
# Archived: Downstream port, only for testing. Use mainline port (alcatel-idol347)!
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-alcatel-idol347-downstream
pkgdesc="Alcatel OneTouch Idol 3 (4.7) (Downstream)"
@@ -1,4 +1,4 @@
# Unmaintained: Downstream port, only for testing. Use mainline port (bq-paella)!
# Archived: Downstream port, only for testing. Use mainline port (bq-paella)!
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-bq-paella-downstream
pkgdesc="BQ Aquaris X5 (Downstream)"
@@ -1,8 +1,8 @@
# Unmaintained: Downstream port, only for testing. Use mainline port (htc-flounder)!
# Archived: Downstream port, only for testing. Use mainline port (htc-flounder)!
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-htc-flounder-downstream
pkgdesc="Google Nexus 9"
pkgver=0.1
pkgver=1
pkgrel=0
url="https://postmarketos.org"
license="gpl-v3"
@@ -1,4 +1,4 @@
# Unmaintained: Downstream port, only for testing. Use mainline port (huawei-kiwi)!
# Archived: Downstream port, only for testing. Use mainline port (huawei-kiwi)!
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-huawei-kiwi-downstream
pkgdesc="Huawei Honor 5X (Downstream)"
@@ -0,0 +1,46 @@
# Archived: Downstream port, maybe useful for EPDC performance improvement
# needs special userspace to show up anything
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-kobo-clara-downstream
pkgdesc="Kobo Clara HD downstream"
pkgver=0.1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="
postmarketos-base
u-boot-kobo-clara-downstream
u-boot-tools
linux-kobo-clara-downstream
"
makedepends="devicepkg-dev"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="
deviceinfo
uboot-script-downstream.cmd
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
mkimage -A arm -O linux -T script -n postmarketOS \
-d "$srcdir"/uboot-script-downstream.cmd "$srcdir/boot-downstream.scr"
install -Dm644 "$srcdir/boot-downstream.scr" "$pkgdir/boot/boot.scr"
}
nonfree_firmware() {
pkgdesc="Kobo Clara HD firmware"
depends="firmware-kobo-clara-downstream"
mkdir "$subpkgdir"
}
sha512sums="
84b9e5385b7fd77af6891b31d7e95ec424645f741d54168d3d38f6f703071d622829d9f7cf5a29136bf6eb9ec5b2a50a05efe76ddc3e047bb4a69e197fbfde24 deviceinfo
4bfc2714a2670efc451860bd97d36ba12559e00aed41afdde1ac3e01b41458390358ac7f6bc96a6dee6be6a34f534da52d845b02df0566b25f4868774ef69b1d uboot-script-downstream.cmd
"
@@ -0,0 +1,28 @@
# Reference: <https://postmarketos.org/deviceinfo>
# Please use double quotes only. You can source this file in shell
# scripts.
deviceinfo_format_version="0"
deviceinfo_name="Kobo Clara HD"
deviceinfo_manufacturer="Kobo"
deviceinfo_codename="kobo-clara-downstream"
deviceinfo_year="2018"
deviceinfo_arch="armv7"
deviceinfo_dtb="imx6sll-e60k02"
# Device related
deviceinfo_chassis="tablet"
deviceinfo_keyboard="false"
deviceinfo_external_storage="true"
deviceinfo_screen_width="1072"
deviceinfo_screen_height="1448"
# Bootloader related
deviceinfo_flash_method="none"
deviceinfo_boot_part_start="49152"
deviceinfo_getty="ttymxc0;115200"
deviceinfo_generate_legacy_uboot_initfs="true"
deviceinfo_no_framebuffer="true"
deviceinfo_sd_embed_firmware_step_size="512"
deviceinfo_sd_embed_firmware="u-boot/kobo-clara/u-boot.imx:2,firmware/kobo-clara/hwcfg+header.bin:1023,firmware/kobo-clara/ntxfw-E60K00+header.bin:1029,u-boot/kobo-clara/u-boot-env.bin:1536"
@@ -1,9 +1,9 @@
# Unmaintained: Downstream port, only for testing. Use mainline port (motorola-ocean)!
# Archived: Downstream port, only for testing. Use mainline port (motorola-ocean)!
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-motorola-ocean-downstream
pkgdesc="Motorola Moto G7 Power"
pkgver=0.1
pkgrel=2
pkgver=1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@@ -1,9 +1,9 @@
# Unmaintained: Downstream port, only for reference. Use mainline port (oneplus-cheeseburger)!
# Archived: Downstream port, only for reference. Use mainline port (oneplus-cheeseburger)!
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-oneplus-cheeseburger-downstream
pkgdesc="OnePlus 5 (Downstream)"
pkgver=3
pkgrel=1
pkgrel=2
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@@ -13,7 +13,6 @@ depends="
msm-fb-refresher
mkbootimg
postmarketos-base
postmarketos-update-kernel
"
makedepends="devicepkg-dev"
source="deviceinfo"
@@ -1,9 +1,9 @@
# Unmaintained: Downstream port, only for reference. Use mainline port (oneplus-dumpling)!
# Archived: Downstream port, only for reference. Use mainline port (oneplus-dumpling)!
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-oneplus-dumpling-downstream
pkgdesc="OnePlus 5T (Downstream)"
pkgver=3
pkgrel=1
pkgrel=2
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@@ -13,7 +13,6 @@ depends="
msm-fb-refresher
mkbootimg
postmarketos-base
postmarketos-update-kernel
"
makedepends="devicepkg-dev"
source="deviceinfo"
@@ -1,4 +1,4 @@
# Unmaintained: Downstream port, only for testing. Use mainline port (samsung-a5lte)!
# Archived: Downstream port, only for testing. Use mainline port (samsung-a5lte)!
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-a5lte-downstream
pkgdesc="Samsung Galaxy A5 (SM-A500F)"
@@ -1,4 +1,4 @@
# Unmaintained: Downstream port, only for testing. Use mainline port (samsung-a5ulte)!
# Archived: Downstream port, only for testing. Use mainline port (samsung-a5ulte)!
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-a5ulte-downstream
pkgdesc="Samsung Galaxy A5 (SM-A500FU)"
@@ -1,17 +1,17 @@
# Unmaintained: Downstream port, only for testing. Use mainline port (samsung-coreprimevelte)!
# This kernel is used only for bringing up new features, thus unmaintained
# Archived: Downstream port, only for testing. Use mainline port (samsung-coreprimevelte)!
# This kernel is used only for bringing up new features, thus archived
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-coreprimevelte-downstream
pkgdesc="Samsung Galaxy Core Prime VE LTE downstream"
pkgver=0.1
pkgrel=0
pkgver=1
pkgrel=3
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="mkbootimg linux-samsung-coreprimevelte-downstream postmarketos-base pxa-mkbootimg u-boot-tools"
depends="mkbootimg linux-samsung-coreprimevelte-downstream postmarketos-base postmarketos-initramfs-minimal pxa-mkbootimg u-boot-tools"
makedepends="devicepkg-dev"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
_pmb_recommends="firmware-samsung-pxa1908-downstream"
source="deviceinfo 90-coreprimevelte.conf"
build() {
@@ -23,12 +23,6 @@ package() {
install -Dm444 $startdir/90-coreprimevelte.conf $pkgdir/etc/sysctl.d/90-coreprimevelte.conf
}
nonfree_firmware() {
pkgdesc="Wi-Fi firmware"
depends="firmware-samsung-pxa1908"
mkdir "$subpkgdir"
}
sha512sums="
741f46736c2742d4a6f118a924eee89954fb14e5b1dc00f372bda41b63ec975cf960909f915fcb31ad965f136a712905bc8626cd7e530f40e110885f7c861790 deviceinfo
4854cc57b86e1199dbc165110514e672dabf45044fe9f7ebbde5b2b24768fb5497273b5f38612cf2dfeffc9bf0648c725114b4fa01165bf7fb02f7d741ee5806 90-coreprimevelte.conf
@@ -1,8 +1,8 @@
# Unmaintained: Downstream port, only for testing. Use mainline port (samsung-espresso10/samsung-espresso7)!
# Archived: Downstream port, only for testing. Use mainline port (samsung-espresso10/samsung-espresso7)!
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-espresso10-downstream
pkgdesc="Samsung Galaxy Tab 2 (10.1 inch)"
pkgver=0.2
pkgver=1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@@ -28,5 +28,5 @@ nonfree_firmware() {
}
sha512sums="
8f93246eaf116a105c750c4bed98b0744e038ddd1b257ddf5cccd1735968a226dba4467f4a4818417f07842075b87683d8b79b1abb5ebf19a0262854e29dd8d4 deviceinfo
55084a3188f17ed78358fd675a1bb689eda20f7f0b71769bf19ec8eceedb292ec01fd10ca5db801a5000754069c1c1061208bea2416ca3fca797620982364a0c deviceinfo
"
@@ -28,4 +28,4 @@ deviceinfo_flash_offset_ramdisk="0x01000000"
deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x00000100"
deviceinfo_flash_pagesize="2048"
deviceinfo_flash_heimdall_partition_system="FACTORYFS"
deviceinfo_flash_heimdall_partition_rootfs="FACTORYFS"
@@ -1,14 +1,14 @@
# Unmaintained: Downstream port
# Archived: Downstream port
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-expressatt-downstream
pkgdesc="Samsung Galaxy Express SGH-I437"
pkgver=0.2
pkgrel=0
pkgver=1
pkgrel=1
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="postmarketos-base linux-samsung-expressatt mkbootimg"
depends="postmarketos-base linux-samsung-expressatt-downstream mkbootimg"
makedepends="devicepkg-dev"
source="deviceinfo"
@@ -1,4 +1,4 @@
# Unmaintained: Downstream port, only for reference. Use mainline port (samsung-janice)!
# Archived: Downstream port, only for reference. Use mainline port (samsung-janice)!
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-janice-downstream
@@ -1,9 +1,9 @@
# Unmaintained: Downstream port, only for testing. Use mainline port (samsung-klte)!
# Archived: Downstream port, only for testing. Use mainline port (samsung-klte)!
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-klte-downstream
pkgdesc="Samsung Galaxy S5 (SM-G900F)"
pkgver=1
pkgrel=3
pkgrel=2
url="https://postmarketos.org"
license="MIT"
arch="armv7"
@@ -1,13 +1,19 @@
# Archived: Downstream port, only for testing. Use mainline port (samsung-lt01)!
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-lt01wifi
pkgname=device-samsung-lt01wifi-downstream
pkgdesc="Samsung Galaxy Tab 3 8.0"
pkgver=0.1
pkgrel=12
pkgver=1
pkgrel=1
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="postmarketos-base linux-samsung-lt01wifi mkbootimg"
depends="
postmarketos-base
postmarketos-initramfs-minimal
linux-samsung-lt01wifi-downstream
mkbootimg
"
makedepends="devicepkg-dev"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="deviceinfo
@@ -24,12 +30,12 @@ package() {
nonfree_firmware() {
pkgdesc="Wifi firmware"
depends="firmware-samsung-lt01wifi"
depends="firmware-samsung-lt01wifi-downstream"
mkdir "$subpkgdir"
}
sha512sums="
579807e4997b3d5a57a32a9bf9408c08950830c7578da9eae19d3f7454277fdb01ce33df21cc658c36838671b4dd3594e3c4369e0e6fc7cf1573a29de4b9dc9e deviceinfo
b6d8953f5717b81fd1cb6d34e0f5539480b348a52194bbd3e6d83c3ae9e77bc2d948b05303c93ecbd7121f7affd476a9522c32c1a55fd7cee4ae0ca1bc0b88a0 deviceinfo
af036fe35011db078379dbb2e8c16c86546f0a4fcb3d1bcee3502bb1ea5b38f3ec5a9fa8cd1ca8ed8b89592a7f572d6072781289845303e0bf85fc2de4ead9fb modules-load.conf
594d6059ba1b06bce65538d26ce80cf2ce840786605b86e993ffaef858837507c033c0f95b7bcd9914ae7ea3cd2a9e43e32ec879db7c908219ad62d38b4e426a modprobe.conf
"
@@ -4,7 +4,7 @@
deviceinfo_format_version="0"
deviceinfo_name="Samsung Galaxy Tab 3 8.0"
deviceinfo_manufacturer="Samsung"
deviceinfo_codename="samsung-lt01wifi"
deviceinfo_codename="samsung-lt01wifi-downstream"
deviceinfo_year="2013"
deviceinfo_arch="armv7"
@@ -27,5 +27,5 @@ deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x00000100"
deviceinfo_flash_pagesize="2048"
deviceinfo_flash_heimdall_partition_kernel="BOOT"
deviceinfo_flash_heimdall_partition_system="SYSTEM"
deviceinfo_flash_heimdall_partition_rootfs="SYSTEM"
deviceinfo_flash_sparse="true"
@@ -1,9 +1,9 @@
# Unmaintained: Downstream port, only for testing. Use mainline port (samsung-m0/samsung-m3)!
# Archived: Downstream port, only for testing. Use mainline port (samsung-m0/samsung-m3)!
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-m0-downstream
pkgdesc="Samsung Galaxy S III"
pkgver=3
pkgrel=3
pkgrel=4
url="https://postmarketos.org"
license="MIT"
arch="armv7"
@@ -12,6 +12,7 @@ depends="
linux-samsung-m0-downstream
mkbootimg
postmarketos-base
postmarketos-initramfs-minimal
"
makedepends="devicepkg-dev"
install="$pkgname.post-install"
@@ -0,0 +1,59 @@
# Archived: Downstream port, only for testing. Use mainline port (samsung-on7xelte)!
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-on7xelte-downstream
pkgdesc="Samsung Galaxy J7 Prime"
pkgver=1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
linux-samsung-on7xelte
mkbootimg
msm-fb-refresher
postmarketos-base
samsungipcd
"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware $pkgname-lightdm"
makedepends="devicepkg-dev"
install="$pkgname.post-install"
source="
deviceinfo
lightdm.conf
mount-efs.rc-init
samsungipcd.rc-conf
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
# Mounting EFS Partition
install -Dm755 mount-efs.rc-init "$pkgdir"/etc/init.d/mount-efs
# Modem Configuration - samsungipcd
install -Dm644 samsungipcd.rc-conf "$pkgdir"/etc/conf.d/samsungipcd
}
nonfree_firmware() {
pkgdesc="Proprietary Firmware blobs"
depends="firmware-samsung-on7xelte"
mkdir "$subpkgdir"
}
lightdm() {
install_if="$pkgname=$pkgver-r$pkgrel lightdm"
install -Dm644 lightdm.conf \
"$subpkgdir"/etc/lightdm/lightdm.conf.d/00-on7xelte.conf
}
sha512sums="
d342e7d79922d2e4a313e6c0ad20172e841886aa9517522460699da0dc66cd83cfeab986e468b0427ebcd64d54ffbc39cf3ba56c5d839b560e34cbe6e36526f1 deviceinfo
baee319b6d2f49a15680b0f322ec3e398a071d73fbf7713d14f26a1d027f8950457a482ac3f019605af3dfcf25bbb33ebaa0ffde181f7f96d911d56251c81eef lightdm.conf
efbe3d6217854c0131e61f9f3722100d349cb0673f4923bc3d56dae30a6346b0c33e676a39fc4c080150f6ea9457bf268abf870eea916a7d5daae1a22642a2b8 mount-efs.rc-init
3e5bb764529010d2b6b1f2759a7799f665d140aebcee2dd63433e68cd4282e09b5d3b34fb7c21e737595b406501e7f02ece4592651c60e4c2b9419de4aedb438 samsungipcd.rc-conf
"
@@ -0,0 +1,33 @@
# Reference: <https://postmarketos.org/deviceinfo>
# Please use double quotes only. You can source this file in shell
# scripts.
deviceinfo_format_version="0"
deviceinfo_name="Samsung Galaxy J7 Prime"
deviceinfo_manufacturer="Samsung"
deviceinfo_codename="samsung-on7xelte-downstream"
deviceinfo_year="2016"
deviceinfo_arch="aarch64"
# Device related
deviceinfo_chassis="handset"
deviceinfo_keyboard="false"
deviceinfo_external_storage="true"
deviceinfo_screen_width="1080"
deviceinfo_screen_height="1920"
# Bootloader related
deviceinfo_flash_method="heimdall-bootimg"
deviceinfo_kernel_cmdline="androidboot.selinux=permissive androidboot.selinux=permissive"
deviceinfo_generate_bootimg="true"
deviceinfo_bootimg_qcdt="true"
deviceinfo_bootimg_mtk_mkimage="false"
deviceinfo_bootimg_dtb_second="false"
deviceinfo_flash_pagesize="2048"
deviceinfo_flash_offset_base="0x10000000"
deviceinfo_flash_offset_kernel="0x00008000"
deviceinfo_flash_offset_ramdisk="0x01000000"
deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x00000100"
deviceinfo_flash_heimdall_partition_kernel="BOOT"
deviceinfo_flash_heimdall_partition_rootfs="SYSTEM"
@@ -1,10 +1,10 @@
# Unmaintained: Downstream port, only for testing. Use mainline port (shift-axolotl)!
# This kernel is mostly used for bringing up new features on mainline, thus unmaintained
# Archived: Downstream port, only for testing. Use mainline port (shift-axolotl)!
# This kernel is mostly used for bringing up new features on mainline, thus archived
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-shift-axolotl-downstream
pkgdesc="SHIFT6mq downstream"
pkgver=1
pkgrel=0
pkgrel=2
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
@@ -14,7 +14,6 @@ depends="
mkbootimg
msm-fb-refresher
postmarketos-base
postmarketos-update-kernel
"
makedepends="devicepkg-dev"
source="deviceinfo"
@@ -28,5 +27,5 @@ package() {
}
sha512sums="
3a60faa3024b6a066e5f5319c0e651ffe4980be51cc1b848a946b96cd861be16d651dc2184993eca89f28fe442a39a1a78f67753dc1bb295cab4bdaaa6f2fe49 deviceinfo
75bc9e4b1225f3988bef27763d5961160e3dbdb25260327c0390290827b8e946a27ed7f8b0a810f89d696112ca9d220652c8789cbc86f898d2292dd0ae2f61e4 deviceinfo
"
Loaded 100 of 2066 files, more files were not shown because too many files have changed in this diff. Show more