[PATCH v2] eng: Update the python template, add a shell template

2020-08-31 Thread chrisj
From: Chris Johns --- eng/coding-file-hdr.rst | 65 ++--- 1 file changed, 61 insertions(+), 4 deletions(-) diff --git a/eng/coding-file-hdr.rst b/eng/coding-file-hdr.rst index cda631a..7a98796 100644 --- a/eng/coding-file-hdr.rst +++ b/eng/coding-file-hdr.rst

[PATCH] user: Add xilinx-zynq BSP details

2020-09-07 Thread chrisj
From: Chris Johns --- user/bsps/arm/xilinx-zynq.rst | 114 +- 1 file changed, 112 insertions(+), 2 deletions(-) diff --git a/user/bsps/arm/xilinx-zynq.rst b/user/bsps/arm/xilinx-zynq.rst index 909b23e..365c336 100644 --- a/user/bsps/arm/xilinx-zynq.rst +++ b/user

[PATCH] tester: Add support for test-too-long

2020-09-08 Thread chrisj
From: Chris Johns - A test that loops generating output did not timeout. Monitor the the session time and set a maximum test period. --- tester/rt/config.py | 45 + tester/rt/exe.py| 172 tester/rt/gdb.py| 11

[PATCH master 2/4] waf: Add a config report

2020-09-14 Thread chrisj
From: Chris Johns --- builder.py | 81 + freebsd-to-rtems.py | 40 ++ 2 files changed, 85 insertions(+), 36 deletions(-) diff --git a/builder.py b/builder.py index 83672935..79cb6c17 100755 --- a/builder.py +++ b/builder.p

[PATCH master 3/4] build: Separate the kernel and user land include paths

2020-09-14 Thread chrisj
From: Chris Johns - Provide support for separate user and kernel include paths in libbsd.py. - Update all added files with a suitable context to build them with. Supported contexts are `kernel` and `user`. - Kernel source use the kernel, CPU, and build header paths in this order. - User

[PATCH 6-freebsd-12 4/4] waf: Implement module dependency checking in the build system

2020-09-14 Thread chrisj
From: Chris Johns - Do not build a test if a dependency is not enabled. - Perform a dependency check and generate an error if an enabled module depends on a disabled module. Closes #4077 --- builder.py | 114 +--- freebsd-to-rtems.py | 1 +

[PATCH master 4/4] waf: Implement module dependency checking in the build system

2020-09-14 Thread chrisj
From: Chris Johns - Do not build a test if a dependency is not enabled. - Perform a dependency check and generate an error if an enabled module depends on a disabled module. Closes #4077 --- builder.py | 114 +--- freebsd-to-rtems.py | 1 +

[PATCH 6-freebsd-12 1/4] waf: Reformat to PEP8 using yapf

2020-09-14 Thread chrisj
From: Chris Johns --- builder.py| 458 -- waf_libbsd.py | 239 +- wscript | 155 ++--- 3 files changed, 508 insertions(+), 344 deletions(-) diff --git a/builder.py b/builder.py index f5fe2afc..09c51d1b

[PATCH 6-freebsd-12 3/4] build: Separate the kernel and user land include paths

2020-09-14 Thread chrisj
From: Chris Johns - Provide support for separate user and kernel include paths in libbsd.py. - Update all added files with a suitable context to build them with. Supported contexts are `kernel` and `user`. - Kernel source use the kernel, CPU, and build header paths in this order. - User

[PATCH 6-freebsd-12 2/4] waf: Add a config report

2020-09-14 Thread chrisj
From: Chris Johns --- builder.py | 81 + freebsd-to-rtems.py | 40 ++ 2 files changed, 85 insertions(+), 36 deletions(-) diff --git a/builder.py b/builder.py index 09c51d1b..9dfe373f 100755 --- a/builder.py +++ b/builder.p

[PATCH master 1/4] waf: Reformat to PEP8 using yapf

2020-09-14 Thread chrisj
From: Chris Johns --- builder.py| 458 -- waf_libbsd.py | 239 +- wscript | 152 ++--- 3 files changed, 505 insertions(+), 344 deletions(-) diff --git a/builder.py b/builder.py index 0eda461f..83672935

RTEMS Release Snapshot: 5.0.0-m1912 (05 Dec 2019)

2019-12-04 Thread chrisj
RTEMS Release Build - 5.0.0-m1912 RTEMS 5 Release snapshot m1912 is avaliable for testing. It can be found at: https://ftp.rtems.org/pub/rtems/releases/5/5.0.0/5.0.0-m1912 Please test and report any issues to the u...@rtems.org or devel@rtems.org mailing lists or please raise a ticket. If you

[PATCH] Add a C++ thread with attributes

2019-12-09 Thread chrisj
Hi, This patch adds C++ thread support that is similar to the standard C++ std::thread class however it has attributes so you can control a thread priority, stack size and

[PATCH] cpukit/librcxx: Add a C++ thread interface with attributes

2019-12-09 Thread chrisj
From: Chris Johns --- cpukit/include/rtems/c++/error| 65 +++ cpukit/include/rtems/c++/thread | 469 ++ cpukit/librcxx/error.cc | 76 +++ cpukit/librcxx/thread.cc | 414 .../cpukit/RTEMS-B

