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_112271

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

Yes, it resets also the APU. This allows to run the tests. In a real 
application you have to provide your own fatal error handler to do the right 
application-specific steps.

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


_______________________________________________
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to