User Tools

Site Tools


inbox:toh:xiaomi:xiaomi_mi_router_4a_gigabit_edition

Xiaomi Mi Router 4A Gigabit Edition

Under Construction!
This page is currently under construction. You can edit the article to help completing it.

The Xiaomi Mi Router 4A Gigabit Edition is an indoor wireless router based on the MediaTek MT7621 SoC, with three 10/100/1000 Ethernet ports (2xLAN + 1xWAN), dual band 802.11bgn+ac (dual radio) WiFi and four external non-detachable antennae. It is offered with either Chinese firmware, or Global (English) firmware.

The hardware is identical to the Xiaomi R3G v2. OpenWrt Xiaomi R3G

Xiaomi Mi Router 4A Gigabit Edition packaging case Xiaomi Mi Router 4A Gigabit Edition top view Xiaomi Mi Router 4A Gigabit Edition bottom view Xiaomi Mi Router 4A Gigabit Edition back view

Generic Router

OpenWrt support

The device is the same as MIR3G v2 and is supported as per the Git Commit, but installing OpenWrt from within the stock firmware easily is not yet supported; right now it requires reading the stock firmware directly from the SPI flash chip (e.g., using a chip programmer), modifying the flash memory dump and writing it back to the SPI flash.

Supporting activities

Check this post on the OpenWrt forum for all the information.

Hardware highlights

CPU Ram Flash Network WLAN USB Serial JTag
MediaTek MT7621 @ 880 MHz 128 MiB 16 MiB 3x 10/100/1000 bgn+ac N/A Yes N/A

Hardware

Info

Architecture MIPS
Vendor Mediatek
Bootloader U-Boot
System-On-Chip MT7621 family
CPU/Speed mipsel_24kc @ 880MHz 2 core
Flash size 16MB
RAM 128MB
Wireless MT7603/MT7612 2.4GHz/5GHz 802.11an+ac
Ethernet 1000 Mbit/s / vlan support
Serial Yes

Photos

Insert photo of front of the casing

Insert photo of back of the casing

Insert photo of backside label

Insert photo of PCB

Opening the case

FIXME Describe what needs to be done to open the device, e.g. remove rubber feet, adhesive labels, screws, …

Serial

port.serial general information about the serial port, serial port cable, etc.

How to connect to the Serial Port of this specific device:
Insert photo of PCB with markings for serial port

FIXME Replace EXAMPLE by real values.

Serial connection parameters
for Xiaomi Mi Router 4A Gigabit Edition @@Version@@
EXAMPLE 115200, 8N1

JTAG

port.jtag general information about the JTAG port, JTAG cable, etc.

How to connect to the JTAG Port of this specific device:
Insert photo of PCB with markings for JTAG port

Bootlogs

OEM bootlog

