Commit graph

21 commits

Author SHA1 Message Date
Alexey Minnekhanov
d677f1ed32
main/linux-postmarketos-qcom-msm8974: upgrade to 5.12.8 (MR 2210)
- Add support for Samsung Galaxy Note 3 (hlte)
- Changes to kernel config:
  - add support for anbox
  - add support for nftables
  - add support for lxc, docker
  - add support for Wireguard
  - Disable CONFIG_ARM_APPENDED_DTB (for lk2nd compatibility)

[ci:skip-build] Already built on CI in a MR
2021-06-02 18:34:40 +02:00
Oleg `Kanedias` Chernovskiy
e07b778502
linux-postmarketos-qcom-msm8974: battery support for oneplus-bacon (MR 2154)
BQ27541 is used as fuelgauge/charger on oneplus-bacon.

[ci:skip-build] Already built on CI
2021-05-08 02:20:34 +03:00
Luca Weiss
aca8e29d17
main/linux-postmarketos-qcom-msm8974: upgrade to 5.11.10 (MR 2015)
- Remove bam-dmux raw-ip related patches (already included in source)
- Depend on gmp-dev, mpc1-dev, mpfr-dev to build with GCC_PLUGINS support.
- Reduce package size (INSTALL_MOD_STRIP=1) from 119.6 MB to 21.5 MB
- Kernel config changes:
  - make interconnect module built-in
  - remove unused built-in DSI PHY drivers
2021-03-28 03:52:28 +03:00
Minecrell
fbdb5f9164
main/linux-postmarketos-qcom-msm8974: add BAM-DMUX patches (MR 2053)
These are required to make it work with the latest ModemManager patches,
especially the patch that switches BAM-DMUX to Raw-IP mode.

