[PATCH 3/3] 7: Update Binutils, GDB, and GCC

2023-07-20 Thread Sebastian Huber
Keep RTEMS up to date with the upstream development. --- rtems/config/tools/rtems-binutils-head.cfg| 4 ++-- rtems/config/tools/rtems-gcc-head-newlib-head.cfg | 4 ++-- rtems/config/tools/rtems-gdb-head.cfg | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git

[PATCH 1/3] 6/7: Update Newlib

2023-07-20 Thread Sebastian Huber
Keep RTEMS up to date with the upstream development. --- rtems/config/tools/rtems-gcc-10-newlib-head.cfg | 4 ++-- rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg | 4 ++-- rtems/config/tools/rtems-gcc-12-newlib-head.cfg | 4 ++-- rtems/config/tools/rtems-gcc-13-newlib-head.cfg | 4 ++--

[PATCH 2/3] 6: Update GCC 10, 12 and 13

2023-07-20 Thread Sebastian Huber
Keep RTEMS up to date with the upstream development. --- rtems/config/tools/rtems-gcc-10-newlib-head.cfg | 4 ++-- rtems/config/tools/rtems-gcc-12-newlib-head.cfg | 4 ++-- rtems/config/tools/rtems-gcc-13-newlib-head.cfg | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git

Re: [PATCH] membench: Add memory benchmark programs

2023-07-20 Thread Sebastian Huber
On 20.07.23 18:58, Gedare Bloom wrote: On Thu, Jul 20, 2023 at 7:42 AM Sebastian Huber wrote: These memory benchmark programs are not supposed to run. Instead, they can be analysed on the host system to measure the memory usage of features. See the membench module of rtems-central

[PATCH 2/2] unit: Test unlimited objects configuration

2023-07-20 Thread Sebastian Huber
From: Frank Kühndel This unit test covers code paths which are only reached if unlimited objects are used. Update #3716. --- .../build/testsuites/unit/unit-no-clock-0.yml | 1 + testsuites/unit/tc-config.c | 171 ++ 2 files changed, 172 insertions(+) create

[PATCH 0/2] Add two unit tests

2023-07-20 Thread Sebastian Huber
Frank Kühndel (2): unit: Test POSIX-specific message queue impl unit: Test unlimited objects configuration .../build/testsuites/unit/unit-no-clock-0.yml | 2 + testsuites/unit/tc-config.c | 171 +++ testsuites/unit/tc-score-msgq.c | 452

[PATCH 1/2] unit: Test POSIX-specific message queue impl

2023-07-20 Thread Sebastian Huber
From: Frank Kühndel This unit test covers code paths of the Message Handler which are only reached by through POSIX message queue API. Update #3716. --- .../build/testsuites/unit/unit-no-clock-0.yml | 1 + testsuites/unit/tc-score-msgq.c | 452 ++ 2 files

[PATCH] doxgen: Document build system provided files

2023-07-20 Thread Sebastian Huber
Update #3707. --- cpukit/doxygen/build.h | 82 ++ 1 file changed, 82 insertions(+) create mode 100644 cpukit/doxygen/build.h diff --git a/cpukit/doxygen/build.h b/cpukit/doxygen/build.h new file mode 100644 index 00..e76c173eb8 --- /dev/null +++

[PATCH] c-user: Add glossary terms for SPARC targets

2023-07-20 Thread Sebastian Huber
--- c-user/glossary.rst | 30 ++ 1 file changed, 30 insertions(+) diff --git a/c-user/glossary.rst b/c-user/glossary.rst index 6102d88..df3b9a3 100644 --- a/c-user/glossary.rst +++ b/c-user/glossary.rst @@ -382,6 +382,18 @@ Glossary GNU This term is an

[PATCH] validation: Improve sparc/leon3 shutdown test

2023-07-20 Thread Sebastian Huber
Test the shutdown halt separately from the SMP-specific shutdown request. Update #3716. --- .../bsps/fatal-sparc-leon3-shutdown.yml | 11 +- .../validation/bsps/objsparcleon3shutdown.yml | 17 +++ .../bsps/tc-fatal-sparc-leon3-shutdown-halt.c | 142 ++ ...>

Re: Repository edit

2023-07-19 Thread Sebastian Huber
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: HEADS UP: git repo WRONG push landed.

2023-07-18 Thread Sebastian Huber
on the master with a forced push. -- 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

[PATCH] score: Move _IO_Relax() to new

2023-07-18 Thread Sebastian Huber
This function is not a super core service. --- bsps/shared/grlib/uart/apbuart_polled.c | 2 +- cpukit/{score/src => dev}/iorelax.c | 4 +- cpukit/include/rtems/dev/io.h | 68 + cpukit/include/rtems/score/io.h | 8 ---

Re: Libbsd situation.

2023-07-18 Thread Sebastian Huber
ent infrastructure in libbsd was set up to work with Subversion. With Git we have now much better capabilities. -- 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 -

Re: [PATCH v3 12/38] bsps/grlib: Use GRLIB definition of GRSPWROUTER

