Commit graph

4582 commits

Author SHA1 Message Date
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
Alexey Minnekhanov
33c62a1f58
CI: fix broken test_aports_kernel (MR 2272)
Missing '/' in aports path will make glob below invalid.
It will find 0 files and thus effectively skip all tests.
Construct full path using f-strings.

Double '/' in path that can be there if args.aports ends
with slash is harmless.
2021-06-25 18:42:11 +03:00
Alexey Minnekhanov
b8c51ec276
linux-lg-us996: remove cross-compiler from makedepends (MR 2272)
and disable CONFIG_COMPAT_VDSO, otherwise build fails without armv7 compiler
2021-06-25 18:42:04 +03:00
Alexey Minnekhanov
e798464243
linux-xiaomi-vince: remove cross-compiler from makedepends (MR 2272)
and disable CONFIG_COMPAT_VDSO (otherwise build fails without armv7 compiler)
2021-06-25 18:42:01 +03:00
Alexey Minnekhanov
c7ee114d4d
linux-samsung-a5y17lte: remove cross-compiler from makedepends (MR 2272)
Also properly use gcc6 to build kernel
2021-06-25 18:41:51 +03:00
Alexey Minnekhanov
be47aa66a7
linux-htc-leo: remove cross-compiler from makedepends (MR 2272) 2021-06-25 18:41:47 +03:00
Alexey Minnekhanov
34492416a9
linux-nokia-beatles: remove cross-compiler from makedepends (MR 2272) 2021-06-25 18:41:44 +03:00
Alexey Minnekhanov
6934f72761
linux-htc-enrc2b: add pmb:cross-native to options (MR 2272) 2021-06-25 18:41:42 +03:00
Alexey Minnekhanov
ce6791f332
linux-xiaomi-daisy: add pmb:cross-native to options (MR 2272) 2021-06-25 18:41:39 +03:00
Alexey Minnekhanov
fb879f5cb4
linux-xiaomi-lavender: remove cross-compiler from makedepends (MR 2272) 2021-06-25 18:41:35 +03:00
Alexey Minnekhanov
7f3ed882b5
linux-sony-suzu: remove cross-compiler from makedepends (MR 2272) 2021-06-25 18:41:10 +03:00
Alexey Minnekhanov
2ede7f0ff1
cross/gcc-*: upgrade to 10.3.1_git20210625
a2454e19ab

[ci:skip-build] Builds fine locally in strict mode
2021-06-25 18:07:47 +03:00
samuel norbury
de9132214d
postmarketos-anbox: Add nftables subpackage dependency (MR 2271)
The subpackage adds rules specific to Anbox to allow in- and outbound
network traffic over the `anbox0` network bridge.
2021-06-23 21:18:34 +02:00
samuel norbury
3960ad0c51
postmarketos-config-nftables: Add nftables rules for anbox (MR 2271)
Anbox needs a specific set of nftables rules to allow incoming and
outgoing traffic. Anbox makes it easy to allow the specific traffic due
to the established `anbox0` bridge network interface.
2021-06-23 21:18:28 +02:00
Clayton Craft
ed39ad7319
device-purism-librem5: add workaround for ucm2 breaking audio (MR 2267)
For reference:
https://source.puri.sm/Librem5/librem5-base/-/issues/48

[ci:skip-build] already built successfully in CI
2021-06-23 11:17:56 -07:00
Clayton Craft
91eeb5e2a7
device-purism-librem5: upgrade to librem5-base v38 (MR 2267)
Not much here that is interesting for us, but keeping it relatively in
sync with purism's config helps with patching and maintenance.
2021-06-23 11:17:34 -07:00