Qemu flash boot up does not work

admin

Administrator
Staff member
I have a rather old (published in 2009) embedded ARM linux book that uses
Code:
u-boot
and
Code:
qemu
.
The usage of
Code:
qemu
with the
Code:
u-boot
binary explained in the book is as follows:

Code:
qemu-system-arm -M connex -pflash u-boot.bin -nographic

It uses qemu 0.9.1, and mine is 2.1.0:

Code:
qemu-system-arm --version
QEMU emulator version 2.1.0, Copyright (c) 2003-2008 Fabrice Bellard

When I executed the same command, however, I got these error messages.

Code:
qemu-system-arm: failed to read the initial flash content
qemu-system-arm: Initialization of device cfi.pflash01 failed

What might be wrong? Is this from the new command parameter? I have <a href="http://emreboy.wordpress.com/2012/12/15/how-to-cross-compile-u-boot-and-work-it-on-qemu/" rel="nofollow">this site</a> that uses different command, but when I tried that I see a blank screen.

Code:
qemu-system-arm -M versatilepb -m 128M -nographic -kernel u-boot.bin

I use Mac OS X maverick for qemu.