Commit graph

4547 commits

Author SHA1 Message Date
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
Alexey Minnekhanov
cc6384a986
linux-samsung-klte-downstream: new aport (MR 2279)
Move the package linux-samsung-klte to unmaintaned
and rename it to linux-samsung-klte-downstream.
2021-06-27 18:33:12 +03:00
Alexey Minnekhanov
b650e3118b
firmware-samsung-klte: split components (MR 2279)
Downstream and mainline ports will use different subsets
of firmware files. Split them into Wi-Fi and Bluetooth
subpackages.
2021-06-27 18:33:09 +03:00
Alexey Minnekhanov
fe4c16f810
pine64-pinetab: Resign from maintaining (MR 2281)
My engineering prototype 1 Gb pinetab is close to unusable,
so I can't use it to test pmOS. Also, PINE64 is no longer
selling these devices, and the ones that were sent previously
to some developers use different display panel anyway.

Martijn Braam and Dylan Van Assche agreed to maintain it.

[skip ci]
2021-06-27 16:29:15 +02:00
Clayton Craft
0f1c765e10
postmarketos-mkinitfs: don't depend on osk-sdl, add to initfs conditionally (MR 2242)
This replaces the dependency on osk-sdl with a dependency on a
postmarketos-fde-unlocker virt. package

osk-sdl and its dependencies are also added contitionally to the initfs,
based on whether the osk-sdl exe is installed in the rootfs

Also see:
https://gitlab.com/postmarketOS/pmbootstrap/-/merge_requests/2066
2021-06-26 16:33:35 -07:00
Clayton Craft
ac63e3c709
pmaports.cfg: add option for "supported_base_nofde" (MR 2278)
Used by pmb!2066
2021-06-26 16:28:11 -07:00
Clayton Craft
4136eeae5a
postmarketos-base: add nofde subpackage (MR 2278) 2021-06-26 16:28:08 -07:00
Clayton Craft
77b31aece1
osk-sdl: provide postmarketos-fde-unlocker virtual package (MR 2278) 2021-06-26 16:28:04 -07:00
Alexey Minnekhanov
7e2b8467ed
main/telepathy-ofono: drop, upstreamed to Alpine (MR 2277)
https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/community/telepathy-ofono/APKBUILD
2021-06-26 23:28:54 +03:00
Alexey Minnekhanov
484db6e08f
main/libofono-qt: drop, upstreamed to Alpine (MR 2277)
https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/community/libofono-qt/APKBUILD
2021-06-26 23:28:54 +03:00
Alexey Minnekhanov
24cb6a50a7
main/kmscube: drop, upstreamed to Alpine (MR 2277)
https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/community/kmscube/APKBUILD
2021-06-26 23:28:51 +03:00
Pablo Correa Gómez
5d47add5f1
temp/upower: sync icon and warn for low battery level (MR 2255)
Commits cfb5d41b and ead17254 updated the default battery levels for
warnings and actions in the pinephone and the pinetab. Since then,
the chances of the phone dying for lack of battery power have completely
dissapeared. However, the battery icon in phosh was never updated to show
a "caution" battery level. The value was hardcoded and ignored the setting
in the config file. This commit fixes that issue
2021-06-26 22:33:53 +03:00
st s
8efe40cee0
samsung-zeroltexx: fix audio (MR 2263)
Fix memory alignment issue that led to crashes
by adding the -mstrict-align compiler flags.

[ci:skip-build] already built successfully in CI
2021-06-26 19:50:04 +02:00
Maxim Karasev
424528a799
xunlong-orangepi3: new device (MR 2268)
[ci:skip-build] already built successfully in CI
2021-06-26 19:46:43 +02:00
Maxim Karasev
d415968dc9
main/linux-postmarketos-allwinner: upgrade to 5.12.12 and add allwinner h6 support (MR 2268) 2021-06-26 19:45:43 +02:00
Clayton Craft
931ae03648
config-nftables: add rules for allowing usb inet access (MR 2274)
This rule is installed by default, since users that need usb inet won't
have an easy way to install a subpackage.

This is meant to facilitate:
https://wiki.postmarketos.org/wiki/USB_Internet
2021-06-25 23:00:11 -07:00
Clayton Craft
2a1b69db00
config-nftables-anbox: fix rule to allow matching on future iface (2274) (MR 2274)
The old rule would result in nftables failing to load if the iface
doesn't exist. Using `iifname` will match on any future ifaces if they
don't exist when the firewall starts.
2021-06-25 23:00:10 -07:00
Kai Parry
9721b7378b
leeco-zl1: new device (MR 2273)
leeco-zl1: remove config based on line
2021-06-26 03:01:00 +03:00
Joel Selvaraj
c78c633a06
device-xiaomi-beryllium: move device to community (MR 2257)
Adds OSK-SDL support, automatic kernel update support and
move device to community.
2021-06-25 22:09:44 +02:00
Joel Selvaraj
54c7d08572
linux-postmarketos-qcom-sdm845: update to latest commit (MR 2257)
1. Fixes touchscreen input not working in Poco F1 (Tianma variant) in osk-sdl
2. Basic dts support for Xiaomi Mi 8 Pro(Equuleus)
3. Basic dts support for LG G7 and LG V35
2021-06-25 22:09:44 +02:00
Clayton Craft
f9e45f969e
linux-purism-librem5: enable zram support (MR 2276) 2021-06-25 09:22:08 -07:00
Alexey Minnekhanov
13c34b9793
CI: test for cross-compilers in makedepends (MR 2272)
Related: #1128

[ci:skip-build] Will not finish in 3h on CI. Builds locally.
2021-06-25 18:43:00 +03:00