OpenWrt Forum Archive

Topic: Support for TP-Link AC1200 (RE305)

The content of this topic has been archived on 18 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello Guys,

i have here one Wireless Repeator from TP-Link.
Name: TP-Link AC1200
Model: RE305
The Stock-Fimware of this Device is not my favorite (to less functions),
so It would be great if openwrt runs on this device.

Here is what i found over the serial-port from this device
Serial-Port: 57600 8n1

cat /proc/cpuinfo:

~ # cat /proc/cpuinfo
system type             : MT7628
processor               : 0
cpu model               : MIPS 24Kc V5.5
BogoMIPS                : 386.04
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 32
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 4, address/irw mask: [0x0000, 0x0eb0, 0x07f0, 0x0ff0]
ASEs implemented        : mips16 dsp
shadow register sets    : 1
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

cat /proc/mtd:

~ # cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00800000 00010000 "ALL"
mtd1: 00020000 00010000 "fs-uboot"
mtd2: 000f0000 00010000 "os-image"
mtd3: 004f0000 00010000 "file-system"
mtd4: 00010000 00010000 "radio"

Here is a Console-Log from "Updateing the Device" with a TP-Link Firmware File:

~ # Firmware supports, check OK.
print ptn now.
partition 01: name = fs-uboot        , base = 0x00000000, size = 0x00020000 Bytes, usedFlag = 1
partition 02: name = os-image        , base = 0x00020000, size = 0x000f0000 Bytes, usedFlag = 1
partition 03: name = file-system     , base = 0x00110000, size = 0x004f0000 Bytes, usedFlag = 1
partition 04: name = partition-table , base = 0x00600000, size = 0x00002000 Bytes, usedFlag = 1
partition 05: name = default-mac     , base = 0x00610000, size = 0x00000020 Bytes, usedFlag = 1
partition 06: name = pin             , base = 0x00610100, size = 0x00000020 Bytes, usedFlag = 1
partition 07: name = product-info    , base = 0x00611100, size = 0x00001000 Bytes, usedFlag = 1
partition 08: name = soft-version    , base = 0x00620000, size = 0x00001000 Bytes, usedFlag = 1
partition 09: name = support-list    , base = 0x00621000, size = 0x00001000 Bytes, usedFlag = 1
partition 10: name = profile         , base = 0x00622000, size = 0x00008000 Bytes, usedFlag = 1
partition 11: name = user-config     , base = 0x00630000, size = 0x00010000 Bytes, usedFlag = 1
partition 12: name = default-config  , base = 0x00640000, size = 0x00010000 Bytes, usedFlag = 1
partition 13: name = radio           , base = 0x007f0000, size = 0x00010000 Bytes, usedFlag = 1
partition 14: name =                 , base = 0x00000000, size = 0x00000000 Bytes, usedFlag = 0
partition 15: name =                 , base = 0x00000000, size = 0x00000000 Bytes, usedFlag = 0
partition 16: name =                 , base = 0x00000000, size = 0x00000000 Bytes, usedFlag = 0
partition 17: name =                 , base = 0x00000000, size = 0x00000000 Bytes, usedFlag = 0
partition 18: name =                 , base = 0x00000000, size = 0x00000000 Bytes, usedFlag = 0
partition 19: name =                 , base = 0x00000000, size = 0x00000000 Bytes, usedFlag = 0
partition 20: name =                 , base = 0x00000000, size = 0x00000000 Bytes, usedFlag = 0
partition 21: name =                 , base = 0x00000000, size = 0x00000000 Bytes, usedFlag = 0
partition 22: name =                 , base = 0x00000000, size = 0x00000000 Bytes, usedFlag = 0
partition 23: name =                 , base = 0x00000000, size = 0x00000000 Bytes, usedFlag = 0
partition 24: name =                 , base = 0x00000000, size = 0x00000000 Bytes, usedFlag = 0
partition 25: name =                 , base = 0x00000000, size = 0x00000000 Bytes, usedFlag = 0
partition 26: name =                 , base = 0x00000000, size = 0x00000000 Bytes, usedFlag = 0
partition 27: name =                 , base = 0x00000000, size = 0x00000000 Bytes, usedFlag = 0
partition 28: name =                 , base = 0x00000000, size = 0x00000000 Bytes, usedFlag = 0
partition 29: name =                 , base = 0x00000000, size = 0x00000000 Bytes, usedFlag = 0
partition 30: name =                 , base = 0x00000000, size = 0x00000000 Bytes, usedFlag = 0
partition 31: name =                 , base = 0x00000000, size = 0x00000000 Bytes, usedFlag = 0
partition 32: name =                 , base = 0x00000000, size = 0x00000000 Bytes, usedFlag = 0
upgrade_pthread sched_get_priority_max=99 is OK !
kill timer_job  | timer_job | tddp | logd | monitord Theads OK !!!
system is going to pivot root
Update Done.

Restarting system.
[04030C0E][04030C0D]

And here is the Boot-Log from the Serialport (Modificated: "<==== !!! Removed" was written by me:

DDR Calibration DQS reg = 00008888


U-Boot 1.1.3 (Nov  2 2016 - 17:16:57)

Board: Ralink APSoC DRAM:  64 MB
relocate_code Pointer at: 83fb8000
******************************
Software System Reset Occurred
******************************
flash manufacture id: c8, device id 40 17
find flash: GD25Q64B
*** 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:Nov  2 2016  Time:17:16:57
============================================
icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768

 ##### The CPU freq = 575 MHZ ####
 estimate memory size =64 Mbytes
RESET MT7628 PHY!!!!!!
Please choose the operation:
   1: Load system code to SDRAM via TFTP.
   2: Load system code then write to Flash via TFTP.
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   7: Load Boot Loader code then write to Flash via Serial.
   9: Load Boot Loader code then write to Flash via TFTP.
 0

3: System Boot system code via Flash.
gpioMode1 Reg: 0x570544c4
gpioMode2 Reg: 0x554
## Booting image at bc020000 ...
text base: 80000000
entry point: 8000c150
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 8000c150) ...
## Giving linux memsize in MB, 64

Starting kernel ...


LINUX started...

 THIS IS ASIC
Linux version 2.6.36 (dengzhong@dengzhong) (gcc version 4.6.3 (Buildroot 2012.11.1) ) #1 Wed Nov 2 17:19:22 HKT 2016

 The CPU feqenuce set to 580 MHz
CPU revision is: 00019655 (MIPS 24Kc)
Software DMA cache coherency
Determined physical RAM map:
 memory: 04000000 @ 00000000 (usable)
Zone PFN ranges:
  Normal   0x00000000 -> 0x00004000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00004000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: console=ttyS1,57600n8 root=/dev/mtdblock3
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Primary instruction cache 64kB, VIPT, , 4-waylinesize 32 bytes.
Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
Writing ErrCtl register=0007f690
Readback ErrCtl register=0007f690
Memory: 62316k/65536k available (1890k kernel code, 3180k reserved, 430k data, 132k init, 0k highmem)
Hierarchical RCU implementation.
        RCU-based detection of stalled CPUs is disabled.
        Verbose stalled-CPUs detection is disabled.
NR_IRQS:128
console [ttyS1] enabled
Calibrating delay loop... 386.04 BogoMIPS (lpj=772096)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
NET: Registered protocol family 16
RALINK_GPIOMODE = 570544c4
RALINK_GPIOMODE = 570444c4
***** Xtal 40MHz *****
start PCIe register access
RALINK_RSTCTRL = 2400000
RALINK_CLKCFG1 = fdbfffc0

