Re: disable DCache on RTEMS SMP

2024-04-19 Thread Sebastian Huber
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örfler Un

Re: multiple definition of `_Semaphore_Wait', multiple definition of `_Semaphore_Post' , undefined reference to `__dso_handle'

2024-03-20 Thread Sebastian Huber
is probably missing. -- 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: “AW:” ?

2024-01-31 Thread Sebastian Huber
by some super smart software from Redmond. -- 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: RTEMS 5.0.0 GR712RC SMP Occasional Dropped Messages

2024-01-22 Thread Sebastian Huber
(RTEMS 6). We spent a lot of time and effort into maturing the SMP support in particular for the GR712RC over the last years. This all went into RTMES 6 and not RTEMS 5. Kind regards, Sebastian -- embedded brains GmbH & Co. KG Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany e

Re: rtems6 master on darwin-x86_64 fails building: arm-rtems6-gcc-814ec21-newlib-fbc5496-x86_64-apple-darwin22.6.0-1

2023-10-18 Thread Sebastian Huber
See <https://gcc.gnu.org/bugs/> for instructions. So, GCC 10, 12, and 13 don't work on this macOS version. I updated the RTEMS 7 tools (GCC 14) right now, maybe this works: ../source-builder/sb-set-builder --prefix=${RTEMS_ROOT} 7/rtems-arm -- embedded brains GmbH Herr Sebastian HUBER Dor

Re: rtems6 master on darwin-x86_64 fails building: arm-rtems6-gcc-814ec21-newlib-fbc5496-x86_64-apple-darwin22.6.0-1

2023-10-18 Thread Sebastian Huber
Ok, great. At least it is consistent. Maybe GCC 10 works. This bug should be reported to the GCC project. -- 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 Regist

Re: rtems6 master on darwin-x86_64 fails building: arm-rtems6-gcc-814ec21-newlib-fbc5496-x86_64-apple-darwin22.6.0-1

2023-10-18 Thread Sebastian Huber
| if (FABS (d) >= RBIG) | ^~ Please submit a full bug report, with preprocessed source (by using -freport-bug). See <https://gcc.gnu.org/bugs/> for instructions. make[4]: *** [_divdc3.o] Error 1 Heinz On 18. Oct 2023, at 07:39, Sebastian Huber wrote: On 17.10.23 21:52, Hei

Re: rtems6 master on darwin-x86_64 fails building: arm-rtems6-gcc-814ec21-newlib-fbc5496-x86_64-apple-darwin22.6.0-1

2023-10-17 Thread Sebastian Huber
063 | if (FABS (d) >= RBIG) | ^~ Please submit a full bug report, with preprocessed source (by using -freport-bug). Does it work with this RSB: commit a536dfe98585b648de0c8f49321d057675993153 Author: Sebastian Huber Date: Mon Oct 9 07:43:43 2023 +0200 6/7: Update Newlib Pick up latest c

Re: Windows 11 - Compiling toolchain (5.3 and 6)

2023-10-12 Thread Sebastian Huber
Hello Chris, some of our customers use WSL2 with Ubuntu, they reported no issues with the RSB build of RTEMS 6. If you want to build mingw tools, then I would build them on Linux with a mingw cross compiler. Kind regards, Sebastian -- embedded brains GmbH Herr Sebastian HUBER

Re: arm bsps: changing the float-abi to softfp

2023-04-04 Thread Sebastian Huber
context during context switches and interrupt processing. If you really need such a multilib, then you can patch gcc/config/arm/t-rtems. I don't know if you can add custom patches to the RTEMS Source Builder. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email

Re: Issue with read() and flush()

2023-03-02 Thread Sebastian Huber
ock_release (ctx, _context); } If the characters are still in the UART FIFO, then they are not flushed. This could be fixed by calling the device ioctl handler in this function and additional device-specific handling. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim

Re: Determining resource usage for BSP drivers

2023-02-10 Thread Sebastian Huber
On 10.02.23 14:53, jan.som...@dlr.de wrote: -Original Message- From: users On Behalf Of Sebastian Huber Sent: Freitag, 10. Februar 2023 14:23 To:martinerikwerner@gmail.com;users@rtems.org Subject: Re: Determining resource usage for BSP drivers On 10.02.23 14:19,martinerikwerner

