Re: [PATCH] improved error checking in ticks per timeslice

2024-03-18 Thread Sebastian Huber
lock.h:74:4: error: #error "CONFIGURE_TICKS_PER_TIMESLICE shall be greater than zero" 74 | #error "CONFIGURE_TICKS_PER_TIMESLICE shall be greater than zero" |^ -- embedded brains GmbH & Co. KG Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Ger

Re: [RFC] Adding RISC-V Vector support to RTEMS

2024-03-15 Thread Sebastian Huber
could simply use the RTEMS_FLOATING_POINT attribute. This is a bit of an issue since POSIX threads use this by default. Maybe it makes sense to introduce a non-standard attribute for POSIX threads to be control this. -- embedded brains GmbH & Co. KG Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany

Re: Zynq on qemu with a USB support or any hot plugged usb wifi adaptor

2024-03-13 Thread Sebastian Huber
Hello Ashish, USB works on real hardware, however, I guess nobody tried it so far on Qemu. -- embedded brains GmbH & Co. KG 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

[PATCH] aarch64/zynqmp: Fix UART base addresses and IRQ

2024-03-11 Thread Sebastian Huber
The base addresses and IRQ numbers for UART 0 and 1 were interchanged. Fix this and set BSP_CONSOLE_MINOR to 0 for this BSP family. --- bsps/aarch64/xilinx-zynqmp/console/console.c | 4 ++-- bsps/aarch64/xilinx-zynqmp/include/bsp/irq.h | 4 ++-- spec/build/bsps/optconminor.yml | 1 +

Re: [PATCH 4/6] build: Add support to make bootloader images

2024-03-11 Thread Sebastian Huber
On 11.03.24 00:40, Chris Johns wrote: On 7/3/2024 5:27 pm, Sebastian Huber wrote: On 07.03.24 02:09, Chris Johns wrote: On 6/3/2024 8:33 am, Gedare Bloom wrote: If script generation needs to be done, it should be implemented in Python with input from the yml spec item as necessary to fill

Re: Multiple PowerPC BSPs Fail to BUIld

2024-03-11 Thread Sebastian Huber
t; task in 'testsuites/fstests/jffs2nand_fspatheval.exe' failed with exit status 1 (run with -v to display more information) -> task in 'testsuites/fstests/jffs2nand_fstime.exe' failed with exit status 1 (run with -v to display more information) -- embedded brains GmbH & Co. KG Herr Sebastian HUBER Dorni

Re: arm/tms570ls3137_hdk_with_loader build failures

2024-03-10 Thread Sebastian Huber
/rtems --rtems-config=config-arm-\ tms570ls3137_hdk_with_loader-debug.ini It would be appreciated if someone could look into that and fix it. This should be fixed by: commit 9fdaa4e7c7577710405dab0da828ff9d0710a2d0 Author: Sebastian Huber Date: Sat Jan 20 21:55:47 2024 +0100 config:

Re: [PATCH 4/6] build: Add support to make bootloader images

2024-03-06 Thread Sebastian Huber
, static analysis, and even a CI script. Independent of this, working with the build specification items would be the wrong approach. You need the input of a configured BSP. -- embedded brains GmbH & Co. KG Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embe

Re: [PATCH 4/6] build: Add support to make bootloader images

2024-03-06 Thread Sebastian Huber
On 05.03.24 22:33, Gedare Bloom wrote: On Mon, Mar 4, 2024 at 12:19 AM Chris Johns wrote: On 1/3/2024 9:57 pm, Sebastian Huber wrote: On 29.02.24 00:05, Chris Johns wrote: If it is will the details be exported in the pkgconfig file and made available for users building applications

Re: [PATCH 5/6] build: Add mkimage support for powerpc/qoriq

2024-03-03 Thread Sebastian Huber
ngs. If someone doesn't like the error handling in a mkimage script he can improve it through patches. The script may have to know details of the BSP configuration, so what would be your approach to address this? With the script in the build specification item you can simply use the variab

Re: [PATCH 4/6] build: Add support to make bootloader images

2024-03-01 Thread Sebastian Huber
if needed. There are probably more important things to do. -- embedded brains GmbH & Co. KG 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 Registernumm

Re: [PATCH 4/6] build: Add support to make bootloader images

2024-03-01 Thread Sebastian Huber
in BSP-specific configuration files? -- embedded brains GmbH & Co. KG 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 15

Re: [RFC] libdl: Make Elf_Sym::st_other available

2024-02-29 Thread Sebastian Huber
On 29.02.24 00:27, Chris Johns wrote: On 27/2/2024 6:46 pm, Sebastian Huber wrote: The 64-bit PowerPC ELFv2 relocation support needs access to the Elf_Sym::st_other symbol information. The machine-specific relocation handler had only access to the Elf_Sym::st_info symbol information

