Commit Graph

965 Commits

Author SHA1 Message Date
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