On 2017-04-18 14:41, Hari Krishnan wrote: > Hi, > Thanks for the reply. > > I am a newbie and am still unclear of how to exactly run ivshmem-demo which > is available in inmates->demos->x86. > > According to the documentation for inter-cell communication, "You can go > ahead and connect two non-root cells and run the ivshmem-demo. They will send > each other interrupts". > 1) Do we need two non root cells or can this work with a root cell and a non > root cell?
The root cell is also a cell, so, yes. > > 2) If it is possible to communicate between a root cell and a non root cell, > how can we " connect" these two cells? Look at the existing configs/, e.g. for the qemu-vm.c and the linux-x86-demo.c. They both contain the config fragments (PCI device, memory region) to establish a cell-to-cell link. A more complex scenario (multiple links) can be found under configs/zynqmp-zcu102.c. > > 3) How should I run ivshmem-demo? > As in, for a demo uart-demo for arm, I had a uart-demo.bin file which I had > loaded in a non root cell,jetson-demo.cell. > How can I proceed to run ivshmem-demo on Jetson TK1? Could you help me in a > more comprehensive manner? Before going into details here, let me ask you what your goals are: Is the purpose to understand the details or more to achieve a certain functionality? Do you want to establish a low-level ivshmem link between the root cell and some bare-metal or a non-Linux OS in a non-root cell? Or are you looking for ivshmem-net, a network link over ivshmem? Documentation of ivshmem is in flux because the whole interface is in flux. There is, e.g., a branch wip/ivshmem2 which contains some more modifications to the virtual PCI device but also a specification of the same [1]. Not yet set in stone, though. Jan [1] https://github.com/siemens/jailhouse/blob/wip/ivshmem2/Documentation/ivshmem-v2-specification.md -- Siemens AG, Corporate Technology, CT RDA ITP SES-DE Corporate Competence Center Embedded Linux -- 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]. For more options, visit https://groups.google.com/d/optout.
