Commit Graph

1329 Commits

Author SHA1 Message Date
CN_SZTL
8e2e62cb6f
Merge Mainline 2020-04-22 23:18:30 +08:00
John Crispin
c6f0dcd2be generic: fix flow table hw offload
Make the driver work with recent upstream changes.

Signed-off-by: John Crispin <john@phrozen.org>
2020-04-22 17:50:13 +08:00
Koen Vandeputte
5991d737c6 kernel: bump 4.19 to 4.19.117
Refreshed all patches.

Compile-tested on: cns3xxx
Runtime-tested on: cns3xxx

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2020-04-22 11:05:03 +08:00
Petr Štetiar
b181b86a1d kernel: bump 5.4 to 5.4.34
Refreshed patches.

Run tested: qemu-x86-64, apalis, a64-olinuxino
Build tested: x86/64, imx6, sunxi/a53

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-04-22 09:09:42 +08:00
Koen Vandeputte
efb8986b2f
imx6: refresh kernel config
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2020-04-21 23:22:28 +08:00
AmadeusGhost
b8a25fb41c mpc85xx: change thermal to bool 2020-04-20 09:38:01 +08:00
AmadeusGhost
6577d6ae05 bcm47xx/63xx: add kernel 5.4 support 2020-04-20 08:30:18 +08:00
CN_SZTL
8b41b12f5b
Merge Mainline 2020-04-19 19:58:30 +08:00
CN_SZTL
a20ee5eabf
Merge Lean's source 2020-04-19 19:35:34 +08:00
Sungbo Eo
6dc2b70c09 ramips: replace pinctrl property names for ipTIME A1004ns
The pinctrl driver had been replaced with the upstream one in b756ea2a90
("ramips: replace pinctrl property names"), but the initial A1004ns support
patch did not reflect the changes. This commit updates its pinctrl property
names.

