Commit graph

60 commits

Author SHA1 Message Date
Bobby The Builder
26d5ab25e1
linux-postmarketos-allwinner: disable NUMA feature (MR 2371)
prevent the creation of a fake NUMA node
   saving a few CPU cycles each DRAM access:

   [    0.000000] NUMA: No NUMA configuration found
   [    0.000000] NUMA: Faking a node at ...
   [    0.000000] NUMA: NODE_DATA [mem 0xff9c2100-0xff9c3fff]

   if you boot on QEMU make sure to review vCPU topology:
   set socket to 1
2021-07-22 23:54:02 -07:00
Maxim Karasev
4e70549af3
main/linux-postmarketos-allwinner: enable EMAC and GMAC in aarch64 config (MR 2377)
This is needed to get ethernet working on most 64-bit sunxi boards.
Basically just synced with armv7 config a bit.

[ci:skip-build] already built successfully in CI
2021-07-22 20:38:50 -07:00
Luca Weiss
c6067c02fe
main/linux-postmarketos-allwinner: enable CONFIG_NFT_FIB_IPV{4,6} (MR 2357)
Used by wg-quick for nftables configuration when routing to e.g. ::/0

[ci:skip-build]: already built successfully in CI
2021-07-18 19:24:33 +02:00
Clayton Craft
7cd9a2d246
linux-postmarketos-allwinner: add missing kconfig for nftables support (MR 2284)
[ci:skip-build] Built on CI
2021-07-01 09:05:21 +03:00
Maxim Karasev
d415968dc9
main/linux-postmarketos-allwinner: upgrade to 5.12.12 and add allwinner h6 support (MR 2268) 2021-06-26 19:45:43 +02:00
Dylan Van Assche
2ccc3bc796
linux-postmarketos-allwinner: enable CONFIG_RMNET (MR 2149)
Next release of ModemManager needs Qualcomm RMNET support
for QMAP mobile data support.

armv7 config doesn't have ethernet enabled at all,
so this is only enabled for the aarch64 config.
2021-05-27 14:13:16 +02:00
Clayton Craft
3ebca14608
linux-postmarketos-allwinner: Upgrade to 5.12.6 (MR 2149)
I rebased all of the patches (only 2 needed some changes, the rest I
just did for good measure).

These two patches were dropped since they are already merged in the new
kernel:
        0008-leds-gpio-Set-max-brightness-to-1.patch
        0009-dts-pinephone-Add-pine64-pinephone-to-compat-list.patch was dropped

The kconfig changes are just after running kconfig edit, and making no
changes so that it would generate a config with any new options in 5.12,
to make maintenance easier moving forward.
2021-05-27 14:13:14 +02:00
JuniorJPDJ
3ae93e8bd5
main/linux-postmarketos-allwinner: upgrade to orange-pi-5.11-20210325-1125 tag (MR 2040)
No manual config changes.
WoWLAN patch is in magi's tree now
2021-03-27 17:48:08 +00:00
clayton craft
c175be405a
linux-postmarketos-allwinner: disable modem-power driver (MR 1815)
Disabling in favor of controlling modem in userspace (e.g., eg25-manager)

[ci:skip-build]: already built successfully in CI
2021-01-08 15:26:02 -08:00
Martijn Braam
61e0dce335
main/linux-postmarketos-allwinner: upgrade to 5.10.4_git20210102 (MR 1854)
[ci:skip-build]: already passed CI
2021-01-07 01:30:52 -08:00
clayton craft
aad151f3ee
main/linux-postmarketos-allwinner: enable nftables support (MR 1838)
This allows using nftables on pmOS
2020-12-29 16:15:00 +01:00
Alexander Brzoska
e42ff4ebd4
main/linux-postmarketos-allwinner: Add IPv4 support for wireguard-tools (MR 1838)
Wireguard's userspace tool 'wg-quick' requires certain network and
netfilter options in the kernel config to be enabled, since it uses
policy routing and some 'iptables' modules. An overview of the options
and why they are required can be found in pmaports#909.

