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

2023-06-15 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 +- bsps/sparc

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

2023-06-15 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 +++ b/bsps/sparc/leon

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

2023-06-15 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-15 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-15 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 b/bsps/sparc/leon3/inc

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

2023-06-15 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 deletions(-)

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

2023-06-15 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 --- a/bsps/sparc/leon3/clock/ckinit

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

2023-06-15 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 +- bsps/sparc

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

2023-06-15 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 10

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

2023-06-15 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 @@ -131

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

2023-06-15 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 spec/build/bsps/sparc/leon3/optl2c

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

2023-06-15 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 fi

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

2023-06-15 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 a/bsps/sparc/leon3/include/bsp/leon3

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

2023-06-15 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 deletion(

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

2023-06-15 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 1006

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

2023-06-15 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 100644

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

2023-06-15 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 v2 10/32] bsp/leon3: Use new IRQ(A)MP register block API

2023-06-15 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| 53 --- bsps/sparc/leon3/start/amba.c | 11 ++- bsps/sparc/leon3/start/bspclean.c

[PATCH v2 07/32] bsps: Use new APBUART register block API

2023-06-15 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 +- b

[PATCH v2 12/32] bsp/leon3: Use new GPTIMER register block API

2023-06-15 Thread Sebastian Huber
--- bsps/shared/grlib/btimer/gptimer.c | 177 +-- 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 ++- bsps/sparc/leon3/include

[PATCH v2 32/32] bsp/leon3: Simplify shutdown

2023-06-15 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 b/bsps/sparc/leon3/start/b

[PATCH v2 31/32] validation: Test sparc/leon3 BSP family

2023-06-15 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 ++ .../validatio

[PATCH v2 15/32] bsp/leon3: LEON3_PLB_FREQUENCY_DEFINED_BY_GPTIMER

2023-06-15 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 v2 08/32] bsp/leon3: Untangle interrupt controller support

2023-06-15 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 v2 30/32] validation: grlib

2023-06-15 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 v2 29/32] bsp/leon3: Add specialized target hash

2023-06-15 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 b/bsps/sparc

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

2023-06-15 Thread Sebastian Huber
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 are basically BSP independent. This patch set introdu

[PATCH v2 05/32] bsps/grlib: Expand SpaceWire port bit fields

2023-06-15 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 --g

[PATCH v2 04/32] bsps/grlib: Fix SpaceWire RMAP - Product ID

2023-06-15 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 +++ b/bsps/include/grlib/sp

[PATCH v2 03/32] bsps/grlib: Fix GRGPIO - IRQMAP bit fields

2023-06-15 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 +

[PATCH v2 06/32] bsps/grlib: Fix SPWTDP register name

2023-06-15 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 v2 02/32] bsps/grlib: Fix FTMCTRL - MCFG1 bit fields

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

Re: [PATCH 2/2] bsps: Remove uses of BSP-specific interrupt API

2023-06-15 Thread Chris Johns
On 16/6/2023 3:36 pm, Sebastian Huber wrote: > On 16.06.23 07:04, Chris Johns wrote: >> On 16/6/2023 2:51 pm, Sebastian Huber wrote: >>> On 16.06.23 03:49, Chris Johns wrote: > diff --git a/bsps/shared/grlib/drvmgr/ambapp_bus_grlib.c > b/bsps/shared/grlib/drvmgr/ambapp_bus_grlib.c > ind

Re: [PATCH v2 1/3] pci: Do not use BSP-specific interrupt API

2023-06-15 Thread Chris Johns
Look good. Thanks Chris On 16/6/2023 3:34 pm, Sebastian Huber wrote: > Update #3269. > --- > cpukit/include/pci/irq.h | 17 - > 1 file changed, 4 insertions(+), 13 deletions(-) > > diff --git a/cpukit/include/pci/irq.h b/cpukit/include/pci/irq.h > index 4069f1ffa8..8617dd1680 10

Re: [PATCH 2/2] bsps: Remove uses of BSP-specific interrupt API

