Re: [PATCH] RSB - Add support for RISC-V RV64 (64-bit) toolchain v2

2017-10-26 Thread Chris Johns
On 27/10/2017 16:45, Sebastian Huber wrote: > Thanks, committed. Even the Ada support works: > > riscv64-rtems4.12-gnat --version > GNAT 7.2.0 20170814 (RTEMS 4.12, RSB 5bd4aa6bb33872b0f0fb243e7fc2f0784e69ab81, > Newlib 2.5.0.20170922) > Copyright (C) 1996-2017, Free Software Foundation, Inc. > Th

Re: [PATCH] RSB - Add support for RISC-V RV64 (64-bit) toolchain v2

2017-10-26 Thread Sebastian Huber
Thanks, committed. Even the Ada support works: riscv64-rtems4.12-gnat --version GNAT 7.2.0 20170814 (RTEMS 4.12, RSB 5bd4aa6bb33872b0f0fb243e7fc2f0784e69ab81, Newlib 2.5.0.20170922) Copyright (C) 1996-2017, Free Software Foundation, Inc. This is free software; see the source for copying conditi

Re: RTEMS Tier Allocations.

2017-10-26 Thread Chris Johns
On 26/10/2017 18:50, Sebastian Huber wrote: > > with the change to the INI format files, the > > target_pretest_command > target_exe_filter_command > > disappeared. Oh I changed some names as part of a clean up. > I am not sure how I can invoke the tester for a board using U-Boot > connected v

Re: [PATCH 1/9] tests: Move rtems_test_printer definition

2017-10-26 Thread Chris Johns
On 27/10/2017 14:50, Chris Johns wrote: > > Does this mean the TEST_INIT defines can be removed? I can do this after I > have > tested this change. > Sorry missed the patch to remove them in the series. Chris ___ devel mailing list devel@rtems.org ht

Re: [PATCH 1/9] tests: Move rtems_test_printer definition

2017-10-26 Thread Chris Johns
Hi, This patch series looks good and thank you for making move. I had planned on moving to this point once I knew printk change gave me suitable test results on the zedboard. Does this mean the TEST_INIT defines can be removed? I can do this after I have tested this change. Chris ___

Re: [PATCH 1/4] Add riscv32 to autotools files

2017-10-26 Thread Hesham Almatary
On Thu, Oct 26, 2017 at 4:34 PM, Sebastian Huber wrote: > Hello Hesham, > > thanks for your RISC-V port. Most files have a BSD-like license. Would it be > possible to use a BSD-2 license for all the files which have the RTEMS > license in the patch set? > done (v3 set of patches) > -- > Sebastian

[PATCH 3/4] cpukit: Add basic riscv32 architecture port v3

2017-10-26 Thread Hesham Almatary
From: Hesham Almatary Limitations: * NO FPU support [TODO] Update #3109 --- cpukit/score/cpu/riscv32/Makefile.am | 26 + cpukit/score/cpu/riscv32/cpu.c | 124 ++ .../score/cpu/riscv32/riscv-context-initialize.c | 67 + cpukit/score/cpu/riscv32/riscv-cont

[PATCH 4/4] bsp: Add new riscv_generic bsp v3

2017-10-26 Thread Hesham Almatary
From: Hesham Almatary * Only runs/tested on simulator/spike. * Ticker, hello, capture work proprely * Tested via RTEMS Tester, Passed: 525/565 (92%) Update #3109 --- c/src/lib/libbsp/riscv32/Makefile.am | 14 + c/src/lib/libbsp/riscv32/acinclude.m4 | 10 + c/src/lib

[PATCH 2/4] cpukit: librpc - add riscv* to xdr_float.c v3

2017-10-26 Thread Hesham Almatary
From: Hesham Almatary --- cpukit/librpc/src/xdr/xdr_float.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cpukit/librpc/src/xdr/xdr_float.c b/cpukit/librpc/src/xdr/xdr_float.c index 4c58720..989cbff 100644 --- a/cpukit/librpc/src/xdr/xdr_float.c +++ b/cpukit/librpc/src/xdr/xdr_float.c @@

[PATCH 1/4] Add riscv32 to autotools files v3

