Commit Graph

463 Commits

Author SHA1 Message Date
dsanke
83b646937f
Add JCG Q10 PRO(the same as JCG Q20) with CR660x pb-boot support, change switch to swconfig from DSA. (#8391) 2021-12-06 13:55:01 +08:00
Liam Luo
549eea3251
ramips: add support for RAISECOM MSG1500 Z.00 (#8385)
Hardware:
  SoC: MediaTek MT7621AT
  Flash: SPI NOR 16MB
  RAM: DDR3 64MB
  2.4GHz: MT7603EN bgn 2x2
  5GHz: MT7612EN nac 2x2
  Ethernet: 1 x WAN and 4 x LAN
  USB: 1 x 3.0
  Button: Reset, WPS

Note: the flash memory capacity is only 64MB.
      You may need to uncheck some options to ensure normal startup.

Signed-off-by: LINGJP <lonelyjskj@gmail.com>
2021-12-05 18:21:56 +08:00
Beginner
0cd887f7b5
kernel: bump 5.10 to 5.10.83 (#8374)
Removed upstreamed:
    bcm53xx/patches-5.10/033-v5.16-0024-ARM-dts-BCM5301X-Fix-I2C-controller-interrupt.patch[1]
    bcm53xx/patches-5.10/033-v5.16-0025-ARM-dts-BCM5301X-Add-interrupt-properties-to-GPIO-no.patch[2]

All other patches automatically rebased.

1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.83&id=b2cd6fdcbe0a5cb44e4610a08cc58261d494a885
2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.83&id=9db1d4a3c2700e1cc84c3d61199411d75c2a3ec6

Build system: x86_64*
Build-tested: bcm2711/RPi4B, ipq806x/R7800†
Run-tested: bcm2711/RPi4B, ipq806x/R7800†

* Had to revert 7c99085bd69742f66207d61e9f2da5ec4f8f9d2f in order to build
  (latest bump of ca-certificates)

† Had to revert 7f1edbd41295dff9f2127b169fbc086c0fb2c14e in order to build
  (binutils 2.37, https://bugs.openwrt.org/index.php?do=details&task_id=4149)

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

Co-authored-by: graysky <graysky@archlinux.us>
2021-12-03 12:10:21 +08:00
lean
cbbb438afb ramips: add missing symbols for mt7620 2021-11-28 01:48:48 +08:00
aakkll
aeb1792a4c
kernel: bump 5.4 to 5.4.162 (#8318)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>

Co-authored-by: John Audia <graysky@archlinux.us>
2021-11-27 18:14:55 +08:00
aakkll
835ed78fc3
kernel: bump 5.4 to 5.4.161 (#8294)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>

Co-authored-by: John Audia <graysky@archlinux.us>
2021-11-24 14:38:23 +08:00
Beginner
56de0725a4
kernel: bump 5.10 to 5.10.80 (#8280)
Deleted (upstreamed):
ath79/patches-5.10/921-serial-core-add-support-for-boot-console-with-arbitr.patch [1]
bcm53xx/patches-5.10/033-v5.15-0012-ARM-dts-BCM5301X-Fix-memory-nodes-names.patch [2]
lantiq/patches-5.10/0016-mtd-rawnand-xway-Keep-the-driver-compatible-with-on-.patch [3]
lantiq/patches-5.10/0110-MIPS-lantiq-dma-add-small-delay-after-reset.patch [4]
lantiq/patches-5.10/0111-MIPS-lantiq-dma-reset-correct-number-of-channel.patch [5]
lantiq/patches-5.10/0112-MIPS-lantiq-dma-fix-burst-length-for-DEU.patch [6]

Manually rebased:
ipq806x/patches-5.10/0065-arm-override-compiler-flags.patch

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.80&id=47462c5e600fbaffd755cd13dedd80d04e41ff83
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.80&id=2fde76df1885a6bec04317e457121326070450eb
[3] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.80&id=9b366f5221d8aa64b22f35be137a5749326444ce
[4] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.80&id=5af57ce8a6155fe3e4270d28d171abf8903bebc0
[5] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.80&id=b92a5df2c7adc79a57481445f67de0c1c716581f
[6] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.80&id=6b72caabc47011d03f44064452b2c65e8ed18326

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-11-20 01:41:26 +08:00
Beginner
b442cc508b
kernel: bump 5.4 to 5.4.158 (#8207)
All patches automatically rebased.

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

Co-authored-by: John Audia <graysky@archlinux.us>
2021-11-09 08:06:15 +08:00
Boos4721
147aac7507
ramips: 5.10: fix issuse https://github.com/coolsnowwolf/lede/issues/8171 (#8172)
drop unnecessary commit form official kernel merge

Signed-off-by: boos4721 <3.1415926535boos@gmail.com>
2021-11-04 01:17:51 +08:00
csharper2005
7c0b920f18
ramips: Add support for Beeline SmartBox TURBO+ (#8161)
* ramips: add support for Beeline(Sercomm) U-Boot

- Add recipe for several Beeline/Sercomm devices (e.g., Beeline SmartBox
  GIGA, Beeline SmartBox Turbo+, Sercomm S3) that appends special header
  to a kernel.

- Add device variables KERNEL_LOADADDR, LZMA_TEXT_START. It's also
  necessary for the devices mentioned above.

Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>
(cherry picked from commit 6240da24f4c1442b0f750f06be512f630b0bc6c8)
Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>

* ramips: Add support for Beeline SmartBox TURBO+

This PR adds support for router Beeline Smart Box TURBO+.
OEM/ODM Serсomm. Almost identical to Serсomm S3.

Specification
-------------
SoC Type: MediaTek MT7621AT (880 MHz, 2 cores)
RAM (Nanya NT5CC64M16GP): 128 MiB
Flash (Macronix MX30LF1G18AC): 128 MiB
Wireless 2.4 GHz (MT7603EN): b/g/n, 2x2
Wireless 5 GHz (MT7615N): a/n/ac, 4x4
Ethernet: 5 ports - 5×GbE (WAN, LAN1-4)
USB ports: 1xUSB3.0
Buttons: 2 button (reset, wps)
LEDs: Red, Green, Blue
Zigbee (EFR32MG1B232GG): 3.0
Stock bootloader: U-Boot 1.1.3
Power: 12 VDC, 1.5 A

Installation
------------
Attach serial console, then boot the initramfs image via TFTP.
Once inside OpenWrt, run sysupgrade -n with the sysupgrade file.

Signed-off-by: Maximilian Weinmann <x1@disroot.org>
(cherry picked from commit d1f294521bd8bc462c76e09c57a5c8b0600170cd)
(factory recipe from a2cfe339995467308c9126c3d0f70d2a28aeb073)
(big NAND from e6e5837a625ba09e286a5bde05f2ce581cfbeab7)
(removed nvmem cells, fixed conflicts)
Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>

* ramips: add Sercomm partition map parser

This adds an MTD partition parser for the Sercomm partition table that
is used in some Netgear routers.

This is essentially the same code as proposed in the pull request for
Netgear R6350 support by NOGUCHI Hiroshi <drvlabo@gmail.com>:
https://github.com/openwrt/openwrt/pull/1318

It was originally rejected as it did not seem to work correctly.
However, this was only due the NAND driver transparently shifting pages
to hide bad blocks, which was fixed in commit
527832e54bf3bc4d699a145ae66f34230246f0a9.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
[x1@disroot.org: correction from checkpatch.pl]
Signed-off-by: Maximilian Weinmann <x1@disroot.org>
(cherry picked from commit 65e772105f8d5e98a999b836fed794b7415f2741)
Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>

* ramips: Improve Beeline Smartbox Turbo+ support in lede

Changed switch configuration and a few minor changes.

Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>

Co-authored-by: Maximilian Weinmann <x1@disroot.org>
Co-authored-by: Jan Hoffmann <jan@3e8.eu>
2021-11-03 12:16:32 +08:00
Boos4721
8d9e14b6ee
kernel: bump 5.10 to 5.10.77 (#8167)
Signed-off-by: boos4721 <3.1415926535boos@gmail.com>
2021-11-03 12:16:17 +08:00
Beginner
047c7ec182
kernel: bump 5.10 to 5.10.76 (#8136)
Deleted (upstreamed):
bcm27xx/patches-5.10/950-0145-xhci-add-quirk-for-host-controllers-that-don-t-updat.patch [1]

Manually rebased:
bcm27xx/patches-5.10/950-0355-xhci-quirks-add-link-TRB-quirk-for-VL805.patch
bcm53xx/patches-5.10/180-usb-xhci-add-support-for-performing-fake-doorbell.patch

Note: although automatically rebaseable, the last patch has been edited to avoid
conflicting bit definitions.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-5.10.y&id=b6f32897af190d4716412e156ee0abcc16e4f1e5

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-10-31 16:27:59 +08:00
Beginner
69753f8625
kernel: bump 5.4 to 5.4.155 (#8102)
* kernel: bump 5.4 to 5.4.153

Removed upstreamed:
  backport-5.4/070-v5.5-MIPS-BPF-Restore-MIPS32-cBPF-JIT.patch

All other patches automatically rebased.

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

* kernel: bump 5.4 to 5.4.154

All patches automatically rebased.

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

* kernel: bump 5.4 to 5.4.155

All patches automatically rebased.

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

Co-authored-by: John Audia <graysky@archlinux.us>
2021-10-22 11:55:35 +08:00
Boos4721
7fce1e0dd5
kernel: bump 5.10 to 5.10.75 (#8095)
Signed-off-by: boos4721 <3.1415926535boos@gmail.com>
2021-10-21 11:00:41 +08:00
Boos4721
50cce804be
kernel: bump 5.10 to 5.10.73 (#8064)
Signed-off-by: boos4721 <3.1415926535boos@gmail.com>
2021-10-17 14:53:09 +08:00
Boos4721
00eeb609c2
ramips: config refresh (#7984)
Signed-off-by: boos4721 <3.1415926535boos@gmail.com>
2021-10-04 22:25:20 +08:00
lean
b31e3e5593 ramips: disable cpu vint and veic to fix hwnat deadlock 2021-09-29 18:19:40 +08:00
lean
cf8d3b6b33 ramips: mt7530 use lock to protect registers access 2021-09-24 22:12:29 +08:00
lean
9621c35447 ramips: cr660x switch to DSA network driver 2021-09-23 16:21:27 +08:00
AmadeusGhost
69b0f1cf68
ramips: add support for JCG JHR-AC945M (#7900)
Hardware specs:
  SoC: MediaTek MT7621AT
  Flash: SPI NOR 16MB
  RAM: DDR3 256MB
  2.4GHz: MT7615N bgn 4x4
  5GHz: MT7615N nac 4x4
  Ethernet: 1 x WAN and 4 x LAN
  USB: 1 x 3.0
  Button: Reset, WPS

Unsupported chips:
  ATMEGA328P-AU
  HCLTEK HT1621B

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

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2021-09-23 00:46:42 +08:00
AmadeusGhost
5fc448227d ramips: msg1500: further fix mac address
Signed-off-by: AmadeusGhost <amadeus@openjmu.xyz>
2021-09-20 11:19:36 +08:00
AmadeusGhost
fe5786bfa4 ramips: msg1500: switch to ralink-eth driver
It seems that dsa is not stable on this machine...
2021-09-13 11:29:04 +08:00
AmadeusGhost
781f8a604b ramips: msg1500: fixes error mac address
Fixes: b27f77f ("ramips: add support for RAISECOM MSG1500")
Signed-off-by: AmadeusGhost <amadeus@openjmu.xyz>
2021-09-13 11:21:04 +08:00
AmadeusGhost
f4659685c5 ramips: mt7621: devices typo fixes
Fixes: a3c941d ("ramips: add ZTE e8820s support")
2021-09-13 11:16:32 +08:00
Chen Minqiang
a70fee5f7d 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

Fixes: #7841

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2021-09-13 11:09:46 +08:00
喃南下
b27f77f431
ramips: add support for RAISECOM MSG1500 X.00 (#7808) 2021-09-06 21:17:23 +08:00
coolsnowwolf
a3c941d126 ramips: add ZTE e8820s support 2021-09-04 15:23:48 +08:00
AmadeusGhost
eed97b08c8
kernel: bump 5.4 to 5.4.140 (#7685)
* kernel: bump 5.4 to 5.4.139

All patches automatically rebased.

Build system: x86_64
Build-tested: ipq806x/R7800
Run-tested: ipq806x/R7800

No dmesg regressions, everything functional

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

* kernel: bump 5.4 to 5.4.140

Removed upstreamed bcm27xx/patches-5.4:
    950-0977-USB-gadget-f_hid-avoid-crashes-and-log-spam.patch
    950-0980-SQUASH-USB-gadget-f_hid-remove-more-spam.patch

All other patches automatically rebased.

Build system: x86_64
Build-tested: ipq806x/R7800
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>
2021-08-17 23:29:42 +08:00
coolsnowwolf
6c52a8ba07 kernel: bump 5.10 to 5.10.57 2021-08-15 15:08:57 +08:00
AmadeusGhost
e80af1955e
kernel: bump 5.4 to 5.4.138 (#7630) 2021-08-10 20:20:42 +08:00
Beginner
e35805c6ea
kernel: bump 5.10 to 5.10.56 (#7635)
* kernel: bump 5.10 to 5.10.52

Add the new CONFIG_BATTERY_RT5033 to the generic configuration, as reported by
Paul Blazejowski. Resort the kconfig while at it.

No deleted or manually refreshed patches.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

* kernel/generic: add a missing symbol to the 5.10 kconfig

Add CONFIG_HAVE_ARM_ARCH_TIMER (disabled). A make kernel_oldconfig on cortexa9
will otherwise prompt for its selection. The 5.4 configuration already contains
the same symbol.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

* kernel/generic: sort the 5.10 kconfig symbols

Sort the kernel configuration using scripts/kconfig.pl.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

* kernel: bump 5.10 to 5.10.53

No deleted or manually refreshed patches.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

* kernel: bump 5.10 to 5.10.54

Deleted (upstreamed) patches:
mediatek/patches-5.10/000-spi-fix-fifo.patch

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

* kernel: bump 5.10 to 5.10.55

No deleted or manually refreshed patches.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

* kernel: bump 5.10 to 5.10.56

No patches needed refreshing

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-08-10 14:18:30 +08:00
AmadeusGhost
ec446374ab
ramips: hc5962: switch to use ralink-eth driver (#7580) 2021-08-04 11:38:05 +08:00
coolsnowwolf
13dfa7a8b8 ramips: remove eip 5.4 patch 2021-07-31 16:28:33 +08:00
Ailick
aa347717dd
ramips: crypto: Fix with Mediatek EIP93 Crypto Engine for MT7621 SoC (#7568) 2021-07-31 14:46:15 +08:00
AmadeusGhost
27cbdc106d
ramips: cr660x: fix network settings (#7565) 2021-07-31 12:21:02 +08:00
coolsnowwolf
4925397922 ramips: fix some switch target sysupgrade 2021-07-31 00:02:33 +08:00
coolsnowwolf
90810371f9 ramips: cr660x add switch support 2021-07-30 23:46:39 +08:00
coolsnowwolf
d8f3d5efb3 ramips: add wireless tools 2021-07-30 21:42:24 +08:00
AmadeusGhost
6006596973
ramips: mt7621: add back switch support (#7560)
Based-on: https://github.com/x-wrt/x-wrt
2021-07-30 21:39:12 +08:00
coolsnowwolf
807e8e4f29 ramips: add Mediatek EIP93 Crypto Engine for MT7621 SoC 2021-07-28 10:25:30 +08:00
coolsnowwolf
65068ed984 Revert "treewide: convert mtd-mac-address-increment* to generic implementation"
This reverts commit 82d9b3e2c4.
2021-07-23 00:29:52 +08:00
coolsnowwolf
82d9b3e2c4 treewide: convert mtd-mac-address-increment* to generic implementation 2021-07-23 00:20:32 +08:00
Rui Salvaterra
8575f72a6b kernel: bump 5.10 to 5.10.51
No deleted or manually refreshed patches.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-07-22 23:55:59 +08:00
Beginner
32419ee4e4
Revert "kernel: bump 5.10 to 5.10.51 (#7437)" (#7473)
This reverts commit a8ad0940bf.
2021-07-22 17:53:15 +08:00
Beginner
a8ad0940bf
kernel: bump 5.10 to 5.10.51 (#7437)
* kernel: bump 5.10 to 5.10.51

No deleted or manually refreshed patches.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

* linux/rockchip: update the USB 3.0 controller node patch

This has been added in Linux 5.10.51 [1], but it's broken/incomplete. Update our
patch and refresh the remaining patches.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.51&id=421aff50af5e4cdc56b3ac8d6b670e09697bc8ac

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-07-21 05:33:35 +00:00
coolsnowwolf
ea79bf45a6 ramips: add wireless tool for K2P 2021-07-19 17:05:35 +08:00
coolsnowwolf
ebe8ec1003 kernel: bump 5.10 to 5.10.50 2021-07-16 18:32:33 +08:00
coolsnowwolf
90659c4876 mvebu: fix missing Kconfig 2021-07-15 14:09:13 +08:00
AmadeusGhost
5e34f40296
ramips: improve support for dlink and xiaomi devices (#7370)
* ramips: dlink_dir-8xx-a1: switch to breed partition

* ramips: improve support for cr660x
2021-07-13 21:11:06 +08:00
coolsnowwolf
3625a73046 ramips: switch to kernel 5.10 2021-07-13 00:37:50 +08:00
coolsnowwolf
4f7aaacb00 adjust default package 2021-06-30 20:44:49 +08:00
coolsnowwolf
f5a8fa17f9 target: use ccache by default 2021-06-22 10:59:48 +08:00
lean
445ada8627 ramips: switch to kernel 5.10 2021-06-21 15:55:46 +08:00
lean
e63bfdca57 ramips: fix mt7620a 8M support 2021-06-19 18:09:39 +08:00
lean
7a50383ab6 add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
Beginner
c0bacc8f95
kernel: bump 5.4 to 5.4.124 (#6936)
Manually rebased:
  generic/hack-5.4/662-remove_pfifo_fast.patch

All other patches automatically rebased.

Build system: x86_64
Build-tested: ipq806x/R7800
Run-tested: ipq806x/R7800

No dmesg regressions, everything functional

Signed-off-by: John Audia <graysky@archlinux.us>
[manual changes to ramips/patches-5.10/835-asoc-add-mt7620-support.patch]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Co-authored-by: John Audia <graysky@archlinux.us>
2021-06-07 15:02:02 +08:00
AmadeusGhost
213f55ba58
ramips: xiaomi cr6606: increase firmware partition size (#6915) 2021-06-02 12:56:38 +08:00
AmadeusGhost
c07e97d809
ramips: add support for JCG Q20 (#6850)
JCG Q20 is an AX 1800M router.

Hardware specs:
  SoC: MediaTek MT7621AT
  Flash: Winbond W29N01HV 128 MiB
  RAM: Winbond W632GU6NB-11 256 MiB
  WiFi: MT7915 2.4/5 GHz 2T2R
  Ethernet: 10/100/1000 Mbps x3
  LED: Status (red / blue)
  Button: Reset, WPS
  Power: DC 12V,1A

Flash instructions:
  Upload factory.bin in stock firmware's upgrade page,
  do not preserve settings.

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2021-05-21 13:44:01 +08:00
lean
a92a7010eb kernel: bump 5.4 to 5.4.119 2021-05-20 12:54:36 +08:00
lean
376ec4b6ed kernel: bump 5.4 to 5.4.114 2021-05-03 23:37:30 +08:00
AmadeusGhost
6df341b33c
ramips: xiaomi cr6606: typo fixes (#6770) 2021-04-28 13:04:55 +08:00
lean
87f0b29a20 ramips: add support for Xiaomi Mi Router CR660x series 2021-04-27 22:58:52 +08:00
Beginner
a4773cf258
kernel: bump 5.4 to 5.4.113 (#6691)
* kernel: bump 5.4 to 5.4.112

* kernel: bump 5.4 to 5.4.113
2021-04-18 09:38:02 +08:00
lean
f6630978ef kernel: bump 5.4 to 5.4.106 2021-03-27 16:39:14 +08:00
AmadeusGhost
f06ba13bd2
kernel: bump 5.4 to 5.4.105 (#6520) 2021-03-14 11:52:33 +08:00
CN_SZTL
b484f2eeb3
Revert "Add broken-flash-reset flag to Youku YK-L1" (#6408)
This reverts commit 90bd81e099.

The commit 90bd81e099 is a duplicate of b132179c89.

Fixes: #6388
Fixes: #6406

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-21 12:30:04 +08:00
whc2001
90bd81e099
Add broken-flash-reset flag to Youku YK-L1 (#6372)
Add broken-flash-reset flag to Youku YK-L1 so soft reboot would work on the original 32MB flash.
2021-02-16 23:02:21 +08:00
AmadeusGhost
b132179c89
ramips: remove obsolete mx25l25635f compatible hack (#6380)
The kernel bump to 5.4 has removed the mx25l25635f hack, and the
mx25l25635f compatible is no longer required.

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

Co-authored-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2021-02-16 23:00:28 +08:00
noire11
0de1301c53
ramips: use mt proprietary driver for Netgear R6800 (#6324)
* ramips: use mt proprietary driver for Netgear R6800

Signed-off-by: noire11 <noire.wei@gmail.com>

* Merge branch 'master' of https://github.com/noire11/lede
2021-02-11 09:19:39 +08:00
dreamcmi
84bb1aaef6
add mt1300 wireless support (#6311)
* 添加glinet-mt1300支持

* 优化更新mt1300支持

* Fix mt1300 wireless unavailability problem

* Fix mt1300 wireless unavailability problem
2021-02-03 10:36:25 +08:00
AmadeusGhost
18d284b238
ramips: re-added phicomm k2p 32m version (#6235) 2021-01-23 19:23:18 +08:00
AmadeusGhost
c83233b052
kernel: bump 5.4 to 5.4.91 (#6225) 2021-01-21 20:51:19 +08:00
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
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
AmadeusGhost
f0da89a98b
ramips: fix k2p 32m reboot problems (#6085) 2020-12-23 12:30:07 +08:00
lean
5be81314bb ramips: mt7621 default overclock to 1000Mhz 2020-12-23 00:18:58 +08:00
AmadeusGhost
995724bffb
kernel: bump 5.4 to 5.4.83 (#6040) 2020-12-17 23:29:07 +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
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
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
DoveKi
2b57c926b4
Update Xiaomi R4 get lan_mac (#5437) 2020-09-11 13:52:09 +08:00
AmadeusGhost
404209f6c4
kernel: bump to 4.14.193, 4.19.138, 5.4.59 (#5350)
kernel: bump to 4.14.193, 4.19.138, 5.4.59 (#5350)
  431fb8c mac80211: add AQL improvements
  6bdd4c9 mac80211: add missing backports for building with 4.14 kernels
  0106820 mac80211: add missing return code checks in AQL improvements
  e7f7101 mac80211: rework encapsulation offload support

[package]
  base-files: add function for generating random MAC
  dnsmasq: abort dhcp_check on interface state
  boot: sync upstream source code
  ath10k-ct-firmware/mt76/sch_cake: update to latest git HEAD

[script]
  download: add China Mirror Station

[target]
  Sync: arc770, ath79, bcm63xx, kirkwood, lantiq, layerscape,
        mediatek, mvebu, octeon, oxnas, pistachio, uml
  Sync most of the target patches.

Run-compiled-on: ipq40xx (4.19 & 5.4), ramips
2020-08-26 11:31:50 +08:00
DoveKi
85808a075c
ramips: use mt proprietary driver for XiaoMI MI R4 (#5244) 2020-08-05 19:40:13 +08:00
AmadeusGhost
30decd5f30
ramips/mtwifi: disable bind apcli interface to lan by default (#5178)
The apcli interface can be bound to either lan or wan, so cancel the
default settings.
2020-07-26 15:02:08 +08:00
AmadeusGhost
1e8536f117
ramips: improve ac2100/dir882 support (#5136) 2020-07-19 19:09:26 +08:00
AmadeusGhost
0635250cda
ramips/mt7621: re-added hwnat support for kernel 5.4 (#5120)
* ramips: mt7621.dtsi: add missing pinctrl to ethernet node

Add rgmii1_pins (1st GMAC) and mdio_pins to ethernet node
pinctrl to ensure they are set to correct mode

* ramips: kernel: ralink-eth support mt7621

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

* ramips: some devices use ralink-eth driver

Also re-added mt7621 hwnat support for some devices.

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
Signed-off-by: AmadeusGhost <amadeus@openjmu.xyz>

* ramips/mt7621: re-added hwnat support

Co-authored-by: LGA1150 <dqfext@gmail.com>
Co-authored-by: Chen Minqiang <ptpt52@gmail.com>
2020-07-18 01:02:11 +08:00
coolsnowwolf
95cd6ee365 ramips: miss typo 2020-07-10 17:45:48 +08:00
AmadeusGhost
15b5fbbc0a
ramips: improve support for dir878/882 (#5058) 2020-07-10 11:58:12 +08:00
coolsnowwolf
1eb3eac387 ramips: fix dts name 2020-07-08 23:03:33 +08:00
hyy-666
c9bd4acac7
fix missing dir-882 and dir-878 and enable mt7615d's LED default n (#5039) 2020-07-08 17:37:28 +08:00
hyy-666
e04cde3f2a
fix menuconfig missing DIR-878 A1 DIR-882 A1 (#5038) 2020-07-08 16:43:03 +08:00
hyy-666
345a201394
ramips: add support for Dlink DIR-878 A1 DIR-882 A1 Motorola MR2600 (#5035)
* ramips: add support for Dlink DIR-878 A1 DIR-882 A1 Motorola MR2600

* ramips: add support for Dlink DIR-878 A1 DIR-882 A1 Motorola MR2600

* ramips: add support for Dlink DIR-878 A1 DIR-882 A1 Motorola MR2600

Co-authored-by: hyy-666 <hyiy666@gmail.com>
2020-07-08 16:23:05 +08:00
AmadeusGhost
6647c14b61
rampis: newifi3: adjust led settings (#4999) 2020-07-06 11:41:46 +08:00
coolsnowwolf
707e6ed1a1 kernel: update to 4.14.187, 4.19.131, 5.4.50 2020-07-06 10:52:50 +08:00
coolsnowwolf
359680f107 ramips: fix netgear R6850 wireless depend 2020-07-05 17:48:33 +08:00
AmadeusGhost
24cb7521b6
mtwifi: add mt7612 support (#4968)
* mtwifi: add mt7612 support (Thx TangHaili)

* mtwifi: mt7603/7612: disable autoload (Thx TangHaili)

* ramips: newifi3: use mtwifi

* luci-app-mtwifi: sync TangHaili's Source
2020-07-05 11:57:49 +08:00
coolsnowwolf
d4539c3188 ramips: fix AC2100/R6850 wireless setting 2020-07-04 20:16:43 +08:00
AmadeusGhost
4c3334c5ba mtwifi: add dual 7615 support (Thx TangHaili) 2020-07-04 13:39:48 +08:00
coolsnowwolf
db12a9ccbe ramips: use mt proprietary driver for XiaoMI/Redmi AC2100 2020-07-04 11:34:26 +08:00
coolsnowwolf
1c1aef021d add mt proprietary driver for linux 5.4 (Thx MeIsReallyBa and hanwckf) 2020-07-04 11:23:36 +08:00
coolsnowwolf
df073244ab ramips:improve R6850 support 2020-07-04 00:13:20 +08:00
doveki
d83f9cd545 ramips: mt7621: update Xiaomi Mi Router 4 2020-07-03 16:04:48 +08:00
AmadeusGhost
5e437f378a mtwifi: bump to 5.0.4.0
Source code: https://github.com/MeIsReallyBa/mt7615-dbdc-linux5.4
2020-07-03 12:28:23 +08:00
AmadeusGhost
6b8c4c3bbb ramips: re-add devices and use wpad-openssl
Re-add devices: XiaoMi Wifi R3/R4/AC2100, JDCloud

Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-07-03 12:06:27 +08:00
AmadeusGhost
3fcc387312 generic/5.4: change thermal to tristate
fix #4922
2020-07-03 11:16:08 +08:00
coolsnowwolf
33abeff31c Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
doveki
0d171461ff ramips: mt7621: add support for Xiaomi Mi Router 4 2020-06-25 20:54:14 +08:00
AmadeusGhost
5240af2247 ramips: add support for Xiaomi R2100 (Black) 2020-06-21 16:09:39 +08:00
coolsnowwolf
dd25de3730 ramips: add redmi ac2100 pb-boot factory ubi format support 2020-05-26 15:17:00 +08:00
coolsnowwolf
cd6e66d6e1 ramips:improve R6850 support 2020-05-23 00:14:36 +08:00
NivalXer
5ae70efb04
ramips: add support for Linksys EA7500 v2 (#4646)
* ramips: add support for Linksys EA7500 v2

* fix build

* fix build

* update build config
2020-05-22 10:53:12 +08:00
AmadeusGhost
c985a54a61
kernel: bump to 4.9.223, 4.14.180, 4.19.122 (#4600)
* kernel: bump 4.9 to 4.9.223

Refreshed all patches.

Fixes:
- CVE-2020-12114

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

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

* kernel: bump 4.14 to 4.14.180

Refreshed all patches.

Fixes:
- CVE-2020-12114
- CVE-2020-11669

Compile-tested on: pistachio
Runtime-tested on: none

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

* kernel: bump 4.19 to 4.19.122

Refreshed all patches.

Remove upstreamed:
- 551-loop-Better-discard-support-for-block-devices.patch

Fixed:
- CVE-2020-11884
- CVE-2020-12114
- CVE-2019-3016
- CVE-2020-11669

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

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

Co-authored-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2020-05-13 13:28:43 +08:00
coolsnowwolf
de279cbd29 ramips: unlock Bootloader for Redmi AC2100 2020-05-09 15:36:49 +08:00
AmadeusGhost
9f90d1abd4
Redmi AC2100: adjust switch configuration (#4528) 2020-05-04 00:43:17 +08:00
AmadeusGhost
1a44b8d74f
ramips: fix build error (#4508) 2020-05-02 07:30:25 +08:00
AmadeusGhost
3c510baf47
ramips: fix support for Redmi AC2100 (#4500)
This commit fix switch and image config for Redmi AC2100.

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2020-05-01 22:37:45 +08:00
coolsnowwolf
01aeb5df0e ramips: Add support for Xiaomi Redmi Router AC2100 (RM2100) 2020-05-01 12:23:28 +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
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 ad6c6361f9f8 ("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
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
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
lean
ed0e83ee6c ramips: mt7530: Implement set_port_link 2020-03-19 22:58:39 +08:00
lean
3d3a95e5b4 ramips: update mt7530 switch settings 2020-03-17 02:03:47 +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
AmadeusGhost
f8d1eecc08
ramips: sync upstream source code (#3805) 2020-03-15 19:14:19 +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
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
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
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
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
AmadeusGhost
da5186e8f8
ramips: Revert 'allow to set switchdev by board in ramips_set_preinit_iface' (#3000)
This may affect wireless and network.
2020-02-08 17:14:44 +08:00
AmadeusGhost
6901278ef0
kernel: bump to 4.14.169, 4.19.101 (#2963)
* kernel: bump to 4.14.169, 4.19.101

* uboot: update to latest

* mediatek: bump to v4.19

* ath79: switch to wpad

* Revert 'grub2: update to latest'
2020-02-06 21:45:40 +08:00
AmadeusGhost
bf55ff68c7
ramips: sync from openwrt v19.07 (#2938)
This commit sync ramips from openwrt master, and revert use caldata.sh
so that wireless for some devices can works.
2020-02-05 23:47:49 +08:00
coolsnowwolf
ecea39f109 Revert "files: sync from openwrt v19.07 (#2690)"
This reverts commit 2289184a62.
2020-02-03 12:33:25 +08:00
AmadeusGhost
2289184a62
files: sync from openwrt v19.07 (#2690) 2020-02-01 16:50:37 +08:00
likanchen
a08774c525 Solve a problem during compiling for mt76x8 (#2780)
change default package from wpad-basic to wpad-openssl for mt76x8 to solve some problems during compiling.
2020-01-18 01:35:21 +08:00
LEAN-ESX
8380473e7b target: shrink to support 8M rom 2019-12-15 02:59:57 -08:00
LEAN-ESX
09fd59b30b ramips: add support for JCG JHR-AC876M 2019-12-15 01:54:58 -08:00
LEAN-ESX
63d071ae0d ramips: fir 32M spi soft shutdown 2019-12-15 01:47:52 -08:00
LEAN-ESX
87ddda1137 ramips: enabled firstboot wireless 2019-12-13 21:09:11 -08:00
LEAN-ESX
7ea08e97fe ramips: mt7621: add support for Netgear R6800 2019-12-13 08:25:54 -08:00
AmadeusGhost
499a8ba3da ramips: Re-add support for XiaoYu-C5 (#2376)
* ramips: XiaoYu-C5 fix to 512MB

* Re-add support for XiaoYu-C5
2019-12-11 14:05:42 +08:00
LEAN-ESX
a70a719e81 kernel: bump to 4.9.206, 4.14.158, 4.19.88 2019-12-10 19:40:41 -08:00
LEAN-ESX
40f51aebde ramips: add support for XiaoYu XY-C5 2019-12-08 07:31:11 -08:00
LEAN-ESX
6a4cddf7c2 target: sync with OpenWrt 19.07-rc2 2019-12-07 20:13:33 -08:00
LEAN-ESX
5d51ba13ef ramips: delete MTK 762x support 2019-12-07 07:51:55 -08:00
LEAN-ESX
6e8290d715 kernel: bump to 4.9.205, 4.14.156, 4.19.86 2019-12-01 05:59:29 -08:00
LEAN-ESX
738b79e216 UnblockNeteaseMusic: bump to 0.22.1 2019-11-24 05:54:31 -08:00
LEAN-ESX
4730b1260e kernel: bump to 4.9.202, 4.14.154, 4.19.84 2019-11-21 17:42:54 -08:00
LEAN-ESX
a196a98f00 Revert "kernel: bump to 4.9.202, 4.14.154, 4.19.84"
This reverts commit 2070dec20d.
2019-11-21 04:03:03 -08:00
LEAN-ESX
2070dec20d kernel: bump to 4.9.202, 4.14.154, 4.19.84 2019-11-20 23:04:05 -08:00
LEAN-ESX
d28f568be2 ramips: XiaoYu-C5 fix to 512MB 2019-10-26 08:49:46 -07:00
LEAN-ESX
1aaf35221a mt7621: memory auto-detection to support k2p 256MB/512MB 2019-10-08 08:48:36 -07:00
LEAN-ESX
6e2f8766af kernel: bump to 4.9.196, 4.14.148, 4.19.78 2019-10-08 07:38:30 -07:00
LEAN-ESX
65b25ceb18 ramips: add wm8960 asoc sound driver for mt762x 2019-09-26 21:16:13 -07:00
LEAN-ESX
0a23772078 ramips: fix XiaoYu C5 led setting 2019-09-26 20:41:34 -07:00
LEAN-ESX
18a87273c0 ramips: fix XiaoYu XY-C5 dts 2019-09-26 20:35:50 -07:00
LEAN-ESX
c46095fd92 merge upstream flow offload patch 2019-09-26 05:40:29 -07:00
LEAN-ESX
b6f5ffdf18 ramips: add XiaoYu mt7621 support 2019-09-12 00:24:40 -07:00
ITdesk01
fe024b849e ramips: add support for ADSLR G7
SoC: MT7621AT
RAM: 256MB
Flash: 16M SPI
Ethernet: 5x GE ports
WiFi: 2.4G: MT7615N
5G: MT7615N

Flash instruction:
1.Modify the file to linux.bin
2.Set up FTP service
3.Computer settings fixed IP: 192.168.179.50 255.255.255.0
4.Turn on the power and press and hold the reset button until the indicator light is on for about 5 seconds.

Signed-off-by: Zhenjian Zhang <itdesk.zhang@gmail.com>
2019-08-14 16:53:47 +08:00
LEAN-ESX
4aa5ec7a02 ramips: fix mac addresses used by Phicomm K2P 2019-07-26 02:33:46 -07:00
LEAN-ESX
a9442ddd7b ramips: add kmod-mt7615e to Phicomm K2P images 2019-07-25 23:11:13 -07:00
LEAN-ESX
1d882a86f6 kernel: bump to 4.9.183, 4.14.129, 4.19.53 2019-07-06 07:02:01 -07:00
LEAN-ESX
4456b485cb kernel: bump to 4.9.182, 4.14.127, 4.19.52 to fix SACK Panic 2019-06-19 02:46:58 -07:00
coolsnowwolf
91ed8a05f4 kernel: bump to 4.9.175, 4.14.118, 4.19.42 2019-05-15 00:13:16 +08:00
coolsnowwolf
facb9642b3 ramips: add support for ASUS RT-AC54U 2019-05-12 23:01:19 +08:00
coolsnowwolf
4fada49231 bug fix 2019-05-03 00:02:51 +08:00
coolsnowwolf
68b8f806a1 k2p: add wireless support 2019-05-01 10:10:07 +08:00
coolsnowwolf
c1c24e78b9 ramips: add MT7530 switch port-mirroring support 2019-04-25 01:17:59 +08:00
coolsnowwolf
13252329ec ramips:remove some unnecessary packages from MT7620 target to save some space 2019-04-21 01:08:14 +08:00
coolsnowwolf
6879801688 ramips: mt7615 80211 driver support to dts for R3P 2019-04-20 21:02:35 +08:00
coolsnowwolf
f2966113d1 ramips: fix vlan retag on mt7621 2019-04-18 10:27:33 +08:00
coolsnowwolf
8db5e2cc02 ramips: update upsteam patch 2019-04-15 22:15:19 +08:00
coolsnowwolf
1933bc8bfa Revert "ramips: sync with upsteam target"
This reverts commit 9cd0dc0dc9.
2019-04-15 22:12:35 +08:00
coolsnowwolf
9cd0dc0dc9 ramips: sync with upsteam target 2019-04-15 15:58:00 +08:00
coolsnowwolf
031c8521c8 ramips: implement vlan rx offload on MT7621 2019-04-04 11:43:42 +08:00
coolsnowwolf
a04283b4f7 ramips: add Xiaomi Mi Router 3 support 2019-04-02 21:50:44 +08:00
coolsnowwolf
d5107528bc kernel: bump to 4.9.166 and 4.14.109 2019-03-30 20:46:18 +08:00
coolsnowwolf
ec09753204 kernel: bump to 4.9.163 and 4.14.106 2019-03-20 13:52:57 +08:00
coolsnowwolf
7e119a321b ramips: rework network settings for HC5861 (JI3) 2019-03-11 17:31:18 +08:00
coolsnowwolf
3da298931b kernel: bump 3.18.136, 4.9.160, 4.14.103, 4.19.25 2019-02-26 22:12:35 +08:00
phorcys
a4cc14dc85 Add Xiaomi Router 4 support
Hardware is the same as mir3g
except:
ram 256M ->  128M
switch  lan 2 3  wan 1 ->  lan 1 2 wan 4
2019-02-20 17:42:37 +08:00
coolsnowwolf
f16d4fe369 kernel: bump to 3.8.134, 4.9.155, 4.14.98, 4.19.20 2019-02-12 23:17:22 +08:00
coolsnowwolf
d9b83ef6fd kernel: bump to 3.8.133, 4.9.153, 4.14.96 2019-02-12 23:04:43 +08:00
coolsnowwolf
415d563eeb kernel:update kernel verson to 3.18.131, 4.9.148, 4.14.91 2019-01-11 11:25:40 +08:00
coolsnowwolf
900fbaf8a5 x86:add kernel 4.19 support 2019-01-11 11:21:06 +08:00
coolsnowwolf
a2cf0884a5 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2019-01-11 11:08:50 +08:00
coolsnowwolf
d2a0f81639 add 32M spi reboot patch for mtk762x 2019-01-11 11:08:34 +08:00
a1768623020
c466387e1e PBR-M1 firmware change to 32M size (dts)
固件大小为32Mb
2019-01-08 11:04:50 +08:00
a1768623020
413c6a4e28 PBR-M1 firmware change to 32M size
pbr-m1固件大小为32m
2019-01-08 11:04:31 +08:00
coolsnowwolf
b5f0b20094 firmware: update acrh17 firmware 2019-01-03 20:29:35 +08:00
coolsnowwolf
347daa04b2 Merge branch master of https://github.com/coolsnowwolf/lede 2019-01-03 19:29:28 +08:00
coolsnowwolf
05f9b24364 ramips: fix Gehua bootup looping 2018-12-31 12:16:08 +08:00
coolsnowwolf
fe442f9cf9 ramips: disable Newifi-D2 highmem 2018-12-28 23:37:00 +08:00
Fsick
147fa1ff62 ramips: fix MT7621 dtsi
* ramips: add support for GeHua GHL-R-001

* ramips: fix MT7621 dtsi
2018-12-28 23:01:52 +08:00
Fsick
96e2c4b7d4 ramips: add support for GeHua GHL-R-001 2018-12-28 16:38:25 +08:00
coolsnowwolf
efc7d235f5 Revert "ramips: update dts from upstream"
This reverts commit 506e55bee8.
2018-12-28 16:33:20 +08:00
coolsnowwolf
5ec5d6d794 ramips: add m25p shutdown patch 2018-12-27 21:54:24 +08:00
coolsnowwolf
506e55bee8 ramips: update dts from upstream 2018-12-27 21:53:13 +08:00
coolsnowwolf
334048b2c4 kernel: bump to 3.18.128, 4.9.144, 4.14.87 2018-12-12 15:39:25 +08:00
coolsnowwolf
6e9299a6b3 ramips: add support for more model 2018-11-28 18:40:04 +08:00
coolsnowwolf
4e6f1808f3 kernel: bump 4.14 to 4.14.79 2018-11-24 14:16:28 +08:00
coolsnowwolf
88345ec906 ramips: fix calculation of cpu frequency for mt7621 when overclock 2018-11-23 00:38:24 +08:00
Fsick
aee91483b9 mt76: update to the latest version
* Roll back mt76 version to 2018-11-09

* mt76: update to the latest version

* ramips: add missing DTS frequency limit for the 5 GHz radio on Archer
2018-11-19 16:48:57 +08:00
coolsnowwolf
f7af64cef7 Revert "mt76: do not wake tx queues during flush"
This reverts commit 7a494295cb.
2018-11-13 21:30:06 +08:00
Fsick
7a494295cb mt76: do not wake tx queues during flush 2018-11-13 19:05:35 +08:00
coolsnowwolf
3bb61a1c01 SPI 32MB soft reboot patch for ramips 2018-11-11 01:51:08 +08:00
coolsnowwolf
0b049d2385 remove 32M spi patch for mtk762x 2018-11-05 23:52:28 +08:00
coolsnowwolf
1b21ae112e add soft reboot support for mtk762x 32MB spi flash 2018-10-28 13:18:54 +08:00
coolsnowwolf
6906aa263a fix ramips mtk762x mmc/host/mtk-mmc/Kconfig drivers support 2018-10-21 18:12:38 +08:00
coolsnowwolf
51a3526595 drop ramips kenerl 4.9 support 2018-10-20 21:11:15 +08:00
coolsnowwolf
a8699d2d8d default support 802.11r and zerotier in Phicomm K2 for XueMao 2018-10-18 19:15:32 +08:00
coolsnowwolf
b4305f7bb5 mod Linksys RE6500 default packages 2018-10-18 19:00:52 +08:00
coolsnowwolf
f2f05f393d speedup adbyby boot speed 2018-10-18 01:24:19 +08:00
coolsnowwolf
4c45063e33 default enable 802.11r and 802.11w in ar71xx ath79 mvebu mtk7620 mtk7621 target 2018-10-17 22:06:35 +08:00
coolsnowwolf
da278383c7 enhance mtk 7621 CPU multicore load banlance 2018-10-16 00:52:23 +08:00
coolsnowwolf
8d67f77ff4 kernel version update to 4.9.132 and 4.14.75 2018-10-10 21:48:06 +08:00
coolsnowwolf
f88cb095ff re-add luci app vlmcsd 2018-10-08 23:22:19 +08:00
coolsnowwolf
6315864b01 bakcport kernel 4.9 support for ramips target 2018-10-08 17:06:46 +08:00
coolsnowwolf
0cf8475a54 ramips:support Phicomm K2P multiple leds in one light 2018-10-08 11:04:12 +08:00
coolsnowwolf
4e24548f70 backport kernel 4.9 support for ramips 2018-10-06 12:11:38 +08:00
coolsnowwolf
67afa057f2 Final git push. Add DNS Cache in Turbo ACC. Improve R7800/AC58U/ACRH17 wifi support. Some kernel updates 2018-10-05 14:42:08 +08:00
coolsnowwolf
523655caf3 kernel update to 4.9.128 and 4.14.71 2018-09-22 16:57:24 +08:00
coolsnowwolf
bb9ce1c8bf Enable FPU EMULATOR for MIPS 2018-09-10 18:09:42 +08:00
coolsnowwolf
806f5db174 sync with OpenWrt trunk 2018-09-07 13:43:55 +08:00
coolsnowwolf
9ba04fd0d7 sync with OpenWrt v18.06.1 stable new R8.1 version 2018-08-23 17:40:23 +08:00
coolsnowwolf
fc170dfd79 update ramips target in 4.14 2018-06-15 00:17:33 +08:00
coolsnowwolf
2b27fd97d7 fresh kernel 4.14 patch 2018-06-15 00:15:46 +08:00
coolsnowwolf
ef299a8ec1 update MTK 7621 patchs 2018-06-04 16:01:52 +08:00
coolsnowwolf
54d7a2f78f update kernel version to 4.9.101 and 4.14.42 2018-05-23 16:01:16 +08:00
coolsnowwolf
e985e89cae update linux target patch 2018-05-22 18:44:30 +08:00
coolsnowwolf
701cc08ea0 kernel version sync to openwrt-18.06 2018-05-22 14:51:26 +08:00
coolsnowwolf
8fe0636b8a Merge branch 'master' of github.com:lede-project/source 2018-04-23 18:50:49 +08:00
coolsnowwolf
b52215c8db MT7620 based boards with NAND flashsupport and fix wireless rx queue issue 2018-04-09 22:01:52 +08:00
coolsnowwolf
accfddd339 switch ramips to kernel 4.14 2018-04-08 17:57:18 +08:00
coolsnowwolf
519d118d74 kernel update 2018-01-24 13:18:14 +08:00
coolsnowwolf
20f7e75789 update to R7.5.4 2018-01-15 18:26:41 +08:00