Commit graph

1929 commits

Author SHA1 Message Date
Danct12
7ffeea5cb7
device-nokia-n900: fix u-boot script typo (MR 2708) 2021-11-26 20:08:50 +00:00
Alexander Martinz
deb2336838
shift-axolotl: new device (MR 2703)
Kernel defconfig is a copy of "axolotl_userdebug_defconfig".

Config changes (which differ from the copy above):
  - ran `pmbootstrap kconfig check shift-axolotl`
  - CONFIG_QCA_CLD_WLAN - m -> y

Change-Id: Ie250ba0d4f7cabf516e4c4fef84a3832321fb069
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>

[ci:skip-build]
2021-11-24 19:31:48 +00:00
Nikita Travkin
351c24206f
community/soc-qcom-msm8916: add udev rule for pm8916 haptics (MR 2699)
Feedbackd needs to know which device to use for haptics. Add an udev
rule to mark haptics device in the pm8916.
2021-11-23 15:39:31 +01:00
Mighty
b2d88000b8
samsung-espresso3g: add nonfree userland packages (MR 2651)
[ci:skip-build]: already built successfully in CI
2021-11-22 11:41:23 +01:00
Mighty
1c1dbf2363
linux-samsung-espresso3g: upgrade to 5.15.2 (MR 2651) 2021-11-22 11:40:16 +01:00
Mighty
b78fcd1794
samsung-espresso3g: use minimal .ini file for phosh (MR 2651) 2021-11-22 11:40:01 +01:00
Mighty
0ff5a34c3f
samsung-espresso3g: update pkgver and remove unneeded dependency (MR 2651) 2021-11-22 11:39:53 +01:00
Mighty
5b03579500
samsung-espresso3g: move to community (MR 2651) 2021-11-22 11:39:41 +01:00
Johannes Marbach
239b2b39e4
main/device-qemu-*: add crc32c_generic into initfs (MR 2694)
This adds the crc32c_generic module into the initfs. Without this,
mounting the boot partition will fail.

Relates to: #1294

[ci:skip-build] already built successfully in CI
2021-11-21 11:40:20 -08:00
person4268
ece1978d53
samsung-gtelwifiue: new device (MR 2681)
[ci:skip-build]: already built successfully in CI
                 linux-postmarketos-qcom-msm8916 was not built by bpo yet
2021-11-21 19:25:10 +01:00
Minecrell
3a9898689d
<msm8916>: drop variant suffixes from dtb names (MR 2632)
The new kernel version now has the variant suffixes dropped from the
DTB file names as well.
2021-11-21 19:10:58 +01:00
Minecrell
46a7f0ae08
community/arrow-db410c: add _pmb_select="soc-qcom-msm8916-rproc" (MR 2632)
This allows disabling the modem explicitly to get a bit more RAM.
It's also not _particularly_ useful on DB410c because it only provides GPS.
2021-11-21 19:10:58 +01:00
Minecrell
5cdf33cf1c
testing/<msm8916>: use _pmb_select="..." instead of kernel variants (MR 2632) 2021-11-21 19:10:58 +01:00
Minecrell
dd935c0d58
community/<msm8916>: use _pmb_select="..." instead of kernel variants (MR 2632) 2021-11-21 19:10:58 +01:00
Minecrell
f427a49e42
htc-m8qlul: drop kernel variants (MR 2632)
The mainline-modem variant does not actually exist yet and this should
be preferably implemented using the new soc-qcom-msm8916-rproc selection
in the future.
2021-11-21 19:10:58 +01:00
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
Kai Hernowski
63b7969efd
lg-vee7e: change to armv7 and gcc6 (MR 2689)
[ci:skip-build]: already built successfully in CI
2021-11-21 02:44:02 +01:00
Antoni Aloy Torrens
f5ee783b74
samsung-v1awifi: new device (MR 2671)
[ci:skip-build]: already built successfully in CI
2021-11-21 02:13:00 +01:00
Minecrell
04f2850483
community/linux-asus-me176c: upgrade to 5.4.159 (MR 2685)
[ci:skip-build]: already built successfully in CI
2021-11-18 18:06:47 +01:00
Clayton Craft
e26f8daa06
linux-purism-librem5: upgrade to 5.13.19pureos4 (MR 2686)
Upstream changelog:
fa57d344e7 (9c96da0e9f91d7d8937b69b524702c106258f0d1)

[ci:skip-build]: already built successfully in CI
2021-11-18 18:02:48 +01:00
Kai Hernowski
51d2b47263
lg-vee7e: modenize aport (MR 2688)
[ci:skip-build] already built successfully in CI
2021-11-16 19:01:45 +01:00
Clayton Craft
04dca0fb21
purism-librem5: rebase with purism's latest librem5-base changes (MR 2666)
This installs some new udev rules added in purism's librem5-base
package, and adds the charger module to initfs to that PD is available
earlier on in the boot process.