NOTE: after rebasing this patch on the one that enables anbox related
kconfig options, only CONFIG_IP_MULTIPLE_TABLES=y was left.
2020-12-29 16:15:00 +01:00
edp17
9b9a47ed2c
main/linux-postmarketos-allwinner: enable Anbox networking options (MR 1838)
Co-Authored-By: Antoine Fontaine <antoine.fontaine@epfl.ch>
2020-12-29 16:14:55 +01:00
Newbyte
d135ba5499
main/linux-postmarketos-allwinner: build CONFIG_CRYPTO_ZSTD support as a module (MR 1816)
Fixes https://gitlab.com/postmarketOS/pmaports/-/issues/894

[ci:skip-build]: already built successfully in CI
2020-12-26 13:08:00 -08:00
Martijn Braam
0668874ccf
main/linux-postmarketos-allwinner: upgrade to 5.10.0_git20201202 (MR 1802)
[ci:skip-build]: already built successfully in CI
2020-12-11 09:51:19 +01:00
Martijn Braam
cd7295d017
main/linux-postmarketos-allwinner: enable ipv6 wireguard (MR 1778)
wireguard needs the ipv6 multitable option to make a seperate routing
table for the inside and outside vpn part of the network.

[ci:skip-build]: already built successfully in CI
2020-12-02 21:54:15 -08:00
Bart Ribbers
0b405957e0
pine64-pinephone: enable cifs kernel module (MR 1716)
[ci:skip-build]: already built successfully in CI
2020-11-14 00:37:39 -08:00
Bart Ribbers
8dba9d5a62
linux-postmarketos-allwinner: enable ecryptfs support (MR 1694)
There have been support questions about this from users
https://www.reddit.com/r/postmarketOS/comments/jqbqu2/mounting_ecryptfs_encrypted_folder/

