cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
1,409 Views
Registered: ‎10-14-2013

SDK/QEMU debug without board? Zynq-7010

How to run software emulation / debug on a Zynq-7010 on Windows platform? Using SDK 2018.2 and it throws an error "QEMU debug not supported for Cortex A9 applications". However, it's said in QEMU documentation that Cortex A9 should be supported?

0 Kudos
7 Replies
Highlighted
Moderator
Moderator
1,386 Views
Registered: ‎09-12-2007

I created the doc attached along time ago.

 

Thisflow is also covered in the QEMU user guide:

https://www.xilinx.com/support/documentation/sw_manuals/xilinx2018_2/ug1169-xilinx-qemu.pdf

0 Kudos
Highlighted
Adventurer
Adventurer
1,340 Views
Registered: ‎10-14-2013

From Xilinx QEMU guide: "This system-emulation-model runs on an Intel-compatible Linux or Windows host systems."

 

Your linked guide includes only Linux based QEMU. So, needed QEMU package is not installed with the Windows SDK and there's no possibilities to emulate/debug Xilinx Zynq-7010 device on Windows system SDK installed - without the actual Zynq board?

0 Kudos
Highlighted
Moderator
Moderator
1,301 Views
Registered: ‎09-12-2007

Yes, my guide used linux. I have never tried this on windows. You can obtain the QEMU from github and compile:

https://github.com/Xilinx/qemu

https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842060/QEMU

 

0 Kudos
Highlighted
Moderator
Moderator
1,286 Views
Registered: ‎12-04-2016

Hi @tsillanp

 

Here is a wiki to run Qemu for windows

 

https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842016/QEMU+for+Windows

 

 

Best Regards

Shabbir

0 Kudos
Highlighted
Adventurer
Adventurer
1,242 Views
Registered: ‎10-14-2013

Thank you for the answers.

Is there a reason why the QEMU isn't integrated in the SDK installation and GUI by default in Windows environment? Instead, editing text based configuration files and running command prompt commands required.

 

 

0 Kudos
Highlighted
Moderator
Moderator
1,199 Views
Registered: ‎12-04-2016

Hi

 

Stanadlone Qemu applications can still be executed in windows SDK, but not linux applications

Check this link

https://www.xilinx.com/html_docs/xilinx2018_2/SDK_Doc/SDK_tasks/sdk_t_qemu_debugging_system_debugger.html

 

 

Best Regards

Shabbir

0 Kudos
Highlighted
Adventurer
Adventurer
1,097 Views
Registered: ‎10-14-2013

"QEMU debug not supported for Cortex A9 applications" ???

Back to square one...

From QEMU documentation you can find for ex.:

xilinx-zynq-a9    Xilinx Zynq Platform Baseboard for Cortex-A9

And even Mathworks is having QEMU Cortex A9 support in Matlab/SIMULINK?


So, still I'm confused, am I able to emulate the Zynq device on windows machine with standalone/baremetal SDK application? There's a need to be able to test the code even if you don't have a board. If the Cortex A9 support is missing totally, is the SDK able to run C-code X86 natively on the PC machine running the SDK?

0 Kudos