[PATCH 3/3] devel/gcc: Check and build GNU sed if not available on build host

2022-09-14 Thread chrisj
From: Chris Johns Closes #2300 --- bare/config/devel/gnu-default-tools.bset| 6 ++ rtems/config/tools/rtems-default-tools.bset | 5 + source-builder/config/gcc-common-1.cfg | 4 3 files changed, 15 insertions(+) diff --git a/bare/config/devel/gnu-default-tools.bset b/bare

[PATCH 1/2] sb/setbuilder: Install the build when stagging or configured to install

2022-09-15 Thread chrisj
From: Chris Johns --- source-builder/sb/setbuilder.py | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/source-builder/sb/setbuilder.py b/source-builder/sb/setbuilder.py index f24ac87..3e16111 100644 --- a/source-builder/sb/setbuilder.py +++ b/source-builder/sb/setbuil

[PATCH 2/2] testproc/gsed: Do not use %include with internal builds

2022-09-15 Thread chrisj
From: Chris Johns --- bare/config/devel/gnu-default-tools.bset| 1 + bare/config/textproc/gsed-internal.bset | 5 - rtems/config/tools/rtems-default-tools.bset | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/bare/config/devel/gnu-default-tools.bset b/bare/con

[RSB 5] Deployment and backporting of fixes

2022-09-17 Thread chrisj
Hi These patches are a mix of back ported fixed from our devel branch and deployment support for RTEMS 5. I have a personal repo I will upload soon that tests RTEMS 5 as well as RTEMS 6 (devel branch). Chris ___ devel mailing list devel@rtems.org http

[RSB 5 PATCH 1/6] sb/setbuilder: Support line continuation

2022-09-17 Thread chrisj
From: Chris Johns Updates #4716 --- source-builder/sb/setbuilder.py | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/source-builder/sb/setbuilder.py b/source-builder/sb/setbuilder.py index 16e8cc8..55bd86f 100644 --- a/source-builder/sb/setbuilder.py +++ b/sourc

[RSB 5 PATCH 3/6] sb/setbuilder: Correctly create build set tar files

2022-09-17 Thread chrisj
From: Chris Johns - Make a single tarfile for all buildsets built - Use the staging tree as the tarfile source - Use python's tarfile module - Create a config.file object without loading a .cfg file Updates #4716 --- source-builder/sb/config.py | 5 +-- source-builder/sb/setbuilder.py |

[RSB 5 PATCH 2/6] sb/config: Correctly handle multiple config paths

2022-09-17 Thread chrisj
From: Chris Johns - Add rtems/config to the config directories searched to better support deployment - Correctly expand the configdir and path searchs Updates #4716 --- source-builder/defaults.mc | 2 +- source-builder/sb/config.py | 52 ++--- 2 files change

[RSB 5 PATCH 4/6] sb/setbuilder: Do not install if --no-install option is used

2022-09-17 Thread chrisj
From: Chris Johns - This is a bug introduced in the recent bset tar file changes Updates #4716 --- source-builder/sb/setbuilder.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source-builder/sb/setbuilder.py b/source-builder/sb/setbuilder.py index 36fca46..1452aca 10064

[RSB 5 PATCH 5/6] rtems/kernel: Support deployment standard buildset configs

2022-09-17 Thread chrisj
From: Chris Johns - Check and optionally support arch/bsp format 'with_rtems_bsp' defines Updates #4717 --- rtems/config/tools/rtems-kernel-common.cfg | 49 +- 1 file changed, 39 insertions(+), 10 deletions(-) diff --git a/rtems/config/tools/rtems-kernel-common.cfg b/rtems

[RSB 5 PATCH 6/6] sb/setbuilder: Install the build when stagging or configured to install

2022-09-17 Thread chrisj
From: Chris Johns Updates #4716 --- source-builder/sb/setbuilder.py | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/source-builder/sb/setbuilder.py b/source-builder/sb/setbuilder.py index 1452aca..9836e9b 100644 --- a/source-builder/sb/setbuilder.py +++ b/source-buil

[PATCH] libdl: Fix loading symbol that reference unknown sections.

2019-05-12 Thread chrisj
From: Chris Johns - Make the symbol parsing and loading stage match. - Check for possible overflow of the tables when loading. Closes #3746 --- cpukit/libdl/rtl-elf.c | 215 ++--- 1 file changed, 159 insertions(+), 56 deletions(-) diff --git a/cpukit/libdl/r

[PATCH] libdl: Sort object file symbols and use a binary search to find

2019-05-13 Thread chrisj
From: Chris Johns - Replace the linear object file symbol search with a binary search. - Sort the object file symbols after loading. Closes #3748 --- cpukit/include/rtems/rtl/rtl-sym.h | 9 ++ cpukit/libdl/rtl-obj.c | 6 +++- cpukit/libdl/rtl-sym.c | 49 +++

[PATCH] sb: Add sb-get-sources to download all references source files.

