RTEMS | Improve arm/xilinx-zynqmp-rpu BSP familiy (!230)
Sebastian Huber (@sebhub)
gitlab at rtems.org
Fri Sep 20 03:30:25 UTC 2024
Sebastian Huber commented on a discussion on bsps/arm/xilinx-zynqmp-rpu/start/bspreset.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/230#note_112343
> (void) source;
> (void) code;
>
> zynqmp_debug_console_flush();
>
> + /*
> + * This is a workaround for:
> + *
> + * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108658
> + */
> + __asm__ volatile ("");
> +
> while (true) {
> - /* Wait */
> + /* Request a soft system reset */
> + *reset_ctrl |= UINT32_C(0x10);
As I said, no matter which implementation we choose, there will be always applications for which this choice is wrong. In a complex system like the Zynq UltraScale+ you have to work out your own application-specific reset procedures. The default behaviour should be simple and targeted to RTEMS test suite runs. You can't expect that a BSP solves all your application issues.
The APU issues right now also a system reset. Is this good if your safety functions run on the RPU?
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/230#note_112343
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/20240920/8a596f68/attachment-0001.htm>
More information about the bugs
mailing list