Re: [PATCH 1/2] cpukit/libtest: Remove unused variable

2024-02-29 Thread Sebastian Huber
On 28.02.24 19:15, Kinsey Moore wrote: This unused variable causes a warning. It is never set or used. Thanks for fixing this. -- embedded brains GmbH & Co. KG Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de phone: +49-89-18 94 741 - 16

Re: [PATCH 2/2] testsuites/dhrystone: Initialize before use

2024-02-29 Thread Sebastian Huber
On 28.02.24 19:15, Kinsey Moore wrote: This resovles a warning where a variable could be used before it is initialized in some code paths. I am not sure if we should modify benchmark code. -- embedded brains GmbH & Co. KG Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany e

Re: [PATCH] build: Use -frandom-seed=0

2024-02-28 Thread Sebastian Huber
On 29.02.24 00:29, Chris Johns wrote: On 28/2/2024 6:24 pm, Sebastian Huber wrote: On 28.02.24 06:34, Chris Johns wrote: The manual says:    The string can either be a number (decimal, octal or hex) or    an arbitrary string (in which case it’s converted to a number by    computing CRC32

[Tools] add libiberty/argv.c for mingw32 build

2024-02-28 Thread Sebastian Huber
From: zhengxiaojun Signed-off-by: zhengxiaojun Close #4974. --- rtemstoolkit/wscript | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/rtemstoolkit/wscript b/rtemstoolkit/wscript index 20b1047..0611e2e 100644 --- a/rtemstoolkit/wscript +++ b/rtemstoolkit/wscript

Re: [Tools] rtemstoolkit/libierty: Add missing file

2024-02-28 Thread Sebastian Huber
On 28.02.24 08:20, zhengxiaojun wrote: The patch close #4974. Sorry, I didn't notice this ticket. I will rebase your patch to the current master since the build system part is an improvement. -- embedded brains GmbH & Co. KG Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany e

Re: [PATCH 4/6] build: Add support to make bootloader images

2024-02-27 Thread Sebastian Huber
24 2:15 am, Sebastian Huber wrote: Add a new build item type to provide optional BSP-specific tools to make bootloader images. The tools are installed as Python scripts in: ${prefix}/bin/rtems-mkimage-${ARCH}-${BSP_NAME}.py Application build systems can query the tool using the RTEMS_MKIMA

Re: [PATCH 0/6] Add support for optional BSP-specific tools to make bootloader images

2024-02-27 Thread Sebastian Huber
knows all the details. For example, the tool may have to know some address ranges which could depend on the build configuration. -- embedded brains GmbH & Co. KG Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de phone: +49-89-18 94 741 - 16 fax:

Re: [PATCH 3/6] build: Make OBJCOPY optional

2024-02-27 Thread Sebastian Huber
On 28.02.24 06:36, Chris Johns wrote: Why do we need this? The tool objcopy is always built when the tools are built? I am not sure if objcopy is provided by clang and under which name. -- embedded brains GmbH & Co. KG Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany e

Re: [PATCH] build: Use -frandom-seed=0

2024-02-27 Thread Sebastian Huber
code coverage instrumentation. -- embedded brains GmbH & Co. KG 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 15

[PATCH] powerpc: Use RTEMS_XCONCAT()

2024-02-27 Thread Sebastian Huber
Prefer macros with a proper namespace. --- cpukit/score/cpu/powerpc/include/rtems/asm.h | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/cpukit/score/cpu/powerpc/include/rtems/asm.h b/cpukit/score/cpu/powerpc/include/rtems/asm.h index 27af64e724..94f54245b4 100644

[PATCH 5/6] build: Add mkimage support for powerpc/qoriq

2024-02-27 Thread Sebastian Huber
Update #4272. --- spec/build/bsps/optpython.yml | 14 spec/build/bsps/optubootmkimage.yml | 20 spec/build/bsps/powerpc/qoriq/grp.yml | 6 spec/build/bsps/powerpc/qoriq/mkimage.yml | 39 +++ 4 files changed, 79 insertions(+)

[PATCH 3/6] build: Make OBJCOPY optional

2024-02-27 Thread Sebastian Huber
Update #4272. --- spec/build/bsps/i386/pc386/objsmpstart.yml | 4 +++- spec/build/bsps/optobjcopy.yml | 14 +- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/spec/build/bsps/i386/pc386/objsmpstart.yml b/spec/build/bsps/i386/pc386/objsmpstart.yml index

[PATCH 1/6] build: Fix script action

2024-02-27 Thread Sebastian Huber
We have to use a custom dictorary to be able to set the "value" argument in the exec() context. Update #4272. --- wscript | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/wscript b/wscript index a71e0d3f10..6c81083b2c 100755 --- a/wscript +++ b/wscript @@ -1026,8

[PATCH 0/6] Add support for optional BSP-specific tools to make bootloader images

2024-02-27 Thread Sebastian Huber
Sebastian Huber (6): build: Fix script action build: Add "find-optional-program" action build: Make OBJCOPY optional build: Add support to make bootloader images build: Add mkimage support for powerpc/qoriq build: Add mkimage support for arm/xilinx-zynq spec/build/bsps/

[PATCH 4/6] build: Add support to make bootloader images

2024-02-27 Thread Sebastian Huber
Add a new build item type to provide optional BSP-specific tools to make bootloader images. The tools are installed as Python scripts in: ${prefix}/bin/rtems-mkimage-${ARCH}-${BSP_NAME}.py Application build systems can query the tool using the RTEMS_MKIMAGE package configuration varible, for

[PATCH 2/6] build: Add "find-optional-program" action

2024-02-27 Thread Sebastian Huber
Update #4272. --- wscript | 12 1 file changed, 12 insertions(+) diff --git a/wscript b/wscript index 6c81083b2c..e43ae8ba3e 100755 --- a/wscript +++ b/wscript @@ -976,6 +976,17 @@ class OptionItem(Item): def _find_program(self, conf, cic, value, arg): return

[PATCH 6/6] build: Add mkimage support for arm/xilinx-zynq

2024-02-27 Thread Sebastian Huber
Update #4272. --- spec/build/bsps/arm/xilinx-zynq/grp.yml | 6 spec/build/bsps/arm/xilinx-zynq/mkimage.yml | 39 + 2 files changed, 45 insertions(+) create mode 100644 spec/build/bsps/arm/xilinx-zynq/mkimage.yml diff --git a/spec/build/bsps/arm/xilinx-zynq/grp.yml

[PATCH] build: Use -frandom-seed=0

2024-02-27 Thread Sebastian Huber
This makes the build reproducible. --- spec/build/bsps/opto0.yml | 1 + spec/build/bsps/opto1.yml | 1 + spec/build/bsps/opto2.yml | 1 + spec/build/bsps/optog.yml | 1 + spec/build/bsps/optos.yml | 1 + 5 files changed, 5 insertions(+) diff --git a/spec/build/bsps/opto0.yml

[Tools] rtemstoolkit/libierty: Add missing file

2024-02-27 Thread Sebastian Huber
This fixes the following build error for --host=x86_64-w64-mingw32: rtemstoolkit/libiberty.a(pex-win32.c.18.o): in function `win32_spawn': rtemstoolkit/libiberty/pex-win32.c:643: undefined reference to `writeargv' Update #4969. --- rtemstoolkit/libiberty/argv.c | 568

[RFC] libdl: Make Elf_Sym::st_other available

2024-02-26 Thread Sebastian Huber
The 64-bit PowerPC ELFv2 relocation support needs access to the Elf_Sym::st_other symbol information. The machine-specific relocation handler had only access to the Elf_Sym::st_info symbol information. This change extends the 8-bit syminfo parameter to 16-bit and uses the additional 8-bits to

Re: [PATCH] improved error checking in ticks per timeslice

2024-02-26 Thread Sebastian Huber
PER_TIMESLICE) && CONFIGURE_TICKS_PER_TIMESLICE <= 0 from my point of view. Just check the style of the related header files for a reference. -- embedded brains GmbH & Co. KG Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de phone: +49-89-

