|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] hw/arm: add Lego NXT board |
Date: | Tue, 15 Jul 2014 09:06:36 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |