[rtems-tools PATCH 2/2] test, rtemstoolkit: Fix regx escape errors on python 3.12

2024-04-18 Thread chrisj
From: Chris Johns --- tester/rt/pygdb/spark.py | 2 +- tester/rt/test.py| 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tester/rt/pygdb/spark.py b/tester/rt/pygdb/spark.py index 0eac365..b669998 100644 --- a/tester/rt/pygdb/spark.py +++

[rtems-tools PATCH 1/2] rtemstoolkit: Fix decoding unicode strings in output

2024-04-18 Thread chrisj
From: Chris Johns --- rtemstoolkit/execute.py | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/rtemstoolkit/execute.py b/rtemstoolkit/execute.py index 31d3a8a..c7d8134 100755 --- a/rtemstoolkit/execute.py +++ b/rtemstoolkit/execute.py @@ -37,6 +37,7 @@ from

[RSB PATCH] 6/rtems-gcc: Revert to the gcc-13 release branch for MacOS fixes

2024-04-13 Thread chrisj
From: Chris Johns Change back to gcc-13 branch and a git version as gcc-13.2 does not build on MacOS 14.4. The fixes are on the gcc-13 release branch. --- rtems/config/6/rtems-default.bset | 2 +- rtems/config/tools/rtems-gcc-13-newlib-head.cfg | 6 +++--- 2 files changed, 4

[RSB PATCH v3] sb: Add sb-rtems-pkg to update the RTEMS package hashes and checksums

2024-04-03 Thread chrisj
From: Chris Johns --- source-builder/sb-rtems-pkg | 29 source-builder/sb/download.py | 5 +- source-builder/sb/git.py | 12 ++ source-builder/sb/rtemspkg.py | 287 ++ 4 files changed, 332 insertions(+), 1 deletion(-) create mode 100755

v3 sb-rtems-pkg

2024-04-03 Thread chrisj
Hi I notice after sending v2 I had not implemented the options. These are now done in v3. Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

[RSB PATCH v2] sb: Add sb-rtems-pkg to update the RTEMS package hashes and checksums

2024-04-03 Thread chrisj
From: Chris Johns --- source-builder/sb-rtems-pkg | 29 source-builder/sb/download.py | 5 +- source-builder/sb/git.py | 12 ++ source-builder/sb/rtemspkg.py | 290 ++ 4 files changed, 335 insertions(+), 1 deletion(-) create mode 100755

[RSB PATCH] sb: Add sb-rtems-pkg to update the RTEMS package hashes and checksums

2024-04-02 Thread chrisj
From: Chris Johns --- source-builder/sb-rtems-pkg | 29 source-builder/sb/download.py | 5 +- source-builder/sb/git.py | 12 ++ source-builder/sb/rtemspkg.py | 279 ++ 4 files changed, 324 insertions(+), 1 deletion(-) create mode 100755

[RSB PATCH] rtems: Update RTEMS packages to their HEAD

2024-04-02 Thread chrisj
From: Chris Johns --- rtems/config/tools/rtems-kernel-6.cfg | 4 ++-- rtems/config/tools/rtems-libbsd-6.cfg | 4 ++-- rtems/config/tools/rtems-tools-6.cfg | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/rtems/config/tools/rtems-kernel-6.cfg

[rtems-docs PATCH] user: Automatic version number fixes

2023-12-18 Thread chrisj
From: Chris Johns Updates #4695 --- user/exe/initialization.rst| 3 +-- user/tracing/captureengine.rst | 20 ++-- user/tracing/examples.rst | 12 ++-- 3 files changed, 17 insertions(+), 18 deletions(-) diff --git a/user/exe/initialization.rst

[rtems-docs PATCH] sphinx/style: Fix building with the latest sphinx

2023-12-18 Thread chrisj
From: Chris Johns Tested on sphinx 7.2, 6.1.3 AND 5.3.0 Closes #4980 --- common/sphinx_rtd_theme_rtems/layout.html | 6 +- common/waf.py | 5 ++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/common/sphinx_rtd_theme_rtems/layout.html

[rtems-release PATCH] Update with RTEMS 6 changes

2023-12-13 Thread chrisj
From: Chris Johns --- rtems-release-4.10-conf | 2 ++ rtems-release-4.11-conf | 2 ++ rtems-release-5-conf| 2 ++ rtems-release-defaults | 2 ++ rtems-release-kernel

[rtems-tools PATCH] tester/console: Fix restart regx check

2023-12-13 Thread chrisj
From: Chris Johns The fix to the TFTP timeout has a simple bug. Updates #4959 --- tester/rt/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tester/rt/config.py b/tester/rt/config.py index 139e1fa..2361bc9 100644 --- a/tester/rt/config.py +++ b/tester/rt/config.py

[PATCH v3] libmisc/shell: Work around tmux bug in row and column

2023-12-12 Thread chrisj
From: Chris Johns - Extend the timeout to 150 msec for long remote sessions - Improve the performance of the detection Closes #4975 Closes #4977 --- cpukit/libmisc/shell/shell.c | 150 +-- 1 file changed, 125 insertions(+), 25 deletions(-) diff --git

[PATCH v2] libmisc/shell: Work around tmux bug in row and column

2023-12-12 Thread chrisj
From: Chris Johns - Extend the timeout to 150 msec for long remote sessions - Improve the performance of the detection Closes #4975 Closes #4977 --- cpukit/libmisc/shell/shell.c | 150 +-- 1 file changed, 125 insertions(+), 25 deletions(-) diff --git

[RSB PATCH 1/2] print/texinfo: Check the version and build if too old

2023-12-12 Thread chrisj
From: Chris Johns Packages like binutils need newer versions than available by default on MacOS. --- bare/config/print/texinfo.cfg | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/bare/config/print/texinfo.cfg b/bare/config/print/texinfo.cfg index 5fa0cba..63df197

[RSB PATCH 2/2] bare/or1ksim: Fix invalid hash and fix the version

2023-12-12 Thread chrisj
From: Chris Johns --- bare/config/devel/or1ksim-1.1.0.cfg | 6 +++--- source-builder/config/or1ksim-1-1.cfg | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/bare/config/devel/or1ksim-1.1.0.cfg b/bare/config/devel/or1ksim-1.1.0.cfg index d4ccc88..c0cbde7 100644 ---

[PATCH] rtems-fdt: Fix node property access on 64bit

2023-12-12 Thread chrisj
From: Chris Johns --- cpukit/libmisc/rtems-fdt/rtems-fdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpukit/libmisc/rtems-fdt/rtems-fdt.c b/cpukit/libmisc/rtems-fdt/rtems-fdt.c index ec8f270eef..9f8d7bfb24 100644 --- a/cpukit/libmisc/rtems-fdt/rtems-fdt.c +++

[PATCH] libmisc/shell: Work around tmux bug in row and column

2023-12-12 Thread chrisj
From: Chris Johns - Extend the timeout to 150 msec for long remote sessions - Improve the performance of the detection Closes #4975 Closes #4977 --- cpukit/libmisc/shell/shell.c | 141 --- 1 file changed, 116 insertions(+), 25 deletions(-) diff --git

[RSB PATCH] print/texinfo: Check the version and build if too old

2023-12-07 Thread chrisj
From: Chris Johns Packages like binutils need newer versions than available by default on MacOS. --- bare/config/print/texinfo.cfg | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/bare/config/print/texinfo.cfg b/bare/config/print/texinfo.cfg index 5fa0cba..0c4c4f9

[PATCH v2 2/4] hash: Fix missing hashes after errors if missing

2023-12-06 Thread chrisj
From: Chris Johns --- bare/config/devel/binutils-2.22-1.cfg | 2 + bare/config/devel/binutils-2.24-1.cfg | 3 + bare/config/devel/gcc-4.6-newlib-1.20-1.cfg | 13 .../config/devel/gcc-4.9.1-newlib-2.1.0-1.cfg | 11 +++ bare/config/devel/gdb-7.7-1.cfg | 2 +

[PATCH v2 3/4] sb: Allow _ in downloaded file names

2023-12-06 Thread chrisj
From: Chris Johns --- source-builder/sb/download.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source-builder/sb/download.py b/source-builder/sb/download.py index 3f26644..6e6f9f2 100644 --- a/source-builder/sb/download.py +++ b/source-builder/sb/download.py @@

[PATCH v2 4/4] sb: Set the uid and gid on POSIX systems

2023-12-06 Thread chrisj
From: Chris Johns This improves performance because it avoids an exec each time the _uid macro is referenced and that can be a number of times for each config parsed. --- source-builder/sb/options.py | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git

[PATCH v2 1/4] sb: No hash on a package is an error

2023-12-06 Thread chrisj
From: Chris Johns --- source-builder/sb/download.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source-builder/sb/download.py b/source-builder/sb/download.py index 410edeb..3f26644 100644 --- a/source-builder/sb/download.py +++ b/source-builder/sb/download.py @@

[RSB PATCH] gdb: Add options to contorl the python version

2023-11-29 Thread chrisj
From: Chris Johns The options are: --with-python2 --with-python3 --with-python-version Closes #4973 --- source-builder/config/gdb-common-1.cfg | 19 +++ 1 file changed, 19 insertions(+) diff --git a/source-builder/config/gdb-common-1.cfg

[RSB PATCH] sb: No hash on a package is an error

2023-11-29 Thread chrisj
From: Chris Johns --- source-builder/sb/download.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source-builder/sb/download.py b/source-builder/sb/download.py index 410edeb..3f26644 100644 --- a/source-builder/sb/download.py +++ b/source-builder/sb/download.py @@

[RSB PATCH v2] 6: Fix gcc-13 support for MacOS

2023-11-28 Thread chrisj
From: Chris Johns Update #4921 --- bare/config/devel/gmp-6.2.1.cfg | 11 +++- bare/config/devel/gmp-6.3.0.cfg | 18 + rtems/config/6/rtems-default.bset | 2 +- .../tools/rtems-gcc-13.2-newlib-head.cfg | 2 +-

[RSB PATCH] 6: Merge the MacOS M silicon patch from gcc-12 to gcc-13

2023-11-23 Thread chrisj
From: Chris Johns Updates #4921 --- rtems/config/tools/rtems-gcc-13.2-newlib-head.cfg | 14 ++ 1 file changed, 14 insertions(+) diff --git a/rtems/config/tools/rtems-gcc-13.2-newlib-head.cfg b/rtems/config/tools/rtems-gcc-13.2-newlib-head.cfg index 86e0135..4422e36 100644 ---

[RSB PATCH] rtems/rtems-tools: Update with C++17 and Python 3.12 fixes

2023-11-22 Thread chrisj
From: Chris Johns Updates #4969 Updates #4970 --- rtems/config/tools/rtems-tools-6.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtems/config/tools/rtems-tools-6.cfg b/rtems/config/tools/rtems-tools-6.cfg index 859c297..7ef2052 100644 ---

[rtems-docs PATCH] user/hosts/macos: Update MacOS versions and using python.org

2023-11-22 Thread chrisj
From: Chris Johns --- user/hosts/macos.rst | 105 +++ 1 file changed, 97 insertions(+), 8 deletions(-) diff --git a/user/hosts/macos.rst b/user/hosts/macos.rst index 78cef88..667c913 100644 --- a/user/hosts/macos.rst +++ b/user/hosts/macos.rst @@ -7,18

[rtems-tools PATCH 1/2] rtemstoolkit: Update SimpleIni to latest

2023-11-21 Thread chrisj
From: Chris Johns The resolves C++17 warnings. Updates #4970 --- rtemstoolkit/SimpleIni.h | 598 +++ 1 file changed, 419 insertions(+), 179 deletions(-) diff --git a/rtemstoolkit/SimpleIni.h b/rtemstoolkit/SimpleIni.h index fd37c4b..ec99abb 100644 ---

[rtems-tools PATCH 2/2] rtemstoolkit, linkers: Fix C++17 warnings

2023-11-21 Thread chrisj
From: Chris Johns Closes #4970 --- linkers/rtems-exeinfo.cpp | 3 +-- rtemstoolkit/rld-elf.cpp | 12 rtemstoolkit/rld-elf.h| 5 - rtemstoolkit/rld-rap.cpp | 9 ++--- rtemstoolkit/rld.cpp | 14 -- 5 files changed, 11 insertions(+), 32 deletions(-)

[PATCH] waf: Fix Python 3.12 escape sequences

2023-11-21 Thread chrisj
From: Chris Johns Updates #4968 --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index 69732d4e17..dd7fda7225 100755 --- a/wscript +++ b/wscript @@ -125,7 +125,7 @@ class Template(string.Template): idpattern = "[_A-Za-z][_A-Za-z0-9:#]*"

[PATCH] python: Updates for Python 3.12

2023-11-20 Thread chrisj
From: Chris Johns - Change SafeConfigParser to ConfigParser - Fix escape sequences in strings Updates #4968 --- linkers/wscript | 2 +- misc/wscript | 2 +- rtemstoolkit/configuration.py | 2 +- rtemstoolkit/version.py | 2 +- rtemstoolkit/wscript

[PATCH v2] sb: Fix Python 3.12 safeConfigParser and invalid escape sequences

2023-11-20 Thread chrisj
From: Chris Johns Updates #4968 --- source-builder/sb/pkgconfig.py | 4 ++-- source-builder/sb/version.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source-builder/sb/pkgconfig.py b/source-builder/sb/pkgconfig.py index 198ec80..bfe769f 100755 ---

[PATCH] sb: Fix python re warning for invalid escape sequences

2023-11-19 Thread chrisj
From: Chris Johns --- source-builder/sb/pkgconfig.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source-builder/sb/pkgconfig.py b/source-builder/sb/pkgconfig.py index 198ec80..bfe769f 100755 --- a/source-builder/sb/pkgconfig.py +++ b/source-builder/sb/pkgconfig.py @@

[RSB PATCH 5/5] rtems/net-legacy: Update to latest

2023-10-12 Thread chrisj
From: Chris Johns Pick up the test printer header change --- rtems/config/tools/rtems-net-legacy-6.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtems/config/tools/rtems-net-legacy-6.cfg b/rtems/config/tools/rtems-net-legacy-6.cfg index 559ec01..d5ac842 100644 ---

[RSB PATCH 3/5] rtems/libbsd: Update to latest

2023-10-12 Thread chrisj
From: Chris Johns - Pick up fixes to x86 (i368) bus space usage in kernel DMA --- rtems/config/tools/rtems-libbsd-6.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtems/config/tools/rtems-libbsd-6.cfg b/rtems/config/tools/rtems-libbsd-6.cfg index c89b5eb..3bb1db7

[RSB PATCH 4/5] rtems/net-services: Update to latest

2023-10-12 Thread chrisj
From: Chris Johns - Updates for the RTEMS test changes --- rtems/config/net/net-services-1.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtems/config/net/net-services-1.cfg b/rtems/config/net/net-services-1.cfg index bf1bdc8..cf17227 100644 ---

[RSB PATCH 1/5] rtems/tools: Update to latest

2023-10-12 Thread chrisj
From: Chris Johns Minor fix in rtems-test --- rtems/config/tools/rtems-tools-6.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtems/config/tools/rtems-tools-6.cfg b/rtems/config/tools/rtems-tools-6.cfg index 9632d5b..859c297 100644 ---

[RSB PATCH 2/5] rtems/kernel: Update to latest

2023-10-12 Thread chrisj
From: Chris Johns - libdl: fix TLS in base image - bsps/xnandpsu: fixes - cpukit/jffs2: avoid dead lock - bsps/imxrt: enable USB and fix PHY clock enable - bsps/stm32h7: update STM32 H7 HAL --- rtems/config/tools/rtems-kernel-6.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[rtems-tools PATCH v2] tester/tftp: Add a session timeout

2023-10-08 Thread chrisj
From: Chris Johns - Fix listener done state - Finish open with the state as finished Closes #4959 --- tester/rt/config.py | 42 +- tester/rt/report.py | 2 +- tester/rt/test.py | 1 + tester/rt/tftp.py | 44 +++

RTEMS Tester TFTP Timeout Fixes

2023-10-08 Thread chrisj
Hi, This is v2 of the fixes for timouts for TFTP testing. I am testing i386/pc686 on hardware using grub to PXE boot the executable. This configuration is different to uboot because a failure to load the executable stops loading and this hangs the tester. A uboot target keeps attempting TFTP

[rtems-tools PATCH] tester/tftp: Add a session timeout

2023-10-07 Thread chrisj
From: Chris Johns - Fix listener done state - Finish open with the state as finished Closes #4959 --- tester/rt/config.py | 38 ++- tester/rt/report.py | 2 +- tester/rt/tftp.py | 41 ++--- tester/rt/tftpserver.py | 57

[net-legacy PATCH] tests: Add header for RTEMS test printer

2023-10-04 Thread chrisj
From: Chris Johns --- libtest/testbeginend.c | 1 + libtest/testwrappers.c | 1 + testsuites/loopback/init.c | 1 + testsuites/pppd/init.c | 4 +++- 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/libtest/testbeginend.c b/libtest/testbeginend.c index 89b2468..83f1d3c

[net-services PATCH] tests/ntp: Update to the new test printer header

2023-10-03 Thread chrisj
From: Chris Johns --- testsuites/ntp01/test_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/testsuites/ntp01/test_main.c b/testsuites/ntp01/test_main.c index 6a744c8..4824192 100644 --- a/testsuites/ntp01/test_main.c +++ b/testsuites/ntp01/test_main.c @@ -38,6 +38,7 @@ #include

[libbsd/6-freebsd-12 PATCH] i386/pc686: Fix kernel bus DMA for the PC686 BSP

2023-10-03 Thread chrisj
From: Chris Johns The x86 provides it own bus space support. Use the generic bus space calls. This however requires the BUS_SPACE_MEM tag be provided for all architectures. Make the generic value match the x86 value. --- rtemsbsd/include/machine/bus.h| 9 +

[PATCH] bsp/i386/pc686: Clean up warnings

2023-10-03 Thread chrisj
From: Chris Johns --- bsps/i386/include/bsp/irq.h | 2 ++ bsps/i386/pc386/console/exar17d15x.c | 6 +++--- bsps/i386/pc386/console/fb_vesa_rm.c | 19 +++ bsps/i386/pc386/console/i386-stub.c | 2 +- bsps/i386/pc386/console/outch.c

[RSB PATCH] rtems/tools: Execute use of shlex.join fix for python < 3.8

2023-08-30 Thread chrisj
From: Chris Johns Updates #4951 --- rtems/config/tools/rtems-tools-6.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtems/config/tools/rtems-tools-6.cfg b/rtems/config/tools/rtems-tools-6.cfg index b360f7e..9632d5b 100644 --- a/rtems/config/tools/rtems-tools-6.cfg

[rtems-tools PATCH] rtemstoolkit: Provide a shlex.join for python 3.8 and earlier

2023-08-29 Thread chrisj
From: Chris Johns --- rtemstoolkit/execute.py | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/rtemstoolkit/execute.py b/rtemstoolkit/execute.py index d183b14..31d3a8a 100755 --- a/rtemstoolkit/execute.py +++ b/rtemstoolkit/execute.py @@ -125,6 +125,14 @@ class

[rtems-tools] Fix shlex.join on python 3.8 and earlier

2023-08-29 Thread chrisj
Hi Frabnk and Joel, Can you please test this patch and let me know if the issue has been fixed? Thanks Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

[RSB PATCH] rtems/tools: Shell execute fixes

2023-08-28 Thread chrisj
From: Chris Johns Updates #4951 --- rtems/config/tools/rtems-tools-6.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtems/config/tools/rtems-tools-6.cfg b/rtems/config/tools/rtems-tools-6.cfg index 6eed755..b360f7e 100644 --- a/rtems/config/tools/rtems-tools-6.cfg

