Re: [PATCH 05/33] libtest: Add T_make_runner()

2020-07-21 Thread Chris Johns
On 22/7/20 3:10 pm, Sebastian Huber wrote: > On 22/07/2020 07:04, Chris Johns wrote: > >> On 22/7/20 1:04 am, Sebastian Huber wrote: >>> Update #3199. >>> --- >>>   cpukit/include/rtems/test.h |  2 ++ >>>   cpukit/libtest/t-test.c | 10 -- >>>   2 files changed, 10 insertions(+), 2 dele

Re: [PATCH 01/33] libtest: to

2020-07-21 Thread Sebastian Huber
On 22/07/2020 07:05, Chris Johns wrote: On 22/7/20 1:04 am, Sebastian Huber wrote: Rename this header file to later move to . Should we have ? Using a test directory makes the naming easier, for example . That would be fine for me, but I don't like a . _

Re: [PATCH 05/33] libtest: Add T_make_runner()

2020-07-21 Thread Sebastian Huber
On 22/07/2020 07:04, Chris Johns wrote: On 22/7/20 1:04 am, Sebastian Huber wrote: Update #3199. --- cpukit/include/rtems/test.h | 2 ++ cpukit/libtest/t-test.c | 10 -- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/cpukit/include/rtems/test.h b/cpukit/include

Re: [PATCH 00/33] Test framework improvements

2020-07-21 Thread Chris Johns
On 22/7/20 1:04 am, Sebastian Huber wrote: > This patch set adds a couple of improvements to the test framework: > > * The header file changes from to . > > * Support for a stack of test fixtures. This helps to write test > building blocks. > > * The test check messages are now optional. >

Re: [PATCH 05/33] libtest: Add T_make_runner()

2020-07-21 Thread Chris Johns
On 22/7/20 1:04 am, Sebastian Huber wrote: > Update #3199. > --- > cpukit/include/rtems/test.h | 2 ++ > cpukit/libtest/t-test.c | 10 -- > 2 files changed, 10 insertions(+), 2 deletions(-) > > diff --git a/cpukit/include/rtems/test.h b/cpukit/include/rtems/test.h > index b68f303e

Re: [PATCH 01/33] libtest: to

2020-07-21 Thread Chris Johns
On 22/7/20 1:04 am, Sebastian Huber wrote: > Rename this header file to later move to . Should we have ? Using a test directory makes the naming easier, for example . Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinf

Re: [PATCH rtems v2 3/3] bsps/fdt: Make sure data is cache aligned.

2020-07-21 Thread Christian Mauderer
Hello Gedare, I'll re-check to make absolutely sure and push it afterwards. Best regards Christian On 20/07/2020 22:01, Gedare Bloom wrote: > looks good if it works, thanks Christian! > > On Sun, Jul 19, 2020 at 11:47 PM Christian Mauderer > wrote: >> >> The cache of the fdt blob is flushed a

Re: [GSoC 2020]: Weekly thread: Preparing RSB recipies for EPICS

2020-07-21 Thread Gedare Bloom
On Tue, Jul 21, 2020 at 2:16 PM Mritunjay Sharma wrote: > > I cancelled the earlier message because the log file size was very big > and could not be posted in the devel list. > > [UPDATE]: Applying PATCH for RTEMS-pc386 support to EPICS and > making other changes in code worked and EPICS7 was suc

Re: [GSoC 2020]: Weekly thread: Preparing RSB recipies for EPICS

2020-07-21 Thread Mritunjay Sharma
I cancelled the earlier message because the log file size was very big and could not be posted in the devel list. [UPDATE]: Applying PATCH for RTEMS-pc386 support to EPICS and making other changes in code worked and EPICS7 was successfully built and installed using the RSB recipe. Tha changes tha

[PATCH] Removed Soft float from MIPS

2020-07-21 Thread Eshan dhawan
This Patch removes Soft Float code from MIPS. Instead It adds the soft float code from RISCV Signed-off-by: Eshan dhawan --- .../machine/mips/machine/fenv-softfloat.h | 55 +++ newlib/libm/machine/mips/fenv.c | 10 2 files changed, 21 insertions(+), 44 dele

Re: [GSoC 2020]: Weekly thread: Preparing RSB recipies for EPICS

2020-07-21 Thread Gedare Bloom
On Tue, Jul 21, 2020 at 10:42 AM Mritunjay Sharma wrote: > > [UPDATE]: The error was actually a mismatch of names which was fixed with the > following > changes: > --- > > diff --git a/source-builder/config/epics-7-1.cfg > b/source-builder/config/epics

Re: [PATCH 1/1] eng: Update test framework chapter

2020-07-21 Thread Gedare Bloom
Thanks, a couple typos, and some suggestions for clarification. On Tue, Jul 21, 2020 at 8:49 AM Sebastian Huber wrote: > > Document the dynamic text fixtures, utility functions, and the interrupt > test support. > > Update #3199. > --- > eng/index.rst | 4 +- > eng/test-framewo

Re: [GSoC 2020]: Weekly thread: Preparing RSB recipies for EPICS

2020-07-21 Thread Mritunjay Sharma
[UPDATE]: The error was actually a mismatch of names which was fixed with the following changes: --- diff --git a/source-builder/config/epics-7-1.cfg b/source-builder/config/epics-7-1.cfg index fe1fb458..ea25f284 100644 --- a/source-builder/config/epics-

Re: Reworking MIPS Fenv support

2020-07-21 Thread Gedare Bloom
Hi Eshan, That sounds good and reasonable. Work with Joel to prepare your patches, and hopefully this time goes smoother. On Tue, Jul 21, 2020 at 5:32 AM Eshan Dhawan wrote: > > Hello everyone, > As I was reworking the MIPS fenv support > I realised it wasn't as bad as ARM fenv since there is no

Re: [PATCH] score: Improve _Thread_Start() description

2020-07-21 Thread Gedare Bloom
On Tue, Jul 21, 2020 at 7:23 AM Sebastian Huber wrote: > > --- > cpukit/include/rtems/score/threadimpl.h | 35 - > 1 file changed, 29 insertions(+), 6 deletions(-) > > diff --git a/cpukit/include/rtems/score/threadimpl.h > b/cpukit/include/rtems/score/threadimpl.h > index

[PATCH 31/33] spintrcritical23: Use T_interrupt_test()

2020-07-21 Thread Sebastian Huber
--- testsuites/sptests/Makefile.am| 4 +- testsuites/sptests/spintrcritical23/init.c| 117 -- .../spintrcritical23/spintrcritical23.scn | 20 +++ 3 files changed, 97 insertions(+), 44 deletions(-) diff --git a/testsuites/sptests/Makefile.am b/testsuites/

[PATCH 16/33] libtest: Add T_interrupt_test()

2020-07-21 Thread Sebastian Huber
Update #3199. --- cpukit/Makefile.am | 1 + cpukit/include/rtems/test.h | 28 ++ cpukit/libtest/t-test-interrupt.c | 420 testsuites/libtests/Makefile.am | 9 + testsuites/libtests/configure.ac| 1 + testsuites/

[PATCH 30/33] spintrcritical22: Use T_interrupt_test()

2020-07-21 Thread Sebastian Huber
--- testsuites/sptests/Makefile.am| 4 +- testsuites/sptests/spintrcritical22/init.c| 103 +++--- .../spintrcritical22/spintrcritical22.scn | 20 3 files changed, 87 insertions(+), 40 deletions(-) diff --git a/testsuites/sptests/Makefile.am b/testsuites

[PATCH 25/33] spintrcritical15: Use T_interrupt_test()

