Commit graph

4230 commits

Author SHA1 Message Date
Oliver Smith
8497cd0433
main/calamares-extensions: upgrade to 1.1.0 (MR 1820) 2021-01-27 16:12:28 +01:00
Oliver Smith
e4ef9fba72
main/postmarketos-base: retire devmappings service (MR 1820)
Remove devmappings service. The original purpose of this service was to
ensure that /boot is mounted properly after the initramfs passed control
to OpenRC, because the initramfs used to umount /boot before that. With
/etc/fstab alone, /boot get not get mounted with subpartitions (which we
use on Android devices), if util-linux >= 2.33 was installed (MR 115).

Nowadays, we don't umount /boot in the initramfs before passing control
to OpenRC anymore (MR 1398). So this service isn't needed anymore, and
prevented the previous pmOS_inst_boot <> pmOS_boot patch from working
correctly.
2021-01-27 16:12:27 +01:00
Oliver Smith
e8c76175f6
main/postmarketos-mkinitfs: add pmOS_inst_boot (MR 1820)
Find partitions with the label "pmOS_inst_boot" too, and prefer using
them as boot partition over ones with label "pmOS_boot". (I'd use
"pmOS_install_boot", but there is a character limit in the label.)

Without this, the initramfs may choose the wrong boot partition if
postmarketOS is available once as install OS (on device installer) on
the SD card and once on the eMMC (installed).

I just had this problem with QEMU when simulating the install from SD to
eMMC use case with pmbootstrap qemu --second-storage. The pmOS initramfs
scripts would detect the previously created eMMC boot partition as the
proper one and mount it. It would boot into the right root partition,
because that already has a different label (pmOS_install instead of
pmOS_root), but because the wrong boot partition is already mounted,
during the install it would not be possible to run mkfs on it.
2021-01-27 16:12:27 +01:00
Oliver Smith
c3b1ffe1df
qemu-amd64: add deviceinfo_dev_internal_storage (MR 1820)
Use to simulate installation from SD to eMMC with:
$ pmbootstrap qemu --second-storage
2021-01-27 16:12:26 +01:00
Oliver Smith
c48037d5ed
pine64-pinephone: add deviceinfo_dev_internal_storage (MR 1820) 2021-01-27 16:11:44 +01:00
Clayton Craft
22a5e4dda5
device-purism-librem5: upgrade to 1.11 (MR 1896)
- Upgrade librem5-base to v33
- Include the haptic vibration driver in initfs for supporting osk-sdl's
  haptic feedback feature
- remove gps udev rule in pmaports in favor of using rule from
  librem5-base
- install modem audio udev rule from librem5-base
- add openrc service for putting device into 'ship mode' on shutdown
  (prevents battery from slowly draining)
