Commit Graph

1138 Commits

Author SHA1 Message Date
Kevin Darbyshire-Bryant
28226ce615 kernel: cake: backport upstream tweaks & fixes
From upstream:
b8392808eb3f sch_cake: add RFC 8622 LE PHB support to CAKE diffserv handling
3f608f0c4136 sch_cake: fix a few style nits
8c95eca0bb8c sch_cake: don't call diffserv parsing code when it is not needed
9208d2863ac6 sch_cake: don't try to reallocate or unshare skb unconditionally

From netdev not yet accepted:
sch_cake: fix IP protocol handling in the presence of VLAN tags

The VLAN tag handling is actually wider than just cake so upstream are
working out how to fix it generically.  We fix it here just for cake.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2020-07-01 12:03:53 +08:00
Kevin Darbyshire-Bryant
ab57215a12 kernel: cake: skb hash backport to 4.19
Commit 7b4877c204 backported to 5.4 only,
backport to 4.19 as well.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2020-07-01 11:59:33 +08:00
Kevin Darbyshire-Bryant
8c5acb30db kernel: cake: renumber backport patches
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2020-07-01 11:58:13 +08:00
AmadeusGhost
45f98e964a x86/4.19: fix build for crypto ccp module
cherry-pick from upstream commit, fix
https://github.com/project-openwrt/openwrt-kisco/issues/46
2020-06-29 11:30:10 +08:00
AmadeusGhost
9bfbdcb765 Merge Lean's source 2020-06-28 17:50:37 +08:00
Hauke Mehrtens
b9e6f160bb ath79: Fix ubnt_edgeswitch-8xp DEVICE_PACKAGES
switch-bcm53xx-mdio does not exists, use kmod-switch-bcm53xx-mdio
instead.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Cc: Tobias Schramm <tobleminer@gmail.com>
2020-06-27 12:37:30 +08:00
Rogan Dawes
6a51ed965c sunxi: add text referencing Allwinner H3 and H5 CPUs
This makes it a little easier to figure out which options to choose.

Signed-off-by: Rogan Dawes <rogan@dawes.za.net>
2020-06-27 12:33:18 +08:00
Florian Eckert
9d239cfc19 kernel: add pcengines-apu2 module description
Add a module description for the new pcengnies-apu2 device driver.
This driver supports the front button and LEDs on the PC Engines
APUv2/APUv3 boards.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-06-27 12:26:48 +08:00
Sungbo Eo
9b25a707a9 x86: avoid underscore in package name
As 07e1d88d7b ("kernel: avoid underscore in *6lowpan package names") shows,
underscores might cause build failures. Replace underscore with dash.

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
2020-06-27 12:26:22 +08:00
CN_SZTL
324d347beb
kernel: bump 4.19 to 4.19.130
Refreshed all patches.

Resolve conflicted:
* 834-ledtrig-libata.patch

Remove conflicted:
* 526-PCI-aardvark-disable-LOS-state-by-default.patch

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-06-26 09:03:47 +08:00
CN_SZTL
17a25c5a48
kernel: bump 4.14 to 4.14.186
Refreshed all patches.

Remove conflicted:
* 526-PCI-aardvark-disable-LOS-state-by-default.patch

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-06-25 23:30:20 +08:00
AmadeusGhost
19f408b239 ipq806x: m520: enable tca1116 chips from chilauhe 2020-06-25 22:36:19 +08:00
doveki
0d171461ff ramips: mt7621: add support for Xiaomi Mi Router 4 2020-06-25 20:54:14 +08:00
coolsnowwolf
c2134e0e18 x64: Mellanox Connect-X 40Gbps card by default 2020-06-25 16:20:13 +08:00
coolsnowwolf
b499b71dd1
Merge pull request #4870 from AmadeusGhost/amend
ramips: add support for Xiaomi R2100 (Black)
2020-06-25 15:37:43 +08:00
CN_SZTL
00ae0000fb
kernel: bump 4.19 to 4.19.129
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-06-24 18:16:11 +08:00
coolsnowwolf
378ca0f03e x64: add EFI Image boot from emmc SSD support 2020-06-23 23:44:27 +08:00
AmadeusGhost
4cf0a1154f Merge Lean's source 2020-06-23 18:36:07 +08:00
AmadeusGhost
e0305c807a r8168: cancel default selection 2020-06-23 10:45:16 +08:00
AmadeusGhost
5240af2247 ramips: add support for Xiaomi R2100 (Black) 2020-06-21 16:09:39 +08:00
CN_SZTL
3d22e5476a
kernel: bump 4.14 to 4.14.185
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-06-20 20:32:11 +08:00
CN_SZTL
efb4e468a8
kernel: bump 4.9 to 4.9.228
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-06-20 18:49:30 +08:00
coolsnowwolf
ecbbfcf25e ar71xx: unlock GL.net uboot part 2020-06-17 17:50:02 +08:00
Sven Eckelmann
a3aabfa96a ipq40xx: essedma: Disable TCP segmentation offload for IPv6
It was noticed that the the whole MAC can hang when transferring data from
one ar40xx port (WAN ports) to the CPU and from the CPU back to another
ar40xx port (LAN ports). The CPU was doing only NATing in that process.

