<html><head></head><body><p dir=ltr>Hi Amit,</p>
<p dir=ltr>You have to build separate images to be run on qemu.. You have to set it in your local.conf file.. i.e. u have to change your build-target.. </p>
<p dir=ltr>Images built to run on hardware cannot be run on qemu right now.. </p>
<p dir=ltr>Virtualization is only available upto processor level, and not the complete hardware...!</p>
<p dir=ltr>Which processor is keystone-II using..?</p>
<p dir=ltr>Best,<br>
Sudhangathan B S</p>
<br><br><div class="gmail_quote">amit kumar <kumaramit124@gmail.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr"><div><br clear="all" /></div>Hi,<br /><br /><p class=""><span style="font-family:"Trebuchet MS","sans-serif"">I have built the Arago project for keystone-II successfully. The images are available under the deploy/Images dir.</span></p>
<p class=""><span style="font-family:"Trebuchet MS","sans-serif"">I have already added my module into the kernel and recompiled the kernel image.</span></p>
<p class=""><span style="font-family:"Trebuchet MS","sans-serif"">Â </span></p>
<p class=""><span style="font-family:"Trebuchet MS","sans-serif"">Now
my doubt is before putting the image on actual hardware I want to run
it on QEMU. Is it possible to run the built images on QEMU?</span></p>
<p class=""><span style="font-family:"Trebuchet MS","sans-serif"">I tried to run using the following command but getting an error-</span></p><p class=""><span style="font-family:"Trebuchet MS","sans-serif""><br />
</span></p>
<p class=""><span style="font-family:"Trebuchet MS","sans-serif"">/**************************************************************/ <br /></span></p><p class=""><span style="font-family:"Trebuchet MS","sans-serif"">amit@amit-HP:~/OE/MCSDK/mcsdk/build$ runqemu arago-tmp-external-linaro-toolchain/deploy/images/uImage-keystone-evm.bin arago-tmp-external-linaro-toolchain/deploy/images/core-image-minimal-keystone-evm-20130718181345.rootfs.ubi<br />
Error: unknown file arg [arago-tmp-external-linaro-toolchain/deploy/images/core-image-minimal-keystone-evm-20130718181345.rootfs.ubi]<br /><br />Usage: you can run this script with any valid combination<br />of the following options (in any order):<br />
 QEMUARCH - the qemu machine architecture to use<br /> KERNEL - the kernel image file to use<br /> ROOTFS - the rootfs image file or nfsroot directory to use<br /> MACHINE - the machine name (optional, autodetected from KERNEL filename if unspecified)<br />
 RAMFS - boot a ramfs-based image<br /> Simplified QEMU command-line options can be passed with:<br />   nographic - disables video console<br />   serial - enables a serial console on /dev/ttyS0<br />   kvm - enables KVM when running qemux86/qemux86-64 (VT-capable CPU required)<br />
 qemuparams="xyz" - specify custom parameters to QEMU<br /> bootparams="xyz" - specify custom kernel parameters during boot<br /><br />Examples:<br /> runqemu qemuarm<br /> runqemu qemux86-64 core-image-sato ext3<br />
 runqemu path/to/bzImage-qemux86.bin path/to/nfsrootdir/ serial<br /> runqemu qemux86 ramfs<br /> runqemu qemux86 qemuparams="-m 256"<br /> runqemu qemux86 bootparams="psplash=false"<br />amit@amit-HP:~/OE/MCSDK/mcsdk/build$ <br />
</span></p>
<p class=""><span style="font-family:"Trebuchet MS","sans-serif"">/**********************************************************/</span></p>
<p class=""><span style="font-family:"Trebuchet MS","sans-serif"">The build step I followed from the arago project build link- <br /></span></p><p class=""><span style="font-family:"Trebuchet MS","sans-serif"">"<a href="http://arago-project.org/wiki/index.php/Setting_Up_Build_Environment">http://arago-project.org/wiki/index.php/Setting_Up_Build_Environment</a>"</span></p>
<p class=""><span style="font-family:"Trebuchet MS","sans-serif""></span></p>
<p class=""><span style="font-family:"Trebuchet MS","sans-serif"">Â </span></p>
<span style="font-family:"Trebuchet MS","sans-serif"">Please let me know if I have to do something else to run the image under QEMU.</span><br /><br /><div>-- <br />Thanks & Regards<br />Amit Kumar
</div></div>
<p style="margin-top: 2.5em; margin-bottom: 1em; border-bottom: 1px solid #000"></p><pre class="k9mail"><hr /><br />yocto mailing list<br />yocto@yoctoproject.org<br /><a href="https://lists.yoctoproject.org/listinfo/yocto">https://lists.yoctoproject.org/listinfo/yocto</a><br /></pre></blockquote></div><br>
-- <br>
Sent from Kaiten Mail. Please excuse my brevity.</body></html>