[PATCH 1/2] score: Add _CPU_Get_TLS_thread_pointer()

2023-09-15 Thread Sebastian Huber
Add _CPU_Get_TLS_thread_pointer() to get the thread pointer which is used to get the address of thread-local storage objects associated with a thread. Update #4920. --- .../cpu/aarch64/include/rtems/score/cpuimpl.h | 7 .../cpu/arm/include/rtems/score/cpuimpl.h | 7 .../cpu/bfin/i

[PATCH 2/2] libdl: Use _CPU_Get_TLS_thread_pointer()

2023-09-15 Thread Sebastian Huber
Update #4920. --- cpukit/libdl/rtl-tls.c | 73 -- 1 file changed, 6 insertions(+), 67 deletions(-) diff --git a/cpukit/libdl/rtl-tls.c b/cpukit/libdl/rtl-tls.c index 95ca47fe6a..7eb12831eb 100644 --- a/cpukit/libdl/rtl-tls.c +++ b/cpukit/libdl/rtl-tls.c @@

Re: [rtems commit] libdl: Add support to import base image TLS symbols

2023-09-15 Thread Sebastian Huber
On 14.09.23 23:56, Chris Johns wrote: On 14/9/2023 7:33 pm, Sebastian Huber wrote: On 14.09.23 10:51, Chris Johns wrote: On 14/9/2023 5:58 pm, Sebastian Huber wrote: On 14.09.23 09:38, Chris Johns wrote: The issue I faced was no score interface to get the TLS base for a thread to determine

Re: [PATCH] cpukit/riscv : RISCV multitasking with non SMP

2023-09-14 Thread Sebastian Huber
call printf() with interrupts disabled or within an ISR, then you get this fatal error. printf() is a complex function which may even allocate dynamic memory in some cases. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de

Re: [rtems commit] libdl: Add support to import base image TLS symbols

2023-09-14 Thread Sebastian Huber
On 14.09.23 10:51, Chris Johns wrote: On 14/9/2023 5:58 pm, Sebastian Huber wrote: On 14.09.23 09:38, Chris Johns wrote: The issue I faced was no score interface to get the TLS base for a thread to determine a symbol's offset. If we had that and something to say if TLS is supported

Re: [rtems commit] libdl: Add support to import base image TLS symbols

2023-09-14 Thread Sebastian Huber
ings? Yes please, that would be good. I do not know the TSL support well enough to do a decent job of it. Which interface do you need? -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de phone: +49-89-18 94 741 - 16 fax: +49-89

Re: [rtems commit] libdl: Add support to import base image TLS symbols

2023-09-14 Thread Sebastian Huber
On 14.09.23 09:12, Chris Johns wrote: On 14/9/2023 4:55 pm, Sebastian Huber wrote: On 14.09.23 08:34, Sebastian Huber wrote: This seems to break the mips build: cpukit/libdl/rtl-tls.c:104:2: error: #error unsupported architecture    104 | #error unsupported architecture

[PATCH] rtems: rtems_configuration_get_interrupt_stack_size()

2023-09-14 Thread Sebastian Huber
Fix rtems_configuration_get_interrupt_stack_size() for some code models. The _ISR_Stack_size symbol has an arbitrary absolute address and may not be representable in the code model used by the compiler. Update #4953. --- cpukit/include/rtems/config.h| 2 +- cpukit/include/rtems/score/isr.h

[PATCH] score: Fix TLS support for some code models

2023-09-13 Thread Sebastian Huber
Store symbols with an arbitrary absolute address such as _TLS_Size, _TLS_Alignment, _TLS_Data_size, and _TLS_BSS_size in an object to avoid issues with some code models. Update #4953. --- cpukit/include/rtems/score/tls.h | 120 +- cpukit/score/src/tlsallocsize.c |

Re: [rtems commit] libdl: Add support to import base image TLS symbols

2023-09-13 Thread Sebastian Huber
On 14.09.23 08:34, Sebastian Huber wrote: This seems to break the mips build: cpukit/libdl/rtl-tls.c:104:2: error: #error unsupported architecture   104 | #error unsupported architecture   |  ^ Also the moxie and 64-bit powerpc (qoriq_e6500_64) no longer build with the error above

Re: [rtems commit] libdl: Add support to import base image TLS symbols

2023-09-13 Thread Sebastian Huber
This seems to break the mips build: cpukit/libdl/rtl-tls.c:104:2: error: #error unsupported architecture 104 | #error unsupported architecture | ^ -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de phone: +49

Re: [PATCH] doxygen: Replace and move main page

2023-09-13 Thread Sebastian Huber
On 03.08.23 09:38, Sebastian Huber wrote: Hello Joel, On 28.07.23 16:37, Sebastian Huber wrote: Replace the main page with a high level description of the RTEMS feature set similar to: https://docs.rtems.org/branches/master/user/overview/index.html#features The replaced content can be found

Re: [PATCH] build: Use build context for custom commands

2023-09-13 Thread Sebastian Huber
On 13.09.23 09:20, Chris Johns wrote: On 13/9/2023 4:18 pm, Sebastian Huber wrote: On 13.09.23 03:12, Chris Johns wrote: On 12/9/2023 5:55 pm, Sebastian Huber wrote: On 12.09.23 09:43, Chris Johns wrote: Setting OPTIMIZATION_FLAGS and TEST_OPTIMIZATION_FLAGS through the configuration file

