Commit graph

4582 commits

Author SHA1 Message Date
Oleg Chernovskiy
88da612343
device-oneplus-bacon: Add firmware dependency (MR 2027) 2021-03-25 20:32:26 -07:00
Oleg Chernovskiy
754902d3ae
device/testing/firmware-oneplus-bacon: new aport (MR 2027) 2021-03-25 20:31:36 -07:00
frojnd
da4afb710b
linux-motorola-falcon: fix fb format, upgrade to latest commit (MR 2058)
[ci:skip-build] Already built successfully on CI
2021-03-24 17:18:10 +03:00
Vincent Knecht
bd3f2f5933
alcatel-idol347: new device (MR 2050)
New mainline port with most things working (usb/wifi/bt/3d-accel/sound/gps).
Modem/calls/sms/mobile-data should work but couldn't test it recently
due to broken devices.
2021-03-23 20:29:41 +01:00
Minecrell
fbdb5f9164
main/linux-postmarketos-qcom-msm8974: add BAM-DMUX patches (MR 2053)
These are required to make it work with the latest ModemManager patches,
especially the patch that switches BAM-DMUX to Raw-IP mode.

[ci:skip-build]: already built successfully in CI
2021-03-22 21:43:26 +01:00
Minecrell
0108b8ba6e
main/linux-postmarketos-qcom-msm8916: upgrade to 5.11.7 (MR 2039)
- Update to Linux 5.11.7
- Upstreamed more patches
- Switch BAM DMUX (mobile data) driver to Raw-IP mode.
  This makes it work with the upstream version of ModemManager,
  reduces overhead a bit and is overall cleaner.
- Add QMI "memshare" driver which is needed for GPS to work on most
  MSM8916 devices.
  - GPS has been tested successfully on:
    - alcatel-idol347
    - lg-m216
    - longcheer-l8150 (wileyfox-crackling)
    - longcheer-l8910 (bq-paella)
    - motorola-harpia
    - motorola-osprey
    - samsung-a2015 (a3(u)lte, a5(u)lte)
    - samsung-serranovelte
    - wingtech-wt88047 (xiaomi-wt88047)
  - Needs more testing/investigation on:
    - asus-z00l
    - asus-z010d
    - wingtech-wt865x8

- Add SMB1360 battery/charger/OTG driver for longcheer-l8190
  and wingtech-wt88047.
- Rework TFA9895 speaker amplifier driver for potential upstreaming,
  make it work for TFA9897, add channel selection and a lot of cleanup.

- Add INSTALL_MOD_STRIP=1 to maybe reduce the size of modules a bit.
- Other things I forgot :)

