本文硬件平台采用[color=inherit !important]全志T507四核车规级处理器设计开发板,本文讲解T507开发板以太网[color=inherit !important]配置方法。其它板卡设置略有不同,请参考使用。
一、全志T507系列硬件介绍FETT507-[color=inherit !important]C核心板集成全志T507四核车规级处理器设计开发,[color=inherit !important]Cortex-A53架构,主频1.[color=inherit !important]5GHz,集成G31 GPU,内存2GB DDR3L,存储8GB eMMC。
整板工业级运行温宽,支持绝大部分当前流行的视频及图片格式解码,具有稳定可靠的工业级产品性能、低功耗以及丰富的用户接口等优势,搭载[color=inherit !important]Linux、Android、Ubuntu*操作系统,适用于[color=inherit !important]车载电子、[color=inherit !important]电力、[color=inherit !important]医疗、[color=inherit !important]工业控制、[color=inherit !important]物联网、智能终端等领域。
二、以太网配置
OKT507-C板载一个[color=inherit !important]千兆网卡和一个百兆网卡,插入网线连接网络的情况下,出厂时默认配置为静态IP 192.168.0.232。
1、千兆以太网固定IP方式开发板IP:192.168.1.151
路由器IP:192.168.1.1
子网掩码:255.255.255.0
T507开发板上电,执行如下[color=inherit !important]命令,打开IP的配置文件
#vi/etc/network/interfaces添加内容类似如下:
auto eth0iface eth0 inet staticaddress 192.168.1.151netmask 255.255.255.0gateway 192.168.1.1其中iface用于指定需要固定IP的网卡;
address用于指定需要固定的IP地址和子网掩码;
gateway用于指定[color=inherit !important]网关
保存退出后重启T507开发板或者重新启停配置:
#ifdown -a#ifup -a2、百兆以太网固定IP方式开发板IP:192.168.2.151
路由器IP:192.168.2.1
子网掩码:255.255.255.0
T507开发板上电,执行如下命令,打开IP的配置文件
#vi/etc/network/interfaces添加内容类似如下:
auto eth1iface eth1 inet staticaddress 192.168.2.151netmask 255.255.255.0gateway 192.168.2.1其中iface用于指定需要固定IP的网卡;
address用于指定需要固定的IP地址和子网掩码;
gateway用于指定网关
保存退出后重启T507开发板或者重新启停配置:
#ifdown eth1#ifup eth13、自动获取IP方法#vi /etc/network/interfaces修改为:
auto eth0iface eth0 inet dhcpauto eth1iface eth1 inet dhcp去掉address、netmask、gateway属性。
保存退出后重启T507开发板或者重新启停配置:
#ifdown -a#ifup –a4、测试以太网网速通过使用网络速度测试工具iperf3,测试OKT507-C底板ETH0/ETH1网络速度。
①、ETH0千兆网口速度测试
在PC机Ubuntu终端输入
查看Ubuntu本地IP地址
#ifconfig
在OKT507串口调试终端输入
#iperf3 -c 192.168.1.113 -t 60 -i 1(请根据实际情况填写服务器IP地址)
OKT507-C千兆网络传输带宽为702Mb/s
②、ETH1百兆网口速度测试
在OKT507串口调试终端输入
#iperf3 -c 192.168.1.113 -t 60 -i 1(请根据实际情况填写服务器IP地址)
OKT507-C百兆网络传输带宽为94Mb/s
更多全志T507系列车规级T507[color=inherit !important]芯片资料,T507核心板资料 您可点击https://www.forlinx.com/product/t507-134.html 查询。