2023-07-12 Thread Sebastian Huber
On 12.07.23 15:49, Sebastian Huber wrote: + /** + * @brief See @ref RTEMSDeviceGRSPWROUTERGPO0. + */ + uint32_t gpo0; + + /** + * @brief See @ref RTEMSDeviceGRSPWROUTERGPO1. + */ + uint32_t gpo1; + + /** + * @brief See @ref RTEMSDeviceGRSPWROUTERGPO2. + */ + uint32_t gpo2

Re: [PATCH v2 01/32] bsps/grlib: Add generated headers

2023-07-12 Thread Sebastian Huber
Hello Martin, thanks a lot for your thorough review. I tried to address your review comments in v3: https://lists.rtems.org/pipermail/devel/2023-July/075713.html -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de phone

[PATCH v3 33/38] bsps/sparc: Remove BSP_POWER_DOWN_AT_FATAL_HALT

2023-07-12 Thread Sebastian Huber
Remove the BSP_POWER_DOWN_AT_FATAL_HALT BSP option. Applications should do the customization of the system termination with an initial fatal extension. --- bsps/sparc/leon3/start/bsp_fatal_halt.c | 50 --- bsps/sparc/shared/start/bsp_fatal_halt.c | 52

[PATCH v3 38/38] bsp/leon3: Simplify shutdown

2023-07-12 Thread Sebastian Huber
Do not wait for other processors to halt. --- bsps/sparc/leon3/start/bspclean.c | 63 +-- .../bsps/fatal-sparc-leon3-shutdown.yml | 3 +- 2 files changed, 4 insertions(+), 62 deletions(-) diff --git a/bsps/sparc/leon3/start/bspclean.c

[PATCH v3 31/38] bsp/leon3: Use LEON3_GPTIMER_BASE

2023-07-12 Thread Sebastian Huber
--- bsps/sparc/leon3/start/cpucounter.c | 4 1 file changed, 4 insertions(+) diff --git a/bsps/sparc/leon3/start/cpucounter.c b/bsps/sparc/leon3/start/cpucounter.c index 46e0b304e5..05ac62ace8 100644 --- a/bsps/sparc/leon3/start/cpucounter.c +++ b/bsps/sparc/leon3/start/cpucounter.c @@

[PATCH v3 30/38] bsp/leon3: Add LEON3_IRQAMP_EXTENDED_INTERRUPT

2023-07-12 Thread Sebastian Huber
--- bsps/sparc/leon3/include/bsp/irqimpl.h| 4 bsps/sparc/leon3/start/eirq.c | 8 spec/build/bsps/sparc/leon3/grp.yml | 2 ++ .../bsps/sparc/leon3/optirqampextirq.yml | 19 +++ 4 files changed, 33 insertions(+) create mode

[PATCH v3 34/38] bsp/leon3: Fix group memberships

2023-07-12 Thread Sebastian Huber
Update #3706. --- bsps/sparc/leon3/gnatsupp/gnatsupp.c | 2 +- bsps/sparc/leon3/include/bsp/irq.h | 2 +- bsps/sparc/leon3/include/leon.h | 2 +- bsps/sparc/leon3/include/tm27.h | 2 +- bsps/sparc/leon3/start/bspclean.c| 2 +- bsps/sparc/leon3/start/bspsmp.c | 2 +-

[PATCH v3 25/38] bsp/leon3: Add LEON3_HAS_ASR_22_23_UP_COUNTER

2023-07-12 Thread Sebastian Huber
--- bsps/sparc/leon3/clock/ckinit.c | 6 ++ bsps/sparc/leon3/include/bsp/leon3.h| 2 ++ bsps/sparc/leon3/start/cpucounter.c | 8 spec/build/bsps/sparc/leon3/grp.yml | 2 ++ spec/build/bsps/sparc/leon3/optasrupcnt.yml | 17 + 5

[PATCH v3 24/38] bsp/leon3: Add LEON3_IRQAMP_PROBE_TIMESTAMP

2023-07-12 Thread Sebastian Huber
--- bsps/sparc/leon3/clock/ckinit.c | 198 bsps/sparc/leon3/start/cpucounter.c | 103 ++ spec/build/bsps/sparc/leon3/grp.yml | 2 + spec/build/bsps/sparc/leon3/optirqampts.yml | 22 +++ 4 files changed, 207 insertions(+), 118

[PATCH v3 18/38] bsp/leon3: Use new GPTIMER register block API

2023-07-12 Thread Sebastian Huber
--- bsps/shared/grlib/btimer/gptimer.c | 178 +-- bsps/sparc/leon3/btimer/btimer.c | 13 +- bsps/sparc/leon3/btimer/watchdog.c | 27 ++-- bsps/sparc/leon3/clock/ckinit.c | 33 ++--- bsps/sparc/leon3/include/bsp/leon3.h | 44 ++-

[PATCH v3 28/38] bsp/leon3: Simplify fatal error handling

2023-07-12 Thread Sebastian Huber
--- bsps/sparc/leon3/include/bsp/leon3.h | 12 bsps/sparc/leon3/start/bspclean.c| 89 +++- bsps/sparc/leon3/start/bspsmp.c | 16 + 3 files changed, 77 insertions(+), 40 deletions(-) diff --git a/bsps/sparc/leon3/include/bsp/leon3.h

[PATCH v3 26/38] bsp/leon3: Add LEON3_L2CACHE_BASE

