Files
checker_host/checker_app_pre.sh
ranchuan 2451c5dfc5 自研批检仪检测命令测试成功
广播方式升级从机发现卡死现象
2023-12-04 18:15:37 +08:00

16 lines
448 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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