Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

QEMU

20 bytes added, 16:17, 10 January 2012
no edit summary
== Board Emulation ==
Go to your qemu install directory.<br> <pre>$ cd /opt/qemu-linaro/bin</pre>We provide a QEMU ready image based on Ubuntu/Linaro Nano (Oneric 11.11) image, it can be download from [http://downloads.igep.es/QEMU/igep.nano.img here].<br>
$ cd /opt/qemuThe image has 2 partitions (you can see the partitions using fdisk -linaro/binul command as: fdisk -ul igep-nano.img)<br>
We provide a QEMU ready image based on Ubuntu/Linaro Nano (Oneric 11.11) image, it can be download from [http://downloads.igep.es/QEMU/igep.nano.img here].Device&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Boot&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Start&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Blocks&nbsp;&nbsp; Id&nbsp; System<br>
The image has 2 partitions (you can see the partitions using fdisk -ul command as: fdisk -ul igep-nano.imgimg1&nbsp;&nbsp; *&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; 63&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 106494&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 53232&nbsp;&nbsp;&nbsp; c&nbsp; FAT32 LBA (Boot)<br>
Deviceigep-nano.img2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;106496&nbsp; Boot&nbsp;&nbsp;&nbsp;1048575&nbsp;&nbsp; Start&nbsp;&nbsp;&nbsp;470016&nbsp;&nbsp;83&nbsp;&nbsp;&nbsp; End&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Blocks&nbsp;&nbsp; Id&nbsp; SystemLinux (Root filesystem)<br>
igep-nano.img1&nbsp;&nbsp; *&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; 63&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 106494&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 53232&nbsp;&nbsp;&nbsp; c&nbsp; FAT32 LBA (Boot)<br> igep-nano.img2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 106496&nbsp;&nbsp;&nbsp;&nbsp; 1048575&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 470016&nbsp;&nbsp; 83&nbsp; Linux (Root filesystem)<br> Optionally you can mount the partitions in you host PC and modify the content as:<br>
<pre>First Partition:
$ mount -o loop,offset$[63*512] igep-nano.img /mnt/tmp
</pre><pre>Second Partition:
$ mount -o loop,offset$[106496*512] igep-nano.img /mnt/tmp</pre>Now you're ready for execute the emulator:<br><pre>qemu-system-arm -M igep -m 512 -clock unix -serial stdio -drive file=igep-nano.img,if=sd,cache=writeback -usb -monitor telnet:localhost:7100,server,nowait,nodelay</pre>Parameters:<br>
<br>
<br>
<br>
<br>