Files
checker_host/checker_app_pre.sh

16 lines
448 B
Bash
Raw Normal View History

#! /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