Re: [PATCH rtems-libbsd v2 0/3] MicroBlaze AXI Ethernet Support

2022-02-23 Thread Sebastian Huber
On 23/02/2022 22:15, Alex White wrote: On Mon, Feb 14, 2022 at 7:40 AM Sebastian Huber wrote: On 10/02/2022 23:12, Alex White wrote: v2: - Reworked patches to follow CONTRIBUTING.md guide - Excluded unneeded vmem calls - Moved ethernet frame alignment handling to the network interface drive

Re: config, _IO_Initialize_all_drivers

2022-02-23 Thread Sebastian Huber
Hello Heinz, On 18/02/2022 17:18, Heinz Junkes wrote: I'm still trying to get the booting and registering and initialising of the i2c devices on the MVME3100 to work properly. In confdefs/iodrivers.h the driver address table is built up and then _IO_Initialize_all_drivers() is called without r

[PATCH 3/3] cpukit/libblock: Clean up before license change

2022-02-23 Thread Joel Sherrill
--- cpukit/libblock/src/nvdisk-sram.c | 6 -- cpukit/libblock/src/show_bdbuf.c | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/cpukit/libblock/src/nvdisk-sram.c b/cpukit/libblock/src/nvdisk-sram.c index aa6fe00977..ec99985090 100644 --- a/cpukit/libblock/src/nvdisk-sram

[PATCH 2/3] score/cpu/i386: Clean up file headers in prep for license change.

2022-02-23 Thread Joel Sherrill
--- cpukit/score/cpu/i386/cpu_asm.S| 7 +-- cpukit/score/cpu/i386/include/rtems/score/idtr.h | 4 ++-- cpukit/score/cpu/i386/include/rtems/score/interrupts.h | 4 ++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/cpukit/score/cpu/i386/cpu_asm.S b

[PATCH 1/3] score/src/schedulersimple*.c: Replace found in found in with found in

2022-02-23 Thread Joel Sherrill
Updates #3053. --- cpukit/score/src/schedulersimpleblock.c| 2 +- cpukit/score/src/schedulersimpleschedule.c | 2 +- cpukit/score/src/schedulersimpleunblock.c | 2 +- cpukit/score/src/schedulersimpleyield.c| 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cpukit/score

[PATCH 0/3] Clean up in anticipation of change to BSD-2 license

2022-02-23 Thread Joel Sherrill
Hi In reviewing files prior to changing the license to BSD-2, I noticed some files had issues in their file headers. It ranged from odd spacing to typos to comments in license/copyright blocks. There shouldn't be anything terribly controversial in these. --joel Joel Sherrill (3): score/src/s

[PATCH rtems-examples 23/23] file_io/crc/.gitignore misc/extract_example/.gitignore: New files

2022-02-23 Thread Joel Sherrill
--- file_io/crc/.gitignore | 5 + misc/extract_example/.gitignore | 1 + 2 files changed, 6 insertions(+) create mode 100644 file_io/crc/.gitignore create mode 100644 misc/extract_example/.gitignore diff --git a/file_io/crc/.gitignore b/file_io/crc/.gitignore new file mode 100644 i

[PATCH rtems-examples 22/23] ticker/low_ticker2: Fix warnings

2022-02-23 Thread Joel Sherrill
--- ticker/low_ticker2/init.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/ticker/low_ticker2/init.c b/ticker/low_ticker2/init.c index a687be9..f739f2a 100644 --- a/ticker/low_ticker2/init.c +++ b/ticker/low_ticker2/init.c @@ -16,20 +16,19 @@ rtems_task

[PATCH rtems-examples 21/23] ticker/low_ticker1: Fix warnings

2022-02-23 Thread Joel Sherrill
--- ticker/low_ticker1/init.c | 21 +++-- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/ticker/low_ticker1/init.c b/ticker/low_ticker1/init.c index 61bdcc6..f80961e 100644 --- a/ticker/low_ticker1/init.c +++ b/ticker/low_ticker1/init.c @@ -16,27 +16,26 @@ rtems_ta

