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 coldwell
Observer
185 Views
Registered: ‎07-11-2011

Microblaze standalone on QEMU (fdt)

I struggled for a few days trying to get QEMU to run a Microblaze standalone (bare-metal/no-OS) executable. There were several problems, starting with a segmentation fault in QEMU when it tried to auto-parent the interrupt controller before the first CPU was realized, and culminating in an orphaned MMIO memory map. The upshot is the attached set of four patches that I am submitting; the first two are "code janitor" stuff that clean up a linked list implementation and plug a small memory leak. The second two are perhaps more controversial: one forces the interrupt controller intialization to wait until the first CPU is realized, the other forces the MMIO regions into the system memory map. If my approach isn't the right one, please enlighten me; otherwise I'd appreciate it if these were merged into the Xilinx QEMU fork (none of this stuff exists in the upstream QEMU, AFAICS).

1 Reply
Moderator
Moderator
117 Views
Registered: ‎10-06-2016

Re: Microblaze standalone on QEMU (fdt)

Hi @coldwell 

I would suggest to send the patches to the xilinx git contribution mailing list rather than posting in the forum. Use git@xilinx.com for it :)


Ibai
Don’t forget to reply, kudo, and accept as solution.
0 Kudos