Re: [PATCH] 6: Add unstable RTEMS 6 tool chain

2019-01-08 Thread Chris Johns
> On 9 Jan 2019, at 5:43 pm, Sebastian Huber > wrote: > > On 08/01/2019 22:30, Chris Johns wrote: > I will try to automate this to get a weekly update. What is updated each week? >>> GDB, Newlib, Binutils, GCC. >> I am a little confused about the '6/rtems-*' naming because it looks li

Re: [PATCH] 6: Add unstable RTEMS 6 tool chain

2019-01-08 Thread Sebastian Huber
On 08/01/2019 22:30, Chris Johns wrote: I will try to automate this to get a weekly update. What is updated each week? GDB, Newlib, Binutils, GCC. I am a little confused about the '6/rtems-*' naming because it looks like it is tracking 'head' so should it be called 'head/rtems-*'. I ask becaus

Re: [rtems-tools commit] tester : Add support to use QEMU serial console when coverage is enabled

2019-01-08 Thread Chris Johns
On 9/1/19 9:53 am, Chris Johns wrote: > > ... so I will take a look. > I have pushed this attached patch. Chris >From e846257ad385092611c0b28d5d5f8503e89b956f Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Wed, 9 Jan 2019 12:26:15 +1100 Subject: [PATCH] rtems-test: Fix qemu coverage logic er

Re: [PATCH 1/6] Remove build date from first page

2019-01-08 Thread Chris Johns
On 9/1/19 12:14 am, Sebastian Huber wrote: > What should I use to execute the git command and get the output in > "common/conf.py"? The subprocess command is only available in Python 3.5 and > later. Try 'ctx.cmd_and_log()', an example is ... https://git.rtems.org/chrisj/rtems_waf.git/tree/rtems

Re: [rtems-tools commit] tester : Add support to use QEMU serial console when coverage is enabled

2019-01-08 Thread Chris Johns
On 8/1/19 9:54 pm, Sebastian Huber wrote: > This commit breaks Qemu test runs for me: > > error: qemu.cfg:84: execute failed: qemu-system-riscv64 -no-reboot -nographic > -net none -machine virt -m 64M -kernel > /build/git-build/b-rv64imafd_medany/riscv-rtems5/c/rv64imafd_medany/testsuites/smptests

Re: [PATCH] Fix spelling errors

2019-01-08 Thread Marçal
Hi, I was going over some emails and I found this and I think it was not pushed. Thanks! Marçal (Sal) On Mon, Dec 10, 2018 at 6:59 PM Marçal Comajoan Cara < mcomajoanc...@gmail.com> wrote: > In two places it said "avaliable", which is a misspelling of "available". > > This work was part of GCI 20

Re: [PATCH] 6: Add unstable RTEMS 6 tool chain

2019-01-08 Thread Chris Johns
On 8/1/19 8:49 pm, Sebastian Huber wrote: > https://devel.rtems.org/ticket/3671 Thank you. >> >>> I will try to automate this to get a weekly update. >> What is updated each week? > > GDB, Newlib, Binutils, GCC. I am a little confused about the '6/rtems-*' naming because it looks like it is tra

Re: [PATCH] psxhdrs: Add POSIX API Signature Compliance Tests for errno.h

2019-01-08 Thread Joel Sherrill
I committed this but had to make two changes. + tab -> 2 spaces + There was no addition to psxtests/Makefile.am Thanks. On Mon, Jan 7, 2019 at 10:14 PM Jacob Shin wrote: > --- > testsuites/psxtests/psxhdrs/errno/errno.c | 44 +++ > 1 file changed, 44 insertions(+) > crea

Tool Build Failures for rtems6

2019-01-08 Thread Joel Sherrill
Hi Chris appears to have some broad issue but I had better luck on CentOS 7. Only the Epiphany failed and this doesn't look RTEMS specific. == ../../../../../gnu-mirror-gcc-1c2a6eef8661753ce316c46c55c7bb8c4e593943/libstdc++-v3/src/c++17/memory_resource.cc: In membe

Re: [PATCH 1/6] Remove build date from first page

2019-01-08 Thread Sebastian Huber
On 08/01/2019 07:53, Chris Johns wrote: On 8 Jan 2019, at 5:19 pm, Sebastian Huber wrote: On 08/01/2019 02:59, Chris Johns wrote: On 7/1/19 11:30 pm, Sebastian Huber wrote: On 07/01/2019 12:49, Sebastian Huber wrote: On 07/01/2019 12:39, Chris Johns wrote: On 7 Jan 2019, at 10:03 pm, Sebas

Re: [rtems-tools commit] tester : Add support to use QEMU serial console when coverage is enabled

2019-01-08 Thread Sebastian Huber
This commit breaks Qemu test runs for me: error: qemu.cfg:84: execute failed: qemu-system-riscv64 -no-reboot -nographic -net none -machine virt -m 64M -kernel /build/git-build/b-rv64imafd_medany/riscv-rtems5/c/rv64imafd_medany/testsuites/smptests/smppsxsignal01.exe: exit-code:1 error: qemu.cfg

Re: [PATCH] 6: Add unstable RTEMS 6 tool chain

2019-01-08 Thread Sebastian Huber
On 08/01/2019 05:13, Chris Johns wrote: On 7/1/19 11:58 pm, Sebastian Huber wrote: I was able to build all tools except epiphany on a FreeBSD 11 machine. I built the erc32 BSP and did a test run. One problem was this: rtems-test --rtems-bsp=erc32 --rtems-tools=/opt/rtems/6 /home/user/build/b-

[PATCH 1/5] Separate task mode checks

2019-01-08 Thread Sebastian Huber
--- cpukit/rtems/src/taskmode.c | 30 +++--- cpukit/score/src/threadinitialize.c | 19 +++ 2 files changed, 26 insertions(+), 23 deletions(-) diff --git a/cpukit/rtems/src/taskmode.c b/cpukit/rtems/src/taskmode.c index 7f26bff14e..3e7ebe9d20 100644

[PATCH 4/5] Adjust interrupt mode tests for some CPU ports

2019-01-08 Thread Sebastian Huber
In case the robust thread dispatch is enabled by the CPU port, then the interrupt level must not be changed through the task mode. --- cpukit/rtems/src/taskmode.c | 4 +++- cpukit/score/src/threaddispatch.c | 2 +- cpukit/score/src/threadinitialize.c | 4 +++- testsuites/sptests/sp08/

[PATCH 3/5] tests: Remove bogus RTEMS_INTERRUPT_LEVEL(31)

2019-01-08 Thread Sebastian Huber
It is unnecessary to run these test cases with interrupts disabled. --- testsuites/sptests/sp01/init.c | 2 +- testsuites/sptests/spcbssched01/init.c | 2 +- testsuites/sptests/spedfsched01/init.c | 2 +- testsuites/sptests/spfifo03/init.c | 2 +- testsuites/sptests/spfifo05/init.c

[PATCH 2/5] rtems: Allow to set ISR level 0 in SMP config

2019-01-08 Thread Sebastian Huber
--- cpukit/rtems/src/taskmode.c | 1 + testsuites/smptests/smpunsupported01/init.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cpukit/rtems/src/taskmode.c b/cpukit/rtems/src/taskmode.c index 3e7ebe9d20..1767d7be84 100644 --- a/cpukit/rtems/src/taskmode.c +

[PATCH 5/5] riscv: Enable robust thread dispatch

2019-01-08 Thread Sebastian Huber
It must be enabled, since the context switch code does not save/restore the interrupt status. --- cpukit/score/cpu/riscv/include/rtems/score/cpu.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cpukit/score/cpu/riscv/include/rtems/score/cpu.h b/cpukit/score/cpu/riscv/include/rtems/score/c

[PATCH 0/5] Fix task mode for CPU ports with robust thread dispatch

2019-01-08 Thread Sebastian Huber
Sebastian Huber (5): Separate task mode checks rtems: Allow to set ISR level 0 in SMP config tests: Remove bogus RTEMS_INTERRUPT_LEVEL(31) Adjust interrupt mode tests for some CPU ports riscv: Enable robust thread dispatch cpukit/rtems/src/taskmode.c | 33 ++