Received: from eggs.gnu.org ([208.118.235.92]:44371) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYITd-0000yh-SO for qemu-devel@nongnu.org; Fri, 03 May 2013 12:04:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UYITc-0007Ki-IM for qemu-devel@nongnu.org; Fri, 03 May 2013 12:04:53 -0400 Received: from zose-mta15.web4all.fr ([178.33.204.94]:55956) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYITc-0007KN-D9 for qemu-devel@nongnu.org; Fri, 03 May 2013 12:04:52 -0400 Message-ID: <5183E020.2030209@tribudubois.net> Date: Fri, 03 May 2013 18:04:48 +0200 From: Jean-Christophe DUBOIS MIME-Version: 1.0 References: <1367438026-27573-1-git-send-email-jcd@tribudubois.net> <51825E30.5000802@suse.de> <5183D4E3.9060505@tribudubois.net> <5183D5D7.3010805@suse.de> In-Reply-To: <5183D5D7.3010805@suse.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 1/2] Add i.MX I2C device emulator. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?ISO-8859-15?Q?Andreas_F=E4rber?= Cc: qemu-devel@nongnu.org On 05/03/2013 05:20 PM, Andreas F=E4rber wrote: > Am 03.05.2013 17:16, schrieb Jean-Christophe DUBOIS: >> Andreas, >> >> On 05/02/2013 02:38 PM, Andreas F=E4rber wrote: >>> Hi, >>> >>> Am 01.05.2013 21:53, schrieb Jean-Christophe DUBOIS: >>>> Signed-off-by: Jean-Christophe DUBOIS >>>> --- >>>> default-configs/arm-softmmu.mak | 2 + >>>> hw/i2c/Makefile.objs | 1 + >>>> hw/i2c/imx_i2c.c | 374 >>>> ++++++++++++++++++++++++++++++++++++++++ >>>> 3 files changed, 377 insertions(+) >>>> create mode 100644 hw/i2c/imx_i2c.c >>> Please thread your messages together so they can be reviewed in conte= xt. >>> >>> Since you're adding a new I2C device and we have a qtest framework fo= r >>> I2C, please supply an implementation for this device (which will requ= ire >>> some constant sharing via header file) and some simple test case for = the >>> board you're using it on, to assure it keeps working. >> What is the "target" for building qtest? >> >> And then how to run it? > make check Thanks Andreas, So I added a libi2c-imx.c file, a ds1338-test.c file ... but when I run "make check" I get the following. What am I missing? JC $ make check GTESTER tests/check-qdict GTESTER tests/check-qfloat GTESTER tests/check-qint GTESTER tests/check-qstring GTESTER tests/check-qlist GTESTER tests/check-qjson GTESTER tests/test-qmp-output-visitor GTESTER tests/test-qmp-input-visitor GTESTER tests/test-qmp-input-strict GTESTER tests/test-qmp-commands GTESTER tests/test-string-input-visitor GTESTER tests/test-string-output-visitor GTESTER tests/test-coroutine GTESTER tests/test-visitor-serialization GTESTER tests/test-iov GTESTER tests/test-aio GTESTER tests/test-thread-pool GTESTER tests/test-hbitmap GTESTER tests/test-x86-cpuid GTESTER tests/test-xbzrle GTESTER tests/test-cutils GTESTER tests/test-mul64 CC tests/libi2c-imx.o LINK tests/tmp105-test CC tests/ds1338-test.o LINK tests/ds1338-test GTESTER check-qtest-arm Kernel image must be specified Broken pipe make: *** [check-qtest-arm] Error 1 $ > > Andreas > >> Could you point me to some documentation please? It doesn't build out = of >> the box for me. >> >> JC >> >