Commit graph

48 commits

Author SHA1 Message Date
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
Danct12
45977421f8
main/linux-postmarketos-allwinner: kernel development files (!576)
[ci:skip-build]: does not finish on CI

Signed-off-by: Danct12 <danct12@disroot.org>
2019-08-25 22:11:25 +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
Daniele Debernardi
d913c6e796
linux-postmarketos-allwinner: enable framebuffer (!529)
[ci:skip-build]
2019-07-29 23:26:06 +02:00
Martijn Braam
9fde750935
main/linux-postmarketos-allwinner: update to 5.3.x-git (!526)
[ci:skip-build]
2019-07-27 17:44:21 +02:00
Luca Weiss
063330935b
main/linux-postmarketos-allwinner: update kernel & build more modules (!508)
[ci:skip-build]
2019-07-18 23:19:37 +02:00
Luca Weiss
3d57e0b688
main/linux-postmarketos-allwinner: fix indentation (!508) 2019-07-18 23:19:22 +02:00
Martijn Braam
d591cd2a38
device/pine-dontbeevil: Seperate version for longts (!407)
This adds a seperate dts for the longts version of the devkit (which was
the un-inverted version before) and adds a shortts version which was
inverted before, but didn't exist in pmaports yet because I manually
edited the dts for every release.

This MR abuses the kernel switching feature to switch the dtb instead so
shortts/longts can be selected in the init step.

[ci:skip-build]: build won't finish in time
2019-06-20 00:19:29 +02:00
Martijn Braam
d72923dcd5
main: linux-postmarketos-allwinner: PinePhone updates
- main: postmarketos-mkinitfs: Add /run
  Create the /run directory in the initramfs so that cryptsetup doesn't
  crash on not being able to create /run/cryptsetup for lockfiles

- device: pine-dontbeevil: Remove workaround for touchscreen

- main: linux-postmarketos-allwinner: Implemented supplies for touchscreen
  This uses a slightly newer commit from the kernel repo that implements
  requesting a regulator in the touchscreen driver

- device: pine-dontbeevil: Remove ethernet from initramfs
  This actually makes debugging more complicated since networkmanager wont
  touch the ethernet adapter afterwards and the initramfs can be debugged
  over uart

- temp/u-boot: sync APKBUILD with upstream and update to 2019.04

- main: linux-postmarketos-allwinner: Use 20190521 git version
2019-05-23 14:39:21 +02:00
Martijn Braam
5cf1ee92e8 pine-dontbeevil: Fixed sound and battery (!348)
* Fixed audio
* Fixed battery handeling
* Added fix for touchscreen not working for everyone
* Use newer upstream kernel

[ci:skip-build]: won't finish in time, Martijn made sure that it builds.
2019-05-06 22:01:34 +00:00
Martijn Braam
badaed7177 pine-dontbeevil: update kernel, config, more CMA mem (!336)
* Moved more PinePhone related kernel stuff to the upstream
* Added cma=256M so the CSI subsystem doesn't throw out-of-memory errors
  when capturing at higher than 1280x720 resolutions (but it still hangs)
* Removed a lot of modules that get compiled for DVB tuners after
  enableing the camera stuff.

[ci:skip-build]: doesn't finish in time
2019-04-28 23:03:02 +00:00
Martijn Braam
74142b4d67 pine-dontbeevil: Touch and wifi (!331)
* Inverted the X-axis on the touchscreen
* Enabled the driver for the wifi/bluetooth chip and added it to the dts
* Added a horrible hack for making the touchscreen work

This also decreases the kernel version because the previous version I've
used was technically incorrect.

[ci:skip-build]: doesn't finish in time
2019-04-24 13:50:00 +00:00
Martijn Braam
9353bca73f pine-dontbeevil: various dtb improvements (!323)
* Created seperate DTB for the devkit named sun50i-a64-dontbeevil.dts so
  it can easily be edited and the diff remains readable in gitlab
* Added patch to build the new dtb
* Added the ST LIS3MDL to the new dtb (Magnetometer)
* Added the SensorTek STK3335 to the new dtb (Proximity and ambient
  light sensor)
* InvenSense MPU-6050 to the new dtb (Accelerometer and gyroscope)
* Added CSI bus and OV5640 camera

Remaining issues:
* The STK3310 module doesn't load automatically
* Camera doesn't want to capture but does show up as /dev/video0

[ci:skip-build]: doesn't finish in time
2019-04-18 20:59:11 +00:00
Martijn Braam
9b88689b9d
new device: device-pine-dontbeevil (Don't be evil devkit) (!308)
UART and SSH work and HDMI works in u-boot (just like the pine-a64lts).
It should work now with display and xorg/weston works directly after
installing. Plasma mobile doesn't work directly because both kms and
fbdev are enabled and kms doesn't work yet.

linux-postmarketos-allwinner: update to 5.0.0-rc3 with patches for this
devkit, tested on this device and on pinea64lts (the only other device
using the allwinner kernel).

[ci:skip-build]: won't finish in time
2019-04-11 23:49:03 +02:00
Luca Weiss
8c1ebc31a8
pine-a64lts: add wifi and bluetooth firmware (!153)
Add firmware-rtl8723bt package and Pine wifi and bluetooth firmware
subpackage.

[skip ci]: ollieparanoid will build this MR manually before merging, it
will probably not finish CI within one hour.
2019-01-20 14:47:59 +01:00
Luca Weiss
4edbac805d
pine-a64lts: update kernel to 4.20.0 (!153) 2019-01-20 14:47:50 +01:00
Grant Miller
3fe8d0e053
Use openssl for all kernels (!111)
This is a followup to !109 (merged). Affected packages:
* device/linux-samsung-p4wifi
* device/linux-sony-tulip
* device/linux-teclast-x80pro
* main/linux-postmarketos-allwinner
* main/linux-postmarketos-mainline
* main/linux-postmarketos-qcom
* main/linux-postmarketos-stable

[skip ci] I have confirmed that all 7 kernels still compile.
2018-12-22 23:30:02 +01:00
Martijn Braam
fb23669e29 * Added device package for the pine-a64lts
* Added linux-postmarketos-allwinner kernel
* Added copy of alpines u-boot package with pine-a64lts support
* Changed postmarketos-mkinitfs to add the plain .dtb file to the boot partition
2018-09-16 18:02:06 +02:00