[PATCH] [RTEMS] Update RTEMS thread model

Martin Galvan martin.galvan at tallertechnologies.com
Thu Sep 3 13:47:19 UTC 2015


Hi Sebastian! Thanks for your answer. There are a couple of things I
still don't get :)

On Thu, Sep 3, 2015 at 2:48 AM, Sebastian Huber
<sebastian.huber at embedded-brains.de> wrote:
> I updated the rtems-testing repository.
>
> 1. You have to adjust the VERSIONS file.

Is this file meant to help the scripts download the tool sources
automatically (like RSB does), or does it just point to local
directories where I'm supposed to place them? If it downloads them
automatically, should I replace 'cvs' by 'git' for e.g. gdb?

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

So I should manually build a cross-gcc from the gcc trunk? I think
that's past 5.2, will RTEMS build ok with that?

Also, should I apply the patch you posted here:

https://gcc.gnu.org/ml/gcc-patches/2015-09/msg00019.html

?

> 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.

How can I test that? Should I build the realview_pbx_a9 BSP and run a
sample (e.g. ticker) on the latest Qemu?

> 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.

Where does the /git-rtems-testing/gcc/install-git directory? I didn't
see an 'install-git' dir inside rtems-testing/gcc. Is it created after
doing make install on rtems-testing?

Thanks a lot.



More information about the devel mailing list