Commit graph

5277 commits

Author SHA1 Message Date
Oliver Smith
d88960dc39
main/postmarketos-config-nftables: remove anbox (MR 2710)
Prepare to drop anbox from pmaports in favor of waydroid. For waydroid,
there's an nftables rule packaged as waydroid-nftables subpackage of the
waydroid package in Alpine (see pmaports issue 1280).
2021-11-27 15:50:16 +01:00
bo41
03c989ed54
ci: remove unused args argument from pmb.parse.apkbuild (MR 2711) 2021-11-27 15:42:05 +01:00
Oliver Smith
f68ebfe7b8
main/fbkeyboard: fix upstream source url
again, same checksum, I verified that it builds.
[ci:skip-vercheck]

Related: https://builds.sr.ht/~postmarketos/job/636813#task-pmbootstrap_build-502
2021-11-27 13:43:21 +01:00
Oliver Smith
a38bef1be5
main/crust: fix upstream source url
Source URL has moved. This is the same version, the checksum of the
tarball is the same. I've verified, that this builds.
[ci:skip-vercheck]

Related: https://builds.sr.ht/~postmarketos/job/636792#task-pmbootstrap_build-343
2021-11-27 13:32:42 +01:00
Danct12
7ffeea5cb7
device-nokia-n900: fix u-boot script typo (MR 2708) 2021-11-26 20:08:50 +00:00
Oliver Smith
286751e88e
channels.cfg: add v21.12 2021-11-26 01:16:19 +01:00
Oliver Smith
c3a124c44e
cross/gcc-*: upgrade to 11.2.1_git20211125-r1 2021-11-26 00:47:48 +01:00
Newbyte
5024719ca9
cross/gcc-*: upgrade to 11.2.1_git20211125 (MR 2706)
Upstream commit: c29fc97653

[ci:skip-build]: already built successfully in CI
2021-11-25 22:01:17 +01:00
Newbyte
91d95e4251
cross/busybox-static-*: upgrade to 1.34.1-r3 (MR 2705) 2021-11-24 20:50:46 +01:00
Alexander Martinz
deb2336838
shift-axolotl: new device (MR 2703)
Kernel defconfig is a copy of "axolotl_userdebug_defconfig".

Config changes (which differ from the copy above):
  - ran `pmbootstrap kconfig check shift-axolotl`
  - CONFIG_QCA_CLD_WLAN - m -> y

Change-Id: Ie250ba0d4f7cabf516e4c4fef84a3832321fb069
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>

[ci:skip-build]
2021-11-24 19:31:48 +00:00
Nikita Travkin
351c24206f
community/soc-qcom-msm8916: add udev rule for pm8916 haptics (MR 2699)
Feedbackd needs to know which device to use for haptics. Add an udev
rule to mark haptics device in the pm8916.
2021-11-23 15:39:31 +01:00
Johannes Marbach
5fa1755fba
main/postmarketos-mkinitfs: add modprobe subpkgs (MR 2693)
This adds two new subpackages postmarketos-mkinitfs-modprobe-lts and
postmarketos-mkinitfs-modprobe-edge that include /sbin/modprobe in the
initfs when one of the Alpine kernels (linux-lts or linux-edge) are also
installed.

Fixes: #1294

[ci:skip-build] already built successfully in CI
2021-11-22 09:48:39 -08:00
Mighty
b2d88000b8
samsung-espresso3g: add nonfree userland packages (MR 2651)
[ci:skip-build]: already built successfully in CI
2021-11-22 11:41:23 +01:00
Mighty
1c1dbf2363
linux-samsung-espresso3g: upgrade to 5.15.2 (MR 2651) 2021-11-22 11:40:16 +01:00
Mighty
b78fcd1794
samsung-espresso3g: use minimal .ini file for phosh (MR 2651) 2021-11-22 11:40:01 +01:00
Mighty
0ff5a34c3f
samsung-espresso3g: update pkgver and remove unneeded dependency (MR 2651) 2021-11-22 11:39:53 +01:00
Mighty
5b03579500
samsung-espresso3g: move to community (MR 2651) 2021-11-22 11:39:41 +01:00
Clayton Craft
e4c50bb999
temp/waked: drop (MR 2696)
This is now in alpine edge
2021-11-22 07:58:34 +01:00
Stacy Harper
67b82a1f3b
main/postmarketos-ui-sxmo-de-dwm: depend on dunst (MR 2692) 2021-11-22 07:52:39 +01:00
Stacy Harper
70fb840906
main/sxmo-common: change dependency to dunstify (MR 2692) 2021-11-22 07:52:39 +01:00
Johannes Marbach
239b2b39e4
main/device-qemu-*: add crc32c_generic into initfs (MR 2694)
This adds the crc32c_generic module into the initfs. Without this,
mounting the boot partition will fail.