[PATCH v2] cpukit/librcxx: Add a C++ thread interface with attributes

2019-12-12 Thread chrisj
From: Chris Johns --- cpukit/include/rtems/c++/error| 65 +++ cpukit/include/rtems/c++/thread | 469 ++ cpukit/librtemscxx/error.cc | 76 +++ cpukit/librtemscxx/thread.cc | 414 .../cpukit/RTEMS-B

[PATCH v3] cpukit/librcxx: Add a C++ thread interface with attributes

2019-12-12 Thread chrisj
From: Chris Johns --- cpukit/include/rtems/c++/error| 65 +++ cpukit/include/rtems/c++/thread | 469 ++ cpukit/librtemscxx/error.cc | 76 +++ cpukit/librtemscxx/thread.cc | 414 .../cpukit/RTEMS-B

[PATCH 2/2] libcsupport: Update rtems_print printk handler to return the length

2019-12-12 Thread chrisj
From: Chris Johns --- cpukit/libcsupport/src/printk_plugin.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cpukit/libcsupport/src/printk_plugin.c b/cpukit/libcsupport/src/printk_plugin.c index 9676b83978..b45a781636 100644 --- a/cpukit/libcsupport/src/printk_plugin.c +++

[PATCH 1/2] libmisc/top: Fix the idle time and priorities on SMP

2019-12-12 Thread chrisj
From: Chris Johns - This patch is based on the patch attached to #3552 submitted by jameszxj. Closes #3552 --- cpukit/libmisc/cpuuse/cpuusagetop.c | 21 +++-- 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/cpukit/libmisc/cpuuse/cpuusagetop.c b/cpukit/libmisc/c

[PATCH v3] libmisc/top: Fix the idle time and priorities on SMP

2019-12-15 Thread chrisj
From: Chris Johns - This patch is based on the patch attached to #3552 submitted by jameszxj. Closes #3552 --- cpukit/libmisc/cpuuse/cpuusagetop.c | 38 - 1 file changed, 27 insertions(+), 11 deletions(-) diff --git a/cpukit/libmisc/cpuuse/cpuusagetop.c b/cpukit/

[PATCH] freebsd: Fix GDB building on some 12 and higher versions

2020-01-20 Thread chrisj
From: Chris Johns --- source-builder/config/gdb-common-1.cfg | 10 ++ source-builder/sb/freebsd.py | 4 +++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/source-builder/config/gdb-common-1.cfg b/source-builder/config/gdb-common-1.cfg index 40cba4b..5847f11 1

RTEMS Release Snapshot: 5.0.0-m2002 (06 Feb 2020)

2020-02-05 Thread chrisj
RTEMS Release Build - 5.0.0-m2002 RTEMS 5 Release snapshot m2002 is avaliable for testing. It can be found at: https://ftp.rtems.org/pub/rtems/releases/5/5.0.0/5.0.0-m2002 Please test and report any issues to the u...@rtems.org or devel@rtems.org mailing lists or please raise a ticket. If you

[PATCH 1/2] rtems/5: Update to gdb-9.1

2020-02-10 Thread chrisj
From: Chris Johns - This version fixes build issues on Windows (MinGW64) --- rtems/config/5/rtems-default.bset | 2 +- rtems/config/tools/rtems-gdb-9.1-1.cfg | 12 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 rtems/config/tools/rtems-gdb-9.1-1.cfg diff

[PATCH 2/2] windows: Use GNU tar to unpack source

2020-02-10 Thread chrisj
From: Chris Johns - The bsdtar command does not handle symlinks cleanly, GNU tar does Closes #3868 --- source-builder/sb/windows.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source-builder/sb/windows.py b/source-builder/sb/windows.py index 199a6b8..1eb51a0 100644 --- a

[PATCH] testsuite/newlib: Check newlib does not touch an assigned std FILE pointer

2020-02-13 Thread chrisj
From: Chris Johns Update #3870 --- testsuites/libtests/newlib01/init.c | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/testsuites/libtests/newlib01/init.c b/testsuites/libtests/newlib01/init.c index 74e648799e..1bff052363 100644 --- a/testsuites/libtests/new

[PATCH v2] testsuite/newlib: Check newlib does not touch an assigned std FILE pointer

2020-02-16 Thread chrisj
From: Chris Johns Update #3870 --- testsuites/libtests/newlib01/init.c | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/testsuites/libtests/newlib01/init.c b/testsuites/libtests/newlib01/init.c index 74e648799e..1bff052363 100644 --- a/testsuites/libtests/new

[PATCH v3] testsuite/newlib: Check newlib does not touch an assigned std FILE pointer

2020-02-16 Thread chrisj
From: Chris Johns Update #3870 --- testsuites/libtests/newlib01/init.c | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/testsuites/libtests/newlib01/init.c b/testsuites/libtests/newlib01/init.c index 74e648799e..a9581b3570 100644 --- a/testsuites/libtests/n

[PATCH] libmisc/shell: Fix the handling of joel scripts in telnet

2020-02-16 Thread chrisj
From: Chris Johns - Fix the passing of std[in/out] to child threads - Fix deleting of managed memory in the key destructor - Only set the key in the main loop thread - Only allocate a shell env outside of the main loop - Work around #3970 - Fix memory leak if the task start fails - Remove error l

[PATCH] user/tools: Add RTEMS TFTP Proxy command documentation

2020-02-17 Thread chrisj
From: Chris Johns --- images/user/tftp-proxy-1.png | Bin 0 -> 15339 bytes images/user/tftp-proxy-1.puml | 34 +++ user/testing/tftp.rst | 2 + user/tools/boot-image.rst | 2 +- user/tools/index.rst | 1 + user/tools/tftp-proxy.rst | 166 +

[4.11 PATCH] libcsupport/newlib: Call newlib's __sinit to force reent initialisation

2020-02-17 Thread chrisj
From: Chris Johns - Newlib overtites any FILE pointers set in stdin, stdout or stderr. Closes #3870 --- cpukit/libcsupport/src/newlibc_reent.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cpukit/libcsupport/src/newlibc_reent.c b/cpukit/libcsupport/src/newlibc_reent.c

[4.11 PATCH] libmisc/shell: Fix the handling of joel scripts in telnet

2020-02-17 Thread chrisj
From: Chris Johns - Fix the passing of std[in/out] to child threads - Fix deleting of managed memory in the key destructor - Only set the key in the main loop thread - Only allocate a shell env outside of the main loop - Fix memory leak if the task start fails - Remove error level from shell env,

[4.11 PATCH v2] libcsupport/newlib: Call newlib's __sinit to force reent initialisation

2020-02-19 Thread chrisj
From: Chris Johns - Newlib overtites any FILE pointers set in stdin, stdout or stderr. Closes #3870 --- cpukit/libcsupport/src/newlibc_reent.c | 5 - testsuites/libtests/newlib01/init.c| 8 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/cpukit/libcsupport/src/ne

[4.11 PATCH v2] libmisc/shell: Fix the handling of joel scripts in telnet

2020-02-19 Thread chrisj
From: Chris Johns - Fix the passing of std[in/out] to child threads - Fix deleting of managed memory in the key destructor - Only set the key in the main loop thread - Only allocate a shell env outside of the main loop - Fix memory leak if the task start fails - Remove error level from shell env,

[PATCH] rtems_waf: Update to master (096372fc4504)

2020-02-27 Thread chrisj
From: Chris Johns Updates #3888 --- rtems_waf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtems_waf b/rtems_waf index 1b896361..096372fc 16 --- a/rtems_waf +++ b/rtems_waf @@ -1 +1 @@ -Subproject commit 1b896361d302aeda0145af90972aea863e28898f +Subproject commit 09637

[PATCH-libbsd-5-freebsd-12] rtems_waf: Update to master (096372fc4504)

2020-02-27 Thread chrisj
From: Chris Johns Closes #3888 --- rtems_waf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtems_waf b/rtems_waf index 1b896361..096372fc 16 --- a/rtems_waf +++ b/rtems_waf @@ -1 +1 @@ -Subproject commit 1b896361d302aeda0145af90972aea863e28898f +Subproject commit 096372

RTEMS Release Snapshot: 5.0.0-m2003 (03 Mar 2020)

2020-03-03 Thread chrisj
RTEMS Release Build - 5.0.0-m2003 RTEMS 5 Release snapshot m2003 is avaliable for testing. It can be found at: https://ftp.rtems.org/pub/rtems/releases/5/5.0.0/5.0.0-m2003 Please test and report any issues to the u...@rtems.org or devel@rtems.org mailing lists or please raise a ticket. If you

[PATCH] waf: Change the test configure check for libdebugger to it's lib

2020-03-05 Thread chrisj
From: Chris Johns - Add support for a 'test-if-library' - Use rtems_waf's 'test_application()' fragment in the check_cc call Closes #3948 --- builder.py| 30 +++--- libbsd.py | 4 ++-- waf_libbsd.py | 28 +--- 3 files changed, 50 inser

[PATCH] Update Quick Start Guide

2020-03-11 Thread chrisj
Hi These patches update the Quick Start Guide to support released source packages, RSB built BSP and an application. Also included is a change to getting the version from the version.py as parts. You can review the changes at ... https://ftp.rtems.org/pub/rtems/people/chrisj/docs/ Chris

[PATCH 4/4] waf: Get the version numbers from the version file.

2020-03-11 Thread chrisj
From: Chris Johns --- common/conf.py| 15 --- common/version.py | 25 - common/waf.py | 5 - wscript | 3 +++ 4 files changed, 43 insertions(+), 5 deletions(-) diff --git a/common/conf.py b/common/conf.py index fe44640..97f8dfa 100644

[PATCH 2/4] sphinx: Add a custom highlight colour

2020-03-11 Thread chrisj
From: Chris Johns Update #2998 --- common/_static/my-styles.css | 5 + 1 file changed, 5 insertions(+) diff --git a/common/_static/my-styles.css b/common/_static/my-styles.css index 7040e75..bc67c33 100644 --- a/common/_static/my-styles.css +++ b/common/_static/my-styles.css @@ -29,6 +29,11

[PATCH 1/4] user: Update Quick Start Guide

2020-03-11 Thread chrisj
From: Chris Johns - Add support for release source archives - Add building the BSP using the RSB - Add building packages using the RSB - Add an application Closes #2998 --- user/index.rst | 2 +- user/start/app.rst | 245 +++- user/start/b

