Commit Graph

1715 Commits

Author SHA1 Message Date
Felix Fietkau
9676f90040 kernel: backport MTK ethernet/WLAN offload fixes
Fixes issues with offloading to WED, especially with VLAN bridges involved

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-09-20 20:16:26 +08:00
Chuanhong Guo
525b01ad91 mediatek: build ubnt-ledbar as a module
The config for LEDS_UBNT_LEDBAR doesn't stay in mt7629 kconfig because
of its I2C dependency. Build it as a module and let buildroot handle
this config option instead.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2022-09-20 20:15:43 +08:00
AmadeusGhost
32aea04c4c mediatek: sync upstream source code
Fixes: #10156
2022-09-19 22:00:03 +08:00
Chuanhong Guo
3a90d86a78 kernel: 5.15: add support for ESMT F50x1G41LB
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2022-09-19 21:54:35 +08:00
Daniel Golle
c5d67f13f0 mediatek: fix sysupgrade on MTK7986 rfba AP
A line in platform.sh was accidentally removed when adding support
for the Bananapi BPi-R3.
Re-add it to fix sysupgrade on the MTK7986 rfba AP.

Fixes: a96382c1bb ("mediatek: add support for Bananapi BPi-R3")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-09-19 21:52:54 +08:00
Daniel Golle
4983058f5f mediatek: filogic: use WPS button instead of RST on BPi-R3
The GPIO used for the RST button is also used for PCIe-CLKREQ signal.
Hence it cannot be used as button signal if PCIe is also used.
Wire up WPS button to serve as KEY_RESTART in Linux and "reset" button
in U-Boot.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-09-19 21:50:39 +08:00
Daniel Golle
fad0b7b5c8 mediatek: bpi-r64: make initramfs/recovery optional
Only include recovery image in SD card image generated for the
BananaPi BPi-R64 if building with CONFIG_TARGET_ROOTFS_INITRAMFS
This allows to build images larger than 32 MB (the limit for
initramfs/recovery image) by deselecting initramfs.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-09-19 21:43:07 +08:00
Daniel Golle
d3f45415a2 mediatek: bpi-r3: make initramfs/recovery optional
Only include recovery image in SD card image generated for the
BananaPi BPi-R3 if building with CONFIG_TARGET_ROOTFS_INITRAMFS.
This allows to build images larger than 32 MB (the limit for
initramfs/recovery image) by deselecting initramfs.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-09-19 21:40:18 +08:00
Daniel Golle
fa84a35840 mediatek: add support for Bananapi BPi-R3
The Bananapi BPi-R3 is a development router board built around the
MediaTek Filogic 830 (MT7986A) SoC.
The board can boot either from microSD, SPI-NAND, SPI-NOR or eMMC.
Only either SPI-NAND or SPI-NOR can be used at the same time, also only
either microSD or eMMC can be used. The various storage options can be
selected using small SMD switches on the board.

Specs:
 * MediaTek MT7986A (Filogic 830) 4x ARM Cortex A53
 * 4T4R 2.4G 802.11bgnax (MT7975N)
 * 4T4R 5G 802.11anac/ax (MT7975P)
 * 2 GB DDR4 RAM
 * 8 GB eMMC
 * 128 MB SPI-NAND flash
 * 32 MB SPI-NOR flash
 * on-board MT7531 GbE switch
 * 2x SFP+ (1 GbE / 2.5 GbE)
 * 5x GbE network port
 * miniPCIe slot (only USB 2.0 connected)
 * uSIM slot (connected to miniPCIe interface)
 * M.2 KEY-E PCIe interface (PCIe x2)
 * microSD card interface
 * 26 PIN GPIO

Hardware details: https://wiki.banana-pi.org/Banana_Pi_BPI-R3

Working:
 * all 4 boot methods incl. installation via U-Boot, sysupgrade, ...
 * copper LAN and WAN ports
 * SFP1 (connected to gmac1, eth1 in Linux)
 * WiFi
 * LEDs
 * Buttons
 * PSTORE/ramoops based dual-boot

Not Working (missing driver features):
 * SFP2 (connected to MT7531 switch)