Re: Determining resource usage for BSP drivers

2023-02-10 Thread Sebastian Huber
an issue? Yes, it is quite difficult to do the resource accounting for the Classic API objects. We rewrote a lot of drivers to use the self-contained synchronization objects: https://docs.rtems.org/branches/master/c-user/self_contained_objects.html -- embedded brains GmbH Herr Sebastian HUBER

Re: RTEMS5 and network statistics

2023-01-12 Thread Sebastian Huber
old network stack (it is included in RTEMS 5, in RTEMS 6 it was moved to a separate repository), the network statistics are BSP-specific. In the new network stack (libbsd), the statistics have a standard interface. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germ

Re: Running two RTEMS instances on two RISC-V harts

2022-10-24 Thread Sebastian Huber
instances without synchronization. -- 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

Re: RTEMS5 and file descriptors

2022-10-17 Thread Sebastian Huber
implementation doesn't notify when a TCP connection is closed by reset.  I think this is a lack of NOTE_EOF *. Thanks. I cannot find a ticket for this? Do you know if one has been created? This looks like a general FreeBSD limitation. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim

Re: Is most drivers interfaces should be driver or application specific?

2022-09-16 Thread Sebastian Huber
the IO Manager for new drivers. It would introduced overheads and leads to difficult to use interfaces (ioctl). -- 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: Is rtems interrupt latency good enough for BLDC ESC? (on arm cortex-M or cortex-R)

2022-09-05 Thread Sebastian Huber
er priority half can be used for such "zero-latency interrupts". For ARMv7-AR, the FIQ can be used. -- 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: Unknown task ID "Hefg" seen in thread_switch hook

2022-08-29 Thread Sebastian Huber
the other members to figure out which task it is. My only theory at the moment is that a wild pointer messed with the thread object. I would set a write break point to the name member in the thread control block to figure out the origin of this name. -- embedded brains GmbH Herr Sebastian

Re: Want to add RISC-V-based PolarFire SoC support to RTEMS

2022-08-29 Thread Sebastian Huber
be the first CPU option in RTEMS with BSP-dependent default values. -- 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 Regis

Re: How can I add LDFLAGS for bsp build?

2022-07-25 Thread Sebastian Huber
is added by the -qrtems option for GCC. -- 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

Re: How can I add LDFLAGS for bsp build?

2022-07-25 Thread Sebastian Huber
are configured specifically for RTEMS in GCC and based on the set of supported BSPs. -- 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

Re: How can I add LDFLAGS for bsp build?

2022-07-25 Thread Sebastian Huber
with the search order of the libraries. The -lrtemsbsp is implicitly given by the --specs bsp_specs. You can try this: -lrtemsbsp -lm Alternatively, avoid the use of floating point operations and the floor() function. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim

Re: Failed to build rtems 5.1 by rsb under debian 11 with LLVM DebugInfo enabled

2022-07-03 Thread Sebastian Huber
is not included in the RTEMS 5.1 release. It will be included in the 5.2 release. -- 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

Re: Failed to build rtems 5.1 by rsb under debian 11 with LLVM DebugInfo enabled

2022-07-01 Thread Sebastian Huber
it with gcc or clang? -- 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

Re: Failed to build rtems 5.1 by rsb under debian 11 with LLVM DebugInfo enabled

2022-07-01 Thread Sebastian Huber
provided header files? -- 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

Re: Building newly for 6/rtems-arm blows on compiling iOS_failure.cc

2022-05-25 Thread Sebastian Huber
the ctype_inline.h file in your build tree? Does it work if you run make in the existing build tree? -- 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

Re: Try to load and run RTEMS Image on Cora-z7-10

2022-05-03 Thread Sebastian Huber
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 Dörfler

Re: RTEMS5 for arm on macOS 12.3. Or how Apple blew up RTEMS.

2022-03-29 Thread Sebastian Huber
for RSB for RTEMS 5: https://git.rtems.org/rtems-source-builder/commit/?id=571a182d4aa3be967791c8c715cedbd2a88b3b91 -- 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: Split BSP in RTEMS 4.11 - autotools newbie question

