Commit graph

53 commits

Author SHA1 Message Date
Aditya Prayoga
1ec2a163fe mvebu-next: helios4: Add Wake on LAN support
Interrupt pin of the Ethernet PHY is connected to GPIO. The PHY can be
configured to raise interrupt when it received WoL magic packet.

This patch use gpio-keys as wakeup source for Wake on LAN as currently
there is no way to use the GPIO directly under mvneta driver.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>
2019-02-12 10:34:30 +08:00
Aditya Prayoga
8cac6dba94 kernel: mvebu-next: Add Wake on GPIO support
The SoC provides several waking options sourced by different peripherals
to take the system out of power save modes. One of the options is Wake
on GPIO.

This patch implements missing function to support gpio as wakeup source
and properly route it to upper interrupt controller (Arm GIC).

Signed-off-by: Aditya Prayoga <aditya@kobol.io>
2019-02-12 10:34:30 +08:00
Igor Pecovnik
9758711ed4 [ general ] Attach Realtek 8811, 8812, 8814 and 8821 drivers source, remove our old patches, adjust configs, tested on all combinations 2019-02-07 15:24:06 +01:00
Igor Pecovnik
cbfcd85715 [ dvbsky S960 ] User request https://forum.armbian.com/topic/9318-nanopi-neo2-kernel-update-for-patch-dvbsky-s960 2019-01-23 18:55:17 +01:00
Aditya Prayoga
99a377d647 kernel: mvebu-next: Reduce performance impact on libata led trigger
previous version of the patch has slightly higher performance impact
compared to disk activity trigger.
This updated patch should have similar impact as disk activity trigger.
2018-12-07 10:13:32 +08:00
aprayoga
e71d1560f0 Helios4: various updates (#1161)
* helios4: next branch use u-boot 2018

use new u-boot based on upstream 2018

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* helios4: Tweak fancontrol configuration

Adjusted MINSTART and MINSTOP to suit both old and new fan.
Adjusted TEMP threshold so fan would stop or run in minimal speed when
the system idle.
Fixed wrong MINPWM value.

URL:https://wiki.kobol.io/pwm/#configuration-file
Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* kernel: mvebu-next: use upstream helios4 dts

Helios4 device tree has been merged on upstream since 4.19.
Rework the patch to produce same device tree.

URL:https://patchwork.kernel.org/patch/10449393/

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* Helios4: Use boot-mvebu-next bootscript

Use boot-mvebu-next.cmd that make use of upstream's Generic Distro
Configuration.
Since loadaddr and fdt_addr varibales are no longer required, remove the
patch.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* Helios4: mvebu-next: Add workaround for SPI and SATA concurrent access issue

Concurrent access on SPI NOR and SATA drives can lead to unstable SATA.
Therefore as workaround, disable SATA controller when SPI flash access
is needed and make it as user configurable item in armbianEnv.txt

This workaround might applies to Clearfog too.

Refer to
Commit 59af84c07c ("Helios4: Add SPI bootloader install feature
(#1126)")

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* Bootscripts: Fixed boot-mvebu-next.cmd

The environment setting (armbianEnv.txt) is loaded to RAM located on
${load_addr} but the env import use wrong address (${pxefile_addr_r}).

bootargs still expect ${boot_interface} which carried over from boot-
marvell.cmd. Upstream's distro configuration use ${devtype} instead.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>
2018-11-23 15:39:23 +01:00
Igor Pecovnik
28ac7a3683 Realtek 881xAU patch cleanup and adjustement for 4.19.y 2018-10-10 17:03:21 +02:00
Igor Pecovnik
96ca6f0e07 MVEBZ default upstream patches, config ajdustement, remove deprecated patches, adjusted build targets 2018-08-22 13:26:06 +02:00
Igor Pečovnik
1c11d6ff58 Fixed headers installation. Thanks to Jean Christian
https://forum.armbian.com/topic/2901-orange-pi-pc-stuck-on-compiling-headers
2018-07-25 17:06:37 +00:00
Igor Pečovnik
fa1382d64d Adjust MVEBU packagin patch and configuration 2018-07-24 12:31:31 +00:00
Igor Pecovnik
4af7efa568 Merge MVEBU to stable 2018-05-24 14:18:01 +02:00
Gauthier Provost
6edb347336 Reorder mvebu-next patches 2018-02-16 00:28:56 +08:00
Igor Pecovnik
06008c956d Fix timedrift
https://forum.armbian.com/topic/6387-clearfogpro-huge-timedrift-between-hw-and-sysclock/
2018-02-09 10:37:25 +01:00
Igor Pecovnik
81be74f9c1 Revert "Disable mvebu-next DFS since it affects system timer"
This reverts commit d47ec10c06.
2018-02-09 10:36:49 +01:00
Igor Pecovnik
865a9386d3 mvebu next and default update
- added updated AUFS and updated 8811/12/14AU Wireless driver
- added 8188 to next
- config update
2018-02-08 17:23:27 +01:00
Gauthier Provost
5c25889fb7 Add missing ATA-port-LED-trigger patch for mvebu-{default,next} (#887) 2018-02-07 20:58:13 +03:00
zador-blood-stained
d47ec10c06 Disable mvebu-next DFS since it affects system timer 2018-02-07 20:56:39 +03:00
Gauthier Provost
494d6b0376 Helios4 - kernel patch clean-up / consolidation 2018-02-04 19:00:39 +08:00
Gauthier Provost
2a16922623 Merge remote-tracking branch 'upstream/master' into helios4 2018-02-04 12:44:09 +08:00
Igor Pecovnik
c753d75b3a Separating Makefile patch from 8812/14 on MVEBU next 2018-01-23 22:04:25 +01:00
zador-blood-stained
dd5582f73e Remove unused SFP support patches from mvebu-next
There are some recent upstream patches related to Clearfog SFP support (i.e. https://patchwork.ozlabs.org/cover/854657/) so old ones are obsolete
2018-01-17 19:30:52 +03:00
Igor Pecovnik
8dae7b88f4 Patch for dvb usb issues since kernel 4.9 2018-01-11 19:15:20 +01:00
Igor Pecovnik
751fb4fd13 Remove deprecated DT file. https://github.com/armbian/build/pull/858 2018-01-11 18:59:04 +01:00
Igor Pecovnik
7f7d82a6c1 Helios4 cleanup. Adding default branch 2018-01-07 09:58:52 +01:00
Gauthier Provost
945572718a Helios4 intergation cleanup
- move fancontrol install under a family_tweak func
- remove unused helios4 bootenv and bootscript
- clean-up patches
2018-01-07 13:24:34 +08:00
Gauthier Provost
47c7c814de Remove wrong Helios4 Device Tree patch from mvebu-next. 2018-01-06 23:02:41 +08:00
Gauthier Provost
40db97da68 Merge branch 'helios4_next' into helios4 2018-01-06 19:12:21 +08:00
Igor Pecovnik
a725691d2e Adding Helios4 NEXT (only) target. All basic features are working ... moving to .conf 2018-01-05 20:55:39 +01:00
aprayoga
63fca0a876 enable "next" branch on Helios4 2017-12-30 16:50:32 +08:00
Igor Pecovnik
fe08fceb36 Wireless drivers update for 8812/11/14AU, added where missing. Ready for kernel 4.15.y 2017-12-14 18:06:37 +01:00
zador-blood-stained
763a2fa38d Update mvebu-{next,dev} kernel to 4.14 2017-11-25 17:46:35 +03:00
zador-blood-stained
28502a0472 Clean up executable bits in patch files 2017-11-11 17:49:39 +03:00
Igor Pecovnik
85a6325579 Add RT patches. All are default disabled. 2017-10-31 19:56:01 +01:00
Igor Pecovnik
978e927073 Updated configs, changing 8812/11/14 driver on all next kernels, removing deprecated patch 2017-10-30 16:10:53 +01:00
zador-blood-stained
13e94e58f0 Remove random executable bits from patch files 2017-10-27 16:14:21 +03:00
Igor Pecovnik
3b14cf6ab0 MVEBU NEXT - Clearfog, Helios4. Add recent USB wifis and AUFS 2017-09-23 23:35:57 +02:00
zador-blood-stained
c4e05b961d Update mvebu-next to 4.13 2017-09-06 13:22:18 +03:00
zador-blood-stained
0c4b74faf0 Add missing header files to mainline header packages 2017-07-24 20:11:07 +03:00
zador-blood-stained
887909909f Update mvebu-next to 4.12 2017-07-12 21:58:34 +03:00
Igor Pecovnik
8037db580a Patches adjustements 2017-07-07 08:07:12 +02:00
zador-blood-stained
11f7e6168f Add patch to fix crash related to AES kernel modules 2017-06-23 14:52:53 +03:00
zador-blood-stained
40953b2b68 Revert "Adjusting CUBOX and CLEARFOG next branches for kernel 4.9.x"
This reverts commit f37196cad0.
2017-06-23 14:43:05 +03:00
Igor Pecovnik
f37196cad0 Adjusting CUBOX and CLEARFOG next branches for kernel 4.9.x 2017-06-23 13:03:16 +02:00
zador-blood-stained
1080d5f840 Add ipsec fix for stable mainline kernels (#693) 2017-06-11 16:25:10 +03:00
zador-blood-stained
aa1b59710d Update mvebu-next branch to 4.11 2017-05-14 19:11:33 +03:00
zador-blood-stained
377a3e09e2 Add cpufreq support for mvebu-next 2017-04-15 13:12:05 +03:00
zador-blood-stained
547b7732e9 Small cleanup for mvebu-next patches 2017-04-15 12:42:23 +03:00
zador-blood-stained
3b2bfeecef Cleanup for patches - disable random file mode changes 2017-02-26 20:38:28 +03:00
zador-blood-stained
2dbacb27e3 Update mvebu-next to 4.10.x 2017-02-26 20:33:09 +03:00
Igor Pecovnik
1e07b3fee3 Adjusting patches due to upstream version bump 2017-02-23 18:10:56 +01:00