D-Link DIR-1260

From WikiDevi.Wi-Cat.RU
Jump to navigation Jump to search

D-Link DIR-1260 A1/R1
Availability: now

FCC approval date: 21 September 2020
EAN: 790069456169 (UPC DB, On eBay)
Country of manuf.: China
Series: AC1200

Amazon image

ASIN
B08VX1LYK6 (Flag of the United States.svg, On Amazon, On CCC)

Type: wireless router

FCC ID: KA2IR1260A1
PCB ID: AP-MTK028-0003

Power: 12 VDC, 1.5 A
Connector type: barrel

CPU1: MediaTek MT7621DAT (880 MHz, 2 cores)
FLA1: 128 MiB134,217,728 B <br />1,048,576 Kib <br />131,072 KiB <br />1,024 Mib <br />0.125 GiB <br /> (Winbond W29N01HVSINF)
RAM1: 128 MiB134,217,728 B <br />1,048,576 Kib <br />131,072 KiB <br />1,024 Mib <br />0.125 GiB <br /> (MediaTek MT7621DAT)

Expansion IFs: USB 2.0
USB ports: 1
Serial: yes, 4-pin header, 3.3V TTL, (57600 8N1)

WI1 chip1: MediaTek MT7603EN
WI1 802dot11 protocols: bgn
WI1 MIMO config: 2x2:2
WI1 antenna connector: soldered
WI2 chip1: MediaTek MT7613AEN
WI2 802dot11 protocols: an+ac
WI2 MIMO config: 2x2:2
WI2 antenna connector: soldered

ETH chip1: MediaTek MT7621DAT
Switch: MediaTek MT7621DAT
LAN speed: 1GbE
LAN ports: 4
WAN speed: 1GbE
WAN ports: 1

abgn+ac

Stock bootloader: U-Boot:1.1.3 Ralink UBoot 5.0.0.0

Stock FW OS: Linux 3.10.108+

Flags: WPA3, MU-MIMO, 3G/4G modem supports

Default SSID: DIR-1260
, DIR-1260-5G
Default IP address: 192.168.0.1
the IP 192.168.0.1 is used by 785 additional devices
of which 220 are D-Link devices
Default login user: admin
Default login password: admin
admin:admin credentials used by 1327 additional devices
of which 75 are D-Link devices

802dot11 OUI: 78:98:E8
Ethernet OUI: 78:98:E8

For a list of all currently documented MediaTek chipsets with specifications, see MediaTek.


AC1200 Wi-Fi Gigabit Router

Product page

See also

D-Link Wi-Fi Routers

Serial

 • OEM Boot log

===================================================================

     		MT7621   stage1 code 10:33:11 (ASIC)

     		CPU=50000000 HZ BUS=16666666 HZ

==================================================================

Change MPLL source from XTAL to CR...

do MEMPLL setting..

MEMPLL Config : 0x11100000

3PLL mode + External loopback

=== XTAL-40Mhz === DDR-1200Mhz ===

PLL4 FB_DL: 0xc, 1/0 = 687/337 31000000

PLL3 FB_DL: 0x12, 1/0 = 688/336 49000000

PLL2 FB_DL: 0x1b, 1/0 = 521/503 6D000000

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    0

000B:|    0    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    0

000D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    1    1    1

000E:|    0    0    0    0    0    0    0    1    1    1    1    1    1    1    1    1

000F:|    0    0    1    1    1    1    1    1    1    1    1    1    0    0    0    0

0010:|    1    1    1    1    1    1    1    0    0    0    0    0    0    0    0    0

0011:|    1    1    0    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    0

001B:|    0    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    0

001D:|    0    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    0

001F:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

rank 0 coarse = 15

rank 0 fine = 56

B:|    0    0    0    0    0    0    0    0    1    1    1    0    0    0    0    0

opt_dle value:9

DRAMC_R0DELDLY[018]=00001D1F

==================================================================

		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 |    12 10 11 12 11 9 13 9 7 6 

10 |    8 8 7 9 7 7 

--------------------------------------



==================================================================

2.dqs window

x=pass dqs delay value (min~max)center 

y=0-7bit DQ of every group

input delay:DQS0 =31 DQS1 = 29

==================================================================

bit	DQS0	 bit      DQS1

0  (1~58)29  8  (1~56)28

1  (1~61)31  9  (1~58)29

2  (1~58)29  10  (1~54)27

3  (0~59)29  11  (1~56)28

4  (1~58)29  12  (1~57)29

5  (1~58)29  13  (2~57)29

6  (2~60)31  14  (2~56)29

7  (1~59)30  15  (2~57)29

==================================================================

3.dq delay value last

==================================================================

bit|    0  1  2  3  4  5  6  7  8   9

--------------------------------------

0 |    14 10 13 14 13 11 13 10 8 6 

10 |    10 9 7 9 7 7 

==================================================================

==================================================================

     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 = ffff0000

dqs_perbyte_dly.last_dqdly_pass[0]=15,  finish count=1 

dqs_perbyte_dly.last_dqdly_pass[1]=15,  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=50000000 HZ BUS=16666666 HZ

===================================================================



U-Boot 1.1.3 (May  6 2020 - 15:57:24)


Board: Ralink APSoC DRAM:  128 MB

relocate_code Pointer at: 87f90000


Config XHCI 40M PLL 

Allocate 16 byte aligned buffer: 87fcb0b0

Enable NFI Clock

# MTK NAND # : Use HW ECC

NAND ID [EF F1 00 95 00]

Device found in MTK table, ID: eff1, EXT_ID: 9500

Support this Device in MTK table! eff1 

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=3 OCP Ratio=1/3

Flash component: NAND Flash

Date:May  6 2020  Time:15:57:24

============================================ 

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 =128 Mbytes

#Reset_MT7530

set LAN/WAN LLLLW

DRU DIR-1260


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. 

default: 3

��� 0 

   

3: System Boot system code via Flash.

## Booting image at bc140000 ...

   Image Name:   DIR_1260_MT7621D

   Image Type:   MIPS Linux Kernel Image (lzma compressed)

   Data Size:    1845215 Bytes =  1.8 MB

   Load Address: 81001000

   Entry Point:  813e4cb0

.............................   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

No initrd

## Transferring control to Linux (at address 813e4cb0) ...

## Giving linux memsize in MB, 128


Starting kernel ...



LINUX started...

 THIS IS ASIC