2022-03-14 Thread Sebastian Huber
n two GIT branches and maybe colleagues will fix it some day :) I would also recommend you try it with RTEMS 6 which uses a new build system. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de phone: +49-89-18 94 741 - 16

Re: Sparc-rtems5

2022-02-16 Thread Sebastian Huber
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örfler Unsere

Re: Barrier Manager cross-node behaviour

2022-01-28 Thread Sebastian Huber
which has a very specific meaning in RTEMS (also "local" and "global"). We already have a ticket for this: https://devel.rtems.org/ticket/4453 -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de phone: +4

Re: mvme2500 PCIe support

2021-11-17 Thread Sebastian Huber
On 17/11/2021 15:50, Brendan Chandler wrote: Hi Sebastian, On 11/12/21 8:03 AM, Sebastian Huber wrote: I tried to port the FreeBSD PCI bus driver for this platform to RTEMS, but it had not enough time to finish it in my given time budget. So the status is: 1. PCIe works in general

Re: mvme2500 PCIe support

2021-11-12 Thread Sebastian Huber
the FreeBSD PCI bus driver for this platform to RTEMS, but it had not enough time to finish it in my given time budget. So the status is: 1. PCIe works in general on this platform. 2. An open PCI bus driver is missing. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany

Re: Caching build objects: Waf and ccache

2021-10-05 Thread Sebastian Huber
/ita1024/waf/blob/master/waflib/extras/wafcache.py I don't know if this works with RTEMS. Do you want to use this for the RTEMS build? I am not sure if it is worth the trouble since RTEMS builds in a couple of seconds. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany

Re: Static allocation

2021-09-28 Thread Sebastian Huber
On 28/09/2021 21:39, Joel Sherrill wrote: Sebastian is there any guidance in the Classic API or Users Guide about static systems? Not yet, but it is on my TODO list. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de

Re: [EXTERNAL] rtems_semaphore routines on SMP systems

2021-09-28 Thread Sebastian Huber
routine we need AFAIK. The RTEMS_SIMPLE_BINARY_SEMAPHORE semaphores can be used from within interrupt context. An alternative are: https://docs.rtems.org/branches/master/c-user/self_contained_objects.html#binary-semaphores -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim

Re: [EXTERNAL] rtems_semaphore routines on SMP systems

2021-09-28 Thread Sebastian Huber
osdMutex.c This is a priority inheritance mutex which must be used by threads only. Using it from within interrupt context will not work. -- 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 9

Re: Statically allocated build

2021-09-28 Thread Sebastian Huber
ine CONFIGURE_APPLICATION_DISABLE_FILESYSTEM #define CONFIGURE_INIT_TASK_CONSTRUCT_STORAGE_SIZE XYZ -- 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: Amtsgeri

Re: [EXTERNAL] rtems_semaphore routines on SMP systems

2021-09-28 Thread Sebastian Huber
. Which RTEMS semaphore classes do you use in EPICS and in particular which classes do you use in interrupt context? -- 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: Statically allocated build

2021-09-27 Thread Sebastian Huber
that `__usrenv.c` has been compiled into my application. I don't understand how to disable it. I would look at the linker map file. You probably use a file system. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de phone: +49

Re: [EXTERNAL] Re: rtems_semaphore routines on SMP systems

2021-09-27 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: rtems_semaphore routines on SMP systems

2021-09-27 Thread Sebastian Huber
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: 【About rtems condition variable signal intf】

2021-07-01 Thread Sebastian Huber
://git.rtems.org/rtems/commit/?id=737e18dbca03c086601dfbe7f90ae143bc34f964 If you are interested, you could add a test case for this to: https://git.rtems.org/rtems/tree/testsuites/sptests/spthread01/init.c?id=737e18dbca03c086601dfbe7f90ae143bc34f964 -- embedded brains GmbH Herr Sebastian HUBER Dornierstr

Re: Heap allocation for libbsd overwrites IMFS

2021-06-23 Thread Sebastian Huber
which were not related to our problem. I could post the points where this happened, but I don't know enough about the internals to fix them. It is likely that the failed asserts are actually bugs. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu

Re: Heap allocation for libbsd overwrites IMFS