2023-06-15 Thread Sebastian Huber
On 16.06.23 07:04, Chris Johns wrote: On 16/6/2023 2:51 pm, Sebastian Huber wrote: On 16.06.23 03:49, Chris Johns wrote: diff --git a/bsps/shared/grlib/drvmgr/ambapp_bus_grlib.c b/bsps/shared/grlib/drvmgr/ambapp_bus_grlib.c index 96b77907a6..bc211e37b6 100644 --- a/bsps/shared/grlib/drvmgr/am

[PATCH v2 3/3] bsps/sparc: Deprecate BSP-specific interrupt API

2023-06-15 Thread Sebastian Huber
Update #3269. --- bsps/sparc/erc32/include/bsp.h | 10 +- bsps/sparc/leon2/include/bsp.h | 10 +- bsps/sparc/leon3/include/bsp.h | 10 +- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/bsps/sparc/erc32/include/bsp.h b/bsps/sparc/erc32/include/bsp.h index c

[PATCH v2 1/3] pci: Do not use BSP-specific interrupt API

2023-06-15 Thread Sebastian Huber
Update #3269. --- cpukit/include/pci/irq.h | 17 - 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/cpukit/include/pci/irq.h b/cpukit/include/pci/irq.h index 4069f1ffa8..8617dd1680 100644 --- a/cpukit/include/pci/irq.h +++ b/cpukit/include/pci/irq.h @@ -38,18 +38,9 @@

[PATCH v2 2/3] bsps: Remove uses of BSP-specific interrupt API

2023-06-15 Thread Sebastian Huber
Update #3269. --- bsps/riscv/griscv/include/bsp.h | 6 - bsps/shared/grlib/drvmgr/ambapp_bus_grlib.c | 17 +--- bsps/sparc/erc32/include/bsp.h | 15 --- bsps/sparc/leon2/include/bsp.h | 15 --- bsps/sparc/leon3/include/bsp.h

Re: bsps/xilinx-zynqmp : Add BSP for RPU

2023-06-15 Thread Chris Johns
On 15/6/2023 6:16 pm, Philip Kirkpatrick wrote: > Thanks for all the good feedback. > > RE Joel: > I'll fix my sloppy formatting that you caught and submit a revised patch.  If > I'm realistic about my schedule, I probably won't be able to get to it until > next week. > For xttcps_hw.h, there alre

[PATCH v2] eng: Add guidelines for validation tests

2023-06-15 Thread Sebastian Huber
Update #3717. --- v2: * Mention that file name should be unique. * Clarify file name parts. * Add examples for enabled-by expressions. eng/req/howto.rst | 80 +++ 1 file changed, 80 insertions(+) diff --git a/eng/req/howto.rst b/eng/req/howto.rst inde

Re: [PATCH 2/2] bsps: Remove uses of BSP-specific interrupt API

2023-06-15 Thread Chris Johns
On 16/6/2023 2:51 pm, Sebastian Huber wrote: > On 16.06.23 03:49, Chris Johns wrote: >>> diff --git a/bsps/shared/grlib/drvmgr/ambapp_bus_grlib.c >>> b/bsps/shared/grlib/drvmgr/ambapp_bus_grlib.c >>> index 96b77907a6..bc211e37b6 100644 >>> --- a/bsps/shared/grlib/drvmgr/ambapp_bus_grlib.c >>> +++ b

Re: BSP-Specific Testing was: [PATCH 00/34] Integrate pre-qualified LEON3 BSP

2023-06-15 Thread Sebastian Huber
On 16.06.23 06:53, Chris Johns wrote: On 16/6/2023 2:41 pm, Sebastian Huber wrote: On 16.06.23 00:07, Chris Johns wrote: On 16/6/2023 12:54 am, Sebastian Huber wrote: The test framework prints out the location of events using the file name and the line number. So, it would be good if the file

Re: BSP-Specific Testing was: [PATCH 00/34] Integrate pre-qualified LEON3 BSP

2023-06-15 Thread Chris Johns
On 16/6/2023 2:41 pm, Sebastian Huber wrote: > On 16.06.23 00:07, Chris Johns wrote: >> On 16/6/2023 12:54 am, Sebastian Huber wrote: >>> The test framework prints out the location of events using the file name >>> and the >>> line number. So, it would be good if the file names are unique and >>>

