Lines Matching +full:2 +full:- +full:cell

1 .. zephyr:code-sample:: eth-ivshmem
2 :name: Inter-VM Shared Memory (ivshmem) Ethernet
3 :relevant-api: ivshmem ethernet
5 Communicate with another "cell" in the Jailhouse hypervisor using IVSHMEM Ethernet.
11 another "cell" in the Jailhouse hypervisor. Currently only the qemu_cortex_a53
20 .. code-block:: console
22 git clone https://github.com/siemens/jailhouse-images.git
23 cd jailhouse-images
29 .. code-block:: console
31 ./kas-container menu
33 Edit "start-qemu.sh":
34 * change ``-cpu cortex-a57`` -> ``-cpu cortex-a53``
36 * Enable SSH access by appending ``,hostfwd=tcp::2222-:22`` to
37 ``-netdev user,id=net`` in the QEMU process arguments
42 .. code-block:: console
44 ./start-qemu.sh arm64
51 .. zephyr-app-commands::
52 :zephyr-app: samples/drivers/ethernet/eth_ivshmem
59 Copy the generated zephyr.bin to the Jailhouse Linux root cell:
61 .. code-block:: console
63 scp -P 2222 path/to/zephyr.bin root@localhost:/root
65 Jailhouse has a prebuilt Zephyr cell configuration that works for
66 this sample "qemu-arm64-zephyr-demo".
68 Back in Jailhouse Linux shell, create the Zephyr cell:
70 .. code-block:: console
72 jailhouse enable /etc/jailhouse/qemu-arm64.cell
74 jailhouse cell create /etc/jailhouse/qemu-arm64-zephyr-demo.cell
79 .. code-block:: console
81 ssh -p 2222 root@localhost
83 Load and start the Zephyr cell:
85 .. code-block:: console
87 jailhouse cell load qemu-arm64-zephyr-demo zephyr.bin --address 0x70000000
88 jailhouse cell start qemu-arm64-zephyr-demo
96 .. code-block:: console
98 *** Booting Zephyr OS build v3.3.0-475-g45b9e84c6013 ***
102 28 bytes from 192.168.19.1 to 192.168.19.2: icmp_seq=2 ttl=64 time=7.99 ms
108 .. code-block:: console
110 root@demo:~# ping -c 3 192.168.19.2
113 64 bytes from 192.168.19.2: icmp_seq=2 ttl=64 time=1.45 ms
116 --- 192.168.19.2 ping statistics ---
127 .. code-block:: console
134 .. code-block:: console
138 wget https://iperf.fr/download/ubuntu/iperf_2.0.5+dfsg1-2_arm64.deb
139 apt install ./iperf_2.0.5+dfsg1-2_arm64.deb
140 rm iperf_2.0.5+dfsg1-2_arm64.deb
143 iperf -l 1K -V -c 192.168.19.2 -p 5001
147 .. code-block:: console
157 .. code-block:: console
159 ------------------------------------------------------------
162 ------------------------------------------------------------
165 [ 3] 0.0-10.0 sec 72.2 MBytes 60.6 Mbits/sec