[rtems-tools PATCH] rtemstoolkit: Fix shell execution

2023-08-28 Thread chrisj
From: Chris Johns The fixes to parse the command along with the pipe options broke a simple shell command such as '/sbin/sysctl hw.ncpu' on FreeBSD. This patch fixes the shell command by passing a string for the various options. The unit test has been updated to catch errors and report them.

[PATCH 2/2] cpukit/libdl: Fix incorrect operator precedence access the name

2023-08-27 Thread chrisj
From: Chris Johns Coverity Issue: CID 1442635 Out-of-bounds access --- cpukit/libdl/rtl-archive.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cpukit/libdl/rtl-archive.c b/cpukit/libdl/rtl-archive.c index f916336f7c..4a6d2cbf0b 100644 --- a/cpukit/libdl/rtl-archive.c

[PATCH 1/2] cpukit/libdl: Correctly account for section alignments

2023-08-27 Thread chrisj
From: Chris Johns - Add the section alignment to the size as the allocator may not provide correctly aligned memory - Only include symbols in the section when locating symbols. The powerpc was incorrectly adding SDATA BSS symbols to the BSS offset overrunning the section Closes #4950 ---

[PATCH 2/2] libdl: Realloc text memory if there are trampolines

2023-08-26 Thread chrisj
From: Chris Johns - Add resize to the allocator interface - Rework the trampoline variables in the obj struct to make better sense of what is happening Closes #4944 --- cpukit/include/rtems/rtl/rtl-allocator.h | 46 +- cpukit/include/rtems/rtl/rtl-obj.h | 199

[PATCH 1/2] spec/testsuite/dl: Fix optimization flags

2023-08-26 Thread chrisj
From: Chris Johns Updates #4944 --- spec/build/testsuites/grp.yml | 1 + spec/build/testsuites/libtests/dl01.yml | 3 ++- spec/build/testsuites/libtests/dl02.yml | 3 ++- spec/build/testsuites/libtests/dl03.yml | 3 ++- spec/build/testsuites/libtests/dl04.yml | 3 ++-

[RSB PATCH] rtems/tools: Pick up the rtems-syms and rtems-test sis changes

2023-08-20 Thread chrisj
From: Chris Johns Updates #4920 --- rtems/config/tools/rtems-tools-6.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtems/config/tools/rtems-tools-6.cfg b/rtems/config/tools/rtems-tools-6.cfg index b786a47..6eed755 100644 --- a/rtems/config/tools/rtems-tools-6.cfg

[rtems-tools PATCH] tester/sis: Use the RTEMS SIS command

2023-08-16 Thread chrisj
From: Chris Johns Make sis and sis-run the same as there is no SIS support in gdb anymore. Closes #4945 --- tester/rtems/testing/bsps/sis-run.ini | 2 +- tester/rtems/testing/bsps/sis.ini | 6 ++ 2 files changed, 3 insertions(+), 5 deletions(-) diff --git

[rtems-tools PATCH v2] linker: Add TLS support to the symbol table generator

2023-08-16 Thread chrisj
From: Chris Johns Updates #4920 --- linkers/rtems-syms.cpp | 179 ++--- 1 file changed, 134 insertions(+), 45 deletions(-) diff --git a/linkers/rtems-syms.cpp b/linkers/rtems-syms.cpp index e5170e1..c72ee55 100644 --- a/linkers/rtems-syms.cpp +++

v2 libdl support for base image TLS variables

2023-08-16 Thread chrisj
These patches add support to rtems.git and rtems-tools.git to provide access to TLS variables in the base from loaded code. The changes contain the ground work to resolving #4920 which is a blocker for the release of 6. This change is required due to the regression in libdl due to the change in

[PATCH v2] libdl: Add support to import base image TLS symbols

2023-08-16 Thread chrisj
From: Chris Johns This change requires an rtems-tools update for symbol generation. Working architectures: - aarch64 - arm - powerpc - sparc No newlib TLS support but checked: - i386 - m69k Updates #4920 --- cpukit/include/rtems/rtl/rtl-sym.h | 26 - cpukit/include/rtems/rtl/rtl.h

[PATCH] libdl: Add support to import base image TLS symbols

2023-08-14 Thread chrisj
From: Chris Johns This change requires an rtems-tools update for symbol generation. Working architectures: - aarch64 - arm - powerpc - sparc Updates #4920 --- cpukit/include/rtems/rtl/rtl-sym.h | 23 - cpukit/include/rtems/rtl/rtl.h | 6 +- cpukit/libdl/rtl-elf.c |

[rtems-tools PATCH] linker: Add TLS support to the symbol table generator

2023-08-14 Thread chrisj
From: Chris Johns This is not complete as it has aarch64 code that should be in the kernel. --- linkers/rtems-syms.cpp | 179 ++--- 1 file changed, 134 insertions(+), 45 deletions(-) diff --git a/linkers/rtems-syms.cpp b/linkers/rtems-syms.cpp index

