Application Configuration Tests?

2019-12-05 Thread Sebastian Huber
Hello, we have about 147 documented configuration options (see attached file). We probably need a test case for the minimum, default, and maximum value. Some defines have boolean values. Lets assume three test cases per option. So, about 500 tests. Should we use full test programs which run o

Configuration Component or Configuration by Component

2019-12-05 Thread Sebastian Huber
Hello, I would like to use the RTEMS application configuration (confdefs.h) to start with the RTEMS specification. The reasons are: * At the bottom level it is quite simple, you evaluate C preprocessor defines and generated data structure initializations from it. * There is a great potentia

Re: [PATCH v5] Add new COPYING file

2019-12-05 Thread Sebastian Huber
Ping. On 19/12/2018 13:37, Sebastian Huber wrote: Update #3053. --- v2: Add Hesham Almatary: https://devel.rtems.org/ticket/3053#comment:6 v3: Add Jiri Gaisler: https://devel.rtems.org/ticket/3053#comment:7 I am not sure about the first contribution year. v4: Add GCI contributors: Abhim

SPDX License Identifier Only and Full Copy?

2019-12-05 Thread Sebastian Huber
Hello, should we use only the SPDX License Identifier and the list of copyrights for new or license converted files, e.g. /* * SPDX-License-Identifier: BSD-2-Clause * * Copyright (C) , */ or should we append in addition the full BSD-2-Clause text to the file headers? /* * SPDX-Licen

Re: Split up confdefs.h into multiple header files?

2019-12-05 Thread Sebastian Huber
On 05/12/2019 15:07, Joel Sherrill wrote: On Thu, Dec 5, 2019 at 7:56 AM Sebastian Huber > wrote: Hello, the next thing I would like to work on is a specification of the application configuration (e.g. confdefs.h defines). The conf

[PATCH] userext: Simplify configuration

2019-12-05 Thread Sebastian Huber
Avoid the use of the workspace and use statically allocated switch controls for the initial extensions. --- cpukit/include/rtems/confdefs.h | 28 +++- cpukit/include/rtems/config.h| 6 +++--- cpukit/include/rtems/score/userextdata.h | 7 +++ cpuki

Re: Split up confdefs.h into multiple header files?

2019-12-05 Thread Joel Sherrill
On Thu, Dec 5, 2019 at 7:56 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > Hello, > > the next thing I would like to work on is a specification of the > application configuration (e.g. confdefs.h defines). > > The confdefs.h header file is quite big and difficult to review. What

Split up confdefs.h into multiple header files?

2019-12-05 Thread Sebastian Huber
Hello, the next thing I would like to work on is a specification of the application configuration (e.g. confdefs.h defines). The confdefs.h header file is quite big and difficult to review. What do you think about splitting this file into smaller parts, so that confdefs.h consists of somethi

Re: [PATCH v2 0/3] bsp/xen: support for Xen hypervisor

2019-12-05 Thread Jeff Kubascik
On 12/5/2019 2:16 AM, Sebastian Huber wrote: > On 05/12/2019 07:36, Sebastian Huber wrote: >> Thanks, I check in the patch set. >> >> Should the BSP be renamed from "xen_virtual" to just "xen"? > > I changed the linker command file a bit and converted the BSP to the new > build system. It would be

Re: [PATCH v2 0/3] bsp/xen: support for Xen hypervisor

2019-12-05 Thread Jeff Kubascik
On 12/5/2019 1:36 AM, Sebastian Huber wrote: > Thanks, I check in the patch set. Excellent, thank you! > Should the BSP be renamed from "xen_virtual" to just "xen"? I was on the fence with this. This specific BSP is designed to be purely virtualized, with no dependence on the underlying hardware

Re: Zynq driver development strategy

2019-12-05 Thread Mathew Benson
I saw that. I already started with that. On Thu, Dec 5, 2019 at 12:32 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 05/12/2019 01:22, Chris Johns wrote: > > Is there SPI code in FreeBSD that can be used? That would be my > preferred path > > if it is available because it i

Re: Build FreeBSD: FAILED 6/rtems-sparc on x86_64-freebsd12.1 (sparc-rtems6-gdb-5085593976-x86_64-freebsd12.1-1)

2019-12-05 Thread Sebastian Huber
On 05/12/2019 09:14, Jiri Gaisler wrote: On 12/5/19 8:38 AM, Sebastian Huber wrote: On 04/12/2019 14:56,sebastian.hu...@embedded-brains.de wrote: ../../../sourceware-mirror-binutils-gdb-5085593976/sim/erc32/sis.c:36:10: fatal error: 'readline/readline.h' file not found #include "readline/read

Re: Build FreeBSD: FAILED 6/rtems-sparc on x86_64-freebsd12.1 (sparc-rtems6-gdb-5085593976-x86_64-freebsd12.1-1)

2019-12-05 Thread Jiri Gaisler
On 12/5/19 8:38 AM, Sebastian Huber wrote: > On 04/12/2019 14:56, sebastian.hu...@embedded-brains.de wrote: >> ../../../sourceware-mirror-binutils-gdb-5085593976/sim/erc32/sis.c:36:10: >> fatal error: 'readline/readline.h' file not found >> #include "readline/readline.h" > > This is the GDB buil

Re: Build FreeBSD: FAILED 6/rtems-sparc on x86_64-freebsd12.1 (sparc-rtems6-gdb-5085593976-x86_64-freebsd12.1-1)

2019-12-05 Thread Chris Johns
On 5/12/19 6:46 pm, Sebastian Huber wrote: > On 05/12/2019 08:38, Sebastian Huber wrote: >> On 04/12/2019 14:56, sebastian.hu...@embedded-brains.de wrote: >>> ../../../sourceware-mirror-binutils-gdb-5085593976/sim/erc32/sis.c:36:10: >>> fatal error: 'readline/readline.h' file not found >>> #include