Re: [PATCH rtems-libbsd] rtemsbsd: Use a separate header for test devices

2021-07-06 Thread Chris Johns
On 7/7/21 12:03 pm, Kinsey Moore wrote: > On 7/6/2021 20:57, Chris Johns wrote: >> On 7/7/21 11:05 am, Kinsey Moore wrote: >>> The need for the difference on ZynqMP is that there are 4 different CGEM >>> interfaces of which dev boards primarily make use of CGEM3. >>

Re: [PATCH rtems-libbsd] rtemsbsd: Use a separate header for test devices

2021-07-06 Thread Kinsey Moore
On 7/6/2021 20:57, Chris Johns wrote: On 7/7/21 11:05 am, Kinsey Moore wrote: The need for the difference on ZynqMP is that there are 4 different CGEM interfaces of which dev boards primarily make use of CGEM3. RTEMS_BSD_DRIVER_XILINX_ZYNQMP_CGEM0(ZYNQMP_IRQ_ETHERNET_0);

Re: [PATCH rtems-libbsd] rtemsbsd: Use a separate header for test devices

2021-07-06 Thread Chris Johns
On 7/7/21 11:05 am, Kinsey Moore wrote: > The need for the difference on ZynqMP is that there are 4 different CGEM > interfaces of which dev boards primarily make use of CGEM3. RTEMS_BSD_DRIVER_XILINX_ZYNQMP_CGEM0(ZYNQMP_IRQ_ETHERNET_0);

Re: [PATCH rtems-libbsd] rtemsbsd: Use a separate header for test devices

2021-07-06 Thread Kinsey Moore
On 7/6/2021 18:55, Chris Johns wrote: On 7/7/21 5:46 am, Kinsey Moore wrote: This is an alternate patch to solve the issue of test-related information being included in an installed application-targeted header. Why is the ZYNQMP different to the zync BSP? I have been running the tests on

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

2021-07-06 Thread Chris Johns
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 require there is a temporary with >>   an unspecified life time. >>

Re: [PATCH] Reports: Convert to C++

2021-07-06 Thread Chris Johns
On 7/7/21 1:53 am, Ryan Long wrote: > Made formatting consistent and converted C code to C++. > --- > tester/covoar/ReportsBase.cc | 525 +-- > tester/covoar/ReportsBase.h | 156 +++--- > tester/covoar/ReportsHtml.cc | 1183 > +- >

Re: [PATCH rtems-libbsd] rtemsbsd: Use a separate header for test devices

2021-07-06 Thread Chris Johns
On 7/7/21 5:46 am, Kinsey Moore wrote: > This is an alternate patch to solve the issue of test-related information > being included in an installed application-targeted header. Why is the ZYNQMP different to the zync BSP? I have been running the tests on the zynq for years and the CGEM hard IP

Re: [PATCH] waf: Ensure network-config.h gets installed

2021-07-06 Thread Chris Johns
On 6/7/21 11:52 pm, Kinsey Moore wrote: > On 7/6/2021 04:45, Chris Johns wrote: >> On 3/7/21 11:16 am, Kinsey Moore wrote: >>> network-config.h is now required for application compilation when using >>> nexus-devices.h. This makes sure that it gets installed to resolve build >>> errors. >> I think

RTEMS Net Services Repository Ready

2021-07-06 Thread gerberhe11
Hi all, We have been working on adding support for the net-services within the rtems-net-legacy project. In the current state, we are successfully able to build and test the net-services as a submodule within the net-legacy repository for telnetd and tftpfs. Next, we will be working on

RE: [PATCH rtems-libbsd] rtemsbsd: Use a separate header for test devices

2021-07-06 Thread Kinsey Moore
This is an alternate patch to solve the issue of test-related information being included in an installed application-targeted header. -Original Message- From: Kinsey Moore Sent: Tuesday, July 6, 2021 14:45 To: devel@rtems.org Cc: Kinsey Moore Subject: [PATCH rtems-libbsd] rtemsbsd:

[PATCH rtems-libbsd] rtemsbsd: Use a separate header for test devices

2021-07-06 Thread Kinsey Moore
Devices used specifically for testing are now contained in a separate nexus-test-devices.h so as not to pollute default hardware configurations with test-specific information. This header is currently only used for network tests. --- rtemsbsd/include/bsp/nexus-devices.h | 24

DTB for BBB?

2021-07-06 Thread Shiro
Hello, I’m new to RTEMS (but not new to embedded RTOS deployment). I worked through the BBB QuickStart and have run hello.exe on a BBB. Question regarding the correct DTS for BBB: in section 8.2.3.2 of the online docs:

[PATCH rtems-libbsd 4/4] libbsd.py: add usb template files