Untested:
 * M.2/NGFF slot (PCIe x2)
 * mPCIe slot (USB 2.0 + SIM)

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-09-19 21:34:49 +08:00
Daniel Golle
a4a0faa748 generic: 5.15: get uImage.FIT partition parser ready
Prepare uImage.FIT partition parser for Linux 5.15

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2022-09-19 21:26:27 +08:00
AmadeusGhost
8a353822ed Revert "kernel: bump 5.4 to 5.4.211"
This reverts commit 548ac73c5b.
2022-09-19 21:01:08 +08:00
lean
39534aa38f x86: backport I226 support for kernel 5.4 2022-09-17 23:54:23 +08:00
lean
790f6e67a7 bcm53xx: update NVMEM driver for NVRAM 2022-09-17 19:14:10 +08:00
lean
5428ab1b70 kernel: bump 5.15 to 5.15.68 2022-09-17 18:22:20 +08:00
lean
aee55b2e97 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2022-09-17 17:45:26 +08:00
lean
548ac73c5b kernel: bump 5.4 to 5.4.211 2022-09-17 17:45:16 +08:00
lovehackintosh
4d3f1a6e78
kernel: bump 5.10 to 5.10.143 (#10138)
* kernel: bump 5.10 to 5.10.143

All patches automatically rebased.

Signed-off-by: John Audia <therealgraysky@proton.me>

* kernel: refresh 5.10 patches

All patches automatically rebased.

Signed-off-by: Linhui Liu <liulinhui36@gmail.com>

Signed-off-by: John Audia <therealgraysky@proton.me>
Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
Co-authored-by: John Audia <therealgraysky@proton.me>
2022-09-17 17:32:05 +08:00
lean
40de02bf81 bcm53xx: switch to kernel 5.4 2022-09-17 13:30:22 +08:00
lean
83903ede7b bcm53xx: PHICOMM K3 add k3screenctrl by default 2022-09-16 02:33:11 +08:00
lean
a9b138ae00 x86: add Aquantia AQtion 5/2.5GbE USB-to-Ethernet by default 2022-09-16 02:19:40 +08:00
aakkll
84c7916464
kernel: bump 5.19 to 5.19.9 (#10125)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>

Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-09-16 02:10:53 +08:00
lean
0e7c277d03 rockchip: fix NanoPi R4SE has unique MAC address when boot from emmc 2022-09-16 02:10:11 +08:00
Rui Salvaterra
62ef304e67 kernel: add and enable MGLRU for Linux 5.15
Backport a preliminary version of Yu Zhao's multi-generational LRU, for
improved memory management. Refresh the patches while at it.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2022-09-15 15:29:45 +08:00
David Bauer
a5dada15ce rockchip: ensure NanoPi R4S has unique MAC address
Ensure the MAC address for all NanoPi R4S boards is assigned unique for
each board.

FriendlyElec ship two versions of the R4S: The standard as well as the
enterprise edition with only the enterprise edition including the EEPROM
chip that stores the unique MAC address.

In order to assign both board types unique MAC addresses, fall back on
the same method used for the NanoPi R2S in case the EEPROM chip is not
present by generating the board MAC from the SD card CID.

[0] https://wiki.friendlyelec.com/wiki/index.php/NanoPi_R4S#Differences_Between_R4S_Standard_Version_.26_R4S_Enterprise_Version

Signed-off-by: David Bauer <mail@david-bauer.net>
2022-09-15 15:23:34 +08:00
AmadeusGhost
58ccac858b Revert "rockchip: default smp tune on"
This reverts commit 518cd6a5c5.
2022-09-15 15:20:13 +08:00
骷髅头
b030e9103a
uboot-rockchip:fix r4se uboot sd card not bootable (#10117)
* uboot-rockchip:fix r4se uboot sd card not bootable

this will cause uboot to fail to load the sd card at startup, and uboot can recognize emmc

* rockchip:fix r4se system loading prompt led

* add the previous one

* fix
2022-09-15 14:05:50 +08:00
lean
61d68ec9b2 bridger: add bridge forwarding accelerator for target 2022-09-15 13:42:02 +08:00
骷髅头
d418fa80b4
rockchip:fix r5s led not bright and add nvme driver (#10108)
* rockchip:modify the correct name of the led

* rockchip:r5s nvme driver enabled by default
2022-09-14 01:42:46 +08:00
lean
1003232a70 ipq807x: fix nss ecm support in kernel 5.15 2022-09-14 01:19:04 +08:00
lean
30c3448606 qca-nss-drv-64: revert to QSDK 11.4 2022-09-13 21:31:21 +08:00
lean
64099b947a qca-ssdk: revert to QSDK 11.4 2022-09-13 21:11:00 +08:00
lean
d0e78ded01 kernel: bump 5.15 to 5.15.67 2022-09-13 19:25:12 +08:00
lean
cebb316d0f kernel: bump 5.15 to 5.15.65 2022-09-13 19:18:21 +08:00
lean
e438377b24 ipq807x: fix mf269 dts 2022-09-13 19:08:25 +08:00
lean
4da63f1fef ipq807x: fix patch for building 2022-09-13 18:57:15 +08:00
lean
518cd6a5c5 rockchip: default smp tune on 2022-09-13 17:03:53 +08:00
lean
79d9040c5c ipq60xx: add dma arm64 api patch 2022-09-13 15:19:06 +08:00
lean
f66cf9d38c ipq807x: add kernel 5.15 support 2022-09-13 10:45:32 +08:00
lean
c07f003c89 ipq807x: add nss ecm support from QSDK12 for 5.10 2022-09-13 10:34:59 +08:00
lean
ea55ecee06 mediatek: add Xiaomi Redmi Router AX6000 support 2022-09-13 00:52:35 +08:00
John Audia
d91aa7cef1 kernel: add # CONFIG_ARM64_ERRATUM_2441009 symbol
No current targets are ARMv9 or Cortex-A510 so comment the new symbol.[1]

Signed-off-by: John Audia <therealgraysky@proton.me>
2022-09-13 00:18:17 +08:00
lean
fc1df36dc1 qca-nss-ecm-64: rework for ipq807x 5.15 support 2022-09-12 19:51:54 +08:00
lean
88c0fe5c1a ipq60xx: add nss ecm kernel support for 5.15 2022-09-12 19:18:41 +08:00
lean
3da5d6fffd qca-nss-drv-64: add kernel 5.15 support 2022-09-12 18:58:21 +08:00
lean
7b0b726436 ipq60xx: add qihoo 360v6 factory ubi support 2022-09-12 14:23:44 +08:00
lean
76351e33bf qca-nss-dp: add kernel 5.15 support 2022-09-12 14:06:04 +08:00
lean
ddc3641e5b qca-ssdk: add kernel 5.15 support 2022-09-12 13:48:20 +08:00
lean
771d6973ac ipq60xx: fix kernel 5.15 dts support 2022-09-12 04:35:31 +08:00
lean
ea54bd7ca1 ipq60xx: add Qihoo 360v6 AX1800 support 2022-09-12 04:29:38 +08:00
Beginner
931b793a06
kernel: bump 5.10 to 5.10.142 (#10084)
* kernel: bump 5.10 to 5.10.139

All patches automatically rebased.

Signed-off-by: John Audia <therealgraysky@proton.me>

* kernel: bump 5.10 to 5.10.141

All patches automatically rebased.

Signed-off-by: John Audia <therealgraysky@proton.me>

* kernel: bump 5.10 to 5.10.142

All patches automatically rebased.

Signed-off-by: John Audia <therealgraysky@proton.me>

* kernel: refresh 5.10 patches

Manual rebase:
  target/linux/generic/hack-5.10/953-net-patch-linux-kernel-to-support-shortcut-fe.patch

Build system: x86_64
Build-tested: x86_64
Run-tested: x86_64

Signed-off-by: Beginner-Go <70857188+Beginner-Go@users.noreply.github.com>

Signed-off-by: John Audia <therealgraysky@proton.me>
Signed-off-by: Beginner-Go <70857188+Beginner-Go@users.noreply.github.com>
Co-authored-by: John Audia <therealgraysky@proton.me>
2022-09-12 01:25:26 +08:00