[ci:skip-build]: already built successfully in CI
2021-03-22 21:43:26 +01:00
Luca Weiss
c57aa7b299
device/*/linux-*: enable CONFIG_TMPFS_POSIX_ACL (MR 1939)
This is required by some software, e.g. bluez/gnome to set some ACLs on
/dev/rfkill (see #904). While probably nobody will notice on the
downstream kernels (as we don't have any proper software there anyways)
it's definitely needed on mainline-ish kernels. Surprisingly only one
kernel has broken by enabling this option (linux-sony-tulip) which I've
patched up.

linux-postmarketos-qcom-sdm660 did not break by enabling this option,
but required linux4.17-gcc10-extern_YYLOC_global_declaration.patch to
build again, so this was fixed too.

[ci:skip-build] [ci:ignore-count]
2021-02-09 21:54:35 +01:00
Luca Weiss
b97cf37789
main/linux-postmarketos-qcom-msm8974: upgrade to 5.9.13 (MR 1799)
[ci:skip-build]: already built successfully in CI
2020-12-14 09:31:09 +01:00
Alexey Min
f729822823
linux-postmarketos-qcom-msm8974: improve device support (MR 1745)
Battery percentage monitoring support:
 * lg-hammerhead
 * samsung-klte

Mobile internet support:
 * fairphone-fp2

QCOM_SOCINFO for querying information from the SoC

[ci:skip-build]: already built successfully in CI
2020-11-21 13:52:01 -08:00
Luca Weiss
b7dfa002c1
main/linux-postmarketos-qcom-msm8974: upgrade to 5.9.0_rc4 (MR 1572)
Config changes:
* DRM_PANEL_PANASONIC_VVX10F034N00 for sony-castor
* GPIO_PCA953X for samsung-klte
2020-10-04 15:32:49 +02:00
Bart Ribbers
924c80ec89
linux-postmarketos-qcom-msm8974: modernize (MR 1536)
This also removes the dtbtool dep. It generated `/boot/dt.img` but the
device tree is different for each device using this kernel so it wasn't
useful.
2020-09-14 15:59:46 +02:00
Bart Ribbers
408aa2a0ee
linux-postmarketos-qcom-msm8974: enable hid_apple module and fix GCC10 (MR 1536)
Fixes #741
2020-09-14 15:59:39 +02:00
Oliver Smith
0cfcc52e0d
*/linux-*: enable CONFIG_CRYPTO_XTS (MR 1405)
Enable CONFIG_CRYPTO_XTS for each kernel, so we can switch to using
aes-xts-plain64 as default cipher for cryptsetup (override with
"pmbootstrap --cipher"), instead of aes-cbc-plain64 (pmbootstrap#1940).

I have executed "pmbootstrap kconfig edit" on each kernel, and manually
toggled the option. The diff is not always clean, because for some
kernels it is apparently the first time, that menuconfig was executed on
the configs like that. In a few instances, it turned out that
CONFIG_ANDROID_PARANOID_NETWORK needed to be disabled too (this is
already a requirement, but as the config was incomplete, it was not
visible that this option was enabled). Very few times, I had to enable
CONFIG_EXPERIMENTAL in order to see and enable CONFIG_CRYPTO_XTS.

It would be great if we could automate such mass kconfig edits in the
future, see pmbootstrap#1942.

[skip ci]: I have verified, that every single one of these kernels builds.
           CI will likely run out of time while downloading source tarballs.
2020-07-11 15:26:35 +02:00
Pellegrino Prevete
fc98518f40
linux-postmarketos-qcom-msm8974: enable CONFIG_USER_NS (MR 1282)
This fixes GNOME Web on the hammerhead and other devices using this
kernel
2020-06-03 14:57:25 +02:00
ben clark
cca40c66bf
main/linux-postmarketos-qcom-msm8974: enable CONFIG_SECCOMP (!1218)
fixes an "Invalid argument" when running a flatpak
2020-05-11 21:50:57 +02:00
Luca Weiss
b07717d564
main/linux-postmarketos-qcom-msm8974: updates for various devices (MR 1140)
* Support for sharp ls052t3sx02 video mode panel and max1187x
  touchscreen used in Sony Xperia Z2 (sirius)
* Support for display in OnePlus One (bacon)
* Support for touchscreen, touchkeys and notification led in Samsung
  Galaxy S5 (klte)
2020-05-03 12:05:22 +02:00
Antoine Fontaine
c1628ecdce
cross/arch-bin-masquerade, main/anbox-image, linux-*: use pmb:cross-native (MR 1169)
https://gitlab.com/postmarketOS/pmbootstrap/-/issues/1910

[skip ci]: CI fails because it can't download every release tarball to
           check checksums in 3h.
2020-04-25 10:50:38 +02:00
Alexey Min
53147b32d0
main/linux-postmarketos-qcom-msm8974: add findutils build dependency (!1090)
Forces to use normal "find" instead of busybox find.
This fixes unrecognized -printf parameter error dutring build:

 ...
 GEN     usr/initramfs_data.cpio
find: unrecognized: -printf
BusyBox v1.31.1 () multi-call binary.

Usage: find [-HL] [PATH]... [OPTIONS] [ACTIONS]
 ...
2020-03-30 20:34:34 +02:00
Luca Weiss
c185730ef3
main/linux-postmarketos-qcom-msm8974: enable useful config options (!1090) 2020-03-30 20:34:34 +02:00
Luca Weiss
9e4c2f697d
main/linux-postmarketos-qcom-msm8974: upgrade to 5.6.0_rc6 (!1090) 2020-03-30 20:34:34 +02:00
Genox997
bdbcfc38dd
main/linux-postmarketos-qcom-msm8974: upgrade to 5.4.0-rc6 (!902)
[ci:skip-build]: already built successfully in CI
2020-01-26 23:13:07 +01:00
Martijn Braam
a21ff74b36
linux-postmarketos-qcom-msm8974: fix usbnet (!695)
Having the charging driver in the initramfs fixes the USB gadget modes.

[ci:skip-build]: already built successfully in CI
2019-10-23 23:55:42 +02:00
lambdadroid
a855164812
main/linux-postmarketos-qcom: rename to linux-postmarketos-qcom-msm8974 (!662)
We have linux-postmarketos-qcom and linux-postmarketos-qcom-msm8916 now,
which is quite confusing. linux-postmarketos-qcom was originally added
for MSM8974 devices (e.g. Nexus 5) and its patches on top of mainline
are therefore quite focused on MSM8974.

linux-postmarketos-qcom-msm8916 on the other hand, has patches specific
to MSM8916. The two packages do not have any patch in common, therefore
merging the two would only cause signficiant overhead to coordinate
testing for devices of the two SoCs.
Therefore, it is better to keep them separate.

To avoid confusion, rename linux-postmarketos-qcom to
linux-postmarketos-qcom-msm8974 to make it clear that it is really
a close-to-mainline kernel for MSM8974 devices.

[ci:skip-build]: already built successfully in CI
2019-10-08 00:51:38 +02:00