[PATCH 3/4] user: Add anchors to some BSPs.

2020-03-11 Thread chrisj
From: Chris Johns --- user/bsps/arm/beagle.rst | 6 ++ user/bsps/bsps-sparc.rst | 9 + 2 files changed, 15 insertions(+) diff --git a/user/bsps/arm/beagle.rst b/user/bsps/arm/beagle.rst index fe2dc6f..489e756 100644 --- a/user/bsps/arm/beagle.rst +++ b/user/bsps/arm/beagle.rst @@ -2

[PATCH] user: Add a migration chapter

2020-03-12 Thread chrisj
From: Chris Johns This is a start with the hope we collect useful pieces to aid porting. Please add to this. Closes #3895 --- user/index.rst | 2 + user/migration/index.rst | 17 ++ user/migration/v4_11-to-v5.rst | 96 ++ 3 files change

RTEMS Release Snapshot: 5.0.0-m2004 (02 Apr 2020)

2020-04-02 Thread chrisj
RTEMS Release Build - 5.0.0-m2004 RTEMS 5 Release snapshot m2004 is avaliable for testing. It can be found at: https://ftp.rtems.org/pub/rtems/releases/5/5.0.0/5.0.0-m2004 Please test and report any issues to the u...@rtems.org or devel@rtems.org mailing lists or please raise a ticket. If you

[PATCH] Add a release procedure section.

2020-04-03 Thread chrisj
option of a release URL can be provided to create a test or deploy-able + release. The URL is a base path the RSB uses to download the release source + files from: + + .. code-block:: none + +./rtems-release \ +-u https://ftp.rtems.org/pub/rtems/people/chrisj/releases \ +5 0

[PATCH v2] libmisc/shell: Fix the handling of joel scripts in telnet

2020-04-14 Thread chrisj
From: Chris Johns - Fix the passing of std[in/out] to child threads - Fix deleting of managed memory in the key destructor - Only set the key in the main loop thread - Only allocate a shell env outside of the main loop - Fix memory leak if the task start fails - Remove error level from shell env,

[PATCH 4.11] libmisc/shell: Updating joel script handling fixes from RTEMS 5

2020-04-14 Thread chrisj
From: Chris Johns Updates #3877 --- cpukit/libmisc/shell/shell.c | 183 ++- 1 file changed, 116 insertions(+), 67 deletions(-) diff --git a/cpukit/libmisc/shell/shell.c b/cpukit/libmisc/shell/shell.c index 12be9cf3d1..e87a79dfaa 100644 --- a/cpukit/libmisc/shell/

[PATCH] bsp: Remove fatal from exit(0). Add extended heap error output

2021-07-20 Thread chrisj
From: Chris Johns --- bsps/shared/start/bspfatal-default.c | 53 +--- 1 file changed, 49 insertions(+), 4 deletions(-) diff --git a/bsps/shared/start/bspfatal-default.c b/bsps/shared/start/bspfatal-default.c index 0289dbda63..5e93b21b04 100644 --- a/bsps/shared/start/bs

[PATCH rtems.git v2] bsp: Remove fatal from exit(0). Add extended heap error output

2021-07-21 Thread chrisj
From: Chris Johns --- bsps/shared/start/bspfatal-default.c | 83 +++- 1 file changed, 70 insertions(+), 13 deletions(-) diff --git a/bsps/shared/start/bspfatal-default.c b/bsps/shared/start/bspfatal-default.c index 0289dbda63..84ca7e5cee 100644 --- a/bsps/shared/start/b

[PATCH rtems-libbsd.nfs 3/4] sys/netinet/libalias: Fix symbols clashes

2021-07-27 Thread chrisj
From: Chris Johns Update #4475 --- freebsd/sys/netinet/libalias/alias_cuseeme.c | 3 +++ freebsd/sys/netinet/libalias/alias_dummy.c | 4 +++- freebsd/sys/netinet/libalias/alias_ftp.c | 3 +++ freebsd/sys/netinet/libalias/alias_irc.c | 3 +++ freebsd/sys/netinet/libalias/alias_nbt.c

[PATCH rtems-libbsd.nfs 2/4] waf: Fix clashing symbols in the user land symbols

2021-07-27 Thread chrisj
From: Chris Johns Update #4475 --- libbsd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libbsd.py b/libbsd.py index 09a1fbc4..2318e470 100644 --- a/libbsd.py +++ b/libbsd.py @@ -5019,7 +5019,7 @@ class dhcpcd(builder.Module): 'dhcpcd/compat/pselect.c',

[PATCH rtems-libbsd.nfs 4/4] kern-symbols: Add symbols from the everything build set

2021-07-27 Thread chrisj
From: Chris Johns - Minor fix to rtems-kern-symbols Update #4475 --- rtems-kern-symbols| 2 +- .../machine/rtems-bsd-kernel-namespace.h | 127 ++ 2 files changed, 128 insertions(+), 1 deletion(-) diff --git a/rtems-kern-symbols b/rtems-kern-sy

libbsd: Add kerel trace support

2021-07-27 Thread chrisj
This patch set addis trace support, a lockmgr and proc0 to libbsd. The patch set is part of adding NFSv4 to libbsd. This involves adding VFS and refactoring the syscall interfaces and tracing is an important part of the long term maintenance of these features. Part of this is adding a proc0. RTEM