Re: [PATCH] build: Use build context for custom commands

2023-09-12 Thread Sebastian Huber
On 13.09.23 03:12, Chris Johns wrote: On 12/9/2023 5:55 pm, Sebastian Huber wrote: On 12.09.23 09:43, Chris Johns wrote: Setting OPTIMIZATION_FLAGS and TEST_OPTIMIZATION_FLAGS through the configuration file always worked. Great. I am seeing: OPTIMIZATION_FLAGS = -O2 -g -fdata-sections

[PATCH] build: Merge regulator build into library item

2023-09-12 Thread Sebastian Huber
There is no need to use a separate build object item. --- spec/build/cpukit/librtemscpu.yml | 5 +++-- spec/build/cpukit/objregulator.yml | 18 -- 2 files changed, 3 insertions(+), 20 deletions(-) delete mode 100644 spec/build/cpukit/objregulator.yml diff --git a/spec/build/cpu

[PATCH 2/2] tests: Improve RTEMS_DEFINE_GLOBAL_SYMBOL() tests

2023-09-12 Thread Sebastian Huber
Use a symbol value relative to an existing symbol address to make the test work on more code models. Update #4953. --- testsuites/sptests/spmisc01/init.c | 11 +-- testsuites/validation/tc-basedefs.c | 18 +++--- 2 files changed, 24 insertions(+), 5 deletions(-) diff --git a

[PATCH 1/2] score: Fix RTEMS_DEFINE_GLOBAL_SYMBOL()

2023-09-12 Thread Sebastian Huber
The availability of a proper RTEMS_DEFINE_GLOBAL_SYMBOL() implementation depends on __asm__() and thus __GNUC__. Clarify documentation. Update #4953. --- cpukit/include/rtems/score/basedefs.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cpukit/include/rtems/score/base

Re: [PATCH] build: Add target to build scripts

2023-09-12 Thread Sebastian Huber
On 11.08.23 07:51, Sebastian Huber wrote: On 11.08.23 07:40, Chris Johns wrote: On 11/8/2023 3:33 pm, Sebastian Huber wrote: On 11.08.23 02:21, Chris Johns wrote: On 10/8/2023 7:02 pm, Sebastian Huber wrote: Document that the build scripts in the testsuites produce a test program. I am

Re: [PATCH] build: Use build context for custom commands

2023-09-12 Thread Sebastian Huber
ded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de phone: +49-89-18 94 741 - 16 fax: +49-89-18 94 741 - 08 Registergericht: Amtsgericht München Registernummer: HRB 157899 Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, T

Re: [PATCH] build: Use build context for custom commands

2023-09-12 Thread Sebastian Huber
On 12.09.23 08:49, Chris Johns wrote: On 12/9/2023 2:15 pm, Sebastian Huber wrote: On 12.09.23 03:26, Chris Johns wrote: On 11/9/2023 7:37 pm, Sebastian Huber wrote: Revert duplicated listing of TEST_OPTIMIZATION_FLAGS. Thank you for picking this up. Does this change let the user control

[PATCH] sp37: Check ISR level of system init

2023-09-11 Thread Sebastian Huber
--- testsuites/sptests/sp37/init.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/testsuites/sptests/sp37/init.c b/testsuites/sptests/sp37/init.c index 2ee21b592e..e8af725a75 100644 --- a/testsuites/sptests/sp37/init.c +++ b/testsuites/sptests/sp37/init.c @@ -40,6 +40,8 @@

Re: [PATCH] 6: Use GCC 13.2

2023-09-11 Thread Sebastian Huber
On 12.09.23 08:40, Chris Johns wrote: On 12/9/2023 4:31 pm, Sebastian Huber wrote: On 27.07.23 13:33, Sebastian Huber wrote: Prepare for RTEMS 6.1 release. Update #4921. How do we want to proceed with the tools for the RTEMS 6.1 release? I need to move 6 to tar files but other tickets

Re: [PATCH] 6: Use GCC 13.2

2023-09-11 Thread Sebastian Huber
On 27.07.23 13:33, Sebastian Huber wrote: Prepare for RTEMS 6.1 release. Update #4921. How do we want to proceed with the tools for the RTEMS 6.1 release? Is GCC 13.2 still the desired GCC release? -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email

Re: [PATCH] build: Use build context for custom commands

2023-09-11 Thread Sebastian Huber
On 12.09.23 03:26, Chris Johns wrote: On 11/9/2023 7:37 pm, Sebastian Huber wrote: Revert duplicated listing of TEST_OPTIMIZATION_FLAGS. Thank you for picking this up. Does this change let the user control TEST_OPTIMIZATION_FLAGS and OPTIMIZATION_FLAGS via a BSP setting in config.ini? No

Re: [PATCH 1/3] cpukit/jffs2: Avoid delayed work lock inversion