Relates to: #1294

[ci:skip-build] already built successfully in CI
2021-11-21 11:40:20 -08:00
person4268
ece1978d53
samsung-gtelwifiue: new device (MR 2681)
[ci:skip-build]: already built successfully in CI
                 linux-postmarketos-qcom-msm8916 was not built by bpo yet
2021-11-21 19:25:10 +01:00
Minecrell
11709bdb54
main/linux-postmarketos-qcom-msm8916: upgrade to 5.15 (MR 2632)
- Update to Linux 5.15
- Upstreamed many more patches
- Major rework of CPU core boot: This is now partially handled in lk2nd
  since mainline Linux does not want to support anything except PSCI on arm64.
- Major rework of "-modem" DTB variants. Now all device trees only contain
  the full modem configuration. lk2nd can patch the DTB at runtime to get
  the alternative "no-modem" variant where audio bypasses the modem entirely.
- Rename some Samsung device trees to drop variant suffixes (e.g. *lte/*wifi)
- Lots of other cleanup everywhere
- Probably many other things I forgot :)

Device changes:
  - samsung-gtelwifiue: new device tree
    - eMMC, SD card, USB, Buttons
    - Display (no brightness control yet)
    - Touchscreen
  - gt58: touch keys and some touch fixes
    - Note: Multi-touch seems broken at the moment :<
  - samsung-a2015/samsung-serranove:
    - Battery: Report voltage as uV
    - Touch keys: Allow changing function from userspace

Kernel config changes:
  - Enable required options for AppArmor and IWD

[ci:ignore-count]
[ci:skip-build]: already built successfully in CI
2021-11-21 19:11:49 +01:00
Minecrell
3a9898689d
<msm8916>: drop variant suffixes from dtb names (MR 2632)
The new kernel version now has the variant suffixes dropped from the
DTB file names as well.
2021-11-21 19:10:58 +01:00
Minecrell
46a7f0ae08
community/arrow-db410c: add _pmb_select="soc-qcom-msm8916-rproc" (MR 2632)
This allows disabling the modem explicitly to get a bit more RAM.
It's also not _particularly_ useful on DB410c because it only provides GPS.
2021-11-21 19:10:58 +01:00
Minecrell
5cdf33cf1c
testing/<msm8916>: use _pmb_select="..." instead of kernel variants (MR 2632) 2021-11-21 19:10:58 +01:00
Minecrell
dd935c0d58
community/<msm8916>: use _pmb_select="..." instead of kernel variants (MR 2632) 2021-11-21 19:10:58 +01:00
Minecrell
f427a49e42
htc-m8qlul: drop kernel variants (MR 2632)
The mainline-modem variant does not actually exist yet and this should
be preferably implemented using the new soc-qcom-msm8916-rproc selection
in the future.
2021-11-21 19:10:58 +01:00
Minecrell
a9412824ea
community/soc-qcom-msm8916: introduce more flexible rproc selection (MR 2632)
Add a replacement for the current "mainline" and "mainline-modem"
kernel variants used for the MSM8916 devices. At the moment this is
implemented using separate DTBs that are all maintained in the kernel.

Unfortunately, this does not seem likely to be accepted upstream in
the mainline kernel. They will expect to have only a single DTB that
enables all available functionality. The "no-modem" variant is a minor
but still very useful use case because it changes the audio routing:
It allows audio to work without any firmware, with more control on
sample rates, latency etc for advanced audio use cases. However,
having a potentially enabled modem requires routing all audio through
the modem. There are two separate DTBs needed for these two setups.

To avoid burdening mainline with this use case, the idea is to apply
the necessary DTB transformations as part of the lk2nd boot process.
Mainline only contains the DTB with the full functionality (audio
routed through modem). The soc-qcom-msm8916-rproc packages place
a magic file at /boot/lk2nd_rproc_mode that is read by lk2nd. When
the file contains "no-modem" lk2nd will transform the DTB to disable
the modem and change the audio routing to bypass the modem.

That way, this feature does not need to be considered in mainline
at all but can still be offered as "nice to have" by lk2nd. It also
simplifies the device packages because the selection is now common
as part of the soc-qcom-msm8916 package.

Together with a related pmbootstrap change there is a nice prompt
for selecting one of these "rproc" providers:

     $ pmbootstrap init
     [...]
     Available providers for soc-qcom-msm8916-rproc (3):
      * all: Enable all remote processors (audio goes through modem) (**default**)
      * no-modem: Disable only modem (audio bypasses modem, ~80 MiB more RAM)
      * none: Disable all remote processors (no WiFi/BT/modem, ~90 MiB more RAM)
     Provider [default]: ...
2021-11-21 19:10:58 +01:00
Minecrell
674c7f63ad
modem/msm-modem: skip SIM configuration on APQ* SoCs (MR 2632)
Unfortunately, msm-modem-uim-selection causes boot delays on APQ*
SoCs (without most modem functionality) at the moment. The modem will
never show up so it keeps waiting and waiting.

To allow using the same rootfs on devices that have MSM* and APQ*
variants (e.g. Samsung MSM8916 tablets), add a quick check at the
beginning of the service to cancel early when running on an APQ* SoC.
This is easy to check because the SoC is actually exposed in sysfs.
2021-11-21 19:10:58 +01:00
Kai Hernowski
63b7969efd
lg-vee7e: change to armv7 and gcc6 (MR 2689)
[ci:skip-build]: already built successfully in CI
2021-11-21 02:44:02 +01:00
Antoni Aloy Torrens
f5ee783b74
samsung-v1awifi: new device (MR 2671)
[ci:skip-build]: already built successfully in CI
2021-11-21 02:13:00 +01:00
Newbyte
70be414133
CI: use shellcheck from Alpine again (MR 2691)
Shellcheck is back in Alpine's repos.

This reverts commit 80e35c5eb0.
2021-11-18 18:22:29 +01:00
Minecrell
04f2850483
community/linux-asus-me176c: upgrade to 5.4.159 (MR 2685)
[ci:skip-build]: already built successfully in CI
2021-11-18 18:06:47 +01:00
Clayton Craft
e26f8daa06
linux-purism-librem5: upgrade to 5.13.19pureos4 (MR 2686)
Upstream changelog:
fa57d344e7 (9c96da0e9f91d7d8937b69b524702c106258f0d1)

[ci:skip-build]: already built successfully in CI
2021-11-18 18:02:48 +01:00
Stacy Harper
214008d8fa
main/postmarketos-ui-sxmo: splited into DE packages (MR 2684)
[ci:skip-vercheck]
2021-11-17 20:19:58 +01:00
Kai Hernowski
51d2b47263
lg-vee7e: modenize aport (MR 2688)
[ci:skip-build] already built successfully in CI
2021-11-16 19:01:45 +01:00
Clayton Craft
04dca0fb21
purism-librem5: rebase with purism's latest librem5-base changes (MR 2666)
This installs some new udev rules added in purism's librem5-base
package, and adds the charger module to initfs to that PD is available
earlier on in the boot process.

[ci:skip-build] already built successfully in CI
2021-11-15 09:52:41 -08:00
Paul Spooren
56f48ef255
main/postmarketos-ui-sway: add polkit-elogind dependency (MR 2677)
Without the explicit dependency to `polkit-elogind` the packages
`polkit` and `polkit-libs` are installed. This however prevents starting
`sway`. Below is the error message from the `tinydm` log:

```
00:00:00.028 [ERROR] [wlr] [libseat] [libseat/backend/logind.c:310] Could not activate session: Interactive authentication required.
00:00:00.028 [ERROR] [wlr] [libseat] [libseat/libseat.c:79] No backend was able to open a seat
00:00:00.028 [ERROR] [wlr] [backend/session/session.c:84] Unable to create seat: Function not implemented
00:00:00.028 [ERROR] [wlr] [backend/session/session.c:218] Failed to load session backend
00:00:00.028 [ERROR] [wlr] [backend/backend.c:353] Failed to start a DRM session
00:00:00.028 [ERROR] [sway/server.c:53] Unable to create backend
```

Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-11-14 21:39:44 +01:00
Oliver Smith
72c2f02a06
main/linux-postmarketos-allwinner: enable iwd opts (MR 2565)
Enable options required to run iwd instead of wpa_supplicant for the
aarch64 kernel config. Make it easier to test this, before we consider
switching to iwd as default (and enforcing kernel options in all devices
in main and community).

[ci:skip-build]: already built successfully in CI before disabling
CRYPTO_USER_API_ENABLE_OBSOLETE. I've built and verified the aarch64
version with this disabled locally, and I'm pretty sure that the armv7
version will build successfully too. So let's avoid the wait here.
2021-11-14 21:30:18 +01:00
Oliver Smith
3d06bf36dc
main/postmarketos-ui-*: link to UI pkg reference (MR 2683)
Let every postmarketos-ui-* package have a link on top that points to
the new UI package reference. Do not put the link in <>, as it was done
with other references, since there's no benefit to it. It doesn't look
better and it doesn't make it easier to click the link or something, I
just did this initially because I saw it in GPL license headers.

[ci:skip-vercheck] [ci:ignore-count]
2021-11-14 18:30:27 +01:00
Stacy Harper
7bf9401273
main/postmarketos-ui-sxmo: fix build issue with a fallback to one single package 2021-11-12 21:00:26 +01:00
Stacy Harper
a8e61ecd59
main/postmarketos-ui-sxmo: fix reverse dependency build issue 2021-11-12 20:17:42 +01:00
Stacy Harper
69533cc728
main/postmarketos-ui-sxmo: add -de virtual subpackage dependency (MR 2674) 2021-11-12 17:11:30 +01:00
Stacy Harper
b2c4acc115
main/postmarketos-ui-sxmo: upgrade to 1.6.0 (MR 2664) 2021-11-12 16:01:42 +00:00
Paul Cercueil
01f19ace27
main/linux-postmarketos-exynos4: Enable RFKILL (MR 2661)
Enable CONFIG_RFKILL in the kernel configuration for Exynos4 devices.

This allows Gnome's Bluetooth panel to detect the Bluetooth controllers
present.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>

[ci:skip-build]: already built successfully in CI
2021-11-12 12:34:28 +01:00
Paul Cercueil
cdf6b3fed5
main/linux-postmarketos-exynos4: Add support for Bluetooth on i9100 (MR 2661)
Add two patches that fixes the Bluetooth node in the Device Tree of the
Galaxy S2 (i9100).

These two patches are not upstream yet, but were accepted by the
maintainer for inclusion in Linux 5.17.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
2021-11-12 12:32:49 +01:00
Oliver Smith
69dc4449f0
main/postmarketos-ui-phosh: depend on mm-openrc (MR 2675)
Let postmarketos-ui-phosh depend on modemmanager and
modemmanager-openrc, so we ensure both get installed before the
post-install script runs. The post-install script will not be able to
enable the modemmanager openrc service otherwise.

Related: issue 1297
2021-11-12 00:22:52 +01:00
Jami Kettunen
c16b20e7d3
device-oneplus-dumpling: drop psi=1 from cmdline (MR 2672)
PSI is now enabled by default in linux-postmarketos-qcom-msm8998.

[ci:skip-build]: already built successfully in CI
2021-11-10 23:25:18 +01:00
Jami Kettunen
8e8a62dc52
device-oneplus-cheeseburger: drop psi=1 from cmdline (MR 2672)
PSI is now enabled by default in linux-postmarketos-qcom-msm8998.
2021-11-10 23:25:15 +01:00