[PATCH rtems-examples 19/23] misc/nanosecond_tick_wrap: Fix warnings

2022-02-23 Thread Joel Sherrill
--- misc/nanosecond_tick_wrap/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/nanosecond_tick_wrap/init.c b/misc/nanosecond_tick_wrap/init.c index fb6c003..f02b954 100644 --- a/misc/nanosecond_tick_wrap/init.c +++ b/misc/nanosecond_tick_wrap/init.c @@ -42,8 +42,

[PATCH rtems-examples 20/23] ticker/low_ticker: Fix warnings

2022-02-23 Thread Joel Sherrill
--- ticker/low_ticker/init.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/ticker/low_ticker/init.c b/ticker/low_ticker/init.c index b71e38c..fcb4b2a 100644 --- a/ticker/low_ticker/init.c +++ b/ticker/low_ticker/init.c @@ -17,10 +17,9 @@ rtems_task Test_t

[PATCH rtems-examples 18/23] misc/minimum/: Fix warnings

2022-02-23 Thread Joel Sherrill
--- classic_api/triple_period/init.c | 17 - classic_api/triple_period/tasks.c | 14 +- misc/minimum/test.c | 11 --- 3 files changed, 21 insertions(+), 21 deletions(-) diff --git a/classic_api/triple_period/init.c b/classic_api/triple_period/ini

[PATCH rtems-examples 17/23] classic_api/classic_signal: Fix warnings

2022-02-23 Thread Joel Sherrill
--- classic_api/classic_signal/test.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/classic_api/classic_signal/test.c b/classic_api/classic_signal/test.c index 098d464..c138177 100644 --- a/classic_api/classic_signal/test.c +++ b/classic_api/classic_signal/test.c @@ -33,9

[PATCH rtems-examples 10/23] led/event_server/init.c: Use names for events to reflect application intent

2022-02-23 Thread Joel Sherrill
--- led/event_server/init.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/led/event_server/init.c b/led/event_server/init.c index 90b0360..e9225d1 100644 --- a/led/event_server/init.c +++ b/led/event_server/init.c @@ -13,7 +13,11 @@ #include "../led.h"

[PATCH rtems-examples 16/23] benchmarks/nbench: Fix warnings

2022-02-23 Thread Joel Sherrill
--- benchmarks/nbench/main.c | 3 +-- benchmarks/nbench/nbench-byte-2.2.3/emfloat.c | 6 ++ benchmarks/nbench/nbench-byte-2.2.3/hardware.c | 4 benchmarks/nbench/nbench-byte-2.2.3/nbench0.c | 1 + benchmarks/nbench/nbench-byte-2.2.3/nbench1.c | 4 ++-- 5 files cha

[PATCH rtems-examples 11/23] Add User Driver Example

2022-02-23 Thread Joel Sherrill
--- misc/Makefile |2 +- misc/userdrv/Makefile | 20 + misc/userdrv/main.c | 100 ++ misc/userdrv/mainpage.h | 26 + misc/userdrv/rtems_config.c | 82 ++ misc/userdrv/userdrv.c | 254 + misc/userdrv/userdrv.cfg| 2280

[PATCH rtems-examples 15/23] posix_api/Makefile ticker/Makefile: Add missing examples

2022-02-23 Thread Joel Sherrill
--- posix_api/Makefile | 2 ++ ticker/Makefile| 7 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/posix_api/Makefile b/posix_api/Makefile index 586758a..80b3917 100644 --- a/posix_api/Makefile +++ b/posix_api/Makefile @@ -15,5 +15,7 @@ ifeq ($(RTEMS_HAS_POSIX_API),yes)

[PATCH rtems-examples 14/23] tracing: Add a special ticker variant to show tracing.

2022-02-23 Thread Joel Sherrill
This was complicating both_hello which was designed for another purpose entirely. --- hello/both_hello/hello-deep.ini | 47 -- hello/both_hello/hello.ini | 45 - hello/both_hello/wscript| 22 - ticker/ticker_trace/Makefile| 2