[ci:skip-build]: already built successfully in CI
2020-11-10 12:01:39 +01:00
Oliver Smith
dcc0a8c855
main/linux-postmarketos-allwinner: upgrade to 5.9.1_git20201019 (megi's tree) (MR 1614)
Switch from the 5.8.x kernel with allwinner specific patches to megi's
5.9 based tree. He drives the PinePhone related kernel development
forward like no other, his tree and changes are well documented on
xnux.eu, and he frequently publishes tested "build this one" commits with
the latest improvements. It makes a faster and less time consuming
workflow to simply package these versions (after a smoke test) into
postmarketOS edge, and after some time to catch possible regressions
ship the same version in postmarketOS stable.

This kernel should make HDMI work for most people, and improve call
quality (thanks to smaeul's patches, which are integrated into megi's
tree).

Kernel config changes:
* Enable MODEM_POWER in the kernel config, among other improvements this
  allows us to get rid of the 30s delay on power off.
* Enable CONFIG_DRM_PANEL_ILITEK_ILI9881C (new PineTab panel)
* Enable CONFIG_ZRAM
* Enable CONFIG_HID_MULTITOUCH

Related: https://xnux.eu/devices/feature/modem-pp.html#toc-modem-power-driver
Changelog: https://megous.com/git/linux/tag/?h=orange-pi-5.9-20201019-1553
Co-Authored-By: Martijn Braam <martijn@brixit.nl>
Co-Authored-By: Clayton Craft <clayton@craftyguy.net>
2020-10-20 18:02:17 +02:00
Oliver Smith
05332c1e0b
main/linux-postmarketos-allwinner: enable camera related kconfig options (MR 1569) 2020-09-14 22:26:10 +02:00
Serge Hallyn
fdd0dfebba
main/linux-postmarketos-allwinner: enable CONFIG_CGROUP_FREEZER (MR 1569)
Enable the freezer cgroup. This allows a user to start a large application like
firefox, freeze it to save some power, and unfreeze it to continue using it,
without having to restart the application completely. Stopping and restarting
the application completely results in more battery usage as well as lost state.

Signed-off-by: Serge Hallyn <serge@hallyn.com>
2020-09-14 22:26:10 +02:00
Clayton Craft
0dc8eb9cce
main/linux-postmarketos-allwinner: enable LED for notifications (MR 1569)
This config change is necessary for feedbackd to trigger LED
notifications.

fixes #776
2020-09-14 22:26:10 +02:00
Bart Ribbers
37f9441e60
main/linux-postmarketos-allwinner: upgrade to 5.8 (MR 1569) 2020-09-14 22:26:10 +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
Martijn Braam
4cff95a5bb
main/linux-postmarketos-allwinner: upgrade to 5.7.0_git20200705 (MR 1397)
This adds panel stability patches and enables more resolutions on
the hdmi port of the A64.
2020-07-08 17:26:42 +02:00
Martijn Braam
0b00e23280
main/linux-postmarketos-allwinner: upgrade to 5.7.0_git20200704 (MR 1393)
This enables mult-sensor support in sun6i-csi, support for the
gc2145 front camera, the new panel driver from mainline linux
and a small fix for the anx7688 that prevents it spamming the
kernel log when no cable is plugged in on 1.2a hardware.
2020-07-05 19:45:53 +02:00
Martijn Braam
d4c55e8712
main/linux-postmarketos-allwinner: upgrade to 5.7.0_git20200629 (MR 1377)
[ci:skip-build]: already built successfully in CI
2020-07-02 13:51:09 +02:00
Wazup
fea884dd87
main/linux-postmarketos-allwiner: enable IP_SET module (MR 1372) 2020-06-27 19:23:40 +03:00
Bradley
1cf42e6db8
linux-postmarketos-allwinner: enable f2fs module and fs compression (MR 1353)
[ci:skip-build] builds locally
2020-06-21 23:46:42 +03:00
Danct12
df5eec9de6
main/linux-postmarketos-allwinner: only RTL8723CS_NEW (MR 1322)
We cannot have two of them at the same time, most compiler would fail here
but for some reason our didn't.

However, it's better to just use one (the new one, or the old one). Enable
CONFIG_RTL8723CS_NEW, which is the new driver that made it to pine64
kernel since 5.5.

Signed-off-by: Danct12 <danct12@disroot.org>

[ci:skip-build]: already built successfully in CI
2020-06-21 11:18:22 +02:00
Wazup
1e9d04e60c
enable xt_owner and xt_time kernel modules (MR 1343) 2020-06-19 09:14:27 +02:00
Miles Alan
b89fc77d7c
main/linux-postmarketos-allwiner: add CONFIG_SND_ALOOP=m to allow loopback dev (MR 1309)
This makes recording system audio very simple and feasible in a cross-device
manner since application-logic can always rely / forward ALSA audio to the
loopback device instead of a device-specific audio interface.
2020-06-17 12:51:06 +02:00
Antoine Fontaine
b6d8b5893f
main/linux-postmarketos-allwinner: add anbox support again (!1222)
fix regression caused by
https://gitlab.com/postmarketOS/pmaports/-/merge_requests/1205
and closes
https://gitlab.com/postmarketOS/pmaports/-/issues/583.
2020-05-11 20:27:00 +02:00
Martijn Braam
dca8043c33
main/linux-postmarketos-allwinner: cleanup modules (MR 1205)
Disable modules for hardware that's impossible to connect to the
allwinner devices or older than the 90's this shrinks the size from 380
to 250MB.

Then it enables module compression so it shrinks from 250MB to 57MB.

Then the module stripping was enabled, shrinking it to 20MB

[ci:skip-build]: already built successfully in CI
2020-05-08 22:18:22 +02:00
Martijn Braam
e5ae9d8e2d
main/linux-postmarketos-allwinner: update to 5.6.0_git20200410 (!1143) 2020-04-22 12:06:35 +02:00
Danct12
7f64e287e7
main/linux-postmarketos-allwinner: use rtl8723cs driver from kernel tree (!1002)
We'll use the new RTL8723CS driver in the kernel tree instead
of using the one that we have to fetch from GitHub.

Signed-off-by: Danct12 <danct12@disroot.org>
Signed-off-by: Asriel Dreemurr <asriel.danctnix@gmail.com>

[ci:skip-build]: already built successfully in CI
2020-04-11 01:48:52 +02:00
Alexey Min
8a45592949
main/linux-postmarketos-allwinner: enable CONFIG_INPUT_UINPUT and some fixes (!1051)
CONFIG_INPUT_UINPUT is needed for !1012

- linter fix: remove unneeded HOSTCC
- use downstreamkernel_package
- _abi_release was never used
- this package is only enabled for aarch64, so always use
  modules_install dbts_install in package(), remove redundant
  switch case
2020-03-24 14:50:13 +03:00
Danct12
43364cd064
main/linux-postmarketos-allwinner: completely disable sysrq (!1078)
Signed-off-by: Danct12 <danct12@disroot.org>
2020-03-19 16:52:54 +01:00
Antoine Fontaine
3e12edb9cb
linux-postmarketos-allwinner: enable config options needed for anbox (!956)
see #327.
2020-03-01 23:59:36 +03:00
Luca Weiss
56f9afaefe
main/linux-postmarketos-allwinner: enable some config options (!968)
* ch341: for PinePhone/PineTab usb serial console
* hidraw: yubikey and many other use cases
* the rest are options required by Anbox
2020-02-23 13:17:37 +01:00
Luca Weiss
920afebc59
main/linux-postmarketos-allwinner: enable some bluetooth options (!820)
also fix linting issues
2020-02-20 23:12:26 +03:00
Danct12
9872289dff
main/linux-postmarketos-allwinner: upgrade to kernel 5.5 (!938) 2020-02-19 10:10:35 +05:30
Bhushan Shah
891f935705
main/linux-postmarketos-allwinner: switch to conservative governor (!760)
Current default is performance, and that is for sure not a great choice
for battery. We can experiment with ondemand as well, but based on docs,
conservative is recommended.

[ci:skip-build]: build takes too long
2019-12-07 15:08:53 +01:00
Danct12
970bb0bf0b
main/linux-postmarketos-allwinner: upgrade to 5.4.0 (!778)
[ci:skip-build]: does not finish in time

Signed-off-by: Danct12 <danct12@disroot.org>
2019-12-06 14:45:58 +03:00
Bhushan Shah
a35e19dbda
linux-postmarketos-allwinner: enable thermal driver and wakelocks (!757)
They can be used for power management

[ci:skip-build]: won't finish in time
2019-11-20 22:58:25 +01:00
Bhushan Shah
350ac7af21
device-pine-pinephone: new device (PINE64 PinePhone) (!583)
* Added display in final pinephone to the kernel
* Added getty
* Use RGB led to signify booting status in u-boot
* Enable CONFIG_GPIO_SYSFS

[ci:skip-build]: won't finish in time
2019-09-05 18:49:54 +02:00
Martijn Braam
2406d29aec
linux-postmarketos-allwinner: upgrade to 5.3-rc4 (!557)
[ci:skip-build]: takes too long to build in CI
2019-08-23 21:33:25 +02:00
Danct12
d44646737e
device-pine-pinetab: enable bluetooth (!553)
[ci:skip-build]: does not finish on CI

Signed-off-by: Danct12 <danct12@disroot.org>
2019-08-19 16:57:22 +02:00
Danct12
370a9fbbb1
device-pine-pinetab: rotate framebuffer console (!550)
[ci:skip-build] because kernel changes

Signed-off-by: Danct12 <danct12@disroot.org>
2019-08-10 13:19:48 +02:00
Luca Weiss
fef416f198
pine-pinetab: new device (Pine PineTab) (!528)
Thanks to Martijn Braam for additional patches that were squashed into
this one.

[ci:skip-build]: won't finish in time
2019-08-03 02:27:39 +02:00