[RTEMS Tools 4/4] rld: Recognize 64-bit PowerPC

2024-02-26 Thread Sebastian Huber
Close #4995. --- rtemstoolkit/rld-elf.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/rtemstoolkit/rld-elf.cpp b/rtemstoolkit/rld-elf.cpp index 8b55818..b131461 100644 --- a/rtemstoolkit/rld-elf.cpp +++ b/rtemstoolkit/rld-elf.cpp @@ -1178,6 +1178,7 @@ namespace rld { "m68k",

[RTEMS Tools 2/4] linkers: Constify read-only data

2024-02-26 Thread Sebastian Huber
--- linkers/rtems-syms.cpp | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/linkers/rtems-syms.cpp b/linkers/rtems-syms.cpp index 9fe552e..377007d 100644 --- a/linkers/rtems-syms.cpp +++ b/linkers/rtems-syms.cpp @@ -53,7 +53,7 @@ /** * Header text. */

[RTEMS Tools 1/4] linkers: Avoid void pointer arithmetic

2024-02-26 Thread Sebastian Huber
--- linkers/rtems-syms.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/linkers/rtems-syms.cpp b/linkers/rtems-syms.cpp index f0ac2bb..9fe552e 100644 --- a/linkers/rtems-syms.cpp +++ b/linkers/rtems-syms.cpp @@ -322,9 +322,9 @@ output_sym::operator ()(const

[RTEMS Tools 3/4] linkers: Allow generation of symbol map file only

2024-02-26 Thread Sebastian Huber
If a symbol map file is specified by the user and no output file, then just generate the symbol map file. The user can then compile the file using its own build jobs. --- linkers/rtems-syms.cpp | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git

Re: [PATCH] improved error checking in ticks per timeslice

2024-02-17 Thread Sebastian Huber
to something? I'm hoping Sebastian has some guidance for you on what to edit for this and how to propagate it dull. Just for this patch it would be a bit of on overkill. I will take care of this when I check in the patch. -- embedded brains GmbH & Co. KG Herr Sebastian HUBER Dornierstr.

Re: RSB checksum updates for RTEMS 6

2024-02-16 Thread Sebastian Huber
while I attempt to create 6.1-rc2. I am asking if it would be OK for me to push changes to the RSB under this ticket without review while I sort this out? Yes, this makes sense. Thanks for working on the release. -- embedded brains GmbH & Co. KG Herr Sebastian HUBER Dornierstr. 4 82178 Puch

Re: [PATCH] improved error checking in ticks per timeslice

2024-02-14 Thread Sebastian Huber
  * * The value of the configuration option shall be less than or equal to This is modifying the right file but I think it is safer to check that it is defined before checking its value. Yes, the defined() check should be first. -- embedded brains GmbH & Co. KG Herr Sebastian HUBER Dornierst

Re: [PATCH] i386: Restore SMP functionality

2024-02-13 Thread Sebastian Huber
. -- embedded brains GmbH & Co. KG 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ü

Re: [PATCH v2 0/5] libtest: Add packet processor

2024-02-13 Thread Sebastian Huber
Hello, independent of the packet processor patch, can I check in the base64 and CRC patches? -- embedded brains GmbH & Co. KG 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

Re: [PATCH v2 5/5] libtest: Add packet processor

2024-02-13 Thread Sebastian Huber
Hello Chris, sorry for the delay. On 07.02.24 00:56, Chris Johns wrote: On 5/2/2024 9:13 pm, Sebastian Huber wrote: Hello Chris, thanks for having a look at it. On 02.02.24 00:14, Chris Johns wrote: Hi, Thanks for the updated documentation, protocol and use cases. It has helped. Now I

Re: Question regarding ARMV7M FPU context switch and ISRs

2024-02-08 Thread Sebastian Huber
On 08.02.24 11:43, Cedric Berger wrote: Hello Sebastian, On 08.02.2024 11:09, Sebastian Huber wrote: Hello Cedric, On 08.02.24 10:53, Cedric Berger wrote: Hello, I've a question: does RTEMS really wants to support FPU operations in ISRs? Because if the answer is "no", then

Re: Question regarding ARMV7M FPU context switch and ISRs

2024-02-08 Thread Sebastian Huber
I would do this only if there would be a clear and measurable performance improvement. For the measurements we would need a benchmark. -- embedded brains GmbH & Co. KG Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de phone: +49-89-18 94 741 - 16

Re: Bug #4923: ARM VFP context switch fix

2024-02-06 Thread Sebastian Huber
f ARM_MULTILIB_VFP +_ARMV7M_SCB->fpccr |= 0x1; +#endif ef = (ARMV7M_Exception_frame *) _ARMV7M_Get_PSP(); --ef; -- embedded brains GmbH & Co. KG Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de phone: +49-89-18 94 741 - 16 fax: +49-8

Re: [PATCH v2 5/5] libtest: Add packet processor

2024-02-05 Thread Sebastian Huber
version number being exchanged it limits how we can grow and develop this protocol beyond where it is. On 26/1/2024 6:23 am, Sebastian Huber wrote: The RTEMS Test Framework packet processor provides a simple mechanism to exchange reliable and in-order data through transmitting and receiving one

Re: [PATCH] cpukit/jffs2: Handle used empty file system

2024-02-05 Thread Sebastian Huber
will still cause this check to fail as corrupted data isn't recognized as obsoleted (deleted) nodes. this should be reported to the Linux JFFS2 maintainers. A test case would be also nice. -- embedded brains GmbH & Co. KG Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email

Re: [PATCH v2 0/5] libtest: Add packet processor

2024-01-31 Thread Sebastian Huber
Hello, any comments to the second version of this patch set? -- embedded brains GmbH & Co. KG 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ün

Re: [Patch] bsp/tms570/sci: fix bug in tms570_sci_read_received_chars()

2024-01-31 Thread Sebastian Huber
to a FIFO full of data -- embedded brains GmbH & Co. KG 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 Vertretungsberecht

Re: [Patch] bsp/tms570/sci: fix bug in tms570_sci_read_received_chars()

2024-01-31 Thread Sebastian Huber
. -- embedded brains GmbH & Co. KG 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: P

Re: AW: Naming convention for Rust target platforms

2024-01-30 Thread Sebastian Huber
On 30.01.24 13:45, jan.som...@dlr.de wrote: -Ursprüngliche Nachricht- Von: Sebastian Huber Gesendet: Dienstag, 30. Januar 2024 11:08 An: devel Cc: Sommer, Jan Betreff: Re: Naming convention for Rust target platforms Hello Jan, On 29.01.24 19:41,jan.som...@dlr.de wrote: So

Re: Naming convention for Rust target platforms

2024-01-30 Thread Sebastian Huber
to quite a number of Rust targets over time. Is this fine or do you see another solution? how are the GCC machine flags determined (for linking)? Are they derived from the target name? -- embedded brains GmbH & Co. KG Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany e

Re: [PATCH v3] cpukit/cache: Report coherent add area failures

2024-01-25 Thread Sebastian Huber
On 25.01.24 21:24, Kinsey Moore wrote: This alters the API for rtems_cache_coherent_add_area to allow reporting of failures that can occur during the process of adding a new area to the coherent cache heap. Looks good, thanks. -- embedded brains GmbH & Co. KG Herr Sebastian HUBER Dornie

Re: [Patch] bsp/tms570/sci: fix bug in tms570_sci_read_received_chars()

2024-01-25 Thread Sebastian Huber
have received something. */ if ( (ctx->regs->FLR & TMS570_SCI_FLR_RXRDY ) == TMS570_SCI_FLR_RXRDY ) { char buf[1]; buf[0] = ctx->regs->RD; rtems_termios_enqueue_raw_characters(tty, buf, 1); } embedded brains GmbH & Co. KG Herr Sebastian HUBER Dornierstr. 4 82

[PATCH v2 3/5] base64: Add decoder

2024-01-25 Thread Sebastian Huber
From: Matthew Joyce --- cpukit/base64/base64-decode.c | 165 cpukit/include/rtems/base64.h | 63 ++ spec/build/cpukit/librtemscpu.yml | 1 + .../build/testsuites/unit/unit-no-clock-0.yml | 1 +

[PATCH v2 0/5] libtest: Add packet processor

2024-01-25 Thread Sebastian Huber
(, 0, NULL, output_char, clock_monotonic); T_packet_event_control event; T_packet_prepend_event_handler(, , event_handler); while (true) { T_packet_process(, getchark()); } } v2: Move things around. Matthew Joyce (1): base64: Add decoder Sebastian Huber (4): base64: Move base

