Re: Throughput/Goodput analysis on RTEMS

2021-07-14 Thread Vijay Kumar Banerjee
On Sun, Jul 11, 2021 at 6:42 PM Chris Johns wrote: > > On 10/7/21 1:28 pm, Vijay Kumar Banerjee wrote: > > On Fri, Jul 9, 2021 at 8:25 PM Chris Johns wrote: > >> > >> On 2/7/21 4:40 am, Vijay Kumar Banerjee wrote: > >>> I'm planning to do a throughput analysis on the RTEMS network stacks > >>> an

Re: [PATCH] build: Add the BSP family to the enable set

2021-07-14 Thread Chris Johns
That is a nice change. OK to push Chris On 15/7/21 4:19 pm, Sebastian Huber wrote: > This makes it possible to use the BSP family in expressions of the enabled-by > attribute. > --- > wscript | 7 ++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/wscript b/wscript > ind

Re: [PATCH] covoar: Fix errors building on FreeBSD and clang

2021-07-14 Thread Chris Johns
On 15/7/21 12:45 pm, Alex White wrote: > On Tue, Jul 6, 2021 at 7:55 PM Chris Johns wrote: >> >> On 3/7/21 5:56 am, Alex White wrote: >> > On Wed, Jun 30, 2021 at 11:40 PM wrote: >> >> >> >> From: Chris Johns >> >> >> >> - The member variable `path_` cannot be a reference and initialised to >> >

[PATCH] build: Add the BSP family to the enable set

2021-07-14 Thread Sebastian Huber
This makes it possible to use the BSP family in expressions of the enabled-by attribute. --- wscript | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/wscript b/wscript index 487951fdba..1331ae149e 100755 --- a/wscript +++ b/wscript @@ -1387,7 +1387,12 @@ def configure_vari

Re: [PATCH v2] bsps/irq: Implement new directives for GICv2/3

2021-07-14 Thread Sebastian Huber
On 14/07/2021 21:37, Kinsey Moore wrote: Looks good, minor nits below. Thanks for the review. I will fixed it before I push the commits. -- 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] build: Prefer variant default value over family

2021-07-14 Thread Chris Johns
Yes this is good thing to do and thanks. Please push. Chris On 15/7/21 4:07 pm, Sebastian Huber wrote: > Update #4468. > --- > wscript | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/wscript b/wscript > index 1206c4d882..bba0c1502a 100755 > --- a/wscript > +++

[PATCH] build: Prefer variant default value over family

2021-07-14 Thread Sebastian Huber
Update #4468. --- wscript | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wscript b/wscript index 1206c4d882..bba0c1502a 100755 --- a/wscript +++ b/wscript @@ -694,14 +694,14 @@ class OptionItem(Item): def default_value(self, variant, family): value = se

Re: [PATCH] covoar: Fix errors building on FreeBSD and clang

2021-07-14 Thread Alex White
On Tue, Jul 6, 2021 at 7:55 PM Chris Johns wrote: > > On 3/7/21 5:56 am, Alex White wrote: > > On Wed, Jun 30, 2021 at 11:40 PM wrote: > >> > >> From: Chris Johns > >> > >> - The member variable `path_` cannot be a reference and initialised to > >> a const char* type input. To do so would requ

Re: [PATCH rtems-docs] user: Update ZynqMP network configuration

2021-07-14 Thread Chris Johns
OK On 15/7/21 5:56 am, Kinsey Moore wrote: > Network configuration is now automatic and requires no user > configuration. > --- > user/bsps/aarch64/xilinx-zynqmp.rst | 11 +++ > 1 file changed, 3 insertions(+), 8 deletions(-) > > diff --git a/user/bsps/aarch64/xilinx-zynqmp.rst > b/user

[PATCH rtems-docs] user: Update ZynqMP network configuration

2021-07-14 Thread Kinsey Moore
Network configuration is now automatic and requires no user configuration. --- user/bsps/aarch64/xilinx-zynqmp.rst | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/user/bsps/aarch64/xilinx-zynqmp.rst b/user/bsps/aarch64/xilinx-zynqmp.rst index 71b6842..90270db 10064

Re: [PATCH v2] bsps/irq: Implement new directives for GICv2/3

2021-07-14 Thread Kinsey Moore
Looks good, minor nits below. On 7/14/2021 06:54, Sebastian Huber wrote: Update #3269. --- bsps/include/dev/irq/arm-gic-irq.h | 3 + bsps/shared/dev/irq/arm-gicv2.c| 83 +++ bsps/shared/dev/irq/arm-gicv3.c| 125 + 3 files changed, 180 i

Re: [PATCH rtems-libbsd 0/4] Beagle BSP: USB Template Driver for CDC Ethernet

2021-07-14 Thread Ahamed Husni
Hi, Ping :) On Tue, Jul 6, 2021 at 10:30 PM Husni Faiz wrote: > This set of patches import the drivers from freebsd and > configures it for the beagle bsp. > > Github Branch for the commits > https://github.com/drac98/rtems-libbsd/commits/usb-cdce > > Husni Faiz (4): > usb_template:Import CDC

