On 01/11/2012 05:25 PM, Peter Maydell wrote:
On 11 January 2012 15:12, Andrei Gherzanandrei@gherzan.ro wrote:
-M vexpress-a9 -hda /home/xxx/work/yyy/yocto/2012-01-08-14-57/tmp/deploy/images/image-qemuarmv7.ext3
vexpress-a9 does not support hard disks, so -hda won't work. Use -drive if=sd,cache=writeback,filename=/path/to/disk.img instead, to set up an SD card image. You'll need to fiddle with the root= kernel parameter too (and make sure your kernel has the relevant drivers).
-cpu cortex-a8
You can't boot a vexpress-a9 board model with a Cortex-A8 CPU, this will not work. Just don't pass any cpu argument.
-m 128
This is a tiny amount of memory, and very few images will boot in it I suspect. -m 1024 is probably more sensible (and adjust the mem= argument to the console).
If you want something that Just Works, you can use the wiki documentation to boot one of the linaro prebuilt images.
-- PMM
Thank you very much Peter. What i really need is to compile a kernel by my self, armv7 and boot it in qemu linaro. Don't bother the arguments for now. That was just an example for armv5 modified a little to clearly state my problem. I just need a kernel source and defconfig that can be emulated successfully in Linaro Qemu.