2023-07-12 Thread Sebastian Huber
--- bsps/sparc/leon3/start/cache.c| 36 ++- spec/build/bsps/sparc/leon3/grp.yml | 2 ++ .../build/bsps/sparc/leon3/optl2cachebase.yml | 19 ++ 3 files changed, 49 insertions(+), 8 deletions(-) create mode 100644

[PATCH v3 23/38] bsp/leon3: Add LEON3_IRQAMP_BASE

2023-07-12 Thread Sebastian Huber
--- bsps/sparc/leon3/include/bsp/irqimpl.h| 6 ++ bsps/sparc/leon3/start/amba.c | 9 - spec/build/bsps/sparc/leon3/grp.yml | 2 ++ spec/build/bsps/sparc/leon3/optirqampbase.yml | 19 +++ 4 files changed, 35 insertions(+), 1

[PATCH v3 22/38] bsp/leon3: Add LEON3_GPTIMER_BASE

2023-07-12 Thread Sebastian Huber
--- bsps/sparc/leon3/include/bsp/leon3.h | 4 bsps/sparc/leon3/start/amba.c | 4 spec/build/bsps/sparc/leon3/grp.yml | 2 ++ .../build/bsps/sparc/leon3/optgptimerbase.yml | 20 +++ 4 files changed, 30 insertions(+) create mode

[PATCH v3 20/38] bsp/leon3: Add LEON3_APBUART_BASE

2023-07-12 Thread Sebastian Huber
--- bsps/sparc/leon3/console/printk_support.c | 37 +++ bsps/sparc/leon3/include/bsp/leon3.h | 5 +++ bsps/sparc/leon3/include/leon.h | 2 + spec/build/bsps/sparc/leon3/grp.yml | 2 + .../build/bsps/sparc/leon3/optapbuartbase.yml | 20

[PATCH v3 21/38] bsp/leon3: LEON3_PLB_FREQUENCY_DEFINED_BY_GPTIMER

2023-07-12 Thread Sebastian Huber
--- bsps/sparc/leon3/clock/ckinit.c| 9 +++- bsps/sparc/leon3/include/bsp/leon3.h | 27 ++ bsps/sparc/leon3/start/cpucounter.c| 8 +++ spec/build/bsps/sparc/leon3/grp.yml| 2 ++ spec/build/bsps/sparc/leon3/optplbfreq.yml | 21

[PATCH v3 12/38] bsps/grlib: Use GRLIB definition of GRSPWROUTER

2023-07-12 Thread Sebastian Huber
Rename parts to match with GRLIB naming. Update #4842. --- bsps/include/grlib/grspwrouter-regs.h | 1925 + bsps/include/grlib/spwrmap-regs.h | 1443 -- 2 files changed, 1925 insertions(+), 1443 deletions(-) create mode 100644

[PATCH v3 16/38] bsp/leon3: Use new IRQ(A)MP register block API

2023-07-12 Thread Sebastian Huber
--- bsps/sparc/leon3/clock/ckinit.c| 11 ++- bsps/sparc/leon3/include/bsp/irq.h | 1 + bsps/sparc/leon3/include/bsp/irqimpl.h | 35 ++- bsps/sparc/leon3/include/leon.h| 63 ++--- bsps/sparc/leon3/start/amba.c | 11 ++-

[PATCH v3 13/38] bsps: Use new APBUART register block API

2023-07-12 Thread Sebastian Huber
--- bsps/include/grlib/apbuart_termios.h | 4 +- bsps/shared/grlib/uart/apbuart_cons.c | 136 +- bsps/shared/grlib/uart/apbuart_polled.c | 52 + bsps/shared/grlib/uart/apbuart_termios.c | 49 +--- bsps/sparc/leon3/console/console.c| 2 +-

[PATCH v3 37/38] validation: Test sparc/leon3 BSP family

2023-07-12 Thread Sebastian Huber
--- ...arc-leon3-cache-snooping-disabled-boot.yml | 24 ++ ...eon3-cache-snooping-disabled-secondary.yml | 25 +++ ...fatal-sparc-leon3-clock-initialization.yml | 21 ++ .../bsps/fatal-sparc-leon3-shutdown.yml | 24 ++ .../validation/bsps/objsparcgr712rc.yml | 14 ++

[PATCH v3 17/38] bsp/leon3: Move system control register support

2023-07-12 Thread Sebastian Huber
Move, document, and reformat support functions from to . --- bsps/sparc/leon3/include/bsp/leon3.h | 173 +++ bsps/sparc/leon3/include/leon.h | 100 +--- bsps/sparc/leon3/start/bspsmp.c | 1 - bsps/sparc/leon3/start/bspstart.c| 2 +-

[PATCH v3 35/38] bsp/leon3: Add specialized target hash

2023-07-12 Thread Sebastian Huber
--- bsps/sparc/leon3/start/gettargethash.c | 71 ++ spec/build/bsps/sparc/leon3/obj.yml| 2 +- 2 files changed, 72 insertions(+), 1 deletion(-) create mode 100644 bsps/sparc/leon3/start/gettargethash.c diff --git a/bsps/sparc/leon3/start/gettargethash.c

