找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 3168|回复: 1

MW300R V4,启动代码,求解释

[复制链接]
打算刷841N V8,准备好东西之后发现和网上的代码不一样,求大神解释!TPL可以中断,但是却无法继续了,中断后显示ar7240


U-Boot 1.1.4 (Oct 15 2012 - 02:48:06)


U-boot AP123




DRAM:  16 MB
Top of RAM usable for U-Boot at: 81000000
Reserving 138k for U-Boot at: 80fdc000
Reserving 192k for malloc() at: 80fac000
Reserving 44 Bytes for Board Info at: 80fabfd4
Reserving 36 Bytes for Global Data at: 80fabfb0
Reserving 128k for boot params() at: 80f8bfb0
Stack Pointer at: 80f8bf98
Now running in RAM - U-Boot at: 80fdc000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x15
flash size 4MB, sector count = 64
Flash:  4 MB
Using default environment


In:    serial
Out:   serial
Err:   serial
Net:   ag934x_enet_initialize...
wasp  reset mask:c03300
WASP ----> S27 PHY
: cfg1 0x80000000 cfg2 0x7114
eth0: 14:e6:e4:77:68:b9
s27 reg init
athrs27_phy_setup ATHR_PHY_CONTROL 4 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 4 :10
eth0 up
WASP ----> S27 PHY
: cfg1 0xf cfg2 0x7214
eth1: 14:e6:e4:77:68:b8
s27 reg init lan
ATHRS27: resetting s27
ATHRS27: s27 reset done
athrs27_phy_setup ATHR_PHY_CONTROL 0 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 0 :10
athrs27_phy_setup ATHR_PHY_CONTROL 1 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 1 :10
athrs27_phy_setup ATHR_PHY_CONTROL 2 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 2 :50
athrs27_phy_setup ATHR_PHY_CONTROL 3 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 3 :10
eth1 up
eth0, eth1
Load Default Boot Params.
Autobooting in 1 seconds
Uncompressing...done
ch of size 1756
eth_rx_netpool_init: allocated, pDmaBuf=0x80b78850, buffend = 80eea854
ATHRS27: resetting s27
ATHRS27: s27 reset done
eth_rx_netpool_init: done already!
interrupt: enet1 port2 up
interrupt: LAN Port Interface type is 0x4c04
Attached IPv4 interface to mirror unit 0
usrAppInitEx: 116: GPIO_OE = 30310
usrAppInitEx: 117: CP0 CONFIG = 80208483
usrAppInitEx: 118: CP0 CONFIG1 = bee3519e


-->starting wireless...
APCFG task id 8099f2f0
sysWlanInit ...
Create WLAN event task tWLANEventTask
Create mem partion 0x8097dac0 for size 86016
AH_CAL_IN_FLASH_AHB
Boostrap clock 25MHz
ar9300RadioAttach: Need analog access recipe!!
Restoring Cal data from Flash
ath_get_caps[4703] rx chainmask mismatch actual 3 sc_chainmak 0
ath_get_caps[4678] tx chainmask mismatch actual 3 sc_chainmak 0
Create OS_MESGQ Successfully at 0x8095c850
osifp->queue_head = 0x8095cb50
ag7240MemInit: allocated, dmabuf=0x80668e30, buffend = 8092b034
Entering Task Loop
Entering WLAN event Task Loop
ERROR:wireless OR ACL disable
sending message 8063ecb0,24
sending message 8063ecb0,24
TDDP: Now listening client request.
tddp is running.
httpInit: System File Registry successfully initialized.
httpInit: System File Manager successfully initialized.
httpInit: File System RPM successfully initialized.
httpInit: RPM dispatcher successfully initialized.
httpInit: MIME type guessing RPM successfully initialized.
httpInit: http Password Checking successfully initialized.
httpInit: http Access Control successfully initialized.






                            Software Platform for MIPS
  Copyright(C) 2001-2010 by TP-LINK TECHNOLOGIES CO., LTD.
Starting WLAN   Creation date: !!!Nov 26 2012, 15:03:40!


# AP_STARTMODE=standard
AP_ENABLE=1
ATH_COUNTRYCODE=156
wlan_vap_create : enter. devhandle=0x80458b10, opmode=IEEE80211_M_HOSTAP, flags=
0x1
wlan_vap_create : exit. devhandle=0x80458b10, opmode=IEEE80211_M_HOSTAP, flags=0
x1.
osif_ioctl_create_vap: vap 0x80ffe970 vap->iv_unit 0
ieee80211_end_load: load done
ath0 end flag = 0x00028802
default
default
default
IEE80211-FREQ IOCTL vap 0x80ffe970 0,0,0
AP_CHMODE=11NGHT40PLUS


