Commit Graph
79 Commits
Author SHA1 Message Date
Ferass El Hafidi e6441ec10e main/postmarketos-base-ui: enable routewrangler on openrc
Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9005>
2026-08-05 11:01:58 -07:00
Ferass El Hafidi 5d7568dfcf systemd/postmarketos-base-systemd: preset buffyboard.service
Else the buffyboard UI does not work under systemd.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9236>
2026-08-04 16:25:54 +00:00
Ferass El Hafidi 6da6a4043f deviceinfo_schema: document globbing in sd_embed_firmware
Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8904>
2026-07-15 16:14:33 +00:00
Ferass El Hafidi a81fb822b2 main/postmarketos-base-ui-gnome: enable CUPS on OpenRC if installed
It seems to have been overlooked in an earlier commit.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8890>
2026-07-12 15:51:14 +00:00
Ferass El Hafidi a98f12d9d7 main/postmarketos-base-ui-gnome: explicitely depend on polkit-elogind in main package
Despite the name, this does pull the correct polkit on systemd, as the
systemd/polkit package provides polkit-elogind=9999$_pkgver-r$pkgrel,
which apk will pick, while on OpenRC apk will happily pick
polkit-elogind from alpine repos (pulling polkit that builds against
elogind)

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8890>
2026-07-12 15:51:14 +00:00
Ferass El Hafidi 0c216fb974 linux-postmarketos-amlogic: temporarily switch to git.kernel.org snapshot
https://cdn.kernel.org/pub has been broken for days, and I don't want to
wait more. (See https://status.linuxfoundation.org/incidents/3y1k8b4ky71t)

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8910>
2026-07-04 21:00:05 +00:00
Ferass El Hafidi 016888de97 linux-postmarketos-amlogic: drop 0018-add-bt-and-eth-resets.patch patch
Breaks ethernet connectivity on BPI-CM4:

	[   20.521828] meson8b-dwmac ff3f0000.ethernet eth1: cannot attach to PHY (error: -ENODEV)

I'm pretty sure it used to work before, some kernel upgrade most likely
broke it.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8910>
2026-07-04 21:00:05 +00:00
Ferass El Hafidi c528e31096 linux-postmarketos-amlogic: upgrade to 7.1.1
Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8910>
2026-07-04 21:00:02 +00:00
Ferass El Hafidi 20349f1073 main/postmarketos-ui-windowmaker: new aport
Add WindowMaker as a new UI. Also add a WindowMaker pmOS theme and some
configs for making it somewhat usable on mobile (though that is not a
main goal of this UI package).

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8717>
2026-06-26 19:04:00 +00:00
Ferass El Hafidi c8e83f9c9f device-xiaomi-vayu: move back to testing
It seems to have been mistakenly archived. Someone had taken over
maintainership 2 months ago (pmaports!8332) and now is confused that
it got archived anyway.

Fixes #4664

This reverts commit d3998f0189.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8908>
2026-06-26 12:34:52 +00:00
Ferass El Hafidi bdbb8009d1 linux-postmarketos-amlogic: temporarily disable etnaviv NPU
It is causing Wayland to not work and eglinfo to segfault on boards that
have their NPU enabled in their devicetree (VIM3, LC Cottonwood).

Ideally we should figure out why that is, but for now let's just disable
it to buy us some time.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8897>
2026-06-25 22:16:59 +00:00
Ferass El Hafidi 5bbe347a01 u-boot-amlogic: upgrade to v2026.04, switch to gxlimg
The reasoning behind switching to gxlimg for image creation is that the
official Amlogic tools are not only proprietary (which makes them
undesirable in the first place), but they are also x86_64-only, which
increases maintenance burden as hacks have to be implemented for them to
work on non-x86_64 systems. They are also not officially supported, are
buggy, and tend to depend on glibc.

gxlimg has been packaged in Alpine Linux for a very long while, and the
intention behind packaging in Alpine has always been that it will be
used for the u-boot package going forward.

The main disadvantage of gxlimg is that it does not yet support
compressing the u-boot binary in the FIP, but we don't use that feature
in the proprietary tools anyway.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6900>
2026-06-24 17:29:12 +00:00
Ferass El Hafidi 16125a7bbf CI: remove armhf
Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8884>
2026-06-23 05:03:43 +00:00
Ferass El Hafidi 1bbc034e24 pmaports.cfg: remove armhf
In preparation for dropping armhf from postmarketOS.

See also: #4615

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8884>
2026-06-23 05:03:43 +00:00
Ferass El Hafidi 0067fbb609 cross/*-armhf: drop
We are dropping armhf from postmarketOS. Remove all cross-compilers for it.

See also: #4615

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8884>
2026-06-23 05:03:43 +00:00
Ferass El Hafidi d4ead1f8f8 device-postmarketos-trailblazer: drop qcom-laptop kernel
It is apparently broken (according to Casey), and might be dropped from
pmaports anyway. Let's just drop it from trailblazer at this point.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8826>
2026-06-18 15:49:42 +00:00
Ferass El Hafidi fe736c32ea main/postmarketos-bootsplash: switch back to plymouth-openrc-plugin
With the openrc plugins hanging issues fixed in OpenRC 0.63.2, we can
now make use of plymouth-openrc-plugin once again.

This partially reverts commit f13be0f6b7.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8811>
2026-06-16 16:58:21 +00:00
Ferass El Hafidi 5c8d75d0c3 device-amlogic-aarch64-tvbox: make it clear that refboards are only for testing
(bumped pkgver because else CI gets confused if I do it the "right" way)

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8689>
2026-06-12 13:39:06 +00:00
Ferass El Hafidi 3f6985ef8b device-amlogic-aarch64-tvbox: add SEI510
Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8689>
2026-06-12 13:39:06 +00:00
Ferass El Hafidi 5285b12c5b systemd/postmarketos-base-systemd: only mount /tmp as tmpfs when RAM >2 GB
On OpenRC we only mount /tmp as tmpfs when the RAM available is greater
than 2 GB. Do this on systemd too to match OpenRC's behavior for devices
with a small amount of RAM.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8737>
2026-06-08 17:53:12 +00:00
Ferass El Hafidi 6553360263 main/postmarketos-base: tmpfs configuration in /etc/conf.d
Make use of a /etc/conf.d/tmpfs file to setup /tmp mounting, instead of
relying on deviceinfo_tmp_as_tmpfs_size. This matches what is currently
being done in systemd (where we also do tmp config at the init system
level).

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8737>
2026-06-08 17:53:12 +00:00
Ferass El Hafidi f389d9654e deviceinfo_schema: deprecate deviceinfo_tmp_as_tmpfs
It was rarely if ever used.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8737>
2026-06-08 17:53:12 +00:00
Ferass El Hafidi 322eae70c2 main/postmarketos-ui-phosh: explicitely depend on postmarketos-base-ui-gnome
Else somehow its -openrc subpackage don't get installed properly.
This means the wrong polkit gets installed on OpenRC systems, causing
poweroff to not work among other things.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8732>
2026-06-05 12:43:17 +00:00
Ferass El Hafidi 63ae75d3b4 device-raspberry-pi: set correct initramfs path in usercfg.txt
Else it tries to load "initramfs-rpi" which doesn't exist, and then
later the kernel panics because it couldn't find anything to boot from.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8721>
2026-06-03 14:05:12 +00:00
Ferass El Hafidi 6a511250ba main/postmarketos-bootsplash: add plymouth.prefer-fbcon
Plymouth added a new console viewer to replace fbcon, however it is
quite slow and needs another font in the initramfs (and we're already
kind of running out of space if we just keep adding more and more).
Switch to the old behavior of just using fbcon.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8645>
2026-05-28 13:06:33 +00:00
Ferass El Hafidi ca76992b64 device-samsung-serranolte: remove msm-modem-downstream
This package no longer exists. Reported on IRC.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8610>
2026-05-27 13:10:07 +00:00
Ferass El Hafidi 17138bf2ed main/postmarketos-initramfs: vibrate on boot
Vibrate on multiple stages:
* twice when forced to enter debug-shell
* 3 times on error
* once at the end of the initramfs to indicate that we're booting
  to the OS
This uses the beebzzr tool <https://scm.dersco.re/utils/beebzzr.git>.

It is meant to be useful to know if your phone is booting or having
issues, which is useful when legally or fully blind, or when the display
isn't working yet.

On devices without force-feedback support, this is a no-op.
It is worth noting that quite a few devices do not yet have some modules
required for haptics in initramfs. These will need to be fixed for
beebzzr to work.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7563>
2026-05-25 06:31:11 +00:00
Ferass El Hafidi 59a119477e linux-postmarketos-amlogic: update modules install path
They should be installed to /usr/lib now.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7633>
2026-05-18 10:19:25 +00:00
Ferass El Hafidi de06982952 linux-postmarketos-amlogic: add zstd to depends
Also sort the list while at it.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7633>
2026-05-18 10:19:25 +00:00
Ferass El Hafidi db83412532 linux-postmarketos-amlogic: upgrade to 6.18.28
Also switch to kconfig fragments
(https://docs.postmarketos.org/pmaports/main/kconfig-fragments.html).

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7633>
2026-05-18 10:19:21 +00:00
Ferass El Hafidi ceb1d85e82 main/postmarketos-duranium: don't pass -v to losetup
See previous initramfs commit message for reasoning.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8573>
2026-05-15 21:16:04 +00:00
Ferass El Hafidi f1d5764f16 main/postmarketos-initramfs: remove -v from losetup args
It was removed in
https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/commit/sys-utils/losetup.c?id=7e27c815979986666f78696adcfd5d13eab5df36
as it apparently had no effect on anything. Now that it is removed, the
initramfs still trying to use it is making complain and do nothing,
which results in boot failure.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8573>
2026-05-15 21:16:04 +00:00
Ferass El Hafidi f13be0f6b7 main/postmarketos-bootsplash: revert to killing plymouth using an openrc service
plymouth-openrc-plugin (and any other OpenRC plugins really) trigger a
bug in OpenRC that only happens on musl-based systems, which can result
in a hang if a service fails.

A PR has been submitted to OpenRC to fix this bug. While the PR is
waiting for review and merging, work around this by reverting to killing
the splash from an OpenRC service to at least no longer trigger this
bug. See pmaports#4536 for more context.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8560>
2026-05-15 11:33:14 +00:00
Ferass El Hafidi 85e89db86a main/postmarketos-base-ui-plasma: switch _pmb_recommends to depends for -kaccounts
Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8507>
2026-05-09 08:56:07 +00:00
Ferass El Hafidi 0f35b43684 main/postmarketos-ui-plasma-mobile: switch _pmb_recommends to depends
for subpackages

Apparently pmbootstrap doesn't look in subpackages for _pmb_recommends.

Suggested-by: Clayton Craft <craftyguy@postmarketos.org>
Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8507>
2026-05-09 08:56:07 +00:00
Ferass El Hafidi 6f49801ecd main/postmarketos-base-ui-plasma: do not install kaccounts-providers on armv7
Yet another package that depends on qtwebengine and thus is unavailable
on armv7.
See: pma#4505

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8438>
2026-04-28 07:44:18 +00:00
Ferass El Hafidi 9fa7c035d4 device-asus-s5507q: remove inexistent fw package from depends
It seems to have been removed in https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8312
but the actual device package did not get fixed up.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8389>
2026-04-17 20:21:18 +00:00
Ferass El Hafidi 37d5c5e228 main/postmarketos-ui-plasma-mobile: preinstall angelfish or firefox
depending on arch

Angelfish is not available on armv7 nor riscv64 due to qt6-qtwebengine
getting disabled. However, it is still preferable to install a web
browser by default. Firefox however can still be used on those devices.
Add a new -web subpackage, which installs Firefox on armv7/riscv64, and
installs angelfish on others, so everyone gets to have a pre-installed
and working web browser.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8373>
2026-04-17 13:38:44 +00:00
Ferass El Hafidi 14a23d8a3e main/postmarketos-ui-plasma-mobile: move qtwebengine apps to extras_web
A web browser engine not being available should not cause the whole UI
to become unavailable, especially when not required for the UI itself to
work. Move packages depending on qt6-qtwebengine to a separate
subpackage, that gets pulled only on arches where qtwebengine is
available.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8373>
2026-04-17 13:38:44 +00:00
Ferass El Hafidi 41982a51f0 linux-postmarketos-exynos4: make kconfig check happy
The following options need to be added as per kconfig checks:

	CONFIG_BLK_DEV_UBLK=m
	CONFIG_EROFS_FS_ZIP_LZMA=y
	CONFIG_EROFS_FS_ZIP_DEFLATE=y
	CONFIG_EROFS_FS_ZIP_ZSTD=y

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8109>
2026-03-04 19:23:14 +00:00
Ferass El Hafidi 96e0dfae9a linux-postmarketos-exynos4: add ISA1200 haptics support
It has been around for a while but wasn't enabled in the kernel config.
Add it so samsung-p4note gets working haptics.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8109>
2026-03-04 19:23:14 +00:00
Ferass El Hafidi ab2a716197 device-google-trogdor: add hid-generic module to initramfs
Following a kernel upgrade, HID_GENERIC was changed from =y to =m,
however it was not included in the initramfs, causing the keyboard to
not respond and thus the FDE unlocking to be broken. Fix this by adding
it to the initramfs so the keyboard works again.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8064>
2026-02-23 15:42:50 +00:00
Ferass El Hafidi 2a39aeba5c device-samsung-herolte: add postmarketos-base-downstream to dependencies
Else lightdm does not load (reported in chat)

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7917>
2026-02-04 09:04:34 +00:00
Ferass El Hafidi 10bcd5c38c firmware-samsung-midas: add symlink to nvram file for samsung-kona
This is the missing piece to get working Wi-Fi on the Exynos4-based
samsung-kona tablet.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7787>
2026-01-19 14:27:04 +00:00
Ferass El Hafidi af04558fd9 device-samsung-kona: take over maintenance
There is no maintainer right now that is available to maintain this
port. I have this device, use it daily, and can commit to maintaining
this port. If someone wants to maintain it alongside me, that is
appreciated of course.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7787>
2026-01-19 14:27:04 +00:00
Ferass El Hafidi 9e07e317fb device-amlogic-aarch64-tvbox: fix ugoos-am3 build
Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7573>
2025-12-15 19:39:31 +00:00
Ferass El Hafidi 6dcf578de6 device-amlogic-aarch64-tvbox: add support for Amlogic P281 reference board
(S905W)

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Tested-by: Ivan Davydov <lotigara@lotigara.ru>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6771
[ci:skip-build]: already built successfully in CI
2025-07-16 21:22:11 +02:00
Ferass El Hafidi 6f7c861606 device-generic-x86_64: add myself as co-maintainer
Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6779
2025-07-15 08:38:44 +02:00
Ferass El Hafidi 88963a9c4f device-amlogic-tvbox: rename to device-amlogic-aarch64-tvbox
This port is exclusively for AArch64 TV boxes.  Given that there is an
Amlogic TV box port for Meson8 (ARMv7) in the works, it doesn't make
sense for the AArch64 port to have that generic name anymore.  So rename
it to reflect which Amlogic SoCs are suitable for it.

[ci:skip-vercheck]

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6744
2025-07-12 12:01:32 +00:00
Ferass El Hafidi e2203fa367 soc-amlogic-s905: rename to soc-amlogic-aarch64
This package is being used by a huge number of Amlogic devices besides
Amlogic S905.  This can lead to confusion, so rename it to a more
generic name.

[ci:ignore-count]
[ci:skip-vercheck]

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6744
2025-07-12 12:01:32 +00:00
Ferass El Hafidi de7b10333e linux-lg-w7: fix build
[ci:skip-build] # verified locally

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6522
2025-05-16 11:01:04 +01:00
Ferass El Hafidi 84b9b473d6 linux-samsung-s3ve3g: fix build
Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6522
2025-05-16 10:56:27 +01:00
Ferass El Hafidi bd66d8c9f6 device-amlogic-tvbox: add support for Mi TV Stick
Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6121

[ci:skip-build]: already built successfully in CI
2025-05-12 19:17:27 +02:00
Ferass El Hafidi 4ec35e37d5 device-amlogic-tvbox: rework boot packaging
* add a new `aml_boot_prep` function to setup FIT images and uEnv.ini
   (for legacy U-Boot support)
 * add support for generating a FIT image

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6121
2025-05-12 19:17:27 +02:00
Ferass El Hafidi 370c78448a soc-amlogic-s905: support booting a uImage or FIT
Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6121
2025-05-12 19:17:27 +02:00
Ferass El Hafidi d236c28c11 linux-postmarketos-amlogic: add patches for Xiaomi Mi TV Stick
These patches have been sent upstream already, and are currently in the
amlogic git tree.

See also:
 - https://lore.kernel.org/linux-amlogic/20250502-aquaman-v6-0-f1af347d9709@postmarketos.org/
 - https://git.kernel.org/amlogic/c/4954ec9300cfe7ab6f1de1c93c56c236ac0a07e5
 - https://git.kernel.org/amlogic/c/f5d4227c6dcab047579cca7b8e31a476ecdebf7b

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6121
2025-05-12 19:17:27 +02:00
Ferass El Hafidi feed256853 device-amlogic-tvbox: remove xiaomi-once port
The DTS patches for it do not apply anymore, and exkc has said that
their device is now broken, so they are unable to continue maintaining
the port.

As a stop-gap solution, xiaomi-once users who still wish to use
postmarketOS can use the p212 port. They are also welcome to fix the
devicetree patches and upstream them.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6412
2025-05-07 09:48:26 +00:00
Ferass El Hafidi b332f5854a linux-postmarketos-amlogic: upgrade to 6.12.23
Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6412
2025-05-07 09:48:26 +00:00
Ferass El Hafidi e087403c1f device-amlogic-tvbox: add support for Amlogic P241 reference board (MR 6099)
(S805X)

Tested on Xiaomi Mi TV Stick (S805Y).

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
[ci:skip-build]: already built successfully in CI
2025-03-03 17:33:48 +01:00
Ferass El Hafidi 65f06007b3 device-raspberry-pi{,0}: explicitely use MBR (MR 6171)
Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>

[ci:skip-build]: already built successfully in CI
2025-02-22 23:23:27 -08:00
Ferass El Hafidi 02e435c298 amlogic: switch to unified u-boot-amlogic package (MR 4995)
Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>

[ci:skip-build]: already built successfully in CI
2025-01-17 14:19:59 -08:00
Ferass El Hafidi 6c6a0bd9da u-boot-amlogic: new aport (MR 4995)
Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
2025-01-17 14:19:59 -08:00
Ferass El Hafidi 45fcfc14ce bananapi-bpi-cm4-cm4io: new device (MR 5962)
Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>

[ci:skip-build]: already built successfully in CI
2024-12-31 16:36:53 -08:00
Ferass El Hafidi 38f522f798 device-postmarketos-trailblazer: drop deviceinfo_getty (MR 5926)
Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
2024-12-20 17:48:56 +00:00
Ferass El Hafidi 5ee51e105b device-postmarketos-trailblazer: add some modules for amlogic (MR 5926)
Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
2024-12-20 17:48:56 +00:00
Ferass El Hafidi 98605bb2d5 device-postmarketos-trailblazer: add myself as co-maintainer (MR 5926)
I want to help maintaining this generic device port.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
2024-12-20 17:48:56 +00:00
Ferass El Hafidi 42560daf68 device-postmarketos-trailblazer: add a few more kernels (MR 5926)
Kernels added:
* linux-edge
* linux-lts
* linux-postmarketos-amlogic
* linux-postmarketos-qcom-laptop

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
2024-12-20 17:48:56 +00:00
Ferass El Hafidi cd1599baf8 testing/u-boot-librecomputer-lafrite: remove (MR 5897)
lafrite has u-boot in SPI already

it also prevents lafrite from booting because pmbootstrap uses GPT partitioning now.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
2024-12-11 17:51:17 -08:00
Ferass El Hafidi 05d9b25643 amlogic: switch partition_type to msdos (MR 5883)
After commit 8335d050bf24977afefee6612dd347abd555bc53 in pmbootstrap the
partition table now defaults to GPT instead of MBR.  This breaks booting
on Amlogic devices for the following reasons:

 * On set-top boxes: downstream U-Boot most likely does not have GPT
   support
 * On boards where we install mainline U-Boot as BL33 on eMMC/SD: the
   bootROM checks for an `@AML` image header at offset 512 (second LBA),
   which means we are basically stuck on MBR

Some Amlogic boards have U-Boot + the proprietary Amlogic firmware
stages in SPI flash (mainly the Libre Computer boards do), which means
they can use GPT, because the firmware is simply not stored on eMMC/SD.
For that reason I chose not to change the partition table on those.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
2024-12-08 12:22:30 +09:00
Ferass El Hafidi 6da1435900 linux-postmarketos-amlogic: upgrade to 6.10.8 (MR 5538)
Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
2024-09-22 20:47:24 +09:00
Ferass El Hafidi ca78dc945b main/postmarketos-ui-fbkeyboard: remove fbkeyboard-openrc from openrc subpkg depends
That package doesn't exist.

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

[ci:skip-build] already built successfully in CI
2024-08-03 10:22:26 -07: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
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
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
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
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
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
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