pmaports/device/community
Minecrell a9412824ea
community/soc-qcom-msm8916: introduce more flexible rproc selection (MR 2632)
Add a replacement for the current "mainline" and "mainline-modem"
kernel variants used for the MSM8916 devices. At the moment this is
implemented using separate DTBs that are all maintained in the kernel.

Unfortunately, this does not seem likely to be accepted upstream in
the mainline kernel. They will expect to have only a single DTB that
enables all available functionality. The "no-modem" variant is a minor
but still very useful use case because it changes the audio routing:
It allows audio to work without any firmware, with more control on
sample rates, latency etc for advanced audio use cases. However,
having a potentially enabled modem requires routing all audio through
the modem. There are two separate DTBs needed for these two setups.

To avoid burdening mainline with this use case, the idea is to apply
the necessary DTB transformations as part of the lk2nd boot process.
Mainline only contains the DTB with the full functionality (audio
routed through modem). The soc-qcom-msm8916-rproc packages place
a magic file at /boot/lk2nd_rproc_mode that is read by lk2nd. When
the file contains "no-modem" lk2nd will transform the DTB to disable
the modem and change the audio routing to bypass the modem.

That way, this feature does not need to be considered in mainline
at all but can still be offered as "nice to have" by lk2nd. It also
simplifies the device packages because the selection is now common
as part of the soc-qcom-msm8916 package.

Together with a related pmbootstrap change there is a nice prompt
for selecting one of these "rproc" providers:

     $ pmbootstrap init
     [...]
     Available providers for soc-qcom-msm8916-rproc (3):
      * all: Enable all remote processors (audio goes through modem) (**default**)
      * no-modem: Disable only modem (audio bypasses modem, ~80 MiB more RAM)
      * none: Disable all remote processors (no WiFi/BT/modem, ~90 MiB more RAM)
     Provider [default]: ...
