既にOpenWrtでサポート済みながら以前よりfactoryが問題を抱えているという話を聞いていたものの、今一つ意欲が上がらず保留にしていた機種。今現在進めているWSR-2533DHP2のサポートに絡み行った変更で、この機種のfactoryの問題を解決できると思われる為今回確保して確認することにした。
サポート済みの為まとめるか迷ったものの、後々の為まとめる。
Switch
| zone | WAN | LAN |
|---|---|---|
| port (WSR-1166DS) |
INTERNET | LAN |
| port (MT7628) |
port4 | port3 |
MAC
- LAN:
34:3D:C4:xx:xx:D3(board_data,mac(text)) - WAN:
34:3D:C4:xx:xx:D3(board_data,mac(text)) - 2.4G:
34:3D:C4:xx:xx:D4(Factory,0x4(hex)) - 5G:
34:3D:C4:xx:xx:D5(Factory,0x8004(hex))
U-Boot
- help
MT7628 # help ? - alias for 'help' bootm - boot application image from memory cp - memory copy erase - erase SPI FLASH memory go - start application at address 'addr' help - print online help loadb - load binary file over serial line (kermit mode) md - memory display mdio - Ralink PHY register R/W command !! mm - memory modify (auto-incrementing) nm - memory modify (constant address) printenv- print environment variables reset - Perform RESET of the CPU rf - read/write rf register saveenv - save environment variables to persistent storage setenv - set environment variables spi - spi command tftpboot- boot image via network using TFTP protocol version - print monitor version
- version
MT7628 # version U-Boot 1.1.3 (Feb 3 2016 - 17:44:55) 0.04
- printenv
MT7628 # printenv bootcmd=tftp bootdelay=5 baudrate=57600 ethaddr="00:AA:BB:CC:DD:10" ipaddr=192.168.11.1 serverip=192.168.11.2 bootfile="linux.trx-recovery" bootversion=0.04 bootpartition=1 stdin=serial stdout=serial stderr=serial Environment size: 214/4092 bytes
- tftpboot
MT7628 # tftpboot netboot_common, argc= 1 NetTxPacket = 0x83FE6B00 KSEG1ADDR(NetTxPacket) = 0xA3FE6B00 NetLoop,call eth_halt ! NetLoop,call eth_init ! Trying Eth0 (10/100-M) Waitting for RX_DMA_BUSY status Start... done ETH_STATE_ACTIVE!! TFTP from server 192.168.11.2; our IP address is 192.168.11.1 Filename 'linux.trx-recovery'. TIMEOUT_COUNT=10,Load address: 0x80100000 Loading: *
Kernel
- uname -a
root@localhost:/# uname -a Linux localhost 2.6.36 #1 Tue Mar 19 18:05:31 CST 2019 mips GNU/Linux
- cat /proc/version
root@localhost:/# cat /proc/version Linux version 2.6.36 (***********@***-build-01) (gcc version 4.6.3 (Buildroot 2012.11.1) ) #1 Tue Mar 19 18:05:31 CST 2019
- cat /proc/cpuinfo
root@localhost:/# 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: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb] ASEs implemented : mips16 dsp shadow register sets : 1 core : 0 VCED exceptions : not available VCEI exceptions : not available
- cat /proc/meminfo
root@localhost:/# cat /proc/meminfo MemTotal: 60080 kB MemFree: 19200 kB Buffers: 3448 kB Cached: 12084 kB SwapCached: 0 kB Active: 8988 kB Inactive: 12420 kB Active(anon): 6068 kB Inactive(anon): 456 kB Active(file): 2920 kB Inactive(file): 11964 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 0 kB Writeback: 0 kB AnonPages: 5884 kB Mapped: 3104 kB Shmem: 648 kB Slab: 13880 kB SReclaimable: 2408 kB SUnreclaim: 11472 kB KernelStack: 696 kB PageTables: 620 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 30040 kB Committed_AS: 14052 kB VmallocTotal: 1048372 kB VmallocUsed: 5480 kB VmallocChunk: 1040308 kB
- cat /proc/mtd
root@localhost:/# cat /proc/mtd dev: size erasesize name mtd0: 01000000 00010000 "ALL" mtd1: 00030000 00010000 "Bootloader" mtd2: 00010000 00010000 "Config" mtd3: 00010000 00010000 "Factory" mtd4: 007c0000 00010000 "Kernel" mtd5: 006340a4 00010000 "RootFS" mtd6: 007c0000 00010000 "Kernel2" mtd7: 006340a4 00010000 "RootFS2" mtd8: 00010000 00010000 "glbcfg" mtd9: 00010000 00010000 "board_data"
- switch –help
root@localhost:/# switch --help Usage: switch dump - dump switch table switch clear - clear switch table switch add [mac] [portmap] - add an entry to switch table switch add [mac] [portmap] [vlan idx] - add an entry to switch table switch add [mac] [portmap] [vlan idx] [age] - add an entry to switch table switch ingress-rate on [port] [Mbps] - set ingress rate limit on port 0~4 switch egress-rate on [port] [Mbps] - set egress rate limit on port 0~4 switch ingress-rate off [port] - del ingress rate limit on port 0~4 switch egress-rate off [port] - del egress rate limit on port 0~4 switch filt [mac] - add an SA filtering entry (with portmap 1111111) to switch table switch filt [mac] [portmap] - add an SA filtering entry to switch table switch filt [mac] [portmap] [vlan idx] - add an SA filtering entry to switch table switch filt [mac] [portmap] [vlan idx] [age]- add an SA filtering entry to switch table switch del [mac] - delete an entry from switch table switch del [mac] [vlan idx] - delete an entry from switch table switch vlan dump - dump switch table switch vlan set [vlan idx] [vid] [portmap] - set vlan id and associated member switch reg r [offset] - register read from offset switch reg w [offset] [value] - register write value to offset switch phy [phy_addr] - dump phy register of specific port switch phy - dump all phy registers
- switch vlan dump
root@localhost:/# switch vlan dump idx vid portmap 0 1 1111-11 1 2 ----1-1 2 3 1111111 3 4 1111111 4 5 1111111 5 6 1111111 6 7 1111111 7 8 1111111 8 9 1111111 9 10 1111111 10 11 1111111 11 12 1111111 12 13 1111111 13 14 1111111 14 15 1111111 15 16 1111111
- bootlog
[04010C0B][04010D08] DDR Calibration DQS reg = 00008886 U-Boot 1.1.3 (Feb 3 2016 - 17:44:55) 0.04 Board: Ralink APSoC DRAM: 64 MB relocate_code Pointer at: 83fb8000 flash manufacture id: ef, device id 40 18 find flash: W25Q128BV ============================================ 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: 16 MBytes NOR Flash Date:Feb 3 2016 Time:17:44:55 ============================================ 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 Erasing SPI Flash... . Writing to SPI Flash... . done 3: System Boot system code via Flash1. ## Booting image at bc810000 ... ================================================= Check image validation: Image1 Trx Check --> ## check_trx, crc=-950968547, *crc_ret=-950968547. OK Image1 Header Magic Number --> OK Image1 Header Checksum --> OK Image1 Data Checksum --> OK ================================================= ================================================= Check image validation: Image2 Trx Check --> ## check_trx, crc=-950968547, *crc_ret=-950968547. OK Image2 Header Magic Number --> OK Image2 Header Checksum --> OK Image2 Data Checksum --> OK ================================================= ## check Image1 return 0, check Image2 return 0, Image1 crc=-950968547, Image2 crc=-950968547. Image1 is ok! Image2 is ok and same as Image1! Image Name: MIPS OpenWrt Linux-2.6.36 Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1621758 Bytes = 1.5 MB Load Address: 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 (***********@***-build-01) (gcc version 4.6.3 (Buildroot 2012.11.1) ) #1 Tue Mar 19 18:05:31 CST 2019 The CPU feqenuce set to 575 MHz MIPS CPU sleep mode enabled. 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/mtdblock5 init=/sbin/preinit rootfstype=squashfs,jffs2 console=ttyS0 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=0006d72f Readback ErrCtl register=0006d72f Memory: 59928k/65536k available (3364k kernel code, 5568k reserved, 1245k data, 152k init, 0k highmem) 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 = 54054404 RALINK_GPIOMODE = 54044404 ***** 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 at 0 vgaarb: loaded SCSI subsystem initialized 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 res[0]->start = 0 res[0]->end = 0 res[1]->start = 20200000 res[1]->end = 2020ffff 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 res[0]->start = 20000000 res[0]->end = 200fffff 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 Switching to clocksource Ralink Systick timer 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 Kernel WDG Timer Module Load Ralink Timer0 Module Load Ralink Timer2 Module squashfs: version 4.0 (2009/01/31) Phillip Lougher fuse init (API version 7.15) msgmni has been set to 117 Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) io scheduler noop registered (default) Ralink gpio driver initialized @@@@@@#### buffalo_led_init 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 brd: module loaded flash manufacture id: ef, device id 40 18 W25Q128BV(ef 40180000) (16384 Kbytes) mtd .name = raspi, .size = 0x01000000 (16M) .erasesize = 0x00010000 (64K) .numeraseregions = 0 in find_rootfs_mtd_partitions off=0x00050000 end=0x00810000 The trx header magic offset 0x0018bf5c raspi: squash filesystem found at offset 0x001dbf5c Found image1 partition off 0x001dbf5c size 0x006340a4 in find_rootfs_mtd_partitions off=0x00810000 end=0x00fd0000 The trx header magic offset 0x0018bf5c raspi: squash filesystem found at offset 0x0099bf5c Found image2 partition off 0x0099bf5c size 0x006340a4 Creating 10 MTD partitions on "raspi": 0x000000000000-0x000001000000 : "ALL" 0x000000000000-0x000000030000 : "Bootloader" 0x000000030000-0x000000040000 : "Config" 0x000000040000-0x000000050000 : "Factory" 0x000000050000-0x000000810000 : "Kernel" 0x0000001dbf5c-0x000000810000 : "RootFS" mtd: partition "RootFS" doesn't start on an erase block boundary -- force read-only 0x000000810000-0x000000fd0000 : "Kernel2" 0x00000099bf5c-0x000000fd0000 : "RootFS2" mtd: partition "RootFS2" doesn't start on an erase block boundary -- force read-only 0x000000fd0000-0x000000fe0000 : "glbcfg" 0x000000fe0000-0x000000ff0000 : "board_data" rdm_major = 253 GMAC1_MAC_ADRH -- : 0x0000000c GMAC1_MAC_ADRL -- : 0x432880fd Ralink APSoC Ethernet Driver Initilization. v3.1 256 rx/tx descriptors allocated, mtu = 1500! GMAC1_MAC_ADRH -- : 0x0000000c GMAC1_MAC_ADRL -- : 0x432880f1 PROC INIT OK! PPP generic driver version 2.4.2 PPP Deflate Compression module registered PPP BSD Compression module registered PPP MPPE Compression module registered NET: Registered protocol family 24 IMQ driver loaded successfully. Hooking IMQ before NAT on PREROUTING. Hooking IMQ after NAT on POSTROUTING. === pAd = c0003000, size = 798016 === <-- RTMPAllocTxRxRingMemory, Status=0, ErrorValue=0x <-- RTMPAllocAdapterBlock, Status=0 RtmpChipOpsHook(492): Not support for HIF_MT yet! mt7628_init()--> mt7628_init(FW(8a00), HW(8a01), CHIPID(7628)) e2.bin mt7628_init(1133)::(2), pChipCap->fw_len(63616) mt_bcn_buf_init(218): Not support for HIF_MT yet! <--mt7628_init() Netfilter messages via NETLINK v0.30. nf_conntrack version 0.5.0 (936 buckets, 3744 max) ctnetlink v0.93: registering with nfnetlink. IPVS: Registered protocols () IPVS: Connection hash table configured (size=4096, memory=32Kbytes) IPVS: ipvs loaded. ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Linux TCP cubic registered NET: Registered protocol family 17 802.1Q VLAN Support v1.8 Ben Greear All bugs added by David S. Miller Boot from /dev/mtdblock7 VFS: Mounted root (squashfs filesystem) readonly on device 31:7. Freeing unused kernel memory: 152k freed arca.dbus.mng: is ready agent_handler(244):arca.dbus.misc: is ready MD5=[29fc71a6d22714104011fb7d27b3854b] Please press Enter to activate this console. Raeth v3.1 (Tasklet) phy_tx_ring = 0x0361d000, tx_ring = 0xa361d000 phy_rx_ring0 = 0x0361e000, rx_ring0 = 0xa361e000 GMAC1_MAC_ADRH -- : 0x0000343d GMAC1_MAC_ADRL -- : 0xc4xxxxd3 debug : Enter [BRCTL_ADD_IF] add_if 00000000 *************************** device eth2.1 entered promiscuous mode device eth2 entered promiscuous mode br0: port 1(eth2.1) entering learning state br0: port 1(eth2.1) entering learning state TX_BCN DESC a3e90000 size = 320 RX[0] DESC a3e92000 size = 2048 RX[1] DESC a3e93000 size = 1024 E2pAccessMode=2 cfg_mode=9 cfg_mode=9 wmode_band_equal(): Band Equal! AndesSendCmdMsg: Could not send in band command due to diable fRTMP_ADAPTER_MCU_SEND_IN_BAND_CMD APSDCapable[0]=0 APSDCapable[1]=0 APSDCapable[2]=0 APSDCapable[3]=0 APSDCapable[4]=0 APSDCapable[5]=0 APSDCapable[6]=0 APSDCapable[7]=0 APSDCapable[8]=0 APSDCapable[9]=0 APSDCapable[10]=0 APSDCapable[11]=0 APSDCapable[12]=0 APSDCapable[13]=0 APSDCapable[14]=0 APSDCapable[15]=0 br0: port 1(eth2.1) entering forwarding state Key1Str is Invalid key length(0) or Type(0) Key1Str is Invalid key length(0) or Type(0) Key1Str is Invalid key length(0) or Type(0) Key2Str is Invalid key length(0) or Type(0) Key2Str is Invalid key length(0) or Type(0) Key2Str is Invalid key length(0) or Type(0) Key3Str is Invalid key length(0) or Type(0) Key3Str is Invalid key length(0) or Type(0) Key3Str is Invalid key length(0) or Type(0) Key4Str is Invalid key length(0) or Type(0) Key4Str is Invalid key length(0) or Type(0) Key4Str is Invalid key length(0) or Type(0) load fw image from fw_header_image AndesMTLoadFwMethod1(2174)::pChipCap->fw_len(63616) FW Version:_e2_mp FW Build Date:20150727171815 CmdAddressLenReq:(ret = 0) CmdFwStartReq: override = 1, address = 1048576 CmdStartDLRsp: WiFI FW Download Success MtAsicDMASchedulerInit(): DMA Scheduler Mode=0(LMAC) efuse_probe: efuse = 10000002 RtmpChipOpsEepromHook::e2p_type=2, inf_Type=4 RtmpEepromGetDefault::e2p_dafault=2 RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 2 NVM is FLASH mode 1. Phy Mode = 14 Country Region from e2p = ffff tssi_1_target_pwr_g_band = 32 2. Phy Mode = 14 3. Phy Mode = 14 NICInitPwrPinCfg(11): Not support for HIF_MT yet! NICInitializeAsic(651): Not support rtmp_mac_sys_reset () for HIF_MT yet! mt_mac_init()--> MtAsicInitMac()--> mt7628_init_mac_cr()--> MtAsicSetMacMaxLen(1241): 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(2885): Not support for HIF_MT yet! MCS Set = ff ff 00 00 00 MtAsicSetChBusyStat(826): Not support for HIF_MT yet! CmdSlotTimeSet:(ret = 0) MtAsicSetRalinkBurstMode(2919): Not support for HIF_MT yet! MtAsicSetPiggyBack(763): Not support for HIF_MT yet! reload DPD from flash , 0x9F = [84c0] doReload bit7[1] CmdLoadDPDDataFromFlash: Channel = 11, DoReload = 1 MtAsicSetTxPreamble(2898): Not support for HIF_MT yet! MtAsicAddSharedKeyEntry(1308): Not support for HIF_MT yet! MtAsicSetPreTbtt(): bss_idx=0, PreTBTT timeout = 0xf0 Main bssid = 34:3d:c4:xx:xx:d4 <==== rt28xx_init, Status=0 mt7628_set_ed_cca: TURN OFF EDCCA mac 0x10618 = 0xd7083f0f mt7628_set_ed_cca: pAd->CommonCfg.CountryCode = JP mt7628_set_ed_cca: TURN OFF NBID mac 0x10610 = 0x36a1282a WiFi Startup Cost (ra0): 3.936s debug : Enter [BRCTL_ADD_RULE_IF] add_if 00000100 *************************** device ra0 entered promiscuous mode br0: port 2(ra0) entering learning state br0: port 2(ra0) entering learning state br0: port 2(ra0) entering forwarding state register rt2860 === pAd = c0602000, size = 1801880 === <-- RTMPAllocTxRxRingMemory, Status=0 <-- RTMPAllocAdapterBlock, Status=0 pAd->CSRBaseAddress =0xc0500000, csr_addr=0xc0500000! device_id =0x7662 ==>rlt_wlan_chip_onoff(): OnOff:1, Reset= 1, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0x20a E2pAccessMode=2 cfg_mode=14 cfg_mode=14 wmode_band_equal(): Band Not Equal! APSDCapable[0]=0 APSDCapable[1]=0 APSDCapable[2]=0 APSDCapable[3]=0 APSDCapable[4]=0 APSDCapable[5]=0 APSDCapable[6]=0 APSDCapable[7]=0 APSDCapable[8]=0 APSDCapable[9]=0 APSDCapable[10]=0 APSDCapable[11]=0 APSDCapable[12]=0 APSDCapable[13]=0 APSDCapable[14]=0 APSDCapable[15]=0 Key1Str is Invalid key length(0) or Type(0) Key1Str is Invalid key length(0) or Type(0) Key1Str is Invalid key length(0) or Type(0) Key2Str is Invalid key length(0) or Type(0) Key2Str is Invalid key length(0) or Type(0) Key2Str is Invalid key length(0) or Type(0) Key3Str is Invalid key length(0) or Type(0) Key3Str is Invalid key length(0) or Type(0) Key3Str is Invalid key length(0) or Type(0) Key4Str is Invalid key length(0) or Type(0) Key4Str is Invalid key length(0) or Type(0) Key4Str is Invalid key length(0) or Type(0) RtmpChipOpsEepromHook::e2p_type=2, inf_Type=5 NVM is FLASH mode (pAd->flash_offset = 0x48000) get_dev_name_prefix(): dev_idx = 1, dev_name_prefix=rai build time = 20141115060606a rom patch for E3 IC platform = ALPS hw/sw version = patch version = FW Version:0.0.00 Build:1 Build Time:201507311614____ fw for E3 IC RX[0] DESC a28a2000 size = 4096 RX[1] DESC a28a3000 size = 4096 E2pAccessMode=2 cfg_mode=14 cfg_mode=14 wmode_band_equal(): Band Not Equal! APSDCapable[0]=0 APSDCapable[1]=0 APSDCapable[2]=0 APSDCapable[3]=0 APSDCapable[4]=0 APSDCapable[5]=0 APSDCapable[6]=0 APSDCapable[7]=0 APSDCapable[8]=0 APSDCapable[9]=0 APSDCapable[10]=0 APSDCapable[11]=0 APSDCapable[12]=0 APSDCapable[13]=0 APSDCapable[14]=0 APSDCapable[15]=0 Key1Str is Invalid key length(0) or Type(0) Key1Str is Invalid key length(0) or Type(0) Key1Str is Invalid key length(0) or Type(0) Key2Str is Invalid key length(0) or Type(0) Key2Str is Invalid key length(0) or Type(0) Key2Str is Invalid key length(0) or Type(0) Key3Str is Invalid key length(0) or Type(0) Key3Str is Invalid key length(0) or Type(0) Key3Str is Invalid key length(0) or Type(0) Key4Str is Invalid key length(0) or Type(0) Key4Str is Invalid key length(0) or Type(0) Key4Str is Invalid key length(0) or Type(0) 1. Phy Mode = 49 get_chl_grp:illegal channel (167) get_chl_grp:illegal channel (167) get_chl_grp:illegal channel (169) get_chl_grp:illegal channel (169) get_chl_grp:illegal channel (171) get_chl_grp:illegal channel (171) drivers/net/wireless/rlt_wifi_ap/../rlt_wifi/chips/mt76x2.c:2848 assert (ad->TxPower[choffset].Channel == 42)failed Country Region from e2p = ffff mt76x2_read_temp_info_from_eeprom:: is_temp_tx_alc=0, temp_tx_alc_enable=0 mt76x2_read_tx_alc_info_from_eeprom:: is_ePA_mode=0, ePA_type=3 mt76x2_read_tx_alc_info_from_eeprom:: [5G band] high_temp_slope=0, low_temp_slope=0 mt76x2_read_tx_alc_info_from_eeprom:: [2G band] high_temp_slope=0, low_temp_slope=0 mt76x2_read_tx_alc_info_from_eeprom:: [5G band] tc_lower_bound=0, tc_upper_bound=0 mt76x2_read_tx_alc_info_from_eeprom:: [2G band] tc_lower_bound=0, tc_upper_bound=0 mt76x2_get_external_lna_gain::LNA type=0x11, BLNAGain=0x0, ALNAGain0=0x0, ALNAGain1=0x0, ALNAGain2=0x0 2. Phy Mode = 49 3. Phy Mode = 49 andes_pci_fw_init 0x1300 = 00073200 AntCfgInit: primary/secondary ant 0/1 andes_load_cr:cr_type(2) ChipStructAssign(): MT76x2 hook ! @@@ BuildChannel # 36 :: Pwr0 = 26, Pwr1 =26, Flags = c0, RemainingTimeForUse=0 @@@ BuildChannel # 40 :: Pwr0 = 26, Pwr1 =26, Flags = c0, RemainingTimeForUse=0 @@@ BuildChannel # 44 :: Pwr0 = 26, Pwr1 =26, Flags = c0, RemainingTimeForUse=0 @@@ BuildChannel # 48 :: Pwr0 = 26, Pwr1 =26, Flags = c0, RemainingTimeForUse=0 @@@ BuildChannel # 52 :: Pwr0 = 26, Pwr1 =26, Flags = c0, RemainingTimeForUse=0 @@@ BuildChannel # 56 :: Pwr0 = 26, Pwr1 =26, Flags = c0, RemainingTimeForUse=0 @@@ BuildChannel # 60 :: Pwr0 = 26, Pwr1 =26, Flags = c0, RemainingTimeForUse=0 @@@ BuildChannel # 64 :: Pwr0 = 26, Pwr1 =26, Flags = c0, RemainingTimeForUse=0 @@@ BuildChannel # 100 :: Pwr0 = 26, Pwr1 =26, Flags = c0, RemainingTimeForUse=0 @@@ BuildChannel # 104 :: Pwr0 = 26, Pwr1 =26, Flags = c0, RemainingTimeForUse=0 @@@ BuildChannel # 108 :: Pwr0 = 26, Pwr1 =26, Flags = c0, RemainingTimeForUse=0 @@@ BuildChannel # 112 :: Pwr0 = 26, Pwr1 =26, Flags = c0, RemainingTimeForUse=0 @@@ BuildChannel # 116 :: Pwr0 = 26, Pwr1 =26, Flags = c0, RemainingTimeForUse=0 @@@ BuildChannel # 120 :: Pwr0 = 26, Pwr1 =26, Flags = c0, RemainingTimeForUse=0 @@@ BuildChannel # 124 :: Pwr0 = 26, Pwr1 =26, Flags = c0, RemainingTimeForUse=0 @@@ BuildChannel # 128 :: Pwr0 = 26, Pwr1 =26, Flags = c0, RemainingTimeForUse=0 @@@ BuildChannel # 132 :: Pwr0 = 26, Pwr1 =26, Flags = 40, RemainingTimeForUse=0 @@@ BuildChannel # 136 :: Pwr0 = 26, Pwr1 =26, Flags = 40, RemainingTimeForUse=0 @@@ BuildChannel # 140 :: Pwr0 = 26, Pwr1 =26, Flags = 0, RemainingTimeForUse=0 MCS Set = ff ff 00 00 01 TX0 power compensation = 0x38 TX1 power compensation = 0x38 mt76x2_bbp_adjust():rf_bw=2, ext_ch=1, PrimCh=100, HT-CentCh=102, VHT-CentCh=106 APStartUp(): AP Set CentralFreq at 106(Prim=100, HT-CentCh=102, VHT-CentCh=106, BBP_BW=2) mt76x2_calibration():RDMode is in Silent State, do not calibration. The 4-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 4 Main bssid = 34:3d:c4:xx:xx:d5 mt76x2_reinit_agc_gain:original agc_vga0 = 0x5c, agc_vga1 = 0x5c mt76x2_reinit_agc_gain:updated agc_vga0 = 0x5c, agc_vga1 = 0x5c mt76x2_reinit_hi_lna_gain:original hi_lna0 = 0x27, hi_lna1 = 0x27 mt76x2_reinit_hi_lna_gain:updated hi_lna0 = 0x27, hi_lna1 = 0x27 original vga value(chain0) = 5c original vga value(chain1) = 5c <==== rt28xx_init, Status=0 get_dev_name_prefix(): dev_idx = 1, dev_name_prefix=rai get_dev_name_prefix(): dev_idx = 1, dev_name_prefix=rai RTMPDrvOpen(1):Check if PDMA is idle! RTMPDrvOpen(2):Check if PDMA is idle! debug : Enter [BRCTL_ADD_RULE_IF] add_if 00000100 *************************** device rai0 entered promiscuous mode br0: port 3(rai0) entering learning state br0: port 3(rai0) entering learning state Jan 1 00:00:21 miniupnpd[451]: WPS listening on port 59868 mcsnoop: module license 'BUFFALO Inc. PROPRIETARY' taints kernel. Disabling lock debugging due to kernel taint mcsnoop: flush all snoop entry mcsnoop: Bridge Multicast Snooping module Ver0.1/20070912 mcsnoop_br_ioctl_device:275: mcast_maxage 75000 / 250 device eth2.1 left promiscuous mode device eth2 left promiscuous mode br0: port 1(eth2.1) entering forwarding state debug : Enter [BRCTL_ADD_RULE_IF] add_if 00000200 *************************** device eth2.1 entered promiscuous mode device eth2 entered promiscuous mode br0: port 1(eth2.1) entering learning state br0: port 1(eth2.1) entering learning state /sbin/arc_mcastsnoop: [brctl adddebug : Enter [BRCTL_ADD_RULE_IF] rif br0 eth2.2 1add_if 00000402 *************************** 026] device eth2.2 entered promiscuous mode br0: port 4(eth2.2) entering learning state br0: port 4(eth2.2) entering learning state br0: port 3(rai0) entering forwarding state br0: port 1(eth2.1) entering forwarding state br0: port 4(eth2.2) entering forwarding state Jan 1 00:00:23 crond[522]: crond: crond (busybox 1.18.5) started, log level 8 ntp.jst.mfeed.ad.jp: Unknown host Link Status Changed - Port4 Link Down Time out! You may increase DEFAULT_TIMEOUT_COUNT[10]!