2023-09-11 Thread Sebastian Huber
after use. } + /* Task for processing delayed work */ static rtems_task delayed_work_task( rtems_task_argument unused -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de phone: +49-89-18 94 741 - 16 fax: +

[PATCH] build: Use build context for custom commands

2023-09-11 Thread Sebastian Huber
Revert duplicated listing of TEST_OPTIMIZATION_FLAGS. Close #4947. --- spec/build/testsuites/grp.yml | 1 - spec/build/testsuites/libtests/dl01.yml | 3 +-- spec/build/testsuites/libtests/dl02.yml | 3 +-- spec/build/testsuites/libtests/dl03.yml | 3 +-- spec/build/testsuites/libtes

Re: [PATCH] build: Make gzip archives reproducible

2023-08-13 Thread Sebastian Huber
ss of any quality cannot be changed on a whim without discussion and modifying all the artifacts necessary. Sorry, it was not my intention to open another can of worms. This reproducible builds stuff appeared to be some small thing to do. -- embedded brains GmbH Herr Sebastian HUBER Dorniers

[PATCH] build: Make gzip archives reproducible

2023-08-12 Thread Sebastian Huber
--- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index 4baf701c27..e0e38e67bb 100755 --- a/wscript +++ b/wscript @@ -465,7 +465,7 @@ class Item(object): def gzip(self, bld, source): target = source + ".gz" -bld(rule="${GZIP}

Re: [PATCH] build: Create deterministic tar archives

2023-08-10 Thread Sebastian Huber
On 11.08.23 07:47, Chris Johns wrote: On 11/8/2023 3:43 pm, Sebastian Huber wrote: On 11.08.23 07:39, Chris Johns wrote: On 11/8/2023 3:37 pm, Sebastian Huber wrote: On 11.08.23 02:22, Chris Johns wrote: On 10/8/2023 8:19 pm, Sebastian Huber wrote: This helps to make the build reproducible

Re: [PATCH] build: Add target to build scripts

2023-08-10 Thread Sebastian Huber
On 11.08.23 07:40, Chris Johns wrote: On 11/8/2023 3:33 pm, Sebastian Huber wrote: On 11.08.23 02:21, Chris Johns wrote: On 10/8/2023 7:02 pm, Sebastian Huber wrote: Document that the build scripts in the testsuites produce a test program. I am sorry but I do not understand this change and

Re: [PATCH] build: Create deterministic tar archives

2023-08-10 Thread Sebastian Huber
On 11.08.23 07:39, Chris Johns wrote: On 11/8/2023 3:37 pm, Sebastian Huber wrote: On 11.08.23 02:22, Chris Johns wrote: On 10/8/2023 8:19 pm, Sebastian Huber wrote: This helps to make the build reproducible. ---   wscript | 11 ++-   1 file changed, 10 insertions(+), 1 deletion

Re: [PATCH] build: Create deterministic tar archives

2023-08-10 Thread Sebastian Huber
On 11.08.23 02:22, Chris Johns wrote: On 10/8/2023 8:19 pm, Sebastian Huber wrote: This helps to make the build reproducible. --- wscript | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/wscript b/wscript index a8fca88dcb..4baf701c27 100755 --- a/wscript

Re: [PATCH] build: Add target to build scripts

2023-08-10 Thread Sebastian Huber
On 11.08.23 02:21, Chris Johns wrote: On 10/8/2023 7:02 pm, Sebastian Huber wrote: Document that the build scripts in the testsuites produce a test program. I am sorry but I do not understand this change and why we need it. Is the addition of the target line purely cosmetic? This information

Re: [PATCH rtems v3 1/1] Add the Regulator Interface and test

2023-08-10 Thread Sebastian Huber
On 11.08.23 00:14, Joel Sherrill wrote: I should have asked if you want another round of patches or just go ahead and merge. This set of changes was pretty minor. This is fine, I had only some cosmetic things. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany

[tools] tester: Use shorter SHA512 encoding

2023-08-10 Thread Sebastian Huber
Encode the SHA512 digest in base64urlsafe instead of a hex string to reduce the report size. --- tester/rt/test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tester/rt/test.py b/tester/rt/test.py index 2b5ad85..0e22002 100644 --- a/tester/rt/test.py +++ b/tester/rt/test.

Re: [PATCH] build: Make BUILD_LIBDL configurable

2023-08-10 Thread Sebastian Huber
to add an option to disable the libdl tests as a workaround for http://devel.rtems.org/ticket/4941 and the use of vendor tools or clang. I will make this more explicit with a BUILD_LIBDL_TESTS option. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: seba

[PATCH] build: Make BUILD_LIBDL configurable

2023-08-10 Thread Sebastian Huber
--- spec/build/cpukit/optlibdl.yml| 32 +++ spec/build/testsuites/libtests/optrtemsld.yml | 2 +- .../testsuites/libtests/optrtemssyms.yml | 2 +- 3 files changed, 21 insertions(+), 15 deletions(-) diff --git a/spec/build/cpukit/optlibdl.yml b/spec/build/cpu

[PATCH] build: Create deterministic tar archives

2023-08-10 Thread Sebastian Huber
This helps to make the build reproducible. --- wscript | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/wscript b/wscript index a8fca88dcb..4baf701c27 100755 --- a/wscript +++ b/wscript @@ -188,6 +188,15 @@ def process_start_files(self): self.link_task.dep_n

[PATCH] build: Add target to build scripts

2023-08-10 Thread Sebastian Huber
Document that the build scripts in the testsuites produce a test program. --- spec/build/testsuites/libtests/dl01.yml | 1 + spec/build/testsuites/libtests/dl02.yml | 1 + spec/build/testsuites/libtests/dl04.yml | 1 + spec/build/testsuites/libtests/dl05.yml | 1 + spec/build/tests

[PATCH] eng: Allow a target in build script items

2023-08-10 Thread Sebastian Huber
Some build scripts may produce a test program for example. --- eng/req/items.rst | 5 + 1 file changed, 5 insertions(+) diff --git a/eng/req/items.rst b/eng/req/items.rst index 4388c4c..286e998 100644 --- a/eng/req/items.rst +++ b/eng/req/items.rst @@ -869,6 +869,9 @@ stlib The attribute

Re: [PATCH rtems v3 1/1] Add the Regulator Interface and test

2023-08-09 Thread Sebastian Huber
; to provide a type safe API and ease debugging. If you use the interface specification in rtems-central for this new API, you can keep the Doxygen and Classic API documentation in synchronization. You could use it also to write validation tests. [...] -- embedded brains GmbH Herr Sebastian HUBER

Re: [PATCH] build: Add PROGRAM_PREFIX option

2023-08-09 Thread Sebastian Huber
On 10.08.23 03:13, Chris Johns wrote: On 9/8/2023 7:12 pm, Sebastian Huber wrote: On 09.08.23 11:10, Cedric Berger wrote: On 09.08.23 10:51, Sebastian Huber wrote: We could add some text to the option description: # Defines the program prefix of tools (compiler, assembler, linker). # This

Re: [PATCH] cpukit/riscv : RISCV multitasking with non SMP

2023-08-09 Thread Sebastian Huber
ch shows the problem you want to solve? -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de phone: +49-89-18 94 741 - 16 fax: +49-89-18 94 741 - 08 Registergericht: Amtsgericht München Registernummer: HRB 157899 Vertretun

Re: [PATCH] build: Add PROGRAM_PREFIX option

2023-08-09 Thread Sebastian Huber
On 09.08.23 11:10, Cedric Berger wrote: On 09.08.23 10:51, Sebastian Huber wrote: We could add some text to the option description: # Defines the program prefix of tools (compiler, assembler, linker). # This option may be used to build RTEMS with a vendor tool suite. # Please note that using

Re: [PATCH] build: Add PROGRAM_PREFIX option

2023-08-09 Thread Sebastian Huber
On 09.08.23 03:26, Chris Johns wrote: On 8/8/2023 11:14 pm, Sebastian Huber wrote: On 08.08.23 08:06, Chris Johns wrote: n 7/8/2023 4:06 pm, Sebastian Huber wrote: On 07.08.23 00:25, Chris Johns wrote: On 4/8/2023 4:39 pm, Sebastian Huber wrote: On 04.08.23 08:22, Chris Johns wrote: On 4/8

[PATCH] samples/iostream: Produce proper begin/end message

2023-08-09 Thread Sebastian Huber
Print the full test information. --- testsuites/samples/iostream/init.cc | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/testsuites/samples/iostream/init.cc b/testsuites/samples/iostream/init.cc index 22d973019b..ddd38a9d15 100644 --- a/testsuites/samples/iostream/ini

[PATCH] arm: Add cache support for ARM926EJ-S

2023-08-09 Thread Sebastian Huber
The ARM926EJ-S is an ARMv5T architecture processor and lacks some features of ARMv6 processors such as the ARM1176JZF-S. --- bsps/arm/shared/cache/cache-cp15.c| 26 +++ .../score/cpu/arm/include/libcpu/arm-cp15.h | 26 --- 2 files changed, 48 insertion

Re: [PATCH] build: Add PROGRAM_PREFIX option

2023-08-08 Thread Sebastian Huber
On 08.08.23 08:06, Chris Johns wrote: n 7/8/2023 4:06 pm, Sebastian Huber wrote: On 07.08.23 00:25, Chris Johns wrote: On 4/8/2023 4:39 pm, Sebastian Huber wrote: On 04.08.23 08:22, Chris Johns wrote: On 4/8/2023 3:16 pm, Sebastian Huber wrote: On 04.08.23 00:27, Chris Johns wrote: On 2/8

[PATCH 5/5] bsp/lpc32xx: Fix lpc32xx_magic_zero_size

2023-08-07 Thread Sebastian Huber
--- bsps/arm/lpc32xx/start/linkcmds.lpc32xx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsps/arm/lpc32xx/start/linkcmds.lpc32xx b/bsps/arm/lpc32xx/start/linkcmds.lpc32xx index 200e7f3e04..f38f7903b2 100644 --- a/bsps/arm/lpc32xx/start/linkcmds.lpc32xx +++ b/bsps/arm/lpc32x

[PATCH 4/5] bsp/lpc32xx: Increase SDRAM size to 64MiB

2023-08-07 Thread Sebastian Huber
Increase stage 2 bootloader size to 16MiB. --- bsps/arm/lpc32xx/start/linkcmds.lpc32xx_mzx | 2 +- bsps/arm/lpc32xx/start/linkcmds.lpc32xx_mzx_stage_2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bsps/arm/lpc32xx/start/linkcmds.lpc32xx_mzx b/bsps/arm/lpc32xx/star

[PATCH 3/5] bsp/lpc32xx: Remove hard to maintain comments

2023-08-07 Thread Sebastian Huber
These comments duplicate the memory and region definitions of the linker command file. --- bsps/arm/lpc32xx/start/linkcmds.lpc32xx_mzx | 20 -- .../start/linkcmds.lpc32xx_mzx_stage_1| 20 -- .../start/linkcmds.lpc32xx_mzx_stage_2| 20 --

[PATCH 2/5] bsp/lpc32xx: Restore lpc32xx_set_translation_table_entries()

2023-08-07 Thread Sebastian Huber
This implementation disables the MMU during the modification of the translation table. This behaviour is required by boot loaders for these boards. --- bsps/arm/lpc32xx/include/bsp/mmu.h | 7 +-- bsps/arm/lpc32xx/start/mmu.c| 81 + spec/build/bsps/arm/lpc32xx

[PATCH 0/5] Prepare bsp/lpc32xx for RTMES 6 release

2023-08-07 Thread Sebastian Huber
Sebastian Huber (5): bsp/lpc32xx: Fix warning bsp/lpc32xx: Restore lpc32xx_set_translation_table_entries() bsp/lpc32xx: Remove hard to maintain comments bsp/lpc32xx: Increase SDRAM size to 64MiB bsp/lpc32xx: Fix lpc32xx_magic_zero_size .../lpc32xx/include/bsp/lpc-ethernet-config.h | 2

[PATCH 1/5] bsp/lpc32xx: Fix warning

2023-08-07 Thread Sebastian Huber
The type is a pointer. --- bsps/arm/lpc32xx/include/bsp/lpc-ethernet-config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsps/arm/lpc32xx/include/bsp/lpc-ethernet-config.h b/bsps/arm/lpc32xx/include/bsp/lpc-ethernet-config.h index 14282fd578..df74b085b1 100644 --- a/bsps/

Re: [PATCH] build: Add PROGRAM_PREFIX option

2023-08-06 Thread Sebastian Huber
On 07.08.23 00:25, Chris Johns wrote: On 4/8/2023 4:39 pm, Sebastian Huber wrote: On 04.08.23 08:22, Chris Johns wrote: On 4/8/2023 3:16 pm, Sebastian Huber wrote: On 04.08.23 00:27, Chris Johns wrote: On 2/8/2023 6:49 pm, Chris Johns wrote:    > I am concerned about the compatibility

Re: [PATCH 3/3] Force ISR enable before scheduler start

2023-08-04 Thread Sebastian Huber
. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de phone: +49-89-18 94 741 - 16 fax: +49-89-18 94 741 - 08 Registergericht: Amtsgericht München Registernummer: HRB 157899 Vertretungsberechtigte Geschäftsführer: Peter Rasmussen

[PATCH] psxkey07: Fix POSIX key value pair configuration

2023-08-04 Thread Sebastian Huber
Make sure we have enough POSIX key value pairs available. This fixes a test failure on some targets. Make objects and functions static. Initialize variable to get rid of warnings. --- testsuites/psxtests/psxkey07/init.c | 42 ++--- 1 file changed, 20 insertions(+), 22 de

Re: [PATCH] trace/wscript: Improve C++ standard selection

2023-08-03 Thread Sebastian Huber
n parallel. It is not one or another. You can have both. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de phone: +49-89-18 94 741 - 16 fax: +49-89-18 94 741 - 08 Registergericht: Amtsgericht München Registernummer:

Re: [PATCH] build: Add PROGRAM_PREFIX option

2023-08-03 Thread Sebastian Huber
On 04.08.23 08:22, Chris Johns wrote: On 4/8/2023 3:16 pm, Sebastian Huber wrote: On 04.08.23 00:27, Chris Johns wrote: On 2/8/2023 6:49 pm, Chris Johns wrote:   > I am concerned about the compatibility to the ecosystem we have. Have you built all the tests in the testsuite with this va

Re: [PATCH] build: Add PROGRAM_PREFIX option

2023-08-03 Thread Sebastian Huber
il", "FROM:%s%s" % (quoteaddr(sender), optionlist)) File "/usr/lib64/python3.6/smtplib.py", line 153, in quoteaddr if addrstring.strip().startswith('<'): AttributeError: 'NoneType' object has no attribute 'strip' -- embedded brains Gm

Re: [PATCH] libdebugger: Restrict ARM architecture support

2023-08-03 Thread Sebastian Huber
On 04.08.23 00:43, Chris Johns wrote: On 3/8/2023 10:17 pm, Sebastian Huber wrote: Build the arm libdebugger support only for supported ARM architectures. What ARM archs are not supported? At least ARMv7-M and everything with Thumb 1. This fixes assembler errors at -O0. How does it fix

Re: [PATCH] trace/wscript: Improve C++ standard selection

2023-08-03 Thread Sebastian Huber
On 04.08.23 00:53, Chris Johns wrote: On 3/8/2023 5:36 pm, Sebastian Huber wrote: Ping. Which repo? Is this in the rtems-tools repo? Yes, the rtems-tools. Please understand there is a limited number people reviewing and it takes time. I am blocked on the other changes you have recently

Re: [PATCH 1/3] Adding core-v cv32a6 support

2023-08-03 Thread Sebastian Huber
Why do you need this BSP variant? Can't you use the rv32imac BSP? -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de phone: +49-89-18 94 741 - 16 fax: +49-89-18 94 741 - 08 Registergericht: Amtsgericht Mü

Re: [PATCH 3/3] Force ISR enable before scheduler start

2023-08-03 Thread Sebastian Huber
On 03.08.23 15:29, Kevin Eyssartier wrote: The ISR was not activated when running without RTEMS_SMP. Is there a test which fails due to this bug? Please use the already existing CPU port interface _CPU_Start_multitasking() to fix this bug. -- embedded brains GmbH Herr Sebastian HUBER

[PATCH] libdebugger: Restrict ARM architecture support

2023-08-03 Thread Sebastian Huber
Build the arm libdebugger support only for supported ARM architectures. This fixes assembler errors at -O0. Close #4939. --- cpukit/libdebugger/rtems-debugger-arm.c | 24 +--- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/cpukit/libdebugger/rtems-debugger-arm.

Re: [PATCH] doxygen: Replace and move main page

2023-08-03 Thread Sebastian Huber
Hello Joel, On 28.07.23 16:37, Sebastian Huber wrote: Replace the main page with a high level description of the RTEMS feature set similar to: https://docs.rtems.org/branches/master/user/overview/index.html#features The replaced content can be found in the RTEMS Classic API Guide: https

Re: [PATCH] 6: Use Binutils 2.41

2023-08-03 Thread Sebastian Huber
What about this patch and the GCC update to 13.2? On 31.07.23 08:13, Sebastian Huber wrote: Prepare for RTEMS 6.1 release. Update #4921. --- rtems/config/6/rtems-default.bset | 2 +- rtems/config/tools/rtems-binutils-2.41.cfg | 13 + 2 files changed, 14 insertions

Re: [PATCH] trace/wscript: Improve C++ standard selection

2023-08-03 Thread Sebastian Huber
Ping. On 19.05.23 07:02, Sebastian Huber wrote: Use the latest C++ standard available up to C++20. Close #4908. --- trace/wscript | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/trace/wscript b/trace/wscript index a3dd5d5..adabd5f 100644 --- a/trace

Re: [PATCH] build: Add PROGRAM_PREFIX option

2023-08-02 Thread Sebastian Huber
On 02.08.23 13:53, Karel Gardas wrote: A bit off-topic. On 8/2/23 10:39, Sebastian Huber wrote: Yes, but this would be another patch and it is a bit more work since you have to test the clang support. Is building with clang already supported? I'm curious since this is something I'

Re: [PATCH] build: Add PROGRAM_PREFIX option

2023-08-02 Thread Sebastian Huber
On 02.08.23 10:50, Chris Johns wrote: On 2/8/2023 6:39 pm, Sebastian Huber wrote: On 02.08.23 10:33, Chris Johns wrote: diff --git a/spec/build/bsps/makeinc.yml b/spec/build/bsps/makeinc.yml index ac395f2f02..08fc75a8b9 100644 --- a/spec/build/bsps/makeinc.yml +++ b/spec/build/bsps

Re: [PATCH] build: Add PROGRAM_PREFIX option

2023-08-02 Thread Sebastian Huber
On 02.08.23 10:40, Chris Johns wrote: On 2/8/2023 6:33 pm, Chris Johns wrote: On 2/8/2023 3:49 pm, Sebastian Huber wrote: Replace --rtems-version with a PROGRAM_PREFIX option. This allows also the use of vendor tools.> --- One further thing to consider is if PROGRAM_PREFIX could clash w

Re: [PATCH] build: Add PROGRAM_PREFIX option

2023-08-02 Thread Sebastian Huber
= ${PROGRAM_PREFIX}ld + SIZE_FOR_TARGET = ${PROGRAM_PREFIX}size + OBJCOPY_FOR_TARGET = ${PROGRAM_PREFIX}objcopy Where is PROGRAM_PFREFIX set? It is a new configuration option: [sparc/gr740] PROGRAM_PREFIX = ${ARCH}-rtems7- -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178

[PATCH] build: Add PROGRAM_PREFIX option

2023-08-01 Thread Sebastian Huber
Replace --rtems-version with a PROGRAM_PREFIX option. This allows also the use of vendor tools. --- spec/build/bsps/makeinc.yml| 16 spec/build/bsps/maketarget.yml | 22 +++--- spec/build/bsps/optobjcopy.yml | 2 +- spec/build/cpukit/c

Re: [PATCH] build: Optionally use a VERSION file

2023-08-01 Thread Sebastian Huber
? And my reading of the change the command line support has been removed? The patch removes the --rtems-option command line support. The --rtems-version is needed to build for example using the RTEMS 7 tools. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email

Re: [PATCH] build: Add optional RTEMS_VERSION_VC_KEY

2023-08-01 Thread Sebastian Huber
. Maybe it could have been more general to serve a wider purpose than just the VC but it is there now so that time has passed. This define is only internally used. The API element is rtems_version_control_key(). -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email

[PATCH] build: Optionally use a VERSION file

2023-08-01 Thread Sebastian Huber
Define the RTEMS version in the wscript. Optionally use a VERSION file to change the default values of the wscript. Allow the command line option --rtems-version to override __RTEMS_MAJOR__. Remove support for command line configurable options. Rename internal define RTEMS_VERSION_VC_KEY to RTE

Re: [PATCH] build: Add optional RTEMS_VERSION_VC_KEY

2023-07-31 Thread Sebastian Huber
/version.py#n31 -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de phone: +49-89-18 94 741 - 16 fax: +49-89-18 94 741 - 08 Registergericht: Amtsgericht München Registernummer: HRB 157899 Vertretungsberechtigte Geschäftsführer:

[PATCH] 6: Use Binutils 2.41

2023-07-30 Thread Sebastian Huber
Prepare for RTEMS 6.1 release. Update #4921. --- rtems/config/6/rtems-default.bset | 2 +- rtems/config/tools/rtems-binutils-2.41.cfg | 13 + 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 rtems/config/tools/rtems-binutils-2.41.cfg diff --git a/rtems/c

Re: Pushing to 6.1

2023-07-28 Thread Sebastian Huber
Hello, a patch to test GCC 13.2 is available. Binutils 2.41 will be probably released in the next days. For Newlib there is still the aarch64 support open. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de phone: +49

[PATCH] doxygen: Replace and move main page

2023-07-28 Thread Sebastian Huber
Replace the main page with a high level description of the RTEMS feature set similar to: https://docs.rtems.org/branches/master/user/overview/index.html#features The replaced content can be found in the RTEMS Classic API Guide: https://docs.rtems.org/branches/master/c-user/overview.html https:/

Re: [PATCH] score: Move _IO_Relax() to new

2023-07-28 Thread Sebastian Huber
On 24.07.23 21:45, Joel Sherrill wrote: On Mon, Jul 24, 2023 at 10:49 AM Sebastian Huber <mailto:sebastian.hu...@embedded-brains.de>> wrote: On 24.07.23 17:34, Joel Sherrill wrote: > > What about the other io methods in score like for gcov and hashing? >

Re: [PATCH] build: Add optional RTEMS_VERSION_VC_KEY

2023-07-28 Thread Sebastian Huber
On 28.07.23 07:37, Chris Johns wrote: On 27/7/2023 3:59 pm, Sebastian Huber wrote: On 27.07.23 06:36, Chris Johns wrote: On 26/7/2023 4:54 pm, Sebastian Huber wrote: On 26.07.23 08:20, Chris Johns wrote: On 26/7/2023 3:44 pm, Sebastian Huber wrote: On 26.07.23 06:58, Sebastian Huber wrote

[PATCH] 6: Use GCC 13.2

2023-07-27 Thread Sebastian Huber
Prepare for RTEMS 6.1 release. Update #4921. --- rtems/config/6/rtems-default.bset | 2 +- .../tools/rtems-gcc-13.2-newlib-head.cfg | 20 +++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 rtems/config/tools/rtems-gcc-13.2-newlib-head.cfg d

No RTEMS documentation updates on the web site?

2023-07-26 Thread Sebastian Huber
Hello, it seems the RTEMS documentation on the web site is from 24th of January: https://docs.rtems.org/ -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de phone: +49-89-18 94 741 - 16 fax: +49-89-18 94 741 - 08

Re: style patches - discuss

2023-07-26 Thread Sebastian Huber
On 26.07.23 17:17, Gedare Bloom wrote: On Tue, Jul 25, 2023 at 11:15 PM Sebastian Huber wrote: On 25.07.23 23:41, Gedare Bloom wrote: I have sent two initial patches to begin the style reformat. The clang-format file is not quite 100%, and it's also not usable by anyone else (as I wai

Re: [PATCH] build: Add optional RTEMS_VERSION_VC_KEY

2023-07-26 Thread Sebastian Huber
On 27.07.23 06:36, Chris Johns wrote: On 26/7/2023 4:54 pm, Sebastian Huber wrote: On 26.07.23 08:20, Chris Johns wrote: On 26/7/2023 3:44 pm, Sebastian Huber wrote: On 26.07.23 06:58, Sebastian Huber wrote: On 26.07.23 00:08, Chris Johns wrote: On 26/7/2023 4:27 am, Joel Sherrill wrote

Re: [PATCH] doxygen: Replace main page

2023-07-26 Thread Sebastian Huber
On 27.07.23 02:13, Joel Sherrill wrote: On Wed, Jul 26, 2023 at 12:50 AM Sebastian Huber <mailto:sebastian.hu...@embedded-brains.de>> wrote: Replace the main page with a high level description of the RTEMS feature set similar to: https://docs.rtems.org/branches/ma

Re: [PATCH] build: Add optional RTEMS_VERSION_VC_KEY

2023-07-25 Thread Sebastian Huber
On 26.07.23 08:20, Chris Johns wrote: On 26/7/2023 3:44 pm, Sebastian Huber wrote: On 26.07.23 06:58, Sebastian Huber wrote: On 26.07.23 00:08, Chris Johns wrote: On 26/7/2023 4:27 am, Joel Sherrill wrote: On Tue, Jul 25, 2023 at 12:15 PM Sebastian Huber mailto:sebastian.hu...@embedded

[PATCH] doxygen: Replace main page

2023-07-25 Thread Sebastian Huber
Replace the main page with a high level description of the RTEMS feature set similar to: https://docs.rtems.org/branches/master/user/overview/index.html#features The replaced content can be found in the RTEMS Classic API Guide: https://docs.rtems.org/branches/master/c-user/overview.html https:/

Re: [PATCH] build: Add optional RTEMS_VERSION_VC_KEY

2023-07-25 Thread Sebastian Huber
On 26.07.23 06:58, Sebastian Huber wrote: On 26.07.23 00:08, Chris Johns wrote: On 26/7/2023 4:27 am, Joel Sherrill wrote: On Tue, Jul 25, 2023 at 12:15 PM Sebastian Huber <mailto:sebastian.hu...@embedded-brains.de>> wrote: On 25.07.23 19:09, Joel Sherrill wrote: >  

[PATCH v2] build: Add optional RTEMS_VERSION_CONTROL_KEY

2023-07-25 Thread Sebastian Huber
Allow the user to set the version control key. --- spec/build/cpukit/grp.yml | 2 ++ spec/build/cpukit/optversioncontrolkey.yml | 21 wscript| 38 +- 3 files changed, 45 insertions(+), 16 deletions(-) create mo

Re: style patches - discuss

2023-07-25 Thread Sebastian Huber
ded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de phone: +49-89-18 94 741 - 16 fax: +49-89-18 94 741 - 08 Registergericht: Amtsgericht München Registernummer: HRB 157899 Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas

Re: [PATCH] score/arm: style fixes

2023-07-25 Thread Sebastian Huber
think this would lead to a lot of changes in score. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de phone: +49-89-18 94 741 - 16 fax: +49-89-18 94 741 - 08 Registergericht: Amtsgericht München Registernummer: HRB 157

Re: [PATCH] build: Add optional RTEMS_VERSION_VC_KEY

2023-07-25 Thread Sebastian Huber
On 26.07.23 00:08, Chris Johns wrote: On 26/7/2023 4:27 am, Joel Sherrill wrote: On Tue, Jul 25, 2023 at 12:15 PM Sebastian Huber mailto:sebastian.hu...@embedded-brains.de>> wrote: On 25.07.23 19:09, Joel Sherrill wrote: > > On Tue, Jul 25, 2023 at 10:12 AM Seb

Re: [PATCH] build: Export BSP base and family via pkg-config

2023-07-25 Thread Sebastian Huber
On 25.07.23 20:26, Joel Sherrill wrote: On Tue, Jul 25, 2023 at 12:19 PM Sebastian Huber <mailto:sebastian.hu...@embedded-brains.de>> wrote: On 25.07.23 19:15, Gedare Bloom wrote: > On Tue, Jul 25, 2023 at 11:11 AM Sebastian Huber > mailto:sebastian.hu...@emb

Re: [PATCH 8/8] sys: Add files to Doxygen group

2023-07-25 Thread Sebastian Huber
don't think these comment blocks at the begin of the file will cause issues in the future. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de phone: +49-89-18 94 741 - 16 fax: +49-89-18 94 741 - 08 Registergericht: A

Re: [PATCH] build: Export BSP base and family via pkg-config

2023-07-25 Thread Sebastian Huber
On 25.07.23 19:15, Gedare Bloom wrote: On Tue, Jul 25, 2023 at 11:11 AM Sebastian Huber wrote: On 25.07.23 18:01, Gedare Bloom wrote: On Tue, Jul 25, 2023 at 5:13 AM Sebastian Huber wrote: This allows application and library build systems to derive option values from the BSP base and

Re: [PATCH] build: Add optional RTEMS_VERSION_VC_KEY

2023-07-25 Thread Sebastian Huber
On 25.07.23 19:09, Joel Sherrill wrote: On Tue, Jul 25, 2023 at 10:12 AM Sebastian Huber <mailto:sebastian.hu...@embedded-brains.de>> wrote: Allow the user to set the version control key. ---  spec/build/cpukit/grp.yml             |  2 ++  spec/bui

Re: [PATCH] build: Export BSP base and family via pkg-config

2023-07-25 Thread Sebastian Huber
On 25.07.23 18:01, Gedare Bloom wrote: On Tue, Jul 25, 2023 at 5:13 AM Sebastian Huber wrote: This allows application and library build systems to derive option values from the BSP base and family names. --- spec/build/bsps/pkgconfig.yml | 2 ++ 1 file changed, 2 insertions(+) diff

Re: [PATCH] bsps/arm: fix nested extern decl. warnings brought by CMSIS files update

2023-07-25 Thread Sebastian Huber
On 25.07.23 16:20, Karel Gardas wrote: On 7/25/23 15:32, Sebastian Huber wrote: On 21.07.23 17:37, Karel Gardas wrote: ---   bsps/arm/include/cmsis_gcc.h | 4 +++-   1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bsps/arm/include/cmsis_gcc.h b/bsps/arm/include/cmsis_gcc.h index

<    1   2   3   4   5   6   7   8   9   10   >