Commit graph

4910 commits

Author SHA1 Message Date
Minecrell
9a62629825
bq-paella-downstream: use msm-firmware-loader (MR 2431) 2021-09-27 15:23:51 +03:00
Minecrell
e7364b1f21
bq-paella: use msm-firmware-loader (MR 2431) 2021-09-27 15:23:50 +03:00
Minecrell
74239f039e
motorola-harpia: use msm-firmware-loader (MR 2431) 2021-09-27 15:23:50 +03:00
Nikita Travkin
e24dc38ce5
xiaomi-wt88047: use msm-firmware-loader (MR 2431)
Switch to automatic firmware loading to handle regional variants of the
device automatically.
2021-09-27 15:23:50 +03:00
Nikita Travkin
a1688878a2
samsung-a5*: squash to a5, use msm-firmware-loader (MR 2431)
Right now we have multiple variants of A5 that are only different in
secure-boot keys and as such different firmware blobs.
Use msm-firmware-loader to support all A5 variants with a single device
port. Because of that, drop lte suffix as there are 3g variants as well.
2021-09-27 15:23:50 +03:00
Nikita Travkin
7c7f5c7300
samsung-a3*: squash to a3, use msm-firmware-loader (MR 2431)
Right now we have multiple variants of A3 that are only different in
secure-boot keys and as such different firmware blobs.
Use msm-firmware-loader to support all A3 variants with a single device
port. Because of that, drop lte suffix as there are 3g variants as well.
2021-09-27 15:23:50 +03:00
Nikita Travkin
b23163daf0
samsung-gt58lte: convert to common gt58 package (MR 2431)
With msm-firmware-loader it's possible to use common package for both
variants and prompt the user if they need the modem or not.
2021-09-27 15:23:50 +03:00
Nikita Travkin
dbf5ae3c21
samsung-gt510wifi: convert to common gt510 package (MR 2431)
With the new msm8916-mainline kernel DT for gt510wifi is reworked to be
reused with gt58 devices. While at it, the DT was generalized to be used
with the LTE variants of the device as well as the wifi variant.

Change base dtb name to the new common dt and add an LTE-specific dt
that enavles the modem. Since variants have different secure-boot keys,
use msm-firmware-loader for that.

Also make various updates to support gpu-accelerated UI's and FDE.
2021-09-27 15:23:50 +03:00
Nikita Travkin
bc50dd0279
main/msm-firmware-loader: add a package to load firmware on msm devices (MR 2431)
Many devices need proprietary firmware blobs. So far those blobs were
packaged and installed from the repository but this approach has many
drawbacks:

- The rootfs can only be used on a single device model.
 - If a model has multiple variants that have diferent secire-boot key,
   each must have it's own firmware blobs.

This makes maintaining packaged firmware very hard and outweights the
benefits of having a repeatable installation in most cases.

Instead we can load blobs dynamically from preexisting firmware
partitions that usually have same structure and contain the blobs we are
interested in.

The proposed scripts place symlinks to the blobs in a special dir that
then given to the kernel. Blobs from firmware/postmarketos (or another
dir that was set as extra path prior the script execution) will take
priority which allows to override some blobs (e.g. for deviecs with no
secure-boot)
2021-09-27 15:23:47 +03:00
Newbyte
f58e9d912e
samsung-i9300: add myself as maintainer (MR 2539) 2021-09-25 12:11:58 +02:00
Henrik Grimler
562ff96249
samsung-i9300: remove trailing \ from udev rule (MR 2546)
Currently we see this error in our dmesg:

  udevd[764]: invalid key/value pair in file /etc/udev/rules.d/90-android-touch-dev.rules on line 6, starting at character 102 ('\\')