[PATCH v3 15/38] bsp/leon3: Move and simplify bsp_irq_fixup()

2023-07-12 Thread Sebastian Huber
--- bsps/sparc/erc32/include/bsp/irqimpl.h | 63 bsps/sparc/erc32/include/erc32.h | 5 -- bsps/sparc/leon2/include/bsp/irqimpl.h | 63 bsps/sparc/leon2/include/leon.h | 5 -- bsps/sparc/leon3/clock/ckinit.c | 4 +-

[PATCH v3 36/38] validation: grlib

2023-07-12 Thread Sebastian Huber
--- .../testsuites/validation/bsps/objgrlib.yml | 16 + .../validation/bsps/validation-bsp-0.yml | 23 ++ spec/build/testsuites/validation/grp.yml | 3 + .../validation/bsps/ts-validation-bsp-0.c | 73 .../tc-dev-grlib-apbuart-inbyte-nonblocking.c | 348

[PATCH v3 29/38] bsp/leon3: Add LEON3_PROBE_ASR_22_23_UP_COUNTER

2023-07-12 Thread Sebastian Huber
--- bsps/sparc/leon3/clock/ckinit.c | 5 + bsps/sparc/leon3/start/cpucounter.c | 5 + spec/build/bsps/sparc/leon3/grp.yml | 2 ++ .../bsps/sparc/leon3/optasrupcntprobe.yml | 19 +++ 4 files changed, 31 insertions(+) create mode

[PATCH v3 27/38] bsp/leon3: Move leon3_power_down_loop()

2023-07-12 Thread Sebastian Huber
--- bsps/sparc/leon3/include/bsp/leon3.h| 6 ++ bsps/sparc/leon3/include/leon.h | 2 -- bsps/sparc/leon3/start/bsp_fatal_halt.c | 2 +- bsps/sparc/leon3/start/bspclean.c | 3 +-- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git

[PATCH v3 32/38] bsp/leon3: Enable up-counter conditionally

2023-07-12 Thread Sebastian Huber
--- bsps/sparc/leon3/clock/ckinit.c | 5 +++-- bsps/sparc/leon3/start/cpucounter.c | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/bsps/sparc/leon3/clock/ckinit.c b/bsps/sparc/leon3/clock/ckinit.c index 93826416c0..4767d57347 100644 ---

[PATCH v3 14/38] bsp/leon3: Untangle interrupt controller support

2023-07-12 Thread Sebastian Huber
Separate the probing of the interrupt controller from the initialization. --- bsps/sparc/leon3/include/bsp/irqimpl.h | 83 ++ bsps/sparc/leon3/include/leon.h| 10 +--- bsps/sparc/leon3/start/amba.c | 9 --- bsps/sparc/leon3/start/eirq.c | 15

[PATCH v3 10/38] bsps/grlib: Use GRLIB definition of GRSPW2

2023-07-12 Thread Sebastian Huber
Update #4842. --- bsps/include/grlib/grspw2-regs.h | 1122 ++ 1 file changed, 982 insertions(+), 140 deletions(-) diff --git a/bsps/include/grlib/grspw2-regs.h b/bsps/include/grlib/grspw2-regs.h index 8e9661edc2..6293230cfe 100644 ---

[PATCH v3 19/38] bsp/leon3: Use new L2CACHE register block API

2023-07-12 Thread Sebastian Huber
--- bsps/sparc/leon3/start/cache.c | 38 -- 1 file changed, 23 insertions(+), 15 deletions(-) diff --git a/bsps/sparc/leon3/start/cache.c b/bsps/sparc/leon3/start/cache.c index 676f591857..ed6fb5733d 100644 --- a/bsps/sparc/leon3/start/cache.c +++

[PATCH v3 09/38] bsps/grlib: Move GR740-specific registers

2023-07-12 Thread Sebastian Huber
Update #4842. --- bsps/include/grlib/gr740thsens-regs.h | 226 -- bsps/include/grlib/grgprbank-regs.h | 677 - .../leon3/include/bsp/gr740-bootstrap-regs.h} | 78 +- .../leon3/include/bsp/gr740-iopll-regs.h | 679 ++

[PATCH v3 08/38] bsps/grlib: Expand GRCLKGATE register bit fields

2023-07-12 Thread Sebastian Huber
Use the maximum width supported by the GRLIB even if this exceeds the configuration limits of a particular IP instance. Update #4842. --- bsps/include/grlib/grclkgate-regs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bsps/include/grlib/grclkgate-regs.h

[PATCH v3 11/38] bsps/grlib: Remove obsolete header file

2023-07-12 Thread Sebastian Huber
This header file was an incomplete duplicate of . Update #4842. --- bsps/include/grlib/grspwrouter-regs.h | 890 -- 1 file changed, 890 deletions(-) delete mode 100644 bsps/include/grlib/grspwrouter-regs.h diff --git a/bsps/include/grlib/grspwrouter-regs.h

[PATCH v3 02/38] bsps/grlib: Fix FTMCTRL - MCFG1 bit fields

2023-07-12 Thread Sebastian Huber
There was an off by one error in all bit fields. Add the R flag. Update #4842. --- bsps/include/grlib/ftmctrl-regs.h | 127 -- 1 file changed, 70 insertions(+), 57 deletions(-) diff --git a/bsps/include/grlib/ftmctrl-regs.h b/bsps/include/grlib/ftmctrl-regs.h index

