Help with RTEMS
Tanu Hari Dixit
tokencolour at gmail.com
Wed Dec 14 03:58:54 UTC 2016
Chris, Martin and Jennifer,
Thanks for helping me out with this.
I tried with erc32 BSP and I can finally see the executables in
/development/rtems/src/builds/erc32/sparc-rtems4.12/c/erc32/testsuites/samples.
I also ran all tests with
/development/rtems/4.12/bin$ rtems-test --rtems-bsp=erc32
--report-mode=all `find ../../ -name *.exe`
and all the tests passed.
Tanu Hari Dixit
On Wed, Dec 14, 2016 at 5:21 AM, Chris Johns <chrisj at rtems.org> wrote:
> [ Please do not cross post ]
>
> On 14/12/2016 09:32, Martin Werner wrote:
>>
>> This seems to be because the sparc/sis BSP is removed in the latest
>> master (as of a month ago: de7b174).
>
>
> Yes the sis BSP has been removed from master (4.12).
>
>> For sparc you need to pick one of the other available BSPs, currently
>> erc32 leon2 leon3 or ngmp.
>
>
> I am testing with erc32 and after a build with --enable-tests I use the
> following:
>
> $ /opt/work/rtems/4.12/bin/rtems-test --rtems-bsp=erc32 \
> --report-mode=all `find . -name dl05.exe`
>
> If I wish to run a number of tests I can:
>
> $ /opt/work/rtems/4.12/bin/rtems-test --rtems-bsp=erc32 \
> `find sparc-rtems4.12/c/erc32/testsuites/libtests -name \dl*.exe`
> RTEMS Testing - Tester, 4.12.not_released
> Command Line: /opt/work/rtems/4.12/bin/rtems-test --rtems-bsp=erc32
> sparc-rtems4.12/c/erc32/testsuites/libtests/dl02/dl02.exe
> sparc-rtems4.12/c/erc32/testsuites/libtests/dl05/dl05.exe
> sparc-rtems4.12/c/erc32/testsuites/libtests/dl01/dl01.exe
> sparc-rtems4.12/c/erc32/testsuites/libtests/dl04/dl04.exe
> sparc-rtems4.12/c/erc32/testsuites/libtests/dl03/dl03.exe
> Python: 2.7.12 (default, Sep 27 2016, 01:49:05) [GCC 4.2.1 Compatible
> FreeBSD Clang 3.4.1 (tags/RELEASE_34/dot1-final 208032)]
> [1/5] p:0 f:0 t:0 i:0 | sparc/erc32: dl01.exe
> [2/5] p:0 f:0 t:0 i:0 | sparc/erc32: dl02.exe
> [4/5] p:0 f:0 t:0 i:0 | sparc/erc32: dl04.exe
> [3/5] p:0 f:0 t:0 i:0 | sparc/erc32: dl03.exe
> [5/5] p:0 f:0 t:0 i:0 | sparc/erc32: dl05.exe
> [1/5] p:0 f:0 t:0 i:0 | sparc/erc32: dl01.exe
> [2/5] p:0 f:0 t:0 i:0 | sparc/erc32: dl02.exe
> [3/5] p:0 f:0 t:0 i:0 | sparc/erc32: dl03.exe
> [4/5] p:0 f:0 t:0 i:0 | sparc/erc32: dl04.exe
> [5/5] p:0 f:0 t:0 i:0 | sparc/erc32: dl05.exe
>
> Passed: 5
> Failed: 0
> Timeouts: 0
> Invalid: 0
> -----------
> Total: 5
>
> Average test time: 0:00:00.521724
> Testing time : 0:00:02.608620
>
> Note, all tests have passed.
>
> This approach lets you use the same mechanism for all bsps, for example if
> you are using the PowerPC Simulator (psim) you can run:
>
> $ /opt/work/rtems/4.12/bin/rtems-test --rtems-bsp=psim \
> --report-mode=all `find . -name dl05.exe`
>
>>
>> The examples in the getting started guide should probably be updated.
>>
>
> The doco is being slowly moved to the User Manual.
>
> Chris
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users
More information about the devel
mailing list