[PATCH v2 4/5] crc: Add a CRC-24Q implementation

2024-01-25 Thread Sebastian Huber
--- cpukit/crc/crc24q.c | 148 ++ cpukit/include/rtems/crc.h| 106 + spec/build/cpukit/librtemscpu.yml | 2 + .../build/testsuites/unit/unit-no-clock-0.yml | 2 + testsuites/unit/tc-crc.c

[PATCH v2 5/5] libtest: Add packet processor

2024-01-25 Thread Sebastian Huber
The RTEMS Test Framework packet processor provides a simple mechanism to exchange reliable and in-order data through transmitting and receiving one character at a time. The packet processor does not buffer data. The processor uses a stop-and-wait automatic repeat request method. There is at most

[PATCH v2 1/5] base64: Move base64 encoding support

2024-01-25 Thread Sebastian Huber
--- .../iobase64.c => base64/base64-encode.c} | 48 +++ cpukit/include/rtems/base64.h | 125 ++ cpukit/include/rtems/dev/io.h | 62 - cpukit/libtest/gcovdumpinfobase64.c | 6 +- cpukit/libtest/t-test-hash-sha256.c

[PATCH v2 2/5] base64: Make base64 encoding tables public

2024-01-25 Thread Sebastian Huber
This makes them reusable. Change the character type to uint8_t. --- cpukit/base64/base64-encode.c | 24 +--- cpukit/include/rtems/base64.h | 10 ++ 2 files changed, 27 insertions(+), 7 deletions(-) diff --git a/cpukit/base64/base64-encode.c