Re: [PATCH 2/2] bsps: Remove uses of BSP-specific interrupt API

2023-06-15 Thread Sebastian Huber
On 16.06.23 03:49, Chris Johns wrote: diff --git a/bsps/shared/grlib/drvmgr/ambapp_bus_grlib.c b/bsps/shared/grlib/drvmgr/ambapp_bus_grlib.c index 96b77907a6..bc211e37b6 100644 --- a/bsps/shared/grlib/drvmgr/ambapp_bus_grlib.c +++ b/bsps/shared/grlib/drvmgr/ambapp_bus_grlib.c @@ -41,7 +41,7 @@

Re: BSP-Specific Testing was: [PATCH 00/34] Integrate pre-qualified LEON3 BSP

2023-06-15 Thread Sebastian Huber
On 16.06.23 00:07, Chris Johns wrote: On 16/6/2023 12:54 am, Sebastian Huber wrote: The test framework prints out the location of events using the file name and the line number. So, it would be good if the file names are unique and descriptive. This is why I like Gedare's proposal to just use "b

Re: BSP .inc files and .cfg files

2023-06-15 Thread Sebastian Huber
On 16.06.23 06:35, Chris Johns wrote: On 16/6/2023 2:33 pm, Sebastian Huber wrote: On 16.06.23 03:46, Chris Johns wrote: On 16/6/2023 9:04 am, Joel Sherrill wrote: On Thu, Jun 15, 2023 at 5:41 PM Chris Johns mailto:chr...@rtems.org>> wrote: Hi, Reviewing the RPU patch I noticed

Re: Doorstop YML file in repo

2023-06-15 Thread Chris Johns
On 16/6/2023 2:34 pm, Sebastian Huber wrote: > On 16.06.23 00:33, Chris Johns wrote: >> Hi >> >> I spotted this today and I am wondering if it has accidental been added: >> >> https://git.rtems.org/rtems/tree/spec/build/bsps/arm/stm32h7/.doorstop.yml >> >> ? > > Sorry, this was a mistake. I remove

Re: BSP .inc files and .cfg files

2023-06-15 Thread Chris Johns
On 16/6/2023 2:33 pm, Sebastian Huber wrote: > On 16.06.23 03:46, Chris Johns wrote: >> >> On 16/6/2023 9:04 am, Joel Sherrill wrote: >>> >>> On Thu, Jun 15, 2023 at 5:41 PM Chris Johns >> > wrote: >>> >>> Hi, >>> >>> Reviewing the RPU patch I noticed a .inc file

Re: Doorstop YML file in repo

2023-06-15 Thread Sebastian Huber
On 16.06.23 00:33, Chris Johns wrote: Hi I spotted this today and I am wondering if it has accidental been added: https://git.rtems.org/rtems/tree/spec/build/bsps/arm/stm32h7/.doorstop.yml ? Sorry, this was a mistake. I removed the file. -- embedded brains GmbH Herr Sebastian HUBER Dorniers

Re: BSP .inc files and .cfg files

2023-06-15 Thread Sebastian Huber
On 16.06.23 03:46, Chris Johns wrote: On 16/6/2023 9:04 am, Joel Sherrill wrote: On Thu, Jun 15, 2023 at 5:41 PM Chris Johns mailto:chr...@rtems.org>> wrote: Hi, Reviewing the RPU patch I noticed a .inc file being added and I wondered why so I checked the sources and to my su

unit test framework

2023-06-15 Thread Sam Price
was reading through https://docs.rtems.org/branches/master/eng/test-framework.html#test-framework-requirements-for-rtems t.h I think needs changed to test.h or rtems/test.h Was trying to stand up a test framework for my board. Wanted command line arg support though so switched to trying doctest/g

Re: [PATCH 2/2] bsps: Remove uses of BSP-specific interrupt API

2023-06-15 Thread Chris Johns
On 15/6/2023 10:46 pm, Sebastian Huber wrote: > Update #3269. > --- > bsps/riscv/griscv/include/bsp.h | 4 --- > bsps/shared/grlib/drvmgr/ambapp_bus_grlib.c | 8 +++--- > bsps/sparc/erc32/include/bsp.h | 15 --- > bsps/sparc/leon2/include/bsp.h | 15

