[PATCH] [RTEMS] Update RTEMS thread model
Sebastian Huber
sebastian.huber at embedded-brains.de
Fri Sep 4 06:53:03 UTC 2015
On 03/09/15 15:47, Martin Galvan wrote:
> 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?
GDB is managed by git and for GCC I would use the git mirror.
>
>> 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
>
> ?
No patches, just the latest versions, so GCC 6.0.
>
>> 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?
The test runners are in "sim-scripts" make sure a "realview_pbx_a9_qemu
-i ticker.exe" produces the expected output.
>
>> 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?
I don't remember. I set this up several months ago and now it just works.
--
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