1
0
Fork 0
forked from mirror/openwrt
openwrt/target/linux
Emir Efe Kucuk 53a1fede1f ramips: Add support for Xiaomi Mi Router(Black,R2100)
The Xiaomi Mi Router AC2100 is a *black* cylindrical router that shares many
characteristics (apart from its looks and the GPIO ports) with the 6-antenna
*white* "Xiaomi Redmi Router AC2100"

See the visual comparison of the two routers here:
https://github.com/emirefek/openwrt-R2100/raw/imgcdn/rm2100-r2100.jpg

Specification of R2100:
- CPU: MediaTek MT7621A
- RAM: 128 MB DDR3
- FLASH: 128 MB ESMT NAND
- WIFI: 2x2 802.11bgn (MT7603)
- WIFI: 4x4 802.11ac (MT7615)
- ETH: 3xLAN+1xWAN 1000base-T
- LED: Power, WAN in Yellow and Blue
- UART: On board (Don't know where is should be confirmed by anybody else)
- Modified u-boot

Hacking of official firmware process is same at both RM2100 and R2100.
Thanks to @namidairo

Here is the detailed guide Hack: https://github.com/impulse/ac2100-openwrt-guide
Guide is written for MacOS but it will work at linux.
needed packages: python3(with scapy), netcat, http server, telnet client

1. Run PPPoE&exploit to get nc and wget busybox, get telnet and wget firmware
2. mtd write openwrt-ramips-mt7621-xiaomi_mi-router-ac2100-kernel1.bin kernel1
3. nvram set uart_en=1
4. nvram set bootdelay=5
5. nvram set flag_try_sys1_failed=1
6. nvram commit
7. mtd -r write openwrt-ramips-mt7621-xiaomi_mi-router-ac2100-rootfs0.bin rootfs0

other than these I specified in here. Everything is same with:
f3792690c4
Thanks for all community and especially for this device:
@Ilyas @scp07 @namidairo @Percy @thorsten97 @impulse (names@forum.openwrt.com)

MAC Locations:
WAN *:b5 = factory 0xe006
LAN *:b6 = factory 0xe000
WIFI 5ghz *:b8 = factory 0x8004
WIFI 2.4ghz *:b7 = factory 0x0004

Signed-off-by: Emir Efe Kucuk <emirefek@gmail.com>
[refactored common image bits into Device/xiaomi-ac2100, fixed From:]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-07-08 16:07:05 +02:00
..
apm821xx kernel: Update kernel 5.4 to version 5.4.50 2020-07-04 21:12:42 +02:00
ar71xx ar71xx: Fix mikrotik NAND compile problem 2020-07-07 23:38:10 +02:00
arc770 treewide: drop shebang from non-executable target files 2020-06-16 14:26:33 +02:00
archs38 treewide: drop shebang from non-executable target files 2020-06-16 14:26:33 +02:00
armvirt armvirt,x86: fix build breakage of crypto ccp module 2020-06-23 09:29:00 +02:00
at91 treewide: drop shebang from non-executable target files 2020-06-16 14:26:33 +02:00
ath25 treewide: drop shebang from non-executable target files 2020-06-16 14:26:33 +02:00
ath79 ath79: nand: disable images for glinet_gl-ar750s 2020-07-07 19:47:24 +02:00
bcm27xx kernel: Update kernel 5.4 to version 5.4.50 2020-07-04 21:12:42 +02:00
bcm47xx kernel: Update kernel 4.19 to version 4.19.131 2020-07-04 21:12:42 +02:00
bcm53xx kernel: Update kernel 4.19 to version 4.19.131 2020-07-04 21:12:42 +02:00
bcm63xx kernel: Update kernel 5.4 to version 5.4.50 2020-07-04 21:12:42 +02:00
cns3xxx kernel: Update kernel 4.19 to version 4.19.131 2020-07-04 21:12:42 +02:00
gemini treewide: drop shebang from non-executable target files 2020-06-16 14:26:33 +02:00
generic generic: platform/mikrotik: add partial AR71xx cpufreq support 2020-07-08 16:07:05 +02:00
imx6 treewide: drop shebang from non-executable target files 2020-06-16 14:26:33 +02:00
ipq40xx kernel: Update kernel 4.19 to version 4.19.131 2020-07-04 21:12:42 +02:00
ipq806x ipq806x: move serial0 to DTSI files 2020-07-06 16:24:30 +02:00
ipq807x treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
kirkwood kirkwood: support for button in Pogoplug V4 2020-07-03 19:48:51 +02:00
lantiq lantiq: set port numbers corresponding to reg value 2020-07-07 01:03:59 +02:00
layerscape kernel: Update kernel 5.4 to version 5.4.50 2020-07-04 21:12:42 +02:00
malta malta: add missing symbols for kernel 5.4 2020-06-03 10:50:01 +01:00
mediatek kernel: Update kernel 5.4 to version 5.4.50 2020-07-04 21:12:42 +02:00
mpc85xx kernel: Update kernel 5.4 to version 5.4.50 2020-07-04 21:12:42 +02:00
mvebu mvebu: config define i2c pxa slave 2020-07-04 21:12:42 +02:00
mxs kernel: bump 5.4 to 5.4.28 2020-03-28 13:03:02 +01:00
octeon treewide: drop shebang from non-executable target files 2020-06-16 14:26:33 +02:00
octeontx kernel: bump 5.4 to 5.4.48 2020-06-22 12:51:22 +02:00
omap treewide: drop shebang from non-executable target files 2020-06-16 14:26:33 +02:00
oxnas kernel: Update kernel 5.4 to version 5.4.50 2020-07-04 21:12:42 +02:00
pistachio kernel: Update kernel 4.14 to version 4.14.187 2020-07-04 21:12:42 +02:00
ramips ramips: Add support for Xiaomi Mi Router(Black,R2100) 2020-07-08 16:07:05 +02:00
rb532 treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
rockchip treewide: simplify inclusion of subtarget image files 2020-06-11 01:44:13 +02:00
samsung kernel: Update kernel 4.14 to version 4.14.187 2020-07-04 21:12:42 +02:00
sunxi sunxi: add text referencing Allwinner H3 and H5 CPUs 2020-06-27 00:19:13 +02:00
tegra tegra: correct cpu subtype 2020-03-28 22:58:36 +01:00
uml treewide: Remove self from MAINTAINER entries 2019-12-23 13:18:04 -08:00
x86 kernel/pcengines-apu2: detect apuv4 board 2020-07-06 17:57:33 +02:00
zynq zynq: switch to kernel 5.4 2020-03-17 00:51:48 +01:00
Makefile