From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41453) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X6ein-0001c8-7Q for qemu-devel@nongnu.org; Mon, 14 Jul 2014 07:47:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X6eie-0007CQ-4X for qemu-devel@nongnu.org; Mon, 14 Jul 2014 07:47:05 -0400 Received: from mail-qa0-x22d.google.com ([2607:f8b0:400d:c00::22d]:57183) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X6eic-0007C4-SB for qemu-devel@nongnu.org; Mon, 14 Jul 2014 07:46:56 -0400 Received: by mail-qa0-f45.google.com with SMTP id cm18so1708846qab.18 for ; Mon, 14 Jul 2014 04:46:54 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <53C3C32A.4060705@redhat.com> Date: Mon, 14 Jul 2014 13:46:50 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <53C295C8.5040309@antistatix.de> In-Reply-To: <53C295C8.5040309@antistatix.de> Content-Type: text/plain; charset=ISO-8859-1; 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: Alexander Graf , qemu-devel@nongnu.org Cc: peter.maydell@linaro.org Il 13/07/2014 16:20, Alexander Graf ha scritto: > > The problem is that the qemu board I designed is not self-contained. It > allows the firmware to read/write IO memory in order to read back sensor > values from the simulated environment and to control actuators. The > environment simulator is an external program which is connected to > several qemu instances via posix named pipes using a simple > communication protocol. Without pipe interaction the emulator can still > be used to debug NXT firmware images without sensor/actuator interaction. What does your protocol look like, and what kind of bus do the actual sensors and actuators use? If it is I2C or SPI, having generic i2c-over-chardev or spi-over-chardev protocols and devices would be a nice addition to QEMU. Paolo