[PATCH v3 00/38] Integrate pre-qualified LEON3 BSP

2023-07-12 Thread Sebastian Huber
Use GRLIB definition of GRSPW2 * Remove obsolete register block. This register block was an incomplete duplicate of spec:/dev/grlib/if/grspw2. * Use GRLIB definition of GRSPWROUTER. Rename item to match with GRLIB naming. Sebastian Huber (38): bsps/grlib: Add generated headers bsp

[PATCH v3 04/38] bsps/grlib: Fix SpaceWire RMAP - Product ID

2023-07-12 Thread Sebastian Huber
Update #4842. --- bsps/include/grlib/spwrmap-regs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bsps/include/grlib/spwrmap-regs.h b/bsps/include/grlib/spwrmap-regs.h index a75b02a39b..7a19f4a2d3 100644 --- a/bsps/include/grlib/spwrmap-regs.h +++

[PATCH v3 05/38] bsps/grlib: Expand SpaceWire port bit fields

2023-07-12 Thread Sebastian Huber
Use the maximum width supported by the SpaceWire standard even if this exceeds the configuration limits of a particular IP instance. Update #4842. --- bsps/include/grlib/spwpnp-regs.h | 2 +- bsps/include/grlib/spwrmap-regs.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff

[PATCH v3 07/38] bsps/grlib: Add GRCAN - CanTxIRQ

2023-07-12 Thread Sebastian Huber
Update #4842. --- bsps/include/grlib/grcan-regs.h | 33 + 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/bsps/include/grlib/grcan-regs.h b/bsps/include/grlib/grcan-regs.h index fc69f4519e..85a5e56367 100644 --- a/bsps/include/grlib/grcan-regs.h +++

[PATCH v3 06/38] bsps/grlib: Fix SPWTDP register name

2023-07-12 Thread Sebastian Huber
Update #4842. --- bsps/include/grlib/spwtdp-regs.h | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/bsps/include/grlib/spwtdp-regs.h b/bsps/include/grlib/spwtdp-regs.h index b69fb5b0a5..2e951e4544 100644 --- a/bsps/include/grlib/spwtdp-regs.h

[PATCH v3 03/38] bsps/grlib: Fix GRGPIO - IRQMAP bit fields

2023-07-12 Thread Sebastian Huber
Update #4842. --- bsps/include/grlib/grgpio-regs.h | 37 +--- 1 file changed, 24 insertions(+), 13 deletions(-) diff --git a/bsps/include/grlib/grgpio-regs.h b/bsps/include/grlib/grgpio-regs.h index b1768ff92e..8c3c7ffb16 100644 --- a/bsps/include/grlib/grgpio-regs.h

Re: What Happened to _Thread_Close?

2023-07-11 Thread Sebastian Huber
of _Thread_Cancel() and _Thread_Join(). It is only used by rtems_task_delete(). -- 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: [PATCH v2 22/32] bsp/leon3: Simplify fatal error handling

2023-07-11 Thread Sebastian Huber
On 07.07.23 18:26, Martin Åberg wrote: Please see the comment below. On 2023-07-05 13:18, Sebastian Huber wrote: ---   bsps/sparc/leon3/include/bsp/leon3.h | 12   bsps/sparc/leon3/start/bspclean.c    | 89 +++-   bsps/sparc/leon3/start/bspsmp.c  | 16 +   3

Re: [PATCH 1/2] score/arm: improve printed exception information for Cortex-Mx CPUs

2023-07-06 Thread Sebastian Huber
Hello Karel, both patches are fine in terms of functionality. It would be nice to keep the score coding style in cpukit/score/cpu/arm/arm-exception-frame-print.c. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de phone

Re: Tool versions for RTEMS 6.1 release?

2023-07-03 Thread Sebastian Huber
On 03.07.23 01:17, Chris Johns wrote: On 30/6/2023 4:26 pm, Sebastian Huber wrote: Hello, it seems the RTEMS 6.1 release is getting closer. We should think about the tool versions for the release. For GCC, my preferred choice would be GCC 13.2: https://gcc.gnu.org/pipermail/gcc/2023-June

Re: Tool versions for RTEMS 6.1 release?

2023-07-03 Thread Sebastian Huber
: https://support.xilinx.com/s/question/0D54U6lA691SAC/microblaze-gcc-needs-proper-lra-support?language=en_US I guess the trend is to use RISC-V soft cores instead. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de phone: +49

Re: Tool versions for RTEMS 6.1 release?

2023-07-03 Thread Sebastian Huber
On 30.06.23 18:57, Joel Sherrill wrote: On Fri, Jun 30, 2023 at 1:26 AM Sebastian Huber <mailto:sebastian.hu...@embedded-brains.de>> wrote: Hello, it seems the RTEMS 6.1 release is getting closer. We should think about the tool versions for the release. Fo

Re: Tool versions for RTEMS 6.1 release?

