Xilinx / qemu

Xilinx's fork of Quick EMUlator (QEMU) with improved support and modelling for the Xilinx platforms.
https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/821395464/QEMU+User+Documentation
Other
245 stars 154 forks source link

Zynq SMP 2 #34

Closed sangorrin closed 1 year ago

sangorrin commented 5 years ago

Hi,

A few years ago this repository's hw/arm/xilinx_zynq.c supported multi-core (2 cores). Now it seems to only support 1 core.

$ qemu-system-arm -M xilinx-zynq-a9 -smp 2 \ -serial vc:80Cx40C -serial vc:80Cx40C -serial vc:80Cx40C -serial vc:80Cx40C \ -no-reboot -icount auto -m 1024M -kernel ../fmp_1.4.0/obj/obj_sample/fmp.bin -> qemu-system-arm: Invalid SMP CPUs 2. The max CPUs supported by machine 'xilinx-zynq-a9' is 1

Was there any specific reason to remove that support? Would it be hard to restore it? I can help if you give me a short overview of the problem.

Thanks, Daniel

hcastaing commented 4 months ago

Hello, Is it possible to share the reason why this is not implemented ? In my understanding, according to https://qemu.readthedocs.io/en/master/system/arm/xlnx-zynq.html QEMU supposedly support the CPU with 2 cores.

opticron commented 3 weeks ago

I looked through the git history and apparently the xilinx-zynq-a9 machine model never actually supported SMP in QEMU and I can't find references to the documentation where that claim is made.