libdl support for base image TLS variables

2023-08-14 Thread chrisj
These patches add support to rtems.git and rtems-tools.git to provide access to TLS variables in the base from loaded code. The changes contain the ground work to resolving #4920 which is a blocker for the release of 6. This change is required due to the regression in libdl due to the change in

[PATCH] cpukit/libdl: AARCH64 unwind uses DWARF 2 tables

2023-08-12 Thread chrisj
From: Chris Johns Closes #4943 --- cpukit/libdl/rtl-mdreloc-aarch64.c | 17 + spec/build/cpukit/objdlaarch64.yml | 1 - 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/cpukit/libdl/rtl-mdreloc-aarch64.c b/cpukit/libdl/rtl-mdreloc-aarch64.c index

[PATCH rtems-libbsd 6-freebsd-12 v2 2/3] testsuite/nfs: Check the path returned by getcwd

2023-08-06 Thread chrisj
From: Chris Johns --- testsuite/nfs01/test_main.c | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/testsuite/nfs01/test_main.c b/testsuite/nfs01/test_main.c index cdcbb1cd..a3d75ddd 100644 --- a/testsuite/nfs01/test_main.c +++

[PATCH rtems-libbsd 6-freebsd-12 v2 1/3] rtemsbsd/syscall: Set unitialised variable in open

2023-08-06 Thread chrisj
From: Chris Johns The open path length was not set when at the root node and this sometimes failed the current directory checks. --- rtemsbsd/rtems/rtems-bsd-syscall-api.c | 1 + 1 file changed, 1 insertion(+) diff --git a/rtemsbsd/rtems/rtems-bsd-syscall-api.c

[PATCH rtems-libbsd 6-freebsd-12 v2 3/3] rtemsbsd/vfs: Use VOP_REMOVE to remove file nodes

2023-08-06 Thread chrisj
From: Chris Johns --- rtemsbsd/rtems/rtems-kernel-vfs.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rtemsbsd/rtems/rtems-kernel-vfs.c b/rtemsbsd/rtems/rtems-kernel-vfs.c index 0817df81..69c9ba56 100644 --- a/rtemsbsd/rtems/rtems-kernel-vfs.c +++

[PATCH rtems-libbsd 6-freebsd-12 2/2] testsuite/nfs: Check the path returned by getcwd

2023-08-05 Thread chrisj
From: Chris Johns --- testsuite/nfs01/test_main.c | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/testsuite/nfs01/test_main.c b/testsuite/nfs01/test_main.c index cdcbb1cd..a3d75ddd 100644 --- a/testsuite/nfs01/test_main.c +++

[PATCH rtems-libbsd 6-freebsd-12 1/2] rtemsbsd/syscall: Set unitialised variable in open

2023-08-05 Thread chrisj
From: Chris Johns The open path length was not set when at the root node and this sometimes failed the current directory checks. --- rtemsbsd/rtems/rtems-bsd-syscall-api.c | 1 + 1 file changed, 1 insertion(+) diff --git a/rtemsbsd/rtems/rtems-bsd-syscall-api.c

[RSB PATCH] rtems/kernel: Update to the current kernel

2023-07-25 Thread chrisj
From: Chris Johns - Pick up the Beatnik support for the legacy driver --- rtems/config/tools/rtems-kernel-6.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtems/config/tools/rtems-kernel-6.cfg b/rtems/config/tools/rtems-kernel-6.cfg index f2174c7..c9c884f 100644

[PATCH] bsps/arm: Fix CMSIS v5 install files list

2023-07-24 Thread chrisj
From: Chris Johns --- spec/build/bsps/arm/grp.yml | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/spec/build/bsps/arm/grp.yml b/spec/build/bsps/arm/grp.yml index 1058f58d92..a48cd80d74 100644 --- a/spec/build/bsps/arm/grp.yml +++ b/spec/build/bsps/arm/grp.yml @@

[PATCH rtems-libbsd/6-freebsd-12 v2 3/4] freebsd/vfs: Pass in the td's cred to the VFS calls

2023-07-20 Thread chrisj
From: Chris Johns Closes #4723 --- rtemsbsd/rtems/rtems-kernel-vfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtemsbsd/rtems/rtems-kernel-vfs.c b/rtemsbsd/rtems/rtems-kernel-vfs.c index 2f4d009b..0817df81 100644 --- a/rtemsbsd/rtems/rtems-kernel-vfs.c +++

[PATCH rtems-libbsd/6-freebsd-12 v2 4/4] nfs: Support multiple mounts with the same path basename

2023-07-20 Thread chrisj
From: Chris Johns NFSv4 mounts NFS file systems to the flat root of a pseudo file system. This change allow the same basename to be used. --- rtemsbsd/fs/nfsclient/nfs.c| 31 +++-- rtemsbsd/rtems/rtems-bsd-syscall-api.c | 32 +++--- 2 files

v2 Patches to fix #4723

2023-07-20 Thread chrisj
Hi, This verison: 1. Fixes the comment after the review 2. The nfs01 test exits when finished rather than stopping in the shell 3. Add a fix to allow multiple mounts with the same mount basename Chris ___ devel mailing list devel@rtems.org