2019-05-20 Thread chrisj
From: Chris Johns - Downloads all files in a single directory - Iterates over all support hosts to get any host dependent source no matter which host you run the command on. Closes #3532 --- source-builder/sb-get-sources| 27 ++ source-builder/sb/cmd-get-sources.py | 29 ++ source-b

[PATCH] waf: Update the check_cc tests to a newer method supported by waf.

2019-05-26 Thread chrisj
From: Chris Johns - Fix a minor issue in covoar's use of 64bit calls. --- misc/wscript| 7 +-- rtemstoolkit/wscript| 19 +-- tester/covoar/CoverageReaderQEMU.cc | 2 +- tester/covoar/wscript | 12 ++-- 4 files ch

[PATCH 1/7] rtemstoolkit/check: Optionally check exe silently.

2019-06-08 Thread chrisj
From: Chris Johns --- rtemstoolkit/check.py | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rtemstoolkit/check.py b/rtemstoolkit/check.py index 8d4a35c..1f18f72 100644 --- a/rtemstoolkit/check.py +++ b/rtemstoolkit/check.py @@ -143,12 +143,12 @@ def host_setup(opts):

[PATCH 2/7] rtemstoolkit/host: Make the load() public.

2019-06-08 Thread chrisj
From: Chris Johns --- rtemstoolkit/host.py | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rtemstoolkit/host.py b/rtemstoolkit/host.py index 5319c92..01aae07 100644 --- a/rtemstoolkit/host.py +++ b/rtemstoolkit/host.py @@ -42,7 +42,7 @@ is_windows = False platform =

[PATCH 4/7] rtemstoolkit/path: Merge RSB changes.

2019-06-08 Thread chrisj
From: Chris Johns --- rtemstoolkit/path.py | 294 ++- 1 file changed, 233 insertions(+), 61 deletions(-) diff --git a/rtemstoolkit/path.py b/rtemstoolkit/path.py index 845dfe8..9401e99 100644 --- a/rtemstoolkit/path.py +++ b/rtemstoolkit/path.py @@ -40,37

[PATCH 3/7] rtemstoolkit/log: Add info().

2019-06-08 Thread chrisj
From: Chris Johns --- rtemstoolkit/log.py | 14 ++ rtemstoolkit/options.py | 3 +-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/rtemstoolkit/log.py b/rtemstoolkit/log.py index a06c8c1..00fdb05 100755 --- a/rtemstoolkit/log.py +++ b/rtemstoolkit/log.py @@ -61,

[PATCH] RTEMS Boot Image, tool to create SD card images

2019-06-08 Thread chrisj
Hi, These patches add a new command to rtems-tool called rtems-boot-image. This tool creates boot images for SD cards on FreeBSD, MacOS and Linux. The tool lets you boot an RTEMS executable from u-boot from an SD card, or you can support networking options and have u-boot perform a net boot. The

[PATCH 5/7] rtemstoolkit/configuration: Add get_sections() to get the sections.

2019-06-08 Thread chrisj
From: Chris Johns - Fix module access when catching exceptions. --- rtemstoolkit/configuration.py | 28 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/rtemstoolkit/configuration.py b/rtemstoolkit/configuration.py index 3b03296..bc3ec93 100644 --- a/rt

[PATCH 7/7] misc/boot-image: Add a tool to create boot images.

2019-06-08 Thread chrisj
From: Chris Johns - FreeBSD support. - MacOS support. - Linux support. - Support for 1st and 2nd loaders. - Support uenv templates and uenv.txt support. --- misc/rtems-boot-image| 42 ++ misc/tools/boot.py | 1050 ++ misc/tools/cmd-boot-image.p

[PATCH v2] RTEMS Boot Image, tool to create SD card images

2019-06-10 Thread chrisj
Hi, These patches add a new command to the rtems-tools called rtems-boot-image. This tool creates boot images for SD cards on FreeBSD, MacOS and Linux. The tool lets you boot an RTEMS executable from u-boot from an SD card, or you can support networking options and have u-boot perform a net boot.

[PATCH v2 5/8] rtemstoolkit/configuration: Add get_sections() to get the sections.

2019-06-10 Thread chrisj
From: Chris Johns - Fix module access when catching exceptions. --- rtemstoolkit/configuration.py | 28 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/rtemstoolkit/configuration.py b/rtemstoolkit/configuration.py index 3b03296..bc3ec93 100644 --- a/rt

[PATCH v2 2/8] rtemstoolkit/host: Make the load() public.

2019-06-10 Thread chrisj
From: Chris Johns --- rtemstoolkit/host.py | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rtemstoolkit/host.py b/rtemstoolkit/host.py index 5319c92..01aae07 100644 --- a/rtemstoolkit/host.py +++ b/rtemstoolkit/host.py @@ -42,7 +42,7 @@ is_windows = False platform =

[PATCH v2 8/8] misc/boot-image: Add a tool to create boot images.

2019-06-10 Thread chrisj
From: Chris Johns - FreeBSD support. - MacOS support. - Linux support. - Support for 1st and 2nd loaders. - Support uenv templates and uenv.txt support. --- misc/rtems-boot-image| 42 ++ misc/tools/boot.py | 1092 ++ misc/tools/cmd-boot-image.p

[PATCH v2 6/8] rtemstoolkit/macros: Improve the macro output.

2019-06-10 Thread chrisj
From: Chris Johns - Support optionally reporting just the keys and their values. --- rtemstoolkit/macros.py | 30 ++ 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/rtemstoolkit/macros.py b/rtemstoolkit/macros.py index e3776bd..a8975fc 100644 --- a/rtem

[PATCH v2 3/8] rtemstoolkit/log: Add info().

2019-06-10 Thread chrisj
From: Chris Johns --- rtemstoolkit/log.py | 14 ++ rtemstoolkit/options.py | 3 +-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/rtemstoolkit/log.py b/rtemstoolkit/log.py index a06c8c1..00fdb05 100755 --- a/rtemstoolkit/log.py +++ b/rtemstoolkit/log.py @@ -61,

[PATCH v2 4/8] rtemstoolkit/path: Merge RSB changes.

2019-06-10 Thread chrisj
From: Chris Johns --- rtemstoolkit/path.py | 294 ++- 1 file changed, 233 insertions(+), 61 deletions(-) diff --git a/rtemstoolkit/path.py b/rtemstoolkit/path.py index 845dfe8..9401e99 100644 --- a/rtemstoolkit/path.py +++ b/rtemstoolkit/path.py @@ -40,37

[PATCH v2 7/8] rtemstoolkit/configuration: Fix interpolation support.

2019-06-10 Thread chrisj
From: Chris Johns - It was disabled always. Now optional by the constructor. --- rtemstoolkit/configuration.py | 67 +-- 1 file changed, 40 insertions(+), 27 deletions(-) diff --git a/rtemstoolkit/configuration.py b/rtemstoolkit/configuration.py index bc3ec93..a7

[PATCH v2 1/8] rtemstoolkit/check: Optionally check exe silently.

2019-06-10 Thread chrisj
From: Chris Johns --- rtemstoolkit/check.py | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rtemstoolkit/check.py b/rtemstoolkit/check.py index 8d4a35c..1f18f72 100644 --- a/rtemstoolkit/check.py +++ b/rtemstoolkit/check.py @@ -143,12 +143,12 @@ def host_setup(opts):

[PATCH v3 5/8] rtemstoolkit/configuration: Add get_sections() to get the sections.

2019-06-11 Thread chrisj
From: Chris Johns - Fix module access when catching exceptions. --- rtemstoolkit/configuration.py | 28 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/rtemstoolkit/configuration.py b/rtemstoolkit/configuration.py index 3b03296..bc3ec93 100644 --- a/rt

[PATCH v3 3/8] rtemstoolkit/log: Add info().

2019-06-11 Thread chrisj
From: Chris Johns --- rtemstoolkit/log.py | 14 ++ rtemstoolkit/options.py | 3 +-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/rtemstoolkit/log.py b/rtemstoolkit/log.py index a06c8c1..00fdb05 100755 --- a/rtemstoolkit/log.py +++ b/rtemstoolkit/log.py @@ -61,

[PATCH v3 4/8] rtemstoolkit/path: Merge RSB changes.

2019-06-11 Thread chrisj
From: Chris Johns --- rtemstoolkit/path.py | 294 ++- 1 file changed, 233 insertions(+), 61 deletions(-) diff --git a/rtemstoolkit/path.py b/rtemstoolkit/path.py index 845dfe8..9401e99 100644 --- a/rtemstoolkit/path.py +++ b/rtemstoolkit/path.py @@ -40,37

[PATCH v3 2/8] rtemstoolkit/host: Make the load() public.

2019-06-11 Thread chrisj
From: Chris Johns --- rtemstoolkit/host.py | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rtemstoolkit/host.py b/rtemstoolkit/host.py index 5319c92..01aae07 100644 --- a/rtemstoolkit/host.py +++ b/rtemstoolkit/host.py @@ -42,7 +42,7 @@ is_windows = False platform =

[PATCH v3 1/8] rtemstoolkit/check: Optionally check exe silently.

2019-06-11 Thread chrisj
From: Chris Johns --- rtemstoolkit/check.py | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rtemstoolkit/check.py b/rtemstoolkit/check.py index 8d4a35c..1f18f72 100644 --- a/rtemstoolkit/check.py +++ b/rtemstoolkit/check.py @@ -143,12 +143,12 @@ def host_setup(opts):

[PATCH v3 7/8] rtemstoolkit/configuration: Fix interpolation support.

2019-06-11 Thread chrisj
From: Chris Johns - It was disabled always. Now optional by the constructor. --- rtemstoolkit/configuration.py | 78 --- 1 file changed, 45 insertions(+), 33 deletions(-) diff --git a/rtemstoolkit/configuration.py b/rtemstoolkit/configuration.py index bc3ec93..29

[PATCH v3 6/8] rtemstoolkit/macros: Improve the macro output.

2019-06-11 Thread chrisj
From: Chris Johns - Support optionally reporting just the keys and their values. --- rtemstoolkit/macros.py | 30 ++ 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/rtemstoolkit/macros.py b/rtemstoolkit/macros.py index d6a3563..d8012e1 100644 --- a/rtem

[PATCH v3 8/8] misc/boot-image: Add a tool to create boot images.

2019-06-11 Thread chrisj
From: Chris Johns - FreeBSD support. - MacOS support. - Linux support. - Support for 1st and 2nd loaders. - Support uenv templates and uenv.txt support. --- misc/rtems-boot-image| 42 ++ misc/tools/boot.py | 1156 ++ misc/tools/cmd-boot-ima

[PATCH] user: Add the boot image tool command.

2019-06-11 Thread chrisj
From: Chris Johns --- user/tools/boot-image.rst | 445 ++ user/tools/index.rst | 1 + 2 files changed, 446 insertions(+) create mode 100644 user/tools/boot-image.rst diff --git a/user/tools/boot-image.rst b/user/tools/boot-image.rst new file mode 1006

[PATCH] config: Control the interface from the command line net config file.

2019-06-12 Thread chrisj
From: Chris Johns --- config.inc | 1 + testsuite/include/rtems/bsd/test/network-config.h.in | 2 +- waf_libbsd.py| 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/config.inc b/config.inc inde

[PATCH v2 2/2] misc/boot-image: Fix Linux bugs.

