On 17 Aug 2014, at 12:14, Phil Tomson <philtomson@xxxxxxxxx> wrote:
I'm interested in Mirage for some embedded applications that interact with the Internet of Things either by http or other protocols (like MQTT or COAP).
So for example, let's say I've got a Cubieboard2 and I connect up an A/D board to collect data (temperature, weather data, etc.) and I want to setup an http server using Mirage that would serve up this data. The http part is straightforward. However, how does one interact with the GPIO pins on the Cubieboard? - that seems to be on the "other side of" Xen. So would one need to write some kind of device driver for Xen that interfaces to the Cubieboard's GPIO in order to do this? And if so, how would it be accessed by Mirage?
1. Is it possible?
2. If so, can you point me in the right direction?
If you're feeling extra-paranoid, it's possible to move the GPIO handling code into an unprivileged VM, but the first step to do is to figure out the GPIO/Linux runes in dom0 first.
I'd be very interested in seeing how this goes...
-anil
|