AXIOMTEK SCM188 User Manual page 29

Nxp i.mx 8m plus arm-based smarc module
Table of Contents

Advertisement

3.5.1.4 Ethernet
Network Devices Test
SCB184 has dual Ethernet ports, SCM188 with SCB184 supports Ethernet port (LAN1,LAN2),
this section explains how to check MAC address and test the Ethernet.
Connect the Ethernet cable and execute the below command to check MAC address is
same with the sticker on the RJ45 connector, and then check IP address has been set by
DHCP.
sh-5.1#
ifconfig eth0
eth0: flags=******<UP,BROADCAST,RUNNING,MULTICAST,DYNAMIC> mtu 1500
inet ******** netmask 255.255.254.0 broadcast *********
inet6 fe80::************** prefixlen 64 scopeid 0x20<link>
ether ************ txqueuelen 1000 (Ethernet)
RX packets 45182 bytes 3442113 (3.2 MiB)
RX errors 262 dropped 0 overruns 0 frame 262
TX packets 8842 bytes 120569043 (114.9 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
sh-5.1#
ifconfig eth1
eth0: flags=******<UP,BROADCAST,RUNNING,MULTICAST,DYNAMIC> mtu 1500
inet ******** netmask 255.255.254.0 broadcast *********
inet6 fe80::************** prefixlen 64 scopeid 0x20<link>
ether ************ txqueuelen 1000 (Ethernet)
RX packets 45182 bytes 3442113 (3.2 MiB)
RX errors 262 dropped 0 overruns 0 frame 262
TX packets 8842 bytes 120569043 (114.9 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
To test the connectivity, please execute the below command.
sh-5.1#
ping <any_ip_addr>
PING ********** (**********) 56(84) bytes of data.
64 bytes from **********: icmp_seq=1 ttl=64 time=**** ms
64 bytes from **********: icmp_seq=2 ttl=64 time=**** ms
Network Speed and Duplex Settings
The "ethtool" utility configures the Ethernet settings such as speed, auto-negotiation on many
network devices, especially Ethernet devices. This part explains how to set the Ethernet
speed to 10/100/1000 Mbps or half/full duplex in SCM188 with SCB184 board.
Execute the below command to set the desired speed/duplex in the ethernet.
sh-5.1#
ethtool -s eth0 speed [SPEED] duplex [DUPLEX]
SCM188 BSP User Guide
SCM188 NXP i.MX 8M Plus ARM-based SMARC Module
25

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SCM188 and is the answer not in the manual?

Questions and answers

Table of Contents