[ci:skip-build] already built successfully in CI
2021-11-15 09:52:41 -08:00
Jami Kettunen
c16b20e7d3
device-oneplus-dumpling: drop psi=1 from cmdline (MR 2672)
PSI is now enabled by default in linux-postmarketos-qcom-msm8998.

[ci:skip-build]: already built successfully in CI
2021-11-10 23:25:18 +01:00
Jami Kettunen
8e8a62dc52
device-oneplus-cheeseburger: drop psi=1 from cmdline (MR 2672)
PSI is now enabled by default in linux-postmarketos-qcom-msm8998.
2021-11-10 23:25:15 +01:00
Federico Amedeo Izzo
cc123ebbef
pine64-pinephone: Add support for eMMC Vccq hardware mod (MR 2665)
[ci:skip-build]: already built successfully in CI
2021-11-10 20:05:52 +01:00
Jami Kettunen
52d860f6f6
device-oneplus-dumpling: adapt for mainline kernel support (MR 2591)
Now the user can choose to install the proprietary firmware along with
the downstream or a (close to) mainline kernel.

[ci:skip-build]: already built successfully in CI
2021-11-08 13:53:57 +02:00
Jami Kettunen
237f133cf7
device-oneplus-cheeseburger: adapt for mainline kernel support (MR 2591)
Now the user can choose to install the proprietary firmware along with
the downstream or a (close to) mainline kernel.
2021-11-08 12:26:32 +02:00
Jami Kettunen
d6e73013d2
firmware-oneplus-msm8998: new pmaport (MR 2591)
Add proprietary firmware required by OnePlus 5/5T's WLAN, Bluetooth, GPU
and other SoC subsystems such as ADSP. These are extracted directly from
OnePlus' OxygenOS 10.0.1 stock firmware with oos_fw_extract in the repo.
2021-11-08 12:07:42 +02:00
Clayton Craft
3883291acd
linux-purism-librem5: upgrade to 5.13.19pureos3 (MR 2658)
my patch to disable SS was merged in purism's tree, so it's dropped
here. This kernel also enables the hantro video decoding stuff.

[ci:skip-build] already built successfully in CI
2021-11-07 13:42:46 -08:00
M0Rf30
dc319b1ed7
samsung-a7y18lte: new device (MR 2645)
[ci:skip-build] Already built on CI in MR
2021-11-05 12:29:28 +01:00
M0Rf30
f873d8be03
main/linux-xiaomi-vince: update to 4.9.289 (MR 2657)
[ci:skip-build] Already built on CI in MR
2021-11-05 11:09:38 +01:00
Amy Grace
21a226098e
bq-frieza: new device (MR 2652)
[ci:skip-build] Already built on CI in MR
2021-11-04 04:37:10 +03:00
Spencer Cook
2ed1fdbe4e
linux-htc-m8: fix dt.img generation (MR 2649)
Indicate to dtbTool the non-default dt-tag used for sorting dtbs, as
required by the device's bootloader.

[ci:skip-build] Already built on CI in MR
2021-11-02 19:31:02 +03:00
Petr Vorel
e111c95cad
huawei-angler: adapt for mainline kernel support (MR 2411)
Now the user can choose to install the proprietary firmware along with
the downstream kernel (linux-huawei-angler) or a mainline kernel
(linux-postmarketos-qcom-msm8994).

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>

[ci:skip-build] Already built on CI in MR
2021-11-02 13:33:37 +01:00
WeirdTreeThing
b5d5a48e41
samsung-k3gxx: new device (MR 2646) 2021-11-01 09:07:34 +01:00
Luca Weiss
2c9a4920be
asus-sparrow: new device (MR 2644)
[ci:skip-build] Already built on CI in MR
2021-10-31 22:50:17 +03:00
M0Rf30
3a720a880f
linux-xiaomi-vince: upgrade to 4.9.288 (MR 2643)
Switch of kernel sources to Unitrix (actively developed)

[ci:skip-build] Already built on CI in MR
2021-10-30 20:01:22 +03:00
Luca Weiss
1ff8393c4b
fairphone-fp1: add mainline deviceinfo variables (MR 2637)
While it doesn't make sense to package a mainline kernel for FP1 (only
UART and basic SoC components supported), it's good to include the dtb
name in deviceinfo so external tools can use it.
2021-10-29 13:26:00 +02:00
Tojo Rakotoarison
eddbe11b52
wiko-lenny5: new device (MR 2641)
[ci:skip-build] Already built on CI in MR
2021-10-29 04:08:09 +03:00
Minecrell
bf44cbb9f4
testing/firmware-qcom-adreno-extra: add missing replaces firmware-adreno (MR 2635)
This should fix upgrading from firmware-adreno to one of the subpackages
in case the new package is installed before firmware-adreno is uninstalled.
2021-10-26 12:53:31 +03:00
Alexey Minnekhanov
41df49dc91
lg-hammerhed: enable flash kernel on update (MR 2627)
Enable flashing kernel on update + small cleanups for deviceinfo:

* re-sort lines in deviceinfo
* remove console=tty0 from kernel cmdline, so it does not spit out
  all kernel logs on the screen. Now during boot you see just
  blinking cursor and pmOS logo.
2021-10-25 01:46:36 +03:00
Minecrell
eff90a2071
<msm8916+secure boot-venus>: use separate firmware packages (MR 2619)
Rule D: Devices with secure boot and venus present in the firmware
        partition need:

  1. GPU firmware (firmware-qcom-adreno-a300)
  2. msm-firmware-loader (for wcnss, modem, venus)
  4. device-specific -wcnss-nv firmware

[ci:ignore-count]
[ci:skip-build] already built successfully in CI
2021-10-23 14:41:30 -07:00
Minecrell
f84cb52a7f
<msm8916+secure boot+venus>: use separate firmware packages (MR 2619)
Rule C: Devices with secure boot but without venus on the firmware
        partition need:

  1. GPU firmware (firmware-qcom-adreno-a300)
  2. msm-firmware-loader (for wcnss, modem)
  4. device-specific -wcnss-nv firmware
  5. device-specific -venus firmware
2021-10-23 14:41:29 -07:00
Minecrell
d0f2a3d940
<msm8916-secure boot-modem>: use separate firmware packages (MR 2619)
Rule B: Devices without secure boot but without modem support need:
  1. GPU firmware (firmware-qcom-adreno-a300)
  3. firmware-qcom-msm8916-wcnss: more recent wcnss firmware
  4. device-specific -wcnss-nv firmware
  5. firmware-qcom-msm8916-venus: some packaged venus firmware
2021-10-23 14:41:29 -07:00
Minecrell
c72ed66a27
<msm8916-secure boot+modem>: use separate firmware packages (MR 2619)
Rule A: Devices without secure boot need:
  1. GPU firmware (firmware-qcom-adreno-a300)
  2. msm-firmware-loader (for modem)
  3. firmware-qcom-msm8916-wcnss: more recent wcnss firmware
  4. device-specific -wcnss-nv firmware
  5. firmware-qcom-msm8916-venus: some packaged venus firmware
2021-10-23 14:41:29 -07:00
Minecrell
67176df2f6
arrow-db410c: use separate firmware packages (MR 2619)
Reduce rootfs size a bit by installing the separated firmware packages
instead of the large linux-firmware-qcom package. Also, install the
modem firmware by default to prepare for enabling GPS.
2021-10-23 14:41:29 -07:00
Minecrell
0b269a5601
firmware-<msm8916>: squash firmware blobs (MR 2619)
Squash the packaged venus firmware blobs using pil-squasher so only
one file needs to be loaded rather than many small ones. Linux detects
squashed (.mbn) vs non-squashed (.mdt + .b*) based on file contents
(not file name) so it is fine to install venus.mbn to venus.mdt.
2021-10-23 14:41:29 -07:00
Minecrell
3193027687
community/firmware-bq-picmt: squash firmware blobs (MR 2619)
Strictly speaking firmware-bq-picmt is not needed anymore because
the msm-firmware-loader can be used to load the picmt firmware from
the firmware partitions. However, this package contains quite recent,
largely unmodified firmware from Qualcomm so it still seems useful
to keep if someone wants to test more recent firmware on some other
device (provided that their device does not verify firmware signatures).

To make this firmware package consistent with firmware-qcom-db410c,
squash the firmware blobs using pil-squasher so only one file needs
to be loaded rather than many small ones.
2021-10-23 14:41:29 -07:00
Minecrell
1d923c2aeb
community/firmware-qcom-db410c: package all firmware, squash, new paths (MR 2619)
Unfortunately, at the moment MSM8916 devices always have to install
all of linux-firmware-qcom (~ 60 MiB) when they actually just use
~ 0.008 MiB of GPU firmware in there. Everything else is just big
firmware blobs for other SoCs that are never going to be useful.

It's much more efficient to package the necessary firmware separately
to save rootfs space. The DB410c linux-board-support-package contains
all the firmware from linux-firmware as well, so we can easily package
it as part of the firmware-qcom-db410c package.

This commit makes the following changes to firmware-qcom-db410c:
  1. Package venus() firmware that was previously installed from
     linux-firmware-qcom. GPU firmware is packaged in firmware-qcom-adreno.
  2. Use new firmware paths for DB410c that were applied upstream
  3. "Squash" the firmware blobs to a single file using pil-squasher
2021-10-23 14:41:28 -07:00
Max Buchholz
7c4ac06e44
samsung-p4wifi: fix wrong dtb name (MR 2621)
As the dts in the kernel-repo was renamed, we need to change it in the
deviceinfo file as well

[ci:skip-build] already built successfully in CI
2021-10-23 14:36:44 -07:00