Skip to content

Instantly share code, notes, and snippets.

@hkwi
Last active August 29, 2015 14:05
Show Gist options
  • Save hkwi/e55b0454caa4c4a9477c to your computer and use it in GitHub Desktop.
Save hkwi/e55b0454caa4c4a9477c to your computer and use it in GitHub Desktop.
planex MZK-750DHP boot sequence
U-Boot 1.1.3 (Apr 11 2013 - 17:02:09)

Board: Ralink APSoC DRAM:  64 MB
relocate_code Pointer at: 83fb4000
enable ephy clock...done. rf reg 29 = 5
SSC disabled.
spi_wait_nsec: 29
spi device id: ef 40 17 0 0 (40170000)
find flash: W25Q64BV
raspi_read: from:30000 len:1000
raspi_read: from:30000 len:1000
============================================
Ralink UBoot Version: 4.1.1.0_a2
--------------------------------------------
ASIC 7620_MP (Port5<->None)
DRAM component: 512 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 64 MBytes
Flash component: SPI Flash
Date:Apr 11 2013  Time:17:02:09
============================================
icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768

 ##### The CPU freq = 580 MHZ ####
 estimate memory size =64 Mbytes

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.
   a: Auto load system code then write to Flash via TFTP.
 0

3: System Boot system code via Flash.
## Booting image at bc050000 ...
raspi_read: from:50000 len:40
   Image Name:   Linux Kernel Image
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    4982977 Bytes =  4.8 MB
   Load Address: 80000000
   Entry Point:  8000c310
raspi_read: from:50040 len:4c08c1
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 8000c310) ...
## Giving linux memsize in MB, 64

Starting kernel ...


LINUX started...

 THIS IS ASIC
Linux version 2.6.36 ([email protected]) (gcc version 3.4.2) #7 Fri Jul 5 17:30:57 CST 2013

 The CPU feqenuce set to 580 MHz

 MIPS CPU sleep mode enabled.
 PCIE: bypass PCIe DLL.
 PCIE: Elastic buffer control: Addr:0x68 -> 0xB4
 disable all power about PCIe
CPU revision is: 00019650 (MIPS 24Kc)
Determined physical RAM map:
 memory: 04000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
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/ram0 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-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
Writing ErrCtl register=00074c30
Readback ErrCtl register=00074c30
Memory: 57484k/65536k available (2801k kernel code, 8052k reserved, 675k data, 3772k init, 0k highmem)
NR_IRQS:128
MTK/Ralink System Tick Counter init... cd:80351d08, m:214748, s:32
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 = 1a311d
RALINK_GPIOMODE = 18311d
PPLL_CFG1=0xe44000
MT7620 PPLL lock
PPLL_DRV =0x80080504
start PCIe register access
RALINK_PCI_PCICFG_ADDR = 1000f0

*************** MT7620 PCIe RC mode *************
bio: create slab <bio-0> at 0
vgaarb: loaded
SCSI subsystem initialized
pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x201fffff]
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]
pci 0000:01:00.0: BAR 0: set to [mem 0x20000000-0x200fffff] (PCI address [0x20000000-0x200fffff]
pci 0000:01:00.1: BAR 0: assigned [mem 0x20100000-0x201fffff]
pci 0000:01:00.1: BAR 0: set to [mem 0x20100000-0x201fffff] (PCI address [0x20100000-0x201fffff]
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-0x201fffff]
pci 0000:00:00.0:   bridge window [mem pref disabled]
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
bus=0x1, slot = 0x0
res[0]->start = 20100000
res[0]->end = 201fffff
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 external 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 Ralink Timer0 Module
Load Ralink Timer1 Module
fuse init (API version 7.15)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered (default)
Ralink gpio driver initialized
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x10000500 (irq = 37) is a 16550A
serial8250: ttyS1 at MMIO 0x10000c00 (irq = 12) is a 16550A
brd: module loaded
deice id : ef 40 17 0 0 (40170000)
W25Q64BV(ef 40170000) (8192 Kbytes)
mtd .name = raspi, .size = 0x00800000 (0M) .erasesize = 0x00000008 (0K) .numeraseregions = 65536
Creating 5 MTD partitions on "raspi":
0x000000000000-0x000000800000 : "ALL"
0x000000000000-0x000000030000 : "Bootloader"
0x000000030000-0x000000040000 : "Config"
0x000000040000-0x000000050000 : "Factory"
0x000000050000-0x000001000000 : "Kernel"
mtd: partition "Kernel" extends beyond the end of device "raspi" -- size truncated to 0x7b0000
rdm_major = 253
SMACCR1 -- : 0x00000022
SMACCR0 -- : 0xcfe76ff2
Ralink APSoC Ethernet Driver Initilization. v3.0  256 rx/tx descriptors allocated, mtu = 1500!
SMACCR1 -- : 0x00000022
SMACCR0 -- : 0xcfe76ff2
PROC INIT OK!
PPP generic driver version 2.4.2
PPP MPPE Compression module registered
NET: Registered protocol family 24
PPTP driver version 0.8.5
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (898 buckets, 3592 max)
nf_conntrack_rtsp v0.6.21 loading
matchsize=264
IPVS: Registered protocols ()
IPVS: Connection hash table configured (size=4096, memory=32Kbytes)
IPVS: ipvs loaded.
GRE over IPv4 demultiplexor driver
gre: can't add protocol
nf_nat_rtsp v0.6.21 loading
ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Restricted Cone
arp_tables: (C) 2002 David S. Miller
TCP cubic registered
NET: Registered protocol family 17
L2TP core driver, V2.0
PPPoL2TP kernel driver, V2.0
802.1Q VLAN Support v1.8 Ben Greear <[email protected]>
All bugs added by David S. Miller <[email protected]>
Freeing unused kernel memory: 3772k freed
init started: BusyBox v1.1Algorithmics/MIPS FPU Emulator v1.5
2.1 (2013-07-05 17:21:54 CST)
devpts: called with bogus options
starting pid 29, tty '': '/etc_ro/rcS'
mount: mounting none on /proc/bus/usb failed: No such file or directory
Welcome to
    _______  _______  ___     __  ____   _  _   ___
    |  ___  \|   __  ||   |   |__||    \ | || | /  /
    | |___| ||  |__| ||   |__  __ |     \| || |/  /
    |   _   /|   _   ||      ||  || |\     ||     \
    |__| \__\|__| |__||______||__||_| \____||_|\___\

                     =System Architecture Department=

Enter udps


ftpalg: Waiting for message from kernel
starting pid 42, tty '/dev/ttyS1': '/bin/sh'


BusyBox v1.12.1 (2013-07-05 17:21:54 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

# boa: waiting for nvram_daemon
@@@ BssidNum @@@

@@@ BssidNum @@@
nvram fled=38, on=1, off=4000, blinks,=1, reset=1, time=4000
lash is ok
rai0      no private ioctls.

ifconfig: ioctl 0x8913 failed: No such device
rai0      no private ioctls.

ifconfig: ioctl 0x8913 failed: No such device
Password for 'admin' changed
rmmod: ralink_wdt: No such file or directory
rmmod: cls: No such file or directory
rmmod: hw_nat: No such file or directory
rmmod: raeth: No such file or directory
insmod: bridge.ko: module not found
insmod: mii.ko: module not found
insmod: raeth.ko: module not found

##### disable 1st wireless interface #####

##### disable 2nd wireless interface #####
rmmod: rt2860v2_ap_net: No such file or directory
rmmod: rt2860v2_ap: No such file or directory
rmmod: rt2860v2_ap_util: No such file or directory
rmmod: MT7610_ap: No such file or directory
insmod: rt_timer.ko: module not found
insmod: rt2860v2_ap_util.ko: module not found
rt2860v2_ap: module license 'unspecified' taints kernel.
Disabling lock debugging due to kernel taint


=== pAd = c0592000, size = 626000 ===

<-- RTMPAllocTxRxRingMemory, Status=0
<-- RTMPAllocAdapterBlock, Status=0
AP Driver version-2.7.1.5
insmod: rt2860v2_ap_net.ko: module not found


=== pAd = c0b02000, size = 947160 ===

<-- RTMPAllocTxRxRingMemory, Status=0
<-- RTMPAllocAdapterBlock, Status=0
device_id =0x7650
==>MT76x0_WLAN_ChipOnOff(): OnOff:1, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0xff000002
MACVersion = 0x76502000
RX DESC a26f7000  size = 2048
RTMP_TimerListAdd: add timer obj c05fb978!
RTMP_TimerListAdd: add timer obj c059a070!
RTMP_TimerListAdd: add timer obj c0599c64!
RTMP_TimerListAdd: add timer obj c059a040!
RTMP_TimerListAdd: add timer obj c059a3e8!
RTMP_TimerListAdd: add timer obj c059a138!
RTMP_TimerListAdd: add timer obj c059a168!
RTMP_TimerListAdd: add timer obj c059a328!
RTMP_TimerListAdd: add timer obj c059a358!
RTMP_TimerListAdd: add timer obj c059d2a8!
RTMP_TimerListAdd: add timer obj c059ce9c!
RTMP_TimerListAdd: add timer obj c059d278!
RTMP_TimerListAdd: add timer obj c059d620!
RTMP_TimerListAdd: add timer obj c059d370!
RTMP_TimerListAdd: add timer obj c059d3a0!
RTMP_TimerListAdd: add timer obj c059d560!
RTMP_TimerListAdd: add timer obj c059d590!
RTMP_TimerListAdd: add timer obj c05a04e0!
RTMP_TimerListAdd: add timer obj c05a00d4!
RTMP_TimerListAdd: add timer obj c05a04b0!
RTMP_TimerListAdd: add timer obj c05a0858!
RTMP_TimerListAdd: add timer obj c05a05a8!
RTMP_TimerListAdd: add timer obj c05a05d8!
RTMP_TimerListAdd: add timer obj c05a0798!
RTMP_TimerListAdd: add timer obj c05a07c8!
RTMP_TimerListAdd: add timer obj c05a3718!
RTMP_TimerListAdd: add timer obj c05a330c!
RTMP_TimerListAdd: add timer obj c05a36e8!
RTMP_TimerListAdd: add timer obj c05a3a90!
RTMP_TimerListAdd: add timer obj c05a37e0!
RTMP_TimerListAdd: add timer obj c05a3810!
RTMP_TimerListAdd: add timer obj c05a39d0!
RTMP_TimerListAdd: add timer obj c05a3a00!
RTMP_TimerListAdd: add timer obj c05a6950!
RTMP_TimerListAdd: add timer obj c05a6544!
RTMP_TimerListAdd: add timer obj c05a6920!
RTMP_TimerListAdd: add timer obj c05a6cc8!
RTMP_TimerListAdd: add timer obj c05a6a18!
RTMP_TimerListAdd: add timer obj c05a6a48!
RTMP_TimerListAdd: add timer obj c05a6c08!
RTMP_TimerListAdd: add timer obj c05a6c38!
RTMP_TimerListAdd: add timer obj c05a9b88!
RTMP_TimerListAdd: add timer obj c05a977c!
RTMP_TimerListAdd: add timer obj c05a9b58!
RTMP_TimerListAdd: add timer obj c05a9f00!
RTMP_TimerListAdd: add timer obj c05a9c50!
RTMP_TimerListAdd: add timer obj c05a9c80!
RTMP_TimerListAdd: add timer obj c05a9e40!
RTMP_TimerListAdd: add timer obj c05a9e70!
RTMP_TimerListAdd: add timer obj c05acdc0!
RTMP_TimerListAdd: add timer obj c05ac9b4!
RTMP_TimerListAdd: add timer obj c05acd90!
RTMP_TimerListAdd: add timer obj c05ad138!
RTMP_TimerListAdd: add timer obj c05ace88!
RTMP_TimerListAdd: add timer obj c05aceb8!
RTMP_TimerListAdd: add timer obj c05ad078!
RTMP_TimerListAdd: add timer obj c05ad0a8!
RTMP_TimerListAdd: add timer obj c05afff8!
RTMP_TimerListAdd: add timer obj c05afbec!
RTMP_TimerListAdd: add timer obj c05affc8!
RTMP_TimerListAdd: add timer obj c05b0370!
RTMP_TimerListAdd: add timer obj c05b00c0!
RTMP_TimerListAdd: add timer obj c05b00f0!
RTMP_TimerListAdd: add timer obj c05b02b0!
RTMP_TimerListAdd: add timer obj c05b02e0!
RTMP_TimerListAdd: add timer obj c05b3230!
RTMP_TimerListAdd: add timer obj c05b2e24!
RTMP_TimerListAdd: add timer obj c05b3200!
RTMP_TimerListAdd: add timer obj c05b35a8!
RTMP_TimerListAdd: add timer obj c05b32f8!
RTMP_TimerListAdd: add timer obj c05b3328!
RTMP_TimerListAdd: add timer obj c05b34e8!
RTMP_TimerListAdd: add timer obj c05b3518!
RTMP_TimerListAdd: add timer obj c05b6468!
RTMP_TimerListAdd: add timer obj c05b605c!
RTMP_TimerListAdd: add timer obj c05b6438!
RTMP_TimerListAdd: add timer obj c05b67e0!
RTMP_TimerListAdd: add timer obj c05b6530!
RTMP_TimerListAdd: add timer obj c05b6560!
RTMP_TimerListAdd: add timer obj c05b6720!
RTMP_TimerListAdd: add timer obj c05b6750!
RTMP_TimerListAdd: add timer obj c05b96a0!
RTMP_TimerListAdd: add timer obj c05b9294!
RTMP_TimerListAdd: add timer obj c05b9670!
RTMP_TimerListAdd: add timer obj c05b9a18!
RTMP_TimerListAdd: add timer obj c05b9768!
RTMP_TimerListAdd: add timer obj c05b9798!
RTMP_TimerListAdd: add timer obj c05b9958!
RTMP_TimerListAdd: add timer obj c05b9988!
RTMP_TimerListAdd: add timer obj c05bc8d8!
RTMP_TimerListAdd: add timer obj c05bc4cc!
RTMP_TimerListAdd: add timer obj c05bc8a8!
RTMP_TimerListAdd: add timer obj c05bcc50!
RTMP_TimerListAdd: add timer obj c05bc9a0!
RTMP_TimerListAdd: add timer obj c05bc9d0!
RTMP_TimerListAdd: add timer obj c05bcb90!
RTMP_TimerListAdd: add timer obj c05bcbc0!
RTMP_TimerListAdd: add timer obj c05bfb10!
RTMP_TimerListAdd: add timer obj c05bf704!
RTMP_TimerListAdd: add timer obj c05bfae0!
RTMP_TimerListAdd: add timer obj c05bfe88!
RTMP_TimerListAdd: add timer obj c05bfbd8!
RTMP_TimerListAdd: add timer obj c05bfc08!
RTMP_TimerListAdd: add timer obj c05bfdc8!
RTMP_TimerListAdd: add timer obj c05bfdf8!
RTMP_TimerListAdd: add timer obj c05c2d48!
RTMP_TimerListAdd: add timer obj c05c293c!
RTMP_TimerListAdd: add timer obj c05c2d18!
RTMP_TimerListAdd: add timer obj c05c30c0!
RTMP_TimerListAdd: add timer obj c05c2e10!
RTMP_TimerListAdd: add timer obj c05c2e40!
RTMP_TimerListAdd: add timer obj c05c3000!
RTMP_TimerListAdd: add timer obj c05c3030!
RTMP_TimerListAdd: add timer obj c05c5f80!
RTMP_TimerListAdd: add timer obj c05c5b74!
RTMP_TimerListAdd: add timer obj c05c5f50!
RTMP_TimerListAdd: add timer obj c05c62f8!
RTMP_TimerListAdd: add timer obj c05c6048!
RTMP_TimerListAdd: add timer obj c05c6078!
RTMP_TimerListAdd: add timer obj c05c6238!
RTMP_TimerListAdd: add timer obj c05c6268!
RTMP_TimerListAdd: add timer obj c05c91b8!
RTMP_TimerListAdd: add timer obj c05c8dac!
RTMP_TimerListAdd: add timer obj c05c9188!
RTMP_TimerListAdd: add timer obj c05c9530!
RTMP_TimerListAdd: add timer obj c05c9280!
RTMP_TimerListAdd: add timer obj c05c92b0!
RTMP_TimerListAdd: add timer obj c05c9470!
RTMP_TimerListAdd: add timer obj c05c94a0!
RTMP_TimerListAdd: add timer obj c05d22e4!
RTMP_TimerListAdd: add timer obj c05d2400!
RTMP_TimerListAdd: add timer obj c05d2310!
RTMP_TimerListAdd: add timer obj c05c985c!
RTMP_TimerListAdd: add timer obj c0597530!
RTMP_TimerListAdd: add timer obj c059a768!
RTMP_TimerListAdd: add timer obj c059d9a0!
RTMP_TimerListAdd: add timer obj c05a0bd8!
RTMP_TimerListAdd: add timer obj c05a3e10!
RTMP_TimerListAdd: add timer obj c05a7048!
RTMP_TimerListAdd: add timer obj c05aa280!
RTMP_TimerListAdd: add timer obj c05ad4b8!
RTMP_TimerListAdd: add timer obj c05b06f0!
RTMP_TimerListAdd: add timer obj c05b3928!
RTMP_TimerListAdd: add timer obj c05b6b60!
RTMP_TimerListAdd: add timer obj c05b9d98!
RTMP_TimerListAdd: add timer obj c05bcfd0!
RTMP_TimerListAdd: add timer obj c05c0208!
RTMP_TimerListAdd: add timer obj c05c3440!
RTMP_TimerListAdd: add timer obj c05c6678!
RTMP_TimerListAdd: add timer obj c05c9570!
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(1)
Key2Str is Invalid key length(0) or Type(1)
Key2Str is Invalid key length(0) or Type(1)
Key3Str is Invalid key length(0) or Type(1)
Key3Str is Invalid key length(0) or Type(1)
Key4Str is Invalid key length(0) or Type(1)
Key4Str is Invalid key length(0) or Type(1)
1. Phy Mode = 9
2. Phy Mode = 9
E2PROM: D0 target power=0xff20
E2PROM: 40 MW Power Delta= 0
3. Phy Mode = 9
RTMP_TimerListAdd: add timer obj c059712c!
AntCfgInit: primary/secondary ant 0/1
Initialize RF Central Registers for E2 !!!
Initialize RF Central Registers for E3 !!!
Initialize RF Channel Registers for E2 !!!
Initialize RF Channel Registers for E3 !!!
Initialize RF DCCal Registers for E2 !!!
Initialize RF DCCal Registers for E3 !!!
D1 = -2, D2 = 3, CalCode = 12 !!!
RT6352_Temperature_Init : BBPR49 = 0xfffffffe
RT6352_Temperature_Init : TemperatureRef25C = 0xfffffff4
Current Temperature from BBP_R49=0xfffffff3
 TX BW Filter Calibration !!!
 RX BW Filter Calibration !!!
LOFT Calibration Done!
IQCalibration Start!
IQCalibration Done! CH = 0, (gain= f, phase=3b)
IQCalibration Start!
IQCalibration Done! CH = 1, (gain= 1, phase=3e)
TX IQ Calibration Done!
RTMPSetPhyMode: channel is out of range, use first channel=0
MCS Set = ff ff 00 00 01
SYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
SYNC - BBP R4 to 20MHz.l
RTMP_TimerListAdd: add timer obj c05c9e14!
ADC clcok selection for E3 !!!
Shielding clock selection !!!
Main bssid = 00:22:cf:e7:6f:f0
<==== rt28xx_init, Status=0
0x1300 = 00064380
load fw spent 16ms
RX DESC a2b0a000 size = 2048
RX1 DESC a2b0b000 size = 2048
cfg_mode=14
cfg_mode=14
wmode_band_equal(): Band Not Equal!
1. Phy Mode = 49
2. Phy Mode = 49
drivers/net/wireless/MT7610_ap/chips/mt76x0.c:2196 assert (pAd->TxPower[choffset].Channel == 36)failed
ext_pa_current_setting = 1
TXALC> bInternalTxALC = 0
3. Phy Mode = 49
AntCfgInit: primary/secondary ant 0/1
ChipStructAssign(): RALINK6590 hook !
MCS Set = ff 00 00 00 01
MT76x0_ChipBBPAdjust():rf_bw=2, ext_ch=1, PrimCh=36, HT-CentCh=38, VHT-CentCh=42
APStartUp(): AP Set CentralFreq at 42(Prim=36, HT-CentCh=38, VHT-CentCh=42, BBP_BW=2)
Main bssid = 00:22:cf:e7:6f:f4
<==== rt28xx_init, Status=0
MT76x0_Calibration - Channel = 42, bPowerOn = 1, bSaveCal = 1
FullCalibration - Channel = 42, param = 0x301, bSave = 1, CalibrationMode = 255
FullCalibration - Channel = 136, param = 0x401, bSave = 1, CalibrationMode = 255
FullCalibration - Channel = 155, param = 0x501, bSave = 1, CalibrationMode = 255
FullCalibration - Channel = 42, param = 0x701, bSave = 0, CalibrationMode = 255
MT76x0_Calibration - Channel = 36, bPowerOn = 0, bSaveCal = 0
FullCalibration - Channel = 36, param = 0x701, bSave = 0, CalibrationMode = 255
MT76x0_Calibration - Channel = 40, bPowerOn = 0, bSaveCal = 0
FullCalibration - Channel = 40, param = 0x701, bSave = 0, CalibrationMode = 255
MT76x0_Calibration - Channel = 44, bPowerOn = 0, bSaveCal = 0
FullCalibration - Channel = 44, param = 0x701, bSave = 0, CalibrationMode = 255
MT76x0_Calibration - Channel = 48, bPowerOn = 0, bSaveCal = 0
FullCalibration - Channel = 48, param = 0x701, bSave = 0, CalibrationMode = 255
MT76x0_Calibration - Channel = 52, bPowerOn = 0, bSaveCal = 0
FullCalibration - Channel = 52, param = 0x701, bSave = 0, CalibrationMode = 255
MT76x0_Calibration - Channel = 56, bPowerOn = 0, bSaveCal = 0
FullCalibration - Channel = 56, param = 0x701, bSave = 0, CalibrationMode = 255
MT76x0_Calibration - Channel = 60, bPowerOn = 0, bSaveCal = 0
FullCalibration - Channel = 60, param = 0x701, bSave = 0, CalibrationMode = 255
MT76x0_Calibration - Channel = 64, bPowerOn = 0, bSaveCal = 0
FullCalibration - Channel = 64, param = 0x701, bSave = 0, CalibrationMode = 255
MT76x0_Calibration - Channel = 100, bPowerOn = 0, bSaveCal = 0
FullCalibration - Channel = 100, param = 0x801, bSave = 0, CalibrationMode = 255
MT76x0_Calibration - Channel = 104, bPowerOn = 0, bSaveCal = 0
FullCalibration - Channel = 104, param = 0x801, bSave = 0, CalibrationMode = 255
MT76x0_Calibration - Channel = 108, bPowerOn = 0, bSaveCal = 0
FullCalibration - Channel = 108, param = 0x801, bSave = 0, CalibrationMode = 255
MT76x0_Calibration - Channel = 112, bPowerOn = 0, bSaveCal = 0
FullCalibration - Channel = 112, param = 0x801, bSave = 0, CalibrationMode = 255
MT76x0_Calibration - Channel = 116, bPowerOn = 0, bSaveCal = 0
FullCalibration - Channel = 116, param = 0x801, bSave = 0, CalibrationMode = 255
MT76x0_Calibration - Channel = 120, bPowerOn = 0, bSaveCal = 0
FullCalibration - Channel = 120, param = 0x801, bSave = 0, CalibrationMode = 255
MT76x0_Calibration - Channel = 124, bPowerOn = 0, bSaveCal = 0
FullCalibration - Channel = 124, param = 0x801, bSave = 0, CalibrationMode = 255
MT76x0_Calibration - Channel = 128, bPowerOn = 0, bSaveCal = 0
FullCalibration - Channel = 128, param = 0x801, bSave = 0, CalibrationMode = 255
MT76x0_Calibration - Channel = 132, bPowerOn = 0, bSaveCal = 0
FullCalibration - Channel = 132, param = 0x801, bSave = 0, CalibrationMode = 255
MT76x0_Calibration - Channel = 136, bPowerOn = 0, bSaveCal = 0
FullCalibration - Channel = 136, param = 0x801, bSave = 0, CalibrationMode = 255
MT76x0_Calibration - Channel = 140, bPowerOn = 0, bSaveCal = 0
FullCalibration - Channel = 140, param = 0x901, bSave = 0, CalibrationMode = 255
MT76x0_ChipBBPAdjust():rf_bw=2, ext_ch=3, PrimCh=40, HT-CentCh=38, VHT-CentCh=42
APStartUp(): AP Set CentralFreq at 42(Prim=40, HT-CentCh=38, VHT-CentCh=42, BBP_BW=2)
MT76x0_Calibration - Channel = 42, bPowerOn = 0, bSaveCal = 0
FullCalibration - Channel = 42, param = 0x701, bSave = 0, CalibrationMode = 255
0x1300 = 00064380
RTMPDrvOpen(1):Check if PDMA is idle!
RTMPDrvOpen(2):Check if PDMA is idle!
ifconfig: ioctl 0x8913 failed: No such device
iptables v1.4.10: can't initialize iptables table `mangle': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
Raeth v3.0 (Tasklet,SkbRecycle)

phy_tx_ring = 0x0233d000, tx_ring = 0xa233d000

phy_rx_ring0 = 0x0233e000, rx_ring0 = 0xa233e000
SMACCR1 -- : 0x00000022
SMACCR0 -- : 0xcfe76ff2
CDMA_CSG_CFG = 81000000
GDMA1_FWD_CFG = 20710000
vconfig: ioctl error for rem: No such device
rmmod: 8021q: No such file or directory
insmod: 8021q.ko: module not found
device eth2 entered promiscuous mode
##### config Ralink ESW vlan partition (LLLLW) #####
switch reg write offset=2004, value=ff0003
switch reg write offset=2104, value=ff0003
switch reg write offset=2204, value=ff0003
switch reg write offset=2304, value=ff0003
switch reg write offset=2404, value=ff0003
switch reg write offset=2504, value=ff0003
switch reg write offset=2010, value=810000c0
switch reg write offset=2110, value=810000c0
switch reg write offset=2210, value=810000c0
switch reg write offset=2310, value=810000c0
switch reg write offset=2410, value=810000c0
switch reg write offset=2510, value=810000c0
switch reg write offset=2610, value=81000000
switch reg write offset=2710, value=81000000
switch reg write offset=2604, value=20ff0003
switch reg write offset=2704, value=20ff0003
Special Tag Disabled
switch reg write offset=2610, value=81000000
switch reg write offset=2014, value=10001
switch reg write offset=2114, value=10001
switch reg write offset=2214, value=10001
switch reg write offset=2314, value=10001
switch reg write offset=2414, value=10002
switch reg write offset=2514, value=10001
REG_ESW_WT_MAC_ATC is 0x7ff0002
done.
device ra0 entered promiscuous mode
Interface doesn't accept private ioctl...
set (8BE2): Invalid argument
Interface doesn't accept private ioctl...
set (8BE2): Invalid argument
Interface doesn't accept private ioctl...
set (8BE2): Invalid argument
device ra1 entered promiscuous mode
Interface doesn't accept private ioctl...
set (8BE2): Invalid argument
Interface doesn't accept private ioctl...
set (8BE2): Invalid argument
Interface doesn't accept private ioctl...
set (8BE2): Invalid argument
device eth2.1 entered promiscuous mode
device rai0 entered promiscuous mode

##### enable 2nd wireless interface #####
Enlarge min_free_kbytes....
udhcpc (v1.12.1) started
==========> To kill udhcpc daemon for Auto <==========
Received SIGTERM
br0: port 4(rai0) entering learning state
br0: port 4(rai0) entering learning state
br0: port 3(eth2.1) entering learning state
br0: port 3(eth2.1) entering learning state
br0: port 1(ra0) entering learning state
br0: port 1(ra0) entering learning state
ifconfig: ioctl 0x8914 failed: Cannot assign requested address
ifconfig: ioctl 0x8914 failed: Cannot assign requested address
=====> Start to turn on DHCP when no plug and system boot <=====
br0: port 4(rai0) entering forwarding state
br0: port 3(eth2.1) entering forwarding state
br0: port 1(ra0) entering forwarding state
******** Re-write DHCP file ********
<<< check /etc/udhcpd.conf >>>
check /etc/udhcpd.conf finish ^_^
killall: udhcpd: no process killed
Set: phy[0].reg[0] = 3900
Set: phy[1].reg[0] = 3900
Set: phy[2].reg[0] = 3900
Set: phy[3].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
igmpproxy, Version 0.1 beta2, Build 130705
Copyright 2005 by Johnny Egeland <[email protected]>
Distributed under the GNU GENERAL PUBLIC LICENSE, Version 2 - check GPL.txt

Warn: Warning, No upstream interface assigned.
Unknown option: -I
Unknown option: ra0
Jan  1 00:01:14 miniupnpd[9038]: [truncated] m
Jan  1 00:01:14 miniupnpd[9038]: [truncated] m
Jan  1 00:01:14 miniupnpd[9038]: [truncated] m
Jan  1 00:01:14 miniupnpd[9038]: [truncated] m
Jan  1 00:01:14 miniupnpd[9038]: [truncated] m
Jan  1 00:01:14 miniupnpd[9038]: [truncated] m
Jan  1 00:01:14 miniupnpd[9038]: [truncated] m
Jan  1 00:01:14 miniupnpd[9038]: [truncated] m
Jan  1 00:01:14 miniupnpd[9038]: [truncated] m
Jan  1 00:01:14 miniupnpd[9038]: [truncated] m
Jan  1 00:01:14 miniupnpd[9038]: [truncated] m
Jan  1 00:01:14 miniupnpd[9038]: [truncated] m
Unknown option: -I
Unknown option: rai0
Jan  1 00:01:14 miniupnpd[9042]: [truncated] m
Jan  1 00:01:14 miniupnpd[9042]: [truncated] m
Jan  1 00:01:14 miniupnpd[9042]: [truncated] m
Jan  1 00:01:14 miniupnpd[9042]: [truncated] m
ifconfig: ioctl 0x8913 failed: No such device
/bin/radvd.sh: line 7: cannot creatled=39, on=4000, off=1, blinks,=1, reset=1, time=4000
e /proc/sys/net/ipv6/conf/all/forwarding: noneled=55, on=1, off=4000, blinks,=1, reset=1, time=4000
xistent directory
rm: cannot remove '/etc/radvd.conf': No such file or directory
led=39, on=5, off=5, blinks,=1, reset=1, time=4000
***** Start Auto daemon *****
killall: autodetect.sh: no process killed
device eth2.2 entered promiscuous mode
device br0 entered promiscuous mode
iwpriv ra0 set IgmpSnEnable=1
Start  initInternet!!!!!   system[internet.sh] = 0
   system[killall rt2860apd 1>/dev/null 2>&1] = 256
   system[killall rtinicapd 1>/dev/null 2>&1] = 256
led=55, on=4000, off=1, blinks,=1, reset=1, time=4000
   system[gpio l 55 4000 0 1 0 4000] = 0
   system[iptables -F -t filter 1>/dev/null 2>&1] = 0
   system[iptables -D FORWARD -j macipport_filter 1>/dev/null 2>&1] = 512
   system[iptables -F macipport_filter 1>/dev/null 2>&1] = 256
   system[iptables -D FORWARD -j web_filter  1>/dev/null 2>&1] = 512
   system[iptables -F web_filter  1>/dev/null 2>&1] = 256
   system[iptables -D FORWARD -j malicious_filter 1>/dev/null 2>&1] = 512
   system[iptables -F malicious_filter  1>/dev/null 2>&1] = 256
   system[iptables -D INPUT -j malicious_input_filter 1>/dev/null 2>&1] = 512
   system[iptables -F malicious_input_filter  1>/dev/null 2>&1] = 256
   system[iptables -P INPUT ACCEPT] = 0
   system[iptables -P OUTPUT ACCEPT] = 0
   system[iptables -P FORWARD ACCEPT] = 0
   system[iptables -t filter -N web_filter 1>/dev/null 2>&1] = 0
   system[iptables -t filter -N macipport_filter 1>/dev/null 2>&1] = 0
   system[iptables -t filter -N malicious_filter 1>/dev/null 2>&1] = 0
   system[iptables -t filter -N synflood_filter 1>/dev/null 2>&1] = 0
   system[iptables -t filter -N malicious_input_filter 1>/dev/null 2>&1] = 0
   system[iptables -t filter -N synflood_input_filter 1>/dev/null 2>&1] = 0
   system[iptables -t filter -A FORWARD -j web_filter 1>/dev/null 2>&1] = 0
   system[iptables -t filter -A FORWARD -j macipport_filter 1>/dev/null 2>&1] = 0
   system[iptables -t filter -A FORWARD -j malicious_filter 1>/dev/null 2>&1] = 0
   system[iptables -t filter -A malicious_filter -p tcp --syn -j synflood_filter 1>/dev/null 2>&1] = 0
   system[iptables -t filter -A INPUT -j malicious_input_filter 1>/dev/null 2>&1] = 0
   system[iptables -t filter -A malicious_input_filter -p tcp --syn -j synflood_input_filter 1>/dev/null 2>&1] = 0
   system[iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 1>/dev/null 2>&1] = 0
   system[iptables -A malicious_input_filter -i eth2.2 -m state --state RELATED,ESTABLISHED -j ACCEPT] = 0
   system[iptables -A malicious_input_filter -i eth2.2 -m state -p tcp --dport 80 --state NEW,INVALID -j DROP] = 0
Disable WAN portping response!!!
   system[iptables -A malicious_input_filter -i eth2.2 -p icmp -j DROP] = 0
   system[iptables -A malicious_filter -p tcp --tcp-flags ALL FIN,URG,PSH -j DROP] = 0
   system[iptables -A malicious_filter -p tcp --tcp-flags ALL SYN,RST,ACK,FIN,URG -j DROP] = 0
   system[iptables -A malicious_filter -p tcp --tcp-flags ALL NONE -j DROP] = 0
   system[iptables -A malicious_filter -p tcp --tcp-flags SYN,RST SYN,RST -j DROP] = 0
   system[iptables -A malicious_filter -p tcp --tcp-flags SYN,FIN SYN,FIN ] = 0
   system[iptables -A malicious_input_filter -p tcp --tcp-flags ALL FIN,URG,PSH -j DROP] = 0
   system[iptables -A malicious_input_filter -p tcp --tcp-flags ALL SYN,RST,ACK,FIN,URG -j DROP] = 0
   system[iptables -A malicious_input_filter -p tcp --tcp-flags ALL NONE -j DROP] = 0
   system[iptables -A malicious_input_filter -p tcp --tcp-flags SYN,RST SYN,RST -j DROP] = 0
   system[iptables -A malicious_input_filter -p tcp --tcp-flags SYN,FIN SYN,FIN ] = 0
sh: cannot create /proc/sys/net/ipv4/tcp_syncookies: nonexistent directory
   system[echo 1 > /proc/sys/net/ipv4/tcp_syncookies 2>&1 1>/dev/null] = 512
sh: /bin/super_dmz: not found
   system[/bin/super_dmz -f] = 32512
   system[iptables -t nat -D PREROUTING -j port_forward 1>/dev/null 2>&1] = 512
   system[iptables -t nat -F port_forward  1>/dev/null 2>&1; iptables -t nat -X port_forward  1>/dev/null 2>&1] = 256
   system[iptables -t nat -D PREROUTING -j DMZ 1>/dev/null 2>&1] = 512
   system[iptables -t nat -F DMZ 1>/dev/null 2>&1; iptables -t nat -X DMZ  1>/dev/null 2>&1] = 256
   system[iptables -t nat -D POSTROUTING -j DMZ_POST  1>/dev/null 2>&1] = 512
   system[iptables -t nat -F DMZ_POST  1>/dev/null 2>&1; iptables -t nat -X DMZ_POST  1>/dev/null 2>&1] = 256
   system[cat /proc/sys/net/netfilter/nf_conntrack_udp_timeout > /var/.udpbackup] = 0
   system[echo 0 > /proc/sys/net/netfilter/nf_conntrack_udp_timeout] = 0
   system[cat /var/.udpbackup > /proc/sys/net/netfilter/nf_conntrack_udp_timeout; rm -f /var/.udpbackup] = 0
   system[cat /proc/sys/net/netfilter/nf_conntrack_tcp_timeout_established > /var/.tcpbackup] = 0
   system[echo 0 > /proc/sys/net/netfilter/nf_conntrack_tcp_timeout_established] = 0
   system[cat /var/.tcpbackup > /proc/sys/net/netfilter/nf_conntrack_tcp_timeout_established; rm -f /var/.tcpbackup] = 0
   system[iptables -t nat -N port_forward 1>/dev/null 2>&1; iptables -t nat -I PREROUTING 1 -j port_forward 1>/dev/null 2>&1] = 0
   system[iptables -t nat -N DMZ 1>/dev/null 2>&1; iptables -t nat -I PREROUTING 2 -j DMZ 1>/dev/null 2>&1] = 0
killall: ntp.sh: no process killed
   system[killall ntp.sh] = 256
   system[ntp.sh &] = 0
   system[ddns.sh] = 0
   system[udps &] = 0
Enter udps


   system[cplange.sh &] = 0
sh: cplange.sh: not found
   system[iwpriv ra0 set WscConfMode=0 1>/dev/null 2>&1] = 0
   system[iwpriv ra0 set WscConfMode=7] = 0
   system[route add -host 239.255.255.250 dev br0 1>/dev/null 2>&1] = 0
ntp.nict.jp: Unknown host
Unknown option: -I
Unknown option: ra0
Unknown option: -I
Unknown option: rai0
   system[miniupnpd.sh init] = 0
   system[iwpriv rai0 set WscConfMode=0 1>/dev/null 2>&1] = 0
   system[iwpriv rai0 set WscConfMode=7] = 0
   system[route add -host 239.255.255.250 dev br0 1>/dev/null 2>&1] = 256
Unknown option: -I
Unknown option: ra0
Unknown option: -I
Unknown option: rai0
   system[miniupnpd.sh init] = 0
   system[killall -q klogd] = 256
   system[killall -q syslogd] = 256
   system[syslogd 1>/dev/null 2>&1] = 0
   system[klogd 1>/dev/null 2>&1] = 0
   system[killall -q zebra] = 256
   system[killall -q ripd] = 256
sh: restart_upnp.sh: not found
E2P: (3072)
E2P: (3072)
E2P: (2816)
E2P: (8)
BoA: reload parameter into BoA webserver!
The rmPort is 0

# ls
usr     lib     proc    sys     sbin    tmp     mnt     bin
etc_ro  var     dev     etc     media   home    init
MT7620 # printenv
bootcmd=tftp
baudrate=57600
ethaddr="00:AA:BB:CC:DD:10"
filesize=372b13
fileaddr=80A00000
autostart=no
ipaddr=192.168.1.101
serverip=192.168.1.33
bootfile=root_uImage
bootdelay=3
stdin=serial
stdout=serial
stderr=serial

Environment size: 220/4092 bytes
root@OpenWrt:/# cat /proc/cpuinfo
system type             : Ralink MT7620A ver:2 eco:3
machine                 : Planex MZK-750DHP
processor               : 0
cpu model               : MIPS 24KEc V5.0
BogoMIPS                : 766.77
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]
isa                     : mips1 mips2 mips32r1 mips32r2
ASEs implemented        : mips16 dsp
shadow register sets    : 1
kscratch registers      : 0
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

root@OpenWrt:/# cat /proc/meminfo
MemTotal:          61692 kB
MemFree:           43552 kB
MemAvailable:      51784 kB
Buffers:               0 kB
Cached:            10360 kB
SwapCached:            0 kB
Active:             7060 kB
Inactive:           4972 kB
Active(anon):       1708 kB
Inactive(anon):       28 kB
Active(file):       5352 kB
Inactive(file):     4944 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:          1700 kB
Mapped:             2004 kB
Shmem:                64 kB
Slab:               2888 kB
SReclaimable:        720 kB
SUnreclaim:         2168 kB
KernelStack:         248 kB
PageTables:          232 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:       30844 kB
Committed_AS:       5800 kB
VmallocTotal:    1048372 kB
VmallocUsed:         384 kB
VmallocChunk:    1042992 kB
root@OpenWrt:/# iw phy
Wiphy phy0
        max # scan SSIDs: 4
        max scan IEs length: 2257 bytes
        Retry short limit: 7
        Retry long limit: 4
        Coverage class: 0 (up to 0m)
        Available Antennas: TX 0 RX 0
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * AP/VLAN
                 * WDS
                 * monitor
                 * mesh point
        Band 1:
                Capabilities: 0x2f2
                        HT20/HT40
                        Static SM Power Save
                        RX Greenfield
                        RX HT20 SGI
                        RX HT40 SGI
                        TX STBC
                        RX STBC 2-streams
                        Max AMSDU length: 3839 bytes
                        No DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 2 usec (0x04)
                HT RX MCS rate indexes supported: 0-15, 32
                TX unequal modulation not supported
                HT TX Max spatial streams: 2
                HT TX MCS rate indexes supported may differ
                Frequencies:
                        * 2412 MHz [1] (20.0 dBm)
                        * 2417 MHz [2] (20.0 dBm)
                        * 2422 MHz [3] (20.0 dBm)
                        * 2427 MHz [4] (20.0 dBm)
                        * 2432 MHz [5] (20.0 dBm)
                        * 2437 MHz [6] (20.0 dBm)
                        * 2442 MHz [7] (20.0 dBm)
                        * 2447 MHz [8] (20.0 dBm)
                        * 2452 MHz [9] (20.0 dBm)
                        * 2457 MHz [10] (20.0 dBm)
                        * 2462 MHz [11] (20.0 dBm)
                        * 2467 MHz [12] (20.0 dBm) (no IR)
                        * 2472 MHz [13] (20.0 dBm) (no IR)
                        * 2484 MHz [14] (20.0 dBm) (no IR)
        valid interface combinations:
                 * #{ managed, AP, mesh point } <= 8,
                   total <= 8, #channels <= 1
        HT Capability overrides:
                 * MCS: ff ff ff ff ff ff ff ff ff ff
                 * maximum A-MSDU length
                 * supported channel width
                 * short GI for 40 MHz
                 * max A-MPDU length exponent
                 * min MPDU start spacing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment