RTEMS | Fix Zynq SMP on QEMU (!284)

Kinsey Moore (@opticron) gitlab at rtems.org
Wed Oct 30 18:37:05 UTC 2024



Kinsey Moore created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/284

Project:Branches: opticron/rtems:zynq-fix to rtems/rtos/rtems:main
Author:   Kinsey Moore
Assignee: Kinsey Moore



## Summary
When running Zynq on Xilinx QEMU (xilinx_zynq_a9_qemu) using the arm-generic-fdt-7series machine model for SMP support, QEMU starts both cores simultaneously causing the second core to enable the MMU before the page tables are configured. It then encounters repeating prefetch aborts. This fixes that by forcing the second core to wait until the first core is ready for it to start. The new code is only present on the QEMU BSP variant.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/284
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20241030/c5f51212/attachment.htm>


More information about the bugs mailing list