2019-06-13 Thread chrisj
From: Chris Johns --- misc/tools/boot.py | 27 +++ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/misc/tools/boot.py b/misc/tools/boot.py index eb2ad38..265d1b3 100644 --- a/misc/tools/boot.py +++ b/misc/tools/boot.py @@ -73,7 +73,7 @@ siunits = { 'g': 10

[PATCH] Fixes for boot image

2019-06-13 Thread chrisj
Hi, I will push these patches soon to fix the convert kernel option and Linux support. Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

[PATCH v2 1/2] misc/boot-image: Fix image convert. Add --build option.

2019-06-13 Thread chrisj
From: Chris Johns - Change the build directory away from `build`, avoid the tool wiping out a libbsd build directory. --- misc/tools/boot.py | 37 + 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/misc/tools/boot.py b/misc/tools/boot.py index

[PATCH] user: Split the ARM BSPs source into separate files.

2019-06-13 Thread chrisj
From: Chris Johns --- user/bsps/bsp-altera-cyclone-v.rst | 83 ++ user/bsps/bsp-atsam.rst| 8 + user/bsps/bsp-beagle.rst | 8 + user/bsps/bsp-csb336.rst | 8 + user/bsps/bsp-csb337.rst | 8 + user/bsps/bsp-edb7312.rst | 8 + user/

[PATCH] arm: Return the current handler from arm_cp15_set_exception_handler

2019-06-25 Thread chrisj
From: Chris Johns Closes #3762 --- bsps/arm/shared/cp15/arm-cp15-set-exception-handler.c | 9 +++-- cpukit/score/cpu/arm/include/libcpu/arm-cp15.h| 7 ++- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/bsps/arm/shared/cp15/arm-cp15-set-exception-handler.c b/bsps

[PATCH] arm: Select the TLB invalidate based on the core's Id variant.

2019-06-25 Thread chrisj
From: Chris Johns Closes #3760 --- bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c b/bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c index c2be0f566e..8e261366ed

[PATCH v2] arm: Select the TLB invalidate based on the core's Id variant.

2019-06-29 Thread chrisj
From: Chris Johns Closes #3760 --- bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c b/bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c index c2be0f566e..8eb4772603

[PATCH 2/4] rtems_bsd: Improve the support for libbsd.

2019-06-29 Thread chrisj
From: Chris Johns 1. Better support for the configure process. 2. Add support to handle a network config file. --- rtems_bsd.py | 117 +-- 1 file changed, 95 insertions(+), 22 deletions(-) diff --git a/rtems_bsd.py b/rtems_bsd.py index 13212de..f2

[PATCH 3/4] rtems: Add more checks, ranlib and strip.

2019-06-29 Thread chrisj
From: Chris Johns --- rtems.py | 38 +++--- 1 file changed, 35 insertions(+), 3 deletions(-) diff --git a/rtems.py b/rtems.py index 038cc11..2e57de4 100644 --- a/rtems.py +++ b/rtems.py @@ -54,7 +54,7 @@ def options(opt): opt.add_option('--rtems-version',

[PATCH 1/4] rootfs: Improve the support to build a tar file.

2019-06-29 Thread chrisj
From: Chris Johns --- rootfs.py | 111 -- 1 file changed, 100 insertions(+), 11 deletions(-) diff --git a/rootfs.py b/rootfs.py index 26c2d1b..6fef0e4 100644 --- a/rootfs.py +++ b/rootfs.py @@ -24,14 +24,32 @@ # (INCLUDING NEGLIGENCE OR OTHE

[PATCH 4/4] dl: Add dynamicly loaded app support.

2019-06-29 Thread chrisj
From: Chris Johns --- dl.py | 118 ++ 1 file changed, 118 insertions(+) create mode 100644 dl.py diff --git a/dl.py b/dl.py new file mode 100644 index 000..ec5b238 --- /dev/null +++ b/dl.py @@ -0,0 +1,118 @@ +# +# RTEMS Project (https

[PATCH] misc/rtemsdefaultconfig: Add bdbuf so libbsd can be used with configure.

2019-07-02 Thread chrisj
From: Chris Johns --- cpukit/libmisc/dummy/default-configuration.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cpukit/libmisc/dummy/default-configuration.c b/cpukit/libmisc/dummy/default-configuration.c index 629c58092b..5e130bce52 100644 --- a/cpukit/libmisc/dummy/def

[PATCH] score/interr: Fix comments.

2019-07-02 Thread chrisj
From: Chris Johns --- cpukit/include/rtems/score/interr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpukit/include/rtems/score/interr.h b/cpukit/include/rtems/score/interr.h index 2348532951..73b3b077e3 100644 --- a/cpukit/include/rtems/score/interr.h +++ b/cpukit/

[PATCH] RTEMS 5 3rd party packages

2019-07-06 Thread chrisj
Hi This patch updates all 3rd party packages the RSB has for RTEMS. Not all packages are building and I have not had the time to get them working. Any help would be welcome. - NTP The error is someting about not supporting a 64bit time_t. Maybe the dev verison will work. - Net-NSMP Thi

[PATCH] 5/packages: Add curl and update all packages with RTEMS 5 and LiobBSD

2019-07-06 Thread chrisj
From: Chris Johns - Update rtems-bsp support to correctly handle hosts for BSP. - Clean up the options for a BSP. - Check all RTEMS 5 packages and add 5/rtems-packages for all that build. - Update download locations and checksum of all packages. - The work requires the kernel and Libbsd hacve th

[PATCH v2] user: Split the ARM BSPs source into separate files.

2019-07-08 Thread chrisj
From: Chris Johns --- user/bsps/arm/altera-cyclone-v.rst | 83 ++ user/bsps/arm/atsam.rst| 8 + user/bsps/arm/beagle.rst | 8 + user/bsps/arm/bsp-csb337.rst | 8 + user/bsps/arm/bsp-stm32f4.rst | 8 + user/bsps/arm/csb336.rst | 8 + user/

[PATCH] user/rsb: Update 3rd party package build and add details.

2019-07-08 Thread chrisj
From: Chris Johns --- user/rsb/configuration.rst| 6 +- user/rsb/index.rst| 51 +-- user/rsb/third-party-packages.rst | 545 ++ 3 files changed, 439 insertions(+), 163 deletions(-) diff --git a/user/rsb/configuration.rst b/user/rsb/configur

[PATCH] sb/config: Fix GDB probs when using python-config.

2019-07-08 Thread chrisj
From: Chris Johns - Fix the config file handling of shell calls where the shell command has nesting braces. - Fix the bool check to support a '!' next to the check value. --- source-builder/config/gdb-common-1.cfg | 5 +-- source-builder/sb/config.py| 47 --

[PATCH] Makefile.inc: Add support for staged builds.

2019-07-19 Thread chrisj
From: Chris Johns - Allow the RTEMS_ROOT to be conditionally supplied. This can be a staging area before being moved to the final install prefix location. - Update the default.cfg to use RTEMS_ROOT and to not rely on the exec_prefix so it's paths can be staged. - Fix and add the needed co

[PATCH 5/7] sb/options: Update copyright year to 2019.

2019-07-21 Thread chrisj
From: Chris Johns --- source-builder/sb/options.py | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/source-builder/sb/options.py b/source-builder/sb/options.py index d8e7a88..9fe0269 100644 --- a/source-builder/sb/options.py +++ b/source-builder/sb/options

[PATCH] RTEMS BSP Buildset

2019-07-21 Thread chrisj
This series of patches adds BSP buildset support to the RSB. A top level BSP buildset can be added that can include the tools, kernel and 3rd party packages, such as libbsd. A single buildset command will build and install a complete BSP development environment: $ ../source-builder/sb-buildset --

[PATCH 3/7] rtems: Add kernel, libbsd and BSP building as packages.

2019-07-21 Thread chrisj
From: Chris Johns --- rtems/config/5/bsps/beagleboneblack.bset| 19 ++ rtems/config/5/rtems-default.bset | 1 - rtems/config/5/rtems-kernel.bset| 15 ++ rtems/config/5/rtems-libbsd.bset| 8 + rtems/config/rtems-base.bset| 9 + rtems/c

[PATCH 4/7] sb/config: Add triplet processing command.

2019-07-21 Thread chrisj
From: Chris Johns --- source-builder/sb/config.py | 31 +++ 1 file changed, 31 insertions(+) diff --git a/source-builder/sb/config.py b/source-builder/sb/config.py index 2c3a13e..8541cb5 100644 --- a/source-builder/sb/config.py +++ b/source-builder/sb/config.py @@ -6

[PATCH 6/7] sb/setbuilder: Support staging of build set build before installing.

2019-07-21 Thread chrisj
From: Chris Johns - Staging lets build sets use previously built build sets. - Fix the rtems-bsp builds to support staging. --- rtems/config/5/rtems-libbsd.bset | 2 +- rtems/config/rtems-bsp.cfg | 28 +++- rtems/config/tools/rtems-libbsd-common.cfg | 2 +- source

[PATCH 1/7] 5/packages: Add curl and update all packages with RTEMS 5 and LibBSD

2019-07-21 Thread chrisj
From: Chris Johns - Update rtems-bsp support to correctly handle hosts for BSP. - Clean up the options for a BSP. - Check all RTEMS 5 packages and add 5/rtems-packages for all that build. - Update download locations and checksum of all packages. - The work requires the kernel and Libbsd hacve th

[PATCH 2/7] sb/config: Fix GDB probes when using python-config.

2019-07-21 Thread chrisj
From: Chris Johns - Fix the config file handling of shell calls where the shell command has nesting braces. - Fix the bool check to support a '!' next to the check value. --- source-builder/config/gdb-common-1.cfg | 5 +-- source-builder/sb/config.py| 47 --

[PATCH 7/7] rtems/bsp: Build packages for the beagle BSP.

2019-07-21 Thread chrisj
From: Chris Johns Closes #3769 --- rtems/config/5/bsps/beagleboneblack.bset | 6 +- rtems/config/5/rtems-or1k.bset | 1 - rtems/config/5/rtems-riscv.bset| 1 - rtems/config/5/rtems-x86_64.bset | 1 - rtems/config/rtems-bsp.cfg | 93

[PATCH] devel/sis: Fix building the SIS on FreeBSD

2019-07-23 Thread chrisj
From: Chris Johns - Update to SIS 2.17 which has internal readline support for the hosts which do not have readline. Closes #3763 --- bare/config/devel/sis-2-1.cfg | 5 ++--- rtems/config/5/rtems-riscv.bset | 2 +- rtems/config/5/rtems-sparc.bset | 3 +-- source-builder/config/sis-

[PATCH] arm/start.S: Do not use a scratch register to hold the stack pointer

2019-07-25 Thread chrisj
From: Chris Johns - The RPi calls C code which trashes scratch registers. Closes #3773 --- bsps/arm/shared/start/start.S | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/bsps/arm/shared/start/start.S b/bsps/arm/shared/start/start.S index 80b7d44db

[PATCH 2/3] libdebugger: ARM fixes for Cortex-A8 and ARM mode.

2019-07-26 Thread chrisj
From: Chris Johns - Fix destorying the target and thread parts. - Fix the ARM backend to support Cortex-A8 and ARM mode code. - Use the DBGDSCR interrupt mask when single stepping. - Use the DBGDSCR method of entry to debug mode to filter the execptions. - Add support for BSPs to control the AR

[PATCH 3/3] arm/beagle: Add libdebugger support.

2019-07-26 Thread chrisj
From: Chris Johns - Port the jbang code from C++ to C to enable DBGEN. - Hook the libdebugger ARM backend support to return the base address of the debug register set. --- bsps/arm/beagle/start/bspdebug.c| 734 bsps/arm/beagle/start/bspdebug.h| 38 ++

[PATCH] Beagleboneblack libdebugger support

2019-07-26 Thread chrisj
These patches add libdebugger support for the beagleboneblack. Special JTAG based BBB BSP probe and configure code is needed to enable the debug hardware in the ARM. The code requires a small hardware mod to work as the BBB hardware by default does not enable software debugging. The libdebugger A

[PATCH 1/3] arm: Select the TLB invalidate based on the core's Id variant.

2019-07-26 Thread chrisj
From: Chris Johns Closes #3760 --- bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c b/bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c index c2be0f566e..cf2d555d18

[PATCH] libdl/arm: Add support for ARM trampolines

2019-07-31 Thread chrisj
From: Chris Johns Closes #3776 --- cpukit/libdl/rtl-mdreloc-arm.c | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/cpukit/libdl/rtl-mdreloc-arm.c b/cpukit/libdl/rtl-mdreloc-arm.c index 9e5d66ee1f..4950dcdab1 100644 --- a/cpukit/libdl/rtl-mdreloc-arm.c +++ b

[PATCH] libdl/debugger: Fix the broken list delete when unloading an object module.

2019-08-05 Thread chrisj
From: Chris Johns Closes #3777 --- .../start/{linkcmds => linkcmds.in} | 0 cpukit/libdl/rtl-debugger.c | 26 +-- cpukit/libdl/rtl-elf.c| 2 -- 3 files changed, 13 insertions(+), 15 deletions(-) rename bsps/arm/raspberrypi/st

[PATCH] arm/raspberry: Set the workspace based on the mailbox version.

2019-08-06 Thread chrisj
From: Chris Johns - Update the linkcmd file to support configure settings - Set the workspace size based on the revision value --- bsps/arm/raspberrypi/start/bspgetworkarea.c | 34 +-- bsps/arm/raspberrypi/start/bspstart.c | 93 +++ bsps/arm/raspberrypi/start/linkc

[PATCH] libdebugger/arm: Support ROM tables.

2019-08-11 Thread chrisj
From: Chris Johns - Parse the ROM taables if present to find the component base for the debug hardware. This lets the RPi2 run dl09.exe. --- cpukit/libdebugger/rtems-debugger-arm.c | 303 +++- 1 file changed, 294 insertions(+), 9 deletions(-) diff --git a/cpukit/libdebugge

[PATCH] arm/tlb: Fix the MP affinity check to invalidate ASIDs.

2019-08-11 Thread chrisj
From: Chris Johns - The TI's CortexA7 MP MPIDR register returns 0 Updates #3760 --- bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c b/bsps/arm/shared/cp15/arm-cp15-set-

[PATCH 1/2] sb/download: Add support for a base64 hash string

2019-08-14 Thread chrisj
From: Chris Johns --- source-builder/sb/download.py | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/source-builder/sb/download.py b/source-builder/sb/download.py index d8061e6..1fb0155 100644 --- a/source-builder/sb/download.py +++ b/source-builder/sb/download.py @

[PATCH] TFTP Proxy

2019-08-18 Thread chrisj
Hi, This patch adds to rtems-tools a TFTP proxy. The proxy lets you point the boot loaders for a farm of devices at a single server and the proxy will farm out the requests to other ports and servers. This lets you run tests on other machines or use non-secure port numbers removing the need to su

[PATCH] misc/tftpproxy: Add a proxy TFTP server.

2019-08-18 Thread chrisj
From: Chris Johns - Uses a config INI file to map clients to servers - Handle a number of requests to a single server's TFTP port (69) and multiplex to a non-su ports or different servers. - Supports running rtems-test to more than one hardware device using TFTP at once. --- misc/rtems-tft

[PATCH 1/5] sb/download: Add support for a base64 hash string

2019-08-27 Thread chrisj
From: Chris Johns --- source-builder/sb/download.py | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/source-builder/sb/download.py b/source-builder/sb/download.py index d8061e6..1fb0155 100644 --- a/source-builder/sb/download.py +++ b/source-builder/sb/download.py @

[PATCH 4/5] 5/kernel: Update to the head of master

2019-08-27 Thread chrisj
From: Chris Johns --- rtems/config/tools/rtems-kernel-5.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtems/config/tools/rtems-kernel-5.cfg b/rtems/config/tools/rtems-kernel-5.cfg index fe538b8..bf2ec9a 100644 --- a/rtems/config/tools/rtems-kernel-5.cfg +++ b/rtems

[PATCH 3/5] 5/tools: Update to the head of master

2019-08-27 Thread chrisj
From: Chris Johns --- rtems/config/tools/rtems-tools-5-1.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtems/config/tools/rtems-tools-5-1.cfg b/rtems/config/tools/rtems-tools-5-1.cfg index 47a865e..aed3f6a 100644 --- a/rtems/config/tools/rtems-tools-5-1.cfg +++ b/r

[PATCH 2/5] sb: Send only one mail when building a BSP

2019-08-27 Thread chrisj
From: Chris Johns - Add support to email a single report if configured to do so. --- rtems/config/5/bsps/beagleboneblack.bset | 2 + source-builder/sb/setbuilder.py | 114 ++- 2 files changed, 70 insertions(+), 46 deletions(-) diff --git a/rtems/config/5/bsps/beag

[PATCH 5/5] 5/libbsd: Update to the head of master

2019-08-27 Thread chrisj
From: Chris Johns --- rtems/config/tools/rtems-libbsd-5.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtems/config/tools/rtems-libbsd-5.cfg b/rtems/config/tools/rtems-libbsd-5.cfg index 8f0141b..d6157d1 100644 --- a/rtems/config/tools/rtems-libbsd-5.cfg +++ b/rtems

[PATCH] Add a parallel bootstrap command.

2019-09-02 Thread chrisj
From: Chris Johns --- rtems-bootstrap | 270 1 file changed, 270 insertions(+) create mode 100755 rtems-bootstrap diff --git a/rtems-bootstrap b/rtems-bootstrap new file mode 100755 index 00..9db039aada --- /dev/null +++ b/rtems-bootstra

[PATCH 4/4] 5/llvm: Add LLVM as a package for RTEMS.

2019-09-14 Thread chrisj
From: Chris Johns - Add '%source download ' to only download the source and do not unpack and prep. This can used when a package internally needs another source package. - Install the staging root only if it is present. A package may internally build another package that is not staged as i

[PATCH 3/4] sb/setbuilder: Add a trace to help installing.

2019-09-14 Thread chrisj
From: Chris Johns --- source-builder/sb/setbuilder.py | 1 + 1 file changed, 1 insertion(+) diff --git a/source-builder/sb/setbuilder.py b/source-builder/sb/setbuilder.py index 7443865..380fa00 100644 --- a/source-builder/sb/setbuilder.py +++ b/source-builder/sb/setbuilder.py @@ -214,6 +214,7 @

RSB LLVM Package

2019-09-14 Thread chrisj
Hello, These patches add LLVM as a package to rtems-5. You can build LLVM to a prefix using ... ../source-builder/sb-setbuilder --prefix=/some/where --log=llvm.txt 5/rtems-llvm - The package builds swig as it is used by lldb. The swig package internally builds and statically links PCRE. Ther

[PATCH 2/4] bare/pcre: Add PCRE 8.40

2019-09-14 Thread chrisj
From: Chris Johns --- bare/config/devel/pcre-8.40-1.cfg | 19 source-builder/config/pcre-8-1.cfg | 70 ++ 2 files changed, 89 insertions(+) create mode 100644 bare/config/devel/pcre-8.40-1.cfg create mode 100644 source-builder/config/pcre-8-1.cfg diff --g

[PATCH 1/4] sb/check-command: Add a check command wrapper

2019-09-14 Thread chrisj
From: Chris Johns --- source-builder/sb/rtems-check-command | 26 ++ 1 file changed, 26 insertions(+) create mode 100755 source-builder/sb/rtems-check-command diff --git a/source-builder/sb/rtems-check-command b/source-builder/sb/rtems-check-command new file mode 10075

[PATCH] user/rsb: Update 3rd party package build and add packaging details.

2019-10-13 Thread chrisj
From: Chris Johns --- user/rsb/configuration.rst| 6 +- user/rsb/cross-canadian-cross.rst | 27 +- user/rsb/index.rst| 84 ++-- user/rsb/project-sets.rst | 144 +++ user/rsb/third-party-packages.rst | 635 ++ user/start/prefixes

[PATCH 2/2] libdebugger/arm: Clean up the building on arm variants.

2019-10-19 Thread chrisj
From: Chris Johns --- cpukit/libdebugger/rtems-debugger-arm.c | 50 +++-- 1 file changed, 21 insertions(+), 29 deletions(-) diff --git a/cpukit/libdebugger/rtems-debugger-arm.c b/cpukit/libdebugger/rtems-debugger-arm.c index 3d5dea0ab7..106cbe8b8a 100644 --- a/cpukit/libdeb

[PATCH 1/2] arm/beanglebone: Fix i2c build error.

2019-10-19 Thread chrisj
From: Chris Johns --- bsps/arm/beagle/i2c/bbb-i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsps/arm/beagle/i2c/bbb-i2c.c b/bsps/arm/beagle/i2c/bbb-i2c.c index 4153063a34..664684b02f 100644 --- a/bsps/arm/beagle/i2c/bbb-i2c.c +++ b/bsps/arm/beagle/i2c/bbb-i2c.c @@ -65

[PATCH] Update the help to match the available options.

2019-10-21 Thread chrisj
From: Chris Johns --- help.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/help.c b/help.c index 2593d84..b3f5407 100644 --- a/help.c +++ b/help.c @@ -25,8 +25,11 @@ sis_usage () { printf ("usage: sis [-uart1 uart_device1] [-uart2 uart_device2]\n"); - printf (

[PATCH 2/3] sb/windows: Add the optional cmake command.

2019-10-24 Thread chrisj
From: Chris Johns --- source-builder/sb/windows.py | 1 + 1 file changed, 1 insertion(+) diff --git a/source-builder/sb/windows.py b/source-builder/sb/windows.py index 0f93b6c..199a6b8 100644 --- a/source-builder/sb/windows.py +++ b/source-builder/sb/windows.py @@ -102,6 +102,7 @@ def load():

[PATCH 1/3] sb/build: Add -E to '%source setup' to handle tar dependency errors.

2019-10-24 Thread chrisj
From: Chris Johns Tar on Windows raises an error if a symlink appears before the target. Windows needs the target to exist before a link can be created. This patch adds support via the -E option to catch the error and rerun the tar command a second time. The symlink should work as the target shou

[PATCH 3/3] rtems/llvm: Add support to build llvm on Windows.

2019-10-24 Thread chrisj
From: Chris Johns --- source-builder/config/llvm-common-1.cfg | 36 + 1 file changed, 25 insertions(+), 11 deletions(-) diff --git a/source-builder/config/llvm-common-1.cfg b/source-builder/config/llvm-common-1.cfg index c75769f..629d2bf 100644 --- a/source-builder/conf

RTEMS Release Snapshot: 5.0.0-m1911 (01 Nov 2019)

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

<    1   2   3   4   5   6   7   >