UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Observer phil_vefxi
Observer
5,142 Views
Registered: ‎10-31-2014

How to use microblaze QEMU to test?

I thought that perhaps it would be a bit quicker to use QEMU for microblaze (info here: http://www.wiki.xilinx.com/QEMU ) for testing an elf generated from the SDK. That way I figure that I could make changes to the c code, recompile and try it quickly on QEMU.

 

How would I go about doing that? I'm using the webserver reference design (from: http://www.xilinx.com/support/documentation/application_notes/xapp1026.pdf)  I've got an elf file and an mfs file which contains the index.html, javascript, etc. Now how would I go about running this on QEMU? I'm thinkng that somehow I need to combine the .elf file and mfs file into an iso which QEMU reads in.

 

Has anyone tried doing this?

 

Phil

0 Kudos
2 Replies
Xilinx Employee
Xilinx Employee
5,116 Views
Registered: ‎08-02-2007

Re: How to use microblaze QEMU to test?

Hi,

 

To use QEMU there are a few set of peripherals that are supported when using QEMU.

 

Refer to page 4 of this document http://www.xilinx.com/support/documentation/sw_manuals/petalinux2014_2/ug982-petalinux-system-simulation.pdf

 

The procedure of using QEMU is mentioned in the same document.

 

--Hem

 

 

----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos
Observer phil_vefxi
Observer
5,101 Views
Registered: ‎10-31-2014

Re: How to use microblaze QEMU to test?

Does that doc also apply to standalone and xilkernel applications? I've got a xilkernel application with an elf file and an img file, no LInux involved.

0 Kudos