Re: [PATCH v2] cpukit/cache: Report coherent add area failures

2024-01-25 Thread Sebastian Huber
; Co. KG 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 Dör

Re: [PATCH rtems-central] spec/cache/coherent: Add return value for add area

2024-01-25 Thread Sebastian Huber
: interface -- embedded brains GmbH & Co. KG 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 Vertretungsberecht

Re: [PATCH] cpukit/cache: Report coherent add area failures

2024-01-25 Thread Sebastian Huber
On 24.01.24 18:19, Kinsey Moore wrote: -static void add_area( +static int add_area( void *area_begin, uintptr_t area_size ) If you return a status code here, you can directly return it in rtems_cache_coherent_add_area(). -- embedded brains GmbH & Co. KG Herr Sebastian H

Re: [RTEMS Tools 0/1] trace/wscript: Improve C++ standard selection

2024-01-24 Thread Sebastian Huber
- Am 24. Jan 2024 um 0:55 schrieb Chris Johns chr...@rtems.org: > On 23/1/2024 5:55 pm, Sebastian Huber wrote: >> - Am 22. Jan 2024 um 22:56 schrieb Chris Johns chr...@rtems.org: [...] >> The usage of LLVM for the RTEMS Tools is optional. You can build them without &

Re: [RTEMS Tools 0/1] trace/wscript: Improve C++ standard selection

2024-01-22 Thread Sebastian Huber
- Am 22. Jan 2024 um 22:56 schrieb Chris Johns chr...@rtems.org: > On 22/1/2024 6:18 pm, Sebastian Huber wrote: >> On 22.01.24 00:47, Chris Johns wrote: >>> On 22/1/2024 3:42 am, Sebastian Huber wrote: >>>> Does XCode ship a Symbolize.h and llvm-config?

Re: Convert test executables to bootloader images?

2024-01-22 Thread Sebastian Huber
- Am 22. Jan 2024 um 0:22 schrieb Chris Johns chr...@rtems.org: > On 17/1/2024 11:39 pm, Sebastian Huber wrote: >> Hello, >> >> attached is a proof of concept. Using a ./waf bootimages command didn't work >> since you don't have a build context in this

Re: [PATCH] bsps/clock: Fix fast idle mode

2024-01-22 Thread Sebastian Huber
- Am 22. Jan 2024 um 17:52 schrieb Gedare Bloom ged...@rtems.org: > On Tue, Jan 16, 2024 at 8:44 AM Sebastian Huber > wrote: >> >> Switch back to the idle thread if no watchdogs are active. In some tests, >> the >> idle thread may do some non-blocking work. &g

Re: [PATCH 3/4] dev/io: Add a CRC-24Q implementation

2024-01-22 Thread Sebastian Huber
something to do with input/output which is related to devices. So, the place is not completely wrong. Anyway I am happy to move it a third time, but then it would be great if you could suggest a concrete place and naming. -- embedded brains GmbH & Co. KG Herr Sebastian HUBER Dornierstr.

Re: [RTEMS Tools 0/1] trace/wscript: Improve C++ standard selection

2024-01-21 Thread Sebastian Huber
On 22.01.24 00:47, Chris Johns wrote: On 22/1/2024 3:42 am, Sebastian Huber wrote: Does XCode ship a Symbolize.h and llvm-config? No ... % uname -a Darwin weka.contemporary.net.au 23.2.0 Darwin Kernel Version 23.2.0: Wed Nov 15 21:55:06 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T6020

Re: [RTEMS Tools 0/1] trace/wscript: Improve C++ standard selection

2024-01-21 Thread Sebastian Huber
On 20.01.24 16:25, Sebastian Huber wrote: On 19.01.24 10:13, Sebastian Huber wrote: On 19.01.24 09:09, Cedric Berger wrote: On 19.01.2024 08:55, Sebastian Huber wrote: On 19.01.24 07:58, Sebastian Huber wrote: This patch fixes bugs #4908 and #4965 which were reported by RTMES users

[RTEMS Tools] config: Update BSPs

2024-01-20 Thread Sebastian Huber
Update #4982. --- config/rtems-bsps-arm.ini | 4 ++-- config/rtems-bsps-tiers.ini | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/config/rtems-bsps-arm.ini b/config/rtems-bsps-arm.ini index 1d38f1a..571fae9 100644 --- a/config/rtems-bsps-arm.ini +++

Re: Latest toolchain throws error when including newlib's regex.h

2024-01-20 Thread Sebastian Huber
int); ? I would appreciate any insights or guidance you could provide on this matter. I would look at the pre-processed file (for example using -save-temps=obj). Then I would send a patch fixing the issue to the Newlib mailing list. -- embedded brains GmbH & Co. KG Herr Sebastian HUBER

