help understanding virtio

174 views
Skip to first unread message

a.curtis

unread,
Apr 19, 2016, 4:39:33 PM4/19/16
to open-amp
Hello,

Could someone point me to some documentation that describes how to use the Virtio features? I am particularly interested in file system and network IO.

Was the "Proxy" example removed for STDIO redirection from the slave?

Thanks
Allen

Jiaying Liang

unread,
Apr 19, 2016, 5:03:02 PM4/19/16
to open...@googlegroups.com

HI Allen,

 

You can have a look at : http://www.linux-kvm.org/page/Virtio for virtio.

 

At the moment, in the OpenAMP repo, it only implements virtio ring.

You are welcomed to contribute to add other virtio device support in OpenAMP.

You can have a look at the source code of the Linux kernel driver implementation: in the linux kernel source drivers/virtio.

 

The “proxy” example shows stdio redirection from slave and also the slave can access files on the master’s file system.

 

Best Regards,

Wendy

 

--
You received this message because you are subscribed to the Google Groups "open-amp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open-amp+u...@googlegroups.com.
To post to this group, send email to open...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.

a.curtis

unread,
Apr 19, 2016, 5:53:23 PM4/19/16
to open-amp

 

You can have a look at : http://www.linux-kvm.org/page/Virtio for virtio.

 

At the moment, in the OpenAMP repo, it only implements virtio ring.

You are welcomed to contribute to add other virtio device support in OpenAMP.

You can have a look at the source code of the Linux kernel driver implementation: in the linux kernel source drivers/virtio.

 


I guess I may have to do that! What do I need to do to contribute?

Does this mean that the Proxy demo is using a generic virtio ring buffer? 
 

The “proxy” example shows stdio redirection from slave and also the slave can access files on the master’s file system.


I am currently using XSDK v2015.4 and PetaLinux v2015.4. The OpenAMP in that release doesn't look anything like this implementation. For instance the current proxy sample application is called rpc_demo.c 

Should I upgrade to v2016.0 of these tools?

Is is possible to upgrade v2015.4 to use the current OpenAMP?

Where is the FreeRTOS support for this version of OpenAMP? Is there another repository for this?

Thanks!

tcmi...@gmail.com

unread,
Apr 21, 2016, 9:15:21 AM4/21/16
to open-amp

https://github.com/tcmichals/FreeRTOS-Neo

(Linux size, creates 3 channels, (1) serial, (2) clear message, (3) for Ethernet)

This should work for standard linux; the idea behind TCP/IP over rpmsg is to leverage existing applications on Linux FTP/TFTP. Multiple apps can create multiple rpmsg endpts or creating a protocol to use single endpt.

https://github.com/tcmichals/rpmsg-neo

Reply all
Reply to author
Forward
0 new messages