2023-07-03 Thread Sebastian Huber
On 30.06.23 19:18, Kinsey Moore wrote: On Fri, Jun 30, 2023 at 11:58 AM Joel Sherrill <mailto:j...@rtems.org>> wrote: On Fri, Jun 30, 2023 at 1:26 AM Sebastian Huber mailto:sebastian.hu...@embedded-brains.de>> wrote: Hello, it seems the RTEMS 6.1 rel

Re: RTEMS_SYSINIT_ITEM not working sometimes?

2023-07-03 Thread Sebastian Huber
o get more information about what is going on. -- 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] bsps/stm32h7: disable MPU alignment for M4-based BSP variants

2023-06-30 Thread Sebastian Huber
On 29.06.23 22:47, Karel Gardas wrote: There is no point in wasting precious memory space on enforced section alignment for the purpose of MPU which is not implemented on M4 core anyway. Thanks, looks good. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany

Re: Tool versions for RTEMS 6.1 release?

2023-06-30 Thread Sebastian Huber
trickery involved I do not see yet? yes, this should work. Once GCC 13.2 is release I will add a rtems-gcc-13.2-newlib-head configuration. -- 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

Add currently best clang-format configuration to repository?

2023-06-30 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

Tool versions for RTEMS 6.1 release?

2023-06-30 Thread Sebastian Huber
. This should have stabilized in GCC 13. GCC 13 contains some RTEMS-specific improvements for Ada. For Binutils and GDB I would just use the latest release available at the RTEMS 6 branch point. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu

Re: [RSB 2/4] 6: Update GCC 10 and 12

2023-06-30 Thread Sebastian Huber
On 29.06.23 02:20, Chris Johns wrote: On 28/6/2023 3:33 pm, Sebastian Huber wrote: On 28.06.23 04:37, Chris Johns wrote: Can you please provide something other than update in the commit message? If it is to pick up patches on these gcc release branches then please say so. This update has

Re: [PATCH rtems-central v2] spec/wake-after: Update references to intervals

2023-06-30 Thread Sebastian Huber
instead of a count of clock ticks. Updates #4772 Looks good. -- 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

Re: Possible minor bug in ARM A startup code. Clearing res1 instead of I bit in SCTLR.

2023-06-29 Thread Sebastian Huber
eck this. Yes, this looks like a bug. Also for my own knowledge, why is this done with 2 bic instructions instead of one? You have a limited number of one bits for the intermediate value in the BIC instructions. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany em

Re: [PATCH rtems-central] spec/wake-after: Update references to intervals

2023-06-28 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

Re: [PATCH v2 00/32] Integrate pre-qualified LEON3 BSP

2023-06-28 Thread Sebastian Huber
On 16.06.23 08:00, Sebastian Huber wrote: The register block specification were recently integrated in the RTEMS Software Engineering manual. Now it is time to integrate the pre-qualified LEON3 BSP which uses the generated GRLIB header files. The existing tests in the RTEMS test suite

Re: [PATCH rtems] Remove unused _IO_Relax

2023-06-28 Thread Sebastian Huber
On 28.06.23 19:02, Joel Sherrill wrote: On Wed, Jun 28, 2023 at 11:29 AM Sebastian Huber <mailto:sebastian.hu...@embedded-brains.de>> wrote: On 28.06.23 18:17, Joel Sherrill wrote: > On Wed, Jun 28, 2023 at 11:07 AM Sebastian Huber > mailto:sebastian.hu...@emb

Re: [PATCH rtems] Remove unused _IO_Relax

2023-06-28 Thread Sebastian Huber
On 28.06.23 18:17, Joel Sherrill wrote: On Wed, Jun 28, 2023 at 11:07 AM Sebastian Huber <mailto:sebastian.hu...@embedded-brains.de>> wrote: On 28.06.23 18:05, Joel Sherrill wrote: > The only use was in a test. This function is used by this patch set: https://lis

Re: [PATCH rtems] Remove unused _IO_Relax

2023-06-28 Thread Sebastian Huber
On 28.06.23 18:05, Joel Sherrill wrote: The only use was in a test. This function is used by this patch set: https://lists.rtems.org/pipermail/devel/2023-June/075497.html -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded

Re: [RSB 1/4] 6/7: Update Newlib

2023-06-27 Thread Sebastian Huber
Hello Chris, On 28.06.23 04:39, Chris Johns wrote: What has changed in this version? Is there anything specific we need to know about or need? this update has no specific reason. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded

Re: [PATCH rtems-docs] c-user: Update references to rtems_task_wake_after

2023-06-27 Thread Sebastian Huber
e? A delay specified in some subunit of seconds instead of clock ticks. What about: Applications requiring use of a clock (CLOCK_REALTIME or CLOCK_MONOTONIC) instead of clock ticks should make use of the ... -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany e

Re: [PATCH rtems-docs] c-user: Update references to rtems_task_wake_after

2023-06-27 Thread Sebastian Huber
On 28.06.23 01:07, Chris Johns wrote: On 28/6/2023 7:37 am, Kinsey Moore wrote: On Tue, Jun 27, 2023 at 4:05 PM Sebastian Huber mailto:sebastian.hu...@embedded-brains.de>> wrote: On 27.06.23 22:18, Kinsey Moore wrote: > diff --git a/c-user/task/directives.rst b/c-