WLAN IOCTL AP_CHMODE=11NGHT40PLUS=11NGHT20=11NGHT40PLUS=1003
IEE80211-MODE IOCTL 1,11NGHT40PLUS,13
set mode 11,-2130709132,6
set mode retv 0


WLAN IOCTL AP_PRIMARY_CH=auto=6=auto=1002
IEE80211-FREQ IOCTL vap 0x80ffe970 0,0,11


WLAN IOCTL PUREG=0=0=0=1004
IEEE80211-SETPURGE IOCTL 0


WLAN IOCTL AP_HIDE_SSID=0=0=0=1005
IEEE80211-SETHIDESSIDIOCTL 0


WLAN IOCTL AP_ISOLATION=0=0=0=1034
IEE80211-setparam-nobridge 0


WLAN IOCTL AP_TX11NRATE==0x0=0x0=1041
set auto rate


WLAN IOCTL AP_11G_PROTECTION==0=0=1042


WLAN IOCTL AP_BEACON_INTERVAL=100=100=100=1043


WLAN IOCTL AP_FRAGMENT_THRESHOLD=2346=2346=2346=1044


WLAN IOCTL AP_RTS_THRESHOLD=2346=2347=2346=1046


WLAN IOCTL AP_DTIM_PERIOD=1=1=1=1045


WLAN IOCTL AP_WMM_ENABLE=1=1=1=1051
ieee80211_vap_wme_set


WLAN IOCTL AP_WMM_NOACK==0=0=1052
IOCTL set wmm noack 0


WLAN IOCTL AP_CYPHER_2==CCMP=CCMP=1000
Get EIOCGADDR


WLAN IOCTL AP_NO_EDGE_CH==0=0=1056


WLAN IOCTL AP_MCASTRATE==0=0=1018


WLAN IOCTL AP_MACFILTER_MODE==0=0=1038


WLAN IOCTL AP_MACFILTER_LIST====1000
Get EIOCGADDR


WLAN IOCTL AP_SHORT_GI=1=1=1=1055


WLAN IOCTL AP_DISABLECOEXT=1=0=1=1075


WLAN IOCTL AP_SSID=MERCURY_7768B8=Ath_AP123ng=MERCURY_7768B8=1001
IEE80211-ESSID IOCTL 1,MERCURY_7768B8,15
AP_CHMODE=11NGHT40PLUS
AP_CWMMODE=1
IEE80211-CWMMODE IOCTL 1
AP_AMPDU=0
AP_PURE_N=0
AP_TX_CHAINMASK=3
AP_RX_CHAINMASK=3
AP_SECMODE=WPAWPA2
WPS_ENABLE=1
AP_MACFILTER_MODE=0
ieee80211_open


WLAN IOCTL AP_BASICRATES==0=0=1039


WLAN IOCTL AP_DEBUG=0=0=0=1062


WLAN IOCTL AP_TX_POWER==0=0=1073
Starting Hostapd
AP_SSID=MERCURY_7768B8
AP_HOSTAPD_DEBUG=0
AP_IPADDR=192.168.1.2
AP_SECMODE=WPAWPA2
WPS BSS init
WPS_ENABLE=1
WPS_PIN=31618847
WPS_STATE=2
1136073605.416667: wps_led_init: LED state CONFIGURED
AP_SECMODE=WPAWPA2
WPAWPA2 BSS init
WPA BSS init
PSK_KEY=20110422
AP_CYPHER=CCMP
AP_WPA_GROUP_REKEY=3600
starting hostapd ...
Hostapd task Created 80ffa4a0
Task details [80ffa4a0,,64,8099f088]
Adding ath0 in bridge ...
default
Set EIOCGMIB2
default
Entering Hostapd Main
default
Set EIOCGMIB2
attached backend socket .
Attached backend socket for eth0
Attached backend socket for eth1
Attached backend socket for mirror 0
@@@@ kris-hostapd vapid=0 @@@@@ wiface=ath0 @@@@
**** [2,1,0,0192.168.1.2,]****
Just before eloop_run()
*** setup interface1 started ****
Eapol sockfd=23
Get EIOCGADDR
MAC address 14,ffffffe6,ffffffe4,77,68,ffffffb8
link _ubind0,0,0,0,0,0
IEE80211-IWMODE IOCTL  3
IEE80211-setparam-privacy 0
1136073607.416667: Defaulted uuid based on mac addr 14:e6:e4:77:68:b8
ieee80211_ioctl_setappiebuf
ieee80211_ioctl_setappiebuf
ieee80211_ioctl_setappiebuf
1136073607.416667: madwifi_start_receive_prob_req Enter