[ci:skip-build] Already built successfully on CI
2021-09-25 11:52:43 +02:00
Henrik Grimler
1f512452e2
samsung-i9300: remove warning about hardware issues (MR 2546)
The best (only) theory so far is that issues occur if the battery is
deeply discharged.  The latest kernel upgrade fixed both charging and
reported state-of-charge, so hopefully no one will have similar issues
from now on.
2021-09-25 11:51:27 +02:00
Henrik Grimler
b4f0904794
samsung-i9300: set gpu_accelerated=true (MR 2546)
kmscube and phosh seem to run without any issues whatsoever, and there
are no lima-related warnings or error in dmesg.
2021-09-25 11:51:27 +02:00
Henrik Grimler
ed1e314287
linux-postmarketos-exynos4: upgrade to 5.15-rc2 (MR 2546)
Also add patches from the Replicant project to fix so that charging
works, and patches from the linux-pm list to fix the SOC INTR message
that has been spamming our dmesg (issue
https://gitlab.com/postmarketOS/pmaports/-/issues/1214).
2021-09-25 11:51:27 +02:00
Jakob Hauser
75a395fb9c
main/postmarketos-ui-mate: take maintainership (MR 2537) 2021-09-24 11:58:56 +02:00
Raffaele Tranquillini
ad1681c190
main/postmarketos-qcom-msm8996: add support for Anbox and Waydroid (MR 2529)
Add kernel flags needed for Anbox and Waydroid to work

[ci:skip-build] Already built successfully on CI

Signed-off-by: Raffaele Tranquillini <raffaele.tranquillini@gmail.com>
2021-09-24 11:25:55 +02:00
Clayton Craft
d053a3ce0b
device-lg-hammerhead: drop post-install script (MR 2548)
This tries to start a service (ofono) that is no longer installed.

fixes 9cb6900fb

[ci:skip-build] already built successfully in CI
2021-09-23 10:00:45 -07:00
Newbyte
9ace7b930b
xiaomi-santoni: set deviceinfo_format_version to 0 (MR 2543)
Version 1 doesn't exist and causes issues with the new mkinitfs it
seems.

[ci:skip-build] already built successfully in CI
2021-09-22 13:02:19 -07:00
Henrik Grimler
52217aa8d1
cross/gcc-*: upgrade to 10.3.1_git20210921-r1 (MR 2545)
[ci:skip-build]: looks good, needs to be merged now to unbreak gcc
2021-09-21 22:54:38 +02:00
Clayton Craft
45e07704df
main/postmarketos-mkinitfs: upgrade to 1.1.1 (MR 2540) 2021-09-21 10:40:54 +02:00
Max Buchholz
d5922251b7
tablet-uefix64: fix missing ui options (MR 2541) 2021-09-21 01:29:45 +02:00
Oliver Smith
449972cbb6
cross/busbox-static-aarch64: upgrade to 1.34.0-r5
Forgot this one in previous commit.
2021-09-19 19:20:33 +02:00
Johannes Marbach
95d375879c
treewide: firmware: use pmb:cross-native/!tracdeps (MR 2468)
Add pmb:cross-native/!tracedeps to applicable firmware packages and
secure both with a test.

This sets the pmb:cross-native and !tracedeps options on all firmware-*
packages that are compatible with the native compilation method. A unit
test ensures the presence of both options while maintaining a list of
exempted packages.

Fixes: #718
[ci:ignore-count] [ci:skip-vercheck] [ci:skip-build]
2021-09-19 18:57:36 +02:00
Dave Young
b7cc62d0c4
n900 kernel cmdline: s/tty02/ttyO2 (MR 2531)
Signed-off-by: Dave Young <dyoung@redhat.com>
2021-09-19 17:30:25 +02:00
Newbyte
642628a116
main/linux-postmarketos-exynos4: upgrade to 5.14.5 (MR 2532)
Also add patches that should fix backlight control, add reboot modes,
and work around a nasty eMMC corruption issue.

[ci:skip-build]: already built successfully in CI
2021-09-19 17:14:25 +02:00
Minecrell
c21799cd2a
modem/msm-modem: drop msm-modem-rpmsg (MR 2535)
This is no longer used by anyone and also should not be used anymore.
The new WWAN RPMSG CTRL for the WWAN subsystem is now the preferred
way to talk to the modem on MSM8916/MSM8939/MSM8974 and other similar SoCs.

[ci:skip-build]: already built successfully in CI
2021-09-19 17:03:37 +02:00
Minecrell
26b44a94f7
device/soc-qcom-msm8916: replace msm-modem-rpmsg with msm-modem (MR 2535)
Starting with Linux 5.14, the modem can be controlled through the new
WWAN subsystem in Linux with the WWAN RPMSG CTRL driver. This is also
supported in ModemManager 1.18 and the pmOS fork of oFono.

Drop the udev rules for the previous approach through the RPMSG chardev
since this causes the modem to be detected twice by ModemManager and oFono.
2021-09-19 17:03:31 +02:00
Minecrell
d535b170e2
main/linux-postmarketos-qcom-msm8916: upgrade to 5.14 (MR 2535)
- Update to Linux 5.14
- Enable new RPMSG WWAN CTRL driver that is now used to communicate
  with the modem through the new WWAN subsystem in Linux
- Minor fixes for ARM32
- Enable some additional options in kernel config (F2FS, UHID, LED triggers)
- Add TravMurav as second maintainer
2021-09-19 17:03:31 +02:00
Oliver Smith
a64148a8e3
cross/busybox-static-*: upgrade to 1.34.0-r5 2021-09-19 17:02:36 +02:00
bo41
79061c94ce
device/*: remove empty variables (MR 2534)
[ci:ignore-count] [ci:skip-vercheck]
[ci:skip-build]: built all the device packages successfully in CI
                 already
2021-09-19 16:56:34 +02:00
bo41
346c8d2e89
CI: check empty deviceinfo variables (MR 2534) 2021-09-19 10:08:13 +02:00
jenneron
2c1ee5ac8f
trekstor-surftabduow1: fix initfs modules which are not parsed correctly (MR 2530)
[ci:skip-build] already built successfully in CI
2021-09-18 19:55:39 +02:00
jenneron
b51ec52085
surftab-wintron7.0: fix initfs modules which are not parsed correctly (MR 2530) 2021-09-18 19:54:55 +02:00
Newbyte
040458ea81
main/linux-postmarketos-stericsson: support containers kconfig (MR 2522)
[ci:skip-build] already built successfully in CI
2021-09-18 19:47:49 +02:00
Newbyte
c14f630f55
main/linux-postmarketos-stericsson: support anbox kconfig (MR 2522) 2021-09-17 16:34:04 +02:00
Newbyte
e26c4e19fb
main/linux-postmarketos-stericsson: add myself as maintainer (MR 2522) 2021-09-17 16:34:04 +02:00
Newbyte
a7d1a3ed35
main/linux-postmarketos-stericsson: upgrade to 5.15-rc1 (MR 2522) 2021-09-17 16:34:04 +02:00
Alexey Minnekhanov
e438c1acba
device-sony-sirius: cleanups for device package (MR 2508)
- mesa-dri-freedreno => mesa-dri-gallium
- sort deps list
2021-09-16 21:49:07 -07:00
Alexey Minnekhanov
1af3373c38
device-sony-castor: cleanups for device package (MR 2508)
- mesa-dri-freedreno => mesa-dri-gallium
- sort deps list
2021-09-16 21:49:07 -07:00
Alexey Minnekhanov
a4204d0e00
device-samsung-klte: cleanups for device package (MR 2508)
- msm-modem-rpmsg => msm-modem
2021-09-16 21:49:06 -07:00
Alexey Minnekhanov
9cf2f14158
device-oneplus-bacon: cleanups for device package (MR 2508)
- mesa-dri-freedreno => mesa-dri-gallium
2021-09-16 21:49:06 -07:00
Alexey Minnekhanov
9cb6900fb4
device-lg-hammerhead: cleanups for device package (MR 2508)
- mesa-dri-freedreno => mesa-dri-gallium
- msm-modem-rpmsg => msm-modem
- add swclock-offset
- sort deps list
- remove ofono from deps, should be pulled in by UI
  package that needs it, not by device- package
2021-09-16 21:49:06 -07:00
Alexey Minnekhanov
6968d28989
device-fairphone-fp2: cleanups for device package (MR 2508)
- msm-modem-rpmgs => msm-modem
2021-09-16 21:49:06 -07:00
Alexey Minnekhanov
ffbb8f6c8d
main/linux-postmarketos-qcom-msm8974: upgrade to 5.14.2 (MR 2508)
* enable CLK_VIBRATOR for lg-hammerhead
2021-09-16 21:49:06 -07:00
jenneron
fc0b5f1efe
surftab-wintron7.0: fix kernel and initramfs names (MR 2521)
[ci:skip-build] already built successfully in CI
2021-09-16 21:44:05 -07:00
jenneron
da14c01ca7
trekstor-surftabduow1: don't use 'flavor' in initramfs name (MR 2521) 2021-09-16 21:44:04 -07:00
jenneron
5f7ddab954
tablet-x86uefi: don't use 'flavor' in initramfs name (MR 2521) 2021-09-16 21:44:04 -07:00
jenneron
c64441a5cc
tablet-x64uefi: don't use 'flavor' in initramfs name (MR 2521) 2021-09-16 21:44:04 -07:00
Mighty
8a267a698c
samsung-espresso3g: upgrade to 5.15_rc1 (MR 2526)
[ci:skip-build] already built successfully in CI
2021-09-16 21:40:52 -07:00
Svyatoslav Ryhel
0e86a98ec4
device-pegatron-chagall: calibrate touchscreen in osk-sdl (MR 2527)
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>

[ci:skip-build] already built successfully in CI
2021-09-16 21:38:36 -07:00