From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33985) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X6wp7-0008Gv-Gk for qemu-devel@nongnu.org; Tue, 15 Jul 2014 03:06:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X6wp1-0003LD-3w for qemu-devel@nongnu.org; Tue, 15 Jul 2014 03:06:49 -0400 Received: from mail-qc0-x22f.google.com ([2607:f8b0:400d:c01::22f]:56609) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X6wp0-0003Jt-Vl for qemu-devel@nongnu.org; Tue, 15 Jul 2014 03:06:43 -0400 Received: by mail-qc0-f175.google.com with SMTP id w7so196275qcr.34 for ; Tue, 15 Jul 2014 00:06:42 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <53C4D2FC.50402@redhat.com> Date: Tue, 15 Jul 2014 09:06:36 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <53C295C8.5040309@antistatix.de> <53C3C32A.4060705@redhat.com> <53C41CEC.5030705@campus.tu-berlin.de> <53C43F9B.6090907@redhat.com> <53C44742.2010104@campus.tu-berlin.de> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] hw/arm: add Lego NXT board List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , Alexander Graf Cc: QEMU Developers 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