Xiaomi Mi Router 4A (R4AC) 100M (Chinese version)
There is no photo of the shipping box at this time, but it is believed the label attached to the shipping box will contain the following unique identifier. SKU: DVB4222CN
Back:
Note: There is no chinese writing on the label. Suspect this may be an image of the 4A 100m 'International' model. TBC
Opening the case
Note: This will void your warranty!
To open the case, you need to unscrew the two screws under the sticker and snap off the plastic clips around the perimeter. Use a plastic spudger so as not to marr the case. Plastic is soft and should yield easily.
Serial
→ port.serial general information about the serial port, serial port cable, etc.
How to connect to the Serial Port of this specific device:
Connect PCB TX to USB-UART RX, and PCB RX to USB-UART TX, then GND. Don't connect +3.3V as this may power the router from the computer before you're ready.
Serial connection parameters for Xiaomi Mi Router 4A (MIR4A) 100M Chinese version | 115200, 8N1, Flow Control - NO |
---|
JTAG
None so far; device doesn't have a readily-accessible JTAG port.
Bootloader mods
None so far.
Hardware mods
None so far.
Bootlogs
OEM bootlog
[04030C0E][04030C0E][88880000][23234545][00232345] DU Setting Cal Done U-Boot 1.1.3 (Oct 23 2018 - 13:31:19) Board: Ralink APSoC DRAM: 64 MB Power on memory test. Memory size= 64 MB...OK! relocate_code Pointer at: 83fb0000 RT2880_RSTSTAT_REG 0xc0030000 *************************** Board power on Occurred *************************** flash manufacture id: ef, device id 40 18 find flash: W25Q128BV env is right! ============================================ Ralink UBoot Version: 4.3.0.0 -------------------------------------------- ASIC 7628_MP (Port5<->None) DRAM component: 512 Mbits DDR, width 16 DRAM bus: 16 bit Total memory: 64 MBytes Flash component: SPI Flash Date:Oct 23 2018 Time:13:31:19 ============================================ icache: sets:512, ways:4, linesz:32 ,total:65536 dcache: sets:256, ways:4, linesz:32 ,total:32768 ##### The CPU freq = 575 MHZ #### estimate memory size =64 Mbytes RESET MT7628 PHY!!!!!! Please choose the operation: 1: Load system code to SDRAM via TFTP. 2: Load system code then write to Flash via TFTP. 3: Boot system code via Flash (default). 4: Entr boot command line interface. 9: Load Boot Loader code then write to Flash via TFTP. n3: System Boot system code via Flash. Booting System 1 Erasing SPI Flash... raspi_erase: offs:20000 len:10000 . Writing to SPI Flash... . done ## Booting image at bc160000 ... Image Name: MIPS OpenWrt Linux-3.10.14 Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1425228 Bytes = 1.4 MB Load Address: 80000000 Entry Point: 80000000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK Erasing SPI Flash... raspi_erase: offs:20000 len:10000 . Writing to SPI Flash... . done commandline uart_en=0 factory_mode=0 mem=64m root=/dev/mtdblock8 No initrd ## Transferring control to Linux (at address 80000000) ... ## Giving linux memsize in MB, 64 Starting kernel ... LINUX started... THIS IS ASIC [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 3.10.14 (jenkins@a0c60680870f) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 MiWiFi-R4AC-2.8 [ 0.000000] [ 0.000000] The CPU feqenuce set to 575 MHz [ 0.000000] [ 0.000000] MIPS CPU sleep mode enabled. [ 0.000000] CPU0 revision is: 00019655 (MIPS 24KEc) [ 0.000000] Software DMA cache coherency [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 04000000 @ 00000000 (usable) [ 0.000000] User-defined physical RAM map: [ 0.000000] memory: 04000000 @ 00000000 (usable) [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x00000000-0x03ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x00000000-0x03ffffff] [ 0.000000] Primary instruction cache 64kB, 4-way, VIPT, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 [ 0.000000] Kernel command line: console=ttyS1,115200n8 uart_en=0 factory_mode=0 mem=64m root=/dev/mtdblock8 [ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes) [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Writing ErrCtl register=0004fe52 [ 0.000000] Readback ErrCtl register=0004fe52 [ 0.000000] allocated 131072 bytes of page_cgroup [ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups [ 0.000000] Memory: 60488k/65536k available (3212k kernel code, 5048k reserved, 723k data, 220k init, 0k highmem) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS:128 [ 0.000000] console [ttyS1] enabled [ 0.120000] Calibrating delay loop... 380.92 BogoMIPS (lpj=1904640) [ 0.180000] pid_max: default: 32768 minimum: 301 [ 0.180000] Mount-cache hash table entries: 512 [ 0.190000] Initializing cgroup subsys memory [ 0.190000] Initializing cgroup subsys net_cls [ 0.200000] NET: Registered protocol family 16 [ 0.200000] RALINK_GPIOMODE = 54054404 [ 0.210000] RALINK_GPIOMODE = 54044404 [ 0.310000] ***** Xtal 25MHz ***** [ 0.310000] start PCIe register access [ 0.810000] RALINK_RSTCTRL = 2400000 [ 0.820000] RALINK_CLKCFG1 = fdbfffc0 [ 0.820000] [ 0.820000] *************** MT7628 PCIe RC mode ************* [ 1.320000] PCIE0 enabled [ 1.320000] Port 0 N_FTS = 1b105000 [ 1.330000] init_rt2880pci done [ 1.350000] bio: create slab <bio-0> at 0 [ 1.360000] PCI host bridge to bus 0000:00 [ 1.360000] pci_bus 0000:00: root bus resource [mem 0x20000000-0x2fffffff] [ 1.370000] pci_bus 0000:00: root bus resource [io 0x10160000-0x1016ffff] [ 1.370000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] [ 1.380000] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 1.380000] pci 0000:00:00.0: BAR 0: can't assign mem (size 0x80000000) [ 1.390000] pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x200fffff] [ 1.390000] pci 0000:00:00.0: BAR 9: assigned [mem 0x20100000-0x201fffff pref] [ 1.400000] pci 0000:00:00.0: BAR 1: assigned [mem 0x20200000-0x2020ffff] [ 1.400000] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff 64bit] [ 1.410000] pci 0000:01:00.0: BAR 6: assigned [mem 0x20100000-0x2010ffff pref] [ 1.410000] pci 0000:00:00.0: PCI bridge to [bus 01] [ 1.420000] pci 0000:00:00.0: bridge window [mem 0x20000000-0x200fffff] [ 1.420000] pci 0000:00:00.0: bridge window [mem 0x20100000-0x201fffff pref] [ 1.430000] BAR0 at slot 0 = 0 [ 1.430000] bus=0x0, slot = 0x0 [ 1.430000] res[0]->start = 0 [ 1.430000] res[0]->end = 0 [ 1.440000] res[1]->start = 20200000 [ 1.440000] res[1]->end = 2020ffff [ 1.440000] res[2]->start = 0 [ 1.450000] res[2]->end = 0 [ 1.450000] res[3]->start = 0 [ 1.450000] res[3]->end = 0 [ 1.450000] res[4]->start = 0 [ 1.460000] res[4]->end = 0 [ 1.460000] res[5]->start = 0 [ 1.460000] res[5]->end = 0 [ 1.460000] bus=0x1, slot = 0x0 [ 1.470000] res[0]->start = 20000000 [ 1.470000] res[0]->end = 200fffff [ 1.470000] res[1]->start = 0 [ 1.480000] res[1]->end = 0 [ 1.480000] res[2]->start = 0 [ 1.480000] res[2]->end = 0 [ 1.480000] res[3]->start = 0 [ 1.490000] res[3]->end = 0 [ 1.490000] res[4]->start = 0 [ 1.490000] res[4]->end = 0 [ 1.490000] res[5]->start = 0 [ 1.500000] res[5]->end = 0 [ 1.500000] cfg80211: Calling CRDA to update world regulatory domain [ 1.510000] Switching to clocksource Ralink Systick timer [ 1.510000] NET: Registered protocol family 2 [ 1.520000] TCP established hash table entries: 512 (order: 0, 4096 bytes) [ 1.520000] TCP bind hash table entries: 512 (order: -1, 2048 bytes) [ 1.530000] TCP: Hash tables configured (established 512 bind 512) [ 1.530000] TCP: reno registered [ 1.540000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 1.540000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 1.550000] NET: Registered protocol family 1 [ 1.570000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 1.570000] jffs2: version 2.2. (ZLIB) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 1.580000] msgmni has been set to 118 [ 1.590000] io scheduler noop registered [ 1.590000] io scheduler deadline registered (default) [ 1.600000] MIWIFI panic notifier registered [ 1.600000] pcieport 0000:00:00.0: device [14c3:0801] has invalid IRQ; check vendor BIOS [ 1.620000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 1.620000] serial8250: ttyS0 at MMIO 0x10000d00 (irq = 21) is a 16550A [ 1.630000] serial8250: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A [ 1.640000] led=44, on=4000, off=1, blinks,=1, reset=1, time=4000 [ 1.640000] Ralink gpio driver initialized [ 1.650000] flash manufacture id: ef, device id 40 18 [ 1.650000] W25Q128BV(ef 40180000) (16384 Kbytes) [ 1.660000] mtd .name = raspi, .size = 0x01000000 (16M) .erasesize = 0x00010000 (64K) .numeraseregions = 0 [ 1.670000] Creating 9 MTD partitions on "raspi": [ 1.670000] 0x000000000000-0x000001000000 : "ALL" [ 1.680000] 0x000000000000-0x000000020000 : "Bootloader" [ 1.690000] 0x000000020000-0x000000030000 : "Config" [ 1.690000] 0x000000030000-0x000000040000 : "Factory" [ 1.700000] 0x000000040000-0x000000050000 : "crash" [ 1.710000] 0x000000050000-0x000000060000 : "cfg_bak" [ 1.710000] 0x000000060000-0x000000160000 : "overlay" [ 1.720000] 0x000000160000-0x000000dc0000 : "OS1" [ 1.730000] mtd: try split OS1 partition [ 1.730000] mtd: split_firmware [ 1.730000] mtd: firmware_partition->size 0xc60000 [ 1.740000] mtd: firmware_partition->offset 0x160000 [ 1.740000] mtd: uimage_len 1425292 [ 1.750000] mtd: uimage_len 1441792 [ 1.750000] mtd: rootfs_partition->size 0xb00000 [ 1.760000] mtd: rootfs_partition->offset 0x2c0000 [ 1.760000] mtd: partition "rootfs" created automatically, ofs=2C0000, len=B00000 [ 1.770000] 0x0000002c0000-0x000000dc0000 : "rootfs" [ 1.770000] 0x000000dc0000-0x000001000000 : "disk" [ 1.780000] PPP generic driver version 2.4.2 [ 1.790000] PPP MPPE Compression module registered [ 1.790000] NET: Registered protocol family 24 [ 1.800000] PPTP driver version 0.8.5 [ 1.800000] GMAC1_MAC_ADRH -- : 0x000028d1 [ 1.800000] GMAC1_MAC_ADRL -- : 0x27cbd59c [ 1.810000] Ralink APSoC Ethernet Driver Initilization. v3.1 256 rx/tx descriptors allocated, mtu = 1500! [ 1.820000] GMAC1_MAC_ADRH -- : 0x000028d1 [ 1.820000] GMAC1_MAC_ADRL -- : 0x27cbd59c [ 1.830000] PROC INIT OK! [ 1.830000] Ralink APSoC Hardware Watchdog Timer [ 1.840000] Mirror/redirect action on [ 1.840000] u32 classifier [ 1.840000] input device check on [ 1.850000] Actions configured [ 1.850000] Netfilter messages via NETLINK v0.30. [ 1.850000] nfnl_acct: registering with nfnetlink. [ 1.860000] nf_conntrack version 0.5.0 (945 buckets, 3780 max) [ 1.870000] ipip: IPv4 over IPv4 tunneling driver [ 1.870000] gre: GRE over IPv4 demultiplexor driver [ 1.880000] ip_gre: GRE over IPv4 tunneling driver [ 1.880000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 1.890000] Type=Restricted Cone [ 1.890000] TCP: cubic registered [ 1.900000] NET: Registered protocol family 10 [ 1.910000] NET: Registered protocol family 17 [ 1.910000] l2tp_core: L2TP core driver, V2.0 [ 1.910000] l2tp_ppp: PPPoL2TP kernel driver, V2.0 [ 1.920000] l2tp_netlink: L2TP netlink interface [ 1.920000] 8021q: 802.1Q VLAN Support v1.8 [ 1.950000] VFS: Mounted root (squashfs filesystem) readonly on device 31:8. [ 1.960000] Freeing unused kernel memory: 220K (803d9000 - 80410000) config core 'version' # ROM ver option ROM '2.18.28' # channel option CHANNEL 'release' # hardware platform R1AC or R1N etc. option HARDWARE 'R4AC' # CFE ver option UBOOT '1.0.0' # 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 'Tue, 23 Oct 2018 13:30:31 +0000' #build timestamp option BUILDTS '1540301431' #build git tag option GTAG 'commit 75cb6ccd97ae3ab2e280351ab78d41fa95e73471' [ 3.860000] Raeth v3.1 (Tasklet,SkbRecycle) [ 3.860000] [ 3.860000] phy_tx_ring = 0x03f96000, tx_ring = 0xa3f96000 [ 3.870000] [ 3.870000] phy_rx_ring0 = 0x03f97000, rx_ring0 = 0xa3f97000 [ 3.890000] config 7628 esw as WLLLL [ 3.970000] GMAC1_MAC_ADRH -- : 0x000028d1 [ 3.970000] GMAC1_MAC_ADRL -- : 0x27cbd59c [ 3.980000] Link Status Changed: Port 6 linked Up. - preinit - Tue Oct 23 13:43:12 UTC 2018 Unlocking overlay ... Erasing overlay ... start nvram clear..... nvram clear...Done! - regular preinit - /lib/preinit.sh: line 1: pi_indicate_led: not found [ 8.090000] jffs2: Incompatible feature node (0xe008) found at offset 0x002249b4 mount: mounting /dev/mtdblock9 on /userdisk failed: Input/output error overlay_head ffffffff jffs2 not ready yet; using ramdisk - init - [ 11.480000] ra2880stop()...Done [ 11.480000] Free TX/RX Ring Memory! init started: BusyBox v1.19.4 (2018-10-23 13:27:30 UTC) Please press Enter to activate this console. rcS S boot: INFO: rc script run time limit to 65 seconds. [ 11.800000] MIWIFI crash syslog initialize skiped! Code=1 [ 13.870000] xt_time: kernel timezone is +0800 [ 14.110000] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 14.490000] nf_nat_amanda: Unknown symbol nf_nat_amanda_hook (err 0) [ 14.640000] ip_set: protocol 6 [ 14.840000] dev_redirect OFF.dev_redirect load success. [ 15.990000] [ 15.990000] [ 15.990000] === pAd = c070a000, size = 1762672 === [ 15.990000] [ 16.000000] <-- RTMPAllocTxRxRingMemory, Status=0, ErrorValue=0x [ 16.010000] <-- RTMPAllocAdapterBlock, Status=0 [ 16.020000] RtmpChipOpsHook(492): Not support for HIF_MT yet! [ 16.020000] mt7628_init()--> [ 16.020000] mt7628_init(FW(8a00), HW(8a01), CHIPID(7628)) [ 16.030000] e2.bin mt7628_init(1117)::(2), pChipCap->fw_len(63984) [ 16.040000] mt_bcn_buf_init(218): Not support for HIF_MT yet! [ 16.040000] <--mt7628_init() [ 17.120000] <-- RTMPAllocTxRxRingMemory, Status=0 [ 17.140000] <-- RTMPAllocAdapterBlock, Status=0 [ 17.150000] pAd->CSRBaseAddress =0xc0c80000, csr_addr=0xc0c80000! [ 17.150000] <dbg> MAC_CSR0=1986146304, RtmpChipOpsHook [ 17.160000] <dbg> dev idx = 1! [ 17.160000] <dbg> get_dev_config_idx pAd->MACVersion = 76623000, pAd->ChipID = 76120044 Tue Oct 23 14:43:26 CST 2018 netconfig[845]: #### Loopback configuration Tue Oct 23 14:43:26 CST 2018 netconfig[845]: config interface loopback Tue Oct 23 14:43:26 CST 2018 netconfig[845]: option ifname lo Tue Oct 23 14:43:26 CST 2018 netconfig[845]: option proto static Tue Oct 23 14:43:26 CST 2018 netconfig[845]: option ipaddr 127.0.0.1 Tue Oct 23 14:43:26 CST 2018 netconfig[845]: option netmask 255.0.0.0 Tue Oct 23 14:43:26 CST 2018 netconfig[845]: #### LAN configuration Tue Oct 23 14:43:26 CST 2018 netconfig[845]: config interface lan Tue Oct 23 14:43:26 CST 2018 netconfig[845]: option ifname eth0.1 Tue Oct 23 14:43:26 CST 2018 netconfig[845]: option type bridge Tue Oct 23 14:43:26 CST 2018 netconfig[845]: option proto static Tue Oct 23 14:43:26 CST 2018 netconfig[845]: option ipaddr 192.168.31.1 Tue Oct 23 14:43:26 CST 2018 netconfig[845]: option netmask 255.255.255.0 Tue Oct 23 14:43:26 CST 2018 netconfig[845]: #### WAN configuration Tue Oct 23 14:43:26 CST 2018 netconfig[845]: config interface wan Tue Oct 23 14:43:26 CST 2018 netconfig[845]: option ifname eth0.2 Tue Oct 23 14:43:26 CST 2018 netconfig[845]: option proto dhcp Tue Oct 23 14:43:26 CST 2018 netconfig[845]: ### IFB interface for MiQoS Tue Oct 23 14:43:26 CST 2018 netconfig[845]: config interface ifb Tue Oct 23 14:43:26 CST 2018 netconfig[845]: option ifname ifb0 Tue Oct 23 14:43:26 CST 2018 netconfig[845]: #### READY configuration Tue Oct 23 14:43:26 CST 2018 netconfig[845]: config interface ready Tue Oct 23 14:43:26 CST 2018 netconfig[845]: option proto static Tue Oct 23 14:43:26 CST 2018 netconfig[845]: option ipaddr 169.254.29.1 Tue Oct 23 14:43:26 CST 2018 netconfig[845]: option netmask 255.255.255.0 [ 21.710000] Raeth v3.1 (Tasklet,SkbRecycle) [ 21.710000] [ 21.710000] phy_tx_ring = 0x01d7d000, tx_ring = 0xa1d7d000 [ 21.720000] [ 21.720000] phy_rx_ring0 = 0x01d7a000, rx_ring0 = 0xa1d7a000 [ 21.740000] config 7628 esw as WLLLL [ 21.820000] GMAC1_MAC_ADRH -- : 0x000028d1 [ 21.820000] GMAC1_MAC_ADRL -- : 0x27cbd59c [ 21.850000] device eth0.1 entered promiscuous mode [ 21.850000] device eth0 entered promiscuous mode [ 21.870000] br-lan: port 1(eth0.1) entered forwarding state [ 21.880000] br-lan: port 1(eth0.1) entered forwarding state [ 23.880000] br-lan: port 1(eth0.1) entered forwarding state [ 24.480000] <dbg> MAC_CSR0=1986146304, rtmp_asic_top_init [ 24.540000] Set defult RDRegion value: CountryCode=EU , RDRegion=0 [ 27.920000] <==== rt28xx_init, Status=0 [ 30.290000] device wl0 entered promiscuous mode [ 30.300000] br-lan: port 2(wl0) entered forwarding state [ 30.300000] br-lan: port 2(wl0) entered forwarding state [ 32.300000] br-lan: port 2(wl0) entered forwarding state [ 32.560000] TX_BCN DESC a3667000 size = 320 [ 32.560000] RX[0] DESC a3669000 size = 2048 [ 32.570000] RX[1] DESC a366c000 size = 1024 [ 32.580000] E2pAccessMode=2 [ 32.590000] cfg_mode=9 [ 32.590000] cfg_mode=9 [ 32.590000] wmode_band_equal(): Band Equal! [ 32.660000] load fw image from fw_header_image [ 32.660000] AndesMTLoadFwMethod1(2181)::pChipCap->fw_len(63984) [ 32.670000] CmdAddressLenReq:(ret = 0) [ 32.670000] AndesInitCmdMsg:cmd_type:238,ExtCmdType:0 [ 32.680000] AndesInitCmdMsg:cmd_type:238,ExtCmdType:0 [ 32.680000] AndesInitCmdMsg:cmd_type:238,ExtCmdType:0 [ 32.690000] AndesInitCmdMsg:cmd_type:238,ExtCmdType:0 [ 32.690000] AndesInitCmdMsg:cmd_type:238,ExtCmdType:0 [ 32.700000] AndesInitCmdMsg:cmd_type:238,ExtCmdType:0 [ 32.700000] AndesInitCmdMsg:cmd_type:238,ExtCmdType:0 [ 32.710000] AndesInitCmdMsg:cmd_type:238,ExtCmdType:0 [ 32.710000] AndesInitCmdMsg:cmd_type:238,ExtCmdType:0 [ 32.720000] AndesInitCmdMsg:cmd_type:238,ExtCmdType:0 [ 32.730000] AndesInitCmdMsg:cmd_type:238,ExtCmdType:0 [ 32.730000] AndesInitCmdMsg:cmd_type:238,ExtCmdType:0 [ 32.740000] AndesInitCmdMsg:cmd_type:238,ExtCmdType:0 [ 32.740000] AndesInitCmdMsg:cmd_type:238,ExtCmdType:0 [ 32.750000] AndesInitCmdMsg:cmd_type:238,ExtCmdType:0 [ 32.750000] AndesInitCmdMsg:cmd_type:238,ExtCmdType:0 [ 32.760000] CmdFwStartReq: override = 1, address = 1048576 [ 32.760000] CmdStartDLRsp: WiFI FW Download Success [ 32.770000] MtAsicDMASchedulerInit(): DMA Scheduler Mode=0(LMAC) [ 32.770000] efuse_probe: efuse = 10000002 [ 32.780000] RtmpChipOpsEepromHook::e2p_type=2, inf_Type=4 [ 32.780000] RtmpEepromGetDefault::e2p_dafault=2 [ 32.790000] RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 2 [ 32.790000] NVM is FLASH mode [ 32.800000] 1. Phy Mode = 14 [ 33.010000] Country Region from e2p = ffff [ 33.020000] tssi_1_target_pwr_g_band = 22 [ 33.020000] 2. Phy Mode = 14 [ 33.020000] 3. Phy Mode = 14 [ 33.030000] NICInitPwrPinCfg(11): Not support for HIF_MT yet! [ 33.030000] NICInitializeAsic(652): Not support rtmp_mac_sys_reset () for HIF_MT yet! [ 33.040000] mt_mac_init()--> [ 33.040000] MtAsicInitMac()--> [ 33.090000] mt7628_init_mac_cr()--> [ 33.090000] MtAsicSetMacMaxLen(1279): Set the Max RxPktLen=1024! [ 33.100000] <--mt_mac_init() [ 33.100000] WTBL Segment 1 info: [ 33.100000] MemBaseAddr/FID:0x28000/0 [ 33.110000] EntrySize/Cnt:32/128 [ 33.110000] WTBL Segment 2 info: [ 33.110000] MemBaseAddr/FID:0x40000/0 [ 33.120000] EntrySize/Cnt:64/128 [ 33.120000] WTBL Segment 3 info: [ 33.120000] MemBaseAddr/FID:0x42000/64 [ 33.130000] EntrySize/Cnt:64/128 [ 33.130000] WTBL Segment 4 info: [ 33.130000] MemBaseAddr/FID:0x44000/128 [ 33.140000] EntrySize/Cnt:32/128 [ 33.140000] AntCfgInit(2918): Not support for HIF_MT yet! [ 33.150000] MCS Set = ff ff 00 00 00 [ 33.150000] MtAsicSetChBusyStat(846): Not support for HIF_MT yet! [ 35.860000] MtAsicSetRalinkBurstMode(2971): Not support for HIF_MT yet! [ 35.860000] MtAsicSetPiggyBack(783): Not support for HIF_MT yet! [ 35.890000] MtAsicSetTxPreamble(2950): Not support for HIF_MT yet! [ 35.900000] MtAsicSetPreTbtt(): bss_idx=0, PreTBTT timeout = 0xf0 [ 35.900000] Main bssid = 28:d1:27:cb:d5:9d [ 35.910000] <==== rt28xx_init, Status=0 [ 35.920000] !!!mt7628_xq_board=R4AC!!! [ 35.920000] CmdSlotTimeSet start [ 36.090000] CmdSlotTimeSet end [ 38.580000] device wl1 entered promiscuous mode [ 38.580000] br-lan: port 3(wl1) entered forwarding state [ 38.590000] br-lan: port 3(wl1) entered forwarding state [ 38.640000] ##### mbss_cr_enable, BssId = 1 [ 40.590000] br-lan: port 3(wl1) entered forwarding state rcS S calling: /etc/rc.d/S20network boot: WARNING: EXITCODE=0, execute too slow, 21 >= 15: /etc/rc.d/S20network boot [ 40.830000] dev_redirect: add(+) dev redirect mapping: src:eth0.2->dst:ifb0 Tue Oct 23 14:43:58 CST 2018 boot_check[2910]: INFO: Wireless OK [ 52.740000] ipaccount: refresh dev ifname to [eth0 wl0 wl1 wl3] [ 53.300000] dev_redirect: add(+) dev redirect mapping: src:eth0.2->dst:ifb0 [ 54.890000] dev_redirect OFF. [ 56.250000] dev_redirect OFF.dev_redirect OFF.xqfp: forward hooks init success! [ 70.880000] xqfp:pre hooks init success! [ 70.880000] xqfp:extend init success! [ 70.890000] xqfp: register_netdevice_notifier_v3! [ 70.890000] xqfp: module init success! rcS S boot: INFO: rcS S boot timing 58 seconds. Tue Oct 23 14:44:19 CST 2018 INFO: rcS S boot timing 58 seconds. rcS S boot: system type(R4AC/2): SQUASH/3 Tue Oct 23 14:44:19 CST 2018 system type(R4AC/2): SQUASH/3 rcS S boot: ROOTFS: /dev/root on / type squashfs (ro,relatime) Tue Oct 23 14:44:19 CST 2018 ROOTFS: /dev/root on / type squashfs (ro,relatime) [ 72.200000] led=44, on=1, off=4000, blinks,=1, reset=1, time=4000 [ 72.200000] led=11, on=1, off=4000, blinks,=1, reset=1, time=4000 [ 72.220000] led=44, on=1, off=4000, blinks,=1, reset=1, time=4000 [ 72.230000] led=11, on=4000, off=1, blinks,=1, reset=1, time=4000 Tue Oct 23 14:44:20 CST 2018 boot_check[4687]: Booting up finished.
OpenWrt bootlog
[04030C0E][04030C0E][88880000][23234545][00232345] DU Setting Cal Done U-Boot 1.1.3 (Oct 23 2018 - 13:31:19) Board: Ralink APSoC DRAM: 64 MB Power on memory test. Memory size= 64 MB...OK! relocate_code Pointer at: 83fb0000 RT2880_RSTSTAT_REG 0xc0030000 *************************** Board power on Occurred *************************** flash manufacture id: ef, device id 40 18 find flash: W25Q128BV env is right! ============================================ Ralink UBoot Version: 4.3.0.0 -------------------------------------------- ASIC 7628_MP (Port5<->None) DRAM component: 512 Mbits DDR, width 16 DRAM bus: 16 bit Total memory: 64 MBytes Flash component: SPI Flash Date:Oct 23 2018 Time:13:31:19 ============================================ icache: sets:512, ways:4, linesz:32 ,total:65536 dcache: sets:256, ways:4, linesz:32 ,total:32768 ##### The CPU freq = 575 MHZ #### estimate memory size =64 Mbytes RESET MT7628 PHY!!!!!! Please choose the operation: 1: Load system code to SDRAM via TFTP. 2: Load system code then write to Flash via TFTP. 3: Boot system code via Flash (default). 4: Entr boot command line interface. 9: Load Boot Loader code then write to Flash via TFTP. n3: System Boot system code via Flash. Booting System 1 Erasing SPI Flash... raspi_erase: offs:20000 len:10000 . Writing to SPI Flash... . done ## Booting image at bc160000 ... Image Name: MIPS OpenWrt Linux-5.4.154 Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1998812 Bytes = 1.9 MB Load Address: 80000000 Entry Point: 80000000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK Erasing SPI Flash... raspi_erase: offs:20000 len:10000 . Writing to SPI Flash... . done commandline uart_en=0 factory_mode=0 mem=64m root=/dev/mtdblock8 No initrd ## Transferring control to Linux (at address 80000000) ... ## Giving linux memsize in MB, 64 Starting kernel ... [ 0.000000] Linux version 5.4.154 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16325-88151b8303)) #0 Sun Oct 24 09:01:35 2021 [ 0.000000] Board has DDR2 [ 0.000000] Analog PMU set to hw control [ 0.000000] Digital PMU set to hw control [ 0.000000] SoC Type: MediaTek MT7628AN ver:1 eco:2 [ 0.000000] printk: bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 00019655 (MIPS 24KEc) [ 0.000000] MIPS: machine is Xiaomi Mi Router 4A (100M Edition) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff] [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16240 [ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2 [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear) [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear) [ 0.000000] Writing ErrCtl register=0004fe52 [ 0.000000] Readback ErrCtl register=0004fe52 [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 57444K/65536K available (5088K kernel code, 204K rwdata, 636K rodata, 1228K init, 205K bss, 8092K reserved, 0K cma-reserve) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS: 256 [ 0.000000] intc: using register map from devicetree [ 0.000000] random: get_random_bytes called from 0x805cda28 with crng_init=0 [ 0.000000] CPU Clock: 575MHz [ 0.000000] timer_probe: no matching timers found [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6647862422 ns [ 0.000009] sched_clock: 32 bits at 287MHz, resolution 3ns, wraps every 7469508094ns [ 0.007572] Calibrating delay loop... 382.46 BogoMIPS (lpj=764928) [ 0.041428] pid_max: default: 32768 minimum: 301 [ 0.046069] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.053092] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.066432] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.075860] futex hash table entries: 256 (order: -1, 3072 bytes, linear) [ 0.082515] pinctrl core: initialized pinctrl subsystem [ 0.090517] NET: Registered protocol family 16 [ 0.199861] mt7620-pci 10140000.pcie: Port 0 N_FTS = 1b105000 [ 0.355261] PCI host bridge /pcie@10140000 ranges: [ 0.359838] MEM 0x0000000020000000..0x000000002fffffff [ 0.364868] IO 0x0000000010160000..0x000000001016ffff [ 0.392833] PCI host bridge to bus 0000:00 [ 0.396826] pci_bus 0000:00: root bus resource [mem 0x20000000-0x2fffffff] [ 0.403414] pci_bus 0000:00: root bus resource [io 0x10160000-0x1016ffff] [ 0.410048] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0] [ 0.416599] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] [ 0.424299] pci 0000:00:00.0: [14c3:0801] type 01 class 0x060400 [ 0.430084] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff] [ 0.436104] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff] [ 0.442224] pci 0000:00:00.0: supports D1 [ 0.446029] pci 0000:00:00.0: PME# supported from D0 D1 D3hot [ 0.453171] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 0.461079] pci 0000:01:00.0: [14c3:7662] type 00 class 0x028000 [ 0.466910] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit] [ 0.473464] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref] [ 0.479995] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold [ 0.487397] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 0.493773] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01 [ 0.500154] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000] [ 0.506507] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000] [ 0.513227] pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x200fffff] [ 0.519779] pci 0000:00:00.0: BAR 9: assigned [mem 0x20100000-0x201fffff pref] [ 0.526750] pci 0000:00:00.0: BAR 1: assigned [mem 0x20200000-0x2020ffff] [ 0.533313] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff 64bit] [ 0.540376] pci 0000:01:00.0: BAR 6: assigned [mem 0x20100000-0x2010ffff pref] [ 0.547330] pci 0000:00:00.0: PCI bridge to [bus 01] [ 0.552119] pci 0000:00:00.0: bridge window [mem 0x20000000-0x200fffff] [ 0.558669] pci 0000:00:00.0: bridge window [mem 0x20100000-0x201fffff pref] [ 0.565758] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512 [ 0.579947] clocksource: Switched to clocksource MIPS [ 0.585935] thermal_sys: Registered thermal governor 'step_wise' [ 0.586346] NET: Registered protocol family 2 [ 0.596498] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.604369] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.612488] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.619858] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.626655] TCP: Hash tables configured (established 1024 bind 1024) [ 0.632940] UDP hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.639268] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.646300] NET: Registered protocol family 1 [ 0.650569] PCI: CLS 0 bytes, default 32 [ 0.659347] workingset: timestamp_bits=14 max_order=14 bucket_order=0 [ 0.673800] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.679436] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.705193] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) [ 0.715681] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.721363] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.727016] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.732704] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.741644] printk: console [ttyS0] disabled [ 0.745841] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A [ 0.754566] printk: console [ttyS0] enabled [ 0.754566] printk: console [ttyS0] enabled [ 0.762977] printk: bootconsole [early0] disabled [ 0.762977] printk: bootconsole [early0] disabled [ 0.773906] spi-mt7621 10000b00.spi: sys_freq: 191666666 [ 0.798684] spi-nor spi0.0: w25q128 (16384 Kbytes) [ 0.803641] 7 fixed-partitions partitions found on MTD device spi0.0 [ 0.810093] Creating 7 MTD partitions on "spi0.0": [ 0.814966] 0x000000000000-0x000000020000 : "bootloader" [ 0.821515] 0x000000020000-0x000000030000 : "config" [ 0.827689] 0x000000030000-0x000000040000 : "factory" [ 0.833973] 0x000000040000-0x000000050000 : "crash" [ 0.840133] 0x000000050000-0x000000060000 : "cfg_bak" [ 0.846352] 0x000000060000-0x000000160000 : "overlay" [ 0.852738] 0x000000160000-0x000001000000 : "firmware" [ 0.865845] 2 uimage-fw partitions found on MTD device firmware [ 0.871935] Creating 2 MTD partitions on "firmware": [ 0.877002] 0x000000000000-0x0000001e801c : "kernel" [ 0.883165] 0x0000001e801c-0x000000ea0000 : "rootfs" [ 0.889286] mtd: device 8 (rootfs) set to be root filesystem [ 0.897332] 1 squashfs-split partitions found on MTD device rootfs [ 0.903685] 0x000000500000-0x000000ea0000 : "rootfs_data" [ 0.911066] libphy: Fixed MDIO Bus: probed [ 0.927190] rt3050-esw 10110000.esw: link changed 0x00 [ 0.934413] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5 [ 0.944983] NET: Registered protocol family 10 [ 0.954176] Segment Routing with IPv6 [ 0.958115] NET: Registered protocol family 17 [ 0.962712] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need thi. [ 0.975865] 8021q: 802.1Q VLAN Support v1.8 [ 0.991321] VFS: Mounted root (squashfs filesystem) readonly on device 31:8. [ 1.005508] Freeing unused kernel memory: 1228K [ 1.010131] This architecture does not have kernel memory protection. [ 1.016663] Run /sbin/init as init process [ 1.223952] random: fast init done [ 1.940967] init: Console is alive [ 1.944795] init: - watchdog - [ 3.013200] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 3.183653] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 3.201580] init: - preinit - [ 4.972958] random: jshn: uninitialized urandom read (4 bytes read) [ 5.136452] random: jshn: uninitialized urandom read (4 bytes read) [ 5.327655] random: jshn: uninitialized urandom read (4 bytes read) [ 5.851679] rt3050-esw 10110000.esw: link changed 0x00 Press the [f] key and hit [enter] to enter failsafe mode Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level [ 6.056289] urandom_read: 2 callbacks suppressed [ 6.056298] random: procd: uninitialized urandom read (4 bytes read) [ 10.221484] mount_root: jffs2 not ready yet, using temporary tmpfs overlay [ 10.232816] urandom-seed: Seed file not found (/etc/urandom.seed) [ 10.345846] procd: - early - [ 10.349087] procd: - watchdog - [ 10.958876] procd: - watchdog - [ 10.962817] procd: - ubus - [ 11.033824] random: ubusd: uninitialized urandom read (4 bytes read) [ 11.042964] random: ubusd: uninitialized urandom read (4 bytes read) [ 11.050126] random: ubusd: uninitialized urandom read (4 bytes read) [ 11.060006] procd: - init - Please press Enter to activate this console. [ 12.171817] kmodloader: loading kernel modules from /etc/modules.d/* [ 12.220165] Loading modules backported from Linux version v5.10.68-0-g4d8524048a35 [ 12.227893] Backport generated by backports.git v5.10.68-1-0-ga4f9ba32 [ 12.293399] xt_time: kernel timezone is -0000 [ 12.499850] mt76_wmac 10300000.wmac: ASIC revision: 76280001 [ 12.674242] urngd: v1.0.2 started. [ 12.876797] random: crng init done [ 12.880292] random: 1 urandom warning(s) missed due to ratelimiting [ 13.538351] mt76_wmac 10300000.wmac: Firmware Version: 20151201 [ 13.544445] mt76_wmac 10300000.wmac: Build Time: 20151201183641 [ 13.583964] mt76_wmac 10300000.wmac: firmware init done [ 13.861917] mt76x2e 0000:01:00.0: card - bus=0x1, slot = 0x0 irq=4 [ 13.868541] mt76x2e 0000:01:00.0: ASIC revision: 76120044 [ 15.096195] mt76x2e 0000:01:00.0: ROM patch build: 20141115060606a [ 15.117901] mt76x2e 0000:01:00.0: Firmware Version: 0.0.00 [ 15.123543] mt76x2e 0000:01:00.0: Build: 1 [ 15.127705] mt76x2e 0000:01:00.0: Build Time: 201507311614____ [ 15.156176] mt76x2e 0000:01:00.0: Firmware running! [ 15.314602] PPP generic driver version 2.4.2 [ 15.321853] NET: Registered protocol family 24 [ 15.345801] kmodloader: done loading kernel modules from /etc/modules.d/* BusyBox v1.33.1 (2021-10-24 09:01:35 UTC) built-in shell (ash) _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M ----------------------------------------------------- OpenWrt 21.02.1, r16325-88151b8303 ----------------------------------------------------- === WARNING! ===================================== There is no root password defined on this device! Use the "passwd" command to set up a new password in order to prevent unauthorized SSH logins. -------------------------------------------------- root@OpenWrt:/#
Notes
Space for additional notes, links to forum threads or other resources.
- ...