[PATCH rtems-libbsd 2/7] testsuite: Optionally allow all command in a shell

2021-07-27 Thread chrisj
From: Chris Johns Update #4475 --- testsuite/include/rtems/bsd/test/default-network-init.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testsuite/include/rtems/bsd/test/default-network-init.h b/testsuite/include/rtems/bsd/test/default-network-init.h index ce1fc015..fffb739c 100644 ---

[PATCH rtems-libbsd 1/7] rtemsbsd: Catch timeout overflows

2021-07-27 Thread chrisj
From: Chris Johns Update #4475 --- rtemsbsd/rtems/rtems-kernel-timesupport.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/rtemsbsd/rtems/rtems-kernel-timesupport.c b/rtemsbsd/rtems/rtems-kernel-timesupport.c index ef14d1fa..5d290d66 100644 --- a/rtemsbsd/rtems/rtem

[PATCH rtems-libbsd 3/7] sys/kern: Add lockmgr support

2021-07-27 Thread chrisj
From: Chris Johns - See `man lockmgr` - Implement the lock_object and move the RTEMS mutex to that object - Add debug support to track the locks with gdb Update #4475 --- freebsd/sys/sys/_lock.h | 10 +- freebsd/sys/sys/_lockmgr.h| 6 + freebsd/sys

[PATCH rtems-libbsd 4/7] kern: Import kern_prot.c fnd kern_resource.c for proc0

2021-07-27 Thread chrisj
From: Chris Johns Update #4475 --- freebsd/sys/kern/kern_prot.c | 2247 ++ freebsd/sys/kern/kern_resource.c | 1539 2 files changed, 3786 insertions(+) create mode 100644 freebsd/sys/kern/kern_prot.c create mode 100644 freebsd/sys/kern/kern_

[PATCH rtems-libbsd 5/7] kern: Add a proc0

2021-07-27 Thread chrisj
From: Chris Johns - Provides the thread's proc pointer and with that access to creds Update #4475 --- freebsd/sys/kern/init_main.c | 4 +++ freebsd/sys/kern/kern_prot.c | 45 ++-- freebsd/sys/kern/kern_resource.c | 12 +++ freebsd/sys/sys/proc.h

[PATCH rtems-libbsd 6/7] kern: Import kern_ktr.c

2021-07-27 Thread chrisj
From: Chris Johns Update #4475 --- freebsd/sys/kern/kern_ktr.c | 476 1 file changed, 476 insertions(+) create mode 100644 freebsd/sys/kern/kern_ktr.c diff --git a/freebsd/sys/kern/kern_ktr.c b/freebsd/sys/kern/kern_ktr.c new file mode 100644 index

[PATCH rtems-libbsd 7/7] kern: Add kernel trace support (KTR)

2021-07-27 Thread chrisj
From: Chris Johns Update #4475 --- README.md | 9 + freebsd/sys/kern/kern_intr.c | 6 ++ freebsd/sys/kern/kern_ktr.c| 14 +++--- freebsd/sys/kern/kern_synch.c | 10 ++ freebsd/sys/kern/subr_

[PATCH rtems-libbsd v2 3/4] sys/netinet/libalias: Fix symbols clashes

2021-07-27 Thread chrisj
From: Chris Johns Update #4475 --- freebsd/sys/netinet/libalias/alias_cuseeme.c | 3 +++ freebsd/sys/netinet/libalias/alias_dummy.c | 4 +++- freebsd/sys/netinet/libalias/alias_ftp.c | 3 +++ freebsd/sys/netinet/libalias/alias_irc.c | 3 +++ freebsd/sys/netinet/libalias/alias_nbt.c

[PATCH rtems-libbsd v2 2/4] waf: Fix clashing symbols in the user land symbols

2021-07-27 Thread chrisj
From: Chris Johns Update #4475 --- libbsd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libbsd.py b/libbsd.py index 09a1fbc4..2318e470 100644 --- a/libbsd.py +++ b/libbsd.py @@ -5019,7 +5019,7 @@ class dhcpcd(builder.Module): 'dhcpcd/compat/pselect.c',

[PATCH rtems-libbsd v2 4/4] kern-symbols: Add symbols from the everything build set

2021-07-27 Thread chrisj
From: Chris Johns Update #4475 --- .../machine/rtems-bsd-kernel-namespace.h | 127 ++ 1 file changed, 127 insertions(+) diff --git a/rtemsbsd/include/machine/rtems-bsd-kernel-namespace.h b/rtemsbsd/include/machine/rtems-bsd-kernel-namespace.h index 108709ce..76e76b58 10064

[PATCH rtems-libbsd v3 2/4] waf: Fix clashing symbols in the user land symbols

2021-07-27 Thread chrisj
From: Chris Johns Update #4475 --- libbsd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libbsd.py b/libbsd.py index 09a1fbc4..2318e470 100644 --- a/libbsd.py +++ b/libbsd.py @@ -5019,7 +5019,7 @@ class dhcpcd(builder.Module): 'dhcpcd/compat/pselect.c',

[PATCH rtems-libbsd v3 3/4] sys/netinet/libalias: Fix symbols clashes