Re: [RTEMS Tools 0/1] trace/wscript: Improve C++ standard selection

2024-01-20 Thread Sebastian Huber
On 19.01.24 10:13, Sebastian Huber wrote: On 19.01.24 09:09, Cedric Berger wrote: On 19.01.2024 08:55, Sebastian Huber wrote: On 19.01.24 07:58, Sebastian Huber wrote: This patch fixes bugs #4908 and #4965 which were reported by RTMES users.  The patch is from 19 May 2023 and was blocked

Re: [RTEMS Tools 0/1] trace/wscript: Improve C++ standard selection

2024-01-19 Thread Sebastian Huber
On 19.01.24 09:09, Cedric Berger wrote: On 19.01.2024 08:55, Sebastian Huber wrote: On 19.01.24 07:58, Sebastian Huber wrote: This patch fixes bugs #4908 and #4965 which were reported by RTMES users.  The patch is from 19 May 2023 and was blocked due to missing tests on macOS.  I have

Re: [RTEMS Tools 0/1] trace/wscript: Improve C++ standard selection

2024-01-18 Thread Sebastian Huber
On 19.01.24 07:58, Sebastian Huber wrote: This patch fixes bugs #4908 and #4965 which were reported by RTMES users. The patch is from 19 May 2023 and was blocked due to missing tests on macOS. I have no macOS system for tests. Would someone mind testing this patch? It would be nice to build

