qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: Weng Fan <wengfan-fnst@cn.fujitsu.com>
Cc: "Qemu-devel@nongnu.org" <Qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Fwd: Re: [PATCH v4 2/2] Add AT24Cxx I2C EEPROM device model
Date: Wed, 15 May 2013 18:10:46 +0200	[thread overview]
Message-ID: <5193B386.3010700@siemens.com> (raw)
In-Reply-To: <51932943.7020408@cn.fujitsu.com>

On 2013-05-15 08:20, Weng Fan wrote:
> Hi.
> I want to use this patch for qemu-system-arm.
> But an error occurred during initialization of the i2c device.
> 
> The error message is :
> 
> qemu-system-arm: drive property not set
> qemu-system-arm: Initialization of device at24 failed
> 
> The command is:
> qemu-system-arm -M versatilepb -nographic -kernel zImage -initrd
> initrd.img -append "root=linuxrc console=ttyAMA0,115200"

You command line is incomplete, no mentioning of the -drive at24. The
intended usage is:

-drive file=/path/to/image,if=none,id=eeprom -device at24,drive=eeprom

You can also specify the desired at24xxx type explicitly, e.g. at24c256
for the 256K model. Otherwise the type is derived from the image size.

Jan

-- 
Siemens AG, Corporate Technology, CT RTC ITP SDP-DE
Corporate Competence Center Embedded Linux

  reply	other threads:[~2013-05-15 16:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-15  6:20 [Qemu-devel] Fwd: Re: [PATCH v4 2/2] Add AT24Cxx I2C EEPROM device model Weng Fan
2013-05-15 16:10 ` Jan Kiszka [this message]
2013-05-18  3:01   ` Weng Fan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5193B386.3010700@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=Qemu-devel@nongnu.org \
    --cc=wengfan-fnst@cn.fujitsu.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).