[PATCH rtems-examples 13/23] ticker_stackhk: Add variant which prints stack and cpu usage reports

2022-02-23 Thread Joel Sherrill
--- ticker/ticker_stackchk/Makefile | 23 + ticker/ticker_stackchk/init.c | 106 ticker/ticker_stackchk/wscript | 15 ++ ticker/wscript | 6 ++- 4 files changed, 149 insertions(+), 1 deletion(-) create mode 100644 ticker

[PATCH rtems-examples 12/23] Add POSIX task and thread restart examples.

2022-02-23 Thread Joel Sherrill
A POSIX thread must be detached to be able to restart it. --- posix_api/psx_task_restart/Makefile | 20 +++ posix_api/psx_task_restart/psx_task_restart.c | 158 ++ posix_api/psx_task_restart/rtems_config.c | 48 +++ posix_api/psx_task_restart/wsc

[PATCH rtems-examples 08/23] posix_api/psx_example_3/test3.c: Clean up and allow to build on Linux

2022-02-23 Thread Joel Sherrill
--- posix_api/psx_example_3/test3.c | 45 + 1 file changed, 32 insertions(+), 13 deletions(-) diff --git a/posix_api/psx_example_3/test3.c b/posix_api/psx_example_3/test3.c index d4d258b..705a0aa 100644 --- a/posix_api/psx_example_3/test3.c +++ b/posix_api/

[PATCH rtems-examples 09/23] led/delay/init.c: Use local variable for one second of ticks

