RTEMS | bsps/arm/tms570: fix self-test to work when internal SRAM is tested (!1187)

Gedare Bloom (@gedare) gitlab at rtems.org
Mon Apr 6 22:30:07 UTC 2026




Gedare Bloom started a new discussion on bsps/arm/tms570/start/bspstarthooks-hwinit.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1187#note_148155

 >       * The CPU RAM is a single-port memory. The actual "RAM Group" for all on-chip SRAMs is defined in the
 >       * device datasheet.
 >       */
 > +#if 0
 > +    /* The wrapper function is complex and causes store of the register
 > +     * and return address to the stack, but the memory content is lost
 > +     * by checks and return fails. Calling of individual functions
 > +     * should be safe for standard optimization levels.
 > +     */
 >      tms570_pbist_run_and_check( 0x08300020U,   /* ESRAM Single Port PBIST */

Is this something that will be fixed eventually? If so an Issue # would be good, or else we should leave the comment as why not to call `tms570_pbist_run_and_check()` here, but delete the code and the `#if 0`.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1187#note_148155
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/20260406/2bd69421/attachment-0001.htm>


More information about the bugs mailing list