Il 15/07/2014 00:48, Peter Maydell ha scritto:
> My interest is to fake sensor values for the guest and not to connect
> anything to real hardware. I think I misinterpreted your "chardev". To
> clarify: My guest is a bare metal ARM image, no linux and I don't want to
> interact with the host's hardware. So no chardev in the linux sense is
> involved.
Right, but this is an optional part of Paolo's proposal as I understand
it.
Correct, it's an additional part just to show that the interface can be
useful for much more than bypassing the GPL. :)
As to the protocol, I found a datasheet of an I2C-to-UART bridge that
could provide ideas:
http://www.nxp.com/documents/data_sheet/SC18IM700.pdf chapter 7, it's
very simple (just two commands, start and stop).
Paolo