- include Evergreen/r4 dtb in /boot
- Fix audio with port of ucm config to ucm2 (patch submitted upstream
  here: https://source.puri.sm/Librem5/librem5-base/-/merge_requests/214)
2021-01-27 15:36:21 +01:00
Bobby The Builder
e4a4e80667
temp/u-boot-pinephone: upgrade to 2021.01_git20201228 (MR 1846)
Also add DRAM clock protection (552)
2021-01-27 15:34:29 +01:00
Bobby The Builder
515081af20
main/crust: upgrade to 0.3 (MR 1846) 2021-01-27 15:34:02 +01:00
Martijn Braam
67706609f9
device/motorola-osprey: switch to mainline (MR 1872) 2021-01-27 13:45:24 +01:00
Stefan
c395f9c94b
samsung-zerofltexx: new device Samsung Galaxy S6 (G920F) (MR 1865)
Port based on an unofficial LineageOS port
from https://www.los-legacy.de/17.1/zerofltexx, using kernel from https://github.com/Exynos7420/android_kernel_samsung_exynos7420/

What works:
- Kernel boots
- Display and touch input (tested with Weston)
- USB networking

Note: I removed camera support in kernel config for now, as there were related kernel crashes.
Wifi doesn't work either yet because the firmware dependencies/paths need to be fixed first.
2021-01-27 10:51:02 +01:00
Caleb Connolly
144b88ef16
device/testing/device-oneplus-fajita: override phosh scaling (MR 1861) 2021-01-27 10:45:59 +01:00
Caleb Connolly
2d0c5adc2d
device/testing/device-oneplus-enchilada: override phosh scaling (MR 1861)
When installing phosh UI, add /etc/phosh/rootston.ini to increase
scaling.
2021-01-27 10:45:59 +01:00
jenneron
4b7706d562
lenovo-a6010: new device (MR 1748) 2021-01-27 10:37:37 +01:00
jenneron
407911ab1a
lenovo-a6000: new device (MR 1898) 2021-01-27 10:25:07 +01:00
Bart Ribbers
be2f27a342
pine64-pinephone: re-add checksums
Not sure how I missed that one, and here I was wondering why CI was
broken
2021-01-27 10:19:29 +01:00
Minecrell
eb776065a5
main/linux-postmarketos-qcom-msm8916: upgrade to 5.11_rc5 (MR 1871)
- Update to Linux 5.11-rc5
- Upstreamed more patches
- Fix more audio regressions without modem introduced
  by some refactoring from Qualcomm upstream

Devices:
  - asus-z00l: Add modem
  - wingtech-wt88047 (Xioami Redmi 2):
    - Add additional sharp-r69431 panel driver
  - wingtech-wt86528 (Lenovo A6010):
    - Add battery status
    - Add additional tianma-hx8394d panel driver
  - wingtech-wt86518: Initial support for Lenovo A6000
    - USB
    - Storage (eMMC, SD card)
    - Display
    - Touchscreen, Buttons, Vibrator
    - WiFi, Bluetooth
    - Accelerometer
    - Battery status, charging
    - Audio
    - Modem
2021-01-27 10:09:01 +01:00
Minecrell
deec2ee3b8
main/linux-postmarketos-qcom-msm8916: upgrade to 5.11_rc4 (MR 1871)
- Update to Linux 5.11-rc4
- Upstreamed more patches
- Fix audio regression without modem introduced by some refactoring
  from Qualcomm upstream

Devices:
  - samsung-a2015 (a3/a5): Fix speaker on some devices
  - motorola-osprey: Add modem
2021-01-27 10:09:01 +01:00
Nikita Travkin
b9af242f4f
wileyfox-crackling: updates for 5.11 kernel (MR 1871)
Change modules included in initfs, remove "no charging" note for
mainline kernel.
2021-01-27 10:09:01 +01:00
jonathan
332b6b5d6e
bq-paella: add truly display panel to initfs, update dtb paths (MR 1871) 2021-01-27 10:09:00 +01:00
Minecrell
ac1a2e71f2
xiaomi-wt88047: add new panel modules for 5.11-rc3 (MR 1871) 2021-01-27 10:09:00 +01:00
Minecrell
7bef094fae
{bq-paella,wileyfox-crackling,xiaomi-wt88047}: remove modprobe.conf (MR 1871)
The modprobe.conf is not necessary on those devices because they already
load the panel module using deviceinfo_modules_initfs. Let's skip the
modprobe.conf in that case so we don't need to add all panels in two places.
2021-01-27 10:09:00 +01:00
Minecrell
2305bc9762
main/linux-postmarketos-qcom-msm8916: upgrade to 5.11_rc3 (MR 1871)
- Update to Linux 5.11-rc3
- Upstreamed more patches

Devices:
  - bq-paella:
     - Rename to longcheer-l8910 for consistency with longcheer-l8150
     - Add second panel driver for truly-otm1288a
  - wileyfox-crackling: Add better battery status and charging
  - xiaomi-wt88047: Add second panel driver for ebbg-otm1285a
  - oppo-a51f:
    - Display/Brightness
    - Touchscreen
    - Accelerometer
    - Audio
  - lg-m216: Initial support for LG K10 (K420n)
    - USB
    - Storage (eMMC, SD card)
    - Display
    - Touchscreen, Buttons
    - WiFi, Bluetooth
    - Accelerometer, Magnetometer
    - Audio
    - Modem
  - motorola-osprey: Initial support for Motorola Moto G 2015
    - USB
    - Storage (eMMC, SD card)
    - Display
    - Touchscreen, Buttons, Vibrator
    - WiFi, Bluetooth
    - Audio (no headphone detection)
    - Battery status
  - lenovo-a6010: Initial support for Lenovo A6010
    - USB
    - Storage (eMMC, SD card)
    - Display
    - Touchscreen, Buttons, Vibrator
    - WiFi, Bluetooth
    - Accelerometer, Gyroscope, Magnetometer
    - Audio
    - Modem
  - asus-z00l: Initial support for Asus Zenfone 2 Laser (720p)
    - USB
    - Storage (eMMC)
    - Display
    - Touchscreen, Buttons
    - WiFi, Bluetooth
    - Audio
  - asus-z010d: Initial support for Asus Zenfone Max (ZC550KL)
    - USB
    - Storage (eMMC, SD card)
    - Display
    - Touchscreen, Buttons, Vibrator
    - Notification LED
    - WiFi, Bluetooth
    - Accelerometer, Magnetometer
    - Audio
    - Modem
2021-01-27 10:09:00 +01:00
Bart Ribbers
71c3d3cc90
pine64-pinephone: change permissions of flashlight so PlaMo can toggle it (MR 1894)
A hack shamelessly stolen from Manjaro. Plasma Mobile runs in the user
session and needs direct access to the sys entries of the flashlight to
be able to toggle it in the GUI

[skip ci] Broken, thinks there is an unreferenced file while there is
not
2021-01-27 10:03:33 +01:00
Luca Weiss
8bcf432326
main/ofono-phonesim: new aport (MR 1900) 2021-01-27 09:30:27 +01:00
Oliver Smith
4b8f37e46e
pine64-pinephone: move shelli alsa cfg to subpkg (MR 1902)
Move the shelli-specific alsa config from MR 1741 into a subpackage that
only gets installed together with shelli.

With the config installed, programs using alsa instead of pulseaudio,
can't be controlled through the volume setting in Phosh anymore (and
probably other UIs too). Shelli doesn't use pulseaudio.