2021-06-23 Thread Sebastian Huber
help. No, it would not help. -- 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

Re: About kernel function _CPU_Counter_difference overflow issue

2021-06-18 Thread Sebastian Huber
there should be no issue unless you want to measure intervals geater than the maximum of this integer type. -- 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: Timeslice issues with preemption enabled

2021-06-10 Thread Sebastian Huber
timestamps would allow a much finer grained timeslicing. This could be added if someone is interested in a small project. -- 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: GSoC Introduction

2021-05-18 Thread Sebastian Huber
Hello Ida, welcome on board. I am really looking forward to having an automatic code formatter in place which runs before patches are reviewed. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de phone: +49-89-18 94 741

Re: Can printf() be made SMP safe?

2021-05-13 Thread Sebastian Huber
or in usleep(). This function uses a global object: _Nanosleep_Pseudo_queue. I would check the state of this object during crash. -- 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-1

Re: Can printf() be made SMP safe?

2021-05-02 Thread Sebastian Huber
and the RTEMS internal debugging support (RTEMS_DEBUG = True or --enable-rtems-debug). -- 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

Re: Announce: RTEMS 5.1 Release

2021-04-29 Thread Sebastian Huber
Hello Pierre, On 25/04/2021 16:31, Pierre FICHEUX wrote: Is Raspberry Pi 1 B+ BSP OK for RTEMS 5.1 ? maybe this BSP is affected by this bug: https://devel.rtems.org/ticket/4394 -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded

Re: libbsd: React to link status change events

2021-04-29 Thread Sebastian Huber
at the dhcpcd code to figure out how this works. I think a routing socket can be used to get these events. -- 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

Re: Can not build rtems-examples for sparc/erc32

2021-04-09 Thread Sebastian Huber
On 09/04/2021 09:20, junkes wrote: can not build examples (https://github.com/RTEMS/rtems-examples.git) for sparc/erc32. Seems to related to missing run time linker lib. I updated the RSB. I hope it is fixed now. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim

Re: RTEMS only executes no task and only finds one core imx7

2021-03-22 Thread Sebastian Huber
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 Dörfler

Re: rtems-record-lttng: Corrupted timestamps after translating to CTF

2021-03-18 Thread Sebastian Huber
RISC-V clock driver uses only the boot processor is a known limitation and you see this in the smpclock01 test failure. I would fix the clock driver and use an approach similar to the Arm Generic Timer clock driver. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim

Re: rtems-record-lttng: Corrupted timestamps after translating to CTF

2021-03-05 Thread Sebastian Huber
items? There could be also some bugs in record-client.c. More unit tests for it would be helpful. -- 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: Amtsg

Re: SPI Driver Implementation

2021-02-10 Thread Sebastian Huber
o/i2c.html -- 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

Re: GCC 11 and Static Analysis

2021-01-29 Thread Sebastian Huber
C2z%2F89gRLH6IrHg17EJmUI%3D=0> Would seem very useful for embedded projects where runtime analysis is difficult. Yes, you can give it a try. I never used it myself. The Coverity scan alone keeps me busy. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebast

Re: Using LwIP on the STM32H7

2021-01-29 Thread Sebastian Huber
need some sort of device memory (uncached). -- 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

Re: Using LwIP on the STM32H7

2021-01-28 Thread Sebastian Huber
) But in the debugger, the descriptor entries are still zeroed out unfortunately.. If you place them in BSP_NOCACHENOLOAD_SECTION or BSP_NOCACHENOLOAD_SUBSECTION(), they are not loaded (zero initialized). -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu

Re: Using LwIP on the STM32H7

2021-01-28 Thread Sebastian Huber
ion(".RxArraySection"))); /* Ethernet Receive Buffers */ The BSP has a nocache section, see bsps/arm/include/bsp/linker-symbols.h -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de phone: +49-89-18 94 741 - 1

Re: Delay until in Ada seems not to work

2021-01-27 Thread Sebastian Huber
FentISS. The hardware is the zynq7000. Then I suggest you try to reproduce the issue first using a RTEMS version distributed by the RTEMS Project. We have a Qemu BSP for this platform. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.

Re: Delay until in Ada seems not to work