2017-10-26 Thread Hesham Almatary
From: Hesham Almatary --- c/src/aclocal/rtems-cpu-subdirs.m4 | 1 + cpukit/configure.ac| 1 + cpukit/score/cpu/Makefile.am | 1 + 3 files changed, 3 insertions(+) diff --git a/c/src/aclocal/rtems-cpu-subdirs.m4 b/c/src/aclocal/rtems-cpu-subdirs.m4 index 44d38c9..b5b579e 1

[PATCH 7/9] Revert "testsuite: Fix build"

2017-10-26 Thread Sebastian Huber
This reverts commit 4c701106fa81d480de6b6d9c99c972738c2ee026. --- testsuites/psxtests/psxclockrealtime01/init.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/testsuites/psxtests/psxclockrealtime01/init.c b/testsuites/psxtests/psxclockrealtime01/init.c index f3ad3ac0ff..8deac3cf88 100644 --

[PATCH 5/9] tests: Use rtems_test_printer in general

2017-10-26 Thread Sebastian Huber
Update #3170. Update #3199. --- testsuites/libtests/block02/init.c | 1 + testsuites/libtests/block03/init.c | 1 + testsuites/libtests/block04/init.c | 1 + testsuites/libtests/block05/init.c | 1 + testsuites/libtests/termios06/init.c| 1 + t

[PATCH 8/9] Revert "testsuite: Fix build"

2017-10-26 Thread Sebastian Huber
This reverts commit 88e84c2236146049386be55b4f6373cf75c50aed. --- testsuites/smptests/smpscheduler03/test.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/testsuites/smptests/smpscheduler03/test.c b/testsuites/smptests/smpscheduler03/test.c index f804bc7088..3f6b9e3fd8 100644 --- a/testsuit

[PATCH 6/9] tests: Remove obsolete TESTS_USE_PRINTK

2017-10-26 Thread Sebastian Huber
Update #3170. Update #3199. --- testsuites/fstests/fsimfsconfig01/init.c | 1 - testsuites/fstests/fsimfsconfig03/init.c | 1 - testsuites/fstests/fsnofs01/init.c| 1 - testsuites/libtests/block02/init.c| 1 - testsuites/libtests/block03/init.c| 1 - t

[PATCH 1/9] tests: Move rtems_test_printer definition

2017-10-26 Thread Sebastian Huber
Statically initialize it to use printk(). Update #3170. Update #3199. --- cpukit/include/rtems/bspIo.h | 6 ++ cpukit/libcsupport/src/printk_plugin.c| 4 ++-- cpukit/libmisc/testsupport/testbeginend.c | 7 ++- testsuites/libtests/capture01/init.c | 1 - testsuites/li

[PATCH 3/9] tests: Use rtems_test_printer

2017-10-26 Thread Sebastian Huber
Update #3170. Update #3199. --- testsuites/libtests/block14/init.c | 5 + testsuites/libtests/debugger01/init.c| 7 ++- testsuites/libtests/mouse01/init.c | 4 +--- testsuites/libtests/tar01/init.c | 29 + testsuites/libtests/uid01/ini

[PATCH 4/9] tests: Use rtems_print_printer_fprintf_putc()

2017-10-26 Thread Sebastian Huber
Use rtems_print_printer_fprintf_putc() instead of rtems_print_printer_printf() to output via rtems_putc(). Update #3170. Update #3199. --- testsuites/libtests/capture01/init.c | 2 +- testsuites/libtests/complex/init.c | 2 +- testsuites/libtests/math/init.c | 2 +- testsuites/libtests/mat

[PATCH 2/9] rtems: Add rtems_print_printer_fprintf_putc()

2017-10-26 Thread Sebastian Huber
Update #3170. Update #3199. --- cpukit/include/rtems/printer.h | 25 ++- cpukit/libcsupport/Makefile.am | 1 + cpukit/libcsupport/src/printerfprintfputc.c | 67 + 3 files changed, 82 insertions(+), 11 deletions(-) create mode 100644 c

Re: RTEMS Tier Allocations.

2017-10-26 Thread Sebastian Huber
Hello Chris, with the change to the INI format files, the target_pretest_command target_exe_filter_command disappeared. I am not sure how I can invoke the tester for a board using U-Boot connected via TTY or telnet. Do you have an example command line? -- Sebastian Huber, embedded brains Gmb