2021-07-27 Thread chrisj
From: Chris Johns Update #4475 --- freebsd/sys/netinet/libalias/alias_cuseeme.c | 3 +++ freebsd/sys/netinet/libalias/alias_dummy.c | 4 +++- freebsd/sys/netinet/libalias/alias_ftp.c | 3 +++ freebsd/sys/netinet/libalias/alias_irc.c | 3 +++ freebsd/sys/netinet/libalias/alias_nbt.c

[PATCH rtems-libbsd v3 4/4] kern-symbols: Add symbols from the everything build set

2021-07-27 Thread chrisj
From: Chris Johns Update #4475 --- .../machine/rtems-bsd-kernel-namespace.h | 127 ++ 1 file changed, 127 insertions(+) diff --git a/rtemsbsd/include/machine/rtems-bsd-kernel-namespace.h b/rtemsbsd/include/machine/rtems-bsd-kernel-namespace.h index 108709ce..76e76b58 10064

[PATCH rtems-libbsd v4] NFSv4 Patches

2021-08-04 Thread chrisj
Hi, This the first group of patches for the NFSv4 port. This is the only part of the patches posted to devel, the complete series of patches can be downloaded from: https://ftp.rtems.org/pub/rtems/people/chrisj/nfsv4/patches/4/ I have pushed the patch series to my personal repo: https

[PATCH rtems-libbsd v4 02/19] waf: Fix clashing symbols in the user land symbols

2021-08-04 Thread chrisj
From: Chris Johns Update #4475 --- libbsd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libbsd.py b/libbsd.py index 09a1fbc4..2318e470 100644 --- a/libbsd.py +++ b/libbsd.py @@ -5019,7 +5019,7 @@ class dhcpcd(builder.Module): 'dhcpcd/compat/pselect.c',

[PATCH rtems-libbsd v4 03/19] sys/netinet/libalias: Fix symbols clashes

2021-08-04 Thread chrisj
From: Chris Johns Update #4475 --- freebsd/sys/netinet/libalias/alias_cuseeme.c | 3 +++ freebsd/sys/netinet/libalias/alias_dummy.c | 4 +++- freebsd/sys/netinet/libalias/alias_ftp.c | 3 +++ freebsd/sys/netinet/libalias/alias_irc.c | 3 +++ freebsd/sys/netinet/libalias/alias_nbt.c

[PATCH rtems-libbsd v4 04/19] kern-symbols: Add symbols from the everything build set

2021-08-04 Thread chrisj
From: Chris Johns Update #4475 --- .../machine/rtems-bsd-kernel-namespace.h | 127 ++ 1 file changed, 127 insertions(+) diff --git a/rtemsbsd/include/machine/rtems-bsd-kernel-namespace.h b/rtemsbsd/include/machine/rtems-bsd-kernel-namespace.h index 70bcd29a..293c6115 10064

[PATCH rtems-libbsd v4 06/19] rtemsbsd: Catch timeout overflows

2021-08-04 Thread chrisj
From: Chris Johns Update #4475 --- rtemsbsd/rtems/rtems-kernel-timesupport.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/rtemsbsd/rtems/rtems-kernel-timesupport.c b/rtemsbsd/rtems/rtems-kernel-timesupport.c index ef14d1fa..bc2e7b9f 100644 --- a/rtemsbsd/r

[PATCH rtems-libbsd v4 07/19] testsuite: Optionally allow all command in a shell

2021-08-04 Thread chrisj
From: Chris Johns Update #4475 --- testsuite/include/rtems/bsd/test/default-network-init.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testsuite/include/rtems/bsd/test/default-network-init.h b/testsuite/include/rtems/bsd/test/default-network-init.h index ce1fc015..fffb739c 100644 ---

[PATCH rtems-libbsd v4 08/19] sys/kern: Add lockmgr support

2021-08-04 Thread chrisj
From: Chris Johns - See `man lockmgr` - Implement the lock_object and move the RTEMS mutex to that object - Add debug support to track the locks with gdb Update #4475 --- freebsd/sys/kern/subr_lock.c | 2 - freebsd/sys/sys/_lock.h | 10 +- freebsd/sys

[PATCH rtems-libbsd v4 09/19] kern: Import kern_prot.c fnd kern_resource.c for proc0

2021-08-04 Thread chrisj
From: Chris Johns Update #4475 --- freebsd/sys/kern/kern_prot.c | 2247 ++ freebsd/sys/kern/kern_resource.c | 1539 2 files changed, 3786 insertions(+) create mode 100644 freebsd/sys/kern/kern_prot.c create mode 100644 freebsd/sys/kern/kern_

[PATCH rtems-libbsd v4 11/19] kern: Import kern_ktr.c

2021-08-04 Thread chrisj
From: Chris Johns Update #4475 --- freebsd/sys/kern/kern_ktr.c | 476 1 file changed, 476 insertions(+) create mode 100644 freebsd/sys/kern/kern_ktr.c diff --git a/freebsd/sys/kern/kern_ktr.c b/freebsd/sys/kern/kern_ktr.c new file mode 100644 index

[PATCH rtems-libbsd v4 12/19] kern: Add kernel trace support (KTR)

2021-08-04 Thread chrisj
From: Chris Johns Update #4475 --- README.md | 9 + freebsd/sys/kern/kern_intr.c | 6 ++ freebsd/sys/kern/kern_ktr.c| 14 +++--- freebsd/sys/kern/kern_synch.c | 10 ++ freebsd/sys/kern/subr_