[PATCH rtems-libbsd/6-freebsd-12 v2 2/4] syscall/open: Reference the path info directory vnode

2023-07-20 Thread chrisj
From: Chris Johns The kernel open call requires a path so to open a file we need to set the current directory to the parent vnode. If the open mode is create the path info vnode is the directory to perform the open create in. Using the parent node creates the file in wrong path. Updates #4723

[PATCH rtems-libbsd/6-freebsd-12 v2 1/4] freenbsd/vfs: VFS attributes need to have the same size mode_t variable

2023-07-20 Thread chrisj
From: Chris Johns If the size in the attributes struct does not match the mode_t the VNOVAL checks fail because size of the values are not the same. Updates #4723 --- freebsd/sys/sys/vnode.h | 4 1 file changed, 4 insertions(+) diff --git a/freebsd/sys/sys/vnode.h

[PATCH rtems-libbsd/6-freebsd-12 2/3] syscall/open: Reference the path info directory vnode

2023-07-19 Thread chrisj
From: Chris Johns The kernel open call requires a path so to open a file we need to set the current directory to the parent vnode. If the open mode is create the path info vnode is the directory to perform the open create in. Using the parent node creates the file in wrong path. Updates #4723

[PATCH rtems-libbsd/6-freebsd-12 1/3] freenbsd/vfs: VFS attributes need to have the same size mode_t variable

2023-07-19 Thread chrisj
From: Chris Johns If the size in the attributes struct does not match the mode_t the VNOVAL checks fail because sie of the values are not the same. Updates #4723 --- freebsd/sys/sys/vnode.h | 4 1 file changed, 4 insertions(+) diff --git a/freebsd/sys/sys/vnode.h

[PATCH rtems-libbsd/6-freebsd-12 3/3] freebsd/vfs: Pass in the td's cred to the VFS calls

2023-07-19 Thread chrisj
From: Chris Johns Closes #4723 --- rtemsbsd/rtems/rtems-kernel-vfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtemsbsd/rtems/rtems-kernel-vfs.c b/rtemsbsd/rtems/rtems-kernel-vfs.c index 2f4d009b..0817df81 100644 --- a/rtemsbsd/rtems/rtems-kernel-vfs.c +++

[RSB PATCH] rtems/net-services: Add to the ntpq query an output buffer and size

2023-06-08 Thread chrisj
From: Chris Johns --- rtems/config/net/net-services-1.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtems/config/net/net-services-1.cfg b/rtems/config/net/net-services-1.cfg index c342547..bf1bdc8 100644 --- a/rtems/config/net/net-services-1.cfg +++

[RSB PATCH 2/2] rtems/kernel: Update kernel

2023-06-05 Thread chrisj
From: Chris Johns - Zynq ARM fixes - AARCH64 MMU fix - Updated imxrt drivers - x86_64 EFI support - Flash driver - Updated validation tests - Microblaze updates --- rtems/config/tools/rtems-kernel-6.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[RSB PATCH 1/2] rtrems/net-legacy: Update rtems-net-legacy

2023-06-05 Thread chrisj
From: Chris Johns - Add getaddrinfom, gai_strerror, ipv6_addr, if_nametoindex and BSD programs - Update sysctl - Move legacy net --- rtems/config/tools/rtems-net-legacy-6.cfg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rtems/config/tools/rtems-net-legacy-6.cfg

[RSB PATCH] rtems/net: Add net services build support

2023-06-04 Thread chrisj
From: Chris Johns --- rtems/config/net/net-services-1.cfg | 23 ++ rtems/config/net/net-services.bset| 15 rtems/config/tools/rtems-net-services.cfg | 91 +++ 3 files changed, 129 insertions(+) create mode 100644 rtems/config/net/net-services-1.cfg

[rtems-net-legacy PATCH] testsuites: Build testsuites/support as a static library

2023-06-04 Thread chrisj
From: Chris Johns This avoids dependency issues if the source files are added to separate program builds. --- netlegacy.py| 56 + testsuites/ftp01/wscript| 4 ++- testsuites/loopback/wscript | 5 +--

[rtems-net-legacy PATCH] waf: Move rtems/rtems-net-legacy.h to machine/rtems-net-legacy.h

2023-05-24 Thread chrisj
From: Chris Johns This patch installs the header in the same path as the libbsd header machine/rtems-version.h. These headers can be used to detect which network stack is installed. --- include/{rtems => machine}/rtems-net-legacy.h.in | 0 netlegacy.py | 8

[PATCH] bsps/powerpc: Fix warnings with PPC_SPECIAL_PURPOSE_REGISTER

2023-04-24 Thread chrisj
From: Chris Johns --- bsps/powerpc/gen83xx/start/bsprestart.c | 2 +- bsps/powerpc/gen83xx/start/cpuinit.c | 2 +- bsps/powerpc/mpc55xxevb/start/bspstart.c | 2 +- bsps/powerpc/mpc55xxevb/start/flash_support.c | 10 +- bsps/powerpc/qoriq/irq/irq.c

