Commit graph

4568 commits

Author SHA1 Message Date
Maxim Karasev
c4e972d886
device/testing/device-pine64-{a64lts,dontbeevil}: fix u-boot package name 2021-07-08 10:34:52 -07:00
Clayton Craft
e405a87b77
temp/gtk+3.0: switch to pureos/byzantium branch (MR 2325)
This branch includes a patch to resolve a deadlock when Phosh is
starting up. This patch was merged in aports edge.

The rest of the patches in this branch are minor fixes, so I don't
expect any regressions.

fixes #1142

[ci:skip-build] already built successfully in CI
2021-07-08 09:20:06 -07:00
Clayton Craft
b5cdc7603f
main/osk-sdl: upgrade to 0.65 (MR 2326) 2021-07-08 04:48:51 +03:00
Alexey Minnekhanov
2a1f6bddb8
main/linux-postmarketos-qcom-msm8974: hotfix for missing bam_dmux
Turns out, after refactoring (moving bam_dmux driver to wwan
subsystem) we need to set CONFIG_WWAN=y for bam_dmux driver
to be built. Fix this asap :)
2021-07-07 11:16:53 +03:00
Clayton Craft
f1e0404fb8
device/*: set gpu_accelerated for devices that show '3D=Y' on wiki (MR 2078)
[ci:ignore-count]
[ci:skip-vercheck] needed for the postmarketos-ui-* packages in this
series
[ci:skip-build] already built ui-* packages in CI, and device pacakges
are just trivial deviceinfo change (manually built some just to verify)
2021-07-07 08:06:17 +03:00
Anri Dellal
196ff18b06
main/postmarketos-ui-*: add GPU acceleration option (MR 2078)
Adds pmb:gpu-accel option to Phosh, Plasma Mobile/Bigscreen, Sway,
Glacier and Kodi APKBUILDs to hide the UIs at `pmbootstrap init`
for devices without GPU acceleration support.

Related: pmbootstrap!2043

[ci:skip-build]: already built successfully in CI
[ci:skip-vercheck]
2021-07-06 19:12:27 -07:00
Alexey Minnekhanov
1d3776d45d
main/linux-postmarketos-qcom-msm8974: upgrade to 5.13.0 (MR 2312)
Should work same as before.

Slightly tweaked kernel config options:
* default cpufreq governor is now "conservative" instead of "performance", which should be better for devices running on battery. Not that it matters, MSM8974 does not have cpufreq support anyway.
* enabled CONFIG_ARM_QCOM_SPM_CPUIDLE, which was missing! At least some cpuide is better than none at all.
* 2 missing options for nftables: CONFIG_IP6_NF_FILTER, CONFIG_IP6_NF_TARGET_REJECT
* few missing options for wg-quick: CONFIG_IPV6_MULTIPLE_TABLES, CONFIG_IP_MULTIPLE_TABLES, CONFIG_IP6_NF_RAW, CONFIG_IP_NF_RAW

WWAN subsystem is not enabled.

BAM-DMUX upgraded to version "v3" (subnode of modem remoteproc)

Mark kernel package as supporting anbox, containers (in addition to nftables)

[ci:skip-build] Already built successfully twice on CI
2021-07-07 04:17:27 +03:00
Oliver Smith
11353d8b1e
main/postmarketos-welcome-gtk3: upgrade to 0.3.0 (MR 2322) 2021-07-06 22:03:08 +02:00
Clayton Craft
ae02ad9190
main/postmarketos-ui-phosh: disable app drawer filtering (MR 2298)
Phosh 0.12.0 introduces filtering when the device is of a mobile type
and the app is not explicitly 'adaptive'. This means a lot of apps that
might otherwise work ok-ish are gone from the list.

This change disables the filtering for now.
2021-07-06 21:30:06 +02:00
Jakob Hauser
134afe813d
main/postmarketos-ui-xfce4: add polkit-elogind (MR 2311)
Currently, shut down and reboot as a user does not work (sudo shutdown
from terminal required). polkit-elogind needs to be installed. lxpolkit
is not needed.
2021-07-06 18:05:48 +02:00
Bart Ribbers
454995d879
main/postmarketos-ui-phosh: stop providing mpris-proxy.desktop (MR 2314)
This is now done by Bluez itself
https://git.alpinelinux.org/aports/commit/main/bluez?id=b99445977598b3bb8cc66b3a59a2c5edbbedac26
2021-07-05 14:00:12 +02:00
Nikita Travkin
e9e9a74b1d
soc-qcom-msm8916: use msm-modem-uim-selection (MR 2291)
Some msm8916 devices, primarily with two sim slots, require slot
to be selected. Install uim-selection script for all msm8916 devices
with modem enabled.

[ci:skip-build] already built successfully in CI
2021-07-05 07:41:23 +03:00
Nikita Travkin
436c544289
msm-modem: add UIM selection script (MR 2291)
On some devices, primarily with two sim slots, modem doesn't choose
the sim automatically. Add an init script that would detect in which
slot the sim is present and configure the modem to use it.
2021-07-05 07:41:19 +03:00
Clayton Craft
55dc5819e4
pine64-pinebookpro: add service for setting low power state on boot (MR 2306)
This adds a very basic openrc runscript that sets the power state on
/dev/nvme0 to level 2, which seems(?) to be the lowest operational power
state based on some cursory internet searching (and querying the nvme
drives I have, Samsung EVO and Pro)

The drive path is hard coded, but could be made configurable later on. I
basically wanted to get something in pmaports quickly, since this power
stuff is a major source of instability for me and probably others too
who add nvme drives to this device.
2021-07-04 13:42:43 -07:00
Bart Ribbers
e0010926f2
main/postmarketos-ui-plasma-bigscreen: re-enable on armv7 (MR 2310) 2021-07-04 22:23:49 +02:00
Bart Ribbers
024bb1757c
main/postmarketos-ui-plasma-bigscreen: depend on polkit-kde-agent-1 (MR 2310)
This:

1. fixes the UI not showing up on boot by installing polkit-elogind
2. makes for fancy password popups when root rights are needed rather
than just fail silently
2021-07-04 22:23:49 +02:00
Oliver Smith
3ac5233d12
channels.cfg: v21.06 is out!
Related: https://postmarketos.org/blog/2021/07/04/v21.06-release/
2021-07-04 21:35:07 +02:00
Danct12
3dd89c9a5e
linux-nokia-n900: upgrade to kernel 5.7.19 + build zram module (MR 2308)
Signed-off-by: Danct12 <danct12@disroot.org>
2021-07-04 11:51:42 +02:00
Oliver Smith
4ffd6ff1bb
main/postmarketos-ondev: new aport (MR 2307)
Move the package back from aports to pmaports and fix fall out from
postmarketos-base-ui related breakage:
* add the subset of depends from postmarketos-base-ui that are used in
  postmarketos-ondev
* upgrade to postmarketos-ondev 0.7.1, where I made it compatible with
  using the default tinydm config (not just the one overridden in
  postmarketos-base-ui-tinydm)

Reasoning for moving it from alpine to pmaports, in line with our new
guidelines (that were written after the package was moved to aports):
* has postmarketOS branding
* enables services in post-install (similar to postmarketos-ui-* packages)

Related: https://wiki.postmarketos.org/wiki/Packaging#Should_my_package_be_in_postmarketOS_or_Alpine.3F
2021-07-04 10:38:35 +02:00
Oliver Smith
722e0588f6
qemu-aarch64: use postmarketos-ui-sway-logo-key-alt (MR 2162) 2021-07-03 10:55:57 +02:00
Oliver Smith
4c0b0d80db
qemu-amd64: use postmarketos-ui-sway-logo-key-alt (MR 2162) 2021-07-03 10:55:57 +02:00
Oliver Smith
66752818bf
main/postmarketos-ui-sway: modernize (MR 2162)
* use tinydm instead of lightdm
* set default term to foot, as alacritty needs a recent opengl version
  (issue 984)
* override sway config to actually use foot (there is no
  sway-sensible-terminal and upstream isn't interested in adding it)
* set the pmOS wallpaper in the overridden sway config
* add a subpackage that allows changing $mod to Alt, so it's easier to
  test this in QEMU while running i3/sway on the host with $mod set to
  Mod4
* re-enable previously disabled architectures
* set myself as maintainer
2021-07-03 10:55:48 +02:00
Newbyte
e8d0a36ae0
device-samsung-skomer: set Phosh scale to 1.2 (MR 2301)
1 does fit the lock screen better, but 1.2 works better overall.
Some things are tiny with 1. 1.2 fits the lock screen decently and
still provides decently sized user interface elements.
2021-07-02 23:30:10 +02:00
Dylan Van Assche
4b225a5f32
device-pine64-pinephone: drop eg25-manager configs (MR 2185)
Replaced by GNSS assistance support

[ci:skip-build] already built successfully in CI
2021-07-02 14:02:08 -07:00
Dylan Van Assche
0ee9109215
temp/eg25-manager: add GNSS assistance support (MR 2185) 2021-07-02 14:02:08 -07:00
Dylan Van Assche
233b133e72
temp/eg25-manager: sync configs with modem-power (MR 2185) 2021-07-02 14:02:08 -07:00
Dylan Van Assche
b2e1af04e6
temp/eg25-manager: clean up modem_iface when MM disappears (MR 2185) 2021-07-02 14:02:08 -07:00
Jonas Heinrich
e87d0ad2a6
apple-iphone7: new device (Apple iPhone 7/7+) (MR 2289)
Downstream kernel made by Corellium which enables the iPhone 7 to boot.

This is the continuation of my work for a PostmarketOS port based on
@MartijnBraam kernel and devices packages.

PogoOS by the Checkra1n team is used to boot the Linux kernel. Further
instructions will be available in the PostmarketOS Wiki page.

[ci:skip-build] already built successfully in CI
2021-07-02 13:53:36 -07:00
Minecrell
4c666d67aa
arrow-db410c: also include DTB in "second" part of boot image (MR 2297)
I sometimes test DB410c via mainline U-Boot, which wants to have the
DTB in the "second" part of the Android boot image. Otherwise it works
fine. Include it there additionally to simplify this.

[ci:skip-build] already built successfully in CI
2021-07-02 13:49:18 -07:00
Ultracoolguy
26a5eb243b
linux-postmarketos-qcom-msm8953: Update Maintainer email (MR 2295)
[ci:skip-vercheck]
[ci:skip-build] already built successfully in CI
2021-07-02 13:45:22 -07:00
Ultracoolguy
a60ef9725d
firmware-motorola-ocean: Initial modem support (MR 2295)
On top of the firmware we already have, we also need device-specific
modem firmware. Use script from firmware-motorola-potter(credit goes to
Sireesh Kodali). Also imitate the logic in firmware-motorola-potter.
2021-07-02 13:42:31 -07:00
Ultracoolguy
6d2ce32d3f
*-motorola-ocean: Mark downstream as unmaintained (MR 2295) 2021-07-02 13:42:31 -07:00
Newbyte
be94ea9647
device-samsung-skomer: set up GPU acceleration for osk-sdl (MR 2296)
[ci:skip-build] already built successfully in CI
2021-07-02 13:37:51 -07:00
Newbyte
6d25d7f617
main/postmarketos-base: add Firefox env config to -tinydm subpackage (MR 2235)
Currently, this only sets Firefox to run in Wayland mode, but in the
future it might be used to make e.g. SDL applications run in Wayland
mode.

SDL applications are not set to run in Wayland mode right no as
SDL 1.2 uses the same environment variable as SDL 2.0 for
controlling video driver (SDL_VIDEODRIVER) and SDL 1.2 does not
support Wayland and crashes if an invalid value is provided for
SDL_VIDEODRIVER, and as such setting SDL_VIDEODRIVER=wayland
globally would break all SDL 1.2 applications. This will however be
fixed once SDL 1.2 is replaced by sdl12-compat in Alpine, as
sdl12-compat implements the SDL 1.2 API and ABI via SDL 2.0 and as
such supports Wayland. As such, once this happens we can start
setting SDL_VIDEODRIVER=wayland.

[ci:skip-build] already built successfully in CI
2021-06-30 23:38:12 -07:00
Newbyte
6d36d27417
main/postmarketos-ui-phosh: don't set GDK_BACKEND=wayland (MR 2235)
This causes issues with some programs, chiefly that gsd-xsetttings
does not start properly. GDK_BACKEND=wayland is only really
necessary to make Firefox run in Wayland mode anyway - other GTK 3/4
apps use it automatically. Firefox will be set to use Wayland via a
following commit.
2021-06-30 23:38:12 -07:00
Newbyte
32e78c7933
main/postmarketos-ui-phosh: remove workaround for starting gsd-xsettings (MR 2235)
This reverts commit d7bcaece8e.

The following commit fixes this in a better manner by not setting
GDK_BACKEND=wayland.
2021-06-30 23:38:12 -07:00
Clayton Craft
7cd9a2d246
linux-postmarketos-allwinner: add missing kconfig for nftables support (MR 2284)
[ci:skip-build] Built on CI
2021-07-01 09:05:21 +03:00
Clayton Craft
72baa9ee0c
linux-nokia-n900: enable missing kconfig for nftables support (MR 2284) 2021-07-01 09:05:15 +03:00
Yassine Oudjana
b627285177
device-xiaomi-scorpio: Add RMTFS to runlevel default (MR 2283)
Having RMTFS at runlevel boot makes it start the modem too fast and causes
crashes. Move it to runlevel default with a post-install.

[ci:skip-build] already built successfully in CI
2021-06-30 22:19:07 -07:00
Minecrell
37a4121e08
huawei-g7: new device (Huawei Ascend G7) (MR 2287)
The Huawei Ascend G7 is based on Qualcomm MSM8916 and therefore makes
use of linux-postmarketos-qcom-msm8916 as a close-to-mainline kernel.

Initially supported features:
  - USB
  - Storage (eMMC, SD card)
  - Display
  - Touchscreen, Buttons, Vibrator
  - Notification LED
  - WiFi/Bluetooth
  - Accelerometer, Magnetometer, Proximity
  - Audio
  - NFC

The modem needs more work to work around strange Huawei firmware mess.

Note that the Huawei shipped an outdated firmware version that does
not support booting aarch64 kernels (like used in this device port).
However, the device does not verify firmware signatures so it is
possible to flash firmware from other devices. This is mostly
described in the wiki, but unfortunately it's quite complex.

However, the aarch64 version of linux-postmarketos-qcom-msm8916
receives much more testing so I would like to avoid adding more
armv7 MSM8916 devices unless absolutely necessary.

For pointercal:
  Screen dimension 720x1280
  Touchscreen dimension (reported by evtest) 1100x1900
    720/1100*65536 = ~42896
    1280/1900*65536 = ~44151
  Offset doesn't seem to be needed.

[ci:skip-build] already built successfully in CI
2021-06-30 22:15:21 -07:00
Minecrell
ef3f43963e
main/linux-postmarketos-qcom-msm8916: upgrade to 5.13 (MR 2286)
- Update to Linux 5.13
- Upstreamed many more patches
- Various cleanup to BAM-DMUX driver to prepare for upstreaming
- Enable support for virtualization/KVM via https://github.com/msm8916-mainline/qhypstub
- Probably many other things I forgot :)

- Add tons of kernel config options for containers and nftables
- Add WireGuard to kernel config

Device changes:
  - huawei-g7: Initial support for Huawei Ascend G7
    - USB
    - Storage (eMMC, SD card)
    - Display
    - Touchscreen, Buttons, Vibrator
    - Notification LED
    - WiFi/Bluetooth
    - Accelerometer, Magnetometer, Proximity
    - Audio
    - NFC
  - lg-c50: Initial support for LG Leon LTE
    - USB
    - Storage (eMMC, SD card)
    - Buttons
    - WiFi/Bluetooth
    - Vibrator
    - Display
  - longcheer-l8150 (wileyfox-crackling): Fix proximity sensor
  - motorola-surnia: Add audio and modem
  - samsung-j5nlte: Add buttons
  - samsung-j5xlte: Initial support for Samsung Galaxy J5 (2016)
    - USB
    - Storage (eMMC, SD card)
    - Buttons
  - samsung-serranovelte: Add USB-OTG detection

[ci:skip-build] already built successfully in CI
2021-06-30 22:12:19 -07:00
Newbyte
f9dc4366ee
main/linux-postmarketos-stericsson: upgrade to 5.13 (MR 2288)
[ci:skip-build] already built successfully in CI
2021-06-30 22:05:57 -07:00
Sönke Holz
7ba97fda03
samsung-xcover4lte: new device (MR 2294)
[ci:skip-build] already built successfully in CI
2021-06-30 21:53:58 -07:00
Luca Weiss
3d7f70b114
main/qtvirtualkeyboard-plasma: drop, upstreamed to Alpine (MR 2292) 2021-06-30 21:42:58 -07:00
Luca Weiss
ab290025b2
main/ofono-phonesim: drop, upstreamed to Alpine (MR 2292) 2021-06-30 21:42:51 -07:00
Alexey Minnekhanov
187024987e
cross/busybox-static-*: upgrade to 1.33.1-r4 2021-06-30 02:53:24 +03:00
Alexey Minnekhanov
2ebc93b43e
main/linux-postmarketos-qcom-msm8974: upgrade to 5.12.13 (MR 2282)
Samsung Galaxy S5 gains support for modem (and adsp) co-processors.

[ci:skip-build] Already built on CI in MR
2021-06-28 17:24:10 +03:00
Dylan Van Assche
bdf5c5116d
odroid-hc2: new device (MR 2249)
[ci:skip-build]: already built successfully in CI
2021-06-27 17:50:02 +02:00
Alexey Minnekhanov
e67fca2b12
device-samsung-klte: remove downstream port (MR 2279)
* cleanup, remove unused files
* depend on swclock-offset

[ci:skip-build] Already built on CI in MR
2021-06-27 18:33:23 +03:00
Alexey Minnekhanov
383c695e38
device-samsung-klte-downstream: new aport (MR 2279) 2021-06-27 18:33:12 +03:00