*************** MT7628 PCIe RC mode *************
PCIE0 enabled
Port 0 N_FTS = 1b105000
init_rt2880pci done
bio: create slab <bio-0> at 0
pci 0000:00:00.0: BAR 0: can't assign mem (size 0x80000000)
pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x200fffff]
pci 0000:00:00.0: BAR 9: assigned [mem 0x20100000-0x201fffff pref]
pci 0000:00:00.0: BAR 1: assigned [mem 0x20200000-0x2020ffff]
pci 0000:00:00.0: BAR 1: set to [mem 0x20200000-0x2020ffff] (PCI address [0x20200000-0x2020ffff]
pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff 64bit]
pci 0000:01:00.0: BAR 0: set to [mem 0x20000000-0x200fffff 64bit] (PCI address [0x20000000-0x200fffff]
pci 0000:01:00.0: BAR 6: assigned [mem 0x20100000-0x2010ffff pref]
pci 0000:00:00.0: PCI bridge to [bus 01-01]
pci 0000:00:00.0:   bridge window [io  disabled]
pci 0000:00:00.0:   bridge window [mem 0x20000000-0x200fffff]
pci 0000:00:00.0:   bridge window [mem 0x20100000-0x201fffff pref]
BAR0 at slot 0 = 0
bus=0x0, slot = 0x0
bus=0x1, slot = 0x0
Switching to clocksource MIPS
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
Load Ralink Timer0 Module
Load Ralink Timer1 Module
Load Ralink Timer2 Module
squashfs: version 4.0 (2009/01/31) Phillip Lougher
msgmni has been set to 121
io scheduler noop registered (default)
Ralink gpio driver initialized
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x10000d00 (irq = 21) is a 16550A
serial8250: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A
flash manufacture id: c8, device id 40 17
GD25Q64B(c8 40170000) (8192 Kbytes)
mtd .name = raspi, .size = 0x00800000 (8M) .erasesize = 0x00010000 (64K) .numeraseregions = 0
Creating 5 MTD partitions on "raspi":
0x000000000000-0x000000800000 : "ALL"
0x000000000000-0x000000020000 : "fs-uboot"
0x000000020000-0x000000110000 : "os-image"
0x000000110000-0x000000600000 : "file-system"
0x0000007f0000-0x000000800000 : "radio"
TCP cubic registered
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
Freeing unused kernel memory: 132k freed
init started: BusyBox v1.19.4 (2016-11-02 17:21:28 HKT)
starting pid 17, tty '': '/etc/rc.d/rcS'
This Board use 2.6.36.x
GMAC1_MAC_ADRH -- : 0x0000000c
GMAC1_MAC_ADRL -- : 0x4328800f
Ralink APSoC Ethernet Driver Initilization. v3.1  256 rx/tx descriptors allocated, mtu = 1500!
GMAC1_MAC_ADRH -- : 0x0000000c
GMAC1_MAC_ADRL -- : 0x4328802e
PROC INIT OK!
Lan Domain: tplinkrepeater.net
Lan Domain: www.tplinkrepeater.net
tp_dhcp_hook: module license 'unspecified' taints kernel.
Disabling lock debugging due to kernel taint
device eth2 entered promiscuous mode
====>>>>caldata: 76 28 DE AD 76 12 DE AD
====>>>>default mac is 00:00:00:00:00:00                                        <==== !!! Removed
====>>>>default mac is 00:00:00:00:00:00                                        <==== !!! Removed
[main:539]send a pipe message.

[daemonize:327]recv a pipe message.

[smartip_get_wifi_update_eth_bridge_status 514] open /tmp/wifi_update_eth_and_bridge file failed


httpMudCreate: MUD 0x4aba70 was created
httpServerCreate: try to add port 80
Raeth v3.1 (Tasklet)

phy_tx_ring = 0x03ffe000, tx_ring = 0xa3ffe000

phy_rx_ring0 = 0x03fff000, rx_ring0 = 0xa3fff000
Gpio Mode Value: 570444c4
Gpio Mode Value: 570444c4
GMAC1_MAC_ADRH -- : 0x000050c7
GMAC1_MAC_ADRL -- : 0xbf33548b
RT305x_ESW: Link Status Changed
starting pid 96, tty '': '/sbin/getty ttyS1 57600'
br0: port 1(eth2) entering forwarding state
br0: port 1(eth2) entering forwarding state

RE305 login: MT7628-->

=== pAd = c0507000, size = 1413224 ===

<-- RTMPAllocTxRxRingMemory, Status=0, ErrorValue=0x
<-- RTMPAllocAdapterBlock, Status=0
MT7628-->RtmpChipOpsHook(492): Not support for HIF_MT yet!
MT7628-->mt7628_init()-->
MT7628-->mt7628_init(FW(8a00), HW(8a01), CHIPID(7628))
MT7628-->e2.bin mt7628_init(1135)::(2), pChipCap->fw_len(63888)
MT7628-->mt_bcn_buf_init(218): Not support for HIF_MT yet!
MT7628--><--mt7628_init()
MT7612E-->register rt2860
MT7612E-->

=== pAd = c0c02000, size = 1726280 ===

<-- RTMPAllocTxRxRingMemory, Status=0
<-- RTMPAllocAdapterBlock, Status=0
MT7612E-->pAd->CSRBaseAddress =0xc0b00000, csr_addr=0xc0b00000!
MT7612E-->device_id =0x7662
MT7612E-->==>rlt_wlan_chip_onoff(): OnOff:1, Reset= 1, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0x20a
MT7612E-->E2pAccessMode=2
MT7612E-->cfg_mode=14
MT7612E-->cfg_mode=14
MT7612E-->wmode_band_equal(): Band Not Equal!
MT7612E-->APSDCapable[0]=1
MT7612E-->APSDCapable[1]=1
MT7612E-->APSDCapable[2]=1
MT7612E-->APSDCapable[3]=1
MT7612E-->APSDCapable[4]=1
MT7612E-->APSDCapable[5]=1
MT7612E-->APSDCapable[6]=1
MT7612E-->APSDCapable[7]=1
MT7612E-->APSDCapable[8]=1
MT7612E-->APSDCapable[9]=1
MT7612E-->APSDCapable[10]=1
MT7612E-->APSDCapable[11]=1
MT7612E-->APSDCapable[12]=1
MT7612E-->APSDCapable[13]=1
MT7612E-->APSDCapable[14]=1
MT7612E-->APSDCapable[15]=1
MT7612E-->default ApCliAPSDCapable[0]=1
MT7612E-->Key1Str is Invalid key length(0) or Type(0)
MT7612E-->Key2Str is Invalid key length(0) or Type(0)
MT7612E-->Key3Str is Invalid key length(0) or Type(0)
MT7612E-->Key4Str is Invalid key length(0) or Type(0)
MT7612E-->RTMPSetSingleSKUParameters - the country region is 0.                            <==== !!! Removed
MT7612E-->RTMPSetSingleSKUParameters - country code is XX .                            <==== !!! Removed
MT7612E-->RTMPSetSingleSKUParameters - the country DFSType is 0.                            <==== !!! Removed
MT7612E-->Loading SKU file: /etc_ro/Wireless/iNIC/SingleSKU_5G_CE.dat
MT7612E-->RtmpChipOpsEepromHook::e2p_type=2, inf_Type=5
MT7612E-->NVM is FLASH mode (pAd->flash_offset = 0x48000)
MT7612E-->get_dev_name_prefix(): dev_idx = 1, dev_name_prefix=rai
MT7628-->TX_BCN DESC a30ac000 size = 320
MT7628-->RX[0] DESC a30af000 size = 1024
MT7628-->RX[1] DESC a30b0000 size = 1024
MT7628-->E2pAccessMode=2
MT7628-->CountryCode=XX                                        <==== !!! Removed
MT7628-->cfg_mode=9
MT7628-->cfg_mode=9
MT7628-->wmode_band_equal(): Band Equal!
MT7628-->AndesSendCmdMsg: Could not send in band command due to diable fRTMP_ADAPTER_MCU_SEND_IN_BAND_CMD
MT7628-->APSDCapable[0]=1
MT7628-->APSDCapable[1]=1
MT7628-->APSDCapable[2]=1
MT7628-->APSDCapable[3]=1
MT7628-->APSDCapable[4]=1
MT7628-->APSDCapable[5]=1
MT7628-->APSDCapable[6]=1
MT7628-->APSDCapable[7]=1
MT7628-->APSDCapable[8]=1
MT7628-->APSDCapable[9]=1
MT7628-->APSDCapable[10]=1
MT7628-->APSDCapable[11]=1
MT7628-->APSDCapable[12]=1
MT7628-->APSDCapable[13]=1
MT7628-->APSDCapable[14]=1
MT7628-->APSDCapable[15]=1
MT7628-->default ApCliAPSDCapable[0]=1
MT7628-->Key1Str is Invalid key length(0) or Type(0)
MT7628-->Key2Str is Invalid key length(0) or Type(0)
MT7628-->Key3Str is Invalid key length(0) or Type(0)
MT7628-->Key4Str is Invalid key length(0) or Type(0)
MT7628-->Smart Carrier Sense = 1
MT7628-->RTMPSetSingleSKUParameters - the country region is 0.                            <==== !!! Removed
MT7628-->RTMPSetSingleSKUParameters - country code is XX .                            <==== !!! Removed
MT7628-->RTMPSetSingleSKUParameters - the country DFSType is 0.                            <==== !!! Removed
MT7628-->Loading SKU file: /etc_ro/Wireless/RT2860/SingleSKU_2G_CE.dat
MT7628-->load fw image from fw_header_image
MT7628-->AndesMTLoadFwMethod1(2182)::pChipCap->fw_len(63888)
MT7628-->FW Version:MT7628-->2MT7628-->0MT7628-->1MT7628-->5MT7628-->1MT7628-->2MT7628-->0MT7628-->1MT7628-->MT7628-->MT7628-->
MT7628-->FW Build Date:MT7628-->2MT7628-->0MT7628-->1MT7628-->5MT7628-->1MT7628-->2MT7628-->0MT7628-->1MT7628-->1MT7628-->8MT7628-->3MT7628-->6MT7628-->4MT7628-->1MT7628-->MT7628-->
MT7628-->CmdAddressLenReq:(ret = 0)
MT7628-->CmdFwStartReq: override = 1, address = 1048576
MT7628-->CmdStartDLRsp: WiFI FW Download Success
MT7628-->MtAsicDMASchedulerInit(): DMA Scheduler Mode=0(LMAC)
efuse_probe: efuse = 10000002
MT7628-->RtmpChipOpsEepromHook::e2p_type=2, inf_Type=4
MT7628-->RtmpEepromGetDefault::e2p_dafault=2
MT7628-->RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 2
MT7628-->NVM is FLASH mode
MT7628-->1. Phy Mode = 14
MT7628-->Country Region from e2p = ffff
tssi_1_target_pwr_g_band = 33
MT7628-->2. Phy Mode = 14
MT7628-->3. Phy Mode = 14
MT7628-->NICInitPwrPinCfg(11): Not support for HIF_MT yet!
MT7628-->NICInitializeAsic(651): Not support rtmp_mac_sys_reset () for HIF_MT yet!
MT7628-->mt_mac_init()-->
MT7628-->MtAsicInitMac()-->
MT7628-->mt7628_init_mac_cr()-->
MT7628-->MtAsicSetMacMaxLen(1276): Set the Max RxPktLen=1024!
MT7628--><--mt_mac_init()
MT7628-->       WTBL Segment 1 info:
MT7628-->               MemBaseAddr/FID:0x28000/0
MT7628-->               EntrySize/Cnt:32/128
MT7628-->       WTBL Segment 2 info:
MT7628-->               MemBaseAddr/FID:0x40000/0
MT7628-->               EntrySize/Cnt:64/128
MT7628-->       WTBL Segment 3 info:
MT7628-->               MemBaseAddr/FID:0x42000/64
MT7628-->               EntrySize/Cnt:64/128
MT7628-->       WTBL Segment 4 info:
MT7628-->               MemBaseAddr/FID:0x44000/128
MT7628-->               EntrySize/Cnt:32/128
MT7628-->AntCfgInit(2940): Not support for HIF_MT yet!
MT7628-->MCS Set = ff ff 00 00 01
MT7628-->MtAsicSetChBusyStat(861): Not support for HIF_MT yet!
MT7628-->[PMF]ap_pmf_init:: apidx=0, MFPC=0, MFPR=0, SHA256=0
MT7628-->MtAsicSetRalinkBurstMode(3051): Not support for HIF_MT yet!
MT7628-->MtAsicSetPiggyBack(796): Not support for HIF_MT yet!
MT7628-->MtAsicSetTxPreamble(3030): Not support for HIF_MT yet!
MT7628-->CmdSlotTimeSet:(ret = 0)
MT7628-->MtAsicSetPreTbtt(): bss_idx=0, PreTBTT timeout = 0xf0
MT7628-->Main bssid = 00:00:00:00:00:00                                        <==== !!! Removed
<==== rt28xx_init, Status=0
MT7628-->@@@ ed_monitor_init : ===>
MT7628-->@@@ ed_monitor_init : <===
MT7628-->mt7628_set_ed_cca: TURN ON EDCCA mac 0x10618 = 0xd7c87d0f, EDCCA_Status=1
MT7628-->WiFi Startup Cost (ra0): 1.956s
MT7628-->
====
@@@ ed_status_read: EDCCA TH - H
pAd->ed_trigger_cnt : 0 > 20 ||  pAd->ed_big_rssi_stat : 0 < 50
====
device ra0 entered promiscuous mode
br0: port 2(ra0) entering forwarding state
br0: port 2(ra0) entering forwarding state
MT7612E-->build time =
20141115060606a
MT7612E-->rom patch for E3 IC
MT7612E-->
MT7612E-->platform =
ALPS
MT7612E-->hw/sw version =
ŠŠ
MT7612E-->patch version =

MT7612E-->FW Version:0.0.00
MT7612E-->Build:1
MT7612E-->Build Time:201511101431____
MT7612E-->fw for E3 IC
MT7612E-->RX[0] DESC a25f8000 size = 4096
MT7612E-->RX[1] DESC a25f9000 size = 4096
MT7612E-->E2pAccessMode=2
MT7612E-->cfg_mode=14
MT7612E-->cfg_mode=14
MT7612E-->wmode_band_equal(): Band Not Equal!
MT7612E-->APSDCapable[0]=1
MT7612E-->APSDCapable[1]=1
MT7612E-->APSDCapable[2]=1
MT7612E-->APSDCapable[3]=1
MT7612E-->APSDCapable[4]=1
MT7612E-->APSDCapable[5]=1
MT7612E-->APSDCapable[6]=1
MT7612E-->APSDCapable[7]=1
MT7612E-->APSDCapable[8]=1
MT7612E-->APSDCapable[9]=1
MT7612E-->APSDCapable[10]=1
MT7612E-->APSDCapable[11]=1
MT7612E-->APSDCapable[12]=1
MT7612E-->APSDCapable[13]=1
MT7612E-->APSDCapable[14]=1
MT7612E-->APSDCapable[15]=1
MT7612E-->default ApCliAPSDCapable[0]=1
MT7612E-->Key1Str is Invalid key length(0) or Type(0)
MT7612E-->Key2Str is Invalid key length(0) or Type(0)
MT7612E-->Key3Str is Invalid key length(0) or Type(0)
MT7612E-->Key4Str is Invalid key length(0) or Type(0)
MT7612E-->RTMPSetSingleSKUParameters - the country region is 0.                            <==== !!! Removed
MT7612E-->RTMPSetSingleSKUParameters - country code is XX .                            <==== !!! Removed
MT7612E-->RTMPSetSingleSKUParameters - the country DFSType is 0.                            <==== !!! Removed
MT7612E-->Loading SKU file: /etc_ro/Wireless/iNIC/SingleSKU_5G_CE.dat
MT7612E-->1. Phy Mode = 49
MT7612E-->get_chl_grp:illegal channel (167)
MT7612E-->get_chl_grp:illegal channel (167)
MT7612E-->get_chl_grp:illegal channel (169)
MT7612E-->get_chl_grp:illegal channel (169)
MT7612E-->get_chl_grp:illegal channel (171)
MT7612E-->get_chl_grp:illegal channel (171)
Mt7612E--> mt76x2_read_chl_pwr:2934 assert (ad->TxPower[choffset].Channel == 42)failed
MT7612E-->Country Region from e2p = ffff
MT7612E-->mt76x2_read_temp_info_from_eeprom:: is_temp_tx_alc=0, temp_tx_alc_enable=0
MT7612E-->mt76x2_read_tx_alc_info_from_eeprom:: is_ePA_mode=0, ePA_type=3
MT7612E-->mt76x2_read_tx_alc_info_from_eeprom:: [5G band] high_temp_slope=0, low_temp_slope=0
MT7612E-->mt76x2_read_tx_alc_info_from_eeprom:: [2G band] high_temp_slope=0, low_temp_slope=0
MT7612E-->mt76x2_read_tx_alc_info_from_eeprom:: [5G band] tc_lower_bound=0, tc_upper_bound=0
MT7612E-->mt76x2_read_tx_alc_info_from_eeprom:: [2G band] tc_lower_bound=0, tc_upper_bound=0
MT7612E-->mt76x2_get_external_lna_gain::LNA type=0x11, BLNAGain=0x0, ALNAGain0=0x0, ALNAGain1=0x0, ALNAGain2=0x0
MT7612E-->2. Phy Mode = 49
MT7612E-->3. Phy Mode = 49
MT7612E-->andes_pci_fw_init
MT7612E-->0x1300 = 00073200
MT7612E-->AntCfgInit: primary/secondary ant 0/1
MT7612E-->andes_load_cr:cr_type(2)
MT7612E-->ChipStructAssign(): MT76x2 hook !
MT7612E-->MCS Set = ff ff 00 00 01
MT7612E-->mt76x2_bbp_adjust():rf_bw=2, ext_ch=1, PrimCh=36, HT-CentCh=38, VHT-CentCh=42
MT7612E-->====> mt76x2_ePA_per_rate_compensate_init: 5786 is_ePA: 0
MT7612E-->TX0 power compensation = 0x38
MT7612E-->TX1 power compensation = 0x38
MT7612E-->APStartUp(): AP Set CentralFreq at 42(Prim=36, HT-CentCh=38, VHT-CentCh=42, BBP_BW=2)
MT7612E-->mt76x2_calibration(channel = 42)
MT7612E-->The 2-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 2
MT7612E-->@@@ ed_monitor_init : ===>
MT7612E-->@@@ ed_monitor_init : <===
MT7612E-->Main bssid = 00:00:00:00:00:00                                        <==== !!! Removed
MT7612E-->mt76x2_reinit_agc_gain:original agc_vga0 = 0x5c, agc_vga1 = 0x5c
MT7612E-->mt76x2_reinit_agc_gain:updated agc_vga0 = 0x5c, agc_vga1 = 0x5c
MT7612E-->mt76x2_reinit_hi_lna_gain:original hi_lna0 = 0x27, hi_lna1 = 0x27
MT7612E-->mt76x2_reinit_hi_lna_gain:updated hi_lna0 = 0x27, hi_lna1 = 0x27
MT7612E-->original vga value(chain0) = 5c
MT7612E-->original vga value(chain1) = 5c
<==== rt28xx_init, Status=0
MT7612E-->get_dev_name_prefix(): dev_idx = 1, dev_name_prefix=apclii
MT7612E-->RTMPDrvOpen(1):Check if PDMA is idle!
MT7612E-->RTMPDrvOpen(2):Check if PDMA is idle!
MT7612E-->@@@ ed_monitor_init : ===>
MT7612E-->@@@ ed_monitor_init : <===
Number of Packet Allocated in open = 532
Number of Packet Freed in open = 19
device rai0 entered promiscuous mode
br0: port 3(rai0) entering forwarding state
br0: port 3(rai0) entering forwarding state
MT7628-->MtAsicSetPreTbtt(): bss_idx=0, PreTBTT timeout = 0x0
MT7628-->MtAsicSetPiggyBack(796): Not support for HIF_MT yet!
MT7628-->tx_kickout_fail_count = 0
MT7628-->tx_timeout_fail_count = 0
MT7628-->rx_receive_fail_count = 0
MT7628-->alloc_cmd_msg = 45
MT7628-->free_cmd_msg = 45
br0: port 2(ra0) entering forwarding state
MT7628-->TX_BCN DESC a30ac000 size = 320
MT7628-->RX[0] DESC a30af000 size = 1024
MT7628-->RX[1] DESC a30b0000 size = 1024
MT7628-->E2pAccessMode=2
MT7628-->CountryCode=XX                                        <==== !!! Removed
MT7628-->cfg_mode=9
MT7628-->cfg_mode=9
MT7628-->wmode_band_equal(): Band Equal!
MT7628-->AndesSendCmdMsg: Could not send in band command due to diable fRTMP_ADAPTER_MCU_SEND_IN_BAND_CMD
MT7628-->APSDCapable[0]=1
MT7628-->APSDCapable[1]=1
MT7628-->APSDCapable[2]=1
MT7628-->APSDCapable[3]=1
MT7628-->APSDCapable[4]=1
MT7628-->APSDCapable[5]=1
MT7628-->APSDCapable[6]=1
MT7628-->APSDCapable[7]=1
MT7628-->APSDCapable[8]=1
MT7628-->APSDCapable[9]=1
MT7628-->APSDCapable[10]=1
MT7628-->APSDCapable[11]=1
MT7628-->APSDCapable[12]=1
MT7628-->APSDCapable[13]=1
MT7628-->APSDCapable[14]=1
MT7628-->APSDCapable[15]=1
MT7628-->default ApCliAPSDCapable[0]=1
MT7628-->Key1Str is Invalid key length(0) or Type(0)
MT7628-->Key2Str is Invalid key length(0) or Type(0)
MT7628-->Key3Str is Invalid key length(0) or Type(0)
MT7628-->Key4Str is Invalid key length(0) or Type(0)
MT7628-->Smart Carrier Sense = 1
MT7628-->RTMPSetSingleSKUParameters - the country region is 0.                            <==== !!! Removed
MT7628-->RTMPSetSingleSKUParameters - country code is XX .                            <==== !!! Removed
MT7628-->RTMPSetSingleSKUParameters - the country DFSType is 0.                            <==== !!! Removed
MT7628-->Loading SKU file: /etc_ro/Wireless/RT2860/SingleSKU_2G_CE.dat
MT7628-->load fw image from fw_header_image
MT7628-->AndesMTLoadFwMethod1(2182)::pChipCap->fw_len(63888)
MT7628-->FW Version:MT7628-->2MT7628-->0MT7628-->1MT7628-->5MT7628-->1MT7628-->2MT7628-->0MT7628-->1MT7628-->MT7628-->MT7628-->
MT7628-->FW Build Date:MT7628-->2MT7628-->0MT7628-->1MT7628-->5MT7628-->1MT7628-->2MT7628-->0MT7628-->1MT7628-->1MT7628-->8MT7628-->3MT7628-->6MT7628-->4MT7628-->1MT7628-->MT7628-->
MT7628-->CmdReStartDLRsp: WiFI FW Download Success
MT7628-->CmdAddressLenReq:(ret = 0)
MT7628-->CmdFwStartReq: override = 1, address = 1048576
MT7628-->CmdStartDLRsp: WiFI FW Download Success
MT7628-->MtAsicDMASchedulerInit(): DMA Scheduler Mode=0(LMAC)
efuse_probe: efuse = 10000002
MT7628-->RtmpChipOpsEepromHook::e2p_type=2, inf_Type=4
MT7628-->RtmpEepromGetDefault::e2p_dafault=2
MT7628-->RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 2
MT7628-->NVM is FLASH mode
MT7628-->1. Phy Mode = 14
MT7628-->Country Region from e2p = ffff
tssi_1_target_pwr_g_band = 33
MT7628-->2. Phy Mode = 14
MT7628-->3. Phy Mode = 14
MT7628-->NICInitPwrPinCfg(11): Not support for HIF_MT yet!
MT7628-->NICInitializeAsic(651): Not support rtmp_mac_sys_reset () for HIF_MT yet!
MT7628-->mt_mac_init()-->
MT7628-->MtAsicInitMac()-->
MT7628-->mt7628_init_mac_cr()-->
MT7628-->MtAsicSetMacMaxLen(1276): Set the Max RxPktLen=1024!
MT7628--><--mt_mac_init()
MT7628-->       WTBL Segment 1 info:
MT7628-->               MemBaseAddr/FID:0x28000/0
MT7628-->               EntrySize/Cnt:32/128
MT7628-->       WTBL Segment 2 info:
MT7628-->               MemBaseAddr/FID:0x40000/0
MT7628-->               EntrySize/Cnt:64/128
MT7628-->       WTBL Segment 3 info:
MT7628-->               MemBaseAddr/FID:0x42000/64
MT7628-->               EntrySize/Cnt:64/128
MT7628-->       WTBL Segment 4 info:
MT7628-->               MemBaseAddr/FID:0x44000/128
MT7628-->               EntrySize/Cnt:32/128
MT7628-->AntCfgInit(2940): Not support for HIF_MT yet!
MT7628-->MCS Set = ff ff 00 00 01
MT7628-->MtAsicSetChBusyStat(861): Not support for HIF_MT yet!
MT7628-->[PMF]ap_pmf_init:: apidx=0, MFPC=0, MFPR=0, SHA256=0
MT7628-->MtAsicSetRalinkBurstMode(3051): Not support for HIF_MT yet!
MT7628-->MtAsicSetPiggyBack(796): Not support for HIF_MT yet!
MT7628-->MtAsicSetTxPreamble(3030): Not support for HIF_MT yet!
MT7628-->MtAsicSetPreTbtt(): bss_idx=0, PreTBTT timeout = 0xf0
MT7628-->Main bssid = 00:00:00:00:00:00                                        <==== !!! Removed
<==== rt28xx_init, Status=0
MT7628-->@@@ ed_monitor_init : ===>
MT7628-->@@@ ed_monitor_init : <===
MT7628-->mt7628_set_ed_cca: TURN ON EDCCA mac 0x10618 = 0xd7c87d0f, EDCCA_Status=1
MT7628-->WiFi Startup Cost (ra0): 1.936s
MT7628-->
====
@@@ ed_status_read: EDCCA TH - H
pAd->ed_trigger_cnt : 0 > 20 ||  pAd->ed_big_rssi_stat : 0 < 50
====
br0: port 2(ra0) entering forwarding state
br0: port 2(ra0) entering forwarding state
MT7612E-->The 2-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 2
MT7612E-->@@@ APStop: go to ed_monitor_exit()!!
MT7612E-->@@@ ed_monitor_exit : ===>
MT7612E-->@@@ ed_monitor_exit : <===
ERROR!!! MlmeEnqueue: fRTMP_ADAPTER_HALT_IN_PROGRESS
MT7612E-->andes_pci_erasefw
201511101431____
MT7612E-->==>rlt_wlan_chip_onoff(): OnOff:0, Reset= 0, pAd->WlanFunCtrl:0x20b, Reg-WlanFunCtrl=0x20b
MT7612E-->RTMP_TimerListRelease: release timer obj c0c12338!
MT7612E-->RTMP_TimerListRelease: release timer obj c0d22d1c!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9a638!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9ce80!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9cf14!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9cfa8!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9d03c!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9d0d0!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9d164!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9d1f8!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9d28c!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9d320!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9d3b4!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9d448!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9d4dc!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9d570!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9d604!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9d698!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9d72c!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9a60c!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9a664!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9ce54!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9cee8!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9cf7c!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9d010!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9d0a4!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9d138!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9d1cc!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9d260!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9d2f4!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9d388!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9d41c!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9d4b0!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9d544!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9d5d8!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9d66c!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9d700!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9a5e0!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c163c0!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c15fa4!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c16390!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c166cc!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c1660c!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c1663c!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c19668!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c1924c!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c19638!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c19974!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c198b4!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c198e4!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c1c910!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c1c4f4!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c1c8e0!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c1cc1c!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c1cb5c!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c1cb8c!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c1fbb8!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c1f79c!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c1fb88!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c1fec4!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c1fe04!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c1fe34!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c22e60!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c22a44!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c22e30!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c2316c!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c230ac!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c230dc!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c26108!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c25cec!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c260d8!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c26414!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c26354!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c26384!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c293b0!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c28f94!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c29380!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c296bc!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c295fc!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c2962c!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c2c658!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c2c23c!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c2c628!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c2c964!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c2c8a4!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c2c8d4!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9cabc!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9c6a0!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9ca8c!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9cdc8!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9caec!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9cb1c!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9cb4c!
MT7612E-->RTMP_TimerListRelease: release timer obj c0ccea9c!
MT7612E-->RTMP_TimerListRelease: release timer obj c0cceb8c!
MT7612E-->RTMP_TimerListRelease: release timer obj c0cceac8!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9e87c!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c13810!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c16ab8!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c19d60!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c1d008!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c202b0!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c23558!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c26800!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c29aa8!
MT7612E-->RTMP_TimerListRelease: release timer obj c0c9e590!
MT7612E-->RTMP_TimerListRelease: release timer obj c0ca7c24!
MT7612E-->RTMP_TimerListRelease: release timer obj c0da76e8!
br0: port 3(rai0) entering forwarding state
MT7612E-->==>rlt_wlan_chip_onoff(): OnOff:1, Reset= 0, pAd->WlanFunCtrl:0x208, Reg-WlanFunCtrl=0x209
MT7612E-->build time =
20141115060606a
MT7612E-->rom patch for E3 IC
MT7612E-->
MT7612E-->platform =
ALPS
MT7612E-->hw/sw version =
ŠŠ
MT7612E-->patch version =

MT7612E-->FW Version:0.0.00
MT7612E-->Build:1
MT7612E-->Build Time:201511101431____
MT7612E-->fw for E3 IC
MT7612E-->RX[0] DESC a25f8000 size = 4096
MT7612E-->RX[1] DESC a25f9000 size = 4096
MT7612E-->E2pAccessMode=2
MT7612E-->cfg_mode=14
MT7612E-->cfg_mode=14
MT7612E-->wmode_band_equal(): Band Not Equal!
MT7612E-->APSDCapable[0]=1
MT7612E-->APSDCapable[1]=1
MT7612E-->APSDCapable[2]=1
MT7612E-->APSDCapable[3]=1
MT7612E-->APSDCapable[4]=1
MT7612E-->APSDCapable[5]=1
MT7612E-->APSDCapable[6]=1
MT7612E-->APSDCapable[7]=1
MT7612E-->APSDCapable[8]=1
MT7612E-->APSDCapable[9]=1
MT7612E-->APSDCapable[10]=1
MT7612E-->APSDCapable[11]=1
MT7612E-->APSDCapable[12]=1
MT7612E-->APSDCapable[13]=1
MT7612E-->APSDCapable[14]=1
MT7612E-->APSDCapable[15]=1
MT7612E-->default ApCliAPSDCapable[0]=1
MT7612E-->Key1Str is Invalid key length(0) or Type(0)
MT7612E-->Key2Str is Invalid key length(0) or Type(0)
MT7612E-->Key3Str is Invalid key length(0) or Type(0)
MT7612E-->Key4Str is Invalid key length(0) or Type(0)
MT7612E-->RTMPSetSingleSKUParameters - the country region is 0.                            <==== !!! Removed
MT7612E-->RTMPSetSingleSKUParameters - country code is XX .                            <==== !!! Removed
MT7612E-->RTMPSetSingleSKUParameters - the country DFSType is 0.                            <==== !!! Removed
MT7612E-->Loading SKU file: /etc_ro/Wireless/iNIC/SingleSKU_5G_CE.dat
MT7612E-->1. Phy Mode = 49
MT7612E-->get_chl_grp:illegal channel (167)
MT7612E-->get_chl_grp:illegal channel (167)
MT7612E-->get_chl_grp:illegal channel (169)
MT7612E-->get_chl_grp:illegal channel (169)
MT7612E-->get_chl_grp:illegal channel (171)
MT7612E-->get_chl_grp:illegal channel (171)
Mt7612E--> mt76x2_read_chl_pwr:2934 assert (ad->TxPower[choffset].Channel == 42)failed
MT7612E-->Country Region from e2p = ffff
MT7612E-->mt76x2_read_temp_info_from_eeprom:: is_temp_tx_alc=0, temp_tx_alc_enable=0
MT7612E-->mt76x2_read_tx_alc_info_from_eeprom:: is_ePA_mode=0, ePA_type=3
MT7612E-->mt76x2_read_tx_alc_info_from_eeprom:: [5G band] high_temp_slope=0, low_temp_slope=0
MT7612E-->mt76x2_read_tx_alc_info_from_eeprom:: [2G band] high_temp_slope=0, low_temp_slope=0
MT7612E-->mt76x2_read_tx_alc_info_from_eeprom:: [5G band] tc_lower_bound=0, tc_upper_bound=0
MT7612E-->mt76x2_read_tx_alc_info_from_eeprom:: [2G band] tc_lower_bound=0, tc_upper_bound=0
MT7612E-->mt76x2_get_external_lna_gain::LNA type=0x11, BLNAGain=0x0, ALNAGain0=0x0, ALNAGain1=0x0, ALNAGain2=0x0
MT7612E-->2. Phy Mode = 49
MT7612E-->3. Phy Mode = 49
MT7612E-->andes_pci_fw_init
MT7612E-->0x1300 = 00064300
MT7612E-->AntCfgInit: primary/secondary ant 0/1
MT7612E-->andes_load_cr:cr_type(2)
MT7612E-->ChipStructAssign(): MT76x2 hook !
MT7612E-->MCS Set = ff ff 00 00 01
MT7612E-->mt76x2_bbp_adjust():rf_bw=2, ext_ch=1, PrimCh=36, HT-CentCh=38, VHT-CentCh=42
MT7612E-->====> mt76x2_ePA_per_rate_compensate_init: 5786 is_ePA: 0
MT7612E-->TX0 power compensation = 0x38
MT7612E-->TX1 power compensation = 0x38
MT7612E-->APStartUp(): AP Set CentralFreq at 42(Prim=36, HT-CentCh=38, VHT-CentCh=42, BBP_BW=2)
MT7612E-->mt76x2_calibration(channel = 42)
MT7612E-->The 2-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 2
MT7612E-->@@@ ed_monitor_init : ===>
MT7612E-->@@@ ed_monitor_init : <===
MT7612E-->Main bssid = 00:00:00:00:00:00                                        <==== !!! Removed
MT7612E-->mt76x2_reinit_agc_gain:original agc_vga0 = 0x5c, agc_vga1 = 0x5c
MT7612E-->mt76x2_reinit_agc_gain:updated agc_vga0 = 0x5c, agc_vga1 = 0x5c
MT7612E-->mt76x2_reinit_hi_lna_gain:original hi_lna0 = 0x27, hi_lna1 = 0x27
MT7612E-->mt76x2_reinit_hi_lna_gain:updated hi_lna0 = 0x27, hi_lna1 = 0x27
MT7612E-->original vga value(chain0) = 5c
MT7612E-->original vga value(chain1) = 5c
<==== rt28xx_init, Status=0
MT7612E-->RTMPDrvOpen(1):Check if PDMA is idle!
MT7612E-->RTMPDrvOpen(2):Check if PDMA is idle!
MT7612E-->@@@ ed_monitor_init : ===>
MT7612E-->@@@ ed_monitor_init : <===
Number of Packet Allocated in open = 1168
Number of Packet Freed in open = 656
br0: port 3(rai0) entering forwarding state
br0: port 3(rai0) entering forwarding state
MT7628-->MtAsicSetPreTbtt(): bss_idx=0, PreTBTT timeout = 0x0
MT7628-->MtAsicSetPiggyBack(796): Not support for HIF_MT yet!
MT7628-->[PMF]ap_pmf_init:: apidx=0, MFPC=0, MFPR=0, SHA256=0
MT7628-->MtAsicSetRalinkBurstMode(3051): Not support for HIF_MT yet!
MT7628-->MtAsicSetPiggyBack(796): Not support for HIF_MT yet!
MT7628-->MtAsicSetTxPreamble(3030): Not support for HIF_MT yet!
MT7628-->AddTxSType: already registered TxSType (PID = 32, Format = 0
MT7628-->AddTxSType: already registered TxSType (PID = 6, Format = 0
MT7628-->AddTxSType: already registered TxSType (PID = 8, Format = 0
MT7628-->MtAsicSetPreTbtt(): bss_idx=0, PreTBTT timeout = 0xf0
MT7628-->Main bssid = 00:00:00:00:00:00                                        <==== !!! Removed
MT7612E-->@@@ APStop: go to ed_monitor_exit()!!
MT7612E-->@@@ ed_monitor_exit : ===>
MT7612E-->@@@ ed_monitor_exit : <===
MT7612E-->mt76x2_bbp_adjust():rf_bw=2, ext_ch=1, PrimCh=36, HT-CentCh=38, VHT-CentCh=42
MT7612E-->====> mt76x2_ePA_per_rate_compensate_init: 5786 is_ePA: 0
MT7612E-->APStartUp(): AP Set CentralFreq at 42(Prim=36, HT-CentCh=38, VHT-CentCh=42, BBP_BW=2)
MT7612E-->mt76x2_calibration(channel = 42)
MT7612E-->The 2-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 2
MT7612E-->@@@ ed_monitor_init : ===>
MT7612E-->@@@ ed_monitor_init : <===
MT7612E-->====> mt76x2_ePA_per_rate_compensate_init: 5786 is_ePA: 0
MT7612E-->cfg_mode=15
MT7612E-->wmode_band_equal(): Band Equal!
MT7612E-->====> mt76x2_ePA_per_rate_compensate_init: 5786 is_ePA: 0
MT7612E-->@@@ APStop: go to ed_monitor_exit()!!
MT7612E-->@@@ ed_monitor_exit : ===>
MT7612E-->@@@ ed_monitor_exit : <===
MT7612E-->mt76x2_bbp_adjust():rf_bw=2, ext_ch=1, PrimCh=36, HT-CentCh=38, VHT-CentCh=42
MT7612E-->====> mt76x2_ePA_per_rate_compensate_init: 5786 is_ePA: 0
MT7612E-->APStartUp(): AP Set CentralFreq at 42(Prim=36, HT-CentCh=38, VHT-CentCh=42, BBP_BW=2)
MT7612E-->mt76x2_calibration(channel = 42)
MT7612E-->The 2-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 2
MT7612E-->@@@ ed_monitor_init : ===>
MT7612E-->@@@ ed_monitor_init : <===
MT7612E-->@@@ APStop: go to ed_monitor_exit()!!
MT7612E-->@@@ ed_monitor_exit : ===>
MT7612E-->@@@ ed_monitor_exit : <===
MT7612E-->mt76x2_bbp_adjust():rf_bw=2, ext_ch=1, PrimCh=36, HT-CentCh=38, VHT-CentCh=42
MT7612E-->====> mt76x2_ePA_per_rate_compensate_init: 5786 is_ePA: 0
MT7612E-->APStartUp(): AP Set CentralFreq at 42(Prim=36, HT-CentCh=38, VHT-CentCh=42, BBP_BW=2)
MT7612E-->mt76x2_calibration(channel = 42)
MT7612E-->The 2-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 2
MT7612E-->@@@ ed_monitor_init : ===>
MT7612E-->@@@ ed_monitor_init : <===
MT7612E-->@@@ APStop: go to ed_monitor_exit()!!
MT7612E-->@@@ ed_monitor_exit : ===>
MT7612E-->@@@ ed_monitor_exit : <===
MT7612E-->mt76x2_bbp_adjust():rf_bw=2, ext_ch=1, PrimCh=36, HT-CentCh=38, VHT-CentCh=42
MT7612E-->====> mt76x2_ePA_per_rate_compensate_init: 5786 is_ePA: 0
MT7612E-->APStartUp(): AP Set CentralFreq at 42(Prim=36, HT-CentCh=38, VHT-CentCh=42, BBP_BW=2)
MT7612E-->mt76x2_calibration(channel = 42)
MT7612E-->The 2-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 2
MT7612E-->@@@ ed_monitor_init : ===>
MT7612E-->@@@ ed_monitor_init : <===
MT7612E-->====> mt76x2_ePA_per_rate_compensate_init: 5786 is_ePA: 0
MT7612E-->====> mt76x2_ePA_per_rate_compensate_init: 5786 is_ePA: 0
MT7612E-->====> mt76x2_ePA_per_rate_compensate_init: 5786 is_ePA: 0
MT7612E-->====> mt76x2_ePA_per_rate_compensate_init: 5786 is_ePA: 0
MT7612E-->====> mt76x2_ePA_per_rate_compensate_init: 5786 is_ePA: 0
MT7612E-->====> mt76x2_ePA_per_rate_compensate_init: 5786 is_ePA: 0
MT7612E-->====> mt76x2_ePA_per_rate_compensate_init: 5786 is_ePA: 0
MT7612E-->====> mt76x2_ePA_per_rate_compensate_init: 5786 is_ePA: 0
MT7612E-->====> mt76x2_ePA_per_rate_compensate_init: 5786 is_ePA: 0
MT7612E-->====> mt76x2_ePA_per_rate_compensate_init: 5786 is_ePA: 0
MT7612E-->====> mt76x2_ePA_per_rate_compensate_init: 5786 is_ePA: 0
MT7612E-->====> mt76x2_ePA_per_rate_compensate_init: 5786 is_ePA: 0
MT7612E-->====> mt76x2_ePA_per_rate_compensate_init: 5786 is_ePA: 0
MT7612E-->====> mt76x2_ePA_per_rate_compensate_init: 5786 is_ePA: 0
MT7612E-->====> mt76x2_ePA_per_rate_compensate_init: 5786 is_ePA: 0
MT7612E-->====> mt76x2_ePA_per_rate_compensate_init: 5786 is_ePA: 0
MT7612E-->SYNC - End of SCAN, restore to 80MHz channel 42, Total BSS[02]
MT7612E-->Channel 36 : Dirty = 140, False CCA = 6, Busy Time = 0, Skip Channel = FALSE
MT7612E-->Channel 40 : Dirty = 64, False CCA = 2, Busy Time = 0, Skip Channel = FALSE
MT7612E-->Channel 44 : Dirty = 0, False CCA = 5, Busy Time = 0, Skip Channel = FALSE
MT7612E-->Channel 48 : Dirty = 0, False CCA = 1, Busy Time = 0, Skip Channel = FALSE
MT7612E-->Channel 52 : Dirty = 0, False CCA = 0, Busy Time = 0, Skip Channel = FALSE
MT7612E-->Channel 56 : Dirty = 0, False CCA = 1, Busy Time = 0, Skip Channel = FALSE
MT7612E-->Channel 60 : Dirty = 0, False CCA = 5, Busy Time = 0, Skip Channel = FALSE
MT7612E-->Channel 64 : Dirty = 0, False CCA = 0, Busy Time = 0, Skip Channel = FALSE
MT7612E-->Channel 100 : Dirty = 0, False CCA = 26, Busy Time = 0, Skip Channel = FALSE
MT7612E-->Channel 104 : Dirty = 0, False CCA = 0, Busy Time = 0, Skip Channel = FALSE
MT7612E-->Channel 108 : Dirty = 0, False CCA = 0, Busy Time = 0, Skip Channel = FALSE
MT7612E-->Channel 112 : Dirty = 0, False CCA = 0, Busy Time = 0, Skip Channel = FALSE
MT7612E-->Channel 132 : Dirty = 0, False CCA = 0, Busy Time = 0, Skip Channel = FALSE
MT7612E-->Channel 136 : Dirty = 0, False CCA = 0, Busy Time = 0, Skip Channel = FALSE
MT7612E-->Channel 140 : Dirty = 0, False CCA = 0, Busy Time = 0, Skip Channel = FALSE
MT7612E-->@@@ APStop: go to ed_monitor_exit()!!
MT7612E-->@@@ ed_monitor_exit : ===>
MT7612E-->@@@ ed_monitor_exit : <===
MT7612E-->mt76x2_bbp_adjust():rf_bw=2, ext_ch=1, PrimCh=36, HT-CentCh=38, VHT-CentCh=42
MT7612E-->====> mt76x2_ePA_per_rate_compensate_init: 5786 is_ePA: 0
MT7612E-->APStartUp(): AP Set CentralFreq at 42(Prim=36, HT-CentCh=38, VHT-CentCh=42, BBP_BW=2)
MT7612E-->mt76x2_calibration(channel = 42)
MT7612E-->The 2-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 2
MT7612E-->@@@ ed_monitor_init : ===>
MT7612E-->@@@ ed_monitor_init : <===
MT7628-->cfg_mode=6
MT7628-->wmode_band_equal(): Band Equal!
MT7628-->AddTxSType: already registered TxSType (PID = 32, Format = 0
MT7628-->MtAsicSetPreTbtt(): bss_idx=0, PreTBTT timeout = 0x0
MT7628-->MtAsicSetPiggyBack(796): Not support for HIF_MT yet!
MT7628-->[PMF]ap_pmf_init:: apidx=0, MFPC=0, MFPR=0, SHA256=0
MT7628-->MtAsicSetRalinkBurstMode(3051): Not support for HIF_MT yet!
MT7628-->MtAsicSetPiggyBack(796): Not support for HIF_MT yet!
MT7628-->MtAsicSetTxPreamble(3030): Not support for HIF_MT yet!
MT7628-->AddTxSType: already registered TxSType (PID = 32, Format = 0
MT7628-->AddTxSType: already registered TxSType (PID = 6, Format = 0
MT7628-->AddTxSType: already registered TxSType (PID = 8, Format = 0
MT7628-->MtAsicSetPreTbtt(): bss_idx=0, PreTBTT timeout = 0xf0
MT7628-->Main bssid = 00:00:00:00:00:00                                        <==== !!! Removed
MT7628-->MtAsicSetPreTbtt(): bss_idx=0, PreTBTT timeout = 0x0
MT7628-->MtAsicSetPiggyBack(796): Not support for HIF_MT yet!
MT7628-->[PMF]ap_pmf_init:: apidx=0, MFPC=0, MFPR=0, SHA256=0
MT7628-->[PMF]RTMPMakeRsnIeCap: RSNIE Capability MFPC=0, MFPR=0
MT7628-->MtAsicSetRalinkBurstMode(3051): Not support for HIF_MT yet!
MT7628-->MtAsicSetPiggyBack(796): Not support for HIF_MT yet!
MT7628-->MtAsicSetTxPreamble(3030): Not support for HIF_MT yet!
MT7628-->MtAsicAddSharedKeyEntry(1343): Not support for HIF_MT yet!
MT7628-->AddTxSType: already registered TxSType (PID = 32, Format = 0
MT7628-->AddTxSType: already registered TxSType (PID = 6, Format = 0
MT7628-->AddTxSType: already registered TxSType (PID = 8, Format = 0
MT7628-->MtAsicSetPreTbtt(): bss_idx=0, PreTBTT timeout = 0xf0
MT7628-->Main bssid = 00:00:00:00:00:00                                        <==== !!! Removed
MT7628-->MtAsicSetPreTbtt(): bss_idx=0, PreTBTT timeout = 0x0
MT7628-->MtAsicSetPiggyBack(796): Not support for HIF_MT yet!
MT7628-->[PMF]ap_pmf_init:: apidx=0, MFPC=0, MFPR=0, SHA256=0
MT7628-->[PMF]RTMPMakeRsnIeCap: RSNIE Capability MFPC=0, MFPR=0
MT7628-->MtAsicSetRalinkBurstMode(3051): Not support for HIF_MT yet!
MT7628-->MtAsicSetPiggyBack(796): Not support for HIF_MT yet!
MT7628-->MtAsicSetTxPreamble(3030): Not support for HIF_MT yet!
MT7628-->MtAsicAddSharedKeyEntry(1343): Not support for HIF_MT yet!
MT7628-->AddTxSType: already registered TxSType (PID = 32, Format = 0
MT7628-->AddTxSType: already registered TxSType (PID = 6, Format = 0
MT7628-->AddTxSType: already registered TxSType (PID = 8, Format = 0
MT7628-->MtAsicSetPreTbtt(): bss_idx=0, PreTBTT timeout = 0xf0
MT7628-->Main bssid = 00:00:00:00:00:00                                        <==== !!! Removed
MT7628-->MtAsicSetPreTbtt(): bss_idx=0, PreTBTT timeout = 0x0
MT7628-->MtAsicSetPiggyBack(796): Not support for HIF_MT yet!
MT7628-->[PMF]ap_pmf_init:: apidx=0, MFPC=0, MFPR=0, SHA256=0
MT7628-->[PMF]RTMPMakeRsnIeCap: RSNIE Capability MFPC=0, MFPR=0
MT7628-->MtAsicSetRalinkBurstMode(3051): Not support for HIF_MT yet!
MT7628-->MtAsicSetPiggyBack(796): Not support for HIF_MT yet!
MT7628-->MtAsicSetTxPreamble(3030): Not support for HIF_MT yet!
MT7628-->MtAsicAddSharedKeyEntry(1343): Not support for HIF_MT yet!
MT7628-->AddTxSType: already registered TxSType (PID = 32, Format = 0
MT7628-->AddTxSType: already registered TxSType (PID = 6, Format = 0
MT7628-->AddTxSType: already registered TxSType (PID = 8, Format = 0
MT7628-->MtAsicSetPreTbtt(): bss_idx=0, PreTBTT timeout = 0xf0
MT7628-->Main bssid = 00:00:00:00:00:00                                        <==== !!! Removed
ra0:rai0:eth2
Set: phy[0].reg[0] = 3900
Set: phy[1].reg[0] = 3900
Set: phy[2].reg[0] = RT305x_ESW: Link Status Changed
3900
Set: phy[3].reg[0] = 3900
Set: phy[4].reg[0] = 3900
Set: phy[0].reg[0] = 3300
Set: phy[1].reg[0] = 3300
Set: phy[2].reg[0] = 3300
Set: phy[3].reg[0] = 3300
Set: phy[4].reg[0] = 3300
Reset Mii Port Value Over.
wpsd[wpsd_check_available_status:1138]: wps is disabled.

wpsd[main:1846]: wpsd open failed.
RT305x_ESW: Link Status Changed

RE305 login: root
Password:
Jun 25 19:30:30 login[96]: root login on 'ttyS1'
~ #
~ #

if you need more infos, just ask.

Thanks Robert

(Last edited by RobertD on 25 Jun 2017, 19:56)

Hi tmo26

sounds good.

i had now found (thx openwrt wiki) a way to stop the boot-process.
press+hold key "4" at startup process.

printenv give me:

MT7628 # printenv
bootcmd=tftp
bootdelay=1
baudrate=57600
ethaddr="00:00:00:00:00:00"         <=== !!! removed
ipaddr=192.168.0.254
serverip=192.168.0.184
stdin=serial
stdout=serial
stderr=serial

Environment size: 153/4092 bytes

uboot-commands:

U-Boot 1.1.3 (Nov  2 2016 - 17:16:57)
MT7628 #
MT7628 #
MT7628 # help
?       - alias for 'help'
base    - print or set address offset
bdinfo  - print Board Info structure
bootm   - boot application image from memory
bootp   - boot image via network using BootP/TFTP protocol
coninfo - print console devices and information
cp      - memory copy
crc32   - checksum calculation
erase   - erase SPI FLASH memory
go      - start application at address 'addr'
help    - print online help
iminfo  - print header information for application image
loadb   - load binary file over serial line (kermit mode)
loop    - infinite loop on address range
md      - memory display
mdio   - Ralink PHY register R/W command !!
mm      - memory modify (auto-incrementing)
mtest   - simple RAM test
nm      - memory modify (constant address)
printenv- print environment variables
rarpboot- boot image via network using RARP/TFTP protocol
reset   - Perform RESET of the CPU
rf      - read/write rf register
saveenv - save environment variables to persistent storage
setenv  - set environment variables
sleep   - delay execution for some time
spi     - spi command
tftpboot- boot image via network using TFTP protocol
version - print monitor version

now iam trying to backup all mtd devices with the following command.
"dd" command is not included at busybox, so i hope i can do this with "cat"

Example: cat /dev/mtdblock3  > /tmp/mtd-3.backup

after this copy the backup-images to a tftp-server and boot this devices from it.
i hope this is a save way to testing image files.

Backup the mtd-devices:

/tmp # cat /proc/mtd

dev:    size   erasesize  name
mtd0: 00800000 00010000 "ALL"
mtd1: 00020000 00010000 "fs-uboot"
mtd2: 000f0000 00010000 "os-image"
mtd3: 004f0000 00010000 "file-system"
mtd4: 00010000 00010000 "radio"

/tmp # ls /dev/

ar7100_gpio_chrdev       mtdr0                    tty2                     ttyACM8                  ttyUSB4
caldata                  null                     ttyACM0                  ttyACM9                  ttyUSB5
console                  ppp                      ttyACM1                  ttyS0                    ttyUSB6
dk0                      ptmx                     ttyACM10                 ttyS1                    ttyUSB7
gpio                     pts                      ttyACM11                 ttyS2                    ttyUSB8
kmem                     ptyp0                    ttyACM12                 ttyUSB0                  ttyUSB9
mem                      ptyp1                    ttyACM13                 ttyUSB1                  ttyp0
mtd0                     ptyp2                    ttyACM14                 ttyUSB10                 ttyp1
mtdblock0                ralink_spi_flash_chrdev  ttyACM15                 ttyUSB11                 ttyp2
mtdblock1                ram0                     ttyACM2                  ttyUSB12                 urandom
mtdblock2                random                   ttyACM3                  ttyUSB13                 zero
mtdblock3                rdm0                     ttyACM4                  ttyUSB14
mtdblock4                tty                      ttyACM5                  ttyUSB15
mtdblock5                tty0                     ttyACM6                  ttyUSB2
mtdblock6                tty1                     ttyACM7                  ttyUSB3

/tmp # ls -la

drwxr-xr-x    4         0 Jun 25 22:21 .
drwxrwxrwx   16       217 Nov  2  2016 ..
-rw-r--r--    1   8388608 Jun 25 22:28 mtd-0.backup
-rw-r--r--    1    131072 Jun 25 22:27 mtd-1.backup
-rw-r--r--    1    983040 Jun 25 22:27 mtd-2.backup
-rw-r--r--    1   5177344 Jun 25 22:27 mtd-3.backup
-rw-r--r--    1     65536 Jun 25 22:20 mtd-4.backup
-rw-r--r--    1         0 Jun 25 22:21 mtd-5.backup
-rw-r--r--    1         0 Jun 25 22:21 mtd-6.backup

why there are usb devices ? this device has no external USB-Connector.

(Last edited by RobertD on 25 Jun 2017, 22:37)

Hi RobertD, I want to backup image and re-burn the RE305 to opentwrt, could you tell me the password for serial port to login?

(Last edited by wangxinyu2011 on 9 Aug 2017, 07:43)

Anyone can help me ? I'm waiting to expirence OPENWRT.

Got it.
Thank you much.

The discussion might have continued from here.