User Tools

Site Tools


toh:xiaomi:mir3g

Xiaomi Mi WiFi R3G (Mi Wifi Router 3G / MIR3G / MI3G / R4A Gigabit)

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

Xiaomi Mi WiFi R3G front

The “Xiaomi Mi WiFi R3G” is a uniquely affordable and powerful router. It has lots of RAM, a fast dual core processor, support for 1 Gbit Ethernet and can be found for less than $40. However the device requires unlocking for installing non OEM software, such as OpenWrt. Unlocking is not that easy, although it can be done rather fast when experienced.

Warning: Not to be confused with the similarly looking (and identically named) R3Gv2 which lacks USB, has just 16MiB SPI flash, 128MiB RAM. The R3Gv2 is now widely sold as the Xiaomi 4A Gigabit edition and offered with Chinese or Global (English) firmware. OpenWrt support was added in October 2019, but it also requires a SPI flash programmer to unlock uboot.

There are two methods for unlocking. One requires some additional hardware and a soldering iron. The other requires installing an App on your phone, linking the router with a Xiaomi account (that has to be created if not existing already) and some more steps (see the section below). There might be some concern about security/privacy risks of the 2nd approach. So you might want to use an old phone.

Once you have unlocked the router, installing OpenWrt is a bit more complex than on other devices, but not too bad. FYI - restoring the router to the OEM firmware is occasionally the best way to recover when things go badly.

The OEM software (with the exception of their phone app) and packaging is available only in Chinese. Google's Translate App (IOS and Android). Use the mode that lets you point the phone's camera at text. That will provide a live translation. Another option is to use the built in translator of Chrome/Chromium for translations.

The USB connector is quite capable, but there are reports that if you use it for USB 3.0 you may get interference with the 2.4Ghz WiFi. There is an older similarly named router which has a weaker processor and slower Ethernet, i.e the Xiaomi Mi Wifi 3.

Supported Versions

Hardware Highlights

ModelVersionSoCCPU MHzFlash MBRAM MBWLAN HardwareWLAN2.4WLAN5.0100M portsGbit portsModemUSB
MiWiFi 3Gv1MediaTek MT7621AT880128NAND256MediaTek MT7603EN, MediaTek MT7612ENb/g/na/n/ac-3-1x 3.0
MiWiFi 3Gv2MediaTek MT762188016128MediaTek MT7603E, MediaTek MT7612Eb/g/na/n/ac-3--

Installation

Flash Layout

Flash layout with factory firmware you can find in OEM bootlog.

R3G:

cat /proc/mtd
dev: size erasesize name
mtd0: 00080000 00020000 "Bootloader"
mtd1: 00040000 00020000 "Config"
mtd2: 00040000 00020000 "Bdata"
mtd3: 00040000 00020000 "Factory"
mtd4: 00040000 00020000 "crash"
mtd5: 00040000 00020000 "crash_syslog"
mtd6: 00040000 00020000 "reserved0"
mtd7: 00400000 00020000 "kernel_erase"
mtd8: 00400000 00020000 "kernel"
mtd9: 07580000 00020000 “ubi”

Installation via SSH for R3G

This is not for R3Gv2 or 4A Gigabit.

For installation via ssh, it needs to be enabled first. The following steps are based on this forum post and this post from Reddit.

  1. Setup the router and install a dev firmware, for example http://bigota.miwifi.com/xiaoqiang/rom/r3g/miwifi_r3g_firmware_c2175_2.25.122.bin
  2. Install the Mi Wi-Fi app on a phone or tablet. (Android | there is also an iOS app)
  3. Open the app and connect your router. Also sign in to link that router to your account. The router should be detected assuming you are connected to its WiFi and the router is connected to the internet. It might also work without that. You also might get an error message when trying to connect the router stating that the device is no Mi Router. In that case using an older version of the app from pages like https://apkmirror.com will probably help.
  4. On a PC, visit https://d.miwifi.com/rom/ssh and sign-in to your account. It is important to have the https version. It might get switched to http and show an error. Changing that to https again should make the page load again. This is also the case for all clicks on that website, for example the download link will also probably only work if changing manually to https after getting an error.
  5. After login, a page with your router, root password for SSH access and a download button should be displayed. Press the download button to download the miwifi_ssh.bin file.
  6. Format a USB drive with FAT / FAT32 and copy the downloaded miwifi_ssh.bin to it.
  7. Shut down the router (unplug it) and put the USB drive in. Now you have to hold down the reset button of the router (use a paper-clip for example) while powering the router on (plugging the power cable in). Continue holding the button until you see the yellow LED start to flash. This might take a while (about 15 seconds). Now you can release the button. The router will reboot soon. Afterwards you should have SSH access.
  8. Login to the router using SSH with root as username and the root password that is displayed on https://d.miwifi.com/rom/ssh.

Actual installation via SSH:

  1. Copy openwrt-ramips-mt7621-mir3g-squashfs-kernel1.bin and openwrt-ramips-mt7621-mir3g-squashfs-rootfs0.bin optained from the OpenWrt download site to a USB drive or wget it directly via SSH to a location (/tmp for example) on the router
  2. Switch to /extdisks/sda1/ (if copied to an USB drive) or to the folder on the router like /tmp if downloaded directly on the router
  3. Run mtd write openwrt-18.06.2-ramips-mt7621-mir3g-squashfs-kernel1.bin kernel1
  4. Run mtd write openwrt-18.06.2-ramips-mt7621-mir3g-squashfs-rootfs0.bin rootfs0
  5. Run nvram set flag_try_sys1_failed=1
  6. Run nvram commit
  7. Run reboot

Installation using UART and a USB drive for R3G

  1. Open the router and connect a 3.3 V UART adapter to the pins with the following settings: 115200 baud, 8 data bits, no parity, 1 stop bits
  2. Power on the router and when it asks for the boot mode on the serial console, select 4: Enter boot command line interface. It may be necessary not to send any line ending after the number.
  3. Enable UART console for the default firmware with the command setenv uart_en 1. You may also enable SSH for the default firmware using the command setenv ssh_en 1.
  4. Save the changes with the command saveenv.
  5. Reboot the router to the default firmware. The following steps are identical to installing over SSH, but are performed over the UART console.
  6. On the firmware run cd /extdisks/sda1.
  7. Run: mtd write mir3g-squashfs-kernel1.bin kernel1
  8. Run: mtd write mir3g-squashfs-rootfs0.bin rootfs0
  9. Run: nvram set flag_try_sys1_failed=1
  10. Run: nvram commit
  11. Run: reboot
  12. The router should now boot to OpenWrt

Stock firmware allows direct access to root shell (no password). To enable, reset device and change in U-Boot prompt:

Using SPI Flash programmer to unlock Uboot on R3Gv2 & R4A Gigabit

Unlike the original R3G, the bootloader is locked down to prevent interruption using serial console. A SPI flash programmer is required to dump the contents of the SPI flash, so it can be edited to add a short time delay, before writing the modified dump back to the router. The procedure is described here:

OpenWrt forum Xiaomi 4A Gigabit thread

This particular post may be of interest too: OpenWrt forum Xiaomi 3G v2 Warning: The MAC addresses contained in the edited SPI flash files mentioned in this link will NOT match your router's original MAC addresses. It is recommended to read the SPI flash from the router, edit the dump and write the file back to your router.

Tip: It is recommended to read the original SPI flash twice and verify the MD5 checksum is the same each time to avoid creating a corrupted flash dump file. There is one report that using Windows SPI flash utils may result in dumps with mismatched MD5 checksums (ie. corrupted dump file).

Commands for using Linux flashrom util:

Reading from SPI flash: 

flashrom --programmer ch341a_spi --read r3gv2.bin -c "GD25Q128C"


Writing to SPI flash: 

flashrom --programmer ch341a_spi --write r3gv2-edited.bin -c "GD25Q128C"

OEM installation using the TFTP method

Specific values needed for tftp

FIXME Enter values for “FILL-IN” below

Bootloader tftp server IPv4 address FILL-IN
Bootloader MAC address (special) FILL-IN
Firmware tftp image Latest OpenWrt release (NOTE: Name must contain “tftp”)
TFTP transfer window FILL-IN seconds
TFTP window start approximately FILL-IN seconds after power on
TFTP client required IP address FILL-IN

