Commit graph

8842 commits

Author SHA1 Message Date
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