[PATCH] [RTEMS] Update RTEMS thread model

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Sep 3 05:48:22 UTC 2015



On 02/09/15 16:58, Martin Galvan wrote:
> On 02/09/2015 15:00, Sebastian Huber wrote:
>> I deleted the test tree. It will take a couple of days before I create a
>> new one. I think it makes more sense if you run the tests yourself, so
>> that you can debug them. I use the realview_pbx_a9_qemu BSP for this,
>> since it is very easy to debug.
> Could you please tell us how to run the tests on realview_pbx_a9_qemu?
> I looked at the READMEs in rtems-testing, but they seem to be quite out of date.

I updated the rtems-testing repository.

1. You have to adjust the VERSIONS file.

2. You need the latest Git versions of Newlib, GCC and RTEMS.

3. Use

./do_one -1 -r -g -v -M arm realview_pbx_a9_qemu

to run the GCC tests. Make sure the test runner "realview_pbx_a9_qemu" 
works.

4. Use something similar

cd gcc/b-arm-gcc/arm-rtems4.11/libstdc++-v3/testsuite
make check 'RUNTESTFLAGS=  SIM=realview_pbx_a9_qemu 
RTEMS_MAKEFILE_PATH=/scratch/git-rtems-testing/gcc/install-git/arm-rtems4.11/realview_pbx_a9_qemu 
RTEMS_CONFIG_OBJ=/scratch/git-rtems-testing/gcc/b-arm-gcc/rtems_gcc_main.o 
--target_board=rtems-arm-realview_pbx_a9_qemu{-march=armv7-a/-mthumb/-mfpu=neon/-mfloat-abi=hard}'

to run the libstdc++ tests.

You need several development tools on your host.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the devel mailing list