the problem about qemu run i386 rtems bsp

Joel Sherrill joel.sherrill at OARcorp.com
Mon Jul 2 16:24:09 UTC 2012


On 07/02/2012 11:07 AM, yangwei weiyang wrote:
> 2012/7/2 Joel Sherrill<joel.sherrill at oarcorp.com>:
>> On 07/02/2012 10:48 AM, yangwei weiyang wrote:
>>> Hi all,
>>>
>>> When i use rtems-testing repository sim-scripts/pc386 to run pcp4 bsp,
>>> it show the blow result:
>>>
>>> ./sim-scripts/pc386 -i
>>> ../rtems-build/i386-rtems4.11/c/pcp4/testsuites/samples/hello/hello.exe
>>> qemu is /sdb1/gsoc2012/github/qemu-install/bin/qemu
>>> Could not open option rom 'sgabios.bin': No such file or directory
>>
>>
>> Looks like qemu didn't get completely built and installed correctly.
>> It is installed under ${prefix}/share/qemu. See for my local install:
>>
>> $ find . -name *.bin
>> ./share/qemu/vgabios-cirrus.bin
>> ./share/qemu/sgabios.bin
>> ./share/qemu/multiboot.bin
>> ./share/qemu/ppc_rom.bin
>> ./share/qemu/slof.bin
>> ./share/qemu/bios.bin
>> ./share/qemu/vgabios.bin
>> ./share/qemu/vgabios-stdvga.bin
>> ./share/qemu/pxe-virtio.bin
>> ./share/qemu/spapr-rtas.bin
>> ./share/qemu/linuxboot.bin
>> ./share/qemu/pxe-ne2k_pci.bin
>> ./share/qemu/vgabios-vmware.bin
>> ./share/qemu/pxe-pcnet.bin
>> ./share/qemu/pxe-rtl8139.bin
>> ./share/qemu/vgabios-qxl.bin
>> ./share/qemu/pxe-e1000.bin
>>
> In my local computer is :
> ./share/qemu/slof.bin
> ./share/qemu/ppc_rom.bin
> ./share/qemu/vgabios.bin
> ./share/qemu/vgabios-qxl.bin
> ./share/qemu/vgabios-vmware.bin
> ./share/qemu/vgabios-cirrus.bin
> ./share/qemu/spapr-rtas.bin
> ./share/qemu/multiboot.bin
> ./share/qemu/vgabios-stdvga.bin
> ./share/qemu/bios.bin
> ./share/qemu/linuxboot.bin
> It seems that i lack of lot of *.bin. Joel, could you tell me the
> command of what you build qemu?
I don't have any particular options. But I do make sure the
graphics are enabled which requires SDL to be installed
and you have to do a make install.

You shouldn't need to do more something like this:

./configure --prefix=INSTALL_DIR

If you want to speed the build, you can also specify something
like --target-list="i386-softmmu" to limit how much gets built.
>>> And then there is not any output. Anyone know this issue?
>>>
>>> The follow step is what i do:
>>> 1. git clone rtems-testing.git
>>> 2. build rtems with the configuration:
>>>       ../rtems/configure --target=i386-rtems4.11
>>> --prefix=/sdb1/gsoc2012/github/rtems-install --enable-smp
>>> --enable-tests=yes --enable-rtemsbsp=pcp4 USE_COM1_AS_CONSOLE=1
>>> BSP_PRESS_KEY_FOR_RESET=0
>>> 3. ./sim-scripts/pc386 -i
>>> ../rtems-build/i386-rtems4.11/c/pcp4/testsuites/samples/hello/hello.exe.
>>> And then it shows: CANNOT FIND qemu or qemu-system-i386.
>>
>>
>> qemu is not in your PATH.
>>
>> $ type qemu
>> qemu is /home/joel/qemu/git/install/bin/qemu
>>
>>
>>
>>> 4 And then i build qemu for i386. Then run the command step 3 then it
>>> shows the log in the head of mail.
>>>
>>
>> --
>> Joel Sherrill, Ph.D.             Director of Research&    Development
>> joel.sherrill at OARcorp.com        On-Line Applications Research
>> Ask me about RTEMS: a free RTOS  Huntsville AL 35805
>>      Support Available             (256) 722-9985
>>
>>
>
>


-- 
Joel Sherrill, Ph.D.             Director of Research&   Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
     Support Available             (256) 722-9985





More information about the devel mailing list