Re: [RSB 2/4] 6: Update GCC 10 and 12

2023-06-27 Thread Sebastian Huber
magically work on RTEMS. Are these versions of the compiler tracking tarfile packages? No, the configurations track the release branches. -- 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

Re: [PATCH rtems-docs] c-user: Update references to rtems_task_wake_after

2023-06-27 Thread Sebastian Huber
() references, use ${/c/if/clock-nanosleep:/name}. -- 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

[RSB 1/4] 6/7: Update Newlib

2023-06-27 Thread Sebastian Huber
--- rtems/config/tools/rtems-gcc-10-newlib-head.cfg | 4 ++-- rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg | 4 ++-- rtems/config/tools/rtems-gcc-12-newlib-head.cfg | 4 ++-- rtems/config/tools/rtems-gcc-head-newlib-head.cfg | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-)

[RSB 2/4] 6: Update GCC 10 and 12

2023-06-27 Thread Sebastian Huber
--- rtems/config/tools/rtems-gcc-10-newlib-head.cfg | 4 ++-- rtems/config/tools/rtems-gcc-12-newlib-head.cfg | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rtems/config/tools/rtems-gcc-10-newlib-head.cfg b/rtems/config/tools/rtems-gcc-10-newlib-head.cfg index

[RSB 3/4] 7: Update Binutils, GDB, and GCC

2023-06-27 Thread Sebastian Huber
--- rtems/config/tools/rtems-binutils-head.cfg| 4 ++-- rtems/config/tools/rtems-gcc-head-newlib-head.cfg | 4 ++-- rtems/config/tools/rtems-gdb-head.cfg | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/rtems/config/tools/rtems-binutils-head.cfg

[RSB 4/4] tools: Add GCC 13 configuration

2023-06-27 Thread Sebastian Huber
--- .../config/tools/rtems-gcc-13-newlib-head.cfg | 25 +++ 1 file changed, 25 insertions(+) create mode 100644 rtems/config/tools/rtems-gcc-13-newlib-head.cfg diff --git a/rtems/config/tools/rtems-gcc-13-newlib-head.cfg b/rtems/config/tools/rtems-gcc-13-newlib-head.cfg new

[PATCH v2 11/32] bsp/leon3: Move system control register support

2023-06-16 Thread Sebastian Huber
Move, document, and reformat support functions from to . --- bsps/sparc/leon3/include/bsp/leon3.h | 173 +++ bsps/sparc/leon3/include/leon.h | 100 +--- bsps/sparc/leon3/start/bspsmp.c | 1 - bsps/sparc/leon3/start/bspstart.c| 2 +-

[PATCH v2 13/32] bsp/leon3: Use new L2CACHE register block API

2023-06-16 Thread Sebastian Huber
--- bsps/sparc/leon3/start/cache.c | 38 -- 1 file changed, 23 insertions(+), 15 deletions(-) diff --git a/bsps/sparc/leon3/start/cache.c b/bsps/sparc/leon3/start/cache.c index 676f591857..ed6fb5733d 100644 --- a/bsps/sparc/leon3/start/cache.c +++

[PATCH v2 09/32] bsp/leon3: Move and simplify bsp_irq_fixup()

2023-06-16 Thread Sebastian Huber
--- bsps/sparc/erc32/include/bsp/irqimpl.h | 63 bsps/sparc/erc32/include/erc32.h | 5 -- bsps/sparc/leon2/include/bsp/irqimpl.h | 63 bsps/sparc/leon2/include/leon.h | 5 -- bsps/sparc/leon3/clock/ckinit.c | 4 +-

[PATCH v2 27/32] bsps/sparc: Remove BSP_POWER_DOWN_AT_FATAL_HALT

2023-06-16 Thread Sebastian Huber
Remove the BSP_POWER_DOWN_AT_FATAL_HALT BSP option. Applications should do the customization of the system termination with an initial fatal extension. --- bsps/sparc/leon3/start/bsp_fatal_halt.c | 50 --- bsps/sparc/shared/start/bsp_fatal_halt.c | 52

[PATCH v2 22/32] bsp/leon3: Simplify fatal error handling

2023-06-16 Thread Sebastian Huber
--- bsps/sparc/leon3/include/bsp/leon3.h | 12 bsps/sparc/leon3/start/bspclean.c| 89 +++- bsps/sparc/leon3/start/bspsmp.c | 16 + 3 files changed, 77 insertions(+), 40 deletions(-) diff --git a/bsps/sparc/leon3/include/bsp/leon3.h

[PATCH v2 18/32] bsp/leon3: Add LEON3_IRQAMP_PROBE_TIMESTAMP

2023-06-16 Thread Sebastian Huber
--- bsps/sparc/leon3/clock/ckinit.c | 198 bsps/sparc/leon3/start/cpucounter.c | 103 ++ spec/build/bsps/sparc/leon3/grp.yml | 2 + spec/build/bsps/sparc/leon3/optirqampts.yml | 22 +++ 4 files changed, 207 insertions(+), 118

[PATCH v2 26/32] bsp/leon3: Enable up-counter conditionally

