Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: 2019_2 -> 2020_2

...

Code Block
languagebash
themeMidnight
root@xilinx-zcu102-20192020_2:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0A:35:00:22:01  
          inet addr:10.0.2.15  Bcast:10.0.2.255  Mask:255.255.255.0
          inet6 addr: fe80::20a:35ff:fe00:2201/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1152 (1.1 KiB)  TX bytes:4732 (4.6 KiB)
          Interrupt:30 

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: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)

...

Code Block
languagebash
themeMidnight
root@xilinx-zcu102-20192020_2:~# wget https://github.com/Xilinx/qemu-devicetrees/archive/master.zip

...

Code Block
languagebash
themeMidnight
root@xilinx-zcu102-20192020_2:~# unzip master.zip

Output:

...

Code Block
languagebash
themeMidnight
root@xilinx-zcu102-20192020_2:~# tftp -g -r file.txt 10.0.2.2

...

Code Block
languagebash
themeMidnight
root@xilinx-zcu102-20192020_2:~# cat file.txt   

Anchor
SCP Section
SCP Section
File Transfer with SSH

...

Code Block
languagebash
themeMidnight
linenumberstrue
root@xilinx-zcu102-20192020_2:~# scp <your host machine username>@<your host machine IP>:/scratch/doc-example/myapp.elf .

Host '<host IP>' is not in the trusted hosts file.
(ecdsa-sha2-nistp256 fingerprint sha1!! 18:7e:92:d0:33:ed:97:e7:cb:b2:f7:b1:5d:52:5f:a6:34:9a:97:f9)
Do you want to continue connecting? (y/n) y
komlodi@<host IP>'s password: 
myapp.elf                                                   100%   18KB  17.7KB/s   00:00    
root@xilinx-zcu102-20192020_2:~#

SSH into QEMU

To SSH into QEMU, some additional arguments need to be passed into QEMU.

...

Setting the TAP network for QEMU

The TAP networking backend makes use of a TAP networking device in the host. It offers very good performance and can be configured to create virtually any type of network topology.
Unfortunately, it requires configuration of that network topology in the host which tends to be different depending on the operating system you are using. Generally speaking, it also requires that you have root privileges.[1]

Note

You might need to install bridge-utils and uml-utilities on the Linux machine to set up TAP networking. Use the commands shown below to install these tools:

...