Commit graph

5266 commits

Author SHA1 Message Date
Bobby The Builder
33041ca535
main/crust: upgrade to 0.5 (MR 2648)
[ci:skip-build] already built successfully in CI
2021-11-07 19:37:00 -08:00
Nikita Travkin
316745a171
main/postmarketos-mkinitfs: Center splash images on the screen (MR 2662)
Alpine patches busybox to support image alignment in [1].
So far we don't need to align the spalshes in postmarketOS as those are
generated per device. However with generic images it becomes impossible
to support multiple resolutions with this approach.
Set the alignment to "Center" in fbsplash config so generic system
images can reuse the splash on multiple resolutions.

[1] - https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/main/busybox/0008-fbsplash-support-image-and-bar-alignment-and-positio.patch

[ci:skip-build] already built successfully in CI
2021-11-07 19:33:56 -08:00
Newbyte
d3ca9ab6f6
main/linux-postmarketos-exynos4: upgrade to 5.15 (MR 2660)
[ci:skip-build] already built successfully in CI
2021-11-07 19:31:11 -08:00
Newbyte
d213b248eb
main/linux-postmarketos-stericsson: upgrade to 5.15 (MR 2663)
[ci:skip-build] already built successfully in CI
2021-11-07 19:29:20 -08:00
Clayton Craft
3883291acd
linux-purism-librem5: upgrade to 5.13.19pureos3 (MR 2658)
my patch to disable SS was merged in purism's tree, so it's dropped
here. This kernel also enables the hantro video decoding stuff.

[ci:skip-build] already built successfully in CI
2021-11-07 13:42:46 -08:00
Alexey Minnekhanov
81c47a0912
postmarketos-mkinitfs-hook-debug-shell: add debugfs mount (MR 2655)
Very helpful and useful for debugging issues.

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
2021-11-06 19:05:45 +03:00
M0Rf30
dc319b1ed7
samsung-a7y18lte: new device (MR 2645)
[ci:skip-build] Already built on CI in MR
2021-11-05 12:29:28 +01:00
M0Rf30
f873d8be03
main/linux-xiaomi-vince: update to 4.9.289 (MR 2657)
[ci:skip-build] Already built on CI in MR
2021-11-05 11:09:38 +01:00
Amy Grace
21a226098e
bq-frieza: new device (MR 2652)
[ci:skip-build] Already built on CI in MR
2021-11-04 04:37:10 +03:00
Pablo Correa Gómez
5411328605
temp/gnome-control-center: use upstream as source (MR 2552)
Purism's g-c-c fork is stuck in version 3.38. This has
multiple problems, including carrying old unnecessary
patches and producing some incompatibility with newer
GNOME releases available in Alpine. In consequence,
we fetch the source from upstream and only apply those
patches that make sense for our usecase. When the Purism
patches apply without issues, then we fetch them directly
from their repo.
2021-11-02 21:40:59 +01:00
Spencer Cook
2ed1fdbe4e
linux-htc-m8: fix dt.img generation (MR 2649)
Indicate to dtbTool the non-default dt-tag used for sorting dtbs, as
required by the device's bootloader.

[ci:skip-build] Already built on CI in MR
2021-11-02 19:31:02 +03:00
Alexey Minnekhanov
9f008a0536
cross/grub-efi-x86: upgrade to 2.06-r2 2021-11-02 15:53:37 +03:00
Yassine Oudjana
78f9b0c63e
main/linux-postmarketos-qcom-msm8996: upgrade to 5.15.0 (MR 2650)
Upgrade to 5.15.0, disable some unused I2C and SPI configs, and
remove msm8996 from linux-msm8996-$_tag, since $_tag already
includes msm8996 and makes the first one redundant.

[ci:skip-build] Already built on CI in MR
2021-11-02 13:48:00 +01:00
Petr Vorel
e111c95cad
huawei-angler: adapt for mainline kernel support (MR 2411)
Now the user can choose to install the proprietary firmware along with
the downstream kernel (linux-huawei-angler) or a mainline kernel
(linux-postmarketos-qcom-msm8994).

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>

[ci:skip-build] Already built on CI in MR
2021-11-02 13:33:37 +01:00
Petr Vorel
b1ec255459
main/linux-postmarketos-qcom-msm8994: new aport (MR 2411)
v5.14.15 kernel used (current newest stable).

Intended to be used also on msm8992 which has nearly the same DTS.

