自研批检仪检测命令测试成功

广播方式升级从机发现卡死现象
This commit is contained in:
ranchuan
2023-12-04 18:15:37 +08:00
parent 66b9453255
commit 2451c5dfc5
19 changed files with 256 additions and 69 deletions

15
checker_app_pre.sh Normal file
View 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