Fixes: 9169482f64 ("ramips: add support for ipTIME A1004ns")
Signed-off-by: Sungbo Eo <mans0n@gorani.run>
2020-04-19 19:05:17 +08:00
AmadeusGhost
c33118190f
bcm63xx: refresh patches (#4372) 2020-04-19 14:31:01 +08:00
AmadeusGhost
b7650efddd ramips: sync upstream source code 2020-04-19 12:29:05 +08:00
Mantas Pucka
0bdcaa1189 generic: spi-nor: fix 4-byte opcode support for w25q256
There are 2 different chips (w25q256fv and w25q256jv) that share
the same JEDEC ID. Only w25q256jv fully supports 4-byte opcodes.
Use SFDP header version to differentiate between them.

Fixes broken reboot on 8devices Habanero since f0f35fdac

Signed-off-by: Mantas Pucka <mantas@8devices.com>
2020-04-19 12:21:00 +08:00
CN_SZTL
0def38e520
Merge Upstream 2020-04-18 12:21:38 +08:00
AmadeusGhost
099db68667 ipq40xx: switch to ath10k 2020-04-18 11:40:34 +08:00
Petr Štetiar
51332ec1c3
kernel: bump 5.4 to 5.4.33
Refreshed patches, removed upstreamed patches:

 oxnas: 001-irqchip-versatile-fpga-Handle-chained-IRQs-properly.patch
 oxnas: 002-irqchip-versatile-fpga-Apply-clear-mask-earlier.patch

Run tested: qemu-x86-64, apalis
Build tested: x86/64, imx6, sunxi/a53

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-04-17 22:44:22 +08:00
CN_SZTL
7f9ab3cee4
Merge Upstream 2020-04-17 22:40:20 +08:00
CN_SZTL
1211ab828d
Merge Lean's source 2020-04-17 22:37:21 +08:00
AmadeusGhost
9448672845
kernel: bump to 4.9.219, 4.14.176, 4.19.115 (#4350)
* kernel: bump 4.14 to 4.14.176

Refreshed all patches.

Remove upstreamed:
- 0001-net-thunderx-workaround-BGX-TX-Underflow-issue.patch
- 600-ipv6-addrconf-call-ipv6_mc_up-for-non-Ethernet-inter.patch
- 184-USB-serial-option-add-Wistron-Neweb-D19Q1.patch

Fixes:
- CVE-2020-8648 (potentially)
- CVE-2020-8647
- CVE-2020-8649

Compile-tested on: cns3xxx, octeontx
Runtime-tested on: cns3xxx

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>

* kernel: bump 4.19 to 4.19.115

Remove upstreamed:
- 600-ipv6-addrconf-call-ipv6_mc_up-for-non-Ethernet-inter.patch
- 184-USB-serial-option-add-Wistron-Neweb-D19Q1.patch

Fixes:
- CVE-2020-8647
- CVE-2020-8648 (potentially)
- CVE-2020-8649

Compile-tested on: cns3xxx
Runtime-tested on: cns3xxx

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>

* kernel: bump 4.9 to 4.9.219

Refreshed all patches.

Altered patches:
- 0026-NET-multi-phy-support.patch

Fixes:
- CVE-2020-8647
- CVE-2020-8648 (Potentially)
- CVE-2020-8649

Compile-tested on: ar71xx
Runtime-tested on: ar71xx

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2020-04-17 11:50:34 +08:00
Koen Vandeputte
e111a8a555
kernel: add support for GD25D05 SPI NOR (5.4)
This chip is used on newer RB912UAG-5HPnD r2 and 922UAGS-5HPacD boards:

Before:

[    0.824562] spi-nor spi0.0: unrecognized JEDEC id bytes: c8 40 10 c8 40 10
[    0.831607] spi-nor: probe of spi0.0 failed with error -2

After:

[    0.825347] spi-nor spi0.0: gd25d05 (64 Kbytes)
[    0.830291] 1 routerbootpart partitions found on MTD device spi0.0
[    0.836577] Creating 1 MTD partitions on "spi0.0":
[    0.841448] 0x000000000000-0x000000010000 : "partitions"
[    0.848418] 4 routerbootpart partitions found on MTD device partitions
[    0.855092] Creating 4 MTD partitions on "partitions":
[    0.860318] 0x000000000000-0x00000000c000 : "routerboot"
[    0.866548] 0x00000000c000-0x00000000d000 : "hard_config"
[    0.872832] 0x00000000d000-0x00000000e000 : "bios"
[    0.878580] 0x00000000e000-0x00000000f000 : "soft_config"

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2020-04-17 05:34:06 +08:00
AmadeusGhost
5ab8650479 ramips: add kernel 5.4 support 2020-04-16 22:15:27 +08:00
AmadeusGhost
04c2018c4f ramips: remove testing-kernrl 2020-04-16 19:53:42 +08:00
AmadeusGhost
d2c3833012 mpc85xx/mvebu/mxs/octeontx/oxnas/sunxi/tegra/zynq: add kernel 5.4 support 2020-04-16 19:38:37 +08:00
AmadeusGhost
caf22aa4ce apm821xx/archs38/armvirt/gemini/imx6/kirkwood/lantiq/malta: add kernel 5.4 support 2020-04-16 18:09:15 +08:00
AmadeusGhost
cc689609d6
ipq806x: 4.19: correct dts for m520 (#4330)
Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-04-16 11:28:05 +08:00
AmadeusGhost
00568e07ed ramips: add basic support for kernel 5.4 2020-04-16 10:00:29 +08:00
AmadeusGhost
ea16f633ac ipq806x: 5.4: add more gmac config for m520
status: fail to startup
2020-04-16 09:06:04 +08:00
CN_SZTL
71bdb47a9b
Revert "ramips: mt7530 disable eee"
This reverts commit 9d1ac8192c.
2020-04-15 21:29:23 +08:00
CN_SZTL
1d9a198011
Merge Upstream 2020-04-15 21:15:07 +08:00
CN_SZTL
06c80d3dd0
Merge Lean's source 2020-04-15 21:06:54 +08:00
Chuanhong Guo
0208bbc1ed
ramips: mt7621: enable lzma-loader for some devices
ubnt er-x/xiaomi/netgear sercomm devices are known to have troble
extracting a big kernel from flash and has support for uncompressed
uimage
This commit uses uncompressed uimage with lzma-loader for these devices
to fix boot issue.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2020-04-15 20:40:57 +08:00
Chen Minqiang
9d1ac8192c
ramips: mt7530 disable eee
This disable eee for mt7530 on LINUX_5_4

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2020-04-15 20:39:55 +08:00
Chuanhong Guo
de6e7cb5d8
ramips: define image recipe for uncompressed uimage with loader
Some devices have bootloaders with broken lzma code resulting in failed
decompression or corrupted kernel code.
This image recipe allows to sacrifice 5KB for OpenWrt LZMA loader and
take over the task of decompress kernel.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2020-04-15 20:38:04 +08:00
Ansuel Smith
a44de85704 ipq806x: add patch to fix broken buttons
From kernel 4.20 msm-gpio driver is broken and cause the
malfunction of the buttons on every ipq806x target.
Add a patch to fix this.

Tested-by: Hannu Nyman <hannu.nyman@iki.fi>
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2020-04-15 19:55:27 +08:00
AmadeusGhost
e7c65ce31c generic: refresh phy driver 2020-04-15 18:05:10 +08:00
AmadeusGhost
61bad53e93 ipq806x: 5.4: rewrite dts 2020-04-15 10:26:33 +08:00
AmadeusGhost
ce149a86b9 ipq806x/4.19: fix error dts for m520
Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-04-15 09:35:18 +08:00
CN_SZTL
f5c9391d0a
ipq806x: add Kernel 5.4 (Testing) 2020-04-15 02:06:48 +08:00
CN_SZTL
90f7bbabb1
bcm27xx/bcm53xx: add Kernel 5.4 (Testing) 2020-04-15 02:02:43 +08:00
CN_SZTL
9fd7fa88c8
target/bcm53xx: adjust nand config 2020-04-15 01:28:16 +08:00
CN_SZTL
20ee2055dc
kernel: bump 5.4 to 5.4.32
Remove upstreamed:
* 746-stable-net-dsa-mt7530-fix-null-pointer-dereferencing-in-por.patch

Refreshed all generic patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-04-15 01:19:50 +08:00
LGA1150
88ecff8632
bcm53xx: enable NAND 2020-04-15 01:05:39 +08:00
CN_SZTL
c5dd056449
mediatek: init kernel 5.4 support 2020-04-15 00:36:20 +08:00
CN_SZTL
b209e03f86
ramips: add Kernel 5.4 (Testing) 2020-04-15 00:30:01 +08:00
CN_SZTL
08d3bda9ab
ramips: mt7621/76x8 add Kernel 5.4 (Testing) 2020-04-14 23:45:24 +08:00
CN_SZTL
6861ca0a6a
ipq806x: init kernel 5.4 support 2020-04-14 23:21:08 +08:00
CN_SZTL
d69b57c2bc
bcm27xx: init kernel 5.4 support 2020-04-14 23:09:10 +08:00
CN_SZTL
e1cde65dc2
bcm53xx: init kernel 5.4 support 2020-04-14 21:39:46 +08:00
CN_SZTL
85887a5586
ramips: init kernel 5.4 support 2020-04-14 20:45:04 +08:00
CN_SZTL
a6c483f2f9
target/ipq40xx: add Kernel 5.4 (Testing) 2020-04-14 20:42:50 +08:00
CN_SZTL
534f1abc20
Merge Upstream 2020-04-14 20:33:17 +08:00
CN_SZTL
86e526f93c
kernel: bump to 4.9.219, 4.14.176, 4.19.115
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-04-14 20:17:38 +08:00
AmadeusGhost
138d9a3926 ipq40xx: 5.4: refresh patches 2020-04-14 16:25:14 +08:00
CN_SZTL
d7ccf4a3dc
ipq40xx: add dts files for kernel 5.4 2020-04-14 09:30:02 +08:00
AmadeusGhost
f7cdc54602
ipq40xx: add missing device config for rt-ac1300uhp (#4300) 2020-04-14 09:22:11 +08:00
CN_SZTL
9daa977cac
target/x86: add Kernel 5.4 (Testing) 2020-04-14 07:03:36 +08:00
CN_SZTL
468ae867b8
target/ipq40xx: init kernel 5.4 support 2020-04-14 05:19:58 +08:00
CN_SZTL
d3f103f38b
target/x86: zen: copy kernel 4.19 config to 5.4 2020-04-14 04:16:07 +08:00
CN_SZTL
0df7c96021
x86_64: add kernel config 2020-04-14 04:12:53 +08:00
Mathias Kresin
adab38ed12
generic: make all phy drivers kernel 5.0 compatible
It adjusts the code to upstream changes from the commit 3c1bcc8614db
("net: ethernet: Convert phydev advertize and supported from u32 to link
 mode")

Signed-off-by: Mathias Kresin <dev@kresin.me>
2020-04-14 03:55:42 +08:00
Mathias Kresin
2111c6e03f
kernel: swconfig: make compatible with kernel 5.2
Since kernel 5.2 within netlink messages the NLA_F_NESTED nested flag is
validated. But swconfig/swlib doesn't set the flag for
SWITCH_ATTR_OP_VALUE_PORTS related netlink messages and assigning ports
to vlans via

  swconfig dev switch0 vlan 1 set ports '0 1 2 3 4 6t'

Errors put with "Failed to set attribute: Invalid input data or
parameter".

Relax the validation rules and use the deprecated functions, to use the
same level of validation as it was till kernel 5.1. Depending on who has
swconfig related netlink messages implemented, there might be more
broken tools out there and we should keep backward compatibility if
possible.

Signed-off-by: Mathias Kresin <dev@kresin.me>
Tested-by: Rafał Miłecki <rafal@milecki.pl>
2020-04-14 02:59:41 +08:00
CN_SZTL
9cbd449674
kernel: init kernel 5.4 support 2020-04-14 00:08:05 +08:00
Rafał Miłecki
a1aeb10921
kernel: backport mtd partition address fix sent upstream
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2020-04-13 23:43:08 +08:00
CN_SZTL
eb020983ca
target/generic: add missing config 2020-04-13 22:21:52 +08:00
AmadeusGhost
e225cb6e02 package: disable duplicate packages 2020-04-13 09:05:10 +08:00
AmadeusGhost
05e01ab1da mtwifi: correct makefile 2020-04-12 22:00:25 +08:00
AmadeusGhost
f19db3103c mtwifi: add dual 7615 support
From Tang Haili dalao, also add new package for dbdc devices.
2020-04-12 17:08:11 +08:00
AmadeusGhost
00d40a40ac
ipq40xx: fix support for Asus RT-AC1300UHP in 4.19 (#4285)
RT-AC1300UHP has 256M memory and does not need to use ath10k-ct-smallbuffers.

Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-04-12 12:04:02 +08:00
Jo-Philipp Wich
12b295cf20
generic: drop 616-net_optimize_xfrm_calls.patch
The conditional check introduced by this patch may trigger a NULL pointer
dereference in case the result of dev_net() is NULL.

Since the purpose of this patch is neither sufficiently explained and since
this patch apparently has never been submitted upstream despite it being in
the pending-* patch directory, I propose to drop it without replacement.

If the performance implications of dropping this patch are found to be
significiant, it should be reintroduced with proper description and
benchmark results.

Ref: https://bugs.openwrt.org/index.php?do=details&task_id=2943
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-12 07:47:50 +08:00
AmadeusGhost
fd72bf35b7 ipq40xx: fix support for Asus RT-AC1300uhp in 4.19
RT-AC1300UHP has 256M memory and does not need to use ath10k-ct-smallbuffers.

Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-04-11 19:54:00 +08:00
AmadeusGhost
dd4357ebf3 ramips: sync upstream source code 2020-04-10 16:18:43 +08:00
CN_SZTL
40d8704d41
linux/mt7621: fix dependency 2020-04-09 18:42:39 +08:00
AmadeusGhost
2cdcee23fb
ipq40xx: device: switch to ath10k-ct (#4239) 2020-04-09 14:00:56 +08:00
lean
12b558bbd4 amule: dyn linked 2020-04-09 00:30:15 +08:00
lean
aa8f942bf9 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2020-04-07 22:44:45 +08:00
lean
a1b538a9f5 ipq40xx: switch to ath10k-ct 2020-04-07 22:44:32 +08:00
AmadeusGhost
f095b225dd
bcm27xx: rpi4: enable wifi in first boot (#4220) 2020-04-07 21:59:03 +08:00
CN_SZTL
526a2b4856
Merge Lean's source 2020-04-07 21:24:17 +08:00
lean
2a1f9e6fdf target: add luci-app-music-remote-center 2020-04-07 16:17:22 +08:00
AmadeusGhost
b622523565
ramips: improve support for HiWiFi HC5962 (#4195)
* ramips: increase HiWiFi HC5962 kernel partition to 4M

Increase kernel partition because 2M is insufficient for 4.19
Because the partition changes, previous version of OpenWrt cannot upgrade to this version

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>

* ramips: use all reserved space for HiWiFi HC5962

Idea was from ad6c6361f9 ("ath79: enable all space on Netgear ar9344-based WNDR routers")

These stock partitons: "backup", "hw_panic", "overly", firmware_backup", "opt"
do not contain any device-specific data and can be used for /overlay, resulting in
121M space
Users should erase those partitions with command `mtd erase <partition name>` prior to
upgrading to this version

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>

Co-authored-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2020-04-06 23:29:11 +08:00
CN_SZTL
c0a2da80f2
kernel: bump 4.9 to 4.9.218
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-04-06 01:32:37 +08:00
CN_SZTL
02009b59e6
kernel: bump 4.19 to 4.19.114
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-04-06 01:14:37 +08:00
CN_SZTL
011f13255b
kernel: bump 4.14 to 4.14.175
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-04-06 00:58:37 +08:00
CN_SZTL
b34ff3b4fa
Merge Lean's source 2020-04-05 21:05:21 +08:00
AmadeusGhost
08637d8262
ar71xx: fix alloc_page_frag issue (#4184)
cherry-pick from 819800ab4f
2020-04-05 18:32:06 +08:00
AmadeusGhost
fd954e61e5 ipq40xx: enable ath10k_thermal by default 2020-04-05 11:28:04 +08:00
ElonH
af97c3cda9
mt7621: add MLX5 config 2020-04-04 18:50:04 +08:00
AmadeusGhost
14667d35c2 target: refresh patches 2020-04-04 17:30:28 +08:00
AmadeusGhost
7d597c5347
mac80211: switch to upstream owl-loader driver (#4164)
The Owl Loader (named after the codename that Atheros gave
these devices back in the day) has been accepted upstream.

This patch removes the "misc" driver OpenWrt had and adds
the remaining differences against the version that ships
with 5.4-rc1 into a separate "120-owl-loader-compat.patch"
file that can be cut down once AR71XX is being dealt with.

Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2020-04-04 15:55:52 +08:00
AmadeusGhost
6f0cc1cdf1 mac80211: switch to upstream owl-loader driver 2020-04-04 01:05:15 +08:00
AmadeusGhost
86d19b3700 bcm27xx: rpi4: luci: set architecture 2020-04-03 19:30:07 +08:00
AmadeusGhost
9a65c3ef74
treewide: revert use new procd sysupgrade variable (#4139) 2020-04-02 13:29:45 +08:00
CN_SZTL
d3151feec4
Kernel 4.9: remove outdated patches 2020-04-02 01:08:36 +08:00
AmadeusGhost
ed025d9baa config: enable ext4 rootfs and gzip
Also disable for x86 by default
2020-04-01 16:08:54 +08:00
CN_SZTL
b9749d61aa
kernel: bump 4.9 to 4.9.217
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-04-01 07:52:10 +08:00
CN_SZTL
211fbcc199
kernel: bump 4.19 to 4.19.113
Remove upstream patches:
- 600-ipv6-addrconf-call-ipv6_mc_up-for-non-Ethernet-inter.patch

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-04-01 07:37:21 +08:00
CN_SZTL
9a4de1f5a2
kernel: bump 4.14 to 4.14.174
Remove upstream patches:
- 600-ipv6-addrconf-call-ipv6_mc_up-for-non-Ethernet-inter.patch

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-04-01 06:32:54 +08:00
AmadeusGhost
cbef9a23e4 treewide: Revert improve sysupgrade support 2020-03-31 18:21:47 +08:00
ElonH
77d245bdfd
linux: config missing
Solarflare SFC9000/SFC9100-family MTD support (SFC_MTD) [Y/n/?] (NEW) aborted!
Solarflare SFC9000/SFC9100-family MCDI logging support (SFC_MCDI_LOGGING) [Y/n/?] (NEW) aborted!
2020-03-31 13:17:00 +08:00
CN_SZTL
d73ca39ef4
Merge Lean's source 2020-03-30 21:14:50 +08:00
lean
427e7ec56f luci-app-airplay2: open to all target 2020-03-30 20:33:09 +08:00
lean
32964d4b71 luci-app-airplay2: open to all target 2020-03-30 20:27:31 +08:00
CN_SZTL
900f5680ed
Merge Lean's source 2020-03-30 01:26:49 +08:00
lean
aad03293fa x86: switch and optimize 4.19 kernel 2020-03-30 01:13:43 +08:00
CN_SZTL
f616ec9119
Merge Lean's source 2020-03-29 19:41:54 +08:00
lean
51fc01f88c luci-app-airplay2: add airplay2 for x86 2020-03-29 19:33:36 +08:00
CN_SZTL
347aebcbee
Merge Lean's source 2020-03-29 02:51:12 +08:00
lean
bea383627c x86: adjust some kernel module for k4.9 2020-03-29 02:14:15 +08:00
lean
295e835f0c ajust some default package setting for x86 32bit 2020-03-29 01:33:43 +08:00
CN_SZTL
84e42d098f
Merge Lean's source 2020-03-29 00:32:36 +08:00
SJZ
3b7228f4f5
Remove repeat select zerotier (#4068) 2020-03-28 20:33:42 +08:00
AmadeusGhost
424d547cf1 bcm27xx: rpi4: set vht40 by default 2020-03-28 19:25:31 +08:00
CN_SZTL
d7d5d2e028
x86: fix path for qemu-img
This reverts commit 7346fdca12.
2020-03-27 20:07:02 +08:00
CN_SZTL
33b6c553ad
Revert "Add support for FriendlyARM rk3328 boards routers"
This reverts commit 8259f4fbe8.
2020-03-27 19:59:13 +08:00
CN_SZTL
b1f9dd475d
Merge Lean's source 2020-03-27 17:01:40 +08:00
AmadeusGhost
77b85a3e18
ipq806x: add i2c chips support for m520 (#4055)
This commit enable lm75 and pcf8563 for m520.

Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-03-27 16:56:25 +08:00
CN_SZTL
5c947863e2
kernel: AQC111 driver: add missing linkmode header 2020-03-26 19:55:09 +08:00
AmadeusGhost
964490bd53 ipq40xx: improve support for r619ac
This commit enable 128M nand and disable pcie wake by default, pcie is
designed for 4G network cards instead of wireless network cards. Due to
boardname change, we should flash into ubi via opboot/pbboot.
2020-03-26 15:20:46 +08:00
CN_SZTL
2b448028d3
kernel/4.9: fix aqc111 driver patch 2020-03-25 22:22:17 +08:00
CN_SZTL
4b17e0bef5
kernel: add aqc111 driver 2020-03-25 21:51:33 +08:00
CN_SZTL
983bd2d46f
Merge Lean's source 2020-03-25 19:11:35 +08:00
lean
7346fdca12 Revert "x86: fix path for qemu-img (#3856)"
This reverts commit d291e24956.
2020-03-25 11:43:13 +08:00
Chuanhong Guo
41081ebbd0 mediatek: mt7629: fix ethernet default config
1. fix typo: ucidef_set_interfaces_wan -> ucidef_set_interface_wan
2. change board name to mt7629-rfb to match upstream dts

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2020-03-25 08:25:12 +08:00
CN_SZTL
fbc565c228
Merge Lean's source 2020-03-24 20:20:12 +08:00
lean
83fe56c426 x86: remove core2 target 2020-03-24 18:38:45 +08:00
CN_SZTL
c73762f9cd
Merge Lean's source 2020-03-24 04:47:40 +08:00
AmadeusGhost
548d409854 ipq40xx/806x: add u9300 4G driver
From @ksong008 dalao
2020-03-23 23:32:19 +08:00
AmadeusGhost
b63e2effbd ipq806x: fix i2c support for m520
dmesg:
  [   15.868426] lm75 0-0048: hwmon0: sensor 'lm75'
  [   15.922580] Bluetooth: RFCOMM TTY layer initialized
  [   15.922610] Bluetooth: RFCOMM socket layer initialized
  [   15.926267] Bluetooth: RFCOMM ver 1.11
  [   15.939812] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as
  rtc0

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2020-03-23 19:28:37 +08:00
z826540272
fb6ab3dc56
MT7621 disable switch EEE (#3963)
* revert: ramips: gsw_mt7621: disable PORT 5 MAC RX/TX flow control

revert: ramips: gsw_mt7621: disable PORT 5 MAC RX/TX flow control by default
This revert c8f8e59
The TX/RX flow control is not the cause of the TX timeouts issue

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>

* ramips: net/mediatek fix logical error

ramips: net/mediatek fix logical error

fe_empty_txd() should return `tx_ring_size - 1` on ring empty, and
return 0 on ring full.

* ramips: net/mediatek disable eee

ramips: net/mediatek disable eee

This disable eee for mt7530 ports, it causes the link down/up
issue, which happens when connecting to 100Mbit switch

Fixes: FS#1449

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2020-03-23 18:14:35 +08:00
Daniel Golle
67c58b1bde
oxnas: yet another irqchip related patch
This time DTS fix, again from Sungbo Eo <mans0n@gorani.run>
  ARM: dts: oxnas: Fix clear-mask property

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 9e5a25846f)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-03-23 01:22:59 +08:00
Daniel Golle
7507bee86d
oxnas: backport another fix for irqchip
Sungbo Eo <mans0n@gorani.run> submitted another patch fixing an error
on reboot:
  irqchip/versatile-fpga: Apply clear-mask earlier

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 19af00850f)
2020-03-23 01:22:44 +08:00
CN_SZTL
a225a908b2
Merge Lean's source 2020-03-22 19:07:54 +08:00
AmadeusGhost
fd76b93998
ipq40xx: add missing label for cm520 (#3935) 2020-03-22 16:38:45 +08:00
Xiaok
d291e24956
x86: fix path for qemu-img (#3856) 2020-03-22 10:19:20 +08:00
CN_SZTL
f2fd3a4487
Merge Lean's source 2020-03-21 22:34:01 +08:00
AmadeusGhost
86e132e34b
ramips: fix GHL support for MX25L25635E flash (#3906)
Co-authored-by: Chen Minqiang <ptpt52@gmail.com>
2020-03-21 22:19:30 +08:00
AmadeusGhost
66de6c5050
luci-app-cpufreq: drop untest target (#3915)
Someone reports that it has bug in arm64
2020-03-21 22:17:09 +08:00
CN_SZTL
2e668211bb
oxnas: backport patch fixing hang after reboot 2020-03-21 01:27:39 +08:00
CN_SZTL
dc577dca98
Merge Lean's source 2020-03-21 01:20:39 +08:00
lean
667d594da4 Revert "mt7621: TCP and UDP traffic is forwarded correctly by HWNAT (1% CPU usage)"
This reverts commit cd59b49863.
2020-03-20 14:14:03 +08:00
CN_SZTL
0dec59280f
Merge Lean's source 2020-03-19 23:10:10 +08:00
lean
ed0e83ee6c ramips: mt7530: Implement set_port_link 2020-03-19 22:58:39 +08:00
Chen Minqiang
6dede0f8a5 revert: ramips: gsw_mt7621: disable PORT 5 MAC RX/TX flow control by default
This revert c8f8e59816
The TX/RX flow control is not the cause of the TX timeouts issue

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2020-03-19 21:36:04 +08:00
Koen Vandeputte
3891769528 kernel: bump 4.19 to 4.19.110
Refreshed all patches.

Fixes:
- CVE-2020-8648 (potentially)
- CVE-2020-8647
- CVE-2020-8649

Compile-tested on: cns3xxx
Runtime-tested on: cns3xxx

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2020-03-19 17:50:48 +08:00
AmadeusGhost
c984acad1f imx6: refresh 4.19 patch 2020-03-19 17:50:03 +08:00
AmadeusGhost
92d2f94e3d kernel: bump 4.14 to 4.14.173 2020-03-19 17:40:18 +08:00
AmadeusGhost
2f66cce3e4 fix file permissions 2020-03-19 13:00:46 +08:00
AmadeusGhost
a0e673cec5 RPI_AXIPERF: move to generic config 2020-03-17 22:08:18 +08:00
CN_SZTL
af5cc73e79
Merge Lean's source 2020-03-17 20:40:55 +08:00
lean
5af6281bb9 bcm2711: add RPI_AXIPERF Symbol 2020-03-17 19:44:25 +08:00
AmadeusGhost
b36b079134
Revert 'kernel: update 4.19 patch' (#3850) 2020-03-17 18:47:05 +08:00
AmadeusGhost
ae2698ceb5 Merge Lean's source 2020-03-17 17:30:16 +08:00
lean
3d3a95e5b4 ramips: update mt7530 switch settings 2020-03-17 02:03:47 +08:00
lean
62eb2434f5 kernel: update v4.19 kernel config 2020-03-17 01:56:13 +08:00
AmadeusGhost
a1807936af
ramips: add xiaomi_miwifi-r3 support (#3839)
* ramips: add xiaomi_miwifi-r3 support

Specification:
 - CPU: 580 MHz
 - Flash size: 128 MiB NAND
 - RAM size: 128 MiB DDR2
 - Wireless No1: SoC-integrated: MT7620A 2x2 MIMO 802.11b/g/n (2.4 GHz)
 - Wireless No2: On-board chip: MT7612E 2x2 MIMO 802.11a/n/ac (5 GHz)
 - Switch: MT7620 built-in 10/100 switch w/ vlan support
 - USB: 2.0 x1

Flash instructions:
 1. access ssh via https://wiki.openwrt.org/toh/xiaomi/mir3
 2. in ssh:
      nvram set flag_last_success=1
      nvram set boot_wait=on
      nvram set uart_en=1
      nvram commit
      mtd write lede-ramips-mt7620-miwifi-r3-squashfs-kernel1.bin kernel1
      mtd write lede-ramips-mt7620-miwifi-r3-squashfs-rootfs0.bin rootfs0
      reboot

If you want to revert back to stock fw while on LEDE:
  insert usb stick (FAT/FAT32) with stock fw renamed to miwifi.bin
  fw_setenv flag_last_success 0
  power off the device
  hold the reset button and power on the device, keep holding the reset button until yellow led starts blinking.

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>

* ramips: add mt7620-nand driver for NAND flash

This add the mt7620-nand driver
and enable nand ubifs for subtarget mt7620

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>

Co-authored-by: Chen Minqiang <ptpt52@gmail.com>
2020-03-17 01:39:45 +08:00
Chen Minqiang
6a433f181b ramips: add mt7620-nand driver for NAND flash
This add the mt7620-nand driver
and enable nand ubifs for subtarget mt7620

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2020-03-16 19:29:52 +08:00
Chen Minqiang
ef26af2420 ramips: add xiaomi_miwifi-r3 support
Specification:
 - CPU: 580 MHz
 - Flash size: 128 MiB NAND
 - RAM size: 128 MiB DDR2
 - Wireless No1: SoC-integrated: MT7620A 2x2 MIMO 802.11b/g/n (2.4 GHz)
 - Wireless No2: On-board chip: MT7612E 2x2 MIMO 802.11a/n/ac (5 GHz)
 - Switch: MT7620 built-in 10/100 switch w/ vlan support
 - USB: 2.0 x1

Flash instructions:
 1. access ssh via https://wiki.openwrt.org/toh/xiaomi/mir3
 2. in ssh:
      nvram set flag_last_success=1
      nvram set boot_wait=on
      nvram set uart_en=1
      nvram commit
      mtd write lede-ramips-mt7620-miwifi-r3-squashfs-kernel1.bin kernel1
      mtd write lede-ramips-mt7620-miwifi-r3-squashfs-rootfs0.bin rootfs0
      reboot

If you want to revert back to stock fw while on LEDE:
  insert usb stick (FAT/FAT32) with stock fw renamed to miwifi.bin
  fw_setenv flag_last_success 0
  power off the device
  hold the reset button and power on the device, keep holding the reset button until yellow led starts blinking.

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2020-03-16 15:39:19 +08:00
Sungbo Eo
525c915c75 layerscape: add kmod-i2c-mux to DEVICE_PACKAGES for traverse-ls1043
kmod-i2c-mux-pca954x will not get into images unless kmod-i2c-mux is added to
DEVICE_PACKAGES as well.

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
(cherry picked from commit dffbe668ab)
2020-03-16 15:28:18 +08:00
AmadeusGhost
f8d1eecc08
ramips: sync upstream source code (#3805) 2020-03-15 19:14:19 +08:00
CN_SZTL
6d33f0d6be
Merge Lean's source 2020-03-15 16:12:16 +08:00
AmadeusGhost
60326ac7de CM520-79F: add missing label 2020-03-15 15:39:41 +08:00
lean
21d4809d79 ipq40xx: switch back to kernel 4.14 2020-03-15 14:26:30 +08:00
AmadeusGhost
eff2d6c4a1 ramips: sync upstream source code 2020-03-14 12:15:16 +08:00
AmadeusGhost
7a69201b43 m520: disable gsbi2 serial 2020-03-14 11:29:38 +08:00
AmadeusGhost
722777e783 ramips: change wireless driver to mtwifi for dual 7615 devices 2020-03-14 11:25:12 +08:00
CN_SZTL
43e49f8322
Merge Lean's source 2020-03-13 23:00:10 +08:00
haxc
978c3f7a60
Fix mw4530r forgot to add network settings (#3788)
* ath79: add support for TP-Link TL-WR882N/WR885N/WR886N

This adds support for the various clones of the TL-WR885N recently
supported  ("ath79: add support for TP-Link TL-WR885N v1"):

- tplink,tl-wr882n-v1
- tplink,tl-wr882n-v2
- tplink,tl-wr882n-v3
- tplink,tl-wr885n-v1
- tplink,tl-wr885n-v2
- tplink,tl-wr886n-v2
- tplink,tl-wr886n-v3
- tplink,tl-wr886n-v4
- tplink,tl-wr886n-v5
- tplink,tl-wr886n-v6
- tplink,tl-wr886n-v7

These devices are cloned in ar71xx. All models added in this patch are the same hardware CPU

WR885n V2 was tested.

Specifications:
- SOC: Qualcomm Atheros TP9343-AL3A
- CPU: 750MHz
- Flash: 2 MiB (AH1446 25Q16BS1G E5N102)
- RAM: 16 MiB (Zentel A3S28D40JTP-50)
- WLAN: Qualcomm Atheros TP9343 450Mbps
- Ethernet: Atheros AR8228/AR8229  4 port (100M)

添加TP9343芯片的路由器型号支持,TL-WR882N/WR885N/WR886N系列

* ath79: add support for MerCury MW4530R v1

重新添加水星MW4530R路由器支持

* Repair generate mw4530r firmware default is 8M

* Fix mw4530r forgot to add network settings
2020-03-13 22:52:20 +08:00
AmadeusGhost
df1779b127
ipq40xx: fix build error on 4.14 (#3786) 2020-03-13 21:34:58 +08:00
CN_SZTL
262363d79c
target/ipq40xx: update Kconfig for kernel 4.14 2020-03-13 21:07:58 +08:00
CN_SZTL
24bdd6f0fb
target/x86: add missing symbol for kernel 4.9 2020-03-13 20:47:36 +08:00
AmadeusGhost
6cc2fcb777 XiaoMi R3P: change wireless driver to mtwifi 2020-03-13 19:20:15 +08:00
CN_SZTL
e17aca712d
Merge Lean' ssource 2020-03-13 18:34:46 +08:00
lean
8ecd6c8b3c kernel: fix 4.9 sfe patch 2020-03-13 15:42:21 +08:00
AmadeusGhost
bbb241bf2a
generic-4.9: fix error patch (#3776)
This commit fix  39edfa9.
2020-03-13 14:28:09 +08:00
AmadeusGhost
39edfa99bd
generic: refresh patch (#3774)
* generic-4.19: refresh patch

* generic-4.9: refresh patch

cherry-pick 2515a5e from @1715173329 dalao
2020-03-13 14:05:24 +08:00
lean
c9fe160157 kernel: bump 4.9 to 4.9.215 2020-03-13 12:17:42 +08:00
lean
3bef40a0cb kernel: bump to 4.14.172 / 4.19.108 2020-03-13 12:11:40 +08:00
AmadeusGhost
f2f7de06ef hack-4.19: refresh patch 2020-03-13 11:50:45 +08:00
lean
cd59b49863 mt7621: TCP and UDP traffic is forwarded correctly by HWNAT (1% CPU usage) 2020-03-13 11:43:59 +08:00
Chen Minqiang
ab6b020a65 kernel: fix crash nf_xfrm_me_harder 2020-03-13 11:25:44 +08:00
Chuanhong Guo
639dd37fd7 ramips: mt76x8: pinctrl: add a hack for ESD_MODE bit in GPIO1_MODE
This bit is used to specify sdxc pinmap for mt76x8. Details available
in patch description.

To properly solve this problem and the other pinctrl hack in mtk-mmc
driver we'll need to write a dedicated pinctrl driver for mt76x8,
with the support for configuring AGPIO_MODE and RGCTL registers as
well as specially handling GPIO reservation/pinctrl setup for ESDMODE.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2020-03-13 11:15:47 +08:00
lean
8b4a939c56 kernel: backport out-of-memory fix for non-Ethernet devices (zerotier, mwan3 etc...) 2020-03-13 11:15:36 +08:00
lean
9db10a8cb2 ipq40xx: Qualcomm Crypto Engine fixes 2020-03-13 09:45:45 +08:00
AmadeusGhost
fb56108243 ipq806x: add i2c devices support for m520
This commit enable lm75 and pcf8563 for m520.

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2020-03-12 21:38:09 +08:00
CN_SZTL
22452590e9
Merge Lean's source 2020-03-12 19:42:03 +08:00
LEAN-ESX
de64f40b56 ipq40xx: switch to kernel 4.19 2020-03-12 04:36:40 -07:00
CN_SZTL
1dba06c12d
Merge Lean's source 2020-03-11 23:57:43 +08:00
haxc
071645c698
Repair generate mw4530r firmware default is 8M (#3732)
* ath79: add support for TP-Link TL-WR882N/WR885N/WR886N

This adds support for the various clones of the TL-WR885N recently
supported  ("ath79: add support for TP-Link TL-WR885N v1"):

- tplink,tl-wr882n-v1
- tplink,tl-wr882n-v2
- tplink,tl-wr882n-v3
- tplink,tl-wr885n-v1
- tplink,tl-wr885n-v2
- tplink,tl-wr886n-v2
- tplink,tl-wr886n-v3
- tplink,tl-wr886n-v4
- tplink,tl-wr886n-v5
- tplink,tl-wr886n-v6
- tplink,tl-wr886n-v7

These devices are cloned in ar71xx. All models added in this patch are the same hardware CPU

WR885n V2 was tested.

Specifications:
- SOC: Qualcomm Atheros TP9343-AL3A
- CPU: 750MHz
- Flash: 2 MiB (AH1446 25Q16BS1G E5N102)
- RAM: 16 MiB (Zentel A3S28D40JTP-50)
- WLAN: Qualcomm Atheros TP9343 450Mbps
- Ethernet: Atheros AR8228/AR8229  4 port (100M)

添加TP9343芯片的路由器型号支持,TL-WR882N/WR885N/WR886N系列

* ath79: add support for MerCury MW4530R v1

重新添加水星MW4530R路由器支持

* Repair generate mw4530r firmware default is 8M
2020-03-11 23:03:04 +08:00
AmadeusGhost
af3376f733 dir-878: change wireless driver to mtwifi 2020-03-11 16:36:28 +08:00
Leon M. George
dd74723386 ipq40xx: add cpximg to flash Compex WPJ428 via bootloader
Generate a cpximg that is compatible with the cpximg loader in Compex' u-boot.
The cpximg loader can be started either by holding the reset button during power
up or by entering the u-boot prompt and entering 'cpximg'.
Once it's running, a TFTP-server under 192.168.1.1 will accept an image
appropriate for the board revision that is etched on the board (e.g. 6A04).

The image can be pushed using tftp:
  tftp -v -m binary 192.168.1.1 -c put openwrt-ipq40xx-generic-compex_wpj428-squashfs-cpximg-6a04.bin

cpximg files can also be used with the sysupgrade utility in stock images.
(add SSH key in luci for root access)

In mkmylofw_32m, the calculation of the "partition size" has been preferred
to just padding the partition as this will result in less block transfers
during flashing (while the additional complexity is bearable).

Signed-off-by: Leon M. George <leon@georgemail.eu>
Co-developed-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-03-11 09:00:53 +08:00
AmadeusGhost
8ba4d0d346 bcm27xx: fix error patch
This commit fix efc4ae1
2020-03-11 08:28:42 +08:00
CN_SZTL
2515a5e031
kernel/4.9: refresh all patches 2020-03-11 00:46:32 +08:00
CN_SZTL
4b0ab60da2
target/generic: fix kernel419 config 2020-03-11 00:24:21 +08:00
Koen Vandeputte
efc4ae1c12
kernel: bump 4.9 to 4.9.215
Refreshed all patches.

Compile-tested on: ar71xx
Runtime-tested on: ar71xx

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2020-03-10 22:23:13 +08:00
CN_SZTL
93f4e20f3f
Merge Lean's source 2020-03-10 22:18:01 +08:00
AmadeusGhost
252c766ae3
kernel: generic: add missing config symbol (#3710)
* kernel: generic: add missing 4.19 config symbol

* kernel: generic: add missing 4.14 config symbol
2020-03-10 22:01:50 +08:00
AmadeusGhost
6486cafc92 kernel: generic: add missing config symbol 2020-03-10 20:35:55 +08:00
AmadeusGhost
abe8be8efe ramips: sync upstream source code 2020-03-10 15:55:08 +08:00
Koen Vandeputte
46d074fa34 kernel: bump 4.19 to 4.19.108
Refreshed all patches.

Compile-tested on: cns3xxx
Runtime-tested on: cns3xxx

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2020-03-10 11:25:26 +08:00
Koen Vandeputte
aee0dfa544 kernel: bump 4.14 to 4.14.172
Refreshed all patches.

Compile-tested on: cns3xxx
Runtime-tested on: cns3xxx

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2020-03-10 11:16:01 +08:00
CN_SZTL
1bb6d308a1
Merge Lean' source 2020-03-10 00:50:35 +08:00
Aes64X
af3c61718c
Update mach-hiveap-121.c (#3693)
照抄官方主线,用于修复AeroHive AP-121 千兆有线丢包问题,在我的设备上测试通过。估计很少人用这玩意。
2020-03-10 00:34:13 +08:00
CN_SZTL
f0b6095d3b
Merge Lean's source 2020-03-09 17:23:38 +08:00
AmadeusGhost
4c6aeede97
ipq40xx: improve ASUS RT-AC58U support (#3680)
Using ath10k-ct-smallbuffers instead of ath10k, avoid memory explosion.

Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-03-09 16:33:28 +08:00
CN_SZTL
42808701c2
luci-app-ssr-plus: fix typo 2020-03-08 15:34:33 +08:00
Alan Swanson
6a47bccc3e mediatek: update uci-defaults for renamed smp packet steering option
Leave as enabled by default for mediatek. Also remove obsolete
settings from when packet steering was moved from netifd to a
simplified hotplug script.

Signed-off-by: Alan Swanson <reiver@improbability.net>
2020-03-08 12:15:13 +08:00
David Bauer
efc8da5296 ar71xx: correct AVM FRITZ Repeater 450E WPS button flag
The AVM FRITZ!WLAN Repeater 450E's WPS button is not active low.

Correct the active low flag to avoid unintenional activation of
failsafe mode on boot.

Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 1d4f2ca610)
2020-03-08 12:10:18 +08:00
Yousong Zhou
dd237a0ed6 ramips: mt7530: more detailed output for unexpected etag_ctrl
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-03-08 12:05:04 +08:00
Yousong Zhou
f8f41704ce ramips: mt7530: remove redundant global attrs for port mirroring
Global attributes enable_mirror_tx/enable_mirror_rx depend on runtime
value of another global attribute mirror_source_port which just resides
in the memory

The same functionality can be achieved by directly setting port
attribute of the same names.  E.g. the following two groups of commands
achieve the same thing

	swconfig dev switch0 set mirror_source_port 3
	swconfig dev switch0 set enable_mirror_tx 1
	swconfig dev switch0 set mirror_source_port 4
	swconfig dev switch0 set enable_mirror_tx 1

	swconfig dev switch0 port 3 set enable_mirror_tx 1
	swconfig dev switch0 port 4 set enable_mirror_tx 1

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-03-08 12:03:02 +08:00
Adrian Schmutzler
b9687c73af ramips: fix and tidy up DTS for D-Link DIR-810L
This patch addresses several issues for D-Link DIR-810L:

- add correct button codes
- harmonize button node names
- use generic flash@0
- remove unused pin groups from state_default
- improve sorting of properties

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Tested-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
2020-03-08 12:00:21 +08:00
Adrian Schmutzler
27e830fa55 ramips: add support for NETGEAR R6700v2/AC2400
SoC: MediaTek MT7621AT
RAM: 256M DDR3
FLASH: 128M NAND
WiFi: MediaTek MT7615N an+ac
MediaTek MT7615N bgn
ETH: MediaTek MT7621AT
BTN: 1x Connect (WPS), 1x WLAN, 1x Reset
LED: Power (white/amber), WAN(white/amber), 2.4G(white), 5G(white),
USB(white) , GuestWifi(white) 4x LAN(white/amber), Wifi Button(white),
WPS Button(white)

Installation:

Login to netgear webinterface and flash factory.img

Based on a discontinued GitHub Pull Request by
kuyokushin <codenamezero@protonmail.com>

https://github.com/openwrt/openwrt/pull/2545

NOTE: Netgear R6700 v2 have five clones: R6900 v2, R7450, Nighthawk
AC2400, Nighthawk AC2100 and already added R6800. Rest of them  should
be really easy supportable. Image for R6700v2 should work perfectly with
them. Please refer:

https://github.com/openwrt/openwrt/pull/2614

Tested-by: Víctor Gibrán <victorgibranmz@hotmail.com> [R6700v2]
Tested-by: John Landrum <jl31m10@yahoo.com> [AC2400]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
[add guest led to mt7621_netgear_r6700-v2.dts end edit commit message]
Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
2020-03-07 23:20:38 +08:00
AmadeusGhost
a170c3156d ramips: sync official commit for D-Link DIR-810L and Netgear R6800 2020-03-07 23:08:06 +08:00
AmadeusGhost
1f313abd5a m520: fix spi naming 2020-03-06 22:18:10 +08:00
DENG Qingfang
5829672a9a ramips: use all reserved space for HiWiFi HC5962
Idea was from ad6c6361f9 ("ath79: enable all space on Netgear ar9344-based WNDR routers")

These stock partitons: "backup", "hw_panic", "overly", firmware_backup", "opt"
do not contain any device-specific data and can be used for /overlay, resulting in
121M space
Users should erase those partitions with command `mtd erase <partition name>` prior to
upgrading to this version

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2020-03-06 16:18:10 +08:00
DENG Qingfang
f7df44cdea ramips: increase HiWiFi HC5962 kernel partition to 4M
Increase kernel partition because 2M is insufficient for 4.19
Because the partition changes, previous version of OpenWrt cannot upgrade to this version

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2020-03-06 16:16:53 +08:00
CN_SZTL
ba3bb490e3
Merge Lean's source 2020-03-06 14:02:22 +08:00
LEAN-ESX
7ce3854d32 luci-app-unblockmusic: dependence allow mini-version 2020-03-05 21:56:38 -08:00
CN_SZTL
f1d0b0a615
Merge Lean's source 2020-03-05 22:44:55 +08:00
LEAN-ESX
46009b51d9 ipq40xx: less ess_edma ipv6 log output 2020-03-05 06:18:29 -08:00
AmadeusGhost
c024328960 config-4.19: refresh default config
This commit revert 'config: refresh default config for Raspberry Pi',
and enable ext4 rootfs for target_bcm27xx.
2020-03-05 17:53:53 +08:00
LEAN-ESX
533ef89b74 Revert "x86:add Intel Quick Sync Video hardware encoding and decoding support"
This reverts commit 1c6e4da87a.
2020-03-04 08:03:06 -08:00
AmadeusGhost
dbe97a8a89 Revert "x86: add Intel Quick Sync Video hardware encoding and decoding support"
This reverts commit 1c6e4da87a.
2020-03-04 23:08:04 +08:00
Alan Luck
4c8ded996c ramips: add support for Dlink DIR-878 A1
Specifications:
* SoC: MT7621AT
* RAM: 128MB
* Flash: 16MB NOR SPI flash
* WiFi: MT7615N (2.4GHz) and MT7615N (5Ghz)
* LAN: 5x1000M
* Firmware layout is Uboot with extra 96 bytes in header
* Base PCB is AP-MTKH7-0002
* LEDs Power Green,Power Orange,Internet Green,Internet Orange
* LEDs "2.4G" Green & "5G" Green connected directly to wifi module
* Buttons Reset,WPS,WIFI

Flash instruction:

Upload image via emergency recovery mode via Windows "not working with Linux"
Push and hold reset button (on the bottom of the device) until power led starts flashing (about 10 secs or so) while plugging in the power cable.
Give it ~30 seconds, to boot the recovery mode GUI
Connect your client computer to LAN1 of the device
Set your client IP address manually to 192.168.0.2 / 255.255.255.0.
Call the recovery page for the device at http://192.168.0.1
Use the provided emergency web GUI to upload and flash a new firmware to the device

MAC addresses:

lan      factory 0xe000 *:55 (label)
wan      factory 0xe006 *:58
2.4 GHz  factory 0x0004 *:56
5.0 GHz  factory 0x8004 *:57

Signed-off-by: Alan Luck <luckyhome2008@gmail.com>
2020-03-03 17:08:14 +08:00
AmadeusGhost
478a80a5dc drivers/mtd: update from official 2020-03-03 17:06:29 +08:00
David Bauer
4a0ec77f38 ar71xx: add missing LED migration for Archer C7
When changing the LED names for the Archer C7 to represent the correct
color, a migration for existing UCI entries was not created.

Add a migration to keep existing LED configurations working.

Fixes commit c79c001b59 ("ar71xx: Archer C7 v1 LED names and RFKILL
fixes")

Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 4349d4c682)
2020-03-03 16:38:20 +08:00
CN_SZTL
96907ea9b6
Merge Lean's source 2020-03-03 10:04:04 +08:00
Xiaok
2cef70802e
ar71xx: Add support for TL-WR702N (#3469) 2020-03-02 21:58:19 +08:00
LEAN-ESX
15b0fffbe9 remove luci-app-pptp-server due to insecure 2020-03-02 00:44:02 -08:00
CN_SZTL
71be03297c
Merge Lean's source 2020-03-02 16:29:04 +08:00
LEAN-ESX
b69fa370e6 luci-app-cpufreq: add cpufreq luci for ipq40xx 2020-03-01 23:50:17 -08:00
CN_SZTL
0bb72f58c9
Merge Lean's source 2020-03-02 13:16:47 +08:00
LEAN-ESX
c38bc05d13 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2020-03-01 21:12:49 -08:00
LEAN-ESX
1c6e4da87a x86:add Intel Quick Sync Video hardware encoding and decoding support 2020-03-01 21:12:14 -08:00
Ansuel Smith
e2a04cfbca ipq806x: fix bug in L2 cache scaling
It has been notice a buf in L2 cache scaling where the scaling is not
done proprely if the frequency is set to the initial state before
the new frequency.

From: https://patchwork.kernel.org/patch/10565443/

* The clocks are set to aux clock rate first to make sure the
* secondary mux is not sourcing off of QSB. The rate is then set to
* two different rates to force a HFPLL reinit under all
* circumstances.

In the initial stage of boot to force a new frequency to apply, is
needed to first set the frequency back to the lowest one (aux_rate)
and then to the target one. This force and make sure the controller
actually switch the frequency to the right one. Apply the same
mechanism to L2 frequency scaling. Before scaling to the target
frequency, first set the frequency to the aux_rate to force the
transition, then scale it to the target frequency. Doing the wrong way
can produce unexpected results and could lock the scaling mechanism
until a full reboot is done (Causing a full reset by the krait-cc driver)

From: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=77612720a2362230af726baa4149c40ec7a7fb05

When the Hfplls are reprogrammed during the rate change,
the primary muxes which are sourced from the same hfpll
for higher frequencies, needs to be switched to the 'safe
secondary mux' as the parent for that small window. This
is done by registering a clk notifier for the muxes and
switching to the safe parent in the PRE_RATE_CHANGE notifier
and back to the original parent in the POST_RATE_CHANGE notifier.

This should apply also to L2 scaling... as we can't relly use
the notifier, we manually do this on L2 scaling.

Tested-By: Marc Benoit <marcb62185@gmail.com> [19.07: R7800]
Tested-by: Stefan Lippers-Hollmann <s.l-h@gmx.de> [nbg6817/ipq8065]
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
(cherry picked from commit 5ab9c0b388)
2020-03-02 12:01:48 +08:00
Pavel Kubelun
3779539095 ipq806x: add missing core1 voltage tolerance
Voltage tolerance is accounted per core, not per cpu, so add
missing DT entry.

Tested-By: Marc Benoit <marcb62185@gmail.com> [19.07: R7800]
Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
(cherry picked from commit 77e7d6c20d)
2020-03-02 12:01:19 +08:00
CN_SZTL
e3911c47f6
Merge Lean's source 2020-03-02 11:58:03 +08:00
Xiaok
520ddddf1d
ar71xx: Add support for TL-WDR5800 v1 (#3466) 2020-03-02 11:52:17 +08:00
AmadeusGhost
c62115265e
bcm27xx: update to latest patches and firmware (#3450)
Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-03-01 22:16:48 +08:00
CN_SZTL
32af49a7d3
Merge Lean's source 2020-03-01 15:56:30 +08:00
LEAN-ESX
033cf32ad8 ipq807x: add very basic target support 2020-02-29 22:59:08 -08:00
LEAN-ESX
b787e45705 kernel: 4.14,4.19: disable ARM CE & NEON 2020-02-29 21:46:44 -08:00
AmadeusGhost
cbe0326063 bcm27xx: update to latest patches from RPi foundation 2020-03-01 12:01:42 +08:00
AmadeusGhost
691def3cad
kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3375) 2020-02-29 16:28:07 +08:00
John Crispin
a3daa14ce9 ipq807x: add very basic target support
This is still missing a lot of love but people want to start working on it
so lets give them a common baseline.

Signed-off-by: John Crispin <john@phrozen.org>
2020-02-29 12:05:39 +08:00
AmadeusGhost
fba627a668 ipq40xx: less log output
This commit fix 7dc881
2020-02-29 11:55:00 +08:00
AmadeusGhost
7dc881dd79 kernel: bump to 4.9.214, 4.14.171, 4.19.106
Remove error commit from
15a0701cdd
2020-02-29 01:23:18 +08:00
CN_SZTL
9b037608ca
Merge Lean's source 2020-02-29 00:57:16 +08:00
Yangbo
ab8daea73a
ipq40xx: add support for MobiPromo CM520-79F (#28) (#3378)
From LGA1150 dalao (https://github.com/LGA1150/openwrt)

Warning: The compiled firmware only supports flashing under OpBoot.

MobiPromo CM520-79F is an AC1300 dual band router based on IPQ4019

Specification:

SoC/Wireless: QCA IPQ4019
RAM: 512MiB
Flash: 128MiB SLC NAND
Ethernet PHY: QCA8075
Ethernet ports: 1x WAN, 2x LAN
LEDs: 7 LEDs
      2 (USB, CAN) are GPIO
            other 5 (2.4G, 5G, LAN1, LAN2, WAN) are connected to a shift
	    register

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>

ipq40xx: fix build error for cm520-79f (#30)

This commit fix 94a743ea53

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>

CM520-79F: fix wan port (#33)

This commit fix 223124e

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>

CM520-79F: disable vlan

Co-authored-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-02-28 23:20:23 +08:00
练亮斌
581d6c22cd
luci-app-ssr-plus: add Trojan subscribe support (#3388)
* add tl-wr720n-v3-16m

* luci-app-ssr-plus: support trojan subscribe.
2020-02-28 23:19:38 +08:00
CN_SZTL
3ab67a8217
Revert "kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3318)"
This reverts commit 4d68a12e34.
2020-02-28 20:50:04 +08:00
CN_SZTL
ceb6df1e3b
Revert "Kernel/4.14: move some of function back to tcp (#46)"
This reverts commit bfda6da8a5.
2020-02-28 16:09:13 +08:00
QiuSimons
26d2b82561
Kernel/4.19: patch clean up for 4.19.y (#47) 2020-02-28 14:00:42 +08:00
QiuSimons
bfda6da8a5
Kernel/4.14: move some of function back to tcp (#46) 2020-02-28 13:35:56 +08:00
AmadeusGhost
a906fdff5b avm_fritzbox-4040: fix build error
From https://forum.openwrt.org/t/builderror-ipq40xx/26747/4, but ???
2020-02-27 22:17:43 +08:00
Hauke Mehrtens
e6929ccefd kernel: Add missing includes mtdsplit_*.c
This fixes the following compile problem with kernel 4.9 on lantiq:
drivers/mtd/mtdsplit/mtdsplit_uimage.c:244:34: error: array type has incomplete element type 'struct of_device_id'
 static const struct of_device_id mtdsplit_uimage_of_match_table[] = {
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/mtd/mtdsplit/mtdsplit_uimage.c:245:4: error: field name not in record or union initializer
  { .compatible = "denx,uimage" },

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-02-27 22:15:36 +08:00
CN_SZTL
4d68a12e34
kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3318)
This reverts commit 191ace6dff.
2020-02-27 17:39:41 +08:00
CN_SZTL
59d9e97911
Merge Lean's source 2020-02-27 17:39:13 +08:00
AmadeusGhost
9c87378caa ipq40xx: essedma Time-balanced scheduling
add script to adjust cpu affinity
essedma Time-balanced scheduling:
TX:
CPU:  |3          | |2          | |1          | |0          |
TX-Q: |15-14-13-12| |11-10-09-08| |07-06-05-04| |03-02-01-00|
         ___________|             |             |
         |  ______________________|             |
	 |  |  _________________________________|
         |  |  |
TX-P: |15-11-07-03| |14-10-06-02| |13-09-05-01| |12-08-04-00|
TX-S: |---+--+--+-| |+-----+--+-| |+--+-----+-| |+--+--+----|
       |                |                |                |
RX:    |                |                |                |
CPU:  |3          | |   2       | |      1    | |         0 |
RX-Q: |07-06      | |05-04      | |03-02      | |01-00      |

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2020-02-27 10:59:55 +08:00
AmadeusGhost
4d6a354e86 ipq40xx: correct 'disable default vlan tagging'
The essedma driver was disable default vlan tagging.
2020-02-27 08:51:12 +08:00
QiuSimons
297fa94895
kernel/4.19: fix bbr patch by again and again (#44) 2020-02-26 21:04:24 +08:00
QiuSimons
acaa200e9f
target/4.19: fix bbr patch again (#43)
* quick

* quick fix due to tcp.h changes

Co-authored-by: CN_SZTL <22235437+1715173329@users.noreply.github.com>
2020-02-26 20:10:34 +08:00
QiuSimons
1a79c63fec
kernel/4.19: fix bbr patch(#42) 2020-02-26 19:19:48 +08:00
coolsnowwolf
191ace6dff Revert "kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3318)"
This reverts commit 01ab5cf3c9.
2020-02-26 16:47:18 +08:00
CN_SZTL
33e04642f2
kernel 4.9/4.14: fix label 'err_unlock' used but not defined
Ref: project-openwrt/openwrt@03f6c13
2020-02-26 15:31:34 +08:00
ElonH
03f6c13845
kernel4.19: label 'err_unlock' used but not defined 2020-02-26 15:28:22 +08:00
John Crispin
d13173ae89 mediatek: add latest fixes provided by MTK
Signed-off-by: John Crispin <john@phrozen.org>
2020-02-26 15:21:03 +08:00
CN_SZTL
76c0b6867c
tcp_bbr: adapt cwnd based on ack aggregation estimation (#40)
* Fix issue in 4.14.171kernel (#38)

* [experimental] bbr wifi patch for 4.19 (#39)

* Fix issue in 4.14.171kernel

* [experimental] bbr wifi patch for 4.19

Co-authored-by: QiuSimons <45143996+QiuSimons@users.noreply.github.com>
2020-02-26 14:42:27 +08:00
Chuanhong Guo
5176abcb11 ramips: enable sdxc driver for hc5661a
Since we've fixed AGPIO_MODE setup in sdxc driver, we can enable
SDXC interface for HC5661A now.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2020-02-26 09:45:14 +08:00
LGA1150
0ee12f93a2 hc5761a: enable SD 2020-02-26 09:38:26 +08:00
CN_SZTL
488a847e6e
Revert "BBR Fix (Testing (#37)"
This reverts commit 60552cddea.
2020-02-26 00:09:53 +08:00
QiuSimons
60552cddea
BBR Fix (Testing (#37)
* tcp_bbr: adapt cwnd based on ack aggregation estimation

* Update 607-tcp_bbr-adapt-cwnd-based-on-ack-aggregation-estimation.patch

add missing patch

* Fix (test

Co-authored-by: CN_SZTL <22235437+1715173329@users.noreply.github.com>
2020-02-26 00:04:19 +08:00
CN_SZTL
b41f25bd1a
kernel/4.9: fix IMQ patch 2020-02-25 23:28:03 +08:00
ElonH
6be28554b6
kernel: using IMQ official patches
refs: https://github.com/imq/linuximq
2020-02-25 23:24:58 +08:00
CN_SZTL
d1dcde5e92
kernel/iptables: add modules for qos-gargoyle 2020-02-25 23:03:16 +08:00
AmadeusGhost
fa0d4a6189 CM520-79F: disable vlan 2020-02-25 22:01:08 +08:00
CN_SZTL
94220db7c3
kernel/iptables: fix IMQ support 2020-02-25 20:27:24 +08:00
AmadeusGhost
9f1b8f1812 ipq40xx: sync source code
This commit sync ipq40xx from openwrt and x-wrt.

1. ac58u: use ath10k-ct-smallbuffers instead of ath10k, avoid memory
explosion.
2. hugo-ac1200: It seems that only one device, so move the content of
dtsi to dts.

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>

ipq40xx: add support for ASUS RT-ACRH17/RT-AC82U/RT-AC42U

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>

ipq40xx: easy install for ASUS RT-AC58U/RT-ACRH13

This patch make it easy to flash via web upgrade from factory firmware.

idea from 981213

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2020-02-25 17:26:06 +08:00
QiuSimons
ac0407bb81
add missing patch (#36)
* tcp_bbr: adapt cwnd based on ack aggregation estimation

* Update 607-tcp_bbr-adapt-cwnd-based-on-ack-aggregation-estimation.patch

add missing patch

Co-authored-by: CN_SZTL <22235437+1715173329@users.noreply.github.com>
2020-02-25 16:39:58 +08:00
QiuSimons
81d1612bc7
tcp_bbr: adapt cwnd based on ack aggregation estimation (#35) 2020-02-25 16:05:39 +08:00
CN_SZTL
831dd702a9
Merge Lean's source 2020-02-25 13:45:26 +08:00
AmadeusGhost
01ab5cf3c9
kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3318)
* kernel: bump 4.14 to 4.14.171

Refreshed all patches.

Fixes:
- CVE-2013-1798

Compile-tested on: cns3xxx
Runtime-tested on: cns3xxx

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>

* kernel: bump 4.19 to 4.19.105

Refreshed all patches.

Fixes:
- CVE-2013-1798
- CVE-2019-3016

Compile-tested on: cns3xxx
Runtime-tested on: cns3xxx

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>

* kernel: bump 4.19 to 4.19.106

Refreshed all patches.

Remove upstreamed:
- 950-0786-leds-pca963x-Fix-open-drain-initialization.patch

Compile-tested on: cns3xxx
Runtime-tested on: cns3xxx

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>

* kernel: bump to 4.9.214, 4.14.171, 4.19.106

Co-authored-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2020-02-25 12:24:44 +08:00
CN_SZTL
e4f0bd20dd
Revert "kernel 4.14/4.19: tcp_bbr: Improving TCP BBR performance for WiFi and cellular networks"
This reverts commit b0f06182c6.
2020-02-24 23:31:53 +08:00
CN_SZTL
b0f06182c6
kernel 4.14/4.19: tcp_bbr: Improving TCP BBR performance for WiFi and cellular networks 2020-02-24 22:21:44 +08:00
CN_SZTL
d4152cbf8e
Merge Lean's source 2020-02-24 21:45:27 +08:00
haxc
3cde517a11
ath79: add support for TP-Link TL-WR882N/WR885N/WR886N (#3307)
* ath79: add support for TP-Link TL-WR882N/WR885N/WR886N

This adds support for the various clones of the TL-WR885N recently
supported  ("ath79: add support for TP-Link TL-WR885N v1"):

- tplink,tl-wr882n-v1
- tplink,tl-wr882n-v2
- tplink,tl-wr882n-v3
- tplink,tl-wr885n-v1
- tplink,tl-wr885n-v2
- tplink,tl-wr886n-v2
- tplink,tl-wr886n-v3
- tplink,tl-wr886n-v4
- tplink,tl-wr886n-v5
- tplink,tl-wr886n-v6
- tplink,tl-wr886n-v7

These devices are cloned in ar71xx. All models added in this patch are the same hardware CPU

WR885n V2 was tested.

Specifications:
- SOC: Qualcomm Atheros TP9343-AL3A
- CPU: 750MHz
- Flash: 2 MiB (AH1446 25Q16BS1G E5N102)
- RAM: 16 MiB (Zentel A3S28D40JTP-50)
- WLAN: Qualcomm Atheros TP9343 450Mbps
- Ethernet: Atheros AR8228/AR8229  4 port (100M)

添加TP9343芯片的路由器型号支持,TL-WR882N/WR885N/WR886N系列

* ath79: add support for MerCury MW4530R v1

重新添加水星MW4530R路由器支持
2020-02-24 21:31:36 +08:00
CN_SZTL
91b76395b0
Merge Lean's source 2020-02-24 20:39:26 +08:00
AmadeusGhost
f98ac45a63
ramips: fix mmc driver (#3285)
Since commit f8c55dc ("MIPS: use generic dma noncoherent ops for
simple noncoherent platforms") changed MIPS dma handling, the mmc
driver fails because it doesn't have a dma mask is set.

So set the correct dma mask.

Signed-off-by: NeilBrown <neil@brown.name>
Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>

Co-authored-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2020-02-24 20:26:25 +08:00
AmadeusGhost
57948b63e0
CM520-79F: fix wan port (#33)
This commit fix 223124e

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2020-02-23 20:20:41 +08:00
CN_SZTL
8ba2092ec3
Merge Lean's source 2020-02-22 12:52:04 +08:00
AmadeusGhost
d268405cb9
ramips: sync source code (#3260)
This commit sync ramips source code from openwrt master.

1. ramips: gsw_mt7621: disable PORT 5 MAC RX/TX flow control by default
2. ramips: allow to set switchdev by board in ramips_set_preinit_iface
3. kernel: fix typos in KernelPackage description
2020-02-22 12:39:52 +08:00
LGA1150
445949adbf
ramips: add JD-Cloud router support (#3239)
* generic: support mtd-mac-address-ascii

It supports formats of both 001122334455 and 00:11:22:33:44:55

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

* ramips: add JDCloud

Co-authored-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-02-22 12:26:41 +08:00
CN_SZTL
4f5684f572
Merge Lean's source 2020-02-20 22:04:38 +08:00
coolsnowwolf
35b3616c50 add luci-app-unblockneteasemusic-mini by default 2020-02-20 21:13:54 +08:00
AmadeusGhost
223124e43d
ipq40xx: fix build error for cm520-79f (#30)
This commit fix 94a743ea53

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2020-02-19 21:29:47 +08:00
AmadeusGhost
4857ba0e7e
ipq40xx: add support for MobiPromo CM520-79F (#28)
From LGA1150 dalao (https://github.com/LGA1150/openwrt)

Warning: The compiled firmware only supports flashing under OpBoot.

MobiPromo CM520-79F is an AC1300 dual band router based on IPQ4019

Specification:

SoC/Wireless: QCA IPQ4019
RAM: 512MiB
Flash: 128MiB SLC NAND
Ethernet PHY: QCA8075
Ethernet ports: 1x WAN, 2x LAN
LEDs: 7 LEDs
      2 (USB, CAN) are GPIO
            other 5 (2.4G, 5G, LAN1, LAN2, WAN) are connected to a shift
	    register

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2020-02-19 11:10:39 +08:00
CN_SZTL
25a9d6c304
Merge Lean's source 2020-02-18 13:05:42 +08:00
AmadeusGhost
dcc9b1d8f7
bcm27xx: fix wireless dependence (#3161) 2020-02-18 12:15:28 +08:00
CN_SZTL
5d42060543
Merge Lean's source 2020-02-17 16:18:05 +08:00
Max Zhao
27fdd0819f
bcm27xx: fix permission (#3151) 2020-02-17 15:48:46 +08:00
CN_SZTL
6be9370273
Merge Lean's source 2020-02-17 11:21:21 +08:00