I haven't tested other functionality except boot to initramfs on
huawei-angler and lg-bullhead.

Some kernel config options set according to
linux-postmarketos-qcom-msm8996.

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>

[ci:skip-build] Already built on CI in MR
2021-11-02 13:23:21 +01:00
Alexey Minnekhanov
75a251552e
main/lk2nd: make all subpackages install the same file (MR 2638)
We should always install lk image as /boot/lk2nd.img, even for
image with appended DTB (lk2nd-appended-dtb.img). pmbootstrap tooling
will expect it this way, and also it keeps all subpackages consistent,
while also making them conflict with each other.

Add new subpackages that are explicitly named -appended, but still
install the same file.

Each device should "know" which kind of LK image it needs and should
explicitly depends on specific variant.

Having only one file `/boot/lk2nd.img` will simplify many things,
for example we don't have to introduce new deviceinfo properties
to specify which image is needed (like if we installed both of them).

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
2021-11-02 02:00:58 +03:00
DolphinChips
df9d656df5
main/postmarketos-mkinitfs: fix showing custom splash after running osk-sdl (MR 2647)
Support for custom "Loading..." splashes was added in MR 1776, but
`unlock_root_partition` function is still hardcoding default "Loading..."
splash. Fix this behaviour by replacing usage of `show_splash` function with
`show_splash_loading`, which accounts for presence of custom splash.

Closes #759
2021-11-01 15:34:39 +05:00
WeirdTreeThing
b5d5a48e41
samsung-k3gxx: new device (MR 2646) 2021-11-01 09:07:34 +01:00
Luca Weiss
2c9a4920be
asus-sparrow: new device (MR 2644)
[ci:skip-build] Already built on CI in MR
2021-10-31 22:50:17 +03:00
Clayton Craft
931a460c14
main/postmarketos-mkinitfs: upgrade to 1.1.2 (MR 2528) 2021-10-31 10:00:43 +01:00
Clayton Craft
57e5655e22
main/boot-deploy: upgrade to 0.3 (MR 2528) 2021-10-31 10:00:39 +01:00
M0Rf30
3a720a880f
linux-xiaomi-vince: upgrade to 4.9.288 (MR 2643)
Switch of kernel sources to Unitrix (actively developed)

[ci:skip-build] Already built on CI in MR
2021-10-30 20:01:22 +03:00
Danct12
75e06cf9b3
temp/gnome-contacts: upgrade to 41.0 (MR 2564) 2021-10-30 19:47:40 +03:00
Anjandev Momi
46e52f1083
main/postmarketos-ui-sxmo: add bluetooth subpackage (MR 2628) 2021-10-30 17:05:35 +02:00
Bart Ribbers
54b2ff6979
main/postmarketos-ui-plasma-bigscreen: move mycroft to -extra subpackage (MR 2642)
MyCroft is something definitely not everybody wants, and it could in
theory even make slower devices unusable while they would otherwise work
fine with Bigscreen. Let's move it to extras so it's optional to install
2021-10-29 22:47:39 +03:00
Luca Weiss
1ff8393c4b
fairphone-fp1: add mainline deviceinfo variables (MR 2637)
While it doesn't make sense to package a mainline kernel for FP1 (only
UART and basic SoC components supported), it's good to include the dtb
name in deviceinfo so external tools can use it.
2021-10-29 13:26:00 +02:00
Tojo Rakotoarison
eddbe11b52
wiko-lenny5: new device (MR 2641)
[ci:skip-build] Already built on CI in MR
2021-10-29 04:08:09 +03:00
Luca Weiss
f125901979
cross/gcc-*: upgrade to 10.3.1_git20211027 (MR 2639)
upstream commit:
1e550564a9

[ci:skip-build] Builds locally, no point to build on poor Gitlab CI
2021-10-27 22:35:16 +03:00
Alexey Minnekhanov
640e8741bd
cross/busybox-static-*: upgrade to 1.34.1-r2
upstream commit
44b68e7aba

Try #2, this time use mirror that is not outdated as dl-4
(dl-4 is 3 days behind)
2021-10-27 00:21:04 +03:00
Alexey Minnekhanov
dc751ca07f
Revert "cross/busybox-static-*: upgrade to 1.34.1-r2"
This reverts commit 63c5d64fa6.
2021-10-27 00:05:44 +03:00
Alexey Minnekhanov
63c5d64fa6
cross/busybox-static-*: upgrade to 1.34.1-r2
upstream commit
44b68e7aba
2021-10-26 23:38:38 +03:00
Bart Ribbers
da2c9a2f26
temp/gnome-contacts: rebuild against folks 0.15.3 2021-10-26 16:14:01 +02:00
Minecrell
bf44cbb9f4
testing/firmware-qcom-adreno-extra: add missing replaces firmware-adreno (MR 2635)
This should fix upgrading from firmware-adreno to one of the subpackages
in case the new package is installed before firmware-adreno is uninstalled.
2021-10-26 12:53:31 +03:00
Alexey Minnekhanov
41df49dc91
lg-hammerhed: enable flash kernel on update (MR 2627)
Enable flashing kernel on update + small cleanups for deviceinfo:

* re-sort lines in deviceinfo
* remove console=tty0 from kernel cmdline, so it does not spit out
  all kernel logs on the screen. Now during boot you see just
  blinking cursor and pmOS logo.
2021-10-25 01:46:36 +03:00
Pablo Correa Gómez
741133fc3f
temp/evince: stop using Purism fork (MR 2600) 2021-10-24 15:21:42 +02:00
Pablo Correa Gómez
f19dec52d8
temp/upower: drop (MR 2608)
* The first patch has been droped from PureOS, which currently
  ships stock debian 0.99.11. Therefore the fix must have been
  applied somewhere else, same as it happened with the torch patches.
* The second patch is already merged upstream and present in latest
 0.99.13 release in alpine.
2021-10-24 15:16:34 +02:00
Clayton Craft
82fba2bdb2
ci/apkbuild-linting: quit if there are no apkbuilds to lint (MR 2630)
If the only changed apkbuilds are skipped, then the check would lint
*every* apkbuild in aports (calling '-q lint' with no packages
apparently causes it to do everything)

This quits if all packages were skipped. It fixes the CI failure seen on
MR !2600
2021-10-24 15:00:24 +02:00
wonderfulShrineMaidenOfParadise
d60ff7eb32
main/postmarketos-config-nftables: subpackage docker (MR 2629) 2021-10-24 15:13:11 +03:00
Oliver Smith
54414bc01e
main/postmarketos-ui-{sway,sxmo}: add seat group (MR 2631)
Fixes: https://todo.sr.ht/~mil/sxmo-tickets/394
2021-10-24 12:03:25 +02:00
Alexey Minnekhanov
6bf5f763c6
linux-postmarketos-qcom-msm8974: upgrade to 5.14.14 (MR 2620)
Last update for 5.14 kernel, next one will be 5.15

Kernel config cleanup:
* enable various USB peripherals support, per user requests:
  * usb webcams [m]
  * usb ethernet adapters [m]
* remove support for various TV tuners and DVB cards
* enable few filesystem drivers [m], like iso9660, exFAT, ntfs
* enable kernel automounter, to use with nfs (autofs, [m])
* disable CONFIG_ARM_CPUIDLE, which gets rid of annoying message
  during boot:
  /cpus/cpu@0: unsupported enable-method property: qcom,kpss-acc-v2
  Cpuidle is handled by another driver, which is still enabled:
  CONFIG_ARM_QCOM_SPM_CPUIDLE

[ci:skip-build] already built successfully in CI
2021-10-24 00:13:40 -07:00
Minecrell
eff90a2071
<msm8916+secure boot-venus>: use separate firmware packages (MR 2619)
Rule D: Devices with secure boot and venus present in the firmware
        partition need:

  1. GPU firmware (firmware-qcom-adreno-a300)
  2. msm-firmware-loader (for wcnss, modem, venus)
  4. device-specific -wcnss-nv firmware

[ci:ignore-count]
[ci:skip-build] already built successfully in CI
2021-10-23 14:41:30 -07:00
Minecrell
f84cb52a7f
<msm8916+secure boot+venus>: use separate firmware packages (MR 2619)
Rule C: Devices with secure boot but without venus on the firmware
        partition need:

  1. GPU firmware (firmware-qcom-adreno-a300)
  2. msm-firmware-loader (for wcnss, modem)
  4. device-specific -wcnss-nv firmware
  5. device-specific -venus firmware