Change the path of the config file like in MR 1877, so it's easier to
override it if necessary.

While at it, improve the APKBUILD slightly by fixing the install_if of
the phosh subpkg (should depend on =$pkgver-r$pkgrel, see APKBUILD
reference), and fix long lines.
2021-01-27 09:29:03 +01:00
Clayton Craft
afe338cee4
linux-purism-librem5: upgrade to 5.9.16+librem5.2 (MR 1904)
Upstream changelog:
ef903bb16a
2021-01-27 09:26:18 +01:00
Oliver Smith
1d67df18b2
temp/gtk+3.0: upgrade to 9999_git20210108 (MR 1903)
Fix about dialogs not being adaptive and all other changes by Purism,
which are the reason why we use the fork in the first place. The patches
didn't get applied in the previous version we had packaged in
postmarketOS, because the patches are in debian/patches now.

Remove check-version.py, it's in the source tree now.
2021-01-27 09:24:55 +01:00
Bart Ribbers
79532aac89
kde/spacebar: upgrade to 0_git20210122 (MR 1891) 2021-01-27 09:14:19 +03:00
Oliver Smith
5b98e52851
temp/dbus-elogind: remove (unused)
Related: https://gitlab.com/postmarketOS/pmaports/-/merge_requests/668#note_453360249
Related: https://gitlab.com/postmarketOS/pmaports/-/merge_requests/668#note_494515849
2021-01-26 23:59:45 +01:00
Oliver Smith
529c00a012
cross/busybox-static-*: upgrade to 1.33.0-r1 2021-01-26 22:15:35 +01:00
Oliver Smith
572bd339c8
kde/kairo: disable timercontroltest (MR 1901)
This keeps on failing for armv7 and aarch64.
[ci:skip-vercheck]: no need to rebuild the others.