2021-11-21 19:10:58 +01:00
..
device-arrow-db410c arrow-db410c: use separate firmware packages (MR 2619) 2021-10-23 14:41:29 -07:00
device-asus-me176c device/*: remove empty variables (MR 2534) 2021-09-19 16:56:34 +02:00
device-bq-paella <msm8916-secure boot+modem>: use separate firmware packages (MR 2619) 2021-10-23 14:41:29 -07:00
device-lenovo-a6000 <msm8916-secure boot+modem>: use separate firmware packages (MR 2619) 2021-10-23 14:41:29 -07:00
device-lenovo-a6010 <msm8916-secure boot+modem>: use separate firmware packages (MR 2619) 2021-10-23 14:41:29 -07:00
device-motorola-harpia <msm8916+secure boot+venus>: use separate firmware packages (MR 2619) 2021-10-23 14:41:29 -07:00
device-nokia-n900 main/postmarketos-ui-xfce4: further improvements (MR 2506) 2021-09-29 18:29:54 +03:00
device-odroid-hc2 device-odroid-hc2: drop NetworkManager (MR 2455) 2021-09-10 19:32:46 -07:00
device-oneplus-enchilada device-oneplus-enchilada: 5.14 and phosh changes (MR 2416) 2021-08-26 02:14:47 +01:00
device-oneplus-fajita device-oneplus-fajita: 5.14 and phosh changes (MR 2416) 2021-08-26 02:14:47 +01:00
device-pine64-pinebookpro device/*: remove empty variables (MR 2534) 2021-09-19 16:56:34 +02:00
device-pine64-pinetab device/*: remove empty variables (MR 2534) 2021-09-19 16:56:34 +02:00
device-pine64-rockpro64 device/*: remove empty variables (MR 2534) 2021-09-19 16:56:34 +02:00
device-samsung-a3 <msm8916+secure boot-venus>: use separate firmware packages (MR 2619) 2021-10-23 14:41:30 -07:00
device-samsung-a5 <msm8916+secure boot-venus>: use separate firmware packages (MR 2619) 2021-10-23 14:41:30 -07:00
device-samsung-gt58 <msm8916+secure boot-venus>: use separate firmware packages (MR 2619) 2021-10-23 14:41:30 -07:00
device-samsung-gt510 <msm8916+secure boot-venus>: use separate firmware packages (MR 2619) 2021-10-23 14:41:30 -07:00
device-samsung-serranove <msm8916+secure boot-venus>: use separate firmware packages (MR 2619) 2021-10-23 14:41:30 -07:00
device-wileyfox-crackling <msm8916+secure boot+venus>: use separate firmware packages (MR 2619) 2021-10-23 14:41:29 -07:00
device-xiaomi-beryllium device-xiaomi-beryllium: adjust phosh scaling (MR 2416) 2021-08-26 02:14:48 +01:00
device-xiaomi-scorpio device-xiaomi-scorpio: enable big cluster (MR 2365) 2021-07-20 23:04:37 +03:00
device-xiaomi-wt88047 <msm8916-secure boot+modem>: use separate firmware packages (MR 2619) 2021-10-23 14:41:29 -07:00
firmware-analogix community/firmware-analogix: add new firmware (MR 1421) 2020-08-19 15:57:25 +02:00
firmware-asus-me176c treewide: firmware: use pmb:cross-native/!tracdeps (MR 2468) 2021-09-19 18:57:36 +02:00
firmware-asus-me176c-acpi treewide: firmware: use pmb:cross-native/!tracdeps (MR 2468) 2021-09-19 18:57:36 +02:00
firmware-bq-picmt community/firmware-bq-picmt: squash firmware blobs (MR 2619) 2021-10-23 14:41:29 -07:00
firmware-lenovo-a6000 firmware-<msm8916>: drop unused firmware subpackages (MR 2613) 2021-10-21 13:53:45 +02:00
firmware-lenovo-a6010 firmware-<msm8916>: drop unused firmware subpackages (MR 2613) 2021-10-21 13:53:45 +02:00
firmware-motorola-harpia firmware-<msm8916>: squash firmware blobs (MR 2619) 2021-10-23 14:41:29 -07:00
firmware-oneplus-sdm845 treewide: firmware: use pmb:cross-native/!tracdeps (MR 2468) 2021-09-19 18:57:36 +02:00
firmware-pine64-pinebookpro treewide: firmware: use pmb:cross-native/!tracdeps (MR 2468) 2021-09-19 18:57:36 +02:00
firmware-qcom-adreno community/firmware-qcom-adreno: new aport (MR 2625) 2021-10-23 14:32:53 -07:00
firmware-qcom-db410c community/firmware-qcom-db410c: package all firmware, squash, new paths (MR 2619) 2021-10-23 14:41:28 -07:00
firmware-samsung-a3 samsung-a3*: squash to a3, use msm-firmware-loader (MR 2431) 2021-09-27 15:23:50 +03:00
firmware-samsung-a5 samsung-a5*: squash to a5, use msm-firmware-loader (MR 2431) 2021-09-27 15:23:50 +03:00
firmware-samsung-gt58 samsung-gt58: Move to community (MR 2604) 2021-10-21 13:40:59 +02:00
firmware-samsung-gt510 samsung-gt510: Move to community (MR 2604) 2021-10-21 13:41:33 +02:00
firmware-samsung-serranove samsung-serranovelte: drop lte suffix, use msm-firmware-loader (MR 2431) 2021-09-27 15:54:04 +03:00
firmware-siliconlabs-rs9116 treewide: firmware: use pmb:cross-native/!tracdeps (MR 2468) 2021-09-19 18:57:36 +02:00
firmware-wileyfox-crackling firmware-<msm8916>: squash firmware blobs (MR 2619) 2021-10-23 14:41:29 -07:00
firmware-xiaomi-beryllium firmware-xiaomi-beryllium: upgrade to V12.0.3.0.QEJMIXM (MR 2558) 2021-09-28 14:21:43 +02:00
firmware-xiaomi-scorpio treewide: firmware: use pmb:cross-native/!tracdeps (MR 2468) 2021-09-19 18:57:36 +02:00
firmware-xiaomi-wt88047 firmware-<msm8916>: drop unused firmware subpackages (MR 2613) 2021-10-21 13:53:45 +02:00
linux-asus-me176c community/linux-asus-me176c: upgrade to 5.4.159 (MR 2685) 2021-11-18 18:06:47 +01:00
linux-nokia-n900 linux-nokia-n900: switch to installkernel-pmos (MR 2586) 2021-10-14 12:28:21 +03:00
linux-odroid-hc2 odroid-hc2: move to community (MR 2455) 2021-09-10 19:32:45 -07:00
soc-qcom-msm8916 community/soc-qcom-msm8916: introduce more flexible rproc selection (MR 2632) 2021-11-21 19:10:58 +01:00
soc-qcom-msm8996 soc-qcom-msm8996: Rename haptics udev rule (MR 2339) 2021-07-12 10:46:22 -07:00
soc-qcom-sdm845 soc-qcom-sdm845: 5.14 feedbackd fix and modemmanager suspend/resume support (MR 2416) 2021-08-26 02:14:15 +01:00