[rtems-net-legacy PATCH 3/4] net: Update sysctl to use the latest libbsd linker set

2023-04-22 Thread chrisj
From: Chris Johns - Update linker_set.h to the latest from libbsd so the linker scripts work. - Add a sysctl command to check on sysctls - Add set defines to the networking stack --- netsources.py|1 + rtems/rtems_bsdnet.h |1 + rtems/rtems_glue.c |

[rtems-net-legacy PATCH 4/4] net: Update socketpair to the lwip code

2023-04-22 Thread chrisj
From: Chris Johns --- rtems/rtems_socketpair.c | 133 ++- 1 file changed, 105 insertions(+), 28 deletions(-) diff --git a/rtems/rtems_socketpair.c b/rtems/rtems_socketpair.c index 1dcaf6e..5b8bac3 100644 --- a/rtems/rtems_socketpair.c +++

[rtems-net-legacy PATCH 1/4] tests/resolv: Fix test configuration

2023-04-22 Thread chrisj
From: Chris Johns --- config.inc | 1 + netlegacy.py | 3 ++- testsuites/include/network-config.h.in | 6 ++ testsuites/resolve/init.c | 3 --- testsuites/support/net-legacy-config.c | 6 ++ 5 files changed, 15

[rtems-net-legacy PATCH 2/4] waf: Build libs before tests

2023-04-22 Thread chrisj
From: Chris Johns The built libs are in lib and use when linking to get a working order. Make sure they are built before building an tests. --- netlegacy.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/netlegacy.py b/netlegacy.py index bf816f4..8533f4c 100644 --- a/netlegacy.py +++

[PATCH 4/4] sb/pkg-config: Add --cflags-only-I and --cflags-only-other option

2023-04-21 Thread chrisj
From: Chris Johns --- source-builder/pkg-config | 36 1 file changed, 36 insertions(+) diff --git a/source-builder/pkg-config b/source-builder/pkg-config index 10db546..8d0a174 100755 --- a/source-builder/pkg-config +++ b/source-builder/pkg-config @@ -86,6

[PATCH 3/4] sb/option: Add the arch to the macros from the --rtems-bsp option

2023-04-21 Thread chrisj
From: Chris Johns --- source-builder/sb/options.py | 1 + 1 file changed, 1 insertion(+) diff --git a/source-builder/sb/options.py b/source-builder/sb/options.py index 00cc611..d554097 100644 --- a/source-builder/sb/options.py +++ b/source-builder/sb/options.py @@ -634,6 +634,7 @@ class

[PATCH 1/4] sb/path: Handle unicode filenames in a source path

2023-04-21 Thread chrisj
From: Chris Johns The change leaves the encoding in that currently exists because I cannot remember why it is there. If an encoding error happens return the same path to see if it will work. --- source-builder/sb/path.py | 26 -- 1 file changed, 20 insertions(+), 6

Minor RBS fixes

2023-04-21 Thread chrisj
Hi These patches fix a few minor issues in the RSB. Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

[PATCH 2/4] sb: Fix the library handling in rtems-build-dep

2023-04-21 Thread chrisj
From: Chris Johns --- source-builder/sb/rtems-build-dep | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/source-builder/sb/rtems-build-dep b/source-builder/sb/rtems-build-dep index 48a0823..71c8890 100755 --- a/source-builder/sb/rtems-build-dep +++

[rtems-net-legacy PATCH 1/3] bsd: Add getaddrinfom, gai_strerror, ipv6_addr, if_nametoindex and BSD programs

2023-04-19 Thread chrisj
From: Chris Johns - These additions let the net services repo build with the legacy stack --- include/machine/rtems-bsd-thread.h| 34 + libc/gai_strerror.c | 125 + libc/getaddrinfo.c| 3086 + libc/nsswitch.h

[rtems-net-legacy PATCH 2/3] waf: Enable warnings as an option

2023-04-19 Thread chrisj
From: Chris Johns --- netlegacy.py | 19 +++ 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/netlegacy.py b/netlegacy.py index 9f27ffc..3ce54c6 100644 --- a/netlegacy.py +++ b/netlegacy.py @@ -104,6 +104,10 @@ def options(opt): default='-O2',

[rtems-net-legacy PATCH 3/3] waf: Build header files before anything else

2023-04-19 Thread chrisj
From: Chris Johns --- netlegacy.py | 2 ++ wscript | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/netlegacy.py b/netlegacy.py index 3ce54c6..c21e26c 100644 --- a/netlegacy.py +++ b/netlegacy.py @@ -165,6 +165,8 @@ def build(bld): version_header(bld)

[rtems-net-legacy] Add getaddrinfo, gai_strerror and ipv6_addr

2023-04-19 Thread chrisj
Hi, The move of the networking header files to the system headers means the functionality exposed is all that can be provided. This breaks the backward compatibility of the legacy stack. The solution is to add what is needed when needed to the legacy stack. This patch adds getaddrinfo,

  1   2   3   4   5   6   7   >