UIO-4038
From ESS-WIKI
[edit]
login in : root password : 123456
check eternet port and eth0 IP address $ ifconfig
LAN0 connect WAN , it will get a IP Address
root@ADVANTECH:~# ifconfig br-lan Link encap:Ethernet HWaddr 4E:44:86:D5:C6:93 inet addr:192.168.100.1 Bcast:192.168.100.255 Mask:255.255.255.0 inet6 addr: fe80::4c44:86ff:fed5:c693/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:11 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:1298 (1.2 KiB) eth0 Link encap:Ethernet HWaddr 74:FE:48:69:26:2E inet addr:172.22.16.131 Bcast:172.22.19.255 Mask:255.255.252.0 inet6 addr: fe80::76fe:48ff:fe69:262e/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:11880 errors:0 dropped:1011 overruns:0 frame:0 TX packets:187 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2104141 (2.0 MiB) TX bytes:16651 (16.2 KiB) Base address:0x1000 eth1 Link encap:Ethernet HWaddr 4E:44:86:D5:C6:93 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Base address:0x1200 eth2 Link encap:Ethernet HWaddr 2A:7A:23:4E:73:5F UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Base address:0x1400 eth3 Link encap:Ethernet HWaddr F2:3C:9C:10:4C:DD UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:992 (992.0 B) Base address:0x1600 eth4 Link encap:Ethernet HWaddr 86:95:8F:C7:BC:11 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Base address:0x1800 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:34 errors:0 dropped:0 overruns:0 frame:0 TX packets:34 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1 RX bytes:4669 (4.5 KiB) TX bytes:4669 (4.5 KiB)
(LAN1 or LAN 2 or LAN 3) can connect to RSB-3430 ethernet port ( be a HUB Device ) .
In RSB-3430
root@imx6qrsb3430a1:~# ifconfig eth0 Link encap:Ethernet HWaddr 74:fe:48:43:b4:1f inet addr:192.168.100.226 Bcast:192.168.100.255 Mask:255.255.255.0 inet6 addr: fe80::76fe:48ff:fe43:b41f/64 Scope:Link UP BROADCAST RUNNING MULTICAST DYNAMIC MTU:1500 Metric:1 RX packets:46 errors:0 dropped:0 overruns:0 frame:0 TX packets:852 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:6882 (6.7 KiB) TX bytes:122693 (119.8 KiB) eth0:0 Link encap:Ethernet HWaddr 74:fe:48:43:b4:1f inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST DYNAMIC MTU:1500 Metric:1 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:1468 errors:0 dropped:0 overruns:0 frame:0 TX packets:1468 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:106280 (103.7 KiB) TX bytes:106280 (103.7 KiB) root@imx6qrsb3430a1:~# ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 64 bytes from 8.8.8.8: icmp_seq=1 ttl=115 time=4.63 ms 64 bytes from 8.8.8.8: icmp_seq=2 ttl=115 time=4.52 ms ^C --- 8.8.8.8 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1002ms rtt min/avg/max/mdev = 4.523/4.577/4.632/0.086 ms root@imx6qrsb3430a1:~#
login in : root password : 123456
check eternet port and eth0 IP address $ ifconfig
LAN0 connect WAN , it will get a IP Address
root@ADVANTECH:~# ifconfig br-lan Link encap:Ethernet HWaddr 4E:44:86:D5:C6:93 inet addr:192.168.100.1 Bcast:192.168.100.255 Mask:255.255.255.0 inet6 addr: fe80::4c44:86ff:fed5:c693/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:11 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:1298 (1.2 KiB) eth0 Link encap:Ethernet HWaddr 74:FE:48:69:26:2E inet addr:172.22.16.131 Bcast:172.22.19.255 Mask:255.255.252.0 inet6 addr: fe80::76fe:48ff:fe69:262e/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:11880 errors:0 dropped:1011 overruns:0 frame:0 TX packets:187 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2104141 (2.0 MiB) TX bytes:16651 (16.2 KiB) Base address:0x1000 eth1 Link encap:Ethernet HWaddr 4E:44:86:D5:C6:93 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Base address:0x1200 eth2 Link encap:Ethernet HWaddr 2A:7A:23:4E:73:5F UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Base address:0x1400 eth3 Link encap:Ethernet HWaddr F2:3C:9C:10:4C:DD UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:992 (992.0 B) Base address:0x1600 eth4 Link encap:Ethernet HWaddr 86:95:8F:C7:BC:11 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Base address:0x1800 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:34 errors:0 dropped:0 overruns:0 frame:0 TX packets:34 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1 RX bytes:4669 (4.5 KiB) TX bytes:4669 (4.5 KiB)
(LAN1 or LAN 2 or LAN 3) can connect to RSB-3720 ethernet port ( be a HUB Device ) .
In RSB-3720
root@imx8mprsb3720a1:~# ifconfig eth0 Link encap:Ethernet HWaddr 74:fe:48:43:b4:1f inet addr:192.168.100.226 Bcast:192.168.100.255 Mask:255.255.255.0 inet6 addr: fe80::76fe:48ff:fe43:b41f/64 Scope:Link UP BROADCAST RUNNING MULTICAST DYNAMIC MTU:1500 Metric:1 RX packets:46 errors:0 dropped:0 overruns:0 frame:0 TX packets:852 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:6882 (6.7 KiB) TX bytes:122693 (119.8 KiB) eth0:0 Link encap:Ethernet HWaddr 74:fe:48:43:b4:1f inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST DYNAMIC MTU:1500 Metric:1 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:1468 errors:0 dropped:0 overruns:0 frame:0 TX packets:1468 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:106280 (103.7 KiB) TX bytes:106280 (103.7 KiB) root@imx8mprsb3720a1:~# ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 64 bytes from 8.8.8.8: icmp_seq=1 ttl=115 time=4.63 ms 64 bytes from 8.8.8.8: icmp_seq=2 ttl=115 time=4.52 ms ^C --- 8.8.8.8 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1002ms rtt min/avg/max/mdev = 4.523/4.577/4.632/0.086 ms root@imx8mprsb3720a1:~#
Adjust the SW ( 3 on , others off)
Connect with Debug port
login in : root password : 123456
check eternet port and eth0 IP address $ ifconfig
LAN0 connect WAN , it will get a IP Address
root@ADVANTECH:~# ifconfig br-lan Link encap:Ethernet HWaddr 4E:44:86:D5:C6:93 inet addr:192.168.100.1 Bcast:192.168.100.255 Mask:255.255.255.0 inet6 addr: fe80::4c44:86ff:fed5:c693/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:11 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:1298 (1.2 KiB) eth0 Link encap:Ethernet HWaddr 74:FE:48:69:26:2E inet addr:172.22.16.131 Bcast:172.22.19.255 Mask:255.255.252.0 inet6 addr: fe80::76fe:48ff:fe69:262e/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:11880 errors:0 dropped:1011 overruns:0 frame:0 TX packets:187 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2104141 (2.0 MiB) TX bytes:16651 (16.2 KiB) Base address:0x1000 eth1 Link encap:Ethernet HWaddr 4E:44:86:D5:C6:93 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Base address:0x1200 eth2 Link encap:Ethernet HWaddr 2A:7A:23:4E:73:5F UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Base address:0x1400 eth3 Link encap:Ethernet HWaddr F2:3C:9C:10:4C:DD UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:992 (992.0 B) Base address:0x1600 eth4 Link encap:Ethernet HWaddr 86:95:8F:C7:BC:11 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Base address:0x1800 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:34 errors:0 dropped:0 overruns:0 frame:0 TX packets:34 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1 RX bytes:4669 (4.5 KiB) TX bytes:4669 (4.5 KiB)
(LAN1 or LAN 2 or LAN 3) can connect to RSB-3710 ethernet port ( be a HUB Device ) .
In RSB-3710
root@linaro-alip:~# ifconfig docker0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255 ether 02:42:08:fb:63:38 txqueuelen 0 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.100.234 netmask 255.255.255.0 broadcast 192.168.100.255 inet6 fe80::c073:78c8:6e0f:966c prefixlen 64 scopeid 0x20<link> ether ce:c2:1d:07:71:f3 txqueuelen 1000 (Ethernet) RX packets 503 bytes 48969 (47.8 KiB) RX errors 0 dropped 4 overruns 0 frame 0 TX packets 167 bytes 16986 (16.5 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 24 eth1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 ether d2:c2:1d:07:71:f3 txqueuelen 1000 (Ethernet) RX packets 1797 bytes 120346 (117.5 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 53 bytes 5402 (5.2 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1 (Local Loopback) RX packets 62 bytes 4338 (4.2 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 62 bytes 4338 (4.2 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 root@linaro-alip:~# ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 64 bytes from 8.8.8.8: icmp_seq=1 ttl=115 time=4.75 ms 64 bytes from 8.8.8.8: icmp_seq=2 ttl=115 time=4.20 ms ^C --- 8.8.8.8 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 3ms rtt min/avg/max/mdev = 4.198/4.475/4.752/0.277 ms root@linaro-alip:~# ^C root@linaro-alip:~#
1 | LAN0(WAN) | # ifconfig |
2 | LAN | # ping 192.168.100.1 |
3 | EEPROM | # echo -n $'\x06\x05\x04\x03\x02\x01' > /data/test1 # dd if=/data/test1 of=/sys/bus/i2c/devices/3-0050/eeprom # dd if=/sys/bus/i2c/devices/3-0050/eeprom of=/data/test2 conv=fsync |