[RTEMS Tools 1/1] trace/wscript: Improve C++ standard selection

2024-01-18 Thread Sebastian Huber
Use the latest C++ standard available up to C++20. Close #4908. Close #4965. --- trace/wscript | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/trace/wscript b/trace/wscript index 0c0e4b4..b632291 100644 --- a/trace/wscript +++ b/trace/wscript @@ -45,7

[RTEMS Tools 0/1] trace/wscript: Improve C++ standard selection

2024-01-18 Thread Sebastian Huber
with a standard LLVM package. Sebastian Huber (1): trace/wscript: Improve C++ standard selection trace/wscript | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) -- 2.35.3 ___ devel mailing list devel@rtems.org http

Re: [PATCH v2] cpukit/score: Avoid overflow in multiplication

2024-01-17 Thread Sebastian Huber
On 17.01.24 15:31, Kinsey Moore wrote: Change extend_count to uint32_t from uint16_t to avoid a possible premature integer overflow when it is later used for multiplication. Thanks, looks good. -- embedded brains GmbH & Co. KG Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany e

Re: Convert test executables to bootloader images?

2024-01-17 Thread Sebastian Huber
, then a BSP-specific method is used to build a boot image. This method is optional. BSPs can provide it through a new build item with type "mkimage", see the powerpc/qoriq example of the attached patches. -- embedded brains GmbH & Co. KG Herr Sebastian HUBER Dornierstr. 4 82178 Pu

[PATCH] build: Fix script action

2024-01-17 Thread Sebastian Huber
We have to use a custom dictorary to be able to set the "value" argument in the exec() context. --- wscript | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/wscript b/wscript index a71e0d3f10..6c81083b2c 100755 --- a/wscript +++ b/wscript @@ -1026,8 +1026,14 @@ class

Convert test executables to bootloader images?

2024-01-16 Thread Sebastian Huber
: ./waf bootimages It would invoke the BSP-provided script for all test executables. -- embedded brains GmbH & Co. KG 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 Registerger

Re: [PATCH] cpukit/score: Avoid overflow in multiplication

2024-01-16 Thread Sebastian Huber
y keep the expression as is and change extend_count to: uint32_t extend_count; -- embedded brains GmbH & Co. KG 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: Amtsgeric

Re: [PATCH] LEON3: Update power-down function

2024-01-16 Thread Sebastian Huber
nop -- embedded brains GmbH & Co. KG 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 Vertretungsberecht

Re: [PATCH 0/5] Update GRLIB L2C driver for technical note TN-0021

2024-01-16 Thread Sebastian Huber
ith helper functions grlib/l2c: Write to flush registers using atomic instructions grlib/l2c: Prevent concurrent register access bsps/shared/grlib/l2c/l2c.c | 267 ++-- 1 file changed, 166 insertions(+), 101 deletions(-) -- embedded brains GmbH & Co. KG Herr S

[PATCH] bsps/clock: Fix fast idle mode

2024-01-16 Thread Sebastian Huber
Switch back to the idle thread if no watchdogs are active. In some tests, the idle thread may do some non-blocking work. --- bsps/shared/dev/clock/clockimpl.h | 16 1 file changed, 16 insertions(+) diff --git a/bsps/shared/dev/clock/clockimpl.h

Re: Fwd: [RTEMS Project] #60: GNATS: Additional state

2024-01-15 Thread Sebastian Huber
On 15.01.24 17:38, Joel Sherrill wrote: Looks like one of the commits has the wrong ticket number. It seems everything which matches with #[0-9]+ is associated with a ticket, here it was the subject: bsp/tms570: TMS570LC4x Errata DEVICE#60 -- embedded brains GmbH & Co. KG Herr Sebas

