... and setting the right emulated -cpu, it boots!
For reference (mainly mine), here is the qemu command line that works:
kernel=3.3.4-4.fc17.armv7hl
QEMUDIR=$HOME/d/qemu
exec \
$QEMUDIR/arm-softmmu/qemu-system-arm \
-s \
-M versatilepb \
-cpu arm926 \
-nodefaults \
-nographic \
-serial stdio \
-m 256 \
-kernel /boot/vmlinuz-$kernel \
-initrd /boot/initramfs-$kernel.img \
-append 'console=ttyAMA0'
Note that I built this qemu from today's upstream qemu.git, because
the one we currently have compiled in Fedora fails early with this
error:
/builddir/build/BUILD/qemu-kvm-1.0/tcg/arm/tcg-target.c:891: tcg fatal error
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming blog:
http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora