===================================================================
MT7621 stage1 code 10:33:11 (ASIC)
CPU = 50,000,000 HZ BUS = 12,500,000 HZ
==================================================================
Change MPLL source from XTAL to CR ...
do MEMPLL setting ..
MEMPLL Config: 0x11100000
3PLL mode + External loopback
=== XTAL-40Mhz === DDR-1200Mhz ===
PLL2 FB_DL: 0x12, 1/0 = 759/265 49 million
PLL3 FB_DL: 0x12, 1/0 = 775/249 49 million
PLL4 FB_DL: 0x16, 1/0 = 548/476 59 million
do DDR setting .. [00320381]
Apply DDR3 Setting ... (use customer AC)
0 8 16 24 32 40 48 56 64 72 80 88 96 104 112 120
--------------------------------------------------------------------------------
0000:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0001:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0002:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0003:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0004:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0005:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0006:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0007:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0008:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0009:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
000A: | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
000B: | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
000C: | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
000D: | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
000E: | 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
000F: | 0 0 0 0 1 1 1 1 1 1 1 1 1 1 0 0
0010:| 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0
0011:| 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0
0012:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0013:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0014:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0015:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0016:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0017:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0018:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0019:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
001A: | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
001B: | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
001C: | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
001D: | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
001E: | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
001F: | 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
rank 0 coarse = 15
rank 0 fine = 72
B: | 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0
opt_dle value: 11
DRAMC_R0DELDLY [018] = 0000201F
==================================================================
RX DQS perbit delay software calibration
==================================================================
1.0-15 bit dq delay value
==================================================================
bit | 0 1 2 3 4 5 6 7 8 9
--------------------------------------
0 | 11 7 9 9 7 8 9 7 5 7
10 | 7 9 10 12 9 10
--------------------------------------
==================================================================
2.dqs window
x = pass dqs delay value (min ~ max) center
y = 0-7bit DQ of every group
input delay: DQS0 = 31 DQS1 = 32
==================================================================
bit DQS0 bit DQS1
0 (2~61)31 8 (1~58)29
1 (2~59)30 9 (1~60)30
2 (1~60)30 10 (1~60)30
3 (1~60)30 11 (1~59)30
4 (1~60)30 12 (1~64)32
5 (1~61)31 13 (1~61)31
6 (1~60)30 14 (2~63)32
7 (1~62)31 15 (1~61)31
==================================================================
3.dq delay value last
==================================================================
bit | 0 1 2 3 4 5 6 7 8 9
--------------------------------------
0 | 11 8 10 10 8 8 10 7 8 9
10 | 9 11 10 13 9 11
==================================================================
==================================================================
TX perbyte calibration
==================================================================
DQS loop = 15, cmp_err_1 = ffff0000
dqs_perbyte_dly.last_dqsdly_pass [0] = 15, finish count = 1
dqs_perbyte_dly.last_dqsdly_pass [1] = 15, finish count = 2
DQ loop = 15, cmp_err_1 = ffff0080
dqs_perbyte_dly.last_dqdly_pass [1] = 15, finish count = 1
DQ loop = 14, cmp_err_1 = ffff0000
dqs_perbyte_dly.last_dqdly_pass [0] = 14, finish count = 2
byte: 0, (DQS, DQ) = (8.8)
byte: 1, (DQS, DQ) = (8.8)
20, data: 88
[EMI] DRAMC calibration passed
===================================================================
MT7621 stage1 code done
CPU = 50,000,000 HZ BUS = 12,500,000 HZ
===================================================================
U-Boot 1.1.3 (Apr 17 2017 - 17:00:02)
Board: Ralink APSoC DRAM: 256 MB
Power on memory test. Memory size = 256 MB ... OK!
relocate_code Pointer at: 8ffac000
Config XHCI 40M PLL
Allocate 16 byte aligned buffer: 8ffdffd0
Enable NFI Clock
# MTK NAND #: Use HW ECC
NAND ID [C8 D1 80 95 42]
Device not found, ID: c8d1
Not Support this Device!
chip_mode = 00000001
Support this Device in MTK table! c8d1
select_chip
[NAND] select ecc bit: 4, sparesize: 64 spare_per_sector = 16
Signature matched and data read!
load_fact_bbt success 1023
load fact bbt success
[mtk_nand] probe successfully!
mtd->writesize = 2048 mtd->oobsize = 64, mtd->erasesize = 131072 devinfo.iowidth = 8
..============================================
Ralink UBoot Version: 5.0.0.0
--------------------------------------------
ASIC MT7621A DualCore (MAC to MT7530 Mode)
DRAM_CONF_FROM: Auto-Detection
DRAM_TYPE: DDR3
DRAM bus: 16 bit
Xtal Mode = 5 OCP Ratio = 1/4
Flash component: NAND Flash
Date: Apr 17 2017 Time: 17: 00: 02
============================================
icache: sets: 256, ways: 4, linesz: 32, total: 32768
dcache: sets: 256, ways: 4, linesz: 32, total: 32768
##### The CPU freq = 880 MHZ ####
estimate memory size = 256 Mbytes
# Reset_MT7530
set LAN / WAN LWLLL
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.
7: Load Boot Loader code then write to Flash via Serial.
9: Load Boot Loader code then write to Flash via TFTP. 0
Booting System 1
..Erasing NAND Flash ...
ranand_erase: start: 80000, len: 20000
.Writing to NAND Flash ...
done
3: System Boot system code via Flash.
## Booting image at bc200000 ...
Image Name: MIPS OpenWrt Linux-3.10.14
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 3433332 Bytes = 3.3 MB
Load Address: 80001000
Entry Point: 80468ce0
.................................................. ... Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
commandline uart_en = 1 factory_mode = 0 usb_u3 = 0
No initrd
## Transferring control to Linux (at address 80468ce0) ...
## Giving linux memsize in MB, 256
Starting kernel ...
LINUX started ...
THIS IS ASIC
SDK 5.0.S.0
[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 SMP Mon Apr 17 17:08:55 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: 10,000,000 @ 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] 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] 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 = 1 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 = 00000410
[0.000000] Readback ErrCtl register = 00000410
[0.000000] allocated 524288 bytes of page_cgroup
[0.000000] please try 'cgroup_disable = memory' option if you do not want memory cgroups
[0.000000] Memory: 251564k / 262144k available (4561k kernel code, 10580k reserved, 1208k data, 1584k 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 = 2,816,000)
[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 CPUs 4
[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.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.890000] pci 0000: 00: 00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[1.900000] pci 0000: 00: 01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[1.900000] pci 0000: 00: 00.0: BAR 0: can not assign mem (size 0x80000000)
[1.910000] pci 0000: 00: 01.0: BAR 0: can not 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.920000] pci 0000: 00: 01.0: BAR 9: assigned [mem 0x60200000-0x602fffff pref]
[1.930000] pci 0000: 00: 00.0: BAR 1: assigned [mem 0x60300000-0x6030ffff]
[1.930000] pci 0000: 00: 01.0: BAR 1: assigned [mem 0x60310000-0x6031ffff]
[1.940000] pci 0000: 01: 00.0: BAR 0: assigned [mem 0x60000000-0x600fffff]
[1.940000] pci 0000: 00: 00.0: PCI bridge to [bus 01]
[1.950000] pci 0000: 00: 00.0: bridge window [mem 0x60000000-0x600fffff]
[1.950000] pci 0000: 02: 00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit]
[1.960000] pci 0000: 02: 00.0: BAR 6: assigned [mem 0x60200000-0x6020ffff pref]
[1.960000] pci 0000: 00: 01.0: PCI bridge to [bus 02]
[1.970000] pci 0000: 00: 01.0: bridge window [mem 0x60100000-0x601fffff]
[1.970000] pci 0000: 00: 01.0: bridge window [mem 0x60200000-0x602fffff pref]
[1.980000] PCI: Enabling device 0000: 00: 00.0 (0004 -> 0006)
[1.980000] PCI: Enabling device 0000: 00: 01.0 (0004 -> 0006)
[1.990000] BAR0 at slot 0 = 0
[1.990000] bus = 0x0, slot = 0x0
[1.990000] res [0] ->start = 0
[1.990000] res [0] ->end = 0
[2.000000] res [1] ->start = 60300000
[2.000000] res [1] ->end = 6030ffff
[2.000000] res [2] ->start = 0
[2.000000] res [2] ->end = 0
[2.010000] res [3] ->start = 0
[2.010000] res [3] ->end = 0
[2.010000] res [4] ->start = 0
[2.010000] res [4] ->end = 0
[2.020000] res [5] ->start = 0
[2.020000] res [5] ->end = 0
[2.020000] BAR0 at slot 1 = 0
[2.020000] bus = 0x0, slot = 0x1
[2.030000] res [0] ->start = 0
[2.030000] res [0] ->end = 0
[2.030000] res [1] ->start = 60310000
[2.030000] res [1] ->end = 6031ffff
[2.040000] res [2] ->start = 0
[2.040000] res [2] ->end = 0
[2.040000] res [3] ->start = 0
[2.040000] res [3] ->end = 0
[2.050000] res [4] ->start = 0
[2.050000] res [4] ->end = 0
[2.050000] res [5] ->start = 0
[2.050000] res [5] ->end = 0
[2.060000] bus = 0x1, slot = 0x0, irq = 0x4
[2.060000] res [0] ->start = 60000000
[2.060000] res [0] ->end = 600fffff
[2.070000] res [1] ->start = 0
[2.070000] res [1] ->end = 0
[2.070000] res [2] ->start = 0
[2.070000] res [2] ->end = 0
[2.080000] res [3] ->start = 0
[2.080000] res [3] ->end = 0
[2.080000] res [4] ->start = 0
[2.080000] res [4] ->end = 0
[2.090000] res [5] ->start = 0
[2.090000] res [5] ->end = 0
[2.090000] bus = 0x2, slot = 0x1, irq = 0x18
[2.090000] res [0] ->start = 60100000
[2.100000] res [0] ->end = 601fffff
[2.100000] res [1] ->start = 0
[2.100000] res [1] ->end = 0
[2.100000] res [2] ->start = 0
[2.110000] res [2] ->end = 0
[2.110000] res [3] ->start = 0
[2.110000] res [3] ->end = 0
[2.110000] res [4] ->start = 0
[2.120000] res [4] ->end = 0
[2.120000] res [5] ->start = 0
[2.120000] res [5] ->end = 0
[2.130000] Switching to clocksource MIPS
[2.130000] cfg80211: Calling CRDA to update world regulatory domain
[2.130000] NET: Registered protocol family 2
[2.130000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[2.130000] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[2.130000] TCP: Hash tables configured (established in 2048 bind 2048)
[2.130000] TCP: reno registered
[2.130000] UDP hash table entries: 256 (order: 1, 8192 bytes)
[2.130000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[2.130000] NET: Registered protocol family 1
[3.170000] 4 CPUs re-calibrate udelay (lpj = 2,924,544)
[3.200000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[3.200000] msgmni has been set to 491
[3.210000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[3.210000] io scheduler noop registered (default)
[3.220000] MIWIFI panic notifier registeredreg_int_mask = 0, INT_MASK = 0
[3.230000] HSDMA_init
[ 3.230000]
[3.230000] hsdma_phy_tx_ring0 = 0x1bc00000, hsdma_tx_ring0 = 0xbbc00000
[ 3.240000]
[3.240000] hsdma_phy_rx_ring0 = 0x1bc04000, hsdma_rx_ring0 = 0xbbc04000
[3.250000] TX_CTX_IDX0 = 0
[3.250000] TX_DTX_IDX0 = 0
[3.250000] RX_CRX_IDX0 = 3ff
[3.250000] RX_DRX_IDX0 = 0
[3.260000] set_fe_HSDMA_glo_cfg
[3.260000] HSDMA_GLO_CFG = 465
[3.260000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[3.270000] serial8250: ttyS0 at MMIO 0x1e000d00 (irq = 27) is a 16550A
[3.280000] serial8250: ttyS1 at MMIO 0x1e000c00 (irq = 26) is a 16550A
[3.280000] led = 10, on = 4.000, off = 1, blinks, = 1, reset = 1, time = 4.000
[3.290000] Ralink gpio driver initialized
[3.300000] brd: module loaded
[3.300000] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
[3.310000] Allocate 16 byte aligned buffer: 80760360
[3.310000] Enable NFI Clock
[3.320000] # MTK NAND #: Use HW ECC
[3.320000] NAND ID [C8 D1 80 95 42 00809542]
[3.320000] Device found in MTK table, ID: c8d1, EXT_ID: 809542
[3.330000] Support this Device in MTK table! c8d1
[3.330000] NAND device: Manufacturer ID: 0xc8, Chip ID: 0xd1 (ESMT NAND 128MiB 3,3V 8-bit), 128MiB, page size: 2048, OOB size: 64
[3.350000] [NAND] select ecc bit: 4, sparesize: 64 spare_per_sector = 16
[3.350000] Scanning device for bad blocks
[3.500000] Signature matched and data read!
[3.500000] load_fact_bbt success 1023
[ 3.510000] 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.520000] 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.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] Creating 13 MTD partitions on "MT7621-NAND":
[3.590000] 0x000000000000-0x000007f80000: "ALL"
[3.600000] 0x000000000000-0x000000080000: "Bootloader"
[3.610000] 0x000000080000-0x0000000c0000: "Config"
[3.610000] 0x0000000c0000-0x000000100000: "Bdata"
[3.620000] 0x000000100000-0x000000140000: "Factory"
[3.620000] 0x000000140000-0x000000180000: "crash"
[3.630000] 0x000000180000-0x0000001c0000: "crash_syslog"
[3.640000] 0x0000001c0000-0x000000200000: "reserved0"
[3.640000] 0x000000200000-0x000000600000: "kernel0"
[3.650000] 0x000000600000-0x000000a00000: "kernel1"
[3.660000] 0x000000a00000-0x000002a00000: "rootfs0"
[3.660000] 0x000002a00000-0x000004a00000: "rootfs1"
[3.670000] 0x000004a00000-0x000007f80000: "overlay"
[3.680000] [mtk_nand] probe successfully!
[3.680000] PPP generic driver version 2.4.2
[3.690000] PPP BSD Compression module registered
[3.690000] PPP Deflate Compression module registered
[3.700000] PPP MPPE Compression module registered
[3.700000] NET: Registered protocol family 24
[3.700000] PPTP driver version 0.8.5
[3.710000] ps: can not get major 253
[3.710000] GMAC1_MAC_ADRH -: 0x000034ce
[3.720000] GMAC1_MAC_ADRL -: 0x0065bd4f
[3.720000] Ralink APSoC Ethernet Driver Initilization. v3.1 1024 rx / tx descriptors allocated, mtu = 1500!
[3.730000] GMAC1_MAC_ADRH -: 0x000034ce
[3.730000] GMAC1_MAC_ADRL -: 0x0065bd4f
[3.740000] PROC INIT OK!
[3.740000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[3.750000] ehci-pci: EHCI PCI platform driver
[3.750000] ehci-platform: EHCI generic platform driver
[3.760000] ***** run project phy.
[3.780000] FM_OUT value: u4FmOut = 0 (0x00000000)
[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)
[4.020000] 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.350000] xhci-hcd xhci-hcd: xHCI Host Controller
[4.350000] xhci-hcd xhci-hcd: new USB bus registered, assigned bus number 1
[4.360000] xhci-hcd xhci-hcd: irq 22, io mem 0x1e1c0000
[4.370000] hub 1-0: 1.0: USB hub found
[4.370000] hub 1-0: 1.0: 2 ports detected
[4.370000] xhci-hcd xhci-hcd: xHCI Host Controller
[4.380000] xhci-hcd xhci-hcd: new USB bus registered, assigned bus number 2
[4.390000] hub 2-0: 1.0: USB hub found
[4.390000] hub 2-0: 1.0: 1 port detected
[4.390000] usbcore: registered new interface driver usb-storage
[4.400000] softdog: Software Watchdog Timer: 0.08 initialized. soft_noboot = 0 soft_margin = 60 sec soft_panic = 0 (nowayout = 0)
[4.410000] Netfilter messages via NETLINK v0.30.
[4.420000] nfnl_acct: registering with nfnetlink.
[4.420000] nf_conntrack version 0.5.0 (3930 buckets, 15720 max)
[4.430000] ipip: IPv4 over IPv4 tunneling driver
[4.430000] gre: GRE over IPv4 demultiplexor driver
[4.440000] ip_tables: (C) 2000-2006 Netfilter Core Team
[4.450000] Type = Restricted Cone
[4.450000] TCP: cubic registered
[4.450000] NET: Registered protocol family 10
[4.460000] NET: Registered protocol family 17
[4.460000] l2tp_core: L2TP core driver, V2.0
[4.470000] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[4.470000] l2tp_netlink: L2TP netlink interface
[4.480000] 8021q: 802.1Q VLAN Support v1.8
[4.480000] MIQEF register done
[4.490000] Freeing unused kernel memory: 1584K (805a4000 - 80730000)
[4.500000] csd: CSD deadlock debugging initiated!
[4.560000] Loading essential drivers ...
[4.570000] Press Ctrl + C to enter RAMFS ...
[4.830000] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[4.850000] usb 1-1: ep 0x81 - rounding interval to 128 microframes, ep desc says 255 microframes
[4.860000] add_ep parameters, dev_speed 3, is_in 1, isTT 0, ep_type 2, maxp 512, interval 128, burst 0, mult 0, ep 0x8fe76d80, ep_ctx 0xbbc0d080, sch_ep 0x8f01e680
[4.870000] usb 1-1: ep 0x2 - rounding interval to 128 microframes, ep desc says 255 microframes
[4.880000] add_ep parameters, dev_speed 3, is_in 0, isTT 0, ep_type 2, maxp 512, interval 128, burst 0, mult 0, ep 0x8fe76dac, ep_ctx 0xbbc0d0a0, sch_ep 0x8f01e900
[4.900000] usb-storage 1-1: 1.0: USB Mass Storage device detected
[4.900000] scsi0: usb-storage 1-1: 1.0
[5.580000] Check for USB recovery ...
[5.590000] Found usb storage, wait for ready
[6.270000] scsi 0: 0: 0: 0: Direct-Access JetFlash Transcend 4GB 1100 PQ: 0 ANSI: 0 CCS
[6.280000] sd 0: 0: 0: 0: [sda] 7913472 512-byte logical blocks: (4.05 GB / 3.77 GiB)
[6.290000] sd 0: 0: 0: 0: [sda] Write Protect is off
[6.300000] sd 0: 0: 0: 0: [sda] No Caching mode page found
[6.300000] sd 0: 0: 0: 0: [sda] Assuming drive cache: write through
[6.310000] sd 0: 0: 0: 0: [sda] No Caching mode page found
[6.320000] sd 0: 0: 0: 0: [sda] Assuming drive cache: write through
[6.320000] sda: sda1
[6.330000] sd 0: 0: 0: 0: [sda] No Caching mode page found
[6.330000] sd 0: 0: 0: 0: [sda] Assuming drive cache: write through
[6.340000] sd 0: 0: 0: 0: [sda] Attached SCSI removable disk
[6.640000] Bringup the system ...
[6.660000] flag_boot_rootfs = 0 mounting / dev / mtd10
[6.670000] UBI: attaching mtd10 to ubi0
[6.970000] UBI: scanning is finished
[6.990000] UBI: attached mtd10 (name "rootfs0", size 32 MiB) to ubi0
[6.990000] UBI: PEB size: 131,072 bytes (128 KiB), LEB size: 126,976 bytes
[7.000000] UBI: min./max. I / O unit sizes: 2048/2048, sub-page size 2048
[7.010000] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
[7.010000] UBI: good PEBs: 256, bad PEBs: 0, corrupted PEBs: 0
[7.020000] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
[7.030000] UBI: max / mean erase counter: 0/0, WL threshold: 4096, image sequence number: 1090841743
[7.030000] UBI: available PEBs: 72, total reserved PEBs: 184, PEBs reserved for bad PEB handling: 20
[7.040000] UBI: background thread "ubi_bgt0d" started, PID 437
UBI device number 0, total 256 LEBs (32,505,856 bytes, 31.0 MiB), available 72 LEBs (9,142,272 bytes, 8.7 MiB), LEB size 126,976 bytes (124.0 KiB)
config core 'version'
# ROM ver
option ROM '2.24.10'
# channel
option CHANNEL 'release'
# Hardware platform R1AC or R1N etc.
option HARDWARE 'R3G'
# 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 'Mon, 17 Apr 2017 16:59:11 +0800'
#build timestamp
option BUILDTS '1492419551'
#build git tag
option GTAG 'commit 676ed420cef02a2403828351ed482d9ca46e68f9'
mount: mounting proc on / proc failed: Device or resource busy
mount: mounting sysfs on / sys failed: Device or resource busy
[8.260000] 34: FFFFFFCE: 0: 65: FFFFFFBD: 4F
[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 0x8feaa6dc.
[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.330000]
[8.330000] 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 -: 0x000034ce
[8.380000] GMAC1_MAC_ADRL -: 0x0065bd4f
[8.380000] GDMA2_MAC_ADRH -: 0x000034ce
[8.390000] GDMA2_MAC_ADRL -: 0x0065bd50
[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
- preinit -
Mon Apr 17 17:08:55 UTC 2017
- regular preinit -
[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.190000] UBI: PEB size: 131,072 bytes (128 KiB), LEB size: 126,976 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: 1840354541
[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 651
UBI device number 1, total 428 LEBs (54,345,728 bytes, 51.8 MiB), available 0 LEBs (0 bytes), LEB [9.260000] UBIFS: background thread "ubifs_bgt1_0" started, PID 655
size 126,976 bytes (124.0 KiB)
[9.330000] UBIFS: recovery needed
[9.550000] UBIFS: recovery completed
[9.550000] UBIFS: mounted UBI device 1, volume 0, name "data"
[9.560000] UBIFS: LEB size: 126,976 bytes (124 KiB), min./max. I / O unit sizes: 2048 bytes / 2048 bytes
[9.570000] UBIFS: FS size: 50028544 bytes (47 MiB, 394 LEBs), journal size 2,539,520 bytes (2 MiB, 20 LEBs)
[9.580000] UBIFS: reserved for root: 2362971 bytes (2307 KiB)
[9.580000] UBIFS: media format: w4 / r0 (latest is w4 / r0), UUID 868EE782-07B5-4544-AC5B-78793103AEA2, small LPT model
/lib/preinit.sh: line 1: jffs2_not_mounted: not found
- init -
[10.600000] ra2880stop () ... Done
[10.610000] eth1: ===>VirtualIF_close
[10.610000] Free TX / RX Ring Memory!
init started: BusyBox v1.19.4 (2017-04-17 16:55:05 CST)
Please press Enter to activate this console. rcS S boot: INFO: rc script run time limit to 65 seconds.
[10.810000] MIWIFI crash syslog initialized
[11.850000] NTFS driver 2.1.30 [Flags: R / O MODULE].
[12.030000] tntfs: module license 'Commercial. For support email
[email protected]. ' taints kernel.
[12.040000] Disabling lock debugging due to kernel taint
[12.060000] Tuxera NTFS driver 3015.1.29 [Flags: R / W MODULE].
[12.170000] Tuxera exFAT driver version 3015.8.24 [Flags: R / W MODULE].
[12.180000] Built against headers 3.10.14 # 1 SMP Mon Jan 9 17:59:15 CST 2017 mips
[12.190000] Running on kernel 3.10.14 # 1 SMP Mon Apr 17 17:08:55 CST 2017 mips
[12.280000] Tuxera FAT 12/16/32 driver version 3015.1.29 [Flags: R / W MODULE].
[12.290000] Built against headers 3.10.14 # 1 SMP Mon Jan 9 17:59:15 CST 2017 mips
[12.300000] Running on kernel 3.10.14 # 1 SMP Mon Apr 17 17:08:55 CST 2017 mips
[12.300000] 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!
[12.370000] tun: Universal TUN / TAP device driver, 1.6
[12.370000] tun: (C) 1999-2004 Max Krasnyansky<
[email protected]>
[12.430000] Mirror / redirect action on
[12.460000] u32 classifier
[12.460000] input device check on
[12.470000] Actions configured
[12.590000] ip_gre: GRE over IPv4 tunneling driver
[12.630000] xt_time: kernel timezone is +0800
[12.720000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[13.000000] ip_set: protocol 6
[13.100000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[13.150000] sd 0: 0: 0: 0: Attached scsi generic sg0 type 0
[13.170000] Traffic lan port is eth0
[13.230000] dev_redirect load success.
[ 13.760000] <- RTMPAllocTxRxRingMemory, Status = 0, ErrorValue = 0x
[ 13.760000] <- RTMPAllocAdapterBlock, Status = 0
[ 14.290000] <- RTMPAllocTxRxRingMemory, Status = 0
[ 14.300000] <- RTMPAllocAdapterBlock, Status = 0
[14.300000] pAd->CSRBaseAddress = 0xc1180000, csr_addr = 0xc1180000!
[ 14.310000] <dbg>MAC_CSR0 = 1986146304, RtmpChipOpsHook
[ 14.320000] <dbg>dev idx = 1!
[ 14.320000] <dbg>get_dev_config_idx pAd->MACVersion = 76623000, pAd->ChipID = 76120044
rcS S calling: /etc/rc.d/S11sysctl boot: logexec: exitcode 1, runt 65 /etc/rc.d/S11sysctl boot
Tue Apr 18 01:09:01 CST 2017 netconfig [892]: INFO: loading exist / etc / config / network.
Tue Apr 18 01:09:01 CST 2017 netconfig [892]: #### Loopback configuration
Tue Apr 18 01:09:01 CST 2017 netconfig [892]: config interface loopback
Tue Apr 18 01:09:01 CST 2017 netconfig [892]: option ifname lo
Tue Apr 18 01:09:01 CST 2017 netconfig [892]: option proto static
Tue Apr 18 01:09:01 CST 2017 netconfig [892]: option ipaddr 127.0.0.1
Tue Apr 18 01:09:01 CST 2017 netconfig [892]: option netmask 255.0.0.0
Tue Apr 18 01:09:01 CST 2017 netconfig [892]: #### LAN configuration
Tue Apr 18 01:09:01 CST 2017 netconfig [892]: config interface lan
Tue Apr 18 01:09:01 CST 2017 netconfig [892]: option ifname eth0
Tue Apr 18 01:09:01 CST 2017 netconfig [892]: option type bridge
Tue Apr 18 01:09:01 CST 2017 netconfig [892]: option proto static
Tue Apr 18 01:09:01 CST 2017 netconfig [892]: option ipaddr 192.168.31.1
Tue Apr 18 01:09:01 CST 2017 netconfig [892]: option netmask 255.255.255.0
Tue Apr 18 01:09:01 CST 2017 netconfig [892]: #### WAN configuration
Tue Apr 18 01:09:01 CST 2017 netconfig [892]: config interface wan
Tue Apr 18 01:09:01 CST 2017 netconfig [892]: option ifname eth1
Tue Apr 18 01:09:01 CST 2017 netconfig [892]: option proto dhcp
Tue Apr 18 01:09:01 CST 2017 netconfig [892]: #### IFB interface for MiQoS
Tue Apr 18 01:09:01 CST 2017 netconfig [892]: config interface ifb
Tue Apr 18 01:09:01 CST 2017 netconfig [892]: option ifname ifb0
Tue Apr 18 01:09:01 CST 2017 netconfig [892]: #### READY configuration
Tue Apr 18 01:09:01 CST 2017 netconfig [892]: config interface ready
Tue Apr 18 01:09:01 CST 2017 netconfig [892]: option proto static
Tue Apr 18 01:09:01 CST 2017 netconfig [892]: option ipaddr 169.254.29.1
Tue Apr 18 01:09:01 CST 2017 netconfig [892]: option netmask 255.255.255.0
[16.480000] 34: FFFFFFCE: 0: 65: FFFFFFBD: 4F
[16.480000] Raeth v3.1 (Tasklet)
[16.490000] set CLK_CFG_0 = 0x40a00020 !!!!!!!!!!!!!!!!!! 1
[16.500000] phy_free_head is 0x1bc58000 !!!
[16.500000] phy_free_tail_phy is 0x1bc59ff0 !!!
[16.510000] txd_pool = bbc60000 phy_txd_pool = 1BC60000
[16.510000] ei_local->skb_free start address is 0x8feaa6dc.
[16.520000] free_txd: 1bc60010, ei_local->cpu_ptr: 1BC60000
[16.520000] POOL HEAD_PTR | DMA_PTR | CPU_PTR
[ 16.530000] ----------------+---------+--------
[16.530000] 0xbbc60000 0x1BC60000 0x1BC60000
[ 16.540000]
[16.540000] phy_qrx_ring = 0x1bc1a000, qrx_ring = 0xbbc1a000
[ 16.540000]
[16.540000] phy_rx_ring0 = 0x1bc5c000, rx_ring0 = 0xbbc5c000
[16.580000] MT7530 Reset Completed !!
[16.590000] change HW-TRAP to 0x17c8f
[16.590000] set LAN / WAN LWLLL
[16.600000] GMAC1_MAC_ADRH -: 0x000034ce
[16.610000] GMAC1_MAC_ADRL -: 0x0065bd4f
[16.610000] eth1: ===>VirtualIF_open
[16.610000] MT7621 GE2 link rate to 1G
[16.610000] CDMA_CSG_CFG = 81000000
[16.610000] GDMA1_FWD_CFG = 20710000
[16.610000] GDMA2_FWD_CFG = 20710000
[16.620000] device eth0 entered promiscuous mode
[16.620000] br-lan: port 1 (eth0) entered forwarding state
[16.620000] br-lan: port 1 (eth0) entered forwarding state
[16.650000] eth1: ===>VirtualIF_open
[17.150000] efuse_probe: efuse = 10000002
[17.330000] tssi_1_target_pwr_g_band = 39
[18.620000] br-lan: port 1 (eth0) entered forwarding state
[ 20.060000] <==== rt28xx_init, Status = 0
[20.730000] device wl1 entered promiscuous mode
[20.730000] br-lan: port 2 (wl1) entered forwarding state
[20.740000] br-lan: port 2 (wl1) entered forwarding state
[20.770000] ##### mbss_cr_enable, BssId = 1
[ 21.670000] <dbg>MAC_CSR0 = 1986146304, rtmp_asic_top_init
[21.720000] Set defult RDRegion value: CountryCode = CN, RDRegion = 0
[22.740000] br-lan: port 2 (wl1) entered forwarding state
[ 24.140000] <==== rt28xx_init, Status = 0
[24.840000] device wl0 entered promiscuous mode
[24.840000] br-lan: port 3 (wl0) entered forwarding state
[24.850000] br-lan: port 3 (wl0) entered forwarding state
[26.710000] dev_redirect: add (+) dev redirect mapping: src: eth1->dst: ifb0
[26.850000] br-lan: port 3 (wl0) entered forwarding state
[30.030000] dev_redirect: add (+) dev redirect mapping: src: eth1->dst: ifb0
[30.160000] Ralink HW NAT Module Enabled
[30.170000] eth0 ifindex = 3
[30.180000] eth1 ifindex = 5
Tue Apr 18 01:09:17 CST 2017 boot_check [3447]: INFO: Wireless OK
[32.710000] dev_redirect: add (+) dev redirect mapping: src: eth1->dst: ifb0
[41.280000] tcpproxy_init, succeed!
[42.030000] tfat: fail_safe is enabled
[42.040000] tfat: cluster_heap_lbo 0x800000
[42.040000] tfat: 12 blkbits for normal inodes
[42.050000] tfat: fat start lbo 0x78000
[42.050000] tfat: 12 blkbits for main FAT32 inode
[42.050000] tfat: cluster size 4096
[42.420000] tfat info: FAT32 volume version 0.0.
[45.610000] Samba Netfilter Hook Enabled
[54.890000] nf_conntrack: automatic helper assignment is deprecated and it will be removed soon. Use the iptables CT target to attach helpers instead.
rcS S boot: INFO: rcS S boot timing 44 seconds.
Tue Apr 18 01:09:42 CST 2017 INFO: rcS S boot timing 44 seconds.
rcS S boot: system type (R3G / 2): SQUASH / 3
Tue Apr 18 01:09:42 CST 2017 system type (R3G / 2): SQUASH / 3
rcS S boot: ROOTFS: / dev / mtdblock13 on / type squashfs (ro, relatime)
Tue Apr 18 01:09:42 CST 2017 ROOTFS: / dev / mtdblock13 on / type squashfs (ro, relatime)
[56.520000] led = 6, on = 1, off = 4000, blinks, = 1, reset = 1, time = 4.000
[56.530000] led = 10, on = 1, off = 4000, blinks, = 1, reset = 1, time = 4.000
[56.540000] led = 8, on = 4.000, off = 1, blinks, = 1, reset = 1, time = 4.000
mknod: / dev / gpio: File exists
Tue Apr 18 01:09:43 CST 2017 boot_check [7243]: Booting up finished.
[58.190000] dev_redirect: add (+) dev redirect mapping: src: eth1->dst: ifb0
BusyBox v1.19.4 (2017-04-17 16:55:05 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
-----------------------------------------------------
Welcome to XiaoQiang!
-----------------------------------------------------
$$$$$$\ $$$$$$$\ $$$$$$$$\ $$\ $$\ $$$$$$\ $$\ $$\
$$ __$$\ $$ __$$\ $$ _____| $$ | $$ | $$ __$$\ $$ | $$ |
$$ / $$ |$$ | $$ |$$ | $$ | $$ | $$ / $$ |$$ |$$ /
$$$$$$$$ |$$$$$$$ |$$$$$\ $$ | $$ | $$ | $$ |$$$$$ /
$$ __$$ |$$ __$$< $$ __| $$ | $$ | $$ | $$ |$$ $$<
$$ | $$ |$$ | $$ |$$ | $$ | $$ | $$ | $$ |$$ |\$$\
$$ | $$ |$$ | $$ |$$$$$$$$\ $$$$$$$$$ | $$$$$$ |$$ | \$$\
\__| \__|\__| \__|\________| \_________/ \______/ \__| \__|