本站点使用Cookies,继续浏览表示您同意我们使用Cookies。Cookies和隐私政策>
发布时间: 2020-09-25 | 浏览次数: 528 | 下载次数: 0 | 作者: dWX467094 | 文档编号: EKB1100056394
如果数据损坏而导致主机无法进入命令行界面,请采用本方式重新加载版本。
按本方式加载版本后,损坏的数据、定制的voice.zip和证书将丢失。请在加载完成后加载最近备份的data.bin、voice.zip和所有证书文件。
步骤 1 在操作维护终端启动FTP/FTPS(这里以FTP为例)和TFTP服务器,并确认FTP/FTPS用户名为“cvp”,密码为“cvppass”或“Huawei123”。
步骤 2 将目标版本的主机软件拷贝到FTP和TFTP目录下。使用文本工具编辑主机版本文件中的switch.dat,将“IP”修改为设备的IP地址。
步骤 3 使用网线将操作维护终端连接到设备的网口,使用串口线将操作维护终端连接到CVP板的CONSOLE口。在操作维护终端使用串口工具连接到设备,按电源键重新启动设备。
步骤 4 设备打印如下内容时,请在3s内按下空格键。
Press space key to stop auto-boot...
步骤 5 输入boot2密码(默认为“qpmz1234”),按“Enter”键进入boot2模式。
login password:
password OK enter menu
Enter board's boot load command line:
1 - Print this list
2 - Load file from flash, then boot
3 - Show the boot params then return to the command line
4 - Enter boot2 reserved command line
5 - Reboot
6 - Equipment test or diagnose test
7 - Change PassWord
Enter your choice(1-7):
步骤 6 输入“4”,按“Enter”键进入调试环境。可以输入“?”打印帮助信息,如下所示。
[Boot2]: ?
?[h][H] - Print this list
reboot[REBOOT] - Reboot
d[D] [adrs] [,nbytes] - Display memory
pip - Print inner network IP address
PMA - Print MAC address
q[Q] - Quit debug mode
DPR - Display power on test result
CE - Clear boot2 flag
CER - Clear boot2 flag then reboot
A1 - Load APP and start
c[C]4 hostip - Change IPV4 Host ip address
p[P] - Print mottsec boot params
步骤 7 执行命令“p”查看hostip与FTP服务器IP地址是否一致。如需修改,请执行命令“c4 <hostip>”,例如“c4 172.16.15.4”。
步骤 8 执行命令“CER”清除boot2标记,设备将自动重启并从FTP服务器加载boot2程序。完成后系统将在新的boot2环境中自动启动主机软件。
步骤 9 进入config模式,执行“reboot”命令重新启动设备,参考步骤4~步骤6再次进入boot2模式下的调试环境。
步骤 10 执行命令“A1”,设备会从FTP服务器加载switch.dat和u1910.bin文件,并从TFTP服务器加载其余主机版本文件。当串口打印如下信息时,说明版本加载完成,按“Enter”键即可进入新加载的主机版本。
Genarate new hostkey succeed!
说明:“[60048]Down file " autodevtest.txt " failed!”为测试信息,并非加载出错,请忽略该提示
说明:重新启动设备之前请勿执行save命令,否则主机数据信息将丢失。
----结束