2021-07-06 Thread Husni Faiz
add the imported template files for CDC Ethernet register the dev_usb_template module enable usb template in default buildset Signed-off-by: Husni Faiz --- buildset/default.ini | 1 + buildset/minimal.ini | 3 ++- libbsd.py| 25 + 3 files changed, 28

[PATCH rtems-libbsd 3/4] nexus-devices: Include CDC Ethernet for Beagle

2021-07-06 Thread Husni Faiz
Configure bus for CDC Ethernet Include CDC Ethernet in Beagle BSP Signed-off-by: Husni Faiz --- rtemsbsd/include/bsp/nexus-devices.h | 5 + rtemsbsd/include/machine/rtems-bsd-nexus-bus.h | 17 + 2 files changed, 22 insertions(+) diff --git

[PATCH rtems-libbsd 2/4] usb_template: Configure template driver only for CDC Ethernet

2021-07-06 Thread Husni Faiz
Add the conditional macro to prevent the driver from referencing the templates which are not imported yet. Include functions which adds the hw.usb.template sysctl variable. Signed-off-by: Husni Faiz --- freebsd/sys/dev/usb/template/usb_template.c | 4 freebsd/sys/dev/usb/usb_device.c

[PATCH rtems-libbsd 1/4] usb_template:Import CDC Ethernet

2021-07-06 Thread Husni Faiz
Signed-off-by: Husni Faiz --- freebsd/sys/dev/usb/template/usb_template.c | 1489 + freebsd/sys/dev/usb/template/usb_template.h | 130 ++ .../sys/dev/usb/template/usb_template_cdce.c | 355 3 files changed, 1974 insertions(+) create mode 100644

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

2021-07-06 Thread Husni Faiz
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 Ethernet usb_template: Configure template driver only for CDC Ethernet

Re: RTEMS on uC5282

2021-07-06 Thread Vijay Kumar Banerjee
On Tue, Jul 6, 2021 at 9:58 AM Johnson, Andrew N. wrote: > > Hi Vijay, > > On Jul 4, 2021, at 6:08 PM, Vijay Kumar Banerjee wrote: > > I have a uC5282 board running uClinux and I was wondering if someone > has instructions for converting the RTEMS exe files into boot files > that can be booted

[PATCH] Reports: Convert to C++

2021-07-06 Thread Ryan Long
Made formatting consistent and converted C code to C++. --- tester/covoar/ReportsBase.cc | 525 +-- tester/covoar/ReportsBase.h | 156 +++--- tester/covoar/ReportsHtml.cc | 1183 +- tester/covoar/ReportsHtml.h | 141 ++---

[PATCH] bsps/arm: Add start up support for ARMv6 RPi Models

2021-07-06 Thread pranav
--- bsps/arm/shared/start/start.S | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/bsps/arm/shared/start/start.S b/bsps/arm/shared/start/start.S index bd623178ed..2ba6541405 100644 --- a/bsps/arm/shared/start/start.S +++ b/bsps/arm/shared/start/start.S @@ -482,16 +482,22

Re: [PATCH] waf: Ensure network-config.h gets installed

2021-07-06 Thread Kinsey Moore
On 7/6/2021 04:45, Chris Johns wrote: On 3/7/21 11:16 am, Kinsey Moore wrote: network-config.h is now required for application compilation when using nexus-devices.h. This makes sure that it gets installed to resolve build errors. I think it is a mistake to install this file. It is an internal

Re: Is rtems/bsd/test/network-config.h supposed to be installed?

2021-07-06 Thread Peter Dufault
> On Jul 6, 2021, at 06:42 , Chris Johns wrote: > >> On 3 Jul 2021, at 5:14 am, Peter Dufault wrote: >> >> I updated my libbsd today and an application is failing to build because it >> can't find the include file "rtems/bsd/test/network-config.h". It was added >> yesterday to

Re: Is rtems/bsd/test/network-config.h supposed to be installed?

2021-07-06 Thread Chris Johns
> On 3 Jul 2021, at 5:14 am, Peter Dufault wrote: > > I updated my libbsd today and an application is failing to build because it > can't find the include file "rtems/bsd/test/network-config.h". It was added > yesterday to "rtemsbsd/include/bsp/nexus-devices.h". "nexus-devices.h" the >

Re: [PATCH] waf: Ensure network-config.h gets installed

2021-07-06 Thread Chris Johns
On 3/7/21 11:16 am, Kinsey Moore wrote: > network-config.h is now required for application compilation when using > nexus-devices.h. This makes sure that it gets installed to resolve build > errors. I think it is a mistake to install this file. It is an internal file generated by config.inc to

Re: [PATCH v7] Update test smpstrongapa01

2021-07-06 Thread Richi Dubey
Great, thanks. I am happy it is finally merged :) On Tue, Jul 6, 2021 at 10:54 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 29/06/2021 09:05, Richi Dubey wrote: > > Update smpstrongapa01 to account for task shifting. > > Thanks, I checked it in. > > -- > embedded brains