自研批检仪检测命令测试成功
广播方式升级从机发现卡死现象
This commit is contained in:
15
checker_app_pre.sh
Normal file
15
checker_app_pre.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
#! /bin/bash
|
||||
#ifconfig eth0 up
|
||||
#sleep 1
|
||||
#效果:将设备号eth0对应的物理端口设置为速率为100Mbps,全双工工作模式,同时关闭自动协商
|
||||
#ethtool -s eth0 speed 100 duplex full autoneg off
|
||||
#sleep 2
|
||||
#ifconfig eth0 up
|
||||
|
||||
# 加载m4固件
|
||||
echo stop > /sys/class/remoteproc/remoteproc0/state
|
||||
echo checker_m4.axf > /sys/class/remoteproc/remoteproc0/firmware
|
||||
echo start > /sys/class/remoteproc/remoteproc0/state
|
||||
|
||||
echo Prapare_OK
|
||||
|
Reference in New Issue
Block a user