2021-01-27 Thread Sebastian Huber
.c#L39>. I've also set it with status = rtems_clock_set( ) , but the behaviour does not change. On which BSP and hardware did you try this out? -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de phone: +49-89-18 94 741

Re: problem while trying converting c program from rtems4 to rtems5

2021-01-03 Thread Sebastian Huber
the application. There is a new configuration option https://docs.rtems.org/branches/master/c-user/config/general.html#configure-verbose-system-initialization which may help to debug system initialization issues. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany

Re: How to program fine-grained real-time concurrent applications in C or Ada

2020-12-31 Thread Sebastian Huber
_task_wake_when() uses _Thread_Timer_insert_realtime() which uses a time with a nanoseconds resolution. It would be easy to change the implementation of rtems_task_wake_when() to use the clock driver ticks. As already mentioned, the clock_nanosleep() provides this functionality already. -- embedded brains Gmb

Re: mDNS DNS-SD ZeroConf in RTEMS 5 ?

2020-12-02 Thread Sebastian Huber
and foobarserver. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hub...@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

Re: Can't submit patch

2020-11-26 Thread Sebastian Huber
? The config.ini is only read by the "./waf configure" command. This command generates the header files. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hub...@embedded-brains.de phone: +49-89-18 94 741 - 16 fax: +49-89-18 94 741 - 08 Regis

Re: How to run RISC-V test applications using qemu?

2020-11-25 Thread Sebastian Huber
nd convert it to a plain text file. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hub...@embedded-brains.de phone: +49-89-18 94 741 - 16 fax: +49-89-18 94 741 - 08 Registergericht: Amtsgericht München Registernummer: HRB 157899 Vertretungsb

Re: Acessing PL devices of Xilinx Zedboard

2020-11-23 Thread Sebastian Huber
e small pages for a specialized heap protection. -- embedded brains GmbH 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 PGP: Public key available on request. embedded brains GmbH Regis

Re: Acessing PL devices of Xilinx Zedboard

2020-11-18 Thread Sebastian Huber
to support 4kB pages, but I don't know if the entry point arm_cp15_start_setup_translation_table_and_enable_mmu_and_cache currently uses that support or not. the 4KiB pages MMU configuration was added with this commit: commit f9648baf65ecec2cd01c96557a677ad6ecc06b11 Author: Sebastian Huber Date

Re: libbsd select timeout issue(critial!!)

2020-11-16 Thread Sebastian Huber
ticket. To fix the issue we have to change the conversion of the absolute timeout value so that error doesn't grow over time. -- embedded brains GmbH 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: libbsd select timeout issue(critial!!)

2020-11-10 Thread Sebastian Huber
could create a patch which fixes the bug. -- embedded brains GmbH 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 PGP: Public key available on request. embedded brains GmbH Registergericht

Re: When to register termios devices?

2020-11-04 Thread Sebastian Huber
are registered. They are also registered, when the application doesn't need them. So, doing a driver registration in the application configuration is not that bad. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189

Re: does anybody generate a core dump in rtems?

2020-10-20 Thread Sebastian Huber
Hello, On 20/10/2020 04:56, small...@aliyun.com wrote: hi, all When my application running in rtems encounters a fatal error, I want to let the whole system to generate a core file. After that I can use gdb to debug the core file to find the reason. However, there is no information about this

Important notice for all users of Cortex-A9 based BSPs

2020-10-15 Thread Sebastian Huber
in Errata 845369 can lead to data corruption and we noticed system crashes due to it which are hard to debug. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@embedded

Is -malign-int a usual m68k/ColdFire option?

2020-10-02 Thread Sebastian Huber
Hello, a test suite failure surfaced that we may have an issue with the alignment of basic data structures on ColdFire targets: https://devel.rtems.org/ticket/4013 The chips usually have at least a 32-bit data system bus. I am not sure why RTEMS didn't use the -malign-int for the ColdFire

Re: STM32H7 startup test in RTEMS 4-11.3

2020-09-16 Thread Sebastian Huber
Hello Catalin, I added a BSP for the STM32H7 earlier this year: https://git.rtems.org/sebh/rtems.git/log/?h=stm32h7 It is not yet included in the RTEMS Project since it used the new build system. ___ users mailing list users@rtems.org