2020-07-21 Thread Sebastian Huber
--- testsuites/sptests/Makefile.am| 4 +- testsuites/sptests/spintrcritical15/init.c| 133 -- .../spintrcritical15/spintrcritical15.scn | 34 - 3 files changed, 117 insertions(+), 54 deletions(-) diff --git a/testsuites/sptests/Makefile.am b/testsuit

[PATCH 28/33] spintrcritical20: Use T_interrupt_test()

2020-07-21 Thread Sebastian Huber
--- testsuites/sptests/Makefile.am| 3 +- testsuites/sptests/spintrcritical20/init.c| 145 +++--- .../spintrcritical20/spintrcritical20.scn | 32 +++- 3 files changed, 121 insertions(+), 59 deletions(-) diff --git a/testsuites/sptests/Makefile.am b/testsuite

[PATCH 29/33] spintrcritical21: Use T_interrupt_test()

2020-07-21 Thread Sebastian Huber
--- testsuites/sptests/Makefile.am| 3 +- testsuites/sptests/spintrcritical21/init.c| 220 ++ .../spintrcritical21/spintrcritical21.scn | 27 ++- testsuites/sptests/spintrcritical21/system.h | 39 4 files changed, 149 insertions(+), 140 deletions(-

[PATCH 11/33] libtest: Add T_CHECK_FMT

2020-07-21 Thread Sebastian Huber
Rename internal function T_check_true() to T_check() and use the new flag T_CHECK_FMT to indicate if a format string is present. This is a preparation step to make the format string optional. Make the check context the first parameter. The API remains the same. Update #3199. --- cpukit/include

[PATCH 17/33] psxintrcritical01: Use T_interrupt_test()

2020-07-21 Thread Sebastian Huber
--- testsuites/psxtests/Makefile.am | 3 +- testsuites/psxtests/psxintrcritical01/init.c | 135 -- .../psxintrcritical01/psxintrcritical01.scn | 33 - 3 files changed, 121 insertions(+), 50 deletions(-) diff --git a/testsuites/psxtests/Makefile.am b/testsui

[PATCH 24/33] spintrcritical13/14: Use T_interrupt_test()

2020-07-21 Thread Sebastian Huber
--- testsuites/sptests/Makefile.am| 7 +- .../spintrcritical13/spintrcritical13.scn | 31 +++- .../spintrcritical13/spintrcritical13impl.h | 150 -- .../spintrcritical14/spintrcritical14.scn | 31 +++- 4 files changed, 151 insertions(+), 68 deletions(-

[PATCH 26/33] spintrcritical16: Use T_interrupt_test()

2020-07-21 Thread Sebastian Huber
--- testsuites/sptests/Makefile.am| 4 +- testsuites/sptests/spintrcritical16/init.c| 135 +++--- .../spintrcritical16/spintrcritical16.scn | 31 +++- 3 files changed, 109 insertions(+), 61 deletions(-) diff --git a/testsuites/sptests/Makefile.am b/testsuite

[PATCH 32/33] spintrcritical24: Use T_interrupt_test()

2020-07-21 Thread Sebastian Huber
--- testsuites/sptests/Makefile.am| 4 +- testsuites/sptests/spintrcritical24/init.c| 128 +- .../spintrcritical24/spintrcritical24.scn | 32 + 3 files changed, 125 insertions(+), 39 deletions(-) diff --git a/testsuites/sptests/Makefile.am b/testsuit

[PATCH 23/33] spintrcritical11/12: Use T_interrupt_test()

2020-07-21 Thread Sebastian Huber
--- testsuites/sptests/Makefile.am| 7 +- .../spintrcritical11/spintrcritical11.scn | 30 - .../spintrcritical11/spintrcritical11impl.h | 110 -- .../spintrcritical12/spintrcritical12.scn | 30 - 4 files changed, 126 insertions(+), 51 deletions

[PATCH 22/33] spintrcritical10: Use T_interrupt_test()

2020-07-21 Thread Sebastian Huber
--- testsuites/sptests/Makefile.am| 4 +- testsuites/sptests/spintrcritical10/init.c| 198 +++--- .../spintrcritical10/spintrcritical10.scn | 33 ++- 3 files changed, 109 insertions(+), 126 deletions(-) diff --git a/testsuites/sptests/Makefile.am b/testsuite

[PATCH 27/33] spintrcritical18: Use T_interrupt_test()

2020-07-21 Thread Sebastian Huber
--- testsuites/sptests/Makefile.am| 4 +- testsuites/sptests/spintrcritical18/init.c| 146 -- .../spintrcritical18/spintrcritical18.scn | 30 +++- 3 files changed, 131 insertions(+), 49 deletions(-) diff --git a/testsuites/sptests/Makefile.am b/testsuite

[PATCH 20/33] spintrcritical08: Use T_interrupt_test()

2020-07-21 Thread Sebastian Huber
--- testsuites/sptests/Makefile.am| 4 +- testsuites/sptests/spintrcritical08/init.c| 165 +++--- .../spintrcritical08/spintrcritical08.scn | 30 +++- 3 files changed, 131 insertions(+), 68 deletions(-) diff --git a/testsuites/sptests/Makefile.am b/testsuite

[PATCH 19/33] spintrcritical06/spintrcritical07: Remove tests

2020-07-21 Thread Sebastian Huber
These two tests check conditions which no longer exist in the thread queue implementation. The are obsolete since the change to use red-black trees for the priority queues. --- testsuites/sptests/Makefile.am| 23 --- testsuites/sptests/configure.ac | 2 - testsuit

[PATCH 33/33] spintrcritical_support: Remove

2020-07-21 Thread Sebastian Huber
This test support was replaced by T_interrupt_test() is no longer used. --- .../spintrcritical_support/intrcritical.c | 172 -- .../spintrcritical_support/intrcritical.h | 52 -- 2 files changed, 224 deletions(-) delete mode 100644 testsuites/sptests/spintrcritical_su

[PATCH 07/33] libtest: Add push/pop fixture support

2020-07-21 Thread Sebastian Huber
Update #3199. --- cpukit/include/rtems/test.h| 11 +++ cpukit/libtest/t-test.c| 110 + testsuites/libtests/ttest01/init.c | 4 +- testsuites/libtests/ttest01/test-fixture.c | 105 ++-- 4 files changed, 200 insertion

[PATCH 18/33] spintrcritical01/2/3/4/5: Use T_interrupt_test()

2020-07-21 Thread Sebastian Huber
--- testsuites/sptests/Makefile.am| 16 +-- .../spintrcritical01/spintrcritical01.scn | 30 - .../spintrcritical01/spintrcritical01impl.h | 121 ++ .../spintrcritical02/spintrcritical02.scn | 30 - .../spintrcritical03/spintrcritical03.scn |

[PATCH 15/33] libtest: Add rtems_test_run()

2020-07-21 Thread Sebastian Huber
Update #3199. --- cpukit/Makefile.am | 1 + cpukit/include/rtems/simple-test.h | 14 + cpukit/libtest/testrun.c | 87 ++ spec/build/cpukit/librtemstest.yml | 1 + 4 files changed, 103 insertions(+) create mode 100644 cpukit/libtest/testr

[PATCH 21/33] spintrcritical09: Use T_interrupt_test()

2020-07-21 Thread Sebastian Huber
--- testsuites/sptests/Makefile.am| 4 +- testsuites/sptests/spintrcritical09/init.c| 121 +++--- .../spintrcritical09/spintrcritical09.scn | 28 +++- 3 files changed, 103 insertions(+), 50 deletions(-) diff --git a/testsuites/sptests/Makefile.am b/testsuite

[PATCH 13/33] libtest: Add T_unreachable()

2020-07-21 Thread Sebastian Huber
Update #3199. --- cpukit/include/rtems/test.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cpukit/include/rtems/test.h b/cpukit/include/rtems/test.h index d14bb9fe2d..06c5772296 100644 --- a/cpukit/include/rtems/test.h +++ b/cpukit/include/rtems/test.h @@ -2294,6 +2294,9 @@ void T_pop_fi

[PATCH 06/33] libtest: Support custom scope messages via fixture

2020-07-21 Thread Sebastian Huber
Update #3199. --- cpukit/include/rtems/test.h| 1 + cpukit/libtest/t-test.c| 32 -- testsuites/libtests/ttest01/init.c | 2 +- testsuites/libtests/ttest01/test-fixture.c | 24 ++-- 4 files changed, 42 insertions(+), 17 d

[PATCH 05/33] libtest: Add T_make_runner()

2020-07-21 Thread Sebastian Huber
Update #3199. --- cpukit/include/rtems/test.h | 2 ++ cpukit/libtest/t-test.c | 10 -- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/cpukit/include/rtems/test.h b/cpukit/include/rtems/test.h index b68f303e16..a1a976d7ff 100644 --- a/cpukit/include/rtems/test.h +++ b/

[PATCH 14/33] libtest: Add quiet assert NULL pointer checks

2020-07-21 Thread Sebastian Huber
Update #3199. --- cpukit/include/rtems/test.h | 4 1 file changed, 4 insertions(+) diff --git a/cpukit/include/rtems/test.h b/cpukit/include/rtems/test.h index 06c5772296..5d4c676d16 100644 --- a/cpukit/include/rtems/test.h +++ b/cpukit/include/rtems/test.h @@ -761,6 +761,8 @@ T_verbosity T_

[PATCH 12/33] libtest: Make check message optional

2020-07-21 Thread Sebastian Huber
This macro magic is in line with C11 and C++11, but limits the maximum count of arguments. Update #3199. --- cpukit/include/rtems/test.h | 107 +++--- testsuites/libtests/ttest01/init.c| 4 +- testsuites/libtests/ttest01/test-checks.c | 23 + 3 files c

[PATCH 00/33] Test framework improvements

2020-07-21 Thread Sebastian Huber
This patch set adds a couple of improvements to the test framework: * The header file changes from to . * Support for a stack of test fixtures. This helps to write test building blocks. * The test check messages are now optional. * The support for interrupt tests and change all the interrup

[PATCH 02/33] libtest: Move to

2020-07-21 Thread Sebastian Huber
Update #3199. --- cpukit/headers.am | 2 +- cpukit/include/{t.h => rtems/test.h}| 0 cpukit/libtest/t-test-checks-eno.c | 2 +- cpukit/libtest/t-test-checks-psx.c | 2 +- cpukit/libtest/t-test-checks.c | 2 +- cpu

[PATCH 03/33] libtest: Add T_busy()

2020-07-21 Thread Sebastian Huber
Update #3199. --- cpukit/Makefile.am| 1 + cpukit/include/rtems/simple-test.h| 12 +--- cpukit/include/rtems/test.h | 4 +- cpukit/libtest/t-test-busy.c | 58 +++ cpukit/libtest/testbusy.c

[PATCH 04/33] libtest: Add T_get_one_clock_tick_busy()

2020-07-21 Thread Sebastian Huber
Update #3199. --- cpukit/Makefile.am| 1 + cpukit/include/rtems/simple-test.h| 6 - cpukit/include/rtems/test.h | 2 + cpukit/libtest/t-test-busy-tick.c | 121 ++ cpukit/libtest/testbusy.c

[PATCH 09/33] libtest: Split POSIX Keys support

2020-07-21 Thread Sebastian Huber
Update #3199. --- cpukit/Makefile.am | 1 + cpukit/libtest/t-test-rtems-objs.c | 95 +++ cpukit/libtest/t-test-rtems-posix-keys.c | 115 +++ cpukit/libtest/t-test-rtems.h| 62 4 files changed, 193 insertio

[PATCH 10/33] libtest: Add T_stop()

2020-07-21 Thread Sebastian Huber
Update #3199. --- cpukit/include/rtems/test.h | 8 cpukit/libtest/t-test.c | 12 +--- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/cpukit/include/rtems/test.h b/cpukit/include/rtems/test.h index 09afc29593..8af810def7 100644 --- a/cpukit/include/rtems/test.

[PATCH 08/33] libtest: Add T_get_scope()

2020-07-21 Thread Sebastian Huber
Update #3199. --- cpukit/include/rtems/test.h | 23 ++ cpukit/libtest/t-test.c | 39 + 2 files changed, 62 insertions(+) diff --git a/cpukit/include/rtems/test.h b/cpukit/include/rtems/test.h index 04f92dd1f4..09afc29593 100644 --- a/cpu

[PATCH 0/1] eng: Update test framework chapter

2020-07-21 Thread Sebastian Huber
You find a generated document here: https://ftp.rtems.org/pub/rtems/people/sebh/eng2.pdf Sebastian Huber (1): eng: Update test framework chapter eng/index.rst | 4 +- eng/test-framework.rst| 185 -- images/eng/interrupt-test.odg | Bin

[PATCH 1/1] eng: Update test framework chapter

2020-07-21 Thread Sebastian Huber
Document the dynamic text fixtures, utility functions, and the interrupt test support. Update #3199. --- eng/index.rst | 4 +- eng/test-framework.rst| 185 -- images/eng/interrupt-test.odg | Bin 0 -> 14829 bytes images/eng/interrupt-test.

Re: Benchmarking RTEMS on PPC vs ARM multicore

2020-07-21 Thread Gedare Bloom
On Mon, Jul 20, 2020 at 10:55 PM Sebastian Huber wrote: > > Hello Gedare, > > what kind of performance benchmarking do you have in mind? > The immediate goal is going to be performance comparison of RTEMS in baremetal vs hosted in a paravirtual environment. I haven't planned out the experiment ye

Re: Doubt regarding thread creation in RTEMS

2020-07-21 Thread Sebastian Huber
On 21/07/2020 14:36, Richi Dubey wrote: Could you please explain what _User_extensions_Thread_start does? It's hard to understand it all by myself since it has a lot of other information related to objects. The brief for it says: /**  * @brief Starts a thread.  *  * @param created The thread

[PATCH] score: Improve _Thread_Start() description

2020-07-21 Thread Sebastian Huber
--- cpukit/include/rtems/score/threadimpl.h | 35 - 1 file changed, 29 insertions(+), 6 deletions(-) diff --git a/cpukit/include/rtems/score/threadimpl.h b/cpukit/include/rtems/score/threadimpl.h index b4b85ffa90..355311867d 100644 --- a/cpukit/include/rtems/score/threadi

Re: Doubt regarding thread creation in RTEMS

2020-07-21 Thread Richi Dubey
Hi, Could you please explain what _User_extensions_Thread_start does? It's hard to understand it all by myself since it has a lot of other information related to objects. The brief for it says: /** * @brief Starts a thread. * * @param created The thread to start. */ This is exactly what my d

Reworking MIPS Fenv support

2020-07-21 Thread Eshan Dhawan
Hello everyone, As I was reworking the MIPS fenv support I realised it wasn't as bad as ARM fenv since there is no mangle files There are just headers and extern inline function definitions in the fenv.c file That greatly decreased the margin of error So, I though instead of complete rework I make

Beaglebone QEP driver design question

2020-07-21 Thread James Fitzsimons
Hi all, I have a very basic version of the QEP driver for the Beaglebone black working now. I will tidy up my code and submit a patch in the next few days. For first patches that are likely to require a bit of discussion etc, is the best idea to still submit them to this list per the normal proce