Usually, the problem first starts with a simple data corruption:

  $ wget https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-10.4.0-amd64-netinst.iso -O /dev/null
  ...
  Connecting to saimei.ftp.acc.umu.se (saimei.ftp.acc.umu.se)|2001:6b0:19::138|:443... connected.
  ...
  Read  error at byte 48807936/352321536 (Decryption has failed.). Retrying.

But after a short while, the whole MAC will stop to react. No traffic can
be transported anymore from the CPU port from/to the AR40xx PHY/switch and
the MAC has to be resetted.

The whole problem can be avoided by disabling IPv6 TSO for this ethernet
MAC driver.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Acked-by: John Crispin <john@phrozen.org>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2020-06-15 12:08:26 +08:00
David Bauer
b8f9892535 ipq40xx: use zImage for EX6100v2 and EX6150v2
The NETGEAR EX61500v2 and EX6150v2 U-Boot does not support booting LZMA
compressed images. Currently, they are using GZIP compressed kernels,
which results in ledd flash being available to the root and overlay
filesystems.

Using a zImage results in a smaller kernel and therefore increases
available space for rootfs and overlayfs.

Size reduced: ~1.1 MiB

Signed-off-by: David Bauer <mail@david-bauer.net>
2020-06-14 11:18:52 +08:00
DENG Qingfang
ad618bc6fb ipq40xx: disable DSA and Switchdev
ipq40xx is still using swconfig based switch management. This might
change in he future, however disable the DSA and Switchdev support for
now.

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
[rephrased commit message]
Signed-off-by: David Bauer <mail@david-bauer.net>
2020-06-14 11:18:13 +08:00
CN_SZTL
ac60170397
kernel: bump 4.19 to 4.19.128
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-06-12 23:14:36 +08:00
CN_SZTL
e074e65b05
kernel: bump 4.14 to 4.14.184
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-06-12 18:00:37 +08:00
CN_SZTL
5d9b16cb7d
kernel: bump 4.9 to 4.9.227
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-06-11 17:58:48 +08:00
Christian Lamparter
90f4c469d8 ath79: wndr3700 series: fix wifi range & throughput
Based on the PCB pictures, the WNDR3700(v1) really had eight
independent antennae. Four antennae for each radio and all of
those were printed on the circut board.

Reported-by: Luca Bensi
Reported-by: Maciej Mazur
Reported-by: Hannu Nyman <hannu.nyman@iki.fi>
Debugged-by: Hannu Nyman <hannu.nyman@iki.fi>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2020-06-11 11:59:39 +08:00
Kevin Darbyshire-Bryant
1201400000 kmod-sched-cake: switch to in-tree cake for 4.19+
Use in tree version of cake for kernels 4.19+ and backport features from
later kernel versions to 4.19.

Unfortunately PROVIDES dependency handling produces bogus circular
dependency warnings so whilst this package and kmod-sched-cake-oot
should be able to PROVIDE kmod-sched-cake this doesn't work.

Instead, remove the PROVIDES option and modify package sqm-scripts to
depend on the correct module independently.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2020-06-07 11:58:58 +08:00
Stijn Tintel
5d38bc7b6f bcm27xx: fix unmounting /boot after sysupgrade
Due to a typo, /boot is not properly unmounted after copying the backup
file to it. Fix the typo to solve this.

Fixes: 246916ddf4 ("brcm2708: use x86's upgrade scripts for all rpi targets")
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2020-06-07 11:23:31 +08:00
Stijn Tintel
081d1e3327 bcm27xx: backup /boot/cmdline.txt and restore early
If you want to use the Raspberry Pi UART, "console=serial0,115200" needs
to be removed from the kernel cmdline. This is done by editing
/boot/cmdline.txt. However, this file is not currently backed up during
sysupgrade, so this effectively breaks HATs that require the use of the
UART every sysupgrade.