Starting kernel ... LINUX started... THIS IS ASIC SDK 5.0.S.0 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 3.10.14 (jenkins@220e348357e7) (gcc version 4.8.5 (crosstool-NG crosstool-ng-1.22.0) ) #1 MiWiFi-R4A-2.28.37 SMP Thu Jan 24 07:53:59 UTC 2019 [ 0.000000] [ 0.000000] The CPU feqenuce set to 880 MHz [ 0.000000] GCMP present [ 0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc) [ 0.000000] Software DMA cache coherency [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 08000000 @ 00000000 (usable) [ 0.000000] User-defined physical RAM map: [ 0.000000] memory: 08000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x00000000-0x00ffffff] [ 0.000000] Normal [mem 0x01000000-0x07ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x00000000-0x07ffffff] [ 0.000000] Detected 3 available secondary CPU(s) [ 0.000000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 0.000000] PERCPU: Embedded 7 pages/cpu @8167e000 s6912 r8192 d13568 u32768 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: console=ttyS1,115200n8 uart_en=0 factory_mode=0 mem=128m root=/dev/mtdblock9 [ 0.000000] drivers/mtd/mtdpart.c mtd_init_bootos 1085 [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes) [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Writing ErrCtl register=0004264a [ 0.000000] Readback ErrCtl register=0004264a [ 0.000000] allocated 262144 bytes of page_cgroup [ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups [ 0.000000] Memory: 123944k/131072k available (4062k kernel code, 7128k reserved, 1044k data, 264k init, 0k highmem) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS:128 [ 0.000000] console [ttyS1] enabled [ 0.150000] Calibrating delay loop... 577.53 BogoMIPS (lpj=2887680) [ 0.210000] pid_max: default: 32768 minimum: 301 [ 0.210000] Mount-cache hash table entries: 512 [ 0.220000] Initializing cgroup subsys memory [ 0.220000] launch: starting cpu1 [ 0.230000] launch: cpu1 gone! [ 0.230000] CPU1 revision is: 0001992f (MIPS 1004Kc) [ 0.230000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes. [ 0.230000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.230000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 0.290000] Synchronize counters for CPU 1: done. [ 0.300000] launch: starting cpu2 [ 0.300000] launch: cpu2 gone! [ 0.300000] CPU2 revision is: 0001992f (MIPS 1004Kc) [ 0.300000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes. [ 0.300000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.300000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 0.360000] Synchronize counters for CPU 2: done. [ 0.370000] launch: starting cpu3 [ 0.370000] launch: cpu3 gone! [ 0.370000] CPU3 revision is: 0001992f (MIPS 1004Kc) [ 0.370000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes. [ 0.370000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.370000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 0.430000] Synchronize counters for CPU 3: done. [ 0.440000] Brought up 4 CPUs [ 0.440000] devtmpfs: initialized [ 0.440000] NET: Registered protocol family 16 [ 0.750000] release PCIe RST: RALINK_RSTCTRL = 7000000 [ 0.750000] PCIE PHY initialize [ 0.750000] ***** Xtal 40MHz ***** [ 0.760000] start MT7621 PCIe register access [ 1.350000] RALINK_RSTCTRL = 7000000 [ 1.360000] RALINK_CLKCFG1 = 73ffeff8 [ 1.360000] [ 1.360000] *************** MT7621 PCIe RC mode ************* [ 1.860000] pcie_link status = 0x3 [ 1.860000] RALINK_RSTCTRL= 7000000 [ 1.870000] *** Configure Device number setting of Virtual PCI-PCI bridge *** [ 1.870000] RALINK_PCI_PCICFG_ADDR = 21007f2 -> 21007f2 [ 1.880000] PCIE0 enabled [ 1.880000] PCIE1 enabled [ 1.880000] interrupt enable status: 300000 [ 1.890000] Port 1 N_FTS = 1b105000 [ 1.890000] Port 0 N_FTS = 1b105000 [ 1.900000] config reg done [ 1.900000] init_rt2880pci done [ 1.920000] bio: create slab <bio-0> at 0 [ 1.930000] SCSI subsystem initialized [ 1.930000] PCI host bridge to bus 0000:00 [ 1.940000] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff] [ 1.940000] pci_bus 0000:00: root bus resource [io 0x1e160000-0x1e16ffff] [ 1.950000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] [ 1.960000] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 1.970000] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 1.980000] pci 0000:00:00.0: BAR 0: can't assign mem (size 0x80000000) [ 1.980000] pci 0000:00:01.0: BAR 0: can't assign mem (size 0x80000000) [ 1.990000] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff] [ 2.000000] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref] [ 2.000000] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff] [ 2.010000] pci 0000:00:00.0: BAR 1: assigned [mem 0x60300000-0x6030ffff] [ 2.020000] pci 0000:00:01.0: BAR 1: assigned [mem 0x60310000-0x6031ffff] [ 2.020000] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit] [ 2.030000] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref] [ 2.040000] pci 0000:00:00.0: PCI bridge to [bus 01] [ 2.040000] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff] [ 2.050000] pci 0000:00:00.0: bridge window [mem 0x60100000-0x601fffff pref] [ 2.060000] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff] [ 2.060000] pci 0000:00:01.0: PCI bridge to [bus 02] [ 2.070000] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff] [ 2.080000] PCI: Enabling device 0000:00:00.0 (0004 -> 0006) [ 2.080000] PCI: Enabling device 0000:00:01.0 (0004 -> 0006) [ 2.090000] BAR0 at slot 0 = 0 [ 2.090000] bus=0x0, slot = 0x0 [ 2.090000] res[0]->start = 0 [ 2.100000] res[0]->end = 0 [ 2.100000] res[1]->start = 60300000 [ 2.100000] res[1]->end = 6030ffff [ 2.110000] res[2]->start = 0 [ 2.110000] res[2]->end = 0 [ 2.110000] res[3]->start = 0 [ 2.110000] res[3]->end = 0 [ 2.120000] res[4]->start = 0 [ 2.120000] res[4]->end = 0 [ 2.120000] res[5]->start = 0 [ 2.130000] res[5]->end = 0 [ 2.130000] BAR0 at slot 1 = 0 [ 2.130000] bus=0x0, slot = 0x1 [ 2.130000] res[0]->start = 0 [ 2.140000] res[0]->end = 0 [ 2.140000] res[1]->start = 60310000 [ 2.140000] res[1]->end = 6031ffff [ 2.150000] res[2]->start = 0 [ 2.150000] res[2]->end = 0 [ 2.150000] res[3]->start = 0 [ 2.160000] res[3]->end = 0 [ 2.160000] res[4]->start = 0 [ 2.160000] res[4]->end = 0 [ 2.160000] res[5]->start = 0 [ 2.170000] res[5]->end = 0 [ 2.170000] bus=0x1, slot = 0x0, irq=0x4 [ 2.170000] res[0]->start = 60000000 [ 2.180000] res[0]->end = 600fffff [ 2.180000] res[1]->start = 0 [ 2.180000] res[1]->end = 0 [ 2.190000] res[2]->start = 0 [ 2.190000] res[2]->end = 0 [ 2.190000] res[3]->start = 0 [ 2.200000] res[3]->end = 0 [ 2.200000] res[4]->start = 0 [ 2.200000] res[4]->end = 0 [ 2.200000] res[5]->start = 0 [ 2.210000] res[5]->end = 0 [ 2.210000] bus=0x2, slot = 0x1, irq=0x18 [ 2.210000] res[0]->start = 60200000 [ 2.220000] res[0]->end = 602fffff [ 2.220000] res[1]->start = 0 [ 2.220000] res[1]->end = 0 [ 2.230000] res[2]->start = 0 [ 2.230000] res[2]->end = 0 [ 2.230000] res[3]->start = 0 [ 2.230000] res[3]->end = 0 [ 2.240000] res[4]->start = 0 [ 2.240000] res[4]->end = 0 [ 2.240000] res[5]->start = 0 [ 2.250000] res[5]->end = 0 [ 2.250000] Switching to clocksource MIPS [ 2.250000] cfg80211: Calling CRDA to update world regulatory domain [ 2.260000] NET: Registered protocol family 2 [ 2.260000] TCP established hash table entries: 1024 (order: 1, 8192 bytes) [ 2.260000] TCP bind hash table entries: 1024 (order: 1, 8192 bytes) [ 2.260000] TCP: Hash tables configured (established 1024 bind 1024) [ 2.260000] TCP: reno registered [ 2.260000] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 2.260000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 2.260000] NET: Registered protocol family 1 [ 2.270000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 2.270000] jffs2: version 2.2. (NAND) (SUMMARY) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 2.270000] msgmni has been set to 242 [ 2.270000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 2.270000] io scheduler noop registered (default) [ 2.270000] MIWIFI panic notifier registeredreg_int_mask=0, INT_MASK= 0 [ 2.270000] HSDMA_init [ 2.270000] [ 2.270000] hsdma_phy_tx_ring0 = 0x00c00000, hsdma_tx_ring0 = 0xa0c00000 [ 2.270000] [ 2.270000] hsdma_phy_rx_ring0 = 0x00c04000, hsdma_rx_ring0 = 0xa0c04000 [ 2.270000] TX_CTX_IDX0 = 0 [ 2.270000] TX_DTX_IDX0 = 0 [ 2.270000] RX_CRX_IDX0 = 3ff [ 2.270000] RX_DRX_IDX0 = 0 [ 2.270000] set_fe_HSDMA_glo_cfg [ 2.270000] HSDMA_GLO_CFG = 465 [ 2.270000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 2.270000] serial8250: ttyS0 at MMIO 0x1e000d00 (irq = 27) is a 16550A [ 2.270000] serial8250: ttyS1 at MMIO 0x1e000c00 (irq = 26) is a 16550A [ 2.280000] led=10, on=4000, off=1, blinks,=1, reset=1, time=4000 [ 2.280000] Ralink gpio driver initialized [ 2.280000] brd: module loaded [ 2.280000] flash manufacture id: c8, device id 40 18 [ 2.280000] GD25Q128C(c8 40180000) (16384 Kbytes) [ 2.280000] mtd .name = raspi, .size = 0x01000000 (16M) .erasesize = 0x00010000 (64K) .numeraseregions = 0 [ 2.280000] Creating 10 MTD partitions on "raspi": [ 2.280000] 0x000000000000-0x000001000000 : "ALL" [ 2.280000] 0x000000000000-0x000000030000 : "Bootloader" [ 2.280000] 0x000000030000-0x000000040000 : "Config" [ 2.280000] 0x000000040000-0x000000050000 : "Bdata" [ 2.280000] 0x000000050000-0x000000060000 : "Factory" [ 2.290000] 0x000000060000-0x000000070000 : "crash" [ 2.290000] 0x000000070000-0x000000080000 : "cfg_bak" [ 2.290000] 0x000000080000-0x000000180000 : "overlay" [ 2.290000] 0x000000180000-0x000000e80000 : "OS1" [ 2.290000] mtd: try split OS1 partition [ 2.290000] mtd: split_firmware [ 2.290000] mtd: firmware_partition->size 0xd00000 [ 2.290000] mtd: firmware_partition->offset 0x180000 [ 2.290000] mtd: uimage_len 1855601 [ 2.290000] mtd: uimage_len 1900544 [ 2.290000] mtd: rootfs_partition->size 0xb30000 [ 2.290000] mtd: rootfs_partition->offset 0x350000 [ 2.290000] mtd: partition "rootfs" created automatically, ofs=350000, len=B30000 [ 2.290000] 0x000000350000-0x000000e80000 : "rootfs" [ 2.290000] 0x000000e80000-0x000001000000 : "disk" [ 2.290000] PPP generic driver version 2.4.2 [ 2.290000] PPP BSD Compression module registered [ 2.290000] PPP Deflate Compression module registered [ 2.290000] PPP MPPE Compression module registered [ 2.290000] NET: Registered protocol family 24 [ 2.290000] PPTP driver version 0.8.5 [ 2.300000] ps: can't get major 253 [ 2.300000] GMAC1_MAC_ADRH -- : 0x0000aabb [ 2.300000] GMAC1_MAC_ADRL -- : 0xccddeef2 [ 2.300000] Ralink APSoC Ethernet Driver Initilization. v3.1 1024 rx/tx descriptors allocated, mtu = 1500! [ 2.300000] GMAC1_MAC_ADRH -- : 0x0000aabb [ 2.300000] GMAC1_MAC_ADRL -- : 0xccddeef2 [ 2.300000] PROC INIT OK! [ 2.300000] softdog: Software Watchdog Timer: 0.08 initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=0) [ 2.300000] Netfilter messages via NETLINK v0.30. [ 2.300000] nfnl_acct: registering with nfnetlink. [ 2.300000] nf_conntrack version 0.5.0 (1936 buckets, 7744 max) [ 2.300000] ipip: IPv4 over IPv4 tunneling driver [ 2.300000] gre: GRE over IPv4 demultiplexor driver [ 2.300000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 2.300000] Type=Restricted Cone [ 2.300000] TCP: cubic registered [ 2.300000] NET: Registered protocol family 10 [ 2.300000] NET: Registered protocol family 17 [ 2.300000] l2tp_core: L2TP core driver, V2.0 [ 2.300000] l2tp_ppp: PPPoL2TP kernel driver, V2.0 [ 2.300000] l2tp_netlink: L2TP netlink interface [ 2.300000] 8021q: 802.1Q VLAN Support v1.8 [ 2.300000] find mtd name error reserved0 [ 2.300000] Failed to lock mtd reserved0 [ 2.300000] miqef: usr otp read not available [ 2.300000] miqef: mtd otp probe fail [ 2.670000] csd: CSD deadlock debugging initiated! [ 2.680000] VFS: Mounted root (squashfs filesystem) readonly on device 31:9. [ 2.690000] Freeing unused kernel memory: 264K (814fe000 - 81540000) config core 'version' # ROM ver option ROM '2.28.37' # channel option CHANNEL 'release' # hardware platform R1AC or R1N etc. option HARDWARE 'R4A' # CFE ver option UBOOT '1.0.2' # Linux Kernel ver option LINUX '0.0.1' # RAMFS ver option RAMFS '0.0.1' # SQUASHFS ver option SQAFS '0.0.1' # ROOTFS ver option ROOTFS '0.0.1' #build time option BUILDTIME 'Thu, 24 Jan 2019 07:45:23 +0000' #build timestamp option BUILDTS '1548315923' #build git tag option GTAG 'commit 0672ea2d789bb6ce0674800a379f12c515ed99d2' [ 3.970000] FFFFFFAA:BB:CC:FFFFFFDD:FFFFFFEE:FFFFFFF2 [ 3.970000] Raeth v3.1 (Tasklet,SkbRecycle) [ 3.980000] set CLK_CFG_0 = 0x40a00020!!!!!!!!!!!!!!!!!!1 [ 3.990000] phy_free_head is 0xc08000!!! [ 3.990000] phy_free_tail_phy is 0xc09ff0!!! [ 4.000000] txd_pool=a0c10000 phy_txd_pool=00C10000 [ 4.000000] ei_local->skb_free start address is 0x874226dc. [ 4.010000] free_txd: 00c10010, ei_local->cpu_ptr: 00C10000 [ 4.010000] POOL HEAD_PTR | DMA_PTR | CPU_PTR [ 4.020000] ----------------+---------+-------- [ 4.020000] 0xa0c10000 0x00C10000 0x00C10000 [ 4.030000] [ 4.030000] phy_qrx_ring = 0x00c0a000, qrx_ring = 0xa0c0a000 [ 4.040000] [ 4.040000] phy_rx_ring0 = 0x00c0c000, rx_ring0 = 0xa0c0c000 [ 4.060000] MT7530 Reset Completed!! [ 4.070000] change HW-TRAP to 0x17c8f [ 4.080000] set LAN/WAN LLLLW [ 4.090000] GMAC1_MAC_ADRH -- : 0x0000aabb [ 4.090000] GMAC1_MAC_ADRL -- : 0xccddeef2 [ 4.090000] GDMA2_MAC_ADRH -- : 0x0000aabb [ 4.100000] GDMA2_MAC_ADRL -- : 0xccddeef3 [ 4.100000] eth1: ===> VirtualIF_open [ 4.110000] MT7621 GE2 link rate to 1G [ 4.110000] CDMA_CSG_CFG = 81000000 [ 4.110000] GDMA1_FWD_CFG = 20710000 [ 4.110000] GDMA2_FWD_CFG = 20710000 - preinit - Thu Jan 24 07:53:59 UTC 2019 - regular preinit - /lib/preinit.sh: line 1: pi_indicate_led: not found 85190320 [ 5.170000] jffs2: notice: (499) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. [ 5.320000] jffs2: notice: (513) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. jffs2 not ready yet; using ramdisk - init - [ 6.170000] ra2880stop()...Done [ 6.180000] eth1: ===> VirtualIF_close [ 6.180000] Free TX/RX Ring Memory! init started: BusyBox v1.19.4 (2019-01-24 07:43:07 UTC) Please press Enter to activate this console. rcS S boot: INFO: rc script run time limit to 65 seconds. [ 6.430000] find mtd name error crash_syslog [ 6.430000] MIWIFI crash syslog initialize skiped! Code=1 [ 7.610000] Mirror/redirect action on [ 7.630000] u32 classifier [ 7.640000] input device check on [ 7.640000] Actions configured [ 7.830000] ip_gre: GRE over IPv4 tunneling driver [ 7.930000] xt_time: kernel timezone is +0800 [ 8.040000] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 8.370000] nf_nat_amanda: Unknown symbol nf_nat_amanda_hook (err 0) [ 8.530000] ip_set: protocol 6 [ 8.590000] ipaccount: ifname [lo] event[5] [ 8.590000] ipaccount: ifname [ifb0] event[5] [ 8.600000] ipaccount: ifname [eth0] event[5] [ 8.600000] ipaccount: ifname [tunl0] event[5] [ 8.610000] ipaccount: ifname [eth1] event[5] [ 8.610000] ipaccount: ifname [gre0] event[5] [ 8.610000] ipaccount: ifname [gretap0] event[5] [ 8.670000] dev_redirect OFF.dev_redirect load success. [ 9.290000] <-- RTMPAllocTxRxRingMemory, Status=0, ErrorValue=0x [ 9.290000] <-- RTMPAllocAdapterBlock, Status=0 [ 9.300000] ipaccount: ifname [wl1] event[16] [ 9.300000] ipaccount: ifname [wl1] event[5] [ 9.900000] <-- RTMPAllocTxRxRingMemory, Status=0 [ 9.920000] <-- RTMPAllocAdapterBlock, Status=0 [ 9.920000] pAd->CSRBaseAddress =0xc0d00000, csr_addr=0xc0d00000! [ 9.930000] <dbg> MAC_CSR0=1986146304, RtmpChipOpsHook [ 9.940000] <dbg> dev idx = 1! [ 9.940000] <dbg> get_dev_config_idx pAd->MACVersion = 76623000, pAd->ChipID = 76120044 [ 9.950000] ipaccount: ifname [wl0] event[16] [ 9.950000] ipaccount: ifname [wl0] event[5] [ 10.080000] ipaccount: ifname [eth0] event[11] Thu Jan 24 15:54:05 CST 2019 netconfig[832]: INFO: loading exist /etc/config/network. Thu Jan 24 15:54:05 CST 2019 netconfig[832]: config interface 'loopback' Thu Jan 24 15:54:05 CST 2019 netconfig[832]: option ifname 'lo' Thu Jan 24 15:54:05 CST 2019 netconfig[832]: option proto 'static' Thu Jan 24 15:54:05 CST 2019 netconfig[832]: option ipaddr '127.0.0.1' Thu Jan 24 15:54:05 CST 2019 netconfig[832]: option netmask '255.0.0.0' Thu Jan 24 15:54:05 CST 2019 netconfig[832]: config interface 'lan' Thu Jan 24 15:54:05 CST 2019 netconfig[832]: option ifname 'eth0' Thu Jan 24 15:54:05 CST 2019 netconfig[832]: option type 'bridge' Thu Jan 24 15:54:05 CST 2019 netconfig[832]: option proto 'static' Thu Jan 24 15:54:05 CST 2019 netconfig[832]: option ipaddr '192.168.31.1' Thu Jan 24 15:54:05 CST 2019 netconfig[832]: option netmask '255.255.255.0' Thu Jan 24 15:54:05 CST 2019 netconfig[832]: config interface 'wan' Thu Jan 24 15:54:05 CST 2019 netconfig[832]: option ifname 'eth1' Thu Jan 24 15:54:05 CST 2019 netconfig[832]: option proto 'dhcp' Thu Jan 24 15:54:05 CST 2019 netconfig[832]: config interface 'ifb' Thu Jan 24 15:54:05 CST 2019 netconfig[832]: option ifname 'ifb0' Thu Jan 24 15:54:05 CST 2019 netconfig[832]: config interface 'ready' Thu Jan 24 15:54:05 CST 2019 netconfig[832]: option proto 'static' Thu Jan 24 15:54:05 CST 2019 netconfig[832]: option ipaddr '169.254.29.1' Thu Jan 24 15:54:05 CST 2019 netconfig[832]: option netmask '255.255.255.0' Thu Jan 24 15:54:05 CST 2019 netconfig[832]: config interface 'openvpn' Thu Jan 24 15:54:05 CST 2019 netconfig[832]: option ifname 'tun0' Thu Jan 24 15:54:05 CST 2019 netconfig[832]: option proto 'openvpn' [ 12.490000] ipaccount: ifname [br-lan] event[16] [ 12.500000] ipaccount: ifname [br-lan] event[5] [ 12.500000] ipaccount: ifname [eth0] event[13] [ 12.510000] FFFFFFAA:BB:CC:FFFFFFDD:FFFFFFEE:FFFFFFF2 [ 12.510000] Raeth v3.1 (Tasklet,SkbRecycle) [ 12.520000] set CLK_CFG_0 = 0x40a00020!!!!!!!!!!!!!!!!!!1 [ 12.530000] phy_free_head is 0xc46000!!! [ 12.530000] phy_free_tail_phy is 0xc47ff0!!! [ 12.540000] txd_pool=a0c50000 phy_txd_pool=00C50000 [ 12.540000] ei_local->skb_free start address is 0x874226dc. [ 12.550000] free_txd: 00c50010, ei_local->cpu_ptr: 00C50000 [ 12.550000] POOL HEAD_PTR | DMA_PTR | CPU_PTR [ 12.560000] ----------------+---------+-------- [ 12.560000] 0xa0c50000 0x00C50000 0x00C50000 [ 12.570000] [ 12.570000] phy_qrx_ring = 0x00c45000, qrx_ring = 0xa0c45000 [ 12.580000] [ 12.580000] phy_rx_ring0 = 0x00c58000, rx_ring0 = 0xa0c58000 [ 12.610000] MT7530 Reset Completed!! [ 12.620000] change HW-TRAP to 0x17c8f [ 12.620000] set LAN/WAN LLLLW [ 12.630000] GMAC1_MAC_ADRH -- : 0x0000aabb [ 12.640000] GMAC1_MAC_ADRL -- : 0xccddeef2 [ 12.640000] eth1: ===> VirtualIF_open [ 12.640000] MT7621 GE2 link rate to 1G [ 12.640000] CDMA_CSG_CFG = 81000000 [ 12.640000] GDMA1_FWD_CFG = 20710000 [ 12.640000] GDMA2_FWD_CFG = 20710000 [ 12.650000] ipaccount: ifname [eth0] event[1] [ 12.650000] ipaccount: ifname [eth0] event[20] [ 12.650000] device eth0 entered promiscuous mode [ 12.650000] ipaccount: ifname [br-lan] event[11] [ 12.650000] ipaccount: ifname [br-lan] event[8] [ 12.650000] ipaccount: ifname [br-lan] event[8] [ 12.650000] ipaccount: ifname [br-lan] event[13] [ 12.650000] br-lan: port 1(eth0) entered forwarding state [ 12.650000] br-lan: port 1(eth0) entered forwarding state [ 12.650000] ipaccount: ifname [br-lan] event[1] [ 12.710000] ipaccount: ifname [ifb0] event[13] [ 12.720000] ipaccount: ifname [ifb0] event[1] [ 12.720000] ipaccount: ifname [lo] event[13] [ 12.730000] ipaccount: ifname [lo] event[1] [ 12.740000] ipaccount: ifname [eth1] event[13] [ 12.740000] eth1: ===> VirtualIF_open [ 12.750000] ipaccount: ifname [eth1] event[1] [ 13.490000] ipaccount: ifname [wl1] event[13] [ 13.490000] pAd->ApBootFlag = TRUE [ 13.580000] efuse_probe: efuse = 10000002 [ 13.760000] tssi_1_target_pwr_g_band = 34 [ 14.650000] br-lan: port 1(eth0) entered forwarding state [ 16.460000] <==== rt28xx_init, Status=0 [ 16.460000] ipaccount: ifname [wl2] event[16] [ 16.470000] ipaccount: ifname [wl2] event[5] [ 16.470000] ipaccount: ifname [wl3] event[16] [ 16.480000] ipaccount: ifname [wl3] event[5] [ 16.480000] ipaccount: ifname [apcli0] event[16] [ 16.490000] ipaccount: ifname [apcli0] event[5] [ 16.500000] pAd->ApBootFlag = FALSE [ 16.500000] ipaccount: ifname [wl1] event[1] [ 16.500000] ipaccount: ifname [br-lan] event[4] [ 17.270000] ipaccount: ifname [wl1] event[20] [ 17.270000] device wl1 entered promiscuous mode [ 17.280000] br-lan: port 2(wl1) entered forwarding state [ 17.280000] br-lan: port 2(wl1) entered forwarding state [ 17.310000] ipaccount: ifname [wl2] event[13] [ 17.310000] ##### mbss_cr_enable, BssId = 1 [ 17.320000] ipaccount: ifname [wl2] event[1] [ 18.450000] ipaccount: ifname [wl0] event[13] [ 18.450000] <dbg> MAC_CSR0=1986146304, rtmp_asic_top_init [ 18.490000] Set defult RDRegion value: CountryCode=CN , RDRegion=0 [ 18.710000] dev_redirect: add(+) dev redirect mapping: src:eth1->dst:ifb0 [ 19.280000] br-lan: port 2(wl1) entered forwarding state [ 20.850000] <==== rt28xx_init, Status=0 [ 20.850000] ipaccount: ifname [apclii0] event[16] [ 20.860000] ipaccount: ifname [apclii0] event[5] [ 20.860000] ipaccount: ifname [wl0] event[1] [ 21.550000] ipaccount: ifname [wl0] event[20] [ 21.550000] device wl0 entered promiscuous mode [ 21.560000] br-lan: port 3(wl0) entered forwarding state [ 21.560000] br-lan: port 3(wl0) entered forwarding state [ 23.560000] br-lan: port 3(wl0) entered forwarding state [ 24.970000] dev_redirect: add(+) dev redirect mapping: src:eth1->dst:ifb0 [ 25.870000] Ralink HW NAT Module Enabled [ 25.880000] eth0 ifindex =3 [ 25.890000] eth1 ifindex =5 [ 25.890000] HNAT: switch HNAT ON..... [ 25.890000] *hwnat reg dev ******* set dev[lo]->ifindex = 1 [ 25.900000] *hwnat reg dev ******* set dev[ifb0]->ifindex = 2 [ 25.900000] *hwnat reg dev ******* set dev[tunl0]->ifindex = 4 [ 25.920000] *hwnat reg dev ******* set dev[gre0]->ifindex = 6 [ 25.920000] *hwnat reg dev ******* set dev[gretap0]->ifindex = 7 [ 25.930000] *hwnat reg dev ******* set dev[wl1]->ifindex = 8 [ 25.940000] *hwnat reg dev ******* set dev[wl0]->ifindex = 9 [ 25.940000] *hwnat reg dev ******* set dev[br-lan]->ifindex = 10 [ 25.950000] *hwnat reg dev ******* set dev[wl2]->ifindex = 11 [ 25.950000] *hwnat reg dev ******* set dev[wl3]->ifindex = 12 [ 25.960000] *hwnat reg dev ******* set dev[apcli0]->ifindex = 13 [ 25.970000] *hwnat reg dev ******* set dev[apclii0]->ifindex = 14 [ 26.030000] HNAT: switch HNAT ON..... Thu Jan 24 15:54:21 CST 2019 boot_check[3504]: INFO: Wireless OK [ 27.970000] ipaccount: refresh dev ifname to [eth0 wl0 wl1 wl3] [ 27.970000] ipaccount: landev_init_all() add dev [eth0] is_wireless: 0. [ 27.980000] ipaccount: landev_init_all() add dev [wl0] is_wireless: 1. [ 27.990000] ipaccount: landev_init_all() add dev [wl1] is_wireless: 1. [ 27.990000] ipaccount: landev_init_all() add dev [wl3] is_wireless: 1. [ 28.170000] nf_tcp_proxy: module license 'Proprietary' taints kernel. [ 28.170000] Disabling lock debugging due to kernel taint [ 28.180000] tcpproxy_keyinfo_proc_init, create keyinfo proc entry ok! [ 28.190000] tcpproxy_init, succeed! [ 36.720000] dev_redirect: add(+) dev redirect mapping: src:eth1->dst:ifb0 [ 37.320000] dev_redirect OFF.rcS S boot: INFO: rcS S boot timing 33 seconds. Thu Jan 24 15:54:34 CST 2019 INFO: rcS S boot timing 33 seconds. rcS S boot: system type(R4A/2): SQUASH/3 Thu Jan 24 15:54:34 CST 2019 system type(R4A/2): SQUASH/3 rcS S boot: ROOTFS: /dev/root on / type squashfs (ro,relatime) Thu Jan 24 15:54:34 CST 2019 ROOTFS: /dev/root on / type squashfs (ro,relatime) [ 40.270000] led=10, on=1, off=4000, blinks,=1, reset=1, time=4000 [ 40.280000] led=8, on=1, off=4000, blinks,=1, reset=1, time=4000 [ 40.290000] led=10, on=1, off=4000, blinks,=1, reset=1, time=4000 [ 40.300000] led=8, on=4000, off=1, blinks,=1, reset=1, time=4000 uci: Entry not found Thu Jan 24 15:54:42 CST 2019 boot_check[5330]: Booting up finished.


OpenWrt bootlog

COPY HERE THE BOOTLOG ONCE OPENWRT IS INSTALLED AND RUNNING


Notes

Tags

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
inbox/toh/xiaomi/xiaomi_mi_router_4a_gigabit_edition.txt · Last modified: 2019/10/30 06:54 by bill888