Related: https://builds.sr.ht/~postmarketos/job/407839
Related: https://builds.sr.ht/~postmarketos/job/407822
2021-01-26 21:58:46 +01:00
Bart Ribbers
ca30770d60
kde/peruse: upgrade to 0_git20210124 (MR 1893) 2021-01-26 18:48:58 +01:00
Bart Ribbers
0d9d0e2ee6
kde/kpeoplesink: upgrade 0_git20201129 (MR 1892) 2021-01-26 18:39:31 +01:00
Bart Ribbers
c4e1ebb38f
kde/qmlkonsole: upgrade to 0_git20210122 (MR 1889) 2021-01-26 18:34:09 +01:00
Bart Ribbers
2c4f0621b4
kde/trainer: replace with kde/kairo (MR 1897)
Trainer is unmaintained upstream and replaced by Kairo
2021-01-26 17:19:59 +01:00
Newbyte
83a4ab75e8
main/pure-maps: upgrade to 2.4.1 (MR 1899) 2021-01-26 16:15:08 +01:00
Bart Ribbers
e1fd838cc9
kde/koko: upgrade to 0_git20210114 (MR 1888) 2021-01-26 05:56:21 +03:00
Simon Brand
a1129ee0a1
samsung-kccat6: new device (MR 1842) 2021-01-25 11:32:48 +01:00
Bart Ribbers
accd854378
kde/plasma-dialer: drop, upstreamed to Alpine 2021-01-24 22:14:11 +01:00
Henrik Grimler
1c99082f9d
device-samsung-chagallwifi: use msm-fb-refresher (MR 1884)
With this package the display works, and touch mostly works.

[ci:skip-build]: already built successfully in CI
2021-01-24 15:04:12 +01:00
Henrik Grimler
3cb681bc87
firmware-samsung-chagall: add wifi fw pkg for exynos5420 tablets (MR 1884)
Should work for at least chagallwifi and chagalllte, probably some
other models as well.
2021-01-24 15:00:25 +01:00
Henrik Grimler
0bb64c2e96
linux-samsung-chagallwifi: fix kernel boot problem (MR 1884)
Simply disabling FIMC IS does not work however due to compilation
errors and a null pointer dereference.  01-fix-FIMC-IS-disabling.patch
takes care of this.

As with other exynos devices some additional things had to be disabled
to make the kernel compile after FIMC IS had been disabled,
specifically:

CONFIG_CAMERA_EEPROM
CONFIG_VIDEO_EXYNOS_MIPI_CSIS
CONFIG_LEDS_MAX77803

Apart from that we also have:

02-netfilter-symbols.patch, which fixes another compilation error.

03-usb_gadget-set-random-rndis-host-MAC-address-to-prev.patch (taken
from another device) which prevents host mac address being set to
00:00:00:00:00.

Kernel sources have been changed to the lineage-16.0 branch in the
exynos5420 repo, as that is where development happens at the moment.
2021-01-24 15:00:20 +01:00
Bart Ribbers
8d2731467e
kde/ktrip: drop, upstreamed to Alpine 2021-01-24 14:45:39 +01:00
Bart Ribbers
88e9ab4c75
kde/kpublictransport: drop, upstreamed to Alpine 2021-01-24 14:34:13 +01:00
Bart Ribbers
8d5d3c9ef2
kde/itinerary: drop, upstreamed to Alpine 2021-01-24 14:33:26 +01:00
Stanislav Jakubek
e3e31a5617
samsung-kyleprods: new device (Samsung Galaxy S Duos 2) (MR 1885) 2021-01-24 11:29:37 +01:00
Oliver Smith
919265006b
cross/busybux-static-*: upgrade to 1.33.0-r0 2021-01-24 11:11:32 +01:00
Oliver Smith
b0ab6a04b0
cross/busybox-static-*: upgrade to 1.32.1-r1 2021-01-21 19:02:09 +01:00
Oliver Smith
5edfdf1ddb
cross/musl-*: upgrade to 1.2.2-r1 2021-01-21 19:02:02 +01:00
Miles Alan
81a3cf755e
CODEOWNERS: Add @milesalan as codeowner for device/*/*-pine64-pinephone/ (MR 1878) 2021-01-19 00:04:50 -05:00