Backup this file during sysupgrade, and restore it before rebooting.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2020-06-07 11:18:58 +08:00
CN_SZTL
8cd0788ad1
kernel: bump 4.19 to 4.19.126
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-06-06 20:15:29 +08:00
CN_SZTL
fd2d237183
kernel: bump 4.14 to 4.14.183
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-06-06 19:47:17 +08:00
AmadeusGhost
14f1629629 autocore: add ipq806x support
Fix https://github.com/project-openwrt/openwrt/issues/156
Fix https://github.com/project-openwrt/openwrt-kisco/issues/44
2020-06-06 18:50:38 +08:00
AmadeusGhost
f892bcdf96
treewide: adjust sysupgrade script (#4720)
This commit fix sysupgrade failed for bcm27xx.
2020-06-06 12:36:21 +08:00
Florian Eckert
4c5ac36835 kernel: add gpio-it87
Since commit 910df3f06c we have build in
on all X86/64 platforms the gpio-it87 driver.

Since this change I am getting the following error message on boot.
 > kern.err kernel: [    1.009416] gpio_it87: no device

I do not have this device on my system. To prevent the nonsensical
message and the loading of the module I have added this as a package, so
that it can be installed later or during image building.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Reviewed-by: Philip Prindeville <philipp@redfish-solutions.com>
2020-06-04 12:31:05 +08:00
Johann Neuhauser
2bd2ddf83d ath79: phy-ar7200-usb: do not print error on defered init
This is only a cosmetic correction, as the driver works as expected.
However, the error message confuses users about a missing reset definition.

On a defered init we don't see the following error message now:
[    0.078292] ar7200-usb-phy usb-phy: phy reset is missing

Tested-by: Lech Perczak <lech.perczak@gmail.com>
Signed-off-by: Johann Neuhauser <johann@it-neuhauser.de>
2020-06-04 12:25:42 +08:00
David Bauer
3954894141 ar71xx: correct button type for TL-MR3020 mode slider
The TP-Link TL-MR3020 has a three-state mode slider which was previously
integrated as a button (EV_KEY). This led to spurious activations of
failsafe mode.

Set the type for the button to switch (EV_SW), to avoid unintended
activations of failsafe mode.

Related: commit 27f3f493de ("gpio-button-hotplug: unify polled and
interrupt code")

Signed-off-by: David Bauer <mail@david-bauer.net>
2020-06-01 12:04:37 +08:00
Lech Perczak
de4bff44f0 ar71xx: fix reset key for TP-Link TL-WR802N V1/V2
During porting support for this router to ath79 target
it was discovered that GPIO mapping was incorrect (GPIO11 active high).
Correct mapping for both V1 and V2 is GPIO12 active low.

Default configuration from GPL source for V2 explicitly states this, and
this was confirmed experimentally on ath79 by looking on
/sys/kernel/debug/gpio. Correctness of this was also validated for V1 by
cross-flashing vendor firmware for V1 on V2 hardware, in which reset
button also worked.

Fix it.

Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
[slightly adjust commit title]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-06-01 12:03:28 +08:00
Adrian Schmutzler
e2d9339d8c ath79: fix LEDs for GL.inet GL-AR150
Since the wireless LED was used for boot and set up with a DT
trigger, the WiFi indication hasn't worked on ath79 at all.

In addition, a look into the manual revealed that the OEM
configuration is as follows:

LED 1 (green): power
LED 2 (green): configurable
LED 3 (red): wireless

So, let's just keep the WiFi trigger and convert the rest to its
"intended" use.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-06-01 12:01:59 +08:00
AmadeusGhost
6bc29f9596 generic: 4.19: add missing config 2020-05-31 13:50:02 +08:00
CN_SZTL
7daa7bd280
target/bcm27xx: enable audio by default 2020-05-31 13:31:52 +08:00
CN_SZTL
f69592eaf0
target/x86|bcm27xx: adjust default packages 2020-05-31 08:58:09 +08:00
CN_SZTL
d46a0e7565
kernel: bump 4.19 to 4.19.125
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-05-30 21:59:37 +08:00
CN_SZTL
18b3e79112
kernel: bump 4.14 to 4.14.182
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-05-30 21:59:32 +08:00
CN_SZTL
964693e535
kernel: bump 4.9 to 4.9.225
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-05-30 21:59:19 +08:00
AmadeusGhost
a273d13857 Merge Lean's source 2020-05-30 12:25:05 +08:00
Adrian Schmutzler
f819bcdaaf ar71xx: fix splitting firmware partition for TL-WR902AC v1
The -O option for the tplink-v1-header was missing for the TP-Link
TL-WR902AC v1, while safeloader and MTDPARTS where set up with a
single firmware partition.

This led to bootloops after using sysupgrade.

Fixes: FS#3118

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-05-30 11:30:59 +08:00