Need help to execute/debug smpschededf02.exe on leon3

Sebastian Huber sebastian.huber at embedded-brains.de
Mon May 25 16:07:41 UTC 2020


On 25/05/2020 16:30, Richi Dubey wrote:

> When I am executing smpschededf02.exe on my leon3 bsp running on
> sparc5 with  sparc-rtems5-sis with -m 4 -leon3 option, it fails to
> execute properly.
>
> I have built leon3 with --enable-smp option and I am guessing the
> execution fails because I don not see any output of the test and I can
> only see the following output:
> ---------------------------------------------
> ~/quick-start/rtems/5/bin$ ./sparc-rtems5-sis -leon3 -m 4
> ~/quick-start/build/leon3/sparc-rtems5/c/leon3/testsuites/smptests/smpschededf02.exe
>
>   SIS - SPARC/RISCV instruction simulator 2.21,  copyright Jiri Gaisler 2019
>   Bug-reports tojiri at gaisler.se
>
>   LEON3 emulation enabled, 4 cpus online, delta 50 clocks
>
>   Loaded /home/richi/quick-start/build/leon3/sparc-rtems5/c/leon3/testsuites/smptests/smpschededf02.exe,
> entry 0x40000000
> cpu0> run
>
>
> *** BEGIN OF TEST SMPSCHEDEDF 2 ***
> *** TEST VERSION: 5.0.0.20a8361de4724658112ecd33c28fae82a15919f8
> *** TEST STATE: EXPECTED_PASS
> *** TEST BUILD: RTEMS_NETWORKING RTEMS_POSIX_API RTEMS_SMP
> *** TEST TOOLS: 7.5.0 20191114 (RTEMS 5, RSB 5 (0b7e87143b76), Newlib fbaa096)
>
> *** END OF TEST SMPSCHEDEDF 2 ***
>
> cpu 1 in error mode (tt = 0x80)
>    3491850  40016360:  91d02000   ta  0x0
> -------------------------------------------------------
Although the last message indicates an error everything is fine. The 
test passed (*** END OF TEST SMPSCHEDEDF 2 ***) and the test program 
issued a target reset.


More information about the devel mailing list