Hi, Jan,Nikhil

For set up the system: I am following the TI guide to set up the environment.

https://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-jacinto7/latest/exports/docs/linux/Foundational_Components/Virtualization/Jailhouse.html?highlight=jailhouse


    1. based PSDK7.0 SDK.

    2. run the jailhouse linux demo .

    3. Porting the IVSHMEM-NET kernel driver.

    4. board testing. result as below.

Please help to check and give your input. Thanks.

Regards,

Fredy

On 12/16/20 9:37 PM, Jan Kiszka wrote:
On 16.12.20 04:31, Fredy Zhang wrote:
Hi,

I am porting the IVSHMEM-NET patches on TI TDA4VM kernel 5.4. the module
can loaded sucessfully. Can you please help to give some suggestions on
how to verify the driver works fine ? thanks.

Nikhil, did you test that already?

Fredy, how did you set up the system? All on your own, following TI
documentations, or what was your guidance?

Jan

1. running the jailhouse linux-demo.
2. check the ifconfig
root@j7-evm:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 50:51:A9:FC:B2:20
           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)

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:82 errors:0 dropped:0 overruns:0 frame:0
           TX packets:82 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:6220 (6.0 KiB)  TX bytes:6220 (6.0 KiB)
3. modprove ivshmem-net, it
root@j7-evm:~# modprobe ivshmem-net
root@j7-evm:~# lsmod
Module                  Size  Used by
ivshmem_net           327680  0
xt_conntrack          262144  1
xt_MASQUERADE         262144  1
xt_addrtype           262144  2
iptable_filter        262144  1
iptable_nat           262144  1
4. check the ifconfig
root@j7-evm:~# ifconfig , I found a docker0 node. is the docker0 for
IVSHMEM-NET ?
docker0   Link encap:Ethernet  HWaddr 02:42:51:08:03:0E
           inet addr:172.17.0.1  Bcast:172.17.255.255  Mask:255.255.0.0
           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:0
           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth0      Link encap:Ethernet  HWaddr 50:51:A9:FC:B2:20
           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)

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:82 errors:0 dropped:0 overruns:0 frame:0
           TX packets:82 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:6220 (6.0 KiB)  TX bytes:6220 (6.0 KiB)

Regards,
Fredy

--
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/6e5460f6-276f-1b89-ea69-235fda1382b6%40gmail.com.

Reply via email to