Xiaomi MiWiFi Lite/Serial info

{{SCollapse|U-Boot bootlog [04060C0B][04060D06] DDR Calibration DQS reg = 00008A88

U-Boot 1.1.3 (Sep 25 2015 - 17:14:30)

Board: Ralink APSoC DRAM: 64 MB relocate_code Pointer at: 83fa8000 RT2880_RSTSTAT_REG 0xc0030000 Board power on Occurred flash manufacture id: ef, device id 40 18 find flash: W25Q128BV
 * env is cottupted,use default_environment!*********
 * Warning - bad CRC, using default environment

=
=============================== 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:Sep 25 2015 Time:17:14:30

=
=============================== icache: sets:512, ways:4, linesz:32 ,total:65536 dcache: sets:256, ways:4, linesz:32 ,total:32768

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. 5: Load system2 code then write to Flash via TFTP. 7: Load system code via web. 9: Load Boot Loader code then write to Flash via TFTP.
 * 1) The CPU freq = 575 MHZ ####

You choosed 3 0

3: System Boot system code via Flash. Try to boot OS1 Erasing SPI Flash... raspi_erase: offs:30000 len:10000 . Writing to SPI Flash... . done Image Name:  MIPS OpenWrt Linux-3.10.14 Image Type:  MIPS Linux Kernel Image (lzma compressed) Data Size:   1418615 Bytes =  1.4 MB   Load Address: 80000000 Entry Point: 80000000 Verifying Checksum ... OK  Uncompressing Kernel Image ... OK fac_flag 0xffffffff commandline uart_en=0 factory_mode=0 mem=64m No initrd
 * 1) Booting image at bc050000 ...
 * 1) Transferring control to Linux (at address 80000000) ...
 * 2) Giving linux memsize in MB, 64

Starting kernel ...

LINUX started...

