Commit graph

32 commits

Author SHA1 Message Date
Alexey Min
83d8199ee8
main/linux-postmarketos-qcom-msm8974: upgrade to 5.15.9 (MR 2762)
Contains latest CVE fixes.

Also mark myself as maintainer

[ci:skip-build] Already built on CI in MR
2021-12-17 05:11:36 +03:00
Alexey Min
a6b343c833
main/linux-postmarketos-qcom-msm8974: upgrade to 5.15.7 (MR 2746)
Simple upgrade with few generic kernel features enabled
 * IWD support
 * F2FS
 * NTFS3_FS
 * USB mass storage support
 * disable MTD and build more things as modules to reduce
   kernel size to compensate some new built-in options,
   as kernel doesn't boot otherwise.

No new things for pmOS's devices (yet). Should work same as before.

[ci:skip-build] Already built on CI in MR
2021-12-14 13:13:23 +03:00
Alexey Minnekhanov
6bf5f763c6
linux-postmarketos-qcom-msm8974: upgrade to 5.14.14 (MR 2620)
Last update for 5.14 kernel, next one will be 5.15

Kernel config cleanup:
* enable various USB peripherals support, per user requests:
  * usb webcams [m]
  * usb ethernet adapters [m]
* remove support for various TV tuners and DVB cards
* enable few filesystem drivers [m], like iso9660, exFAT, ntfs
* enable kernel automounter, to use with nfs (autofs, [m])
* disable CONFIG_ARM_CPUIDLE, which gets rid of annoying message
  during boot:
  /cpus/cpu@0: unsupported enable-method property: qcom,kpss-acc-v2
  Cpuidle is handled by another driver, which is still enabled:
  CONFIG_ARM_QCOM_SPM_CPUIDLE

[ci:skip-build] already built successfully in CI
2021-10-24 00:13:40 -07:00
Alexey Minnekhanov
e940d5277e
linux-postmarketos-qcom-msm8974: switch to installkernel-pmos (MR 2586)
Rebuild package so kernel image is installed correctly

[ci:skip-build] Already built on CI once in pipeline https://gitlab.com/postmarketOS/pmaports/-/jobs/1664922102
2021-10-14 12:27:59 +03: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
Bart Ribbers
a071383eb2
main/linux-postmarketos-qcom-msm8974: enable CONFIG_PSI (MR 2497) 2021-09-11 17:30:29 +02:00
Alexey Minnekhanov
b358565705
main/linux-postmarketos-qcom-msm8974: upgrade to 5.13.13 and support zram (MR 2478)
* Add support for full panel driver for samsung-klte
* Enable zram support
2021-09-01 11:19:02 +03:00
Alexey Minnekhanov
2a1f6bddb8
main/linux-postmarketos-qcom-msm8974: hotfix for missing bam_dmux
Turns out, after refactoring (moving bam_dmux driver to wwan
subsystem) we need to set CONFIG_WWAN=y for bam_dmux driver
to be built. Fix this asap :)
2021-07-07 11:16:53 +03:00
Alexey Minnekhanov
1d3776d45d
main/linux-postmarketos-qcom-msm8974: upgrade to 5.13.0 (MR 2312)
Should work same as before.

Slightly tweaked kernel config options:
* default cpufreq governor is now "conservative" instead of "performance", which should be better for devices running on battery. Not that it matters, MSM8974 does not have cpufreq support anyway.
* enabled CONFIG_ARM_QCOM_SPM_CPUIDLE, which was missing! At least some cpuide is better than none at all.
* 2 missing options for nftables: CONFIG_IP6_NF_FILTER, CONFIG_IP6_NF_TARGET_REJECT
* few missing options for wg-quick: CONFIG_IPV6_MULTIPLE_TABLES, CONFIG_IP_MULTIPLE_TABLES, CONFIG_IP6_NF_RAW, CONFIG_IP_NF_RAW

WWAN subsystem is not enabled.

BAM-DMUX upgraded to version "v3" (subnode of modem remoteproc)

Mark kernel package as supporting anbox, containers (in addition to nftables)

[ci:skip-build] Already built successfully twice on CI
2021-07-07 04:17:27 +03:00
Alexey Minnekhanov
2ebc93b43e
main/linux-postmarketos-qcom-msm8974: upgrade to 5.12.13 (MR 2282)
Samsung Galaxy S5 gains support for modem (and adsp) co-processors.

[ci:skip-build] Already built on CI in MR
2021-06-28 17:24:10 +03:00
Clayton Craft
c77ef83d0f
linux-postmarketos-qcom-msm8974: add kconfig check for nftables (MR 2060) 2021-06-14 14:30:50 -07:00
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