qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v5 4/4] Add qtest support for i.MX I2C device em


From: Jean-Christophe DUBOIS
Subject: Re: [Qemu-devel] [PATCH v5 4/4] Add qtest support for i.MX I2C device emulation.
Date: Tue, 04 Jun 2013 20:41:20 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6

On 06/04/2013 05:24 AM, Peter Crosthwaite wrote:
Hi Peter,

On Tue, Jun 4, 2013 at 1:21 AM, Peter Maydell <address@hidden> wrote:
On 8 May 2013 09:28, Jean-Christophe DUBOIS <address@hidden> wrote:
This is using a ds1338 RTC chip on the i2c bus. This RTC
chip is not present on the real board.
Ideally this should work by the test driver passing
a "-device ds1338,something,something" argument to
instantiate the RTC and connect it to the I2C bus,
rather than the board doing it if it knows it's being
run by qtest. Does the i2c interface let us do that?

CC Jan, I think he had some success with this in the at24 work, so I
think the answer is yes. And I cant see any reason why not - I2C is
properly QOMified AFAIK.

Regards,
peter

Is there some tutorial or something?

How to select the i2C master bus (out of several available)?

How to integrate this argument passing in qtest framework?

Thanks

JC

+
+    /* check retreived time againt local time */
"retrieve", "against"

thanks
-- PMM





reply via email to

[Prev in Thread] Current Thread [Next in Thread]