2022-02-23 Thread Joel Sherrill
--- led/delay/init.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/led/delay/init.c b/led/delay/init.c index c965ae1..00cbc7e 100644 --- a/led/delay/init.c +++ b/led/delay/init.c @@ -16,22 +16,24 @@ rtems_task Init( rtems_task_argument argument ) { - rtems_st

[PATCH rtems-examples 07/23] classic_api/triple_period/tasks.c: Clean up formatting

2022-02-23 Thread Joel Sherrill
--- classic_api/triple_period/tasks.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/classic_api/triple_period/tasks.c b/classic_api/triple_period/tasks.c index b2aec61..0e29d0c 100644 --- a/classic_api/triple_period/tasks.c +++ b/classic_api/triple_period/tasks.c @@ -

[PATCH rtems-examples 06/23] cxx_throw/wscript: Fix comment

2022-02-23 Thread Joel Sherrill
--- cxx/cxx_throw/wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cxx/cxx_throw/wscript b/cxx/cxx_throw/wscript index f694614..05f418b 100644 --- a/cxx/cxx_throw/wscript +++ b/cxx/cxx_throw/wscript @@ -3,7 +3,7 @@ # This file's license is 2-clause BSD as in this distri

[PATCH rtems-examples 05/23] cxx_stdmap: Add example of using std::map with RTEMS

2022-02-23 Thread Joel Sherrill
--- cxx/Makefile | 6 +- cxx/cxx_stdmap/Makefile | 41 + cxx/cxx_stdmap/main.cc| 33 ++ cxx/cxx_stdmap/rtems_config.c | 47 +++ cxx/cxx_stdmap/wscript

[PATCH rtems-examples 04/23] psx_sched_report/rtems_config.c: Fix spacing

2022-02-23 Thread Joel Sherrill
--- posix_api/psx_sched_report/rtems_config.c | 1 + 1 file changed, 1 insertion(+) diff --git a/posix_api/psx_sched_report/rtems_config.c b/posix_api/psx_sched_report/rtems_config.c index fd0a0f8..6243cf0 100644 --- a/posix_api/psx_sched_report/rtems_config.c +++ b/posix_api/psx_sched_report/rt

[PATCH rtems-examples 03/23] psx_initial_sigmask: Add POSIX initial signal mask reporter

2022-02-23 Thread Joel Sherrill
--- posix_api/psx_initial_sigmask/Makefile | 20 + posix_api/psx_initial_sigmask/main.c | 125 +++ posix_api/psx_initial_sigmask/rtems_config.c | 48 ++ posix_api/psx_initial_sigmask/wscript| 15 4 files changed, 208 insertions(+)

[PATCH rtems-examples 02/23] psx_sigint: Add new example of POSIX signal and default mask

2022-02-23 Thread Joel Sherrill
--- posix_api/Makefile | 1 + posix_api/psx_sigint/Makefile | 20 posix_api/psx_sigint/main.c | 99 + posix_api/psx_sigint/rtems_config.c | 48 ++ posix_api/psx_sigint/wscript| 15 ++ posix_api

[PATCH rtems-examples 00/14] RTEMS Examples Clean Up

2022-02-23 Thread Joel Sherrill
Hi In using the examples in classes and writing examples for users, I have accumulated some changes. These changes cover a bit of territory. + Fix build issues + Address warnings + Fix issues from RTEMS updates + General clean up + Add some missing files to RTEMS Makefile build + Add

[PATCH rtems-examples 01/23] Conditionalize CONFIGURE_TERMIOS_DISABLE so the examples span versions

2022-02-23 Thread Joel Sherrill
--- misc/minimum/test.c | 11 +++ ticker/low_ticker/init.c | 7 +++ ticker/low_ticker1/init.c | 8 3 files changed, 26 insertions(+) diff --git a/misc/minimum/test.c b/misc/minimum/test.c index 49176f6..729ed3a 100644 --- a/misc/minimum/test.c +++ b/misc/minimum/test

Re: [PATCH rtems-libbsd v2 0/3] MicroBlaze AXI Ethernet Support

2022-02-23 Thread Alex White
On Mon, Feb 14, 2022 at 7:40 AM Sebastian Huber wrote: > > On 10/02/2022 23:12, Alex White wrote: > > v2: > > - Reworked patches to follow CONTRIBUTING.md guide > > - Excluded unneeded vmem calls > > - Moved ethernet frame alignment handling to the network interface driver > > > > This patch set

Re: [PATCH] spec/microblaze: Use configurable RAM size

2022-02-23 Thread Sebastian Huber
On 23/02/2022 17:14, Kinsey Moore wrote: When committed, the MicroBlaze RAM size was hard-coded to 16MB. This changes the default to 256MB and sets the KCU105 BSPs to 2GB since that is what the board has on it. Looks good. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchhe

Re: NTP client recommendation for RTEMS?

2022-02-23 Thread Joel Sherrill
On Wed, Feb 23, 2022 at 9:03 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 22/02/2022 21:25, Joel Sherrill wrote: > > > > > > On Tue, Feb 22, 2022, 1:45 PM Sebastian Huber > > > > wrote: > > > > On 22/02/2022 20:30, Joel Sherri

[PATCH] spec/microblaze: Use configurable RAM size

2022-02-23 Thread Kinsey Moore
When committed, the MicroBlaze RAM size was hard-coded to 16MB. This changes the default to 256MB and sets the KCU105 BSPs to 2GB since that is what the board has on it. --- .../bsps/microblaze/microblaze_fpga/grp.yml | 2 ++ .../microblaze/microblaze_fpga/linkcmds.yml | 2 +- .../microblaze

Re: NTP client recommendation for RTEMS?

2022-02-23 Thread Sebastian Huber
On 22/02/2022 21:25, Joel Sherrill wrote: On Tue, Feb 22, 2022, 1:45 PM Sebastian Huber > wrote: On 22/02/2022 20:30, Joel Sherrill wrote: > On Tue, Feb 22, 2022 at 1:21 PM Sebastian Huber > mailto:sebastian.hu...@embedded-brains.de>> 

Re: New validation test suites

2022-02-23 Thread Sebastian Huber
Hello Chris, I added a --diff option to the spec2modules.py script in rtems-central.git. You can now unpack a release archive of rtems-central.git and then do the following: 1. Unpack the RTEMS release archive to "modules/rtems". 2. Unpack the RTEMS documentation source release archive to "