All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick Fischer <fischer@4g-systems.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: testing with qemu, was Re: Angstrom and h2200
Date: Mon, 26 Feb 2007 13:03:26 +0100	[thread overview]
Message-ID: <45E2CC8E.5040505@4g-systems.com> (raw)
In-Reply-To: <200702261215.07980.ranaldo@unina.it>

Nicola Ranaldo wrote:
> On Sunday 25 February 2007 19:34:30 Paul Sokolovsky wrote:
> [...]
>   
>>> * the last, may i use some kind of emulator before deploying the fs image
>>> to the ipaq?
>>>       
>>   Yes, QEMU.
>>     
>
> 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!
> I did not use the file modules-2.6.18-qemuarm.tgz.... is there a reason it's 
> there?
>
> thanks
>
> 	Nicola Ranaldo
>   
This is my test script for qemu

#!/bin/sh

KERNEL=$1
IMAGE=$2
IP=192.168.1.42
GATEWAY=192.168.1.1 

cp $KERNEL /tmp/kernel.bin
cp $IMAGE /tmp/image.ext2.gz
gzip -d /tmp/image.ext2.gz

/usr/local/bin/qemu -kernel /tmp/kernel.bin -std-vga \
-append "root=/dev/hda rw mem=64M ip=${IP}::${GATEWAY}:255.255.255.0" \
-net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script= \
-hda /tmp/image.ext2 

rm /tmp/image.ext2
rm /tmp/kernel.bin

---
call it like

./testqemu.sh tmp/deploy/images/bzImage-qemux86.bin tmp/deploy/images/bootstrap-image-qemux86-20070112211142.rootfs.ext2.gz




-- 
Mit freundlichen Grüßen
Best Regards 

Dipl.-Ing. (FH) Patrick Fischer
Software Engineer


Meet 4G Systems at CeBIT 
March 15th - 21st, Hanover 
Hall 13, Stand B86


4G Systems GmbH  
Jarrestrasse 4,
D-22303 Hamburg

Phone: +49 (0)40-70 38 33-327
Fax:   +49 (0)40-70 38 33-700
Mail: Patrick.Fischer@4g-systems.com
www.4g-systems.com

Amtsgericht Hamburg, HRB 85342
Geschäftsführer: Enrico Just, Achim Schaller







  reply	other threads:[~2007-02-26 12:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-23 12:26 Angstrom and h2200 Nicola Ranaldo
     [not found] ` <7010259346.20070225203430@gmail.com>
2007-02-26 10:44   ` Nicola Ranaldo
2007-02-26 11:15   ` testing with qemu, was " Nicola Ranaldo
2007-02-26 12:03     ` Patrick Fischer [this message]
2007-02-26 21:05       ` Richard Purdie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45E2CC8E.5040505@4g-systems.com \
    --to=fischer@4g-systems.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.