Commit graph

5060 commits

Author SHA1 Message Date
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
Minecrell
2de04bc4ae
testing/firmware-adreno: rename to -qcom-adreno-extra, split into subpkgs (MR 2625)
Make the package consistent with firmware-qcom-adreno packaged from
linux-firmware, but keep them separate for legal reasons. The firmware
packaged in firmware-qcom-adreno-extra does not have a proper license.

[ci:ignore-count]
[ci:skip-build] already built successfully in CI
2021-10-23 14:32:53 -07:00
Minecrell
d90dc7d4b3
community/firmware-qcom-adreno: new aport (MR 2625)
Add a new firmware-qcom-adreno APKBUILD that packages the GPU firmware
from upstream linux-firmware as separate packages. It is basically
a minimal replacement for linux-firmware-qcom that allows saving rootfs
space by installing only the firmware that is really relevant for the
device.

[ci:skip-build] already built successfully in CI
2021-10-23 14:32:53 -07:00
Pablo Correa Gómez
3a8ea1a1e6
temp/epiphany: stop using Purism fork (MR 2571)
[ci:skip-build] already built successfully in CI
2021-10-23 14:24:18 -07:00
Jami Kettunen
ea7d9007a4
main/postmarketos-mkinitfs: support more modular kernels (MR 2590)
* xts, libaes & aes are required for root partition FDE unlocking
* evdev is required by osk-sdl for input

[ci:skip-build] already built successfully in CI
2021-10-23 14:03:28 -07:00
Clayton Craft
45ea9bec29
postmarketos-config-nftables: add forward rule to accept traffic on wlan (MR 2622)
This seems to fix the last missing piece to getting the hotspot stuff
working, at least when it's set up with networkmanager (I haven't tested
other methods, but assume this rule is still needed there too...)

fixes #1198
2021-10-22 18:35:23 +03:00
Pablo Correa Gómez
d0736e1377
temp/gnome-calculator: drop (MR 2568)
GNOME 41 already includes all adaptive changes from Purism
2021-10-22 14:42:08 +03:00