Device changes:
  - alcatel-alto5-vdf: Initial support for Vodafone Smart prime 6
    - USB
    - Storage (eMMC, SD card)
    - Buttons
    - WiFi, Bluetooth
  - alcatel-idol347: Initial support for Alcatel Idol 3 (4.7")
    - USB
    - Storage (eMMC, SD card)
    - Display, Brightness
    - Touchscreen, Buttons, Vibrator
    - WiFi, Bluetooth
    - Accelerometer, Magnetometer, Gyroscope, Proximity
    - Audio (no headphones yet)
    - Modem (voice call audio needs some more minor changes)
  - asus-z00l
    - SD card
    - IMU (Accelerometer + Gyroscope), Magnetometer
  - lg-m216
    - Battery/charging
  - longcheer-l8150 (wileyfox-crackling)
    - Tweak battery values slightly for 25°C instead of 0°C
  - longcheer-l8910 (bq-paella)
    - Battery/charging
    - USB OTG
  - motorola-harpia
    - Add panel driver for "boe" panel
  - samsung-gt510wifi/matissevewifi:
    - Fix touchscreen
  - wingtech-wt88047 (xiaomi-wt88047)
    - Battery/charging
    - USB OTG

[ci:skip-build]: already built successfully in CI
2021-03-22 21:22:40 +01:00
Minecrell
47ec08d635
community/soc-qcom-msm8916: update UCM files (MR 2039)
- Fix speaker on xiaomi-mido
- Add UCM configuration for alcatel-idol347
2021-03-22 21:22:08 +01:00
Minecrell
e9275054fa
xiaomi-wt88047: include smb1360 (battery/charger driver) in initfs (MR 2039)
This is needed for USB to initialize correctly.
2021-03-22 21:22:08 +01:00
Minecrell
b208647c58
bq-paella: include smb1360 (battery/charger driver) in initfs (MR 2039)
This is needed for USB to initialize correctly.
2021-03-22 21:22:08 +01:00
Dylan Van Assche
a57d0c630e
device-pine64-pinephone: Override eg25-manager configs (MR 1931)
Figured out with a Quectel engineer and the ModemManager maintainer
2021-03-22 21:20:31 +01:00
Dylan Van Assche
2055cfad30
device-pine64-pinephone: disable ModemManager's suspend/resume hooks (MR 1931) 2021-03-22 21:20:06 +01:00
Minecrell
23d94d7b8c
temp/ofono: add patch to update modem data format if necessary (MR 2037)
(Also sync with Alpine while I'm at it...)

This is necessary for mobile data to work on MSM8916-based devices
after some changes in the network driver (bam-dmux) to operate in
Raw-IP mode instead of Ethernet mode (which is somewhat broken).
2021-03-22 21:18:34 +01:00
Dylan Van Assche
520894dc1b
temp/modemmanager: dropped, upstreamed to Alpine 2021-03-22 21:18:10 +01:00
Martijn Braam
15d740b746
device/pine64-pinebookpro: switch to mainline (MR 2021)
* Add u-boot build with a lot of patches that makes the display work in
  u-boot for boot selection
* Upgrade the rockchip kernel to 5.11 mainline with config for the
  rk3399 devices built-in
* Make the rockpro64 and pinebook pro use the newer kernel

[ci:skip-build]
2021-03-22 00:41:27 +01:00
Minecrell
86eff19e0b
community/asus-me176c: fix splash screen width and phosh scaling (MR 2047)
Actually the display in asus-me176c has a width of 800px, which means
that the splash screen isn't perfectly centered. Correct this in
deviceinfo to make it show up correctly.

Also, add configuration file for Phosh to reduce scaling a bit to 1.75.
It's kind of subjective but scaling = 2 definitely feels too large.

[ci:skip-build]: already built successfully in CI
2021-03-21 21:17:59 +01:00
Minecrell
2094a44b23
community/linux-asus-me176c: upgrade to 5.4.107 (MR 2047) 2021-03-21 21:17:57 +01:00
Clayton Craft
2751cd7c64
temp/gtk+3.0: upgrade to 3.24.27 (MR 2042)
This is 3.24.27 w/ Purism's mobile UI patches in their fork. According
to Purism, 3.24.27 resolves some stability issues (like a segfault when
scrolling)

[ci:skip-build]: already built successfully in CI
2021-03-21 20:27:54 +01:00
Oliver Smith
d20d4d2430
temp/sqlite*: fork from alpine, downgrade to 3.34.1 (MR 2054)
Fork because the newer version 3.35 causes segfaults in the "calls" app
and others on the PinePhone.

[ci:skip-build]: already built successfully in CI
2021-03-21 19:46:39 +01:00
Clayton Craft
56a0531ad2
linux-purism-librem5: build led-pattern driver into kernel (MR 2043)
There's a race condition between when the pwmled device is initialized,
which kicks off a feedbackd udev rule that configures the led trigger to
'pattern', and when ledtrig_pattern actually loads. It seems to mostly
load after the rule runs, so the trigger is never set to 'pattern' on
boot.

This removes the race by building the ledtrig_pattern driver into the
kernel.

[ci:skip-build] Already build successfully in CI
2021-03-21 10:54:29 -07:00
Clayton Craft
a44713cf0d
linux-purism-librem5: add patch to fix wifi performance regression (MR 2043)
This patch fixes a fairly severe performance regression with wifi on the
L5 (something like 20x improvement in performance with this patch)

[ci:skip-build] Already build successfully in CI
2021-03-21 10:54:29 -07:00
Oliver Smith
31ed6f21ef
main/postmarketos-mkinitfs: fix space issues (MR 2051)
In order to have hardware acceleration in osk-sdl, we have included mesa
for some devices (like the PinePhone) in initfs-extra. Mesa drags in
libLLVM, which got a size increase of 27 MB in the last version. This
leads to running out of space on the boot partition:

  ==> initramfs: creating /boot/initramfs-postmarketos-allwinner-extra
  gzip: write error: No space left on device
  cpio: write error: Broken pipe

Improve the situation by not directly writing initfs-extra to /boot
(next to the old version), but to a temporary directory first. Replace
the old version with the new version afterwards (like before).

This is a rather minimal fix for this specific issue. The mkinitfs
script needs more fixing (it's one of the oldest pieces of code in
postmarketOS and could use a rewrite...), but that's out of scope for
this patch.
2021-03-21 17:22:44 +01:00
Newbyte
c6539b51e5
temp/gnome-contacts: rebuild against latest evolution-data-server (MR 2045) 2021-03-20 11:48:05 +01:00
JuniorJPDJ
93174b17dc
main/*: use xwayland instead of xorg-server-xwayland (MR 2041) 2021-03-19 15:31:12 +01:00
Bart Ribbers
3f45a260a3
main/telephony-service: drop, not required anymore 2021-03-19 15:11:04 +01:00
Clayton Craft
759c2aa94e
temp/wys: drop, newer version in Alpine (MR 2036)
Upstream Alpine has a later version now, the fork is no longer needed.
2021-03-19 13:08:49 +01:00
Ben Court
eb3ab3f0f8
device/motorola-osprey: remove msm and rmi-i2c from initfs (MR 2038)
These drivers make the boot.img to large to fit on the boot partition
of the osprey
2021-03-18 17:21:44 +01:00
Minecrell
a28c58a704
cross/binutils-*: fix build
aportgen generates this incorrectly, we don't want any subpackages
for these cross packages...
2021-03-18 13:41:12 +01:00
Minecrell
c7bd805910
cross/gcc-*: upgrade to 10.2.1_git20210318 2021-03-18 13:26:51 +01:00
Minecrell
5110703bd6
cross/binutils-*: upgade to 2.35.2 2021-03-18 13:26:24 +01:00
Luca Weiss
63d374e694
kde/audiotube: new aport (MR 2029) 2021-03-18 01:36:38 -07:00
Unknown
4d651d6069
pegatron-chagall: initial mainline port (formerly fujitsu-m532) (MR 1907)
The device has been renamed from fujitsu-m532 to pegatron-chagall since several rebrands of this board exist (Olivetti Olipad3, Siragon 4N, etc.), and Fujitsu M532 is just one of those.

Signed-off-by: Raffaele Tranquillini <raffaele.tranquillini@gmail.com>
2021-03-18 01:25:51 -07:00
Clayton Craft
9ae9a7eb2c
device-purism-librem5: do not start nonexistent service (MR 2034)
Fixes https://gitlab.com/postmarketOS/pmaports/-/issues/1010
2021-03-17 13:36:40 -07:00
Clayton Craft
0dc254adef
device-purism-librem5: use bq25890 ship mode support in kernel (MR 2032)
Ship mode via the mechanism used by purism doesn't work; it's either not
possible or outside my understanding to run an openrc runscript with a
busybox init on *poweroff* and *not reboot*, which is what is required
for this to work properly..

This module param requires a corresponding kernel patch to enable ship
mode support in the bq25890-charger module
2021-03-16 07:38:22 +01:00
Clayton Craft
ee89b6cb24
linux-purism-librem5: add bq25890 patch for ship mode on poweroff (MR 2032)
Submitted to purism here:
https://source.puri.sm/Librem5/linux-next/-/merge_requests/333
2021-03-16 07:38:17 +01:00
Anri Dellal
03847696e1
linux-nobby-230: install modules (MR 2031)
- Changes APKBUILD to build and install kernel modules
- Build UBIFS support as module

[ci:skip-build] Already passed CI
2021-03-16 07:43:46 +03:00
Amy
847f4414d2
linux-motorola-channel: recreate defconfig (MR 2028)
This fixes the issues with the touch screen on XT1952-1.

[ci:skip-build] Already built fine on CI
2021-03-16 07:26:19 +03:00
Clayton Craft
fe3620e93d
linux-purism-librem5: upgrade to 5.11.4 (MR 2018)
Upstream change logs:

5.11.2:
fdc91c4e20

5.11.4:
a178aa515c

This also adds a -dev subpackage, and cleans up makedepends

[ci:skip-build]: already built successfully in CI
2021-03-14 23:28:31 -07:00
David W
6ecdcbf9b5
samsung-santos10wifi: new device (Samsung Galaxy Tab 3 10.1 Wi-Fi) (MR 2022)
[ci:skip-build]: already built successfully in CI
2021-03-14 21:33:25 +01:00
Oliver Smith
743c3eda7e
Revert "CI: skip armhf, x86 build on stable branches (MR 2024)"
This does not work as expected, CI doesn't run for x86 and armhf on
master too. An attempt to fix this was made in MR 2030, but it didn't
work as expected and it's not worth looking into this further right now.

This reverts commit d695455f08.
2021-03-14 21:29:05 +01:00
Svyatoslav Ryhel
93f2d82d1d
asus-tf300t: new device (ASUS Transformer PAD) (MR 2026)
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
[ci:skip-build]: already built successfully in CI
2021-03-14 21:17:19 +01:00
Svyatoslav Ryhel
1714502033
main/linux-postmarketos-grate: update to 5.12_rc2 (MR 2026)
This updates the current commit hash to latest on grate/master.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
2021-03-14 21:16:33 +01:00
Svyatoslav Ryhel
9ef16ab7b6
testing/firmware-asus-transformer: rebrand firmware package (MR 2026)
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
2021-03-14 21:16:23 +01:00
Luca Weiss
ed02df3fe1 cross/gcc-*: upgrade to 10.2.1_pre2-r0 2021-03-14 11:32:02 +01:00
Oliver Smith
d695455f08
CI: skip armhf, x86 build on stable branches (MR 2024)
Don't try to build for arches where we don't have a binary repository on
stable branches.
2021-03-13 02:30:45 +01:00
Clayton Craft
cbc8a94392
device-purism-librem5dev: use new u-boot location (MR 2023)
[ci:skip-build]: already built successfully in CI
2021-03-13 02:18:36 +01:00
Clayton Craft
07193614cb
device-purism-librem5: use new u-boot location (MR 2023) 2021-03-13 02:18:13 +01:00
Clayton Craft
d2014e2606
temp/u-boot-librem5: upgrade to latest u-boot from purism (MR 2023)
Changes from purism:
- 2 second boot delay removed
- This includes an updated DDR memory training firmware version.
- patch to work around wifi device not being available on boot

Package changes:
- u-boot installed in location consistent with other pmaports/u-boot
  packages
- update-u-boot script added for upgrading u-boot on the device
- devkit u-boot split off into a sep. subpackage
2021-03-13 02:18:09 +01:00
Alexey Min
27c3de6c82
cross/busybox-static-*: upgrade to 1.33.0-r4 2021-03-12 16:24:18 +03:00
Bart Ribbers
5c11c04856
kde/peruse: add missing dep on okular-common-qml (MR 2016) 2021-03-12 10:26:14 +01:00
Clayton Craft
17720fa870
gitlab-ci: disable ccache when building changed aports (MR 2020)
This disables ccache in the CI when building packages. I think ccache is
not necessary since the CI will never build a package twice in the same
pipeline, and ccache dir is not preserved for use between pipelines.
There is a real time cost to compiling with ccache enabled on the
initial compile (compressing objects for cache, etc), and some testing
with building the linux-purism-librem5 kernel in the CI shows this cost
can be significant... ~160 minutes when ccache is enabled vs ~105
minutes when it is disabled with this patch.

kernel compile CI runs referenced:
https://gitlab.com/postmarketOS/pmaports/-/jobs/1087602863
https://gitlab.com/postmarketOS/pmaports/-/jobs/1087956999

Some testing on my laptop using osk-sdl with and without ccache for
initial compile:

ccache disabled:
$ rm _build -r && CCACHE_DISABLE=1 meson _build >/dev/null && CCACHE_DISABLE=1 time meson compile -C _build
ninja: Entering directory `_build'
[10/10] Linking target osk-sdl
7.76
$ rm _build -r && CCACHE_DISABLE=1 meson _build >/dev/null && CCACHE_DISABLE=1 time meson compile -C _build
ninja: Entering directory `_build'
[10/10] Linking target osk-sdl
7.89
$ rm _build -r && CCACHE_DISABLE=1 meson _build >/dev/null && CCACHE_DISABLE=1 time meson compile -C _build
ninja: Entering directory `_build'
[10/10] Linking target osk-sdl
7.71

ccache enabled:
$ rm /tmp/ccache _build -r && CCACHE_DIR=/tmp/ccache meson _build >/dev/null&& CCACHE_DIR=/tmp/ccache time meson compile -C _build
ninja: Entering directory `_build'
[10/10] Linking target osk-sdl
8.62
$ rm /tmp/ccache _build -r && CCACHE_DIR=/tmp/ccache meson _build >/dev/null&& CCACHE_DIR=/tmp/ccache time meson compile -C _build
ninja: Entering directory `_build'
[10/10] Linking target osk-sdl
8.46
$ rm /tmp/ccache _build -r && CCACHE_DIR=/tmp/ccache meson _build >/dev/null&& CCACHE_DIR=/tmp/ccache time meson compile -C _build
ninja: Entering directory `_build'
[10/10] Linking target osk-sdl
8.54
2021-03-11 19:40:43 +01:00