SDK 5.0.S.0
Linux version 3.10.108+ (jenkins@jrd) (gcc version 5.5.0 (Buildroot 2018.08-git-00492-g751df64eb3-dirty) ) #1 SMP Wed Aug 19 16:48:54 MSK 2020

 The CPU feqenuce set to 880 MHz

 MIPS CPU sleep mode enabled.
GCMP present
CPU0 revision is: 0001992f (MIPS 1004Kc)
Software DMA cache coherency
Determined physical RAM map:
 memory: 08000000 @ 00000000 (usable)
Zone ranges:
  DMA      [mem 0x00000000-0x00ffffff]
  Normal   [mem 0x01000000-0x07ffffff]
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x00000000-0x07ffffff]
Detected 3 available secondary CPU(s)
Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
PERCPU: Embedded 7 pages/cpu @81664000 s5952 r8192 d14528 u32768
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: console=ttyS1,57600n8 root=/dev/mtdblock5 console=ttyS0
HZ = 100
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Writing ErrCtl register=00010002
Readback ErrCtl register=00010002
Memory: 124304k/131072k available (4054k kernel code, 6768k reserved, 972k data, 280k init, 0k highmem)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:128
console [ttyS1] enabled
Calibrating delay loop... 577.53 BogoMIPS (lpj=2887680)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
launch: starting cpu1
launch: cpu1 gone!
Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
CPU1 revision is: 0001992f (MIPS 1004Kc)
Synchronize counters for CPU 1: done.
launch: starting cpu2
launch: cpu2 gone!
Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
CPU2 revision is: 0001992f (MIPS 1004Kc)
Synchronize counters for CPU 2: done.
launch: starting cpu3
launch: cpu3 gone!
Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
CPU3 revision is: 0001992f (MIPS 1004Kc)
Synchronize counters for CPU 3: done.
Brought up 4 CPUs
NET: Registered protocol family 16
release PCIe RST: RALINK_RSTCTRL = 7000000
PCIE PHY initialize
***** Xtal 40MHz *****
start MT7621 PCIe register access
RALINK_RSTCTRL = 7000000
RALINK_CLKCFG1 = 77ffeff8

*************** MT7621 PCIe RC mode *************
PCIE2 no card, disable it(RST&CLK)
pcie_link status = 0x3
RALINK_RSTCTRL= 3000000
*** Configure Device number setting of Virtual PCI-PCI bridge ***
RALINK_PCI_PCICFG_ADDR = 21007f2 -> 21007f2
PCIE0 enabled
PCIE1 enabled
interrupt enable status: 300000
Port 1 N_FTS = 1b105000
Port 0 N_FTS = 1b105000
config reg done
init_rt2880pci done
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
pci 0000:00:00.0: BAR 0: can't assign mem (size 0x80000000)
pci 0000:00:01.0: BAR 0: can't assign mem (size 0x80000000)
pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
pci 0000:00:01.0: BAR 9: assigned [mem 0x60100000-0x602fffff pref]
pci 0000:00:00.0: BAR 1: assigned [mem 0x60300000-0x6030ffff]
pci 0000:00:01.0: BAR 1: assigned [mem 0x60310000-0x6031ffff]
pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff]
pci 0000:00:00.0: PCI bridge to [bus 01]
pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit pref]
pci 0000:02:00.0: BAR 2: assigned [mem 0x60200000-0x60203fff 64bit pref]
pci 0000:02:00.0: BAR 4: assigned [mem 0x60204000-0x60204fff 64bit pref]
pci 0000:00:01.0: PCI bridge to [bus 02]
pci 0000:00:01.0:   bridge window [mem 0x60100000-0x602fffff pref]
PCI: Enabling device 0000:00:00.0 (0004 -> 0006)
PCI: Enabling device 0000:00:01.0 (0004 -> 0006)
BAR0 at slot 0 = 0
bus=0x0, slot = 0x0
res[0]->start = 0
res[0]->end = 0
res[1]->start = 60300000
res[1]->end = 6030ffff
res[2]->start = 0
res[2]->end = 0
res[3]->start = 0
res[3]->end = 0
res[4]->start = 0
res[4]->end = 0
res[5]->start = 0
res[5]->end = 0
BAR0 at slot 1 = 0
bus=0x0, slot = 0x1
res[0]->start = 0
res[0]->end = 0
res[1]->start = 60310000
res[1]->end = 6031ffff
res[2]->start = 0
res[2]->end = 0
res[3]->start = 0
res[3]->end = 0
res[4]->start = 0
res[4]->end = 0
res[5]->start = 0
res[5]->end = 0
bus=0x1, slot = 0x0, irq=0x4
res[0]->start = 60000000
res[0]->end = 600fffff
res[1]->start = 0
res[1]->end = 0
res[2]->start = 0
res[2]->end = 0
res[3]->start = 0
res[3]->end = 0
res[4]->start = 0
res[4]->end = 0
res[5]->start = 0
res[5]->end = 0
bus=0x2, slot = 0x1, irq=0x18
res[0]->start = 60100000
res[0]->end = 601fffff
res[1]->start = 0
res[1]->end = 0
res[2]->start = 60200000
res[2]->end = 60203fff
res[3]->start = 0
res[3]->end = 0
res[4]->start = 60204000
res[4]->end = 60204fff
res[5]->start = 0
res[5]->end = 0
Switching to clocksource Ralink Systick timer
Registered /proc/sys/dru
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP: reno registered
UDP hash table entries: 256 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
multicast routing: unresolved cache size is 200, expires at 1.0 sec (HZ = 100)
NET: Registered protocol family 1
squashfs: version 4.0 (2009/01/31) Phillip Lougher
msgmni has been set to 242
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered (default)
pcieport 0000:00:00.0: device [0e8d:0801] has invalid IRQ; check vendor BIOS
pcieport 0000:00:01.0: device [0e8d:0801] has invalid IRQ; check vendor BIOS
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x1e000d00 (irq = 27) is a 16550A
serial8250: ttyS1 at MMIO 0x1e000c00 (irq = 26) is a 16550A
Ralink gpio driver initialized
loop: module loaded
MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
Allocate 16 byte aligned buffer: 815407d0
Enable NFI Clock
# MTK NAND # : Use HW ECC
NAND ID [EF F1 00 95 00, 00009500]
Device found in MTK table, ID: eff1, EXT_ID: 9500
Support this Device in MTK table! eff1 