2023-06-16 Thread Sebastian Huber
--- bsps/sparc/leon3/clock/ckinit.c | 5 +++-- bsps/sparc/leon3/start/cpucounter.c | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/bsps/sparc/leon3/clock/ckinit.c b/bsps/sparc/leon3/clock/ckinit.c index 93826416c0..4767d57347 100644 ---

[PATCH v2 28/32] bsp/leon3: Fix group memberships

2023-06-16 Thread Sebastian Huber
Update #3706. --- bsps/sparc/leon3/gnatsupp/gnatsupp.c | 2 +- bsps/sparc/leon3/include/bsp/irq.h | 2 +- bsps/sparc/leon3/include/leon.h | 2 +- bsps/sparc/leon3/include/tm27.h | 2 +- bsps/sparc/leon3/start/bspclean.c| 2 +- bsps/sparc/leon3/start/bspsmp.c | 2 +-

[PATCH v2 24/32] bsp/leon3: Add LEON3_IRQAMP_EXTENDED_INTERRUPT

2023-06-16 Thread Sebastian Huber
--- bsps/sparc/leon3/include/bsp/irqimpl.h| 4 bsps/sparc/leon3/start/eirq.c | 8 spec/build/bsps/sparc/leon3/grp.yml | 2 ++ .../bsps/sparc/leon3/optirqampextirq.yml | 19 +++ 4 files changed, 33 insertions(+) create mode

[PATCH v2 25/32] bsp/leon3: Use LEON3_GPTIMER_BASE

2023-06-16 Thread Sebastian Huber
--- bsps/sparc/leon3/start/cpucounter.c | 4 1 file changed, 4 insertions(+) diff --git a/bsps/sparc/leon3/start/cpucounter.c b/bsps/sparc/leon3/start/cpucounter.c index 46e0b304e5..05ac62ace8 100644 --- a/bsps/sparc/leon3/start/cpucounter.c +++ b/bsps/sparc/leon3/start/cpucounter.c @@

[PATCH v2 20/32] bsp/leon3: Add LEON3_L2CACHE_BASE

2023-06-16 Thread Sebastian Huber
--- bsps/sparc/leon3/start/cache.c| 36 ++- spec/build/bsps/sparc/leon3/grp.yml | 2 ++ .../build/bsps/sparc/leon3/optl2cachebase.yml | 19 ++ 3 files changed, 49 insertions(+), 8 deletions(-) create mode 100644

[PATCH v2 19/32] bsp/leon3: Add LEON3_HAS_ASR_22_23_UP_COUNTER

2023-06-16 Thread Sebastian Huber
--- bsps/sparc/leon3/clock/ckinit.c | 6 ++ bsps/sparc/leon3/include/bsp/leon3.h| 2 ++ bsps/sparc/leon3/start/cpucounter.c | 8 spec/build/bsps/sparc/leon3/grp.yml | 2 ++ spec/build/bsps/sparc/leon3/optasrupcnt.yml | 17 + 5

[PATCH v2 21/32] bsp/leon3: Move leon3_power_down_loop()

2023-06-16 Thread Sebastian Huber
--- bsps/sparc/leon3/include/bsp/leon3.h| 6 ++ bsps/sparc/leon3/include/leon.h | 2 -- bsps/sparc/leon3/start/bsp_fatal_halt.c | 2 +- bsps/sparc/leon3/start/bspclean.c | 3 +-- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git

[PATCH v2 17/32] bsp/leon3: Add LEON3_IRQAMP_BASE

2023-06-16 Thread Sebastian Huber
--- bsps/sparc/leon3/include/bsp/irqimpl.h| 6 ++ bsps/sparc/leon3/start/amba.c | 9 - spec/build/bsps/sparc/leon3/grp.yml | 2 ++ spec/build/bsps/sparc/leon3/optirqampbase.yml | 19 +++ 4 files changed, 35 insertions(+), 1

[PATCH v2 23/32] bsp/leon3: Add LEON3_PROBE_ASR_22_23_UP_COUNTER

2023-06-16 Thread Sebastian Huber
--- bsps/sparc/leon3/clock/ckinit.c | 5 + bsps/sparc/leon3/start/cpucounter.c | 5 + spec/build/bsps/sparc/leon3/grp.yml | 2 ++ .../bsps/sparc/leon3/optasrupcntprobe.yml | 19 +++ 4 files changed, 31 insertions(+) create mode

[PATCH v2 16/32] bsp/leon3: Add LEON3_GPTIMER_BASE

2023-06-16 Thread Sebastian Huber
--- bsps/sparc/leon3/include/bsp/leon3.h | 4 bsps/sparc/leon3/start/amba.c | 4 spec/build/bsps/sparc/leon3/grp.yml | 2 ++ .../build/bsps/sparc/leon3/optgptimerbase.yml | 20 +++ 4 files changed, 30 insertions(+) create mode

[PATCH v2 14/32] bsp/leon3: Add LEON3_APBUART_BASE

2023-06-16 Thread Sebastian Huber
--- bsps/sparc/leon3/console/printk_support.c | 37 +++ bsps/sparc/leon3/include/bsp/leon3.h | 5 +++ bsps/sparc/leon3/include/leon.h | 2 + spec/build/bsps/sparc/leon3/grp.yml | 2 + .../build/bsps/sparc/leon3/optapbuartbase.yml | 20

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