RTEMS | Improve arm/xilinx-zynqmp-rpu BSP familiy (!230)

Sebastian Huber (@sebhub) gitlab at rtems.org
Fri Sep 20 02:56:43 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_112332

 >    (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);

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. With the fatal extension RTEMS has an excellent place for this job.

In my test setup, the RPU is started by the FSBL running on the APU. So for the test runs it was quite handy to reset the overall system.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/230#note_112332
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/5fb7e4f5/attachment-0001.htm>


More information about the bugs mailing list