NAND device: Manufacturer ID: 0xef, Chip ID: 0xf1 (Unknown NAND 128MiB 3,3V 8-bit), 128MiB, page size: 2048, OOB size: 64
[NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
Scanning device for bad blocks
Signature matched and data read!
load_fact_bbt success 1023
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 
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 
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 
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 
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 
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 
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 
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 
squashfsb.s_magic 0xc02a5c0f
squashfsb.s_magic 0x686e1590
squashfsb.s_magic 0x85db98f7
squashfsb.s_magic 0xa6bb5d56
squashfsb.s_magic 0x917d0818
squashfsb.s_magic 0x2ca3364e
squashfsb.s_magic 0xe1b1f219
squashfsb.s_magic 0x73717368
squashfs filesystem found at block 0x320000
Creating 7 MTD partitions on "MT7621-NAND":
0x000000000000-0x000007f80000 : "ALL"
0x000000000000-0x000000080000 : "Bootloader"
0x000000080000-0x000000100000 : "Config"
0x000000100000-0x000000140000 : "Factory"
0x000000140000-0x000000320000 : "Kernel"
0x000000320000-0x000001000000 : "RootFS"
0x000000140000-0x000001000000 : "Linux"
[mtk_nand] probe successfully!
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
PPTP driver version 0.8.5
ROAM: Module initialized.
rdm_major = 253
GMAC1_MAC_ADRH -- : 0x00001062
GMAC1_MAC_ADRL -- : 0xeb102c74
Ralink APSoC Ethernet Driver Initilization. v3.1  1024 rx/tx descriptors allocated, mtu = 1500!
NAPI enable, Tx Ring = 1024, Rx Ring = 1024
GMAC1_MAC_ADRH -- : 0x00001062
GMAC1_MAC_ADRL -- : 0xeb102c74
PROC INIT OK!
*****run project phy.
FM_OUT value: u4FmOut = 0(0x00000000)
FM_OUT value: u4FmOut = 0(0x00000000)
FM_OUT value: u4FmOut = 0(0x00000000)
FM_OUT value: u4FmOut = 0(0x00000000)
FM_OUT value: u4FmOut = 0(0x00000000)
FM_OUT value: u4FmOut = 0(0x00000000)
FM_OUT value: u4FmOut = 0(0x00000000)
FM_OUT value: u4FmOut = 0(0x00000000)
FM_OUT value: u4FmOut = 0(0x00000000)
FM_OUT value: u4FmOut = 0(0x00000000)
FM_OUT value: u4FmOut = 0(0x00000000)
FM_OUT value: u4FmOut = 0(0x00000000)
FM_OUT value: u4FmOut = 0(0x00000000)
FM_OUT value: u4FmOut = 0(0x00000000)
FM_OUT value: u4FmOut = 0(0x00000000)
FM_OUT value: u4FmOut = 0(0x00000000)
FM_OUT value: u4FmOut = 0(0x00000000)
FM_OUT value: u4FmOut = 0(0x00000000)
FM_OUT value: u4FmOut = 0(0x00000000)
FM_OUT value: u4FmOut = 0(0x00000000)
xhci-hcd xhci-hcd: xHCI Host Controller
xhci-hcd xhci-hcd: new USB bus registered, assigned bus number 1
xhci-hcd xhci-hcd: irq 22, io mem 0x1e1c0000
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: xHCI Host Controller
usb usb1: Manufacturer: Linux 3.10.108+ xhci-hcd
usb usb1: SerialNumber: xhci-hcd
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
xhci-hcd xhci-hcd: xHCI Host Controller
xhci-hcd xhci-hcd: new USB bus registered, assigned bus number 2
usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: xHCI Host Controller
usb usb2: Manufacturer: Linux 3.10.108+ xhci-hcd
usb usb2: SerialNumber: xhci-hcd
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
usbcore: registered new interface driver usb-storage
Ralink APSoC Hardware Watchdog Timer
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (1942 buckets, 7768 max)
ctnetlink v0.93: registering with nfnetlink.
xt_time: kernel timezone is -0000
IPVS: Registered protocols ()
IPVS: Connection hash table configured (size=4096, memory=32Kbytes)
IPVS: Creating netns size=768 id=0
IPVS: ipvs loaded.
ipip: IPv4 over IPv4 tunneling driver
gre: GRE over IPv4 demultiplexor driver
ip_gre: GRE over IPv4 tunneling driver
ip_tables: (C) 2000-2006 Netfilter Core Team
Type=Linux
arp_tables: (C) 2002 David S. Miller
TCP: cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 10
ip6_tables: (C) 2000-2006 Netfilter Core Team
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
NET: Registered protocol family 15
Bridge firewalling registered
Ebtables v2.0 registered
l2tp_core: L2TP core driver, V2.0
l2tp_ppp: PPPoL2TP kernel driver, V2.0
8021q: 802.1Q VLAN Support v1.8
nlmon: module starting ...
VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
Freeing unused kernel memory: 280K
Mon Jan  1 00:00:00 UTC 2018
Starting preinit...
Press Ctrl+C to enter developer menu.

gpiom: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
gpiom: module starting ...
gpiom: using profile DIR_1260_MT7621D.
gpiom: button support enabled.
gpiom: led support enabled.
gpiom: ctrl support disabled.
update_boot_worker: bootloader is up-to-date, done
Preinit completed


BusyBox v1.31.1 (2020-08-19 17:01:35 MSK) built-in shell (ash)

/ # �[37mJan  1 03:00:03 �[0m[�[31mALRT�[0m]�[33m kernel�[0m: PROC INIT OK!
10:62:FFFFFFEB:10:2C:74
Raeth v3.1 (NAPI
,SkbRecycle)
set CLK_CFG_0 = 0x40a00020!!!!!!!!!!!!!!!!!!1

phy_tx_ring = 0x00c08000, tx_ring = 0xa0c08000

phy_rx_ring0 = 0x00c0c000, rx_ring[0] = 0xa0c0c000

phy_rx_ring0 = 0x00c0c000, rx_ring[0] = 0xa0c0c000
MT7530 Reset Completed!!
change HW-TRAP to 0x17c8f
set LAN/WAN LLLLW
GMAC1_MAC_ADRH -- : 0x00001062
GMAC1_MAC_ADRL -- : 0xeb102c74
GDMA2_MAC_ADRH -- : 0x00007898
GDMA2_MAC_ADRL -- : 0xe8000000
eth3: ===> VirtualIF_open
MT7621 GE2 link rate to 1G
CDMA_CSG_CFG = 81000000
GDMA1_FWD_CFG = 20710000
GDMA2_FWD_CFG = 20710000
eth3: ===> VirtualIF_open
IPv6: ADDRCONF(NETDEV_UP): eth3: link is not ready


=== pAd = c0881000, size = 2183280 ===

<-- RTMPAllocTxRxRingMemory, Status=0, ErrorValue=0x
<-- RTMPAllocAdapterBlock, Status=0
device_id =0x7603
RtmpChipOpsHook(474): Not support for HIF_MT yet!
mt7603_init()-->
mt_bcn_buf_init(224): Not support for HIF_MT yet!
<--mt7603_init()
load_dev_l1profile()-->
match_index_by_chipname() MT7603 found as INDEX0
l1set_profile_path() profile remain /etc/Wireless/RT2860/RT2860.dat
l1set_eeprom_offset() eeprom offset remain 0x0
l1set_eeprom_size() eeprom size remain 0x200
load_dev_l1profile()-->
l1set_profile_path() profile remain /etc/Wireless/RT2860/RT2860.dat
l1set_eeprom_offset() eeprom offset remain 0x0
l1set_eeprom_size() eeprom size remain 0x200
TX_BCN DESC a0c2b000 size = 320
RX[0] DESC a0c2d000 size = 2048
RX[1] DESC a0c2e000 size = 2048
E2pAccessMode=2
cfg_mode=9
cfg_mode=9
wmode_band_equal(): Band Equal!
FW Version:CL173766_R
FW Build Date:20171110105932�
CmdAddressLenReq:(ret = 0)
CmdFwStartReq: override = 1, address = 1048576
CmdStartDLRsp: WiFI FW Download Success
AsicDMASchedulerInit(): DMA Scheduler Mode=0(LMAC)
efuse_probe: efuse = 10000002
RtmpChipOpsEepromHook::e2p_type=2, inf_Type=5
RtmpEepromGetDefault::e2p_dafault=1
RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 1
NVM is FLASH mode, flash_offset = 0x0
1. Phy Mode = 14
Country Region from e2p = ffff
tssi_1_target_pwr_g_band = 36
2. Phy Mode = 14
3. Phy Mode = 14
NICInitPwrPinCfg(14): Not support for HIF_MT yet!
NICInitializeAsic(588): Not support rtmp_mac_sys_reset () for HIF_MT yet!
mt_mac_init()-->
mt7603_init_mac_cr()-->
AsicSetMacMaxLen(1927): Set the Max RxPktLen=1024!
<--mt_mac_init()
	WTBL Segment 1 info:
		MemBaseAddr/FID:0x28000/0
		EntrySize/Cnt:32/128
	WTBL Segment 2 info:
		MemBaseAddr/FID:0x40000/0
		EntrySize/Cnt:64/128
	WTBL Segment 3 info:
		MemBaseAddr/FID:0x42000/64
		EntrySize/Cnt:64/128
	WTBL Segment 4 info:
		MemBaseAddr/FID:0x44000/128
		EntrySize/Cnt:32/128
AntCfgInit(2708): Not support for HIF_MT yet!
MCS Set = ff ff 00 00 01
mt7603_switch_channel(): Switch to Ch#1(2T2R), BBP_BW=0
mt7603_switch_channel(): Switch to Ch#2(2T2R), BBP_BW=0
mt7603_switch_channel(): Switch to Ch#3(2T2R), BBP_BW=0
mt7603_switch_channel(): Switch to Ch#4(2T2R), BBP_BW=0
mt7603_switch_channel(): Switch to Ch#5(2T2R), BBP_BW=0
mt7603_switch_channel(): Switch to Ch#6(2T2R), BBP_BW=0
mt7603_switch_channel(): Switch to Ch#7(2T2R), BBP_BW=0
mt7603_switch_channel(): Switch to Ch#8(2T2R), BBP_BW=0
mt7603_switch_channel(): Switch to Ch#9(2T2R), BBP_BW=0
mt7603_switch_channel(): Switch to Ch#10(2T2R), BBP_BW=0
mt7603_switch_channel(): Switch to Ch#11(2T2R), BBP_BW=0
mt7603_switch_channel(): Switch to Ch#12(2T2R), BBP_BW=0
mt7603_switch_channel(): Switch to Ch#13(2T2R), BBP_BW=0
d-link channel[1+2+3+4+5] = 1180
d-link channel[2+3+4+5+6] = 1350
d-link channel[3+4+5+6+7] = 1560
d-link channel[4+5+6+7+8] = 1810
d-link channel[5+6+7+8+9] = 2040
d-link channel[6+7+8+9+10] = 2190
d-link channel[7+8+9+10+11] = 2260
d-link channel[8+9+10+11+12] = 2160
d-link channel[9+10+11+12+13] = 1890
d-link select channel = 1 + 5
AsicSetRalinkBurstMode(4345): Not support for HIF_MT yet!
RTMPSetPiggyBack(961): Not support for HIF_MT yet!
mt7603_switch_channel(): Switch to Ch#3(2T2R), BBP_BW=1
AsicSetTxPreamble(4332): Not support for HIF_MT yet!
AsicAddSharedKeyEntry(2093): Not support for HIF_MT yet!
AsicSetPreTbtt(): bss_idx=0, PreTBTT timeout = 0xa0
Main bssid = 78:98:e8:00:00:00
<==== rt28xx_init, Status=0
@@@ ed_monitor_exit : ===>
@@@ ed_monitor_exit : <===
ROAM UP
register mt_drv


=== pAd = c1601000, size = 7302720 ===

<-- RTMPAllocAdapterBlock, Status=0
pAd->PciHif.CSRBaseAddress =0xc1500000, csr_addr=0xc1500000!
RTMPInitPCIeDevice():device_id=0x7663
mt_pci_chip_cfg(): HWVer=0x8a10, FWVer=0x8a01, pAd->ChipID=0x7663
mt7663_init()-->
<--mt7663_init()
<-- RTMPAllocTxRxRingMemory, Status=0
get_wdev_by_idx: invalid idx(0)
get_wdev_by_idx: invalid idx(0)
get_wdev_by_idx: invalid idx(0)
get_wdev_by_idx: invalid idx(0)
get_wdev_by_idx: invalid idx(0)
get_wdev_by_idx: invalid idx(0)
get_wdev_by_idx: invalid idx(0)
rai0: ===> main_virtual_if_open
get_wdev_by_idx: invalid idx(0)
get_wdev_by_idx: invalid idx(0)
get_wdev_by_idx: invalid idx(0)
get_wdev_by_idx: invalid idx(0)
load l1profile failed!
get_wdev_by_idx: invalid idx(0)
get_wdev_by_idx: invalid idx(0)
driver_own()::Try to Clear FW Own...
driver_own()::Success to clear FW Own
APWdsInitialize():WdsEntry[0]
APWdsInitialize():WdsEntry[1]
APWdsInitialize():WdsEntry[2]
APWdsInitialize():WdsEntry[3]
RtmpOSFileOpen(): Error 2 opening /etc/Wireless/iNIC/iNIC_ap_2G.dat
Open file "/etc/Wireless/iNIC/iNIC_ap_2G.dat" failed!
E2pAccessMode=2
SSID[0]=DIR-1260-5G, EdcaIdx=0
SSID[1]=, EdcaIdx=0
cfg_mode=14
cfg_mode=14
cfg_mode=14
wmode_band_equal(): Band Equal!
auto_ch_select_set_cfg(): BandIdx0, AutoChannelAtBootup=1, AutoChannelAlg = 1
BssIdx(0) wdev->channel=0
BssIdx(1) wdev->channel=0
Index0 Channel=0
[TxPower] BAND0: 100
[SKUenable] BAND0: 1
profile: FragThreshold[0]=2346
APEdca0
APEdca1
APEdca2
APEdca3
read_itxbf: ITxBfEn = 1
read_itxbf: BSSID[0]
read_itxbf: MBSS[0] ITxBfEn = 1
read_itxbf: More BSSID[1]
read_itxbf: More MBSS[1] ITxBfEn = 1
read_itxbf: Common.ITxBfEn = 1
read_etxbf: ETxBfEnCond = 1
read_etxbf: BSSID[0]
read_etxbf: MBSS[0] ETxBfEnCond = 1
read_etxbf: More BSSID[1]
read_etxbf: More MBSS[1] ETxBfEnCond = 1
rtmp_read_wds_from_file(): WDS Profile
If/wds0 - PeerPhyOpMode=2
If/wds1 - PeerPhyOpMode=2
If/wds2 - PeerPhyOpMode=2
If/wds3 - PeerPhyOpMode=2
APWdsInitialize():WdsEntry[0]
APWdsInitialize():WdsEntry[1]
APWdsInitialize():WdsEntry[2]
APWdsInitialize():WdsEntry[3]
WDS-Enable mode=0
HT: greenap_cap = 0
WtcSetMaxStaNum: MaxStaNum:102, BssidNum:2, WdsNum:4, ApcliNum:1, MaxNumChipRept:24, MinMcastWcid:132
Top Init Done!
Use alloc_skb
RX[0] DESC a0c5e000 size = 8192
RX[1] DESC a0c60000 size = 8192
cut_through_init(): ct sw token number = 4095
cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
cut_through_token_list_init(): 8460db88,8460db88
cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
cut_through_token_list_init(): 8460db98,8460db98
Hif Init Done!
ctl->txq = c1cf1e6c
ctl->rxq = c1cf1e78
ctl->ackq = c1cf1e84
ctl->kickq = c1cf1e90
ctl->tx_doneq = c1cf1e9c
ctl->rx_doneq = c1cf1ea8
mt7663_fw_prepare():using E2 ROM patch
mt7663_fw_prepare():using E2 firmware
Parsing patch header
	Built date: 1912310402b6540

	Platform: 7663
	HW/SW version: 0x65322d31
	Patch version: 0x3830328a
	Target address: 0xdc000, length: 211232
patch is not ready && get semaphore success
Start address = 0xdc000, DL length = 211232, Data mode = 0x80000000
EventGenericEventHandler: CMD Success
MtCmdAddressLenReq:(ret = 0)
MtCmdPatchFinishReq
EventGenericEventHandler: CMD Success
release patch semaphore
WfMcuHwInit: Before NICLoadFirmware, check ICapMode = 0
Parsing CPU 0 fw tailer
	Chip ID: 0x08
	Eco version: 0x01
	Region number: 0x03
	Format version: 0x02
	Format flag: 0x01
	Ram version: 7663mp1827
	Built date: 20191231040247�
	Common crc: 0xd5ce296f
Parsing tailer region 0
	Decomp crc: 0x0
	Decomp size: 0x0
	Decomp block size: 0x0
	Target address: 0x112c00
	Download size: 271184
	Feature set: 0x27
Parsing tailer region 1
	Decomp crc: 0x0
	Decomp size: 0x0
	Decomp block size: 0x0
	Target address: 0x2018400
	Download size: 57376
	Feature set: 0x07
Parsing tailer region 2
	Decomp crc: 0x0
	Decomp size: 0x0
	Decomp block size: 0x0
	Target address: 0x40100000
	Download size: 14736
	Feature set: 0x07
	Release info: header tag = 0, total length = 56
	tag 1, padding length = 2, tag length = 50
	payload: t-neptune-trunk-MT7621_AP_7603_7613-20191231040004
Start address = 0x112c00, DL length = 271184, Data mode = 0x8000000f
EventGenericEventHandler: CMD Success
MtCmdAddressLenReq:(ret = 0)
Start address = 0x2018400, DL length = 57376, Data mode = 0x8000000f
EventGenericEventHandler: CMD Success
MtCmdAddressLenReq:(ret = 0)
Start address = 0x40100000, DL length = 14736, Data mode = 0x8000000f
EventGenericEventHandler: CMD Success
MtCmdAddressLenReq:(ret = 0)
MtCmdFwStartReq: override = 0x1, address = 0x112c00
EventGenericEventHandler: CMD Success
MCU Init Done!
efuse_probe: efuse = 511161
RtmpChipOpsEepromHook::e2p_type=2, inf_Type=5
RtmpEepromGetDefault::e2p_dafault=1
RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 1
NVM is FLASH mode. dev_idx [1] FLASH OFFSET [0x8000]
validFlashEepromID(): eeFlashId=7663, pAd->ChipID=7663
Country Region from e2p = 1
mt7663_antenna_default_reset() todo
RTMPReadTxPwrPerRate(444): Don't Support this now!
RcRadioInit(): DbdcMode=0, ConcurrentBand=1
RcRadioInit(): pRadioCtrl=87c7ee3c,Band=0,rfcap=3,channel=1,PhyMode=2 extCha=0xf
AntCfgInit(2992): Not support for HIF_MT yet!
MtReadPwrLimitTable: RF_LOCKDOWN Feature OFF !!!
RtmpOSFileOpen(): Error 2 opening /etc_ro/Wireless/RT2860AP/Sku_default.dat
--> Error opening file </etc_ro/Wireless/RT2860AP/Sku_default.dat>
MtPwrLimitLoadParamHandle: Read Power Table Error!!
MtReadPwrLimitTable: RF_LOCKDOWN Feature OFF !!!
RtmpOSFileOpen(): Error 2 opening /etc_ro/Wireless/RT2860AP/Backoff_default.dat
--> Error opening file </etc_ro/Wireless/RT2860AP/Backoff_default.dat>
MtPwrLimitLoadParamHandle: Read Power Table Error!!
EEPROM Init Done!
mt_mac_init()-->
mt_mac_pse_init(2990): Don't Support this now!
mt7663_init_mac_cr()-->
mt7663_init_mac_cr(): TMAC_TRCR0=0x82783c92
MtAsicSetMacMaxLen(1075): Not support for HIF_MT yet!
<--mt_mac_init()
CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
CmdRxHdrTransBLUpdateRsp::EventExtCmdResult.u4Status = 0x0
MAC Init Done!
MT7663BBPInit():BBP Initialization.....
	Band 0: valid=1, isDBDC=0, Band=2, CBW=1, CentCh/PrimCh=1/1, prim_ch_idx=0, txStream=2
	Band 1: valid=0, isDBDC=0, Band=0, CBW=0, CentCh/PrimCh=0/0, prim_ch_idx=0, txStream=0
MT7663BBPInit() todo
PHY Init Done!
RtmpOSFileOpen(): Error 2 opening /etc/Wireless/iNIC/iNIC_ap_2G.dat
Open file "/etc/Wireless/iNIC/iNIC_ap_2G.dat" failed!
E2pAccessMode=2
SSID[0]=DIR-1260-5G, EdcaIdx=0
SSID[1]=, EdcaIdx=0
cfg_mode=14
cfg_mode=14
cfg_mode=14
wmode_band_equal(): Band Equal!
auto_ch_select_set_cfg(): BandIdx0, AutoChannelAtBootup=1, AutoChannelAlg = 1
BssIdx(0) wdev->channel=0
BssIdx(1) wdev->channel=0
Index0 Channel=0
[TxPower] BAND0: 100
[SKUenable] BAND0: 1
profile: FragThreshold[0]=2346
APEdca0
APEdca1
APEdca2
APEdca3
read_itxbf: ITxBfEn = 1
read_itxbf: BSSID[0]
read_itxbf: MBSS[0] ITxBfEn = 1
read_itxbf: More BSSID[1]
read_itxbf: More MBSS[1] ITxBfEn = 1
read_itxbf: Common.ITxBfEn = 1
read_etxbf: ETxBfEnCond = 1
read_etxbf: BSSID[0]
read_etxbf: MBSS[0] ETxBfEnCond = 1
read_etxbf: More BSSID[1]
read_etxbf: More MBSS[1] ETxBfEnCond = 1
rtmp_read_wds_from_file(): WDS Profile
If/wds0 - PeerPhyOpMode=2
If/wds1 - PeerPhyOpMode=2
If/wds2 - PeerPhyOpMode=2
If/wds3 - PeerPhyOpMode=2
APWdsInitialize():WdsEntry[0]
APWdsInitialize():WdsEntry[1]
APWdsInitialize():WdsEntry[2]
APWdsInitialize():WdsEntry[3]
WDS-Enable mode=0
HT: greenap_cap = 0
tx_pwr_comp_init():NotSupportYet!
MtCmdSetMacTxRx:(ret = 0)
asic_bss_beacon_init(): NotSupportedFunc for this arch(HIF_MT)!
AsicDisableSync(): NotSupportedFunc for this arch(HIF_MT)!
MtAsicSetRalinkBurstMode(2221): Not support for HIF_MT yet!
MtAsicSetPiggyBack(592): Not support for HIF_MT yet!
WifiFwdSet::disabled=0
AsicSetPreTbtt(): NotSupportedFunc for this arch(HIF_MT)!
ap_ftkd> Initialize FT KDP Module...
Main bssid = 00:00:00:00:00:00
AsicSetRxFilter(): NotSupportedFunc for this arch(HIF_MT)!
MtCmdSetMacTxRx:(ret = 0)
AsicSetRxFilter(): NotSupportedFunc for this arch(HIF_MT)!
MtCmdSetMacTxRx:(ret = 0)
INIT REDUCE TCP ACK, rai0
<==== mt_wifi_init, Status=0
TxBfModuleEnCtrl:It's not DBDC mode
MtCmdEDCCACtrl: BandIdx: 0, EDCCACtrl: 1
MSTA_Init (1) ---> ApCli
Register MSTA IF (apclii0) , pAd->MSTANum = 1
Caller: SetCommonHT+0xd4/0x184 [mt_wifi]

phy_mode=49, ch=0, wdev_type=2
ht_cap: ht_cap->HtCapInfo, 
ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=0
ht_cap: ht_cap->HtCapParm, 
mdpu_density=0, ampdu_factor=3
WDS_Init():
The new WDS interface MAC = 00:00:00:00:00:00
  MacTabMatchWCID = 0
Caller: SetCommonHT+0xd4/0x184 [mt_wifi]

phy_mode=49, ch=0, wdev_type=8
ht_cap: ht_cap->HtCapInfo, 
ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=0
ht_cap: ht_cap->HtCapParm, 
mdpu_density=0, ampdu_factor=3
The new WDS interface MAC = 00:00:00:00:00:00
  MacTabMatchWCID = 0
Caller: SetCommonHT+0xd4/0x184 [mt_wifi]

phy_mode=49, ch=0, wdev_type=8
ht_cap: ht_cap->HtCapInfo, 
ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=0
ht_cap: ht_cap->HtCapParm, 
mdpu_density=0, ampdu_factor=3
The new WDS interface MAC = 00:00:00:00:00:00
  MacTabMatchWCID = 0
Caller: SetCommonHT+0xd4/0x184 [mt_wifi]

phy_mode=49, ch=0, wdev_type=8
ht_cap: ht_cap->HtCapInfo, 
ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=0
ht_cap: ht_cap->HtCapParm, 
mdpu_density=0, ampdu_factor=3
The new WDS interface MAC = 00:00:00:00:00:00
  MacTabMatchWCID = 0
Caller: SetCommonHT+0xd4/0x184 [mt_wifi]

phy_mode=49, ch=0, wdev_type=8
ht_cap: ht_cap->HtCapInfo, 
ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=0
ht_cap: ht_cap->HtCapParm, 
mdpu_density=0, ampdu_factor=3
Total allocated 4 WDS interfaces!
WtcSetMaxStaNum: MaxStaNum:102, BssidNum:2, WdsNum:4, ApcliNum:1, MaxNumChipRept:24, MinMcastWcid:132
RedInit: set Driver/N9 RED Enable to 1.
RedInit: RED Initiailize Done.
cp_support_is_enabled: set Driver CP_SUPPORT to Mode 2.
ROAM UP
RTMP_COM_IoctlHandle -> CMD_RTPRIV_IOCTL_VIRTUAL_INF_UP
wifi_sys_open(), wdev idx = 0
wdev_attr_update(): wdevId0 = 78:98:e8:00:00:00
[RcGetHdevByPhyMode]-- channel 0 fix for rdev fetching
[BuildChannelList] BandIdx = 0, PhyMode = 49, ChListNum = 16:
�[1;33m [RadarStateCheck] RD_NORMAL_MODE �[m 
phy_freq_adjust : no prim_ch value for adjust!
Caller: wlan_operate_init+0x108/0x178 [mt_wifi]

phy_mode=49, ch=0, wdev_type=1
ht_cap: ht_cap->HtCapInfo, 
ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=0
ht_cap: ht_cap->HtCapParm, 
mdpu_density=5, ampdu_factor=3
AP inf up for ra_0(func_idx) OmacIdx=0
AsicRadioOnOffCtrl(): DbdcIdx=0 RadioOn
ApAutoChannelAtBootUp----------------->
ApAutoChannelAtBootUp: AutoChannelBootup[0] = 1
AsicSetRxFilter(): NotSupportedFunc for this arch(HIF_MT)!
MtCmdSetMacTxRx:(ret = 0)
[AutoChSelBuildChannelListFor5G] ChListNum5G = 16
�[41mAsicSwitchChannel(): 5G Channel:36, then must be Channel_Band:1 !!�[m
�[41mAsicSwitchChannel(): 5G Channel:40, then must be Channel_Band:1 !!�[m
�[41mAsicSwitchChannel(): 5G Channel:44, then must be Channel_Band:1 !!�[m
�[41mAsicSwitchChannel(): 5G Channel:48, then must be Channel_Band:1 !!�[m
�[41mAsicSwitchChannel(): 5G Channel:52, then must be Channel_Band:1 !!�[m
�[41mAsicSwitchChannel(): 5G Channel:56, then must be Channel_Band:1 !!�[m
�[41mAsicSwitchChannel(): 5G Channel:60, then must be Channel_Band:1 !!�[m
�[41mAsicSwitchChannel(): 5G Channel:64, then must be Channel_Band:1 !!�[m
�[41mAsicSwitchChannel(): 5G Channel:149, then must be Channel_Band:1 !!�[m
�[41mAsicSwitchChannel(): 5G Channel:153, then must be Channel_Band:1 !!�[m
�[41mAsicSwitchChannel(): 5G Channel:157, then must be Channel_Band:1 !!�[m
�[41mAsicSwitchChannel(): 5G Channel:161, then must be Channel_Band:1 !!�[m
d-link channel[36+40+44+48] = 2720
d-link channel[52+56+60+64] = 1190
d-link channel[149+153+157+161] = 400
d-link select channel = 149 + 161
d-link channel[149] = 100
d-link channel[153] = 100
d-link channel[157] = 100
d-link channel[161] = 100
d-link select main channel = 149
ApAutoChannelAtBootUp : Auto channel selection: Selected channel = 149, IsAband = 1
�[41m AutoChSelUpdateChannel(): Update channel for wdev for this band PhyMode = 49, Channel = 149 �[m
�[1;33m [RadarStateCheck] RD_NORMAL_MODE �[m 
�[41mAsicSwitchChannel(): 5G Channel:155, then must be Channel_Band:1 !!�[m
ApAutoChannelAtBootUp<-----------------
[PMF]APPMFInit:: apidx=0, MFPC=0, MFPR=0, SHA256=0
Caller: SetCommonHT+0xd4/0x184 [mt_wifi]

phy_mode=49, ch=149, wdev_type=1
ht_cap: ht_cap->HtCapInfo, 
ldpc=1,ch_width=1,gf=0,sgi20=1,sgi40=1,tx_stbc=1,rx_stbc=1,amsdu_size=0
ht_cap: ht_cap->HtCapParm, 
mdpu_density=5, ampdu_factor=3
Enable 20/40 BSSCoex Channel Scan(BssCoex=1)
wifi_sys_linkup(), wdev idx = 0
wtc_acquire_groupkey_wcid: Found a non-occupied wtbl_idx:135 for WDEV_TYPE:1
 LinkToOmacIdx = 0, LinkToWdevType = 1
bssUpdateBmcMngRate (BSS_INFO_BROADCAST_INFO), CmdBssInfoBmcRate.u2BcTransmit= 8192, CmdBssInfoBmcRate.u2McTransmit = 128
UpdateBeaconHandler, BCN_UPDATE_INIT, OmacIdx = 0
MtCmdTxPowerSKUCtrl: fgTxPowerSKUEn: 1, BandIdx: 0
MtCmdTxBfBackoffCtrl: fgTxBFBackoffEn: 0, BandIdx: 0
MtCmdTxPowerPercentCtrl: fgTxPowerPercentEn: 0, BandIdx: 0
AsicSetTxStream(): NotSupportedFunc for this arch(HIF_MT)!
AsicSetRxStream(): NotSupportedFunc for this arch(HIF_MT)!
apidx 0 for WscUUIDInit
Generate UUID for apidx(0)
nf_conntrack_rtsp v0.7 loading
nf_nat_rtsp v0.7 loading
Boot time (phase 1): 5.66 sec (kernel), 30.44 (user)
device eth2 entered promiscuous mode
eth3: ===> VirtualIF_close
GDMA2_MAC_ADRH -- : 0x00007898
GDMA2_MAC_ADRL -- : 0xe8000000
eth3: ===> VirtualIF_open
IPv6: ADDRCONF(NETDEV_UP): eth3: link is not ready
device deth1 entered promiscuous mode
device ra0 entered promiscuous mode
device rai0 entered promiscuous mode
br1: port 3(rai0) entered forwarding state
br1: port 3(rai0) entered forwarding state
br1: port 2(ra0) entered forwarding state
br1: port 2(ra0) entered forwarding state
br1: port 1(deth1) entered forwarding state
br1: port 1(deth1) entered forwarding state
enum_acl_netdev: got 2 ifaces (1 LAN, 1 WAN)
enum_acl_netdev: need 4 patterns instead of 6
init PpeFoeBase = a0d00000
eth2 ifindex =2
eth3 ifindex =8
WanInf name is eth3!
Device Instance
	WDEV 00:
		Name:ra0
		Wdev(list) Idx:0
		 Idx:10
PpeDevRegHandler : ineterface ra0 register (10)
	WDEV 01:
		Name:ra1
		Wdev(list) Idx:1
		 Idx:11
PpeDevRegHandler : ineterface ra1 register (11)
	WDEV 02:
		Name:apcli0
		Wdev(list) Idx:2
		 Idx:12
PpeDevRegHandler : ineterface apcli0 register (12)
	WDEV 03:
	WDEV 04:
	WDEV 05:
	WDEV 06:
	WDEV 07:
	WDEV 08:
	WDEV 09:
	WDEV 10:
	WDEV 11:
	WDEV 12:
	WDEV 13:
	WDEV 14:
	WDEV 15:
	WDEV 16:
Device Instance
	WDEV 00:
		Name:rai0
		Wdev(list) Idx:0
		 Idx:13
PpeDevRegHandler : ineterface rai0 register (13)
	WDEV 01:
		Name:rai1
		Wdev(list) Idx:1
		 Idx:14
PpeDevRegHandler : ineterface rai1 register (14)
	WDEV 02:
		Name:apclii0
		Wdev(list) Idx:2
		 Idx:15
PpeDevRegHandler : ineterface apclii0 register (15)
	WDEV 03:
		Name:wdsi0
		Wdev(list) Idx:3
		 Idx:16
PpeDevRegHandler : ineterface wdsi0 register (16)
	WDEV 04:
		Name:wdsi1
		Wdev(list) Idx:4
		 Idx:17
PpeDevRegHandler : ineterface wdsi1 register (17)
	WDEV 05:
		Name:wdsi2
		Wdev(list) Idx:5
		 Idx:18
PpeDevRegHandler : ineterface wdsi2 register (18)
	WDEV 06:
		Name:wdsi3
		Wdev(list) Idx:6
		 Idx:19
PpeDevRegHandler : ineterface wdsi3 register (19)
	WDEV 07:
	WDEV 08:
	WDEV 09:
	WDEV 10:
	WDEV 11:
	WDEV 12:
	WDEV 13:
	WDEV 14:
	WDEV 15:
	WDEV 16:
	WDEV 17:
	WDEV 18:
	WDEV 19:
	WDEV 20:
	WDEV 21:
Boot time (phase 2): 5.66 sec (kernel), 31.43 (user)

~ # 
[                        ipcrm                    ppp_wrapper
[[                       ipcs                     pppd
ac                       iperf3                   pppoe-relay
acl                      iplink                   pptpctrl
anweb                    ipneigh                  pptpd
arping                   iproute                  ps
ash                      iprule                   pstree
ated                     ipsec                    pure-ftpd
basename                 iptables                 reboot
bash                     iptables-restore         reg
brcast_proxy             iptables-save            ripd
brctl                    iptables-xml             ripngd
busybox                  iptunnel                 rm
button_test              iw                       rmmod
cat                      iwconfig                 roamd
chat                     iwgetid                  rt2860apd
check_leaks              iwlist                   rtinicapd
chmod                    iwpriv                   samba_multicall
clear                    iwspy                    scp
cp                       kill                     sh
d_init                   killall                  sleep
date                     klogd                    smbd
dbclient                 libusb-config            smbpasswd
dd                       ln                       snmpd
deuteron                 locdns                   softflowd
dlinkwatcher             logger                   ssh
dmsc                     login                    sslsplit
dmsc_interpreter         logread                  su
dmsc_lua                 ls                       switch
dnsmasq                  lsmod                    syslogd
dnsmasq_script           lspci                    tail
drop_caches              lsusb                    tar
dropbear                 md5sum                   tayga
dropbearconvert          mfc                      telnetd
dropbearkey              mii_mgr                  test
dschedctl                minidlnad                tinyproxy
dsysctl                  miniupnpd                tinysvcmdns
ebtables                 miredo                   top
echo                     mkdir                    touch
emergency_mode           modprobe                 tr069
false                    mosquitto                traceroute
flush_iptables           mosquitto_passwd         traceroute6
flush_iptables6          mount                    transmission-daemon
free                     mount.ntfs-3g            true
fuser                    mtd_write                uboot.img
fw_upgrade               mtr                      udhcpc
gpio                     mv                       udpxrec
grep                     nc                       udpxy
gunzip                   net-snmp-config          um
gzip                     net-snmp-create-v3-user  umount
hexdump                  nfnl_osf                 uptime
hotplug                  nice                     urlfilterd
hw_nat                   nmbd                     usb_modeswitch
ifconfig                 notify_all               usbinfo
igmpx                    nslookup                 vi
inadyn                   ntfs-3g                  vrrpd
init                     ntpd                     wscd
insmod                   odhcp6c                  xl2tpd
ip                       p910nd                   xl2tpd-control
ip6tables                passwd                   xtables-multi
ip6tables-restore        ping                     xupnpd
ip6tables-save           ping6                    zebra
ipaddr                   poweroff                 zic

~ # 


 • u-boot shell
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. 

default: 3

You choosed 4

4: System Enter Boot Command Line Interface.


U-Boot 1.1.3 (May  6 2020 - 15:57:24)

MT7621 # 

MT7621 #help
?       - alias for 'help'
bootm   - boot application image from memory
go      - start application at address 'addr'
help    - print online help
httpd	- start webserver
loadb   - load binary file over serial line (kermit mode)
md      - memory display
mdio   - Ralink PHY register R/W command !!
mm      - memory modify (auto-incrementing)
nand	- nand command
nm      - memory modify (constant address)
printenv- print environment variables
reset   - Perform RESET of the CPU
saveenv - save environment variables to persistent storage
setenv  - set environment variables
tftpboot- boot image via network using TFTP protocol
version - print monitor version

MT7621 # printenv

bootcmd=tftp
bootdelay=1
baudrate=57600
ethaddr="00:AA:BB:CC:DD:10"
ipaddr=192.168.0.1
serverip=192.168.0.101
BootType=3
Image1Try=1
Image1Stable=1
stdin=serial
stdout=serial
stderr=serial

Environment size: 189/4092 bytes

MT7621 #