Commit graph

70 commits

Author SHA1 Message Date
Newbyte
d5690fcc36
main/linux-postmarketos-allwinner: add findutils as makedepend (MR 1816)
Fixes https://gitlab.com/postmarketOS/pmaports/-/issues/910

[ci:skip-build]: already built successfully in CI
2020-12-26 13:07:54 -08:00
Newbyte
f856e967d8
main/linux-postmarketos-allwinner: upgrade to 5.10.0_git20201214 (MR 1816)
[ci:skip-build]: already built successfully in CI
2020-12-26 13:07:46 -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
Oliver Smith
a77d4ed26a
main/linux-postmarketos-allwinner: upgrade to 5.9.10_git20201123 (MR 1755)
[ci:skip-build]: already built successfully in CI
2020-11-25 14:31:29 +01:00
Oliver Smith
3fd5a9a568
main/linux-postmarketos-allwinner: upgrade to 5.9.8_git20201117 (MR 1735)
Update ov5640 autofocus related patch. We had it working with Martijn's
patch in 5.9.1_git20201019-r2 (MR 1654), but then dropped the patch in
favor of the patch that was added to megi's tree in 5.9.3_git20201101
(MR 1678).

It turns out that the patch added to megi's tree was different than the
patch we were carrying, it was a WIP version where loading the autofocus
firmware did not work anymore.

Megi decided to drop the autofocus patch from his tree for now, as the
firmware uploader takes more time in Martijn's proper patch. According
to Martijn it takes about a second, which seems reasonable for the
postmarketOS use case. I've added the previous version again as
out-of-tree patch.

Martijn found that for some reason the continuous autofocus still
doesn't want to start with this kernel and current patch version, as for
some reason the firmware load fails. But he extended the patch to make
autofocus work again with "tap to focus" at least.

0005-dts-pinephone-Disable-flash-led-in-OV5640-node.patch is not needed
anymore, the same change is in megi's tree.

Co-Authored-By: Martijn Braam <martijn@brixit.nl>
[ci:skip-build]: already built successfully in CI
2020-11-20 13:58:34 +01:00
Oliver Smith
9c7c6b8eb1
main/linux-postmarketos-allwinner: upgrade to 5.9.8_git20201115 (MR 1704)
While at it, include 'Allow leds for pinephone dtb in suspend' patch.
2020-11-16 20:44:36 +01: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
8e5c217d4a
linux-postmarketos-allwinner: upgrade to 5.9.3 (MR 1678)
Co-Authored-By: Oliver Smith <ollieparanoid@postmarketos.org>
2020-11-11 10:56:57 +01: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
Bhushan Shah
5efdbd13fa
main/linux-postmarketos-allwinner: fix display framerate on pinephone (MR 1661)
This patches from the megi solves the issue of the MIPI-DSI panels
framerate being at 2/3rd of actual or expected rate.

[ci:skip-build]: already built successfully in CI
2020-10-30 00:30:38 -07:00
Martijn Braam
628aabf2b6
main/linux-postmarketos-allwinner: add ov5640 autofocus (MR 1656)
[ci:skip-build]: already built successfully in CI
2020-10-28 11:57:21 -07:00
Bhushan Shah
fe766c43d7
main/linux-postmarketos-allwinner: add patch for suspend hang (MR 1651)
See thread at: https://lore.kernel.org/linux-usb/20201027045519.GA947883@aquila.localdomain/

Fixes: #839
2020-10-27 13:58:34 +05:30
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
Martijn Braam
1039f705fb
main/linux-postmarketos-allwinner: hotfix for hdmi output (MR 1524)
Sloppy patch that makes the displayport alt-mode output signal work on
the PinePhone convergence edition. Proper fix is in the 5.8 tree

[ci:skip-build]: Martijn made sure that it builds and works. This is
		 time critical, so skip the CI build.
2020-09-01 16:59:48 +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
Alexey Min
8217bbc3c2
main/linux-postmarketos-allwinner: add patch descriptions (MR 1372)
Fixes linter warnings
2020-06-27 19:22:24 +03:00
Danct12
ea0fd7cb7f
main/linux-postmarketos-allwinner: upgrade to 0_git20200528 (MR 1267)
Signed-off-by: Danct12 <danct12@disroot.org>
2020-06-25 15:20:38 +02: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
6041d4eed0
Support Anbox explicitly in some kernels: (MR 1232)
* linux-postmarketos-allwinner
* linux-postmarketos-qcom-msm8916
* linux-asus-me176c

They support anbox already.

It will make CI catch errors such as the removal of anbox support in
https://gitlab.com/postmarketOS/pmaports/-/merge_requests/1205 when
https://gitlab.com/postmarketOS/pmbootstrap/-/merge_requests/1916 will
be merged.

[ci:skip-vercheck] and [ci:skip-build]: no need to rebuild the package.
2020-05-19 22:23:39 +03: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
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
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
Dolphin von Chips
176555a4a1
**/linux-*: update usage of downstreamkernel_prepare helper (!1084)
[skip-ci]: just downloading all kernel sources takes about one hour
           and ollieparanoid wants to merge it now. This already ran
	   successfully with [ci:skip-build] and [ci:skip-vercheck].
2020-04-05 12:43:25 +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
Danct12
06c3133ab5
main/linux-postmarketos-allwinner: correct voltage for lcd (!994)
Currently, every LCDs inside their (our users) pocket are driving 3.3V,
meanwhile the LCD interface is meant to drive at ~2V.

This turns our LCDs into a timebomb that is ready to trigger at any moment,
killing the display.

Signed-off-by: Danct12 <danct12@disroot.org>
2020-02-26 14:22:14 +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
605fbe7587
linux-postmarketos-allwinner: upgrade kernel to latest revision (!656)
This upgrades kernel to 5.3.y release instead of rc4 release previously.

[ci:skip-build]: takes too long to build in CI
2019-10-03 21:45:59 +02: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
Bhushan Shah
84e0f43802
linux-postmarketos-allwinner: upgrade kernel to latest revision (!583)
This adds support for pinephone dts

[ci:skip-build]: takes too long to build in CI
2019-09-05 17:21:57 +02:00