Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
playground:gmsl-zcu102-guide [11 Sep 2023 10:52] – [ZCU102 FPGA Board Setup] Sergiu Cuciureanplayground:gmsl-zcu102-guide [20 Sep 2023 14:56] (current) – [ZCU102 FPGA Board Setup] Sergiu Cuciurean
Line 95: Line 95:
  
 {{:playground:gmsl_des_on.png?400| Status of the Adapter and D-Phy (still LEDs)}} {{:playground:gmsl_des_on.png?400| Status of the Adapter and D-Phy (still LEDs)}}
- 
-Connect an ethernet cable to the ZCU102 RJ45 port. 
  
 Attach to the serial terminal using the first USB com port that appears after connecting the ZCU102's USB,  Attach to the serial terminal using the first USB com port that appears after connecting the ZCU102's USB, 
 with a baud rate of 115200. with a baud rate of 115200.
 +
 +Connect an ethernet cable to the ZCU102 RJ45 port
  
 {{:playground:zcu102-cables.png?600|}} {{:playground:zcu102-cables.png?600|}}
 +
 +Or connect the cable to the SFP0 port
 +
 +{{:playground:zcu102_sfp0.jpg?600|}}
 +
 +<code c>
 +
 +#Configure the interface
 +#In this case we use ZCU102's SFP0
 +$ ls -l /sys/class/net/
 +total 0
 +lrwxrwxrwx 1 root root 0 Mar 20 16:32 can0 -> ../../devices/platform/axi/ff070000.can/net/can0
 +lrwxrwxrwx 1 root root 0 Mar 20 16:32 eth0 -> ../../devices/platform/axi/a0000000.ethernet/net/eth0
 +lrwxrwxrwx 1 root root 0 Mar 20 16:32 eth1 -> ../../devices/platform/axi/a0000000.ethernet/net/eth1
 +lrwxrwxrwx 1 root root 0 Mar 20 16:32 eth2 -> ../../devices/platform/axi/ff0e0000.ethernet/net/eth2
 +lrwxrwxrwx 1 root root 0 Mar 20 16:32 lo -> ../../devices/virtual/net/lo
 +lrwxrwxrwx 1 root root 0 Mar 20 16:32 sit0 -> ../../devices/virtual/net/sit0
 +</code>
 +<note important>Both server and client should have the same MTU</note>
 +<code>
 +
 +#Set the MTU and ip
 +$ sudo ip link set mtu 9000 dev eth1 up
 +$ sudo ip addr add 192.168.5.1/24 dev eth1
 +$ ip a
 +1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
 +    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
 +    inet 127.0.0.1/8 scope host lo
 +       valid_lft forever preferred_lft forever
 +    inet6 ::1/128 scope host 
 +       valid_lft forever preferred_lft forever
 +2: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000
 +    link/sit 0.0.0.0 brd 0.0.0.0
 +3: can0: <NOARP,ECHO> mtu 16 qdisc noop state DOWN group default qlen 10
 +    link/can 
 +5: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
 +    link/ether 96:e8:9a:83:fc:f6 brd ff:ff:ff:ff:ff:ff
 +6: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc mq state UP group default qlen 1000
 +    link/ether 8e:2e:6e:7d:a8:f2 brd ff:ff:ff:ff:ff:ff
 +    inet 192.168.5.1/24 scope global eth1
 +       valid_lft forever preferred_lft forever
 +    inet6 fe80::8c2e:6eff:fe7d:a8f2/64 scope link 
 +       valid_lft forever preferred_lft forever
 +7: eth2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
 +    link/ether e2:43:6c:e2:ae:42 brd ff:ff:ff:ff:ff:ff
 +
 +</code>
  
 <note> Ubuntu credentials user:analog/pass:analog <note> Ubuntu credentials user:analog/pass:analog
Line 115: Line 162:
 $ cd /home/analog/Workspace/gstreamer $ cd /home/analog/Workspace/gstreamer
 $ ./server.sh **[IP of the viewing station]** $ ./server.sh **[IP of the viewing station]**
-$ ./server.sh 192.168.0.103+$ ./server.sh 192.168.5.2
  
 </code> </code>
playground/gmsl-zcu102-guide.txt · Last modified: 20 Sep 2023 14:56 by Sergiu Cuciurean