THIS IS ASIC [   0.000000] Linux version 3.10.14 (builder@xqtest-DailyBuild) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Tue Sep 8 17:18:55 CST 2015 [   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 root=/dev/mtdblock5 uart_en=0 factory_mode=0 mem=64m [   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=0007d777 [   0.000000] Readback ErrCtl register=0007d777 [   0.000000] Memory: 60692k/65536k available (2894k kernel code, 4844k reserved, 886k data, 184k 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.110000] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216) [   0.170000] pid_max: default: 32768 minimum: 301 [   0.170000] Mount-cache hash table entries: 512 [   0.180000] NET: Registered protocol family 16 [   0.180000] RALINK_GPIOMODE = 54054404 [   0.190000] RALINK_GPIOMODE = 54044404 [   0.290000] ***** Xtal 40MHz ***** [   0.290000] start PCIe register access [   0.790000] RALINK_RSTCTRL = 2400000 [   0.800000] RALINK_CLKCFG1 = fdbfffc0 [   0.800000] [    0.800000] *************** MT7628 PCIe RC mode ************* [   1.300000] PCIE0 no card, disable it(RST&CLK) [   1.330000] bio: create slab  at 0 [   1.340000] cfg80211: Calling CRDA to update world regulatory domain [   1.340000] Switching to clocksource Ralink Systick timer [   1.350000] NET: Registered protocol family 2 [   1.350000] TCP established hash table entries: 512 (order: 0, 4096 bytes) [   1.360000] TCP bind hash table entries: 512 (order: -1, 2048 bytes) [   1.370000] TCP: Hash tables configured (established 512 bind 512) [   1.370000] TCP: reno registered [   1.380000] UDP hash table entries: 256 (order: 0, 4096 bytes) [   1.380000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [   1.390000] NET: Registered protocol family 1 [   1.390000] Load Kernel WDG Timer Module [   1.410000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [   1.420000] jffs2: version 2.2. (NAND) (SUMMARY) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [    1.430000] msgmni has been set to 118 [   1.440000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) [   1.440000] io scheduler noop registered (default) [   1.460000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [   1.460000] serial8250: ttyS0 at MMIO 0x10000d00 (irq = 21) is a 16550A [   1.470000] serial8250: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A [   1.480000] led=44, on=4000, off=1, blinks,=1, reset=1, time=4000 [   1.480000] Ralink gpio driver initialized [   1.500000] brd: module loaded [   1.510000] flash manufacture id: ef, device id 40 18 [   1.510000] W25Q128BV(ef 40180000) (16384 Kbytes) [   1.520000] mtd .name = raspi, .size = 0x01000000 (16M) .erasesize = 0x00010000 (64K) .numeraseregions = 0 [   1.530000] Creating 10 MTD partitions on "raspi": [   1.530000] 0x000000000000-0x000001000000 : "ALL" [   1.540000] 0x000000000000-0x000000030000 : "Bootloader" [   1.540000] 0x000000030000-0x000000040000 : "Config" [   1.550000] 0x000000040000-0x000000050000 : "Factory" [   1.560000] 0x000000050000-0x000000bf0000 : "OS1" [   1.560000] mtd: try split OS1 partition [   1.570000] mtd: split_firmware [   1.570000] mtd: firmware_partition->size   0xba0000 [   1.580000] mtd: firmware_partition->offset 0x50000 [   1.580000] mtd: uimage_len 1418679 [   1.580000] mtd: uimage_len 1441792 [   1.590000] mtd: rootfs_partition->size   0xa40000 [   1.590000] mtd: rootfs_partition->offset 0x1b0000 [   1.600000] mtd: partition "rootfs" created automatically, ofs=1B0000, len=A40000 [   1.610000] 0x0000001b0000-0x000000bf0000 : "rootfs" [   1.610000] 0x000000bf0000-0x000000e30000 : "OS2" [   1.620000] 0x000000e30000-0x000000ef0000 : "data" [   1.630000] 0x000000ef0000-0x000000ff0000 : "overlay" [   1.630000] 0x000000ff0000-0x000001000000 : "crash" [   1.640000] 0x000000050000-0x000000bf0000 : "firmware" [   1.650000] PPP generic driver version 2.4.2 [   1.650000] PPP MPPE Compression module registered [   1.650000] NET: Registered protocol family 24 [   1.660000] PPTP driver version 0.8.5 [   1.660000] GMAC1_MAC_ADRH -- : 0x0000f0b4 [   1.670000] GMAC1_MAC_ADRL -- : 0x292285e8 [   1.670000] Ralink APSoC Ethernet Driver Initilization. v3.1 256 rx/tx descriptors allocated, mtu = 1500! [   1.680000] GMAC1_MAC_ADRH -- : 0x0000f0b4 [   1.690000] GMAC1_MAC_ADRL -- : 0x292285e8 [   1.690000] PROC INIT OK! [   1.690000] Netfilter messages via NETLINK v0.30. [   1.700000] nfnl_acct: registering with nfnetlink. [   1.700000] nf_conntrack version 0.5.0 (948 buckets, 3792 max) [   1.710000] ip_set: protocol 6 [   1.710000] ipip: IPv4 over IPv4 tunneling driver [   1.720000] gre: GRE over IPv4 demultiplexor driver [   1.730000] ip_tables: (C) 2000-2006 Netfilter Core Team [   1.730000] Type=Restricted Cone [   1.730000] TCP: cubic registered [   1.740000] NET: Registered protocol family 10 [   1.750000] NET: Registered protocol family 17 [   1.750000] l2tp_core: L2TP core driver, V2.0 [   1.750000] l2tp_ppp: PPPoL2TP kernel driver, V2.0 [   1.760000] l2tp_netlink: L2TP netlink interface [   1.760000] 8021q: 802.1Q VLAN Support v1.8 [   1.780000] registered taskstats version 1 [   1.790000] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. [   1.800000] Freeing unused kernel memory: 184K (803b2000 - 803e0000) config core 'version' # ROM ver option ROM '2.0.30' # channel option CHANNEL 'release' # hardware platform R1AC or R1N etc.       option HARDWARE 'R1CL' # 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, 08 Sep 2015 17:11:47 +0800' #build timestamp option BUILDTS '1441703507' #build git tag option GTAG 'commit 11dcb9cd396fa56e73cb6ae9bf77381a0aa975d3' [   3.760000] Raeth v3.1 (Tasklet) [   3.760000] [    3.760000] phy_tx_ring = 0x03f33000, tx_ring = 0xa3f33000 [   3.770000] [    3.770000] phy_rx_ring0 = 0x03f22000, rx_ring0 = 0xa3f22000 [   3.790000] config 7628 esw as LLLLW [   3.870000] GMAC1_MAC_ADRH -- : 0x0000f0b4 [   3.870000] GMAC1_MAC_ADRL -- : 0x292285e8 [   3.870000] RT305x_ESW: Link Status Changed - preinit - Tue Sep 8 17:18:55 UTC 2015 Unlocking overlay ... Erasing overlay ... start nvram clear..... nvram clear...Done! nvram restore done. - regular preinit - mount: mounting /tmp/mnt on /extdisks failed: No such file or directory ffffffff overlay_head ffffffff [  10.460000] jffs2: notice: (552) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. 85190320 [  11.000000] jffs2: notice: (573) 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 Unlocking OS1 ... - init - [  16.150000] ra2880stop...Done [  16.150000] Free TX/RX Ring Memory! init started: BusyBox v1.19.4 (2015-09-08 17:04:56 CST)

Please press Enter to activate this console. rcS S boot: INFO: rc script run time limit to 65 seconds. [  19.240000] Mirror/redirect action on [   19.270000] u32 classifier [  19.270000]     input device check on [   19.270000]     Actions configured [  19.360000] ip_gre: GRE over IPv4 tunneling driver [  19.460000] xt_time: kernel timezone is -0000 [  20.870000] [   20.870000] [   20.870000] === pAd = c05a5000, size = 1570408 === [  20.870000] [   20.880000] <-- RTMPAllocTxRxRingMemory, Status=0, ErrorValue=0x [  20.890000] <-- RTMPAllocAdapterBlock, Status=0 [  20.890000] RtmpChipOpsHook(492): Not support for HIF_MT yet! [  20.900000] mt7628_init--> [  20.900000] mt7628_init(FW(8a00), HW(8a01), CHIPID(7628)) [  20.910000] e2.bin mt7628_init(1117)::(2), pChipCap->fw_len(63536) [  20.910000] mt_bcn_buf_init(218): Not support for HIF_MT yet! [  20.920000] <--mt7628_init Wed Sep 9 01:19:13 CST 2015 netconfig[988]: #### Loopback configuration Wed Sep 9 01:19:13 CST 2015 netconfig[988]: config interface loopback Wed Sep 9 01:19:13 CST 2015 netconfig[988]: option ifname      lo Wed Sep  9 01:19:13 CST 2015 netconfig[988]: option proto       static Wed Sep 9 01:19:13 CST 2015 netconfig[988]: option ipaddr      127.0.0.1 Wed Sep 9 01:19:13 CST 2015 netconfig[988]: option netmask     255.0.0.0 Wed Sep 9 01:19:13 CST 2015 netconfig[988]: #### LAN configuration Wed Sep 9 01:19:13 CST 2015 netconfig[988]: config interface lan Wed Sep 9 01:19:13 CST 2015 netconfig[988]: option ifname      eth0.1 Wed Sep 9 01:19:13 CST 2015 netconfig[988]: option type        bridge Wed Sep 9 01:19:13 CST 2015 netconfig[988]: option proto       static Wed Sep 9 01:19:13 CST 2015 netconfig[988]: option ipaddr      192.168.31.1 Wed Sep 9 01:19:13 CST 2015 netconfig[988]: option netmask     255.255.255.0 Wed Sep 9 01:19:13 CST 2015 netconfig[988]: #### WAN configuration Wed Sep 9 01:19:13 CST 2015 netconfig[988]: config interface wan Wed Sep 9 01:19:13 CST 2015 netconfig[988]: option ifname      eth0.2 Wed Sep 9 01:19:13 CST 2015 netconfig[988]: option proto       dhcp Wed Sep 9 01:19:13 CST 2015 netconfig[988]: ### IFB interface for MiQoS Wed Sep 9 01:19:13 CST 2015 netconfig[988]: config interface ifb Wed Sep 9 01:19:13 CST 2015 netconfig[988]: option ifname ifb0 Wed Sep 9 01:19:13 CST 2015 netconfig[988]: #### READY configuration Wed Sep 9 01:19:13 CST 2015 netconfig[988]: config interface ready Wed Sep 9 01:19:13 CST 2015 netconfig[988]: option proto    static Wed Sep 9 01:19:13 CST 2015 netconfig[988]: option ipaddr   169.254.29.1 Wed Sep 9 01:19:13 CST 2015 netconfig[988]: option netmask  255.255.255.0 [  25.950000] Raeth v3.1 (Tasklet) [  25.960000] [   25.960000] phy_tx_ring = 0x0351d000, tx_ring = 0xa351d000 [  25.970000] [   25.970000] phy_rx_ring0 = 0x03424000, rx_ring0 = 0xa3424000 [  25.990000] config 7628 esw as LLLLW [  26.060000] GMAC1_MAC_ADRH -- : 0x0000f0b4 [  26.070000] GMAC1_MAC_ADRL -- : 0x292285e8 [  26.070000] RT305x_ESW: Link Status Changed [  26.120000] device eth0.1 entered promiscuous mode [  26.120000] device eth0 entered promiscuous mode [  26.150000] br-lan: port 1(eth0.1) entered forwarding state [  26.150000] br-lan: port 1(eth0.1) entered forwarding state [  27.960000] TX_BCN DESC a289e000 size = 320 [  27.970000] RX[0] DESC a28a2000 size = 2048 [  27.970000] RX[1] DESC a28a3000 size = 1024 [  28.020000] E2pAccessMode=2 [  28.020000] cfg_mode=9 [  28.030000] cfg_mode=9 [  28.030000] wmode_band_equal: Band Equal! [  28.090000] load fw image from fw_header_image [  28.090000] AndesMTLoadFwMethod1(2181)::pChipCap->fw_len(63536) [  28.100000] CmdAddressLenReq:(ret = 0) [  28.100000] AndesInitCmdMsg:cmd_type:238,ExtCmdType:0 [  28.110000] AndesInitCmdMsg:cmd_type:238,ExtCmdType:0 [  28.110000] AndesInitCmdMsg:cmd_type:238,ExtCmdType:0 [  28.120000] AndesInitCmdMsg:cmd_type:238,ExtCmdType:0 [  28.120000] AndesInitCmdMsg:cmd_type:238,ExtCmdType:0 [  28.130000] AndesInitCmdMsg:cmd_type:238,ExtCmdType:0 [  28.130000] AndesInitCmdMsg:cmd_type:238,ExtCmdType:0 [  28.140000] AndesInitCmdMsg:cmd_type:238,ExtCmdType:0 [  28.140000] AndesInitCmdMsg:cmd_type:238,ExtCmdType:0 [  28.150000] br-lan: port 1(eth0.1) entered forwarding state [  28.150000] AndesInitCmdMsg:cmd_type:238,ExtCmdType:0 [  28.160000] AndesInitCmdMsg:cmd_type:238,ExtCmdType:0 [  28.170000] AndesInitCmdMsg:cmd_type:238,ExtCmdType:0 [  28.170000] AndesInitCmdMsg:cmd_type:238,ExtCmdType:0 [  28.180000] AndesInitCmdMsg:cmd_type:238,ExtCmdType:0 [  28.180000] AndesInitCmdMsg:cmd_type:238,ExtCmdType:0 [  28.190000] AndesInitCmdMsg:cmd_type:238,ExtCmdType:0 [  28.190000] CmdFwStartReq: override = 1, address = 1048576 [  28.200000] CmdStartDLRsp: WiFI FW Download Success [  28.250000] MtAsicDMASchedulerInit: DMA Scheduler Mode=0(LMAC) [  28.250000] efuse_probe: efuse = 10000012 [  28.260000] RtmpChipOpsEepromHook::e2p_type=2, inf_Type=4 [  28.260000] RtmpEepromGetDefault::e2p_dafault=2 [  28.270000] RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 2 [  28.270000] NVM is FLASH mode [  28.280000] 1. Phy Mode = 14 [  28.440000] Country Region from e2p = ffff [  28.440000] tssi_1_target_pwr_g_band = 34 [  28.450000] 2. Phy Mode = 14 [  28.450000] 3. Phy Mode = 14 [  28.450000] NICInitPwrPinCfg(11): Not support for HIF_MT yet! [  28.460000] NICInitializeAsic(651): Not support rtmp_mac_sys_reset  for HIF_MT yet! [  28.470000] mt_mac_init--> [  28.470000] MtAsicInitMac--> [  28.490000] mt7628_init_mac_cr--> [  28.490000] MtAsicSetMacMaxLen(1279): Set the Max RxPktLen=1024! [  28.500000] <--mt_mac_init [  28.500000]  WTBL Segment 1 info: [  28.500000]          MemBaseAddr/FID:0x28000/0 [  28.510000]          EntrySize/Cnt:32/128 [  28.510000]  WTBL Segment 2 info: [  28.510000]          MemBaseAddr/FID:0x40000/0 [  28.520000]          EntrySize/Cnt:64/128 [  28.520000]  WTBL Segment 3 info: [  28.530000]          MemBaseAddr/FID:0x42000/64 [  28.530000]          EntrySize/Cnt:64/128 [  28.530000]  WTBL Segment 4 info: [  28.540000]          MemBaseAddr/FID:0x44000/128 [  28.540000]          EntrySize/Cnt:32/128 [  28.540000] AntCfgInit(2903): Not support for HIF_MT yet! [  28.550000] MCS Set = ff ff 00 00 01 [  28.550000] MtAsicSetChBusyStat(846): Not support for HIF_MT yet! [  29.010000] CmdSlotTimeSet start [  29.010000] CmdSlotTimeSet end [  29.020000] CmdSlotTimeSet start [  29.050000] CmdSlotTimeSet end [  35.560000] MtAsicSetRalinkBurstMode(2971): Not support for HIF_MT yet! [  35.560000] MtAsicSetPiggyBack(783): Not support for HIF_MT yet! [  35.590000] MtAsicSetTxPreamble(2950): Not support for HIF_MT yet! [  35.600000] MtAsicSetPreTbtt: bss_idx=0, PreTBTT timeout = 0xf0 [  35.600000] Main bssid = f0:b4:29:22:85:e9 [  35.610000] <==== rt28xx_init, Status=0 [  35.610000] set_obtw_delta_proc: found cck1m_, DeltaVal = 6 [  35.620000] set_obtw_delta_proc: found cck5m_, DeltaVal = 6 [  35.620000] set_obtw_delta_proc: found ofdm6m_, DeltaVal = 6 [  35.630000] set_obtw_delta_proc: found ofdm12m_, DeltaVal = 6 [  35.640000] set_obtw_delta_proc: found ht20mcs0_, DeltaVal = 6 [  35.640000] set_obtw_delta_proc: found ht20mcs1_, DeltaVal = 6 [  35.650000] set_obtw_delta_proc: found ht40mcs0_, DeltaVal = 6 [  35.650000] set_obtw_delta_proc: found ht40mcs32_, DeltaVal = 6 [  35.660000] set_obtw_delta_proc: found ht40mcs1_, DeltaVal = 6 [  35.670000] AndesInitCmdMsg:cmd_type:237,ExtCmdType:47 [  35.670000] set_obtw_delta_proc: anyEnable=1 [  37.550000] device wl1 entered promiscuous mode [  37.550000] br-lan: port 2(wl1) entered forwarding state [  37.560000] br-lan: port 2(wl1) entered forwarding state [  37.650000] ##### mbss_cr_enable, BssId = 1 [  39.560000] br-lan: port 2(wl1) entered forwarding state Wed Sep 9 01:19:32 CST 2015 boot_check[2520]: INFO: Wireless OK [   49.600000] tcpproxy_init, succeed! [  49.620000] http_identify: module license 'Proprietary' taints kernel. [  49.620000] Disabling lock debugging due to kernel taint [  66.050000] xqfp: init success! [  66.060000] xqfp: init success! [  66.060000] xqfp: module init success! rcS S calling: /etc/rc.d/S99stat_points boot: logexec: exitcode 1, runt 65 /etc/rc.d/S99stat_points boot rcS S calling: /etc/rc.d/S99stat_points boot: tail: can't open '/tmp/stat_points_rom.log': No such file or directory rcS S calling: /etc/rc.d/S99stat_points boot: tail: can't open '/tmp/stat_points_web.log': No such file or directory rcS S boot: INFO: rcS S boot timing 53 seconds. Wed Sep 9 01:20:00 CST 2015 INFO: rcS S boot timing 53 seconds. rcS S boot: system type(R1CL/2): SQUASH/3 Wed Sep 9 01:20:00 CST 2015 system type(R1CL/2): SQUASH/3 rcS S boot: ROOTFS: /dev/root on / type squashfs (ro,relatime) Wed Sep 9 01:20:00 CST 2015 ROOTFS: /dev/root on / type squashfs (ro,relatime) [  71.870000] led=37, on=1, off=4000, blinks,=1, reset=1, time=4000 [  72.320000] led=44, on=1, off=4000, blinks,=1, reset=1, time=4000 [  72.380000] led=11, on=4000, off=1, blinks,=1, reset=1, time=4000 mknod: /dev/gpio: File exists Wed Sep 9 01:20:22 CST 2015 boot_check[4392]: Booting up finished. }}