Hello, One of our use cases involves running Codesys Control SoftPLC [1] on a jailhouse inmate. Unfortunately this software uses the GPU mailbox [2] (/dev/char_dev, /dev/vcio) for communication with the raspberry pi Firmware. As this device is needed by a lot of subsystems (GPU, power management, some GPIOS, ...) it seems undesirable to move all of the subsystems into the inmate. For now our plan is to write a simple userspace emulation for the few ioctls which are actually used in the implementation [3]. But I wanted to know if there might be a Jailhouse of handling this situation. Just sharing the device deadlocks immediately, due to the shared interrupt I assume.
Kind Regards, Christoph Gerum [1] https://www.codesys.com/products/codesys-runtime/control.html [2] https://www.kernel.org/doc/Documentation/devicetree/bindings/mailbox/brcm%2Cbcm2835-mbox.txt [3] https://libfuse.github.io/doxygen/example_2cuse_8c.html -- 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/f1889ddb-56e3-abef-87be-dcb2085a0ef0%40uni-tuebingen.de.
