Commit Graph

36 Commits

Author SHA1 Message Date
coolsnowwolf
f2815ef000 ramips: add support for Huasifei WHF283 2024-12-28 18:00:10 +08:00
Zy143L
6f6278dc2b
ramips: add support for NRadio WT6285 (#11304) 2023-06-13 00:10:45 +08:00
zfdx
12e94bfc9c
ramips: kernel 5.10: add mt7620-nand driver(#11076) 2023-04-04 11:35:34 +08:00
Senis John
7654ca0114 ramips: add support for HiWiFi HC5611
CPU: MediaTek MT7628AN @ 575 MHz
Flash: 16 MB
RAM: 128 MB
Ethernet: 10/100Mbps x 1
Wlan: 300 Mbps
USB: USB 2.0 x 1
LED: red/green x 1
Button: reset x 1

1. Open https://www.hiwifi.wtf/, Get Cloud token and unlock ssh
2. Upload the openwrt firmware to the router via SCP
3. Login the router via SSH
4. Run `mtd -r write path_to_firmware.bin firmware`

I have tested on my device.
- The LED will display RED on power-on, After system start completed, trun GREEN
- Reset button working now. Long press after 5s will reset factory. Short press less 1s will reboot the device
- USB can working under official u-boot

Signed-off-by: Senis John <thank243@gmail.com>
2022-12-04 23:48:43 +08:00
Shiji Yang
ac359a8b64 ramips: add missing WAN LED for Xiaomi Mi Router 4A / 4C
The blue WAN LED connected to GPIO37 is missing, so re-add it.

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
2022-10-25 10:29:02 +08:00
David Bauer
29706161e3 ramips: fix missing NVMEM subsystem
MAC address retrieval was switched to more generic upstream (5.13) NVMEM
based solution in commit 06bb4a5018cd ("ramips: convert mtd-mac-address
to nvmem implementation") , but NVMEM subsystem wasn't enabled in the
kernel, so fix it now.

Fixes: 06bb4a5018cd ("ramips: convert mtd-mac-address to nvmem implementation")
Signed-off-by: David Bauer <mail@david-bauer.net>
Signed-off-by: Petr Štetiar <ynezz@true.cz> [commit message]
2022-08-30 11:45:06 +08:00
Junle Fong
77fe3c1a3c
ramips: mt76x8: add missing config (#8440)
update kernel config file.
2021-12-15 15:38:10 +08:00
Boos4721
00eeb609c2
ramips: config refresh (#7984)
Signed-off-by: boos4721 <3.1415926535boos@gmail.com>
2021-10-04 22:25:20 +08:00
coolsnowwolf
90659c4876 mvebu: fix missing Kconfig 2021-07-15 14:09:13 +08:00
coolsnowwolf
3625a73046 ramips: switch to kernel 5.10 2021-07-13 00:37:50 +08:00
lean
7a50383ab6 add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
coolsnowwolf
33abeff31c Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +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
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
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
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
7ea08e97fe ramips: mt7621: add support for Netgear R6800 2019-12-13 08:25:54 -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
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
347daa04b2 Merge branch master of https://github.com/coolsnowwolf/lede 2019-01-03 19:29:28 +08:00
coolsnowwolf
efc7d235f5 Revert "ramips: update dts from upstream"
This reverts commit 506e55bee8.
2018-12-28 16:33:20 +08:00
coolsnowwolf
506e55bee8 ramips: update dts from upstream 2018-12-27 21:53:13 +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
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
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
e985e89cae update linux target patch 2018-05-22 18:44:30 +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
97a4ffcc12 update source 2017-09-06 19:19:45 +08:00