Xilinx Zynq UART Driver Fixes

2021-08-17 Thread chrisj
Hi This patch fixes the receive on Zynq-7000 SoC hardware. My QEMU still does not want to receive anything but that could be my QEMU. I have tested it on Zynq custom hardware with a complete application and on a Zedboard running fileio. I would welcome Ultrascale testing and I will try the Versa

[PATCH rtems] arm/xilinx: Fix zynq-uart interrupt receive

2021-08-17 Thread chrisj
From: Chris Johns - Trigger on a single character entering the RX FIFO - Disable the RX timeout - Send up to a FIFO full of data --- bsps/include/dev/serial/zynq-uart.h | 1 + bsps/shared/dev/serial/zynq-uart-polled.c | 18 ++- bsps/shared/dev/serial/zynq-uart.c| 66

[PATCH] cpukit/mghttpd: Support all descriptors in select

2021-08-17 Thread chrisj
From: Chris Johns - Support all possible descriptors in a select call. Borrowed from Christain and his mDNS change in LibBSD - If select (or poll) fails pause for a bit rather than locking up in a hard loop --- cpukit/mghttpd/mongoose.c | 28 1 file changed, 28

[PATCH 1/2] tester: Count tester header errors

2021-09-05 Thread chrisj
From: Chris Johns - Remove the hard tester error and count the header errors. --- tester/rt/report.py | 17 + tester/rt/test.py | 7 +-- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/tester/rt/report.py b/tester/rt/report.py index 0e19edc..e808fce 100644

[PATCH 2/2] tester/zynqmp: Limit the restarts to 3

2021-09-05 Thread chrisj
From: Chris Johns --- tester/rtems/testing/bsps/xilinx_zynqmp_lp64_zu3eg.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tester/rtems/testing/bsps/xilinx_zynqmp_lp64_zu3eg.ini b/tester/rtems/testing/bsps/xilinx_zynqmp_lp64_zu3eg.ini index c4d091f..dff7d86 100644 --- a/tester/rtems/testi

[PATCH v2 1/5] tester/zynqmp: Limit the restarts to 3

2021-09-06 Thread chrisj
From: Chris Johns --- tester/rtems/testing/bsps/xilinx_zynqmp_lp64_zu3eg.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tester/rtems/testing/bsps/xilinx_zynqmp_lp64_zu3eg.ini b/tester/rtems/testing/bsps/xilinx_zynqmp_lp64_zu3eg.ini index c4d091f..dff7d86 100644 --- a/tester/rtems/testi

[PATCH v2 2/5] misc/tftprpoxy: Correctly scale the protocol timeout

2021-09-06 Thread chrisj
From: Chris Johns - Fix data decoding - Fix get MAC call --- misc/tools/tftpproxy.py | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/misc/tools/tftpproxy.py b/misc/tools/tftpproxy.py index c0aebb0..a388912 100644 --- a/misc/tools/tftpproxy.py +++ b/misc/tools/t

[PATCH v2 3/5] tester/telnet: Only reopen once a second

2021-09-06 Thread chrisj
From: Chris Johns - Limit the reopen to once a second - Make sure the socket is closed when reopening --- tester/rt/telnet.py | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tester/rt/telnet.py b/tester/rt/telnet.py index 4e5e84a..919aa86 100644 --- a/tester/rt/tel

[PATCH v2 4/5] tester: Count tester header errors

2021-09-06 Thread chrisj
From: Chris Johns - Remove the hard tester error and count the header errors. --- tester/rt/config.py | 2 +- tester/rt/report.py | 32 +++- tester/rt/test.py | 7 +-- 3 files changed, 29 insertions(+), 12 deletions(-) diff --git a/tester/rt/config.py b/teste

[PATCH v2 5/5] tester/tftp: Fix prptocol timeout handling

2021-09-06 Thread chrisj
From: Chris Johns - Change some of the notification messages --- tester/rt/tftp.py | 2 +- tester/rt/tftpserver.py | 28 ++-- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/tester/rt/tftp.py b/tester/rt/tftp.py index af5029a..49bdb29 100644 --- a/

[PATCH] tester/zynqmp: Simpify the reasons to reset

2021-09-06 Thread chrisj
From: Chris Johns - Only reset if the bootloader error is hardware related. --- tester/rtems/testing/bsps/xilinx_zynqmp_ilp32_zu3eg.ini | 2 +- tester/rtems/testing/bsps/xilinx_zynqmp_lp64_zu3eg.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tester/rtems/testing/bsps

V2 : Zynq/ZynqMP UART driver

2021-09-09 Thread chrisj
Hi, I have tested this version on zynq and zynqmp hardware and I am not seeing any issues. I was seeing lost data with the serial port connected to FreeBSD 13 running ser2net. After careful review iof the driver I ended up spinning up a RPi3 with Ubunutu and ser2net it working as expected and

[PATCH] arm/xilinx: Fix zynq-uart interrupt receive

2021-09-09 Thread chrisj
From: Chris Johns - Trigger on a single character entering the RX FIFO - Disable the RX timeout - Send up to a FIFO full of data --- bsps/include/dev/serial/zynq-uart.h | 1 + bsps/shared/dev/serial/zynq-uart-polled.c | 21 ++-- bsps/shared/dev/serial/zynq-uart.c| 66 +++

