1、下载ethtool-5.2
http://mirrors.edge.kernel.org/pub/software/network/ethtool/
下载 ethtool-5.2.tar.gz
2、生成配置文件
1、tar zxvf ethtool-5.2.tar.gz;
2、cd ethtool-5.2
3、./configure --host=aarch64-himix100-linux CC=aarch64-himix100-linux-gcc LDFLAGS=-static
4、make
生成ethtool工具,用于配置aarch64 板子上工作状态
3、常用命令
1、ethtool --version 查看版本号
2、ethtool -s eth0 autoneg off speed 100 duplex full 强制设置为100M网
3、ethtool -i eth0 查看驱动信息