[RTEMS Tools] linkers: Use push/pop section

2024-01-15 Thread Sebastian Huber
Restore the previous section, otherwise the generated code may end up in a wrong section. --- linkers/rtems-syms.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/linkers/rtems-syms.cpp b/linkers/rtems-syms.cpp index 699c014..ecdcd15 100644 --- a/linkers/rtems-syms.cpp +++

[PATCH 3/4] dev/io: Add a CRC-24Q implementation

2024-01-15 Thread Sebastian Huber
--- cpukit/dev/iocrc24q.c | 148 ++ cpukit/include/rtems/dev/io.h | 41 + spec/build/cpukit/librtemscpu.yml | 1 + .../build/testsuites/unit/unit-no-clock-0.yml | 2 + testsuites/unit/tc-io-packet.c| 42

[PATCH 2/4] dev/io: Add base64 decoder

2024-01-15 Thread Sebastian Huber
From: Matthew Joyce --- cpukit/dev/iobase64decode.c | 166 cpukit/include/rtems/dev/io.h | 63 ++ spec/build/cpukit/librtemscpu.yml | 1 + .../build/testsuites/unit/unit-no-clock-0.yml | 1 +

[PATCH 4/4] dev/io: Add packet processor

2024-01-15 Thread Sebastian Huber
The I/O packet processor provides a simple mechanism to exchange reliable and in-order data through transmitting and receiving one character at a time. The I/O packet processor does not buffer data. The processor uses a stop-and-wait automatic repeat request method. There is at most one packet

[PATCH 1/4] dev/io: Make base64 encoding tables public

2024-01-15 Thread Sebastian Huber
This makes them reusable. Change the character type to uint8_t. --- cpukit/dev/iobase64.c | 24 +--- cpukit/include/rtems/dev/io.h | 10 ++ 2 files changed, 27 insertions(+), 7 deletions(-) diff --git a/cpukit/dev/iobase64.c b/cpukit/dev/iobase64.c index

[PATCH 0/4] dev/io: Add packet processor

2024-01-15 Thread Sebastian Huber
NULL, output_char, clock_monotonic ); _IO_Packet_prepend_event_handler( , , event_handler ); while ( true ) { _IO_Packet_process( , getchark() ); } } Matthew Joyce (1): dev/io: Add base64 decoder Sebastian Huber (3): dev/io: Make base64 encoding tables public dev/io:

Re: [PATCH 00/47] Add TMS570LC4357 support

2024-01-15 Thread Sebastian Huber
sequence. -- embedded brains GmbH & Co. KG 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 Vertretungsberecht

[PATCH 5/8] tmtimer01: Convert to JSON data

2024-01-09 Thread Sebastian Huber
This avoids a dependency on the non-standard libxml2 module. --- testsuites/tmtests/tmfine01/init.c | 30 +- testsuites/tmtests/tmtimer01/init.c| 35 +- testsuites/tmtests/tmtimer01/plot.py | 52 +-- testsuites/tmtests/tmtimer01/tmtimer01.scn | 389 +

[PATCH 8/8] smpopenmp01: Convert to JSON data

2024-01-09 Thread Sebastian Huber
This avoids a dependency on the non-standard libxml2 module. --- testsuites/smptests/smpopenmp01/init.c| 36 +++-- .../smptests/smpopenmp01/smpopenmp01.py | 71 + .../smptests/smpopenmp01/smpopenmp01.scn | 137 -- 3 files changed, 118 insertions(+),

[PATCH 3/8] tmcontext01: Convert to JSON data

2024-01-09 Thread Sebastian Huber
This avoids a dependency on the non-standard libxml2 module. --- testsuites/tmtests/tmcontext01/init.c | 46 ++- testsuites/tmtests/tmcontext01/plot.py| 73 ++-- .../tmtests/tmcontext01/tmcontext01.scn | 379 ++ 3 files changed, 181 insertions(+), 317

[PATCH 6/8] sptimecounter02: Convert to JSON data

2024-01-09 Thread Sebastian Huber
This avoids a dependency on the non-standard libxml2 module. --- testsuites/sptests/sptimecounter02/init.c | 78 +- .../sptimecounter02/sptimecounter02.py| 70 +- .../sptimecounter02/sptimecounter02.scn | 1036 + 3 files changed, 120 insertions(+), 1064

[PATCH 0/8] Use JSON instead of XML for test output

2024-01-09 Thread Sebastian Huber
This avoids a dependency on the non-standard Python libxml2 module. Sebastian Huber (8): tmcontext01: Prevent optimizations tmcontext01: Improve timing measuremnts for sparc tmcontext01: Convert to JSON data tmfine01: Convert to JSON data tmtimer01: Convert to JSON data

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