On 2017-04-20 18:19, Hari Krishnan wrote: >> 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? > > Hi Jan, > > Thanks again for the reply. > Although I would look for implementing specific functionality later, I am > currently trying to achieve a low-level ivshmem link between the root cell > and another non-root cell. I want to see an interrupt sent from one root cell > received and acknowledged by the other cell and sent another interrupt back > to the root cell and provide acknowledgement for the same. I believe such a > setup is written for in the ivshmem-demo. I have been able to run the > uart-demo in Jetson TK1 but I am finding difficulty with ivshmem-demo. Could > you help me establish a low level ivshmem link between two cells in Jetson > TK1 and run the ivshmem-demo? Does the ivshmem-demo work for arm > architecture? What moifications should I make to make it run in Jetson TK1?
OK, understood, learning by doing - makes quite some sense. There will be probably some details to sort out left and right, but the basic steps should be like this: - replicate the ivshmem-demo from x86 to inmates/demos/arm and hook it up in the Makefile - resolve build issues, maybe provide missing implementations for inmates/lib/arm - augment the jetson-tk1-demo.c config with an ivshmem device and a shared mem region, using to configs/jetson-tk1-linux-demo.c as reference - check out https://github.com/henning-schild/ivshmem-guest-code, validate on x86 that it still works as described in ivshmem-guest- code/README.jailhouse (if not, report and/or fix) - make ivshmem-guest-code build for arm, specifically the pieces described in README.jailhouse And just ask, if you run into troubles. Jan -- 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.