[PATCH 1/2] tester: Simplify the console data handling

2021-09-14 Thread chrisj
From: Chris Johns --- tester/rt/console.py | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/tester/rt/console.py b/tester/rt/console.py index 7e09bb9..13300da 100644 --- a/tester/rt/console.py +++ b/tester/rt/console.py @@ -109,7 +109,6 @@ class tty(console):

[PATCH 2/2] tester/tftp: Fxi recovery of timed out TFTP sessions

2021-09-14 Thread chrisj
From: Chris Johns - Add support to retry the tftp session if the target has not started - Add target handlers for the test directives to allow recovery on error --- tester/rt/config.py | 21 - tester/rt/exe.py| 12 +++ tester/rt/gdb.py| 12

V4 Zynq/ZynqMP UART driver

2021-09-14 Thread chrisj
Hi, This is version 4 of the UART driver changes. This change adds: - Wait for the TX FITO to empty and the TX state to be idle before setting the baudrate in the first open and setting the attributes. - Read any data in the RX FIFO. The change commit log highlights the purpose of the chang

[PATCH v4] arm/xilinx: Fix zynq-uart interrupt receive

2021-09-14 Thread chrisj
From: Chris Johns - Trigger on a single character entering the RX FIFO - Disable the RX timeout - Send up to a FIFO full of data --- bsps/include/dev/serial/zynq-uart.h | 1 + bsps/shared/dev/serial/zynq-uart-polled.c | 45 ++--- bsps/shared/dev/serial/zynq-uart.c| 78 ++

[PATCH] powerpc/motorola_powerpc: Map LibBSD bus space to the PCI base address

2021-09-17 Thread chrisj
From: Chris Johns --- bsps/powerpc/motorola_powerpc/include/bsp.h | 32 +++-- 1 file changed, 29 insertions(+), 3 deletions(-) diff --git a/bsps/powerpc/motorola_powerpc/include/bsp.h b/bsps/powerpc/motorola_powerpc/include/bsp.h index af0e71471e..7d362bf406 100644 --- a/bsps/p

[PATCH] libcsupport/mount: Return the error correctly

2021-09-17 Thread chrisj
From: Chris Johns Closes #4507 --- cpukit/libcsupport/src/mount.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cpukit/libcsupport/src/mount.c b/cpukit/libcsupport/src/mount.c index a4f6423c03..2caa8099c1 100644 --- a/cpukit/libcsupport/src/mount.c +++ b/cpukit/libcsupport/src/mount.c @@

[PATCH rtems-libbsd 5-freebsd-12 1/2] rtemsbsd/bus: Add PCI support to the nexus bus

2021-09-20 Thread chrisj
From: Chris Johns - Add PCI IO region support - Add support map buffers to PCI address space - Add BSP conditional IO space support. Some PC implementations have PCI IO space mapped differently to memory space and this needs to be reflected in the busspace. - Include bsp.h to pick per BSP

[PATCH rtems-libbsd 5-freebsd-12 2/2] bsp/motorola_powerpc: Add dc, ukphy and legacy PCI support

2021-09-20 Thread chrisj
From: Chris Johns - Add the dc net dev to the BSP - Add the ukphy support - Add PCI Legacy bus support to the PowerPC Closes #4514 --- freebsd/sys/dev/dc/if_dc.c | 7 +++ freebsd/sys/dev/dc/if_dcreg.h | 7 +++ libbsd.py

[PATCH rtems 5 2/2] powerpc/motorola_powerpc: Map LibBSD bus space to the PCI base address

2021-09-20 Thread chrisj
From: Chris Johns Closes #4516 --- bsps/powerpc/motorola_powerpc/include/bsp.h | 34 +++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/bsps/powerpc/motorola_powerpc/include/bsp.h b/bsps/powerpc/motorola_powerpc/include/bsp.h index 62e740272a..7d362bf406 100644

[PATCH rtems 5 1/2] powerpc/io: Make [out/in] le and be calls conditional

2021-09-20 Thread chrisj
From: Chris Johns - These calls clash with the Linux IO header in LibBSD. Making these conditional here means BSPs build and the imported Linux header is untouched. Updates #4245 --- bsps/powerpc/include/libcpu/io.h | 8 1 file changed, 8 insertions(+) diff --git a/bsps/powerpc/in

[PATCH rtems-tools 1/3] tester/exe: Adjust timeouts by the step size

2021-09-21 Thread chrisj
From: Chris Johns --- tester/rt/exe.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tester/rt/exe.py b/tester/rt/exe.py index 13b9686..626899e 100644 --- a/tester/rt/exe.py +++ b/tester/rt/exe.py @@ -116,12 +116,12 @@ class exe(object): def _monitor(self, timeou

[PATCH rtems-tools 2/3] tester/wait: Add a wait directive to the tester

2021-09-21 Thread chrisj
From: Chris Johns - Lets you test with stand alone TFTP or other services --- tester/rt/config.py | 27 +- tester/rt/wait.py | 154 ++ tester/rtems/testing/wait.cfg | 54 3 files changed, 233 insertions(+), 2 deletions(-)

<    1   2   3   4   5   6   7   >