2021-10-23 14:41:29 -07:00
Minecrell
d0f2a3d940
<msm8916-secure boot-modem>: use separate firmware packages (MR 2619)
Rule B: Devices without secure boot but without modem support need:
  1. GPU firmware (firmware-qcom-adreno-a300)
  3. firmware-qcom-msm8916-wcnss: more recent wcnss firmware
  4. device-specific -wcnss-nv firmware
  5. firmware-qcom-msm8916-venus: some packaged venus firmware
2021-10-23 14:41:29 -07:00
Minecrell
c72ed66a27
<msm8916-secure boot+modem>: use separate firmware packages (MR 2619)
Rule A: Devices without secure boot need:
  1. GPU firmware (firmware-qcom-adreno-a300)
  2. msm-firmware-loader (for modem)
  3. firmware-qcom-msm8916-wcnss: more recent wcnss firmware
  4. device-specific -wcnss-nv firmware
  5. firmware-qcom-msm8916-venus: some packaged venus firmware
2021-10-23 14:41:29 -07:00
Minecrell
67176df2f6
arrow-db410c: use separate firmware packages (MR 2619)
Reduce rootfs size a bit by installing the separated firmware packages
instead of the large linux-firmware-qcom package. Also, install the
modem firmware by default to prepare for enabling GPS.
2021-10-23 14:41:29 -07:00
Minecrell
0b269a5601
firmware-<msm8916>: squash firmware blobs (MR 2619)
Squash the packaged venus firmware blobs using pil-squasher so only
one file needs to be loaded rather than many small ones. Linux detects
squashed (.mbn) vs non-squashed (.mdt + .b*) based on file contents
(not file name) so it is fine to install venus.mbn to venus.mdt.
2021-10-23 14:41:29 -07:00
Minecrell
3193027687
community/firmware-bq-picmt: squash firmware blobs (MR 2619)
Strictly speaking firmware-bq-picmt is not needed anymore because
the msm-firmware-loader can be used to load the picmt firmware from
the firmware partitions. However, this package contains quite recent,
largely unmodified firmware from Qualcomm so it still seems useful
to keep if someone wants to test more recent firmware on some other
device (provided that their device does not verify firmware signatures).

To make this firmware package consistent with firmware-qcom-db410c,
squash the firmware blobs using pil-squasher so only one file needs
to be loaded rather than many small ones.
2021-10-23 14:41:29 -07:00
Minecrell
ae715e09fa
main/msm-firmware-loader: add dummy wcnss subpackage (MR 2619)
firmware-qcom-msm8916-wcnss is a virtual package used for MSM8916
devices without secure boot (i.e. device that do not require signed
firmware). For those it's best to install more recent firmware by
default rather than using the firmware on the firmware partition.

firmware-qcom-msm8916-wcnss is provided by firmware-qcom-db410c-wcnss
by default, however it's still useful to make it possible to switch to
the stock firmware on the firmware partition if needed. To allow that,
add a dummy msm-firmware-loader-wcnss package that provides the virtual
package using the msm-firmware-loader.

  # apk add msm-firmware-loader-wcnss
  (1/2) Purging firmware-qcom-db410c-wcnss (1034.2.1-r2)
  (2/2) Installing msm-firmware-loader-wcnss (1-r1)
2021-10-23 14:41:28 -07:00
Minecrell
1d923c2aeb
community/firmware-qcom-db410c: package all firmware, squash, new paths (MR 2619)
Unfortunately, at the moment MSM8916 devices always have to install
all of linux-firmware-qcom (~ 60 MiB) when they actually just use
~ 0.008 MiB of GPU firmware in there. Everything else is just big
firmware blobs for other SoCs that are never going to be useful.

It's much more efficient to package the necessary firmware separately
to save rootfs space. The DB410c linux-board-support-package contains
all the firmware from linux-firmware as well, so we can easily package
it as part of the firmware-qcom-db410c package.

This commit makes the following changes to firmware-qcom-db410c:
  1. Package venus() firmware that was previously installed from
     linux-firmware-qcom. GPU firmware is packaged in firmware-qcom-adreno.
  2. Use new firmware paths for DB410c that were applied upstream
  3. "Squash" the firmware blobs to a single file using pil-squasher
2021-10-23 14:41:28 -07:00
Max Buchholz
7c4ac06e44
samsung-p4wifi: fix wrong dtb name (MR 2621)
As the dts in the kernel-repo was renamed, we need to change it in the
deviceinfo file as well

[ci:skip-build] already built successfully in CI
2021-10-23 14:36:44 -07:00