Upgrading OpenWrt

generic.sysupgrade

FIXME These are generic instructions. Update with your router's specifics.

LuCI Web Upgrade Process

  • Browse to http://192.168.1.1/cgi-bin/luci/mini/system/upgrade/ LuCI Upgrade URL
  • Upload image file for sysupgrade to LuCI
  • Wait for reboot

Terminal Upgrade Process

If you don't have a GUI (LuCI) available, you can alternatively upgrade via the command line. There are two command line methods for upgrading:

  • sysupgrade
  • mtd

Note: It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing.

sysupgrade

  • Login as root via SSH on 192.168.1.1, then enter the following commands:
cd /tmp
wget https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/openwrt-ramips-mt7621-mir3g-squashfs-sysupgrade.tar
sysupgrade /tmp/openwrt-ramips-mt7621-mir3g-squashfs-sysupgrade.tar

mtd

If sysupgrade does not support this router, use mtd.

  • Login as root via SSH on 192.168.1.1, then enter the following commands:
cd /tmp
wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc
mtd write /tmp/xxx.abc linux && reboot

Debricking

Using Serial Interface for R3G

Use this if failsafe etc fail..

You need

To debrick

  1. Access serial console (use 3.3v adapter) and terminal emulator such as putty
  2. Flash the kernel0.bin file using option 2 flash using TFTP option in the U-Boot menu. Note: when selecting the boot source (2 for firmware flashing), it may be necessary to not send any line ending.
  3. Connect usb stick press reset button and router will flash itself with stock firmware. The progress will be shown in the serial console.
  4. You can re-install openwrt as per original procedure

Recovery to stock for R3G

Assuming you used the above installation instructions you will have a stock kernel image in system 1. If it can be booted then it may be used to perform a stock firmware recovery, thus erasing OpenWrt completely. From a 'working' OpenWrt state (even failsafe)

Failsafe only:

  1. run: mount_root
  2. run: sh /etc/uci-defaults/30_uboot-envtools
  3. Then do the steps for 'All'

All:

  1. run: fw_setenv flag_try_sys2_failed 1
  2. run: reboot

The board will reboot into system 1 (stock basic kernel) and wait with system red light slowly blinking for a FAT formatted usb stick with a recovery image to be inserted. Press and hold the reset button for around 1 second. Status LED will turn yellow during recovery and blue when recovery complete.

Failsafe mode

Basic configuration

Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.

Specific Configuration

Network interfaces

The default network configuration is:

Interface Name Description Default configuration
br-lan LAN & WiFi 192.168.1.1/24
vlan1 (eth0.1) LAN ports (1 & 2) None
vlan2 (eth0.2) WAN port DHCP
wlan0 WiFi 2.4 GHz Disabled
wlan1 WiFi 5.0 GHz Disabled

Switch Ports (for VLANs)

FIXME Please fill in real values for this device, then remove the EXAMPLEs

Numbers 2-3 are Ports 1-2 as labeled on the unit, number 1 is the Internet (WAN) on the unit, 6 is the internal connection to the router itself. Don't be fooled: Port 1 on the unit is number 2 when configuring VLANs. vlan1 = eth0.1, vlan2 = eth0.2 and so on.

Port Switch port
Internet (WAN) 1
LAN 1 2
LAN 2 3
CPU 6

Buttons

hardware.button on howto use and configure the hardware button(s). Here, we merely name the buttons, so we can use them in the above Howto.

The Xiaomi Mi WiFi R3G has the following buttons:

BUTTON Event
Reset reset

Hardware

Info

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

USB 3.x problems

  1. tested with 18.06.2
  2. against a original samsung 128 GB flash drive, USB 3.1 capable
  3. test command: sync ; time sh -c 'dd if=/dev/zero bs=16M count=64 > /dev/sda ; sync'
  4. syslog: xhci-mtk 1e1c0000.xhci: Timeout while waiting for setup device command
  5. on a PC this stick is capable of 20 MB/s writing (probably more)
  6. against an old 8 GB Kingston DT 101 II ⇒ no errors with 2.3 MB/s

Summary: USB 3.x is not reliable, didn't test with stock firmware

Photos

Front:

Back (R3G):

Back (R3Gv2 & 4A-Gigabit):

Backside label:
Insert photo of backside label

Opening the case

Note: This will void your warranty!

  1. remove one screw in the center under the bottom sticker
  2. pry open the case with a spudger (or old credit card) beginning at the LAN ports

Main PCB:

Serial

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

How to connect to the Serial Port of this specific device:

R3G:

img_20180514_231006.jpg

  • soldering is easy with angled connector from top
  • pinout is noted on PCB
  • connect RX pin on board to TX pin of adapter (and vice versa)

R3Gv2 & 4A-Gigabit:

Serial connection parameters
for Xiaomi Mi WiFi R3G & R3Gv2
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

Bootloader mods

Bootlogs

OEM bootlog

R3G:

[ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Linux version 3.10.14 (jenkins@JenkinsServer) (gcc version 4.8.5 (crosstool-NG crosstool-ng-1.22.0) ) #1 MiWiFi-R3G-2.25.122 SMP Fri Aug 25 15:11:18 CST 2017 [ 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: 10000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x00000000-0x0bffffff] [ 0.000000] Normal [mem 0x0c000000-0x0fffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x00000000-0x0fffffff] [ 0.000000] On node 0 totalpages: 65536 [ 0.000000] free_area_init_node: node 0, pgdat 805a8b00, node_mem_map 8c000000 [ 0.000000] DMA zone: 384 pages used for memmap [ 0.000000] DMA zone: 0 pages reserved [ 0.000000] DMA zone: 49152 pages, LIFO batch:15 [ 0.000000] Normal zone: 128 pages used for memmap [ 0.000000] Normal zone: 16384 pages, LIFO batch:3 [ 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 @8c204000 s6848 r8192 d13632 u32768 [ 0.000000] pcpu-alloc: s6848 r8192 d13632 u32768 alloc=8*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024 [ 0.000000] Kernel command line: console=ttyS1,115200n8 root=/dev/mtdblock5 uart_en=0 factory_mode=0 usb_u3=0 [ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Writing ErrCtl register=00020180 [ 0.000000] Readback ErrCtl register=00020180 [ 0.000000] allocated 524288 bytes of page_cgroup [ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups [ 0.000000] Memory: 251628k/262144k available (4582k kernel code, 10516k reserved, 1211k data, 1496k 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.130000] Calibrating delay loop... 563.20 BogoMIPS (lpj=2816000) [ 0.190000] pid_max: default: 32768 minimum: 301 [ 0.190000] Mount-cache hash table entries: 512 [ 0.200000] Initializing cgroup subsys memory [ 0.200000] launch: starting cpu1 [ 0.200000] launch: cpu1 gone! [ 0.200000] CPU1 revision is: 0001992f (MIPS 1004Kc) [ 0.200000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes. [ 0.200000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.200000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 0.260000] Synchronize counters for CPU 1: done. [ 0.270000] launch: starting cpu2 [ 0.270000] launch: cpu2 gone! [ 0.270000] CPU2 revision is: 0001992f (MIPS 1004Kc) [ 0.270000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes. [ 0.270000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.270000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 0.330000] Synchronize counters for CPU 2: done. [ 0.340000] launch: starting cpu3 [ 0.340000] launch: cpu3 gone! [ 0.340000] CPU3 revision is: 0001992f (MIPS 1004Kc) [ 0.340000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes. [ 0.340000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.340000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 0.400000] Synchronize counters for CPU 3: done. [ 0.410000] Brought up 4 CPUs [ 0.410000] devtmpfs: initialized [ 0.410000] NET: Registered protocol family 16 [ 0.700000] release PCIe RST: RALINK_RSTCTRL = 7000000 [ 0.710000] PCIE PHY initialize [ 0.710000] ***** Xtal 40MHz ***** [ 0.710000] start MT7621 PCIe register access [ 1.290000] RALINK_RSTCTRL = 7000000 [ 1.290000] RALINK_CLKCFG1 = 73ffeff8 [ 1.300000] [ 1.300000] *************** MT7621 PCIe RC mode ************* [ 1.780000] pcie_link status = 0x3 [ 1.790000] RALINK_RSTCTRL= 7000000 [ 1.790000] *** Configure Device number setting of Virtual PCI-PCI bridge *** [ 1.800000] RALINK_PCI_PCICFG_ADDR = 21007f2 -> 21007f2 [ 1.800000] PCIE0 enabled [ 1.800000] PCIE1 enabled [ 1.810000] interrupt enable status: 300000 [ 1.810000] Port 1 N_FTS = 1b105000 [ 1.810000] Port 0 N_FTS = 1b105000 [ 1.820000] config reg done [ 1.820000] init_rt2880pci done [ 1.830000] FPU Affinity set after 11720 emulations [ 1.850000] bio: create slab <bio-0> at 0 [ 1.850000] SCSI subsystem initialized [ 1.860000] usbcore: registered new interface driver usbfs [ 1.860000] usbcore: registered new interface driver hub [ 1.870000] usbcore: registered new device driver usb [ 1.870000] PCI host bridge to bus 0000:00 [ 1.880000] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff] [ 1.880000] pci_bus 0000:00: root bus resource [io 0x1e160000-0x1e16ffff] [ 1.890000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] [ 1.900000] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400 [ 1.900000] pci 0000:00:00.0: reg 10: [mem 0x00000000-0x7fffffff] [ 1.900000] pci 0000:00:00.0: reg 14: [mem 0x60300000-0x6030ffff] [ 1.900000] pci 0000:00:00.0: supports D1 [ 1.900000] pci 0000:00:00.0: PME# supported from D0 D1 D3hot [ 1.900000] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400 [ 1.900000] pci 0000:00:01.0: reg 10: [mem 0x00000000-0x7fffffff] [ 1.900000] pci 0000:00:01.0: reg 14: [mem 0x60310000-0x6031ffff] [ 1.900000] pci 0000:00:01.0: supports D1 [ 1.900000] pci 0000:00:01.0: PME# supported from D0 D1 D3hot [ 1.900000] pci 0000:01:00.0: [14c3:7603] type 00 class 0x028000 [ 1.900000] pci 0000:01:00.0: reg 10: [mem 0x00000000-0x000fffff] [ 1.900000] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold [ 1.900000] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 1.900000] pci 0000:02:00.0: [14c3:7662] type 00 class 0x028000 [ 1.900000] pci 0000:02:00.0: reg 10: [mem 0x00000000-0x000fffff 64bit] [ 1.900000] pci 0000:02:00.0: reg 30: [mem 0x00000000-0x0000ffff pref] [ 1.900000] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold [ 1.900000] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02 [ 1.900000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 02 [ 1.900000] pci 0000:00:00.0: BAR 0: can't assign mem (size 0x80000000) [ 1.910000] pci 0000:00:01.0: BAR 0: can't assign mem (size 0x80000000) [ 1.910000] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff] [ 1.920000] pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff] [ 1.930000] pci 0000:00:01.0: BAR 9: assigned [mem 0x60200000-0x602fffff pref] [ 1.940000] pci 0000:00:00.0: BAR 1: assigned [mem 0x60300000-0x6030ffff] [ 1.940000] pci 0000:00:01.0: BAR 1: assigned [mem 0x60310000-0x6031ffff] [ 1.950000] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff] [ 1.960000] pci 0000:00:00.0: PCI bridge to [bus 01] [ 1.960000] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff] [ 1.970000] pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit] [ 1.970000] pci 0000:02:00.0: BAR 6: assigned [mem 0x60200000-0x6020ffff pref] [ 1.980000] pci 0000:00:01.0: PCI bridge to [bus 02] [ 1.990000] pci 0000:00:01.0: bridge window [mem 0x60100000-0x601fffff] [ 1.990000] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff pref] [ 2.000000] BAR0 at slot 0 = 0 [ 2.000000] bus=0x0, slot = 0x0 [ 2.010000] res[0]->start = 0 [ 2.010000] res[0]->end = 0 [ 2.010000] res[1]->start = 60300000 [ 2.020000] res[1]->end = 6030ffff [ 2.020000] res[2]->start = 0 [ 2.020000] res[2]->end = 0 [ 2.030000] res[3]->start = 0 [ 2.030000] res[3]->end = 0 [ 2.030000] res[4]->start = 0 [ 2.030000] res[4]->end = 0 [ 2.040000] res[5]->start = 0 [ 2.040000] res[5]->end = 0 [ 2.040000] BAR0 at slot 1 = 0 [ 2.050000] bus=0x0, slot = 0x1 [ 2.050000] res[0]->start = 0 [ 2.050000] res[0]->end = 0 [ 2.050000] res[1]->start = 60310000 [ 2.060000] res[1]->end = 6031ffff [ 2.060000] res[2]->start = 0 [ 2.060000] res[2]->end = 0 [ 2.070000] res[3]->start = 0 [ 2.070000] res[3]->end = 0 [ 2.070000] res[4]->start = 0 [ 2.080000] res[4]->end = 0 [ 2.080000] res[5]->start = 0 [ 2.080000] res[5]->end = 0 [ 2.080000] bus=0x1, slot = 0x0, irq=0x4 [ 2.090000] res[0]->start = 60000000 [ 2.090000] res[0]->end = 600fffff [ 2.090000] res[1]->start = 0 [ 2.100000] res[1]->end = 0 [ 2.100000] res[2]->start = 0 [ 2.100000] res[2]->end = 0 [ 2.110000] res[3]->start = 0 [ 2.110000] res[3]->end = 0 [ 2.110000] res[4]->start = 0 [ 2.110000] res[4]->end = 0 [ 2.120000] res[5]->start = 0 [ 2.120000] res[5]->end = 0 [ 2.120000] bus=0x2, slot = 0x1, irq=0x18 [ 2.130000] res[0]->start = 60100000 [ 2.130000] res[0]->end = 601fffff [ 2.130000] res[1]->start = 0 [ 2.140000] res[1]->end = 0 [ 2.140000] res[2]->start = 0 [ 2.140000] res[2]->end = 0 [ 2.150000] res[3]->start = 0 [ 2.150000] res[3]->end = 0 [ 2.150000] res[4]->start = 0 [ 2.150000] res[4]->end = 0 [ 2.160000] res[5]->start = 0 [ 2.160000] res[5]->end = 0 [ 2.160000] Switching to clocksource MIPS [ 2.170000] cfg80211: Calling CRDA to update world regulatory domain [ 2.170000] NET: Registered protocol family 2 [ 2.170000] TCP established hash table entries: 2048 (order: 2, 16384 bytes) [ 2.170000] TCP bind hash table entries: 2048 (order: 2, 16384 bytes) [ 2.170000] TCP: Hash tables configured (established 2048 bind 2048) [ 2.170000] TCP: reno registered [ 2.170000] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 2.170000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 2.170000] NET: Registered protocol family 1 [ 2.170000] PCI: CLS 80 bytes, default 32 [ 3.190000] 4 CPUs re-calibrate udelay(lpj = 2924544) [ 3.220000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 3.220000] msgmni has been set to 491 [ 3.230000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 3.230000] io scheduler noop registered (default) [ 3.240000] MIWIFI panic notifier registeredreg_int_mask=0, INT_MASK= 0 [ 3.250000] HSDMA_init [ 3.250000] [ 3.250000] hsdma_phy_tx_ring0 = 0x1bc00000, hsdma_tx_ring0 = 0xbbc00000 [ 3.260000] [ 3.260000] hsdma_phy_rx_ring0 = 0x1bc04000, hsdma_rx_ring0 = 0xbbc04000 [ 3.270000] TX_CTX_IDX0 = 0 [ 3.270000] TX_DTX_IDX0 = 0 [ 3.270000] RX_CRX_IDX0 = 3ff [ 3.270000] RX_DRX_IDX0 = 0 [ 3.280000] set_fe_HSDMA_glo_cfg [ 3.280000] HSDMA_GLO_CFG = 465 [ 3.280000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 3.290000] serial8250: ttyS0 at MMIO 0x1e000d00 (irq = 27) is a 16550A [ 3.300000] serial8250: ttyS1 at MMIO 0x1e000c00 (irq = 26) is a 16550A [ 3.300000] led=10, on=4000, off=1, blinks,=1, reset=1, time=4000 [ 3.310000] Ralink gpio driver initialized [ 3.320000] brd: module loaded [ 3.320000] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error [ 3.330000] Allocate 16 byte aligned buffer: 80750360 [ 3.330000] Enable NFI Clock [ 3.330000] # MTK NAND # : Use HW ECC [ 3.340000] NAND ID [C8 D1 80 95 40, 00809540] [ 3.340000] Device found in MTK table, ID: c8d1, EXT_ID: 809540 [ 3.350000] Support this Device in MTK table! c8d1 [ 3.350000] NAND device: Manufacturer ID: 0xc8, Chip ID: 0xd1 (ESMT NAND 128MiB 3,3V 8-bit), 128MiB, page size: 2048, OOB size: 64 [ 3.370000] [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16 [ 3.370000] Scanning device for bad blocks [ 3.520000] Signature matched and data read! [ 3.530000] load_fact_bbt success 1023 [ 3.530000] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 3.540000] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 3.550000] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 3.560000] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 3.570000] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 3.580000] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 3.590000] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 3.600000] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 3.610000] Creating 13 MTD partitions on "MT7621-NAND": [ 3.610000] 0x000000000000-0x000007f80000 : "ALL" [ 3.620000] 0x000000000000-0x000000080000 : "Bootloader" [ 3.630000] 0x000000080000-0x0000000c0000 : "Config" [ 3.630000] 0x0000000c0000-0x000000100000 : "Bdata" [ 3.640000] 0x000000100000-0x000000140000 : "Factory" [ 3.650000] 0x000000140000-0x000000180000 : "crash" [ 3.650000] 0x000000180000-0x0000001c0000 : "crash_syslog" [ 3.660000] 0x0000001c0000-0x000000200000 : "reserved0" [ 3.660000] 0x000000200000-0x000000600000 : "kernel0" [ 3.670000] 0x000000600000-0x000000a00000 : "kernel1" [ 3.680000] 0x000000a00000-0x000002a00000 : "rootfs0" [ 3.680000] 0x000002a00000-0x000004a00000 : "rootfs1" [ 3.690000] 0x000004a00000-0x000007f80000 : "overlay" [ 3.700000] [mtk_nand] probe successfully! [ 3.700000] PPP generic driver version 2.4.2 [ 3.710000] PPP BSD Compression module registered [ 3.710000] PPP Deflate Compression module registered [ 3.720000] PPP MPPE Compression module registered [ 3.720000] NET: Registered protocol family 24 [ 3.730000] PPTP driver version 0.8.5 [ 3.730000] ps: can't get major 253 [ 3.730000] GMAC1_MAC_ADRH -- : 0x00004031 [ 3.740000] GMAC1_MAC_ADRL -- : 0x3c01b00f [ 3.740000] Ralink APSoC Ethernet Driver Initilization. v3.1 1024 rx/tx descriptors allocated, mtu = 1500! [ 3.750000] GMAC1_MAC_ADRH -- : 0x00004031 [ 3.760000] GMAC1_MAC_ADRL -- : 0x3c01b00f [ 3.760000] PROC INIT OK! [ 3.760000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 3.770000] ehci-pci: EHCI PCI platform driver [ 3.770000] ehci-platform: EHCI generic platform driver [ 3.780000] *****run project phy. [ 3.800000] FM_OUT value: u4FmOut = 0(0x00000000) [ 3.820000] FM_OUT value: u4FmOut = 0(0x00000000) [ 3.840000] FM_OUT value: u4FmOut = 0(0x00000000) [ 3.860000] FM_OUT value: u4FmOut = 0(0x00000000) [ 3.880000] FM_OUT value: u4FmOut = 0(0x00000000) [ 3.900000] FM_OUT value: u4FmOut = 0(0x00000000) [ 3.920000] FM_OUT value: u4FmOut = 0(0x00000000) [ 3.940000] FM_OUT value: u4FmOut = 0(0x00000000) [ 3.960000] FM_OUT value: u4FmOut = 0(0x00000000) [ 3.980000] FM_OUT value: u4FmOut = 0(0x00000000) [ 4.040000] FM_OUT value: u4FmOut = 0(0x00000000) [ 4.060000] FM_OUT value: u4FmOut = 0(0x00000000) [ 4.080000] FM_OUT value: u4FmOut = 0(0x00000000) [ 4.100000] FM_OUT value: u4FmOut = 0(0x00000000) [ 4.120000] FM_OUT value: u4FmOut = 0(0x00000000) [ 4.140000] FM_OUT value: u4FmOut = 0(0x00000000) [ 4.160000] FM_OUT value: u4FmOut = 0(0x00000000) [ 4.180000] FM_OUT value: u4FmOut = 0(0x00000000) [ 4.200000] FM_OUT value: u4FmOut = 0(0x00000000) [ 4.220000] FM_OUT value: u4FmOut = 0(0x00000000) [ 4.370000] xhci-hcd xhci-hcd: xHCI Host Controller [ 4.370000] xhci-hcd xhci-hcd: new USB bus registered, assigned bus number 1 [ 4.380000] xhci-hcd xhci-hcd: irq 22, io mem 0x1e1c0000 [ 4.390000] xHCI xhci_add_endpoint called for root hub [ 4.390000] xHCI xhci_check_bandwidth called for root hub [ 4.390000] hub 1-0:1.0: USB hub found [ 4.390000] hub 1-0:1.0: 2 ports detected [ 4.390000] xhci-hcd xhci-hcd: xHCI Host Controller [ 4.400000] xhci-hcd xhci-hcd: new USB bus registered, assigned bus number 2 [ 4.410000] xHCI xhci_add_endpoint called for root hub [ 4.410000] xHCI xhci_check_bandwidth called for root hub [ 4.410000] hub 2-0:1.0: USB hub found [ 4.410000] hub 2-0:1.0: 1 port detected [ 4.410000] usbcore: registered new interface driver usb-storage [ 4.420000] softdog: Software Watchdog Timer: 0.08 initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=0) [ 4.430000] Netfilter messages via NETLINK v0.30. [ 4.440000] nfnl_acct: registering with nfnetlink. [ 4.440000] nf_conntrack version 0.5.0 (3931 buckets, 15724 max) [ 4.450000] ipip: IPv4 over IPv4 tunneling driver [ 4.450000] gre: GRE over IPv4 demultiplexor driver [ 4.460000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 4.470000] Type=Restricted Cone [ 4.470000] TCP: cubic registered [ 4.470000] NET: Registered protocol family 10 [ 4.480000] NET: Registered protocol family 17 [ 4.480000] l2tp_core: L2TP core driver, V2.0 [ 4.490000] l2tp_ppp: PPPoL2TP kernel driver, V2.0 [ 4.490000] l2tp_netlink: L2TP netlink interface [ 4.500000] 8021q: 802.1Q VLAN Support v1.8 [ 4.500000] MIQEF register done [ 4.510000] Freeing unused kernel memory: 1496K (805aa000 - 80720000) [ 4.520000] csd: CSD deadlock debugging initiated! >[ 4.580000] Loading essential drivers... >[ 4.590000] Press Ctrl+C to enter RAMFS... [ 4.850000] usb 1-1: new high-speed USB device number 2 using xhci-hcd [ 4.870000] usb 1-1: ep 0x81 - rounding interval to 128 microframes, ep desc says 255 microframes [ 4.880000] add_ep parameters, dev_speed 3, is_in 1, isTT 0, ep_type 2, maxp 512, interval 128, burst 0, mult 0, ep 0x8f77b880, ep_ctx 0xbbc0d080, sch_ep 0x8ff14400 [ 4.890000] [DBG] BPKTS: 1, BCSCOUNT: 0, BBM: 1 [ 4.890000] [DBG] BOFFSET: 0, BREPEAT: 0 [ 4.890000] usb 1-1: ep 0x2 - rounding interval to 128 microframes, ep desc says 255 microframes [ 4.900000] add_ep parameters, dev_speed 3, is_in 0, isTT 0, ep_type 2, maxp 512, interval 128, burst 0, mult 0, ep 0x8f77b8ac, ep_ctx 0xbbc0d0a0, sch_ep 0x8ff14680 [ 4.910000] [DBG] BPKTS: 1, BCSCOUNT: 0, BBM: 1 [ 4.910000] [DBG] BOFFSET: 0, BREPEAT: 0 [ 4.910000] usb-storage 1-1:1.0: USB Mass Storage device detected [ 4.920000] scsi0 : usb-storage 1-1:1.0 >[ 5.600000] Check for USB recovery... >[ 5.610000] Found usb storage, wait for ready [ 6.130000] scsi 0:0:0:0: Direct-Access Teclast CoolFlash 1100 PQ: 0 ANSI: 4 [ 6.140000] sd 0:0:0:0: [sda] 61020160 512-byte logical blocks: (31.2 GB/29.0 GiB) [ 6.150000] sd 0:0:0:0: [sda] Write Protect is off [ 6.160000] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00 [ 6.160000] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 6.170000] sda: [ 6.180000] sd 0:0:0:0: [sda] Attached SCSI removable disk >[ 6.650000] Bringup the system... >[ 6.670000] flag_boot_rootfs=1 mounting /dev/mtd11 [ 6.680000] UBI: attaching mtd11 to ubi0 [ 6.980000] UBI: scanning is finished [ 7.000000] UBI: attached mtd11 (name "rootfs1", size 32 MiB) to ubi0 [ 7.000000] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes [ 7.010000] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048 [ 7.020000] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096 [ 7.020000] UBI: good PEBs: 256, bad PEBs: 0, corrupted PEBs: 0 [ 7.030000] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128 [ 7.040000] UBI: max/mean erase counter: 2/2, WL threshold: 4096, image sequence number: 1151222859 [ 7.040000] UBI: available PEBs: 78, total reserved PEBs: 178, PEBs reserved for bad PEB handling: 20 [ 7.050000] UBI: background thread "ubi_bgt0d" started, PID 433 [ 8.260000] 40:31:3C: 1:FFFFFFB0: F [ 8.260000] Raeth v3.1 (Tasklet) [ 8.270000] set CLK_CFG_0 = 0x40a00020!!!!!!!!!!!!!!!!!!1 [ 8.280000] phy_free_head is 0x1bc1c000!!! [ 8.280000] phy_free_tail_phy is 0x1bc1dff0!!! [ 8.290000] txd_pool=bbc20000 phy_txd_pool=1BC20000 [ 8.290000] ei_local->skb_free start address is 0x8fed26dc. [ 8.300000] free_txd: 1bc20010, ei_local->cpu_ptr: 1BC20000 [ 8.300000] POOL HEAD_PTR | DMA_PTR | CPU_PTR [ 8.310000] ----------------+---------+-------- [ 8.310000] 0xbbc20000 0x1BC20000 0x1BC20000 [ 8.320000] [ 8.320000] phy_qrx_ring = 0x1bc1b000, qrx_ring = 0xbbc1b000 [ 8.320000] [ 8.320000] phy_rx_ring0 = 0x1bc34000, rx_ring0 = 0xbbc34000 [ 8.350000] MT7530 Reset Completed!! [ 8.360000] change HW-TRAP to 0x17c8f [ 8.370000] set LAN/WAN LWLLL [ 8.380000] GMAC1_MAC_ADRH -- : 0x00004031 [ 8.380000] GMAC1_MAC_ADRL -- : 0x3c01b00f [ 8.380000] GDMA2_MAC_ADRH -- : 0x00004031 [ 8.390000] GDMA2_MAC_ADRL -- : 0x3c01b010 [ 8.390000] eth1: ===> VirtualIF_open [ 8.400000] MT7621 GE2 link rate to 1G [ 8.400000] CDMA_CSG_CFG = 81000000 [ 8.400000] GDMA1_FWD_CFG = 20710000 [ 8.400000] GDMA2_FWD_CFG = 20710000 [ 8.670000] UBI: attaching mtd12 to ubi1 [ 9.170000] UBI: scanning is finished [ 9.190000] UBI: attached mtd12 (name "overlay", size 53 MiB) to ubi1 [ 9.200000] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes [ 9.200000] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048 [ 9.210000] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096 [ 9.220000] UBI: good PEBs: 428, bad PEBs: 0, corrupted PEBs: 0 [ 9.220000] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128 [ 9.230000] UBI: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1216388473 [ 9.240000] UBI: available PEBs: 0, total reserved PEBs: 428, PEBs reserved for bad PEB handling: 20 [ 9.250000] UBI: background thread "ubi_bgt1d" started, PID 646 [ 9.260000] UBIFS: background thread "ubifs_bgt1_0" started, PID 650 [ 9.330000] UBIFS: recovery needed [ 9.510000] UBIFS: recovery completed [ 9.520000] UBIFS: mounted UBI device 1, volume 0, name "data" [ 9.520000] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes [ 9.530000] UBIFS: FS size: 50028544 bytes (47 MiB, 394 LEBs), journal size 2539520 bytes (2 MiB, 20 LEBs) [ 9.540000] UBIFS: reserved for root: 2362971 bytes (2307 KiB) [ 9.550000] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 6C989812-FFB2-46C3-840C-F3143F929B7B, small LPT model [ 10.580000] ESW: Link Status Changed - Port1 Link UP,100Mbps,Full Duplex [ 10.960000] ra2880stop()...Done [ 10.970000] eth1: ===> VirtualIF_close [ 10.970000] Free TX/RX Ring Memory! [ 11.160000] MIWIFI crash syslog initialized [ 12.150000] NTFS driver 2.1.30 [Flags: R/O MODULE]. [ 12.210000] tun: Universal TUN/TAP device driver, 1.6 [ 12.220000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com> [ 12.230000] Mirror/redirect action on [ 12.260000] u32 classifier [ 12.260000] input device check on [ 12.270000] Actions configured [ 12.380000] ip_gre: GRE over IPv4 tunneling driver [ 12.420000] xt_time: kernel timezone is +0800 [ 12.510000] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 12.790000] ip_set: protocol 6 [ 12.890000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 12.900000] sd 0:0:0:0: Attached scsi generic sg0 type 0 [ 12.920000] Traffic lan port is eth0 [ 12.970000] dev_redirect load success. [ 13.510000] <-- RTMPAllocTxRxRingMemory, Status=0, ErrorValue=0x [ 13.510000] <-- RTMPAllocAdapterBlock, Status=0 [ 14.030000] <-- RTMPAllocTxRxRingMemory, Status=0 [ 14.050000] <-- RTMPAllocAdapterBlock, Status=0 [ 14.050000] pAd->CSRBaseAddress =0xc0f00000, csr_addr=0xc0f00000! [ 14.060000] <dbg> MAC_CSR0=1986146304, RtmpChipOpsHook [ 14.070000] <dbg> dev idx = 1! [ 14.070000] <dbg> get_dev_config_idx pAd->MACVersion = 76623000, pAd->ChipID = 76120044 [ 16.430000] 40:31:3C: 1:FFFFFFB0: F [ 16.430000] Raeth v3.1 (Tasklet) [ 16.430000] set CLK_CFG_0 = 0x40a00020!!!!!!!!!!!!!!!!!!1 [ 16.440000] phy_free_head is 0x1bc64000!!! [ 16.450000] phy_free_tail_phy is 0x1bc65ff0!!! [ 16.450000] txd_pool=bbc70000 phy_txd_pool=1BC70000 [ 16.460000] ei_local->skb_free start address is 0x8fed26dc. [ 16.460000] free_txd: 1bc70010, ei_local->cpu_ptr: 1BC70000 [ 16.470000] POOL HEAD_PTR | DMA_PTR | CPU_PTR [ 16.470000] ----------------+---------+-------- [ 16.480000] 0xbbc70000 0x1BC70000 0x1BC70000 [ 16.480000] [ 16.480000] phy_qrx_ring = 0x1bc63000, qrx_ring = 0xbbc63000 [ 16.490000] [ 16.490000] phy_rx_ring0 = 0x1bc84000, rx_ring0 = 0xbbc84000 [ 16.520000] MT7530 Reset Completed!! [ 16.530000] change HW-TRAP to 0x17c8f [ 16.540000] set LAN/WAN LWLLL [ 16.550000] GMAC1_MAC_ADRH -- : 0x00004031 [ 16.550000] GMAC1_MAC_ADRL -- : 0x3c01b00f [ 16.550000] eth1: ===> VirtualIF_open [ 16.560000] MT7621 GE2 link rate to 1G [ 16.560000] CDMA_CSG_CFG = 81000000 [ 16.560000] GDMA1_FWD_CFG = 20710000 [ 16.570000] GDMA2_FWD_CFG = 20710000 [ 16.570000] device eth0 entered promiscuous mode [ 16.580000] br-lan: port 1(eth0) entered forwarding state [ 16.580000] br-lan: port 1(eth0) entered forwarding state [ 16.600000] ifb is opened now. [ 16.600000] eth1: ===> VirtualIF_open [ 17.340000] efuse_probe: efuse = 10000002 [ 17.530000] tssi_1_target_pwr_g_band = 39 [ 17.850000] tfat: module license 'Commercial. For support email exfat-support@tuxera.com' taints kernel. [ 17.860000] Disabling lock debugging due to kernel taint [ 17.870000] Tuxera FAT 12/16/32 driver version 3015.1.29 [Flags: R/W MODULE]. [ 17.880000] Built against headers 3.10.14 #1 SMP Mon Jan 9 17:59:15 CST 2017 mips [ 17.890000] Running on kernel 3.10.14 #1 MiWiFi-R3G-2.25.122 SMP Fri Aug 25 15:11:18 CST 2017 mips [ 17.900000] WARNING: Running kernel does not match configured kernel headers the driver was built with! The driver needs to be rebuilt with the correct kernel headers! [ 18.260000] tfat: fail_safe is enabled [ 18.260000] tfat: cluster_heap_lbo 0x1000000 [ 18.270000] tfat: 12 blkbits for normal inodes [ 18.270000] tfat: fat start lbo 0x175800 [ 18.280000] tfat: 10 blkbits for main FAT32 inode [ 18.280000] tfat: cluster size 16384 [ 18.540000] tfat info: FAT32 volume version 0.0. [ 18.550000] tfat warning (device sda, pid 1548): fat_fill_super(): FAT volume is dirty. You should unmount and repair it. [ 18.580000] br-lan: port 1(eth0) entered forwarding state [ 18.740000] ESW: Link Status Changed - Port1 Link UP,100Mbps,Full Duplex [ 19.560000] led=16, on=4000, off=1, blinks,=1, reset=4000, time=4000 [ 19.560000] ESW: Link Status Changed - Port2 Link UP,1000Mbps,Full Duplex [ 20.330000] <==== rt28xx_init, Status=0 [ 22.460000] device wl1 entered promiscuous mode [ 22.460000] br-lan: port 2(wl1) entered forwarding state [ 22.470000] br-lan: port 2(wl1) entered forwarding state [ 22.500000] ##### mbss_cr_enable, BssId = 1 [ 22.590000] nf_conntrack: automatic helper assignment is deprecated and it will be removed soon. Use the iptables CT target to attach helpers instead. [ 23.660000] <dbg> MAC_CSR0=1986146304, rtmp_asic_top_init [ 23.710000] Set defult RDRegion value: CountryCode=CN , RDRegion=0 [ 23.970000] dev_redirect: add(+) dev redirect mapping: src:eth1->dst:ifb0 [ 24.470000] br-lan: port 2(wl1) entered forwarding state [ 26.600000] <==== rt28xx_init, Status=0 [ 28.240000] device wl0 entered promiscuous mode [ 28.250000] br-lan: port 3(wl0) entered forwarding state [ 28.260000] br-lan: port 3(wl0) entered forwarding state [ 30.260000] br-lan: port 3(wl0) entered forwarding state [ 30.820000] proxy_device_init, get br-lan ifindex=10 [ 30.820000] tproxy_device_event, br-lan UP ifindex=10 [ 30.820000] tcpproxy_init, succeed! [ 30.880000] dev_redirect: add(+) dev redirect mapping: src:eth1->dst:ifb0 [ 31.020000] init_reap_url_netlink, register genl successfully! [ 33.720000] dev_redirect: add(+) dev redirect mapping: src:eth1->dst:ifb0 [ 43.500000] Ralink HW NAT Module Enabled [ 43.510000] eth0 ifindex =3 [ 43.510000] eth1 ifindex =5 [ 43.520000] *hwnat reg dev ******* set dev[lo]->ifindex = 1 [ 43.520000] *hwnat reg dev ******* set dev[ifb0]->ifindex = 2 [ 43.530000] *hwnat reg dev ******* set dev[wl1]->ifindex = 8 [ 43.530000] *hwnat reg dev ******* set dev[wl0]->ifindex = 9 [ 43.540000] *hwnat reg dev ******* set dev[br-lan]->ifindex = 10 [ 43.550000] *hwnat reg dev ******* set dev[wl2]->ifindex = 11 [ 47.680000] Samba Netfilter Hook Enabled [ 51.190000] init_netlink, create socket ok. [ 51.190000] Module MiNetlink initialized [ 51.190000] init_webfilter_match, succeed! [ 52.510000] webfilter_htable_purge, purge 0 rules, total rule nums=0 [ 52.520000] webfilter_htable_purge, purge 0 rules, total rule nums=0 [ 55.100000] dev_redirect: add(+) dev redirect mapping: src:eth1->dst:ifb0 [ 56.410000] webfilter_htable_purge, purge 0 rules, total rule nums=0 [ 56.420000] webfilter_htable_purge, purge 0 rules, total rule nums=0 [ 56.650000] Module MiNetlink exit [ 56.650000] webfilter_htable_purge, purge 0 rules, total rule nums=0 [ 56.650000] webfilter_htable_purge, purge 0 rules, total rule nums=0 [ 56.660000] webfilter_string_list_purge, purge 0 rules, 0 rules left. [ 58.100000] init_netlink, create socket ok. [ 58.100000] Module MiNetlink initialized [ 58.100000] init_webfilter_match, succeed! [ 58.360000] webfilter_htable_purge, purge 0 rules, total rule nums=0 [ 58.360000] webfilter_htable_purge, purge 0 rules, total rule nums=0 [ 62.440000] led=6, on=1, off=4000, blinks,=1, reset=1, time=4000 [ 62.450000] led=10, on=1, off=4000, blinks,=1, reset=1, time=4000 [ 62.470000] led=8, on=4000, off=1, blinks,=1, reset=1, time=4000 [ 63.480000] dev_redirect: add(+) dev redirect mapping: src:eth1->dst:ifb0 [ 63.590000] webfilter_purge_special, purge 0 rules, total rule nums=0 [ 63.600000] webfilter_purge_special, purge 0 rules, total rule nums=0


R4A Gigabit:

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

R3G:

[ 0.000000] Linux version 4.9.58 (buildbot@builds) (gcc version 5.5.0 (LEDE GCC 5.5.0 r5399-6aa4b97) ) #0 SMP Wed Nov 22 07:21:53 2017 [ 0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc) [ 0.000000] MIPS: machine is Xiaomi Mi Router 3G [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 10000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] VPE topology {2,2} total 4 [ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, 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] Zone ranges: [ 0.000000] Normal [mem 0x0000000000000000-0x000000000fffffff] [ 0.000000] HighMem empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x000000000fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff] [ 0.000000] On node 0 totalpages: 65536 [ 0.000000] free_area_init_node: node 0, pgdat 805118a0, node_mem_map 81003000 [ 0.000000] Normal zone: 512 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 65536 pages, LIFO batch:15 [ 0.000000] percpu: Embedded 12 pages/cpu @8120f000 s17776 r8192 d23184 u49152 [ 0.000000] pcpu-alloc: s17776 r8192 d23184 u49152 alloc=12*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024 [ 0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2 [ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Writing ErrCtl register=0001c02d [ 0.000000] Readback ErrCtl register=0001c02d [ 0.000000] Memory: 253888K/262144K available (4054K kernel code, 221K rwdata, 916K rodata, 236K init, 272K bss, 8256K reserved, 0K cma-reserved, 0K highmem) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS:256 [ 0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns [ 0.000010] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns [ 0.007797] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688) [ 0.070416] pid_max: default: 32768 minimum: 301 [ 0.075148] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.081674] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.092975] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.092991] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.093005] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 0.093194] CPU1 revision is: 0001992f (MIPS 1004Kc) [ 0.177991] Synchronize counters for CPU 1: [ 0.177992] done. [ 0.189069] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.189078] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.189086] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 0.189178] CPU2 revision is: 0001992f (MIPS 1004Kc) [ 0.270068] Synchronize counters for CPU 2: [ 0.270069] done. [ 0.277609] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.277616] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.277624] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 0.277721] CPU3 revision is: 0001992f (MIPS 1004Kc) [ 0.355297] Synchronize counters for CPU 3: [ 0.355297] done. [ 0.361545] Brought up 4 CPUs [ 0.368519] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.378303] futex hash table entries: 1024 (order: 3, 32768 bytes) [ 0.384550] pinctrl core: initialized pinctrl subsystem [ 0.390451] NET: Registered protocol family 16 [ 0.403496] FPU Affinity set after 11720 emulations [ 0.440292] pull PCIe RST: RALINK_RSTCTRL = 4000000 [ 0.745416] release PCIe RST: RALINK_RSTCTRL = 7000000 [ 0.750464] ***** Xtal 40MHz ***** [ 0.753819] release PCIe RST: RALINK_RSTCTRL = 7000000 [ 0.758916] Port 0 N_FTS = 1b102800 [ 0.762389] Port 1 N_FTS = 1b102800 [ 0.765826] Port 2 N_FTS = 1b102800 [ 1.920404] PCIE2 no card, disable it(RST&CLK) [ 1.924763] -> 21007f2 [ 1.927162] PCIE0 enabled [ 1.929755] PCIE1 enabled [ 1.932351] PCI host bridge /pcie@1e140000 ranges: [ 1.937135] MEM 0x0000000060000000..0x000000006fffffff [ 1.942290] IO 0x000000001e160000..0x000000001e16ffff [ 1.947491] PCI coherence region base: 0x60000000, mask/settings: 0xf0000002 [ 1.999014] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 2.004877] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 2.010632] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 2.017789] PCI host bridge to bus 0000:00 [ 2.021826] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff] [ 2.028668] pci_bus 0000:00: root bus resource [io 0xffffffff] [ 2.034511] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0] [ 2.041266] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] [ 2.049160] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400 [ 2.049191] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff] [ 2.049203] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff] [ 2.049266] pci 0000:00:00.0: supports D1 [ 2.049275] pci 0000:00:00.0: PME# supported from D0 D1 D3hot [ 2.049524] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400 [ 2.049544] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff] [ 2.049558] pci 0000:00:01.0: reg 0x14: [mem 0x00000000-0x0000ffff] [ 2.049606] pci 0000:00:01.0: supports D1 [ 2.049614] pci 0000:00:01.0: PME# supported from D0 D1 D3hot [ 2.049838] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 2.057762] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 2.065871] pci 0000:01:00.0: [14c3:7603] type 00 class 0x028000 [ 2.065903] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff] [ 2.066027] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold [ 2.066246] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 2.066439] pci 0000:02:00.0: [14c3:7662] type 00 class 0x028000 [ 2.066476] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit] [ 2.066521] pci 0000:02:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref] [ 2.066607] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold [ 2.066806] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02 [ 2.066825] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 02 [ 2.066888] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000] [ 2.073432] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000] [ 2.080315] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000] [ 2.086890] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000] [ 2.093795] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff] [ 2.100544] pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff] [ 2.107267] pci 0000:00:01.0: BAR 9: assigned [mem 0x60200000-0x602fffff pref] [ 2.114460] pci 0000:00:00.0: BAR 1: assigned [mem 0x60300000-0x6030ffff] [ 2.121187] pci 0000:00:01.0: BAR 1: assigned [mem 0x60310000-0x6031ffff] [ 2.127959] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff] [ 2.134660] pci 0000:00:00.0: PCI bridge to [bus 01] [ 2.139597] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff] [ 2.146328] pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit] [ 2.153609] pci 0000:02:00.0: BAR 6: assigned [mem 0x60200000-0x6020ffff pref] [ 2.160751] pci 0000:00:01.0: PCI bridge to [bus 02] [ 2.165688] pci 0000:00:01.0: bridge window [mem 0x60100000-0x601fffff] [ 2.172417] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff pref] [ 2.179611] BAR0 at slot 0 = 0 [ 2.182601] bus=0x0, slot = 0x0 [ 2.185717] BAR0 at slot 1 = 0 [ 2.188738] bus=0x0, slot = 0x1 [ 2.191872] bus=0x1, slot = 0x0, irq=0xff [ 2.195830] bus=0x2, slot = 0x1, irq=0xff [ 2.201094] clocksource: Switched to clocksource GIC [ 2.207637] NET: Registered protocol family 2 [ 2.212780] TCP established hash table entries: 2048 (order: 1, 8192 bytes) [ 2.219673] TCP bind hash table entries: 2048 (order: 2, 16384 bytes) [ 2.226103] TCP: Hash tables configured (established 2048 bind 2048) [ 2.232453] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 2.238211] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 2.244678] NET: Registered protocol family 1 [ 2.248999] PCI: CLS 80 bytes, default 32 [ 2.481036] 4 CPUs re-calibrate udelay(lpj = 2924544) [ 2.487402] Crashlog allocated RAM at address 0x3f00000 [ 2.492945] workingset: timestamp_bits=30 max_order=16 bucket_order=0 [ 2.507833] random: fast init done [ 2.508378] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 2.508386] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 2.527060] io scheduler noop registered [ 2.530891] io scheduler deadline registered (default) [ 2.536548] gpio-export gpio_export: 1 gpio(s) exported [ 2.542421] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 2.552502] console [ttyS0] disabled [ 2.556051] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 18, base_baud = 3125000) is a 16550A [ 2.565060] console [ttyS0] enabled [ 2.571938] bootconsole [early0] disabled [ 2.581441] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error [ 2.588500] Allocate 16 byte aligned buffer: 805881f0 [ 2.593561] Enable NFI Clock [ 2.596425] # MTK NAND # : Use HW ECC [ 2.600084] Device not found, ID: c8d1 [ 2.603834] Not Support this Device! [ 2.607562] chip_mode=00000001 [ 2.610608] Support this Device in MTK table! c8d1 [ 2.615579] [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16 [ 2.622058] nand: device found, Manufacturer ID: 0xc8, Chip ID: 0xd1 [ 2.628378] nand: ESMT NAND 128MiB 3,3V 8-bit [ 2.632738] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 2.640283] Scanning device for bad blocks [ 2.790285] 10 ofpart partitions found on MTD device MT7621-NAND [ 2.796282] Creating 10 MTD partitions on "MT7621-NAND": [ 2.801602] 0x000000000000-0x000000080000 : "Bootloader" [ 2.808415] 0x000000080000-0x0000000c0000 : "Config" [ 2.814753] 0x0000000c0000-0x000000100000 : "Bdata" [ 2.820879] 0x000000100000-0x000000140000 : "Factory" [ 2.827330] 0x000000140000-0x000000180000 : "crash" [ 2.833504] 0x000000180000-0x0000001c0000 : "crash_syslog" [ 2.840171] 0x0000001c0000-0x000000200000 : "reserved0" [ 2.846715] 0x000000200000-0x000000600000 : "kernel_stock" [ 2.853563] 0x000000600000-0x000000a00000 : "kernel" [ 2.859741] 0x000000a00000-0x000007f80000 : "ubi" [ 2.866644] [mtk_nand] probe successfully! [ 2.871529] Signature matched and data read! [ 2.875777] load_fact_bbt success 1023 [ 2.880210] libphy: Fixed MDIO Bus: probed [ 2.953702] libphy: mdio: probed [ 4.356494] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver [ 4.363262] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 20 [ 4.373812] NET: Registered protocol family 10 [ 4.379873] NET: Registered protocol family 17 [ 4.384457] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 4.397372] 8021q: 802.1Q VLAN Support v1.8 [ 4.404440] UBI: auto-attach mtd9 [ 4.407770] ubi0: attaching mtd9 [ 4.569082] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up [ 5.526845] ubi0: scanning is finished [ 5.547106] ubi0: attached mtd9 (name "ubi", size 117 MiB) [ 5.552638] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes [ 5.559479] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048 [ 5.566251] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [ 5.573195] ubi0: good PEBs: 940, bad PEBs: 0, corrupted PEBs: 0 [ 5.579171] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128 [ 5.586378] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 845188607 [ 5.595402] ubi0: available PEBs: 0, total reserved PEBs: 940, PEBs reserved for bad PEB handling: 20 [ 5.604615] ubi0: background thread "ubi_bgt0d" started, PID 376 [ 5.606723] block ubiblock0_0: created from ubi0:0(rootfs) [ 5.606732] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem [ 5.606748] hctosys: unable to open rtc device (rtc0) [ 5.634974] VFS: Mounted root (squashfs filesystem) readonly on device 254:0. [ 5.642657] Freeing unused kernel memory: 236K [ 5.647089] This architecture does not have kernel memory protection. [ 6.083526] init: Console is alive [ 6.087151] init: - watchdog - [ 6.621360] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 6.712651] usbcore: registered new interface driver usbfs [ 6.718233] usbcore: registered new interface driver hub [ 6.723741] usbcore: registered new device driver usb [ 6.738036] xhci-mtk 1e1c0000.xhci: xHCI Host Controller [ 6.743443] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1 [ 6.761280] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x00210010 [ 6.769755] xhci-mtk 1e1c0000.xhci: irq 19, io mem 0x1e1c0000 [ 6.776567] hub 1-0:1.0: USB hub found [ 6.780387] hub 1-0:1.0: 2 ports detected [ 6.784923] xhci-mtk 1e1c0000.xhci: xHCI Host Controller [ 6.790228] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2 [ 6.797902] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 6.806897] hub 2-0:1.0: USB hub found [ 6.810705] hub 2-0:1.0: 1 port detected [ 6.817668] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 6.841421] init: - preinit - [ 10.788684] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 465 [ 10.863421] UBIFS (ubi0:1): recovery needed [ 11.094042] UBIFS (ubi0:1): recovery completed [ 11.098590] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data" [ 11.106402] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes [ 11.116299] UBIFS (ubi0:1): FS size: 112754688 bytes (107 MiB, 888 LEBs), journal size 5586944 bytes (5 MiB, 44 LEBs) [ 11.126870] UBIFS (ubi0:1): reserved for root: 4952683 bytes (4836 KiB) [ 11.133475] UBIFS (ubi0:1): media format: w4/r0 (latest is w4/r0), UUID 0F3389EA-8B75-48A2-9C8B-D88CB30020CF, small LPT model [ 11.160599] mount_root: loading kmods from internal overlay [ 11.354225] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/* [ 11.597548] SCSI subsystem initialized [ 11.625292] usbcore: registered new interface driver usb-storage [ 11.631589] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/* [ 11.860967] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab [ 11.873351] block: extroot: not configured [ 11.914419] mount_root: switching to ubifs overlay [ 11.937984] urandom-seed: Seeding with /etc/urandom.seed [ 12.046066] procd: - early - [ 12.049044] procd: - watchdog - [ 12.751250] procd: - watchdog - [ 12.754680] procd: - ubus - [ 12.814550] procd: - init - [ 13.139095] kmodloader: loading kernel modules from /etc/modules.d/* [ 13.182422] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 13.195646] i2c /dev entries driver [ 13.238659] hidraw: raw HID events driver (C) Jiri Kosina [ 13.343815] Bluetooth: Core ver 2.22 [ 13.347510] NET: Registered protocol family 31 [ 13.351966] Bluetooth: HCI device and connection manager initialized [ 13.358310] Bluetooth: HCI socket layer initialized [ 13.363181] Bluetooth: L2CAP socket layer initialized [ 13.368250] Bluetooth: SCO socket layer initialized [ 13.374584] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 13.379885] Bluetooth: BNEP filters: protocol multicast [ 13.385128] Bluetooth: BNEP socket layer initialized [ 13.399761] usbcore: registered new interface driver btusb [ 13.406390] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180 [ 13.411228] usb 2-1: new SuperSpeed USB device number 2 using xhci-mtk [ 13.420885] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d [ 13.433262] Bluetooth: HCI UART driver ver 2.3 [ 13.437707] Bluetooth: HCI UART protocol H4 registered [ 13.442875] Bluetooth: HCI UART protocol BCSP registered [ 13.443205] usb-storage 2-1:1.0: USB Mass Storage device detected [ 13.444267] usb-storage 2-1:1.0: Quirks match for vid 0bc2 pid a013: 2000000 [ 13.444453] scsi host0: usb-storage 2-1:1.0 [ 13.465464] Bluetooth: HCI UART protocol ATH3K registered [ 13.475662] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 13.481666] Bluetooth: HIDP socket layer initialized [ 13.488342] ip_tables: (C) 2000-2006 Netfilter Core Team [ 13.502105] nf_conntrack version 0.5.0 (4096 buckets, 16384 max) [ 13.547059] Bluetooth: RFCOMM TTY layer initialized [ 13.552037] Bluetooth: RFCOMM socket layer initialized [ 13.557184] Bluetooth: RFCOMM ver 1.11 [ 13.572568] xt_time: kernel timezone is -0000 [ 13.621217] mt7603e 0000:01:00.0: ASIC revision: 76030010 [ 13.687678] mt7603e 0000:01:00.0: Firmware Version: _mt7603mp [ 13.693494] mt7603e 0000:01:00.0: Build Time: 20151020155902 [ 13.731078] firmware init done [ 13.905424] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 13.913479] mt76x2e 0000:02:00.0: ASIC revision: 76120044 [ 13.941127] mt76x2e 0000:02:00.0: ROM patch already applied [ 13.947904] mt76x2e 0000:02:00.0: Firmware Version: 0.0.00 [ 13.953421] mt76x2e 0000:02:00.0: Build: 1 [ 13.957498] mt76x2e 0000:02:00.0: Build Time: 201507311614____ [ 13.991140] mt76x2e 0000:02:00.0: Firmware running! [ 13.997445] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht' [ 14.005707] PPP generic driver version 2.4.2 [ 14.012110] NET: Registered protocol family 24 [ 14.019413] kmodloader: done loading kernel modules from /etc/modules.d/* [ 14.522271] scsi 0:0:0:0: Direct-Access Seagate Backup+ RD 0409 PQ: 0 ANSI: 6 [ 14.532597] sd 0:0:0:0: [sda] 1953525167 512-byte logical blocks: (1.00 TB/932 GiB) [ 14.540715] sd 0:0:0:0: [sda] Write Protect is off [ 14.545533] sd 0:0:0:0: [sda] Mode Sense: 4f 00 00 00 [ 14.545969] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 14.588112] sda: sda1 sda2 sda3 [ 14.596149] sd 0:0:0:0: [sda] Attached SCSI disk [ 18.499404] device eth0 entered promiscuous mode [ 18.506862] br-lan: port 1(eth0.1) entered blocking state [ 18.512417] br-lan: port 1(eth0.1) entered disabled state [ 18.518601] device eth0.1 entered promiscuous mode [ 18.530774] br-lan: port 1(eth0.1) entered blocking state [ 18.536251] br-lan: port 1(eth0.1) entered forwarding state [ 19.107647] random: crng init done [ 21.393573] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready [ 21.406269] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 21.412383] br-lan: port 2(wlan1) entered blocking state [ 21.417698] br-lan: port 2(wlan1) entered disabled state [ 21.423761] device wlan1 entered promiscuous mode [ 21.429216] br-lan: port 3(wlan0) entered blocking state [ 21.434656] br-lan: port 3(wlan0) entered disabled state [ 21.440648] device wlan0 entered promiscuous mode [ 21.445579] br-lan: port 3(wlan0) entered blocking state [ 21.450879] br-lan: port 3(wlan0) entered forwarding state [ 22.153533] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready [ 22.160120] br-lan: port 2(wlan1) entered blocking state [ 22.165466] br-lan: port 2(wlan1) entered forwarding state [ 22.177728] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready


Notes

Space for additional notes, links to forum threads or other resources.

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
toh/xiaomi/mir3g.txt · Last modified: 2019/12/13 00:05 by tmomas