Re: BSP .inc files and .cfg files

2023-06-15 Thread Chris Johns
On 16/6/2023 9:04 am, Joel Sherrill wrote: > > > On Thu, Jun 15, 2023 at 5:41 PM Chris Johns > wrote: > > Hi, > > Reviewing the RPU patch I noticed a .inc file being added and I wondered > why so > I checked the sources and to my surprise found: > >

rtems-docs [PATCH] README: Fixing spelling and grammar errors

2023-06-15 Thread Stanley Paulauskas
Hello, RTEMS Devs! Please find attached a patch for rtems-docs/README.txt that fixes some grammatical and spelling errors. Since this is my first submission, I went through the Checklist for Patches . I *think*

Re: BSP .inc files and .cfg files

2023-06-15 Thread Joel Sherrill
On Thu, Jun 15, 2023 at 5:41 PM Chris Johns wrote: > Hi, > > Reviewing the RPU patch I noticed a .inc file being added and I wondered > why so > I checked the sources and to my surprise found: > > rtems.git $ find bsps -name \*.inc > bsps/v850/gdbv850sim/config/v850sim.inc > bsps/m68k/genmcf548x/

BSP .inc files and .cfg files

2023-06-15 Thread Chris Johns
Hi, Reviewing the RPU patch I noticed a .inc file being added and I wondered why so I checked the sources and to my surprise found: rtems.git $ find bsps -name \*.inc bsps/v850/gdbv850sim/config/v850sim.inc bsps/m68k/genmcf548x/config/genmcf548x.inc bsps/m68k/gen68340/include/m68340.inc bsps/m68k

Doorstop YML file in repo

2023-06-15 Thread Chris Johns
Hi I spotted this today and I am wondering if it has accidental been added: https://git.rtems.org/rtems/tree/spec/build/bsps/arm/stm32h7/.doorstop.yml ? Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: BSP-Specific Testing was: [PATCH 00/34] Integrate pre-qualified LEON3 BSP

2023-06-15 Thread Chris Johns
On 16/6/2023 12:54 am, Sebastian Huber wrote: > The test framework prints out the location of events using the file name and > the > line number. So, it would be good if the file names are unique and > descriptive. > This is why I like Gedare's proposal to just use "bsps". Is only the basename e

Re: [PATCH rtems-source-builder] qemu-5-1: Add patch for ZynqMP/Versal CGEMs

2023-06-15 Thread Chris Johns
OK Thanks Chris On 16/6/2023 1:53 am, Kinsey Moore wrote: > This temporarily adds a patch to fix badly behaving CGEM peripherals > under QEMU. The referenced patch has been submitted for inclusion in > the upstream QEMU repository. > > Updates #4919 > --- > source-builder/config/qemu-5-1.cfg |

Re: [PATCH] eng: Add guidelines for validation tests

2023-06-15 Thread Gedare Bloom
LGTM On Thu, Jun 15, 2023 at 4:06 AM Sebastian Huber wrote: > > On 15.06.23 11:28, Frank Kühndel wrote: > > > >> + > >> +* Tests for fatal errors shall have ``fatal`` as the most general > >> file part, > >> + for example ``ts-fatal-too-large-tls-size.c``. > >> + > >> +* Validation test suites s

[PATCH rtems-source-builder] qemu-5-1: Add patch for ZynqMP/Versal CGEMs

2023-06-15 Thread Kinsey Moore
This temporarily adds a patch to fix badly behaving CGEM peripherals under QEMU. The referenced patch has been submitted for inclusion in the upstream QEMU repository. Updates #4919 --- source-builder/config/qemu-5-1.cfg | 4 1 file changed, 4 insertions(+) diff --git a/source-builder/confi

Re: BSP-Specific Testing was: [PATCH 00/34] Integrate pre-qualified LEON3 BSP

2023-06-15 Thread Sebastian Huber
On 15.06.23 15:51, Joel Sherrill wrote: On Mon, Jun 12, 2023 at 10:58 AM Gedare Bloom > wrote: On Mon, Jun 12, 2023 at 12:56 AM Sebastian Huber mailto:sebastian.hu...@embedded-brains.de>> wrote: > > > > On 01.06.23 22:06, Gedare Bloom wrote:

