华数
ping -s Specifies the number of data bytes to be sent. default 64
\\172.17.60.252
http://172.17.201.108/twiki/bin/view/Datacom/FIR302T-V2
http://192.168.1.1/userDeviceManagement.cgi?macAddr=00:66:4B:AD:20:88&upBwLimit=1024
http://192.168.1.1/userDeviceManagement.cgi?macAddr=24:fd:52:1c:f1:72&connectionFlag=1
http://192.168.1.1/userDeviceManagement.cgi?macAddr=24:fd:52:1c:f1:72&upBwLimit=1024
http://192.168.1.1/userDeviceManagement.cgi?macAddr=24:fd:52:1c:f1:72&downBwLimit=1000
1: svn co
2: cd customer; ./install.sh(每svn up一次就要执行一下install.sh)
3: ln -s /dl dl;
4: make V=99
5: 报错, 修改 <atmsap.h>为 "atmsap.h"
6: cms目录下有原来的配置相关, 如make.common.
二: 添加usrmgmt
1: public/libs/cms_util/eid.c
make package/feeds/customer/cms/compile V=99
2: rt2860 ko
(1) ifconfig ra0 down
(2) rmmod lib/modules/3.10.36/rt2860v2_ap.ko
(3) rm -rf lib/modules/3.10.36/rt2860v2_ap.ko
(4) cd lib/modules/3.10.36/
(5) tftp -gr rt2860v2_ap.ko 192.168.1.18
(6) cd /
(7) insmod /overlay/lib/modules/3.10.36/rt2860v2_ap.ko
(8) ifconfig ra0 up
3. cms
consoled -m 0
loglevel set ssk Debug
cd /var;
tftp -gr cms_9_ramips_24kec.ipk 192.168.1.18
rm -rf /etc/resolv.conf
opkg install cms_9_ramips_24kec.ipk
tftp -gr kmod-board_3.10.36-1_ramips_24kec.ipk 192.168.1.18
opkg install kmod-board_3.10.36-1_ramips_24kec.ipk
tftp -gr userDeviceManagement.html 192.168.1.18
1. MAC烧写站:
①同时支持telnet和串口,
(已支持)
②提供MAC 烧写指令(ATE只需烧录1个mac,其它mac 由软件生成);
#consoled -m 0;
admin
admin
>setbasemac 00:11:22:33:44:50
>reboot
mac地址最后一位需要是0或者8的倍数。
重启后生效
③ WAN口请评估是否可以按照交换机的模式测试;----------------------------------------------------
2. wifi测试:
①提供read mac 指令;
#consoled -m 0
admin
admin
>getbssid
②写gain不用MTK底层指令,用软件封装product set指令(详细细节请咨询 殷文良/孙德亮)
#consoled -m 0
admin
admin
>product gain set 0054 0204
0054:location (可用的location值参考604C)
0204: value
3. 有线流量:
① SSID在MAC烧写后SSID 保持一样,reset 后不一样(根据产品定义来)
已做到
②带宽强制为40M, reset后为20M/40M 自适应;-------------------------------------------------------------------------------待讨论是否有这项需求。
4. Throughput:
①提供复位指令(恢复出厂设置)
#consoled -m 0
admin
admin
>restoredefault
5. Reset 测试:
① 提供修改SSID/读取SSID 指令
读取指令:
#consold -m 0
admin
admin
>getssid
修改指令:
#consoled -m 0
admin
admin
>setssid phicomm_ate
②reset button测试只需按1s(只测试物理键功能),软件需提供按键反馈信息;
反馈信息为:btn BTN_0 SHORT pressed.
6.在不开启debug信息,且没有操作的情况下,串口不要有debug信息的打印。
已做到。
7.在reset之前,处于AP mode,可以讲WAN口当做LAN口测试。
串口命令
1: iwconfig ra0
2: iwpriv ra0 stat
check Image
writeImage
{
// isConfigFileLikely 校验报头是否是<?xml version, 第20到50个字节开头中是否有<DslCpeConfig>
if (imageLen > CMS_CONFIG_FILE_DETECTION_LENGTH && cmsImg_isConfigFileLikely(imagePtr)
{
//将报文ptr发给smd, msgType=CMS_MSG_VALIDATE_CONFIGH_FILE
//smd作如下处理:1: 校验报头前5个字节是否为<?xml
ret = sendConfigMsg(imagePtr, imageLen, msgHandle, CMS_MSG_VALIDATE_CONFIG_FILE);
if (ret == CMSRET_SUCCESS)
{
cmsLog_debug("CMS XML config format verified.");
format = CMS_IMAGE_FORMAT_XML_CFG;
ret = cmsImg_writeValidatedImage(imagePtr, imageLen, format, msgHandle);
}
else
{
format = CMS_IMAGE_FORMAT_FLASH;
ret = cmsImg_writeValidatedImage(imagePtr, imageLen, format, msgHandle);
}
}
}
分区信息
/home/wudi/work/huasu/trunk/target/linux/ramips/dts/MT7620a_16M.dts