qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Fwd: Re: [PATCH v4 2/2] Add AT24Cxx I2C EEPROM device m


From: Jan Kiszka
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
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666

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 via email to

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