Commit Graph

933 Commits

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