FW: Flight Software Workshop, February 2022

2021-07-14 Thread Jeff Mayes
FYI. From: Flight Software Workshop Sent: Tuesday, July 13, 2021 1:15 PM To: Jeff Mayes Subject: Flight Software Workshop, February 2022 Save the Date! [https://files.constantcontact.com/5adddbe6301/8f06287d-7a38-40f0-8dc2-c4adc01b7242.png]

Re: [PATCH rtems-docs v1 2/2] user/bsps/aarch64: Minor formatting fix

2021-07-14 Thread Joel Sherrill
This looks ok to me. --joel On Wed, Jul 14, 2021 at 10:35 AM Stephen Clark wrote: > > Fixed formatting error in user/bsps/aarch64/a53.rst > and user/bsps/aarch64/xilinx-zynqmp.rst. > --- > user/bsps/aarch64/a53.rst | 8 +--- > user/bsps/aarch64/xilinx-zynqmp.rst | 8 +--- > 2

[PATCH rtems-docs v1 2/2] user/bsps/aarch64: Minor formatting fix

2021-07-14 Thread Stephen Clark
Fixed formatting error in user/bsps/aarch64/a53.rst and user/bsps/aarch64/xilinx-zynqmp.rst. --- user/bsps/aarch64/a53.rst | 8 +--- user/bsps/aarch64/xilinx-zynqmp.rst | 8 +--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/user/bsps/aarch64/a53.rst b/user/bsps

[PATCH rtems-docs v1 1/2] xilinx-zynqmp.rst: Documented SDIO driver

2021-07-14 Thread Stephen Clark
Added documentation for SDIO driver. --- user/bsps/aarch64/xilinx-zynqmp.rst | 14 ++ 1 file changed, 14 insertions(+) diff --git a/user/bsps/aarch64/xilinx-zynqmp.rst b/user/bsps/aarch64/xilinx-zynqmp.rst index 71b6842..30ae8a3 100644 --- a/user/bsps/aarch64/xilinx-zynqmp.rst +++ b/

[PATCH v1 4/6] ReportsHtml.h: Fix formatting

2021-07-14 Thread Ryan Long
--- tester/covoar/ReportsHtml.h | 88 + 1 file changed, 32 insertions(+), 56 deletions(-) diff --git a/tester/covoar/ReportsHtml.h b/tester/covoar/ReportsHtml.h index 21ca8bd..a7ed0af 100644 --- a/tester/covoar/ReportsHtml.h +++ b/tester/covoar/ReportsH

[PATCH v1 5/6] ReportsText.cc: Fix formatting

2021-07-14 Thread Ryan Long
--- tester/covoar/ReportsText.cc | 103 +++ 1 file changed, 54 insertions(+), 49 deletions(-) diff --git a/tester/covoar/ReportsText.cc b/tester/covoar/ReportsText.cc index 35ad786..146fc35 100644 --- a/tester/covoar/ReportsText.cc +++ b/tester/covoar/Repor

[PATCH v1 6/6] ReportsText.h: Fix formatting

2021-07-14 Thread Ryan Long
--- tester/covoar/ReportsText.h | 60 ++--- 1 file changed, 24 insertions(+), 36 deletions(-) diff --git a/tester/covoar/ReportsText.h b/tester/covoar/ReportsText.h index 3e33be9..9ad80ef 100644 --- a/tester/covoar/ReportsText.h +++ b/tester/covoar/ReportsT

[PATCH v1 2/6] ReportsBase.h: Fix formatting

2021-07-14 Thread Ryan Long
--- tester/covoar/ReportsBase.h | 105 +++- 1 file changed, 36 insertions(+), 69 deletions(-) diff --git a/tester/covoar/ReportsBase.h b/tester/covoar/ReportsBase.h index ed381fb..41add8e 100644 --- a/tester/covoar/ReportsBase.h +++ b/tester/covoar/ReportsB

[PATCH v1 1/6] ReportsBase.cc: Fix formatting

2021-07-14 Thread Ryan Long
--- tester/covoar/ReportsBase.cc | 305 ++- 1 file changed, 156 insertions(+), 149 deletions(-) diff --git a/tester/covoar/ReportsBase.cc b/tester/covoar/ReportsBase.cc index cc3810b..cd65c53 100644 --- a/tester/covoar/ReportsBase.cc +++ b/tester/covoar/Rep

[PATCH rtems-docs v1] readme: Minor clarifications and fixes

2021-07-14 Thread Stephen Clark
Added some instructions for setting up CentOS 8. Fixed some minor typographical errors. Updated a dead link. Reworded some sentences for clarity --- README.txt | 58 ++ 1 file changed, 32 insertions(+), 26 deletions(-) diff --git a/README.txt b/

[PATCH] spcoverage: Remove test program

2021-07-14 Thread Sebastian Huber
This program contained an optional test case. It was enabled by the RTEMS_COVERAGE define. The functions under test are not implemented by RTEMS. --- spec/build/testsuites/sptests/grp.yml| 2 - spec/build/testsuites/sptests/spcoverage.yml | 19 testsuites/sptests/Makefile.am

Re: How defines RTEMS_COVERAGE?

2021-07-14 Thread Joel Sherrill
On Wed, Jul 14, 2021, 7:27 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 14/07/2021 14:25, Joel Sherrill wrote: > > > > > > On Wed, Jul 14, 2021, 7:15 AM Sebastian Huber > > > > wrote: > > > > Hello, > > > > I had a bit of

Re: How defines RTEMS_COVERAGE?

2021-07-14 Thread Sebastian Huber
On 14/07/2021 14:25, Joel Sherrill wrote: On Wed, Jul 14, 2021, 7:15 AM Sebastian Huber > wrote: Hello, I had a bit of time to work on the gcov support for RTEMS: https://gcc.gnu.org/pipermail/gcc-patches/2021-July/575122.html

Re: How defines RTEMS_COVERAGE?

2021-07-14 Thread Joel Sherrill
On Wed, Jul 14, 2021, 7:15 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > Hello, > > I had a bit of time to work on the gcov support for RTEMS: > > https://gcc.gnu.org/pipermail/gcc-patches/2021-July/575122.html > > I tried to add an RTEMS_COVERAGE build option to enable gcov. T

How defines RTEMS_COVERAGE?

2021-07-14 Thread Sebastian Huber
Hello, I had a bit of time to work on the gcov support for RTEMS: https://gcc.gnu.org/pipermail/gcc-patches/2021-July/575122.html I tried to add an RTEMS_COVERAGE build option to enable gcov. Then I noticed that such a define is already used in RTEMS: testsuites/sptests/spcoverage/init.c: #

[PATCH v2] rtems: Add rtems_interrupt_get_attributes()

2021-07-14 Thread Sebastian Huber
Add a directive to query the attributes of an interrupt vector. This be used for generic tests and system diagnostics. Update #3269. --- cpukit/include/rtems/irq-extension.h | 216 +++ 1 file changed, 216 insertions(+) diff --git a/cpukit/include/rtems/irq-extension.h

[PATCH v2] bsps/irq: Implement new directives for GICv2/3

2021-07-14 Thread Sebastian Huber
Update #3269. --- bsps/include/dev/irq/arm-gic-irq.h | 3 + bsps/shared/dev/irq/arm-gicv2.c| 83 +++ bsps/shared/dev/irq/arm-gicv3.c| 125 + 3 files changed, 180 insertions(+), 31 deletions(-) diff --git a/bsps/include/dev/irq/arm-gic-irq.h

[PATCH v3 2/2] build: Fix the motorola_powerpc default baudrate

2021-07-14 Thread chrisj
From: Chris Johns --- spec/build/bsps/optconsolebaud.yml | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/spec/build/bsps/optconsolebaud.yml b/spec/build/bsps/optconsolebaud.yml index 2658abbff8..4b0869beca 100644 --- a/spec/build/bsps/optconsolebaud.yml +++ b/spec/buil

Re: [PATCH v2] build: Use BSP family for options

2021-07-14 Thread Sebastian Huber
On 14/07/2021 10:44, Chris Johns wrote: Can I add `default-by-family: []` before `default-by-variant` in the spec files? Yes, the attributes should alphabetically sorted. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de

Re: [PATCH v2] build: Use BSP family for options

2021-07-14 Thread Chris Johns
On 14/7/21 5:01 pm, Sebastian Huber wrote: > On 14/07/2021 08:51, chr...@rtems.org wrote: >> @@ -695,12 +692,18 @@ class OptionItem(Item): >>   return True >>   return False >>   -    def default_value(self, variant): >> +    def default_value(self, variant, family): >>

Re: [PATCH v2] build: Use BSP family for options

2021-07-14 Thread Chris Johns
On 14/7/21 5:24 pm, Sebastian Huber wrote: > On 14/07/2021 09:21, Chris Johns wrote: >> Is there a nice way to catch any missing fields and report them? The waf >> conf is >> not present and I am not sure if we catch any standard python exception and >> report them by waf? > > The current approac

Re: [PATCH v2] build: Use BSP family for options

2021-07-14 Thread Sebastian Huber
On 14/07/2021 09:21, Chris Johns wrote: Is there a nice way to catch any missing fields and report them? The waf conf is not present and I am not sure if we catch any standard python exception and report them by waf? The current approach is to check the user input (e.g. config.ini) and report

Re: [PATCH v2] build: Use BSP family for options

2021-07-14 Thread Chris Johns
On 14/7/21 5:01 pm, Sebastian Huber wrote: > On 14/07/2021 08:51, chr...@rtems.org wrote: >> @@ -695,12 +692,18 @@ class OptionItem(Item): >>   return True >>   return False >>   -    def default_value(self, variant): >> +    def default_value(self, variant, family): >>

Re: [PATCH v2] build: Use BSP family for options

2021-07-14 Thread Sebastian Huber
On 14/07/2021 08:51, chr...@rtems.org wrote: @@ -695,12 +692,18 @@ class OptionItem(Item): return True return False -def default_value(self, variant): +def default_value(self, variant, family): value = self.data["default"] for default in