Commit graph

5033 commits

Author SHA1 Message Date
Timon Baetz
b2dd78880b
huawei-sturgeon: new device (Huawei Watch) (MR 2538)
https://wiki.postmarketos.org/wiki/Huawei_Watch_(huawei-sturgeon)

[ci:skip-build] Aready built on CI in MR
2021-09-29 14:36:51 +03:00
SL-TX
4bf9572291
lg-p880: new device (LG Optimus 4X HD) (MR 2533)
https://wiki.postmarketos.org/wiki/LG_Optimus_4X_HD_(lg-p880)

[ci:skip-build] Already built on CI in MR
2021-09-29 13:57:21 +03:00
Joel Selvaraj
6aea56cd98
firmware-xiaomi-beryllium: upgrade to V12.0.3.0.QEJMIXM (MR 2558) 2021-09-28 14:21:43 +02:00
gaurav suman
2e48dcafb0
device-sony-sirius: disable QCDT bootming in deviceinfo (MR 2542)
Update deviceinfo to set deviceinfo_bootimg_qcdt to false. This is causing the pmbootstrap install to fail with

==> initramfs: creating boot.img
ERROR: File not found: /boot/dt.img, but
'deviceinfo_bootimg_qcdt' is set. Please verify that your
device is a QCDT device by analyzing the boot.img file
(e.g. 'pmbootstrap bootimg_analyze path/to/twrp.img')
and based on that, set the deviceinfo variable to false or
adjust your linux APKBUILD to properly generate the dt.img

I downloaded the TWRP image for sirius from https://forum.xda-developers.com/t/recovery-unofficial-twrp-3-2-3-0-for-sirius-01-09-2018.3836837/
Then ran "pmbootstrap bootimg_analyze recovery.img". The output had ' deviceinfo_bootimg_qcdt="false" '. This is my justification for the fork
2021-09-28 13:48:05 +02:00
Bart Ribbers
196bd6138f
main/postmarketos-ui-plasma-bigscreen: add plank-player to pre-installed apps (MR 2551)
Plank Player is the default video player used by Plasma Bigscreen

[ci:skip-vercheck] No need to bump pkgrel as we're not touching the
package metadata
2021-09-28 14:08:08 +03:00
Minecrell
f9fae7bf4e
CI: wiki: check if device name is on Renamed Devices page (MR 2559)
Since the wiki applies to all branches, renaming devices is really
difficult without breaking the wiki check. To simplify this, download
the Renamed Devices page additionally, and just print a WARNING if
a device is missing in the wiki, but is listed there.
2021-09-28 11:55:37 +02:00
Alexey Minnekhanov
23b6654f88
cross/binutils-*: hotfix for file conflict with non-cross binutils
Newly generated binutils package has file conflicsts with
non-cross binutils.

  ERROR: binutils-2.37-r3: trying to overwrite usr/lib/bfd-plugins/libdep.so
         owned by binutils-aarch64-2.37-r3.

Attmpt to fix this quickly to unblock bpo and users
2021-09-27 21:05:53 +03:00
Alexey Minnekhanov
e722328906
cross/binutils: upgrade to 2.37.3-r3 2021-09-27 17:41:54 +03:00
Alexey Minnekhanov
b7b51e45f5
cross/musl-*: upgrade to 1.2.2-r7 2021-09-27 17:22:05 +03:00
Minecrell
6504eaca6d
samsung-klte: replace modem-firmware-mount with msm-firmware-loader (MR 2431)
msm-firmware-loader is pretty similar to klte's modem-firmware-mount
except that it sets up the symlinks dynamically. The nice thing about
it is that it seems to just work. :)

[ci:ignore-count]
2021-09-27 15:54:05 +03:00
Nikita Travkin
74b45d4afc
samsung-serranovelte: drop lte suffix, use msm-firmware-loader (MR 2431) 2021-09-27 15:54:04 +03:00
Nikita Travkin
d819fb93a5
samsung-j5*: squash to j5, use msm-firmware-loader (MR 2431) 2021-09-27 15:54:04 +03:00
Nikita Travkin
23bfa57c38
samsung-gprimeltecan: drop ltecan suffix (MR 2431) 2021-09-27 15:54:04 +03:00
Nikita Travkin
fee85c8ee0
samsung-matissevewifi: drop wifi suffix, use msm-firmware-loader (MR 2431) 2021-09-27 15:54:04 +03:00
Minecrell
e75d04503a
asus-z010d: use msm-firmware-loader (MR 2431) 2021-09-27 15:54:04 +03:00
Minecrell
d228d5f87a
asus-z00l: use msm-firmware-loader (MR 2431) 2021-09-27 15:54:04 +03:00
Minecrell
27bfbb78d1
oppo-a51f: do not use msm-firmware-loader (MR 2431)
But drop custom venus firmware since that should not be needed.
2021-09-27 15:53:55 +03:00
Minecrell
271f30eca8
motorola-osprey: use msm-firmware-loader (MR 2431) 2021-09-27 15:23:51 +03:00
Minecrell
933a9419c7
lg-m216: use msm-firmware-loader (MR 2431) 2021-09-27 15:23:51 +03:00
Minecrell
40a99aae30
lenovo-a6010: use msm-firmware-loader (MR 2431) 2021-09-27 15:23:51 +03:00
Minecrell
83686f48b2
lenovo-a6000: use msm-firmware-loader (MR 2431) 2021-09-27 15:23:51 +03:00
Minecrell
f81d94d258
alcatel-idol347: use msm-firmware-loader (MR 2431) 2021-09-27 15:23:51 +03:00
Minecrell
4662042bfa
wileyfox-crackling: use msm-firmware-loader (MR 2431) 2021-09-27 15:23:51 +03:00
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