Re: Fatal source exception in loopback sample on powerpc/qoriq_e6500_64

2020-09-14 Thread Sebastian Huber
Hello Steven, On 14/09/2020 19:11, Clukey (US), Steven A wrote: I am attempting to run the `loopback.exe` sample application provided with RTEMS on the PowerPC qoriq_e6500_64 BSP, but unfortunately it is crashing. the old network stack doesn't work on 64-bit targets. For this BSP, use the

Re: RTEMS 4.10 i386 undefined reference to `rtems_bdbuf_configuration'

2020-09-07 Thread Sebastian Huber
On 07/09/2020 19:14, Heinz Junkes wrote: rtems 4.10 —with-network —with-posix Unfortunately I cannot resolve a reference:

Re: handle Fatal exception

2020-08-31 Thread Sebastian Huber
On 31/08/2020 19:06, Ярослав Лещинский wrote: sometimes I'm getting FATAL, like: *** FATAL *** fatal source: 9 (RTEMS_FATAL_SOURCE_EXCEPTION) is it possible to handle this exception, e.g. restart the whole system? Yes, some BSPs do this by default in their fatal error extension. You can

Re: RTEMS on Aurix/TriCore

2020-07-28 Thread Sebastian Huber
Hello Felix, On 28/07/2020 10:50, Knopp, Felix Ulrich wrote: Hello, The company I work for is currently using AURIX/TriCore micro-controllers running PXROS as real time operating system. I am now investigating if we could use a free alternative like RTEMS instead. However, from what i've

Re: How do you plan before starting to code ?

2020-07-09 Thread Sebastian Huber
for these operations in some sort of pseudo code. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@embedded-brains.de PGP : Public key available on request. Diese Nachricht ist

Re: Where to define CPU_SIMPLE_VECTORED_INTERRUPTS for RISC-V?

2020-06-02 Thread Sebastian Huber
On 02/06/2020 10:06, Schweikhardt, Jens (TSPCE3-TL4) wrote: we are using a customized RV32IMAF CPU with RTEMS and need to handle interrupts. I'm new to configuring low level things such as this and need a bit of guidance where goes what. I build using the RTEMS source builder. It appears that

Re: Question about rtems_cpu_usage_report

2020-04-27 Thread Sebastian Huber
On 27/04/2020 14:49, Joel Sherrill wrote: On Mon, Apr 27, 2020 at 1:10 AM Sebastian Huber <mailto:sebastian.hu...@embedded-brains.de>> wrote: Hello Carmen, On 24/04/2020 10:10, Carmen Pastor wrote: > Hi All, > > I've a question for RTEMS 4.10. I'm

Re: Question about rtems_cpu_usage_report

2020-04-27 Thread Sebastian Huber
Hello Carmen, On 24/04/2020 10:10, Carmen Pastor wrote: Hi All, I've a question for RTEMS 4.10. I'm using the function rtems_cpu_usage_report() to get the CPU usage, and it is working well but now I need to process the data of the output report, so I would like to get the report data in some

Migration Guide for RTEMS 4.11 to 5

2020-04-15 Thread Sebastian Huber
Hello, we started with a migration guide from RTEMS 4.11 (or other versions of course) to 5: https://docs.rtems.org/branches/master/user/migration/v4_11-to-v5.html There are probably a lot more things to consider. If someone already migrated an application to RTEMS 5, then please share your

Re: clock_settime fail on qemu-xilinx-zynq-a9

2020-04-13 Thread Sebastian Huber
Hello Heinz, this assertion is definitely an error (clock_settime should return EINVAL instead), however, why do you want to set a time after Wednesday, May 30, 2514? ___ users mailing list users@rtems.org

Re: R: R: sptest SP06 strange behaviour

2020-03-25 Thread Sebastian Huber
Hello Michele, On 25/03/2020 16:13, Michele Dekleva wrote: My customer request me to use RTEMS 4.11.3 so i need to use this version. this makes little sense given that we are about to release RTEMS 5 soon. Also consider that the FPGA based CortexM3 use a 133 MHz clock so I’m quite

Re: R: sptest SP06 strange behaviour

2020-03-25 Thread Sebastian Huber
Hello Michele, I am not sure if the RTEMS 4.11 test suite works with an interrupt driven console driver. I would use the RTEMS master for new BSPs anyway. ___ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users

Re: sptest SP06 strange behaviour

2020-03-25 Thread Sebastian Huber
Hello Michele, both tests should run without errors. Which RTEMS version do you use? A frequent error in Cortex-M BSPs are improper interrupt priorities. Make sure all interrupt priorities are set up correctly:

Re: write a network driver

2020-03-11 Thread Sebastian Huber
Hello Mojtaba, On 11/03/2020 06:44, mojtaba nadi wrote: hello, I'm going to write a network driver for my mac ip core that I made in vivado for zedboard. I can write and read from it with using registers but now I want to use socket programming to access the mac. I understand the first step

Re: Someone using CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE?

2020-02-13 Thread Sebastian Huber
On 09/04/2019 09:08, Sebastian Huber wrote: Hello, is the CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE actually used in application configurations? I plan to remove CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE and CONFIGURE_HAS_OWN_INIT_TASK_TABLE next week: https://devel.rtems.org/ticket/3873

Re: Someone using CONFIGURE_HAS_OWN_INIT_TASK_TABLE?

2020-02-13 Thread Sebastian Huber
On 13/02/2020 16:37, Sebastian Huber wrote: Hello, I would like to revisit this configuration clean up opportunity: On 09/04/2019 14:55, Sebastian Huber wrote: On 09/04/2019 14:50, Joel Sherrill wrote: On Tue, Apr 9, 2019, 2:08 AM Sebastian Huber <mailto:sebastian.hu...@embedded-brains

Re: Failure in cpukit/score/src/rbtreeextract.c if RTEMS_DEBUG is defined

2020-02-13 Thread Sebastian Huber
On 13/02/2020 17:56, Heinz Junkes wrote: I'm starting an EPICS IOC. Loading works if I don't set RTEMS_DEBUG. The loaded images are similar in size. I have not changed anything in the EPICS software. I still have the problem that I do not understand how the freebsd dhcpcd works and therefore

Re: Failure in cpukit/score/src/rbtreeextract.c if RTEMS_DEBUG is defined

2020-02-13 Thread Sebastian Huber
On 13/02/2020 17:25, Heinz Junkes wrote: Using qoriq_e500 BSP if configured with --enable-rtems-debug : ../../rtems-5.0.0-m1912/configure --enable-maintainer-mode --prefix=/home/epics/MVME2500/RTEMS/5.0.0-m1912 --target=powerpc-rtems5 --enable-rtemsbsp=qoriq_e500 --enable-posix --enable-cxx

Re: Someone using CONFIGURE_HAS_OWN_INIT_TASK_TABLE?

2020-02-13 Thread Sebastian Huber
Hello, I would like to revisit this configuration clean up opportunity: On 09/04/2019 14:55, Sebastian Huber wrote: On 09/04/2019 14:50, Joel Sherrill wrote: On Tue, Apr 9, 2019, 2:08 AM Sebastian Huber <mailto:sebastian.hu...@embedded-brains.de>> wrote:

Re: Error with Boost scope

2020-02-05 Thread Sebastian Huber
Hello, I think this is an issue with your build settings. I extracted the boost includes for the ros project and included them in an example C++ RTEMS file: #include #include #include #include #include #include #include #include #include #include #include #include #include

Re: Error with Boost scope

2020-02-04 Thread Sebastian Huber
On 04/02/2020 14:37, M. Dodson wrote: Specifically, my waf has: includes = [ ... '/Users/michaeldodson/projects/rtems_root/boost_1_72_0', '/usr/local/include’] It seems to be finding the header files just fine, as the errors are associated with a declaration within the header that isn’t in

Re: Error with Boost scope

2020-02-04 Thread Sebastian Huber
On 04/02/2020 13:44, M. Dodson wrote: On 4 Feb 2020, at 12:32, Sebastian Huber wrote: On 04/02/2020 13:20, M. Dodson wrote: from /usr/local/include/boost/math/policies/policy.hpp:21, Did you add /usr/local/include to the include path used to build an RTEMS application? Yes

  1   2   3   4   5   >