Re: BSP-Specific Testing was: [PATCH 00/34] Integrate pre-qualified LEON3 BSP

2023-06-15 Thread Joel Sherrill
On Mon, Jun 12, 2023 at 10:58 AM Gedare Bloom wrote: > On Mon, Jun 12, 2023 at 12:56 AM Sebastian Huber > wrote: > > > > > > > > On 01.06.23 22:06, Gedare Bloom wrote: > > > On Thu, Jun 1, 2023 at 2:00 PM Gedare Bloom wrote: > > >> -- Forwarded message - > > >> From: Sebastian H

[PATCH] bsps/sparc: Deprecate BSP-specific interrupt API

2023-06-15 Thread Sebastian Huber
Update #3269. --- bsps/sparc/erc32/include/bsp.h | 10 +- bsps/sparc/leon2/include/bsp.h | 10 +- bsps/sparc/leon3/include/bsp.h | 10 +- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/bsps/sparc/erc32/include/bsp.h b/bsps/sparc/erc32/include/bsp.h index c

[PATCH 1/2] pci: Do not use BSP-specific interrupt API

2023-06-15 Thread Sebastian Huber
Update #3269. --- cpukit/include/pci/irq.h | 17 - 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/cpukit/include/pci/irq.h b/cpukit/include/pci/irq.h index 4069f1ffa8..8617dd1680 100644 --- a/cpukit/include/pci/irq.h +++ b/cpukit/include/pci/irq.h @@ -38,18 +38,9 @@

[PATCH 2/2] bsps: Remove uses of BSP-specific interrupt API

2023-06-15 Thread Sebastian Huber
Update #3269. --- bsps/riscv/griscv/include/bsp.h | 4 --- bsps/shared/grlib/drvmgr/ambapp_bus_grlib.c | 8 +++--- bsps/sparc/erc32/include/bsp.h | 15 --- bsps/sparc/leon2/include/bsp.h | 15 --- bsps/sparc/leon3/include/bsp.h |

Re: [PATCH] rtemsbsd/versal_slcr: Fix Versal GEM clock set

2023-06-15 Thread Will
This looks good as far as the functional content is concerned. As a nit, it looks like some unnecessary newlines were added in cgem_set_ref_clk() and the added if() conditional braces are inconsistent in their formatting so feel free to tweak those before commit. On Thu, Jun 15, 2023 at 12:48 AM

Re: [PATCH] eng: Add guidelines for validation tests

2023-06-15 Thread Sebastian Huber
On 15.06.23 11:28, Frank Kühndel wrote: + +* Tests for fatal errors shall have ``fatal`` as the most general file part, +  for example ``ts-fatal-too-large-tls-size.c``. + +* Validation test suites shall have ``validation`` as the most general file +  part, for example ``ts-validation-no-cl

Re: [PATCH] eng: Add guidelines for validation tests

2023-06-15 Thread Frank Kühndel
On 6/15/23 09:33, Sebastian Huber wrote: Subject: [PATCH] eng: Add guidelines for validation tests From: Sebastian Huber Date: 6/15/23, 09:33 To: devel@rtems.org Update #3717. --- eng/req/howto.rst | 59 +++ 1 file changed, 59 insertions(+) diff

Re: bsps/xilinx-zynqmp : Add BSP for RPU

2023-06-15 Thread Philip Kirkpatrick
Thanks for all the good feedback. RE Joel: I'll fix my sloppy formatting that you caught and submit a revised patch. If I'm realistic about my schedule, I probably won't be able to get to it until next week. For xttcps_hw.h, there already is one #ifndef __rtems__ around the #includes, but on revie

[PATCH] eng: Add guidelines for validation tests

2023-06-15 Thread Sebastian Huber
Update #3717. --- eng/req/howto.rst | 59 +++ 1 file changed, 59 insertions(+) diff --git a/eng/req/howto.rst b/eng/req/howto.rst index 0de3c01..688f693 100644 --- a/eng/req/howto.rst +++ b/eng/req/howto.rst @@ -1127,6 +1127,65 @@ the following post-con