Commit Graph

861 Commits

Author SHA1 Message Date
AmadeusGhost
f58a163622
Revert "ramips: mt7621 default overclock to 1000Mhz" (#6190)
This reverts commit 5be81314bb. Many users
reported that this commit broken their router. The mips platform does not
support changing the operating frequency of cpu while system is running.
Obviously it is more appropriate to use breed to overclock.
2021-01-13 13:59:42 +08:00
AmadeusGhost
a8ddd988b1
ipq40xx/5.4: remove duplicate patches (#6185)
Fixes: 28f854eb5f ("kernel: bump 5.4 to 5.4.86")
2021-01-11 21:27:35 +08:00
lean
28f854eb5f kernel: bump 5.4 to 5.4.86 2021-01-10 15:14:14 +08:00
ericsnow911
f9e5242f90
Update mt7621_xiaomi_mir3p.dts (#6170) 2021-01-10 14:49:52 +08:00
lean
e7115414c8 Revert “ramips: phicomm k2p 32m network auto config” 2021-01-08 23:10:43 +08:00
lean
b039772c02 Revert "ramips: add support for Phicomm K2P 32M flash version (#5861)"
This reverts commit 632b36be39.
2021-01-08 22:57:12 +08:00
lean
f6381d2094 revert: fix k2p 32m reboot problems 2021-01-08 22:55:29 +08:00
dreamcmi
ba907056db
add glinet-mt1300 support (#6142)
* 添加glinet-mt1300支持

* 优化更新mt1300支持
2021-01-04 22:40:47 +08:00
AmadeusGhost
7dcc873eca
kernel: bump 5.4 to 5.4.85 (#6105) 2020-12-28 14:24:26 +08:00
lean
dd9feccea4 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2020-12-24 21:32:20 +08:00
lean
9e2f145432 x86: add support Intel Ethernet Controller I225 Series 2020-12-24 21:32:08 +08:00
AmadeusGhost
f0da89a98b
ramips: fix k2p 32m reboot problems (#6085) 2020-12-23 12:30:07 +08:00
lean
5013d29cdb x64: Add support for AMD Ryzen 3990x max 128 threads 2020-12-23 01:31:10 +08:00
lean
48f9978555 rockchip: use USB host by default on R4S 2020-12-23 00:29:53 +08:00
lean
5be81314bb ramips: mt7621 default overclock to 1000Mhz 2020-12-23 00:18:58 +08:00
lean
2a0b915c53 rockchip: add support for FriendlyARM NanoPi R4S (not stable) 2020-12-21 18:45:26 +08:00
Beginner
f8035eb8a1
kernel: bump 5.4 to 5.4.84 (#6066) 2020-12-21 11:00:13 +08:00
gw826943555
6fa119f2ed
ipq40xx: improve cpu operating points and overclosk to 896Mz (#6049)
this patch improve cpu operating points to 896Mhz and match the clock-latency-ns values in the device tree  for those found inside the OEM device tree and kernel source code
2020-12-18 22:59:41 +08:00
AmadeusGhost
995724bffb
kernel: bump 5.4 to 5.4.83 (#6040) 2020-12-17 23:29:07 +08:00
CN_SZTL
37836e0c3d
rockchip: enable hwRNG for rk3399 by default and remove R4S support (#5916)
* Revert "rockchip: add support for NanoPi R4S"

This reverts commit 6edffa8419.

* rockchip: move hwRNG driver to files

* rockchip: drop hwRNG support for NanoPi R2S

* rockchip: enable hwRNG on rk3399 by default

* rockchip: enable hwRNG crypto engine in Kconfig

* rockchip: sync upstream patch

Co-authored-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-12-12 11:33:26 +08:00
lean
6edffa8419 rockchip: add support for NanoPi R4S 2020-12-11 10:33:58 +08:00
练亮斌
13ec6bcfd6
Using luci native support for MT7615(K2P),support muilti SSID (#5844)
* mt7615: try wext and cfg80211

* iwinfo: support ra frequency offset

* iwinfo: ra support assolist, support AC bandwidth, read device id from mtd

* mt7615: clean code

* k2p: wireless interface should not add to bridge, wifi system will handle this

* mt7615: adapt for modern luci

* mt7615: fix Makefile, conflicts with luci-app-mtwifi

* mt_wifi: conflicts with mt7615d

* iwinfo: fix ra probe, scan list

* iwinfo: fix ra scan list

* mt7615: speed up wifi reload

* mt7615: fix bug

* mt7615: fix isolate

* mt7615: clean code

* mt7615: fix CE without cfg80211

* mt7615: split dbdc variant

* mt7615: revert config for non dbdc variant devices

* mt7615: move maccalc dependency to dbdc variant

* mt7615: append author info

* mt7615: move config generation to uci-defaults
2020-12-07 12:55:18 +08:00
Ljzkirito
f79af995c5
add missing symbol (#5869) 2020-12-03 13:31:30 +08:00
练亮斌
e0484b458c
ramips: phicomm k2p 32m network auto config (#5863) 2020-12-02 16:52:39 +08:00
练亮斌
632b36be39
ramips: add support for Phicomm K2P 32M flash version (#5861) 2020-12-02 14:33:00 +08:00
AmadeusGhost
041d7abc4a
kernel: bump 5.4 to 5.4.79 and add mt7620-nand driver (#5830)
* kernel: bump 5.4 to 5.4.79

* 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-11-28 16:43:16 +08:00
AmadeusGhost
73e554dab2
ramips: add support for JCG Y2 (#5815)
JCG Y2 is an AC1300M router

Hardware specs:
  SoC: MediaTek MT7621AT
  Flash: Winbond W25Q128JVSQ 16MiB
  RAM: Nanya NT5CB128M16 256MiB
  2.4GHz: MT7615D 2x2
  5GHz: MT7615D 2x2
  Ethernet: 1 x WAN and 4 x LAN
  LED: POWER, INTERNET, 2.4G, 5G
  USB: 1 x 3.0
  Button: Reset

Flash instructions:
  Upload factory.bin in stock firmware's upgrade page.

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2020-11-21 13:36:02 +08:00
CN_SZTL
1e36f5d11c
autocore-arm: add support for mvebu (#5781)
Co-authored-by: 486057 <4860575@qq.com>
2020-11-14 00:52:55 +08:00
AmadeusGhost
5d98c4178e
kernel: bump 5.4 to 5.4.75 (#5780)
[mac80211]
 5b29614 mac80211: another fix for the sta connection monitor
 1ed6eb1 mac80211: backport sched_set_fifo_low
 cba4120 mac80211: add support for specifying a per-device scan list
 e0d482f rt2x00: mt7620: differentiate based on SoC's CHIP_VER

[package]
 amd64-microcode/intel-microcode/linux-firmware: update version
2020-11-14 00:52:35 +08:00
CN_SZTL
67198ef5be
rockchip: increase volt of 1.5ghz to 1.5v for stability (#5703) 2020-11-10 14:54:32 +08:00
AmadeusGhost
5323b53533
shortcut-fe: rework netfilter conntrack notification (#5760)
The original patch over rode the nf_conntrack_un/register_notifier API, which will
break other modules relying on the API. Reworked the notification APIs to play nice
with others. Also avoid to touch the code of fullcone nat.

Co-authored-by: quarkysg <hhtan72@yahoo.com>
2020-11-10 14:53:05 +08:00
wisdomjxc
28668c0dd1
Update config-5.4 (#5716)
Support 20 threads。
2020-10-26 23:57:19 +08:00
AmadeusGhost
cf7c3b3994
ramips: ralink: rename some functions (#5697)
Co-authored-by: Chen Minqiang <ptpt52@gmail.com>
2020-10-23 10:53:01 +08:00
AmadeusGhost
c80f1dc6c3
mediatek: rewrite flow offload code (#5690)
The code is now much cleaner and works better than the old code.
Preparation for submitting it upstream (though with a different API)
Also add back MT7621 support and fix flow table coherence issues on
MT7622

Signed-off-by: Felix Fietkau <nbd@nbd.name>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2020-10-21 10:51:23 +08:00
coolsnowwolf
cdefdb9dc1 kernel: bump 5.4 to 5.4.72 2020-10-20 14:00:12 +08:00
coolsnowwolf
126df018db rockchip: R2S cpu freq limite to 1512mhz 2020-10-20 13:49:13 +08:00
AmadeusGhost
7459894377
ipq40xx: add support for Century WR142AC (#5670)
This commit add support for the yyets_le router.

Hardware Highlights:

SoC:	  Qualcomm IPQ4019 717 MHz
RAM:	  512M NT5CC256M16ER-EK
Flash:    32M SPI NOR MX25L25635F
WIFI1:    2.4 GHz 2T2R integrated
WIFI2:    5 GHz 2T2R integrated
Ethernet: Qualcomm QCA8075 (4x LAN, 1x WAN)
USB:      1x 3.0
LEDS:     power, wlan2g, wlan5g, usb
Button:   Reset

Installation:
 Upload the firmware on the upgrade page of the stcok, and this will
 take a few minutes.

This commit also supports the addition of a 128M nand flash version,
just use the P&W R619AC's OpBoot to overwrite the original uboot.

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2020-10-19 12:48:48 +08:00
CN_SZTL
c39177efcf
autocore: add cpu freq & temp display for some arm devices (#5657)
* autocore: add cpu freq & temp display for some arm devices

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>

Co-authored-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>

* Revert "show CPU Temperature for NanoPi R2S (#5612)"

This reverts commit 099439f051.

Co-authored-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-10-13 01:07:17 +08:00
AmadeusGhost
dc28ade4d8
generic: limit commit "ramips/mediatek: improve GRO performance, fix PPE packet parsing" to mediatek target only (#5650) 2020-10-13 01:05:26 +08:00
6667933
6fac299e61
remove 82_show_temp to resolve r2s start up problems (#5656) 2020-10-13 01:04:11 +08:00
CN_SZTL
64debc95d5
kernel: bump 5.4 to 5.4.69 (#5587)
Seemingly unneeded based on new upstream code so manually deleted:
 platform/820-usb-0007-usb-dwc3-gadget-increase-timeout-value-for-send-ep-c.patch

Manually merged:
 generic-hack/251-sound_kconfig.patch

All other modifications made by update_kernel.sh

Build system: x86_64
Build-tested: ipq806x/R7800, ath79/generic, bcm27xx/bcm2711
Run-tested: ipq806x/R7800

No dmesg regressions, everything functional

Signed-off-by: John Audia <graysky@archlinux.us>

Co-authored-by: John Audia <graysky@archlinux.us>
2020-10-10 14:01:25 +08:00
Yangbo
099439f051
show CPU Temperature for NanoPi R2S (#5612)
Co-authored-by: Yangbo Wei <467815891@qq.com>
2020-10-07 23:25:41 +08:00
CN_SZTL
0bfbe98823
Revert "uboot-rockchip: update NanoPi R2S patches" (#5596)
* Revert "uboot-rockchip: update NanoPi R2S patches"

This reverts commit bda6f6572be630bcf9a1c8a429e40d8a53033af5.

This commit breaks the onboard ethernet on some units. Revert it for
now.

Signed-off-by: David Bauer <mail@david-bauer.net>

* rockchip: enable Realtek PHY support

The NanoPi R2S features a Realtek Gigabit Ethernet PHY. Enable the
Realtek specific PHY driver to correctly configure internal delays.

Signed-off-by: David Bauer <mail@david-bauer.net>

* uboot-rockchip: fix nanopi-r2s failed to boot on some sd cards

Add regulator-boot-on parameters to vcc_sd.
Add startup-delay-us parameters to vcc_sdio.
This will improve the problem that in some SD cards are failing to boot up.

Signed-off-by: Yuan Tao <ty@wevs.org>

* rockchip: fix NanoPi R2S GMAC clock name

This commit fixes the name for the GMAC clock to gmac_clkin, as this is
the name of the clock provided by the rk3328-clk driver.

Without this commit, the GMAC will not work in TX direction.

Suggested-by: Tobias Waldvogel <tobias.waldvogel@gmail.com>
Signed-off-by: David Bauer <mail@david-bauer.net>

Co-authored-by: David Bauer <mail@david-bauer.net>
Co-authored-by: Yuan Tao <ty@wevs.org>
2020-10-07 23:22:52 +08:00
AmadeusGhost
8de358af76
ramips: XiaoYu-C5: reuse ralink-eth driver (#5605)
* treewide: remove support for 'DEVICE_COMPAT' variable

This commit removes support for the DEVICE_COMPAT variable due to it
requires relatively few changes.

* Revert "ramips: disable PORT 5 MAC RX/TX flow control by default"

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

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

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

* 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>

* ramips: XiaoYu-C5: reuse ralink-eth driver

Co-authored-by: Chen Minqiang <ptpt52@gmail.com>
2020-10-07 23:20:11 +08:00
AmadeusGhost
86bc29e4a8
kernel: bump 5.4 to 5.4.68 (#5555)
[mac80211]
 ca5ee6e mac80211: Fix potential endless loop
 2c14710 mac80211: add more AQL fixes/improvements
 91fb3ce mac80211: remove an obsolete patch that is no longer doing anything useful
 acf1733 mac80211: add preliminary support for enabling 802.11ax in config
 d717343 mac80211: update encap offload patches to the latest version
 673062f mac80211: allow bigger A-MSDU sizes in VHT, even if HT is limited
 caf7277 mac80211: do not allow bigger VHT MPDUs than the hardware supports
 cd36c0d mac80211: select the first available channel for 5GHz interfaces
 1c6d456 mac80211: fix regression in station connection monitor optimization
 4bd7689 mac80211: update sta connection monitor regression fix

[target]
 Sync: at91, ath25, ath79, lantiq, mediatek, mvebu.
2020-10-03 00:36:16 +08:00
CN_SZTL
b5fa901e0b
rockchip: improve FriendlyElec NanoPi R2S support (#5578)
* rockchip: refresh NanoPi R2S patches

Update the patches for the NanoPi R2S to the v3 sent (and accepted)
upstream.

Signed-off-by: David Bauer <mail@david-bauer.net>

* rockchip: rk3328: add compatible to NanoPi R2S ethernet PHY

This adds the compatible property to the NanoPi R2S ethernet PHY node.
Otherwise, the PHY might not be probed, as the PHY ID reads all 0xff
when it is still in reset.

Signed-off-by: David Bauer <mail@david-bauer.net>

* uboot-rockchip: update NanoPi R2S patches

Update the patches required for the NanoPi R2S to match the DTS accepted
for upstream Linux. The U-Boot patch meanwhile is still pending
upstream.

Signed-off-by: David Bauer <mail@david-bauer.net>

* rockchip: refresh target patches

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>

Co-authored-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
Co-authored-by: wevsty <ty@wevs.org>

* rockchip: fix NanoPi R2S PHY ID

Fix the PHY ID for the NanoPi R2S PHY compatible to match the used PHY.
The ID was wrong as I've accidentally picked the wrong upstream patch.

Signed-off-by: David Bauer <mail@david-bauer.net>

Co-authored-by: David Bauer <mail@david-bauer.net>
Co-authored-by: wevsty <ty@wevs.org>
2020-10-03 00:27:34 +08:00
DoveKi
2b57c926b4
Update Xiaomi R4 get lan_mac (#5437) 2020-09-11 13:52:09 +08:00
chongshengB
88d85bb574
kernel: bump 5.4 to 5.4.61 (#5399)
Manually merged:
  backport-5.4
     011-kbuild-export-SUBARCH.patch
  layerscape
    701-net-0262-net-dsa-ocelot-add-tagger-for-Ocelot-Felix-switches.patch

All other modifications made by update_kernel.sh

Build-tested: x86/64, lantiq/xrx200, ramips/mt7621
Run-tested: ipq806x (R7800), lantiq/xrx200, x86/64, ramips (RT-AC57U)

No dmesg regressions, everything functional

Signed-off-by: John Audia <graysky@archlinux.us>
[minor commit message adjustments]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>

Co-authored-by: John Audia <graysky@archlinux.us>
2020-09-01 17:21:00 +08:00
CN_SZTL
12d0742fd5
kernel: bump to 4.14.195, 5.4.60 (#5376)
* kernel: bump 5.4 to 5.4.60

Deleted upstream patches:
  generic:
    041-genirq-affinity-Make-affinity-setting-if-activated-o.patch
  ipq806x:
    093-5-v5.8-ipq806x-PCI-qcom-Define-some-PARF-params-needed-for-ipq8064-SoC.patch
    093-6-v5.8-ipq806x-PCI-qcom-Add-support-for-tx-term-offset-for-rev-2_1_0.patch

Merged manually:
  ipq806x:
    093-4-v5.8-ipq806x-PCI-qcom-Use-bulk-clk-api-and-assert-on-error.patch
  layerscape:
    804-crypto-0016-MLKU-114-1-crypto-caam-reduce-page-0-regs-access-to-.patch

Build-tested: ath79/generic, ipq806x, layerscape/armv7, layerscape/armv8_64b
Run-tested: ipq806x (R7800)

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>

* kernel: Update kernel 4.14 to version 4.14.195

Compile and runtime tested on lantiq/xrx200 and x86/64.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Co-authored-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-08-30 21:16:31 +08:00
AmadeusGhost
20274fd514
ipq806x: sync official source code (#5365) 2020-08-27 15:57:30 +08:00