[oe] testing with qemu, was Re: Angstrom and h2200
Richard Purdie
rpurdie at rpsys.net
Mon Feb 26 21:05:31 UTC 2007
On Mon, 2007-02-26 at 13:03 +0100, Patrick Fischer wrote:
> Nicola Ranaldo wrote:
> > I already use it to emulate x86 machines, but i was not able before to find
> > the qemu-system-arm command!!! the poky-runqemu documentation seems to be
> > complex, to run the test images at
> > http://www.angstrom-distribution.org/unstable/images/20070120/qemuarm/ i
> > simply used the following command:
> >
> > qemu-system-arm -M versatilepb -kernel
> > zImage-2.6.18-qemuarm-20070120215313.bin -hda
> > Angstrom-gpe-image-test-20070120-qemuarm.rootfs.ext2 -append "root=/dev/sda"
> > When the system asked to calibrate to touchscreen i pressed ESC and gpe
> > appeared!
> >
> This is my test script for qemu
> ./testqemu.sh tmp/deploy/images/bzImage-qemux86.bin tmp/deploy/images/bootstrap-image-qemux86-20070112211142.rootfs.ext2.gz
Lets reinvent the wheel too...
This should work just the same as
poky-runqemu tmp/deploy/images/bzImage-qemux86.bin tmp/deploy/images/bootstrap-image-qemux86-20070112211142.rootfs.ext2
(except the same command works with qemuarm and several zaurus images if
you have the right qemu)
Note you have to use an ext2 image, not a gzipped one but my setup
generates ext2 files, not ext2.gz ones...
> > I did not use the file modules-2.6.18-qemuarm.tgz.... is there a
> > reason it's there?
Anyone developing a kernel finds it useful, otherwise just ignore it.
Regards,
Richard
More information about the Openembedded-devel
mailing list