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