Madwifi init completed
1136073607.433333: ENTER eap_wps_disable, reason=7
*** setup interface1 completed ****
*** setup interface2 started ****
1136073607.433333: Flushing old station entries
IOCTL setmlme
[ieee80211_ioctl_setmlme:1887] data=0x80ff9fc0,data->pointer=0x80ffa010, data->l
ength=42
[ieee80211_ioctl_setmlme:1893] mlme->im_op=3
1136073607.450000: Deauthenticate all stations
IEE80211-setparam-privacy 0
ieee80211_ioctl_delkey : idk_keyix=0
ieee80211_ioctl_delkey : idk_keyix=1
ieee80211_ioctl_delkey : idk_keyix=2
ieee80211_ioctl_delkey : idk_keyix=3
Using interface ath0 with hwaddr 14:e6:e4:77:68:b8 and ssid 'MERCURY_7768B8'
1136073607.483333: SSID - hexdump_ascii(len=14):
     4d 45 52 43 55 52 59 5f 37 37 36 38 42 38         MERCURY_7768B8
1136073607.483333: PSK (ASCII passphrase) - hexdump_ascii(len=8):
     32 30 31 31 30 34 32 32                           20110422
1136073607.750000: PSK (from passphrase) - hexdump(len=32): b3 2a 85 77 50 8d 8f
84 f3 9b b7 63 92 15 ea ff b0 56 21 a2 cf bb 00 d6 0c 2a c0 1a 24 05 82 6e
IEE80211-ESSID IOCTL 1,MERCURY_7768B8,15
osif_vap_init :vap up
IEE80211-setparam-mcastcipher 3
Warning: wlan_set_mcast_cipher failed. cache the mcast cipher
IEE80211-setparam-unicipher 8
Warning: wlan_set_ucast_cipher failed. cache the ucast cipher
IEE80211-setparam-keymgmtalgs 2
ieee80211_rsncaps
IEE80211-setparam-wpa 3
set IEEE80211_IOC_WPA to WPA and RSN
[ieee80211_ioctl_setparam_wpa:1721]
IEE80211-setparam-authmode 5
osif_vap_init :vap up
osif_vap_init 0
1136073607.816667: WPA: group state machine entering state GTK_INIT (VLAN-ID 0)
1136073607.816667: GMK - hexdump(len=32): 5d 3f 1c d0 05 3d ad c8 14 0a 33 5a b5
4a fd 53 49 b9 8a 57 4b d4 c3 69 e4 47 fc 39 4d 19 a9 31
1136073607.816667: GTK - hexdump(len=16): 55 69 ce c5 9a a6 fe f4 a3 04 36 d1 72
c1 01 0c
1136073607.816667: WPA: group state machine entering state SETKEYSDONE (VLAN-ID
0)
ieee80211_ioctl_setkey




ieee80211_ioctl_setkey: ******** SETKEY : error: 0 , key_type=3, macaddr=ff:ff:f
f:ff:ff:ff, key_len=16


IEE80211-setparam-privacy 1
hostapd_ctrl_iface_init
1136073607.833333: upnp_wps_device_init called
1136073607.833333: upnp_wps_device ssdp_listener_start failure!
1136073607.833333: upnp_wps_device_stop ENTER
1136073607.833333: upnp_wps_device_deinit called
1136073607.850000: upnp_wps_device_stop ENTER
1136073607.850000: Failed to initialize UPnP state machine
1136073607.850000: Continuing with WPS UPnP disabled.
****setup interface2 completed****
1136073607.866667: ath0: Setup of interface done.
****setup interface finalized ****


我的恩山、我的无线 The best wifi forum is right here.
 楼主| | 显示全部楼层
中断之后,输入help命令
ar7240> help
?       - alias for 'help'
boot    - boot default, i.e., run 'bootcmd'
bootd   - boot default, i.e., run 'bootcmd'
bootm   - boot application image from memory
cp      - memory copy
erase   - erase FLASH memory
go      - start application at address 'addr'
help    - print online help
md      - memory display
mm      - memory modify (auto-incrementing)
mtest   - simple RAM test
mw      - memory write (fill)
nm      - memory modify (constant address)
ping    - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
progmac - Set ethernet MAC addresses
reset   - Perform RESET of the CPU
run     - run commands in an environment variable
setenv  - set environment variables
tftpboot- boot image via network using TFTP protocol
version - print monitor version
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-29 10:26

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表