[PATCH 1/3] Move all python commands to use env python

2020-09-24 Thread chrisj
From: Chris Johns - If you host does not provide a python command consult the User manual for ways you can run the python commands. - Full package paths are being used to avoid namespace pollution and crosstalk. --- tester/rt/cmd-run.py => misc/__init__.py | 18 +-- misc/rtems-boot

[PATCH 2/3] rtemstoolkit/configuration: Treat an empty variable as an empty list

2020-09-24 Thread chrisj
From: Chris Johns --- rtemstoolkit/configuration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtemstoolkit/configuration.py b/rtemstoolkit/configuration.py index a73fd9b..1f57de4 100644 --- a/rtemstoolkit/configuration.py +++ b/rtemstoolkit/configuration.py @@ -140,7 +1

[PATCH 3/3] rtemstoolkit/dwarf: Dump the DIE offset

2020-09-24 Thread chrisj
From: Chris Johns --- rtemstoolkit/rld-dwarf.cpp | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rtemstoolkit/rld-dwarf.cpp b/rtemstoolkit/rld-dwarf.cpp index fc4399a..d9ac6f3 100644 --- a/rtemstoolkit/rld-dwarf.cpp +++ b/rtemstoolkit/rld-dwarf.cpp @@ -1429,7 +1429,11 @@

[PATCH] leon,gr1553b: improve init check

2020-09-30 Thread chrisj
From: Daniel Hellstrom Check in init3 not needed since same data is already checked in init2 stage. Adds an extra check that the APB register space is available before accessing it. Closes #2331 --- c/src/lib/libbsp/sparc/shared/1553/gr1553b.c | 11 --- 1 file changed, 8 insertions(+),

[PATCH 1/3] rtemstoolkit: Fix macro's use of 'is'

2020-10-02 Thread chrisj
From: Chris Johns Updates #4111 --- rtemstoolkit/macros.py | 90 +- 1 file changed, 45 insertions(+), 45 deletions(-) diff --git a/rtemstoolkit/macros.py b/rtemstoolkit/macros.py index 4eb8829..be983f1 100644 --- a/rtemstoolkit/macros.py +++ b/rtemstoolki

[PATCH 3/3] rtemstoolkit/linux: Fix the host support

2020-10-02 Thread chrisj
From: Chris Johns Updates #4111 --- rtemstoolkit/linux.py | 20 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/rtemstoolkit/linux.py b/rtemstoolkit/linux.py index 15c6132..1ce6739 100644 --- a/rtemstoolkit/linux.py +++ b/rtemstoolkit/linux.py @@ -33,6 +33,7 @

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

2020-10-02 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 | 416 +++ spec/build/cpukit/grp.yml

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

2020-10-05 Thread chrisj
From: Chris Johns --- cpukit/include/rtems/c++/error| 69 cpukit/include/rtems/c++/thread | 476 ++ cpukit/librtemscxx/error.cc | 76 cpukit/librtemscxx/thread.cc | 416 +++ spec/build/cpukit/grp.yml

Update 4.11 RSB to work with python 3 and python 2

2020-10-05 Thread chrisj
Hello, This change backports the RSB python source from master to 4.11 so 4.11 can be maintained on newer hosts. GDB has been updated to 9.1 for the architectures that can support it. The SPARC architecture has been lift at 7.9 with building with python been disabled. Builds on Ubuntu 20 and Fre

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

2020-10-06 Thread chrisj
From: Chris Johns --- cpukit/include/rtems/error.hpp| 68 +++ cpukit/include/rtems/thread.hpp | 477 ++ cpukit/librtemscxx/error.cpp | 76 cpukit/librtemscxx/thread.cpp | 416 +++ spec/build/cpukit/grp.yml

[PATCH 2/2] testsuite/rcxx01: Add examples for use in the User manual

2020-10-08 Thread chrisj
From: Chris Johns --- spec/build/testsuites/libtests/rcxx01.yml | 3 + testsuites/libtests/rcxx01/init.c | 2 +- testsuites/libtests/rcxx01/thread.cpp | 21 +++- testsuites/libtests/rcxx01/user-example-1.cpp | 49 testsuites/libtests/rcxx01/user-example-2.c

[PATCH 1/2] librtemsc++: Add join() and detach() to the thread

2020-10-08 Thread chrisj
From: Chris Johns - Do not start threads detached --- cpukit/include/rtems/thread.hpp | 4 cpukit/librtemscxx/thread.cpp | 22 ++ 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/cpukit/include/rtems/thread.hpp b/cpukit/include/rtems/thread.hpp index e9

[PATCH v2 1/3] librtemscxx: Add join() and detach() to the thread

2020-10-08 Thread chrisj
From: Chris Johns - Do not start threads detached --- cpukit/include/rtems/thread.hpp | 4 +++ cpukit/librtemscxx/error.cpp| 9 --- cpukit/librtemscxx/thread.cpp | 44 - 3 files changed, 43 insertions(+), 14 deletions(-) diff --git a/cpukit/include/rt

[PATCH v2 3/3] testsuite/rcxx01: Add examples for use in the User manual

2020-10-08 Thread chrisj
From: Chris Johns --- spec/build/testsuites/libtests/rcxx01.yml | 3 + testsuites/libtests/rcxx01/init.c | 2 +- testsuites/libtests/rcxx01/thread.cpp | 21 +++- testsuites/libtests/rcxx01/user-example-1.cpp | 49 testsuites/libtests/rcxx01/user-example-2.c

[PATCH v2 2/3] librtemscxx: Fix white space to match the coding standard

2020-10-08 Thread chrisj
From: Chris Johns --- cpukit/include/rtems/error.hpp | 14 +- cpukit/include/rtems/thread.hpp | 144 ++-- cpukit/librtemscxx/error.cpp| 34 ++--- cpukit/librtemscxx/thread.cpp | 224 4 files changed, 208 insertions(+), 208 deletions(-) d

[PATCH] user: Add a Languages section

2020-10-08 Thread chrisj
From: Chris Johns --- user/index.rst | 2 + user/languages/c.rst | 14 ++ user/languages/cpp.rst | 312 +++ user/languages/index.rst | 21 +++ 4 files changed, 349 insertions(+) create mode 100644 user/languages/c.rst create mode 100644 u

[PATCH] libfs/rfs: Check search bit map end on last bit

2020-10-14 Thread chrisj
From: Chris Johns - Do not write past the last location of the search bit map whe nit is being created. Closes #4148 --- cpukit/libfs/src/rfs/rtems-rfs-bitmaps.c | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/cpukit/libfs/src/rfs/rtems-rfs-bitmaps.c b/

[PATCH 5] libfs/rfs: Check search bit map end on last bit

2020-10-14 Thread chrisj
From: Chris Johns - Do not write past the last location of the search bit map whe nit is being created. Closes #4149 --- cpukit/libfs/src/rfs/rtems-rfs-bitmaps.c | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/cpukit/libfs/src/rfs/rtems-rfs-bitmaps.c b/

[PATCH v2] user: Add a Languages section

2020-10-18 Thread chrisj
From: Chris Johns --- user/index.rst | 2 + user/languages/c.rst | 18 +++ user/languages/cpp.rst | 312 +++ user/languages/index.rst | 24 +++ 4 files changed, 356 insertions(+) create mode 100644 user/languages/c.rst create mode 100644

[PATCH v2] User Manual languages section

2020-10-18 Thread chrisj
Hello, Thank you for the reviews and comments of the v1 patch. I believe I have addressed the items raised in the review comments. I have not added sections for languages I do not know about or use. I think it is best those who know the language and support it should add a section. I understand

[PATCH] powerpc/nexus: Add legacy PCI support to PowerPC Motorola Shared BSP family

2020-10-19 Thread chrisj
From: Chris Johns --- libbsd.py | 2 +- rtemsbsd/include/bsp/nexus-devices.h | 6 +- rtemsbsd/powerpc/include/machine/legacyvar.h | 2 ++ rtemsbsd/powerpc/include/machine/pci_cfgreg.h | 2 ++ 4 files changed, 10 insertions(+), 2 deletions(-) cre

LibBSD PowerPC motorola_shared BSP PCI Support

2020-10-19 Thread chrisj
Hello, This patch for libbsd adds PCI support to the motorola_shared BSP family. Tested on a MVME2700 (mvme2307) BSP: nexus0: pcib0 pcibus 0 on motherboard pci0: on pcib0 pci0: at device 0.0 (no driver attached) pci0: at device 11.0 (no driver attached) pci0: at device 11.1 (no driver attac

[PATCH] devel/qemu: Update QEMU to 5.2.0-rc1

2020-11-12 Thread chrisj
From: Chris Johns - This version of qemu uses meson and ninja to build. You will need to install ninja to build. No checks are made until meson run --- .../{qemu4-git-1.cfg => qemu-5.2.0-1.cfg} | 16 +- bare/config/devel/qemu.bset | 2 +- bare/config/devel/qemu4.bset

[PATCH] Update QEMU to 5.2.0-rc1

2020-11-12 Thread chrisj
Hello, This patch removed the previous git build of qemu and qem4 replacing it with 5.2.0-rc1. I can build on FreeBSD and run the network tests for the Xilinx Zynq BSP. QEMU 5.2.0 has moved to the meson build system so you will need to make sure you have Ninja install as meson layers on top of Ni

[PATCH v2] devel/qemu: Update QEMU to 5.2.0-rc1

2020-11-12 Thread chrisj
From: Chris Johns - This version of qemu uses meson and ninja to build. You will need to install ninja to build. No checks are made until meson run --- .../{qemu4-git-1.cfg => qemu-5.2.0-1.cfg} | 18 +-- bare/config/devel/qemu.bset | 2 +- bare/config/devel/qemu4.bset

[PATCH v2] Update QEMU 5.2.0-rc1

2020-11-12 Thread chrisj
Hello, This patch removed the previous git build of qemu and qem4 replacing it with 5.2.0-rc1. I can build on FreeBSD and run the network tests for the Xilinx Zynq BSP. QEMU 5.2.0 has moved to the meson build system so you will need to make sure you have Ninja install as meson layers on top of Ni

[PATCH] cpukit: Merge FreeBSD values for the priorities

2020-12-23 Thread chrisj
From: Chris Johns It seems we need valid values or assumptions in the FreeBSD about these values breaks some of the code. Closes #4207 --- cpukit/include/sys/priority.h | 102 -- 1 file changed, 85 insertions(+), 17 deletions(-) diff --git a/cpukit/include/sys/p

[PATCH] libcsupport: Add no_reg_make_node as a mount option to the mount table

2021-01-24 Thread chrisj
From: Chris Johns - Add the bool flag no_reg_make_mode to the mount table so a file system can indicate creating regular files is not done by use the mknod handler. The file system will handle creating a file node in the open handler. - Note, the mount option is an enum which means there i

[PATCH] powerpc/shared: ISA bus bridge fails to enable the openpic irq

2021-02-06 Thread chrisj
From: Chris Johns - The call to enable the openpic irq for the ISA bridge falls because the IRQ used is offset by the ISA bus signals and the openpic call expects an IRA relative to it's signals. - Add the MVME 2600/2700 to the list is an ISA bridge. Closes #4231 --- bsps/powerpc/shared/ir

[RTEMS 5 PATCH] powerpc/shared: ISA bus bridge fails to enable the openpic irq

2021-02-07 Thread chrisj
From: Chris Johns - The call to enable the openpic irq for the ISA bridge falls because the IRQ used is offset by the ISA bus signals and the openpic call expects an IRA relative to it's signals. - Add the MVME 2600/2700 to the list is an ISA bridge. Closes #4233 --- bsps/powerpc/shared/ir

[RTEMS 5 PATCH] bsp/motorola_powerp: Print RTEMS_VERSION from the bootloader

2021-02-07 Thread chrisj
From: Chris Johns Close #4234 --- bsps/powerpc/motorola_powerpc/bootloader/misc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bsps/powerpc/motorola_powerpc/bootloader/misc.c b/bsps/powerpc/motorola_powerpc/bootloader/misc.c index 587bcffcff..ff2e3ff590 100644 --- a/bs

[RTEMS 5 PATCH v2] powerpc/shared: ISA bus bridge fails to enable the openpic irq

2021-02-07 Thread chrisj
From: Chris Johns - The call to enable the openpic irq for the ISA bridge fails because the IRQ used is offset by the ISA bus signals and the openpic call expects an IRQ relative to its signals. - Add the MVME 2600/2700 to the list of boards with an ISA bridge. Closes #4233 --- bsps/powerp

[RTEMS 4.11 PATCH] powerpc/shared: ISA bus bridge fails to enable the openpic irq

2021-02-07 Thread chrisj
From: Chris Johns - The call to enable the openpic irq for the ISA bridge fails because the IRQ used is offset by the ISA bus signals and the openpic call expects an IRQ relative to its signals. - Add the MVME 2600/2700 to the list of boards with an ISA bridge. Closes #4235 --- c/src/lib/l

[PATCH] libcsupport: Have greedy allocations use consume extended memory

2021-02-07 Thread chrisj
From: Chris Johns - Call the heap extend handler until all memory has been requested. Closes #3982 --- cpukit/libcsupport/src/rtems_heap_greedy.c | 12 1 file changed, 12 insertions(+) diff --git a/cpukit/libcsupport/src/rtems_heap_greedy.c b/cpukit/libcsupport/src/rtems_heap_g

[PATCH] libcsupport: Add sbrk greedy support to consume all sbrk memory

2021-02-08 Thread chrisj
From: Chris Johns - Move the heap sbrk code into a separate routnine. - Update heap and workspace greedy allocators to use the common sbrk greedy support. Closes #3982 --- cpukit/Makefile.am| 1 + cpukit/include/rtems/malloc.h | 13 +++ cpukit

[PATCH v2] libcsupport: Add sbrk greedy support to consume all sbrk memory

2021-02-08 Thread chrisj
From: Chris Johns - Move the heap sbrk code into a separate routnine. - Update heap and workspace greedy allocators to use the common sbrk greedy support. Closes #3982 --- cpukit/Makefile.am| 1 + cpukit/include/rtems/malloc.h | 13 cpukit/li

[PATCH] Update motorola_power to irq-generic interrupt management

2021-02-12 Thread chrisj
From: Chris Johns - Add support to the BSP to enable irq-generic management - Update the powerpc shared irq code to support irq-generic. This is an option in option for existing powerpc bsps. This change should be simpler now - Fix a number of issues in ISA IRQ controller handling by portin

[PATCH v2] Update motorola_power to irq-generic interrupt management

2021-02-12 Thread chrisj
From: Chris Johns - Add support to the BSP to enable irq-generic management - Update the powerpc shared irq code to support irq-generic. This is an option in option for existing powerpc bsps. This change should be simpler now - Fix a number of issues in ISA IRQ controller handling by portin

[PATCH 1/3] score: Fix warning in thread queue ops

2021-02-12 Thread chrisj
From: Chris Johns --- cpukit/score/src/threadqops.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cpukit/score/src/threadqops.c b/cpukit/score/src/threadqops.c index ef20431178..d6ba9dad57 100644 --- a/cpukit/score/src/threadqops.c +++ b/cpukit/score/src/threadqops.c

[PATCH 2/3] powerpc/motorola_powerpc: Fix tm27 warnings

2021-02-12 Thread chrisj
From: Chris Johns --- bsps/powerpc/motorola_powerpc/include/tm27.h | 24 +--- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/bsps/powerpc/motorola_powerpc/include/tm27.h b/bsps/powerpc/motorola_powerpc/include/tm27.h index 4d616cb3ed..15e66f2a81 100644 --- a/bsps

[PATCH 3/3] powerpc/shared: Fix warnings

2021-02-12 Thread chrisj
From: Chris Johns --- bsps/powerpc/shared/vme/bspVmeDmaList.c | 3 ++- bsps/powerpc/shared/vme/vmeTsi148.c | 15 +-- bsps/powerpc/shared/vme/vmeUniverse.c | 8 +--- 3 files changed, 16 insertions(+), 10 deletions(-) diff --git a/bsps/powerpc/shared/vme/bspVmeDmaList.c b

[PATCH 1/4] powerpc/shared: Fix warnings in i8259 PIC code.

2021-02-15 Thread chrisj
From: Chris Johns --- bsps/powerpc/shared/irq/i8259.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/bsps/powerpc/shared/irq/i8259.c b/bsps/powerpc/shared/irq/i8259.c index 6a80e24946..37cbc360de 100644 --- a/bsps/powerpc/shared/irq/i8259.c +++ b/bsps/powerpc/shared/irq/i8259.c @@ -125

[PATCH 4/4] powerpc/motorola_powerpc: Add cache coherent memory to the allocator

2021-02-15 Thread chrisj
From: Chris Johns Updates #4245 Updates #4243 --- bsps/powerpc/motorola_powerpc/start/bspstart.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/bsps/powerpc/motorola_powerpc/start/bspstart.c b/bsps/powerpc/motorola_powerpc/start/bspstart.c index ef8418e2c6..a781297565 100644 --- a/bs

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

2021-02-15 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 3/4] powerpc/motorola_powerpc: Enable bus PCI support in LibBSD

2021-02-15 Thread chrisj
From: Chris Johns Updates #4245 --- bsps/powerpc/motorola_powerpc/include/bsp.h | 4 1 file changed, 4 insertions(+) diff --git a/bsps/powerpc/motorola_powerpc/include/bsp.h b/bsps/powerpc/motorola_powerpc/include/bsp.h index 62e740272a..af0e71471e 100644 --- a/bsps/powerpc/motorola_power

[6-freebsd-12 PATCH 2/2] bsp/motorola_powerpc: Add dc and ukphy support

2021-02-15 Thread chrisj
From: Chris Johns - Add the dc net dev to the BSP - Add the ukphy support Closes # 4246 --- freebsd/sys/dev/dc/if_dc.c| 10 -- freebsd/sys/dev/dc/if_dcreg.h | 7 rtemsbsd/include/bsp/nexus-devices.h | 4 +++ .../include/machine/rtems-bsd-

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

2021-02-15 Thread chrisj
From: Chris Johns - Add PCI IO region support - Add support map buffers to PCI address space Closes #4245 --- rtemsbsd/include/machine/bus.h| 124 ++ rtemsbsd/rtems/rtems-kernel-bus-dma.c | 5 +- rtemsbsd/rtems/rtems-kernel-nexus.c | 23 +++-- 3 files chang

[6-freebsd-12 PATCH v2 1/2] rtemsbsd/bus: Add PCI support to the nexus bus

2021-02-15 Thread chrisj
From: Chris Johns - Add PCI IO region support - Add support map buffers to PCI address space Closes #4245 --- rtemsbsd/include/machine/bus.h| 124 ++ rtemsbsd/rtems/rtems-kernel-bus-dma.c | 5 +- rtemsbsd/rtems/rtems-kernel-nexus.c | 23 +++-- 3 files chang

[6-freebsd-12 PATCH v2 2/2] bsp/motorola_powerpc: Add dc and ukphy support

2021-02-15 Thread chrisj
From: Chris Johns - Add the dc net dev to the BSP - Add the ukphy support Closes # 4246 --- freebsd/sys/dev/dc/if_dc.c| 7 freebsd/sys/dev/dc/if_dcreg.h | 7 rtemsbsd/include/bsp/nexus-devices.h | 4 +++ .../include/machine/rtems-bsd-ne

[5 PATCH] Update motorola_power to irq-generic interrupt management

2021-02-15 Thread chrisj
From: Chris Johns - Add support to the BSP to enable irq-generic management - Update the powerpc shared irq code to support irq-generic. This is an opt in option for existing powerpc bsps. This change should be simpler now - Fix a number of issues in ISA IRQ controller handling by porting

[libbsd PATCH v2 2/2] bsp/motorola_powerpc: Add dc and ukphy support

2021-02-16 Thread chrisj
From: Chris Johns - Add the dc net dev to the BSP - Add the ukphy support Closes # 4246 --- freebsd/sys/dev/dc/if_dc.c| 7 freebsd/sys/dev/dc/if_dcreg.h | 7 rtemsbsd/include/bsp/nexus-devices.h | 4 +++ .../include/machine/rtems-bsd-ne

[libbsd PATCH v2 1/2] rtemsbsd/bus: Add PCI support to the nexus bus

2021-02-16 Thread chrisj
From: Chris Johns - Add PCI IO region support - Add support map buffers to PCI address space Closes #4245 --- rtemsbsd/include/machine/bus.h| 282 -- rtemsbsd/rtems/rtems-kernel-bus-dma.c | 5 +- rtemsbsd/rtems/rtems-kernel-nexus.c | 50 - 3 files chang

[5 PATCH] powerpc/motorola_power: Link all text sections into the executable image

2021-02-23 Thread chrisj
From: Chris Johns - The change to building all code with code and data sections means we have a section per function. Make sure all functions are placed in the text section. Closes #4266 --- bsps/powerpc/motorola_powerpc/bootloader/ppcboot.lds | 2 +- 1 file changed, 1 insertion(+), 1 delet

[5 PATCH] powerpc/motorola_power: Place any common data in the .bss section

2021-02-26 Thread chrisj
From: Chris Johns - It seems the compiler how defaults to -fcommon and this means some uninitialised data is ignored. Closes #4266 --- bsps/powerpc/motorola_powerpc/bootloader/ppcboot.lds | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/bsps/powerpc/motorola_powerpc/

[PATCH 1/2] Fix the linux specific include

2021-05-10 Thread chrisj
From: Chris Johns --- common/latex.py | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/latex.py b/common/latex.py index a1b3917..17d3015 100644 --- a/common/latex.py +++ b/common/latex.py @@ -4,10 +4,6 @@ import os import re -try: -from distro import lin

[PATCH 2/2] Fix the bibtex extension configure test

2021-05-10 Thread chrisj
From: Chris Johns --- common/waf.py | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/common/waf.py b/common/waf.py index 3806209..fa9aecb 100644 --- a/common/waf.py +++ b/common/waf.py @@ -181,10 +181,12 @@ def check_sphinx_extension(ctx, extension): def run_sphinx(

[PATCH 1/2] Fix the linux specific include

2021-05-20 Thread chrisj
From: Chris Johns --- common/latex.py | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/latex.py b/common/latex.py index a1b3917..17d3015 100644 --- a/common/latex.py +++ b/common/latex.py @@ -4,10 +4,6 @@ import os import re -try: -from distro import lin

[PATCH 2/2] Fix the bibtex extension configure test

2021-05-20 Thread chrisj
From: Chris Johns --- common/waf.py | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/common/waf.py b/common/waf.py index 3806209..fa9aecb 100644 --- a/common/waf.py +++ b/common/waf.py @@ -181,10 +181,12 @@ def check_sphinx_extension(ctx, extension): def run_sphinx(

[PATCH] defaults.mc: Remove any checks for objdump and objcopy

2021-06-30 Thread chrisj
From: Chris Johns - FreeBSD is removing any dependence on binutils and release 13 has remove objdump. This is fine as we build our own version. --- source-builder/defaults.mc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source-builder/defaults.mc b/source-builder/de

[PATCH] covoar: Fix errors building on FreeBSD and clang

2021-06-30 Thread chrisj
From: Chris Johns - The member variable `path_` cannot be a reference and initialised to a const char* type input. To do so would require there is a temporary with an unspecified life time. --- tester/covoar/AddressToLineMapper.h | 2 +- tester/covoar/Target_aarch64.h | 2 +- 2 files ch

[PATCH] tester: Add Versal VCK190 eval board TFTP support

2021-06-30 Thread chrisj
From: Chris Johns --- .../testing/bsps/xilinx_versal_vck190.ini | 43 +++ 1 file changed, 43 insertions(+) create mode 100644 tester/rtems/testing/bsps/xilinx_versal_vck190.ini diff --git a/tester/rtems/testing/bsps/xilinx_versal_vck190.ini b/tester/rtems/testing/bsps/xili

[PATCH v2] build: Use BSP family for options

2021-07-13 Thread chrisj
From: Chris Johns - Optionally add support for 'default-by-family' to allow option to be set by a family and so all related BSPs Close #4468 --- wscript | 36 +++- 1 file changed, 23 insertions(+), 13 deletions(-) diff --git a/wscript b/wscript index 6626fafb7

[PATCH v3 2/2] build: Fix the motorola_powerpc default baudrate

2021-07-14 Thread chrisj
From: Chris Johns --- spec/build/bsps/optconsolebaud.yml | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/spec/build/bsps/optconsolebaud.yml b/spec/build/bsps/optconsolebaud.yml index 2658abbff8..4b0869beca 100644 --- a/spec/build/bsps/optconsolebaud.yml +++ b/spec/buil

[PATCH] rtems-bsps: Add markdown support

2020-05-01 Thread chrisj
From: Chris Johns - Convert to python for better performance --- rtems-bsps | 369 ++--- 1 file changed, 320 insertions(+), 49 deletions(-) diff --git a/rtems-bsps b/rtems-bsps index 133009046c..82c5150969 100755 --- a/rtems-bsps +++ b/rtems-bsps

[PATCH 6/7] libdl/rap: Correctly check the return enum from rela calls

2020-05-04 Thread chrisj
From: Chris Johns - The change from bool to an enum did not trip a compiler warning and only the rel path was changed. The rela path was missed so archs like SPARC failed. Updates #3969 --- cpukit/libdl/rtl-rap.c | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff

[PATCH 2/7] libdl/sparc: Print trace message of reloc failture path

2020-05-04 Thread chrisj
From: Chris Johns Updates #3969 --- cpukit/libdl/rtl-mdreloc-sparc.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cpukit/libdl/rtl-mdreloc-sparc.c b/cpukit/libdl/rtl-mdreloc-sparc.c index 548c24132b..f8a4312a8a 100644 --- a/cpukit/libdl/rtl-mdreloc-sparc.c +++ b/cpukit

[PATCH 5/7] libdl/obj-comp: Add trace prints when decompressing

2020-05-04 Thread chrisj
From: Chris Johns Updates #3969 --- cpukit/include/rtems/rtl/rtl-trace.h | 2 ++ cpukit/libdl/rtl-obj-comp.c | 31 2 files changed, 33 insertions(+) diff --git a/cpukit/include/rtems/rtl/rtl-trace.h b/cpukit/include/rtems/rtl/rtl-trace.h index 06c72c8992.

[PATCH 4/7] libdl/obj-cache: Fail if the read offset is past the file length

2020-05-04 Thread chrisj
From: Chris Johns - The check was for greater than and not equal or greater Updates #3969 --- cpukit/libdl/rtl-obj-cache.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/cpukit/libdl/rtl-obj-cache.c b/cpukit/libdl/rtl-obj-cache.c index 28d3b02a16..8791e2b1d5 100644

[PATCH 1/7] libdl: Fix comment.

2020-05-04 Thread chrisj
From: Chris Johns Updates #3969 --- cpukit/libdl/rtl-elf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpukit/libdl/rtl-elf.c b/cpukit/libdl/rtl-elf.c index 9370f36989..75b3d9c953 100644 --- a/cpukit/libdl/rtl-elf.c +++ b/cpukit/libdl/rtl-elf.c @@ -1717,7 +1717,7 @@ rtems

[PATCH 3/7] libdl/obj: Fix RAP format call table.

2020-05-04 Thread chrisj
From: Chris Johns Updates #3969 --- cpukit/libdl/rtl-obj.c | 1 - 1 file changed, 1 deletion(-) diff --git a/cpukit/libdl/rtl-obj.c b/cpukit/libdl/rtl-obj.c index 0c4a624c18..a7dd740549 100644 --- a/cpukit/libdl/rtl-obj.c +++ b/cpukit/libdl/rtl-obj.c @@ -60,7 +60,6 @@ static const rtems_rtl_loa

[PATCH 7/7] testsuite/dl06: Add a local define to control tracing

2020-05-04 Thread chrisj
From: Chris Johns Closes #3969 --- testsuites/libtests/dl06/dl-load.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testsuites/libtests/dl06/dl-load.c b/testsuites/libtests/dl06/dl-load.c index d78e9d1ef8..211c05cd3c 100644 --- a/testsuites/libtests/dl06/dl-load.c +++ b/testsuites/libte

[PATCH 6/6] testsuite: Add expected-fail to beagleboneblack

2020-05-06 Thread chrisj
From: Chris Johns Updates #2962 --- .../config/beagleboneblack-testsuite.tcfg | 17 + 1 file changed, 17 insertions(+) create mode 100644 bsps/arm/beagle/config/beagleboneblack-testsuite.tcfg diff --git a/bsps/arm/beagle/config/beagleboneblack-testsuite.tcfg b/bsps/arm/b

[PATCH 2/6] testsuite: Add expected-fail to erc32, leon2, and leon3 BSPs

2020-05-06 Thread chrisj
From: Chris Johns Updates #2962 --- bsps/sparc/erc32/config/erc32-testsuite.tcfg | 7 +++ bsps/sparc/leon2/config/leon2-testsuite.tcfg | 7 +++ bsps/sparc/leon3/config/leon3-testsuite.tcfg | 7 +++ bsps/sparc/sparc-testsuite.tcfg | 7 +++ 4 files changed, 28 insertio

[PATCH 3/6] libdl: Add allocator check script

2020-05-06 Thread chrisj
From: Chris Johns Use with the trace outout to check for allocation leaks. --- cpukit/libdl/rtl-alloc-check.py | 96 + 1 file changed, 96 insertions(+) create mode 100644 cpukit/libdl/rtl-alloc-check.py diff --git a/cpukit/libdl/rtl-alloc-check.py b/cpukit/libdl

[PATCH 5/6] testsuite: Add expected-fail to xilinx's zedboard, a9_qemu, zc702 and zc706

2020-05-06 Thread chrisj
From: Chris Johns Updates #2962 --- .../xilinx-zynq/config/xilinx_zynq-testsuite.tcfg| 12 .../config/xilinx_zynq_a9_qemu-testsuite.tcfg| 7 +++ .../config/xilinx_zynq_zc702-testsuite.tcfg | 7 +++ .../config/xilinx_zynq_zc706-testsuite.tcfg |

[PATCH 4/6] testsuite: Add expected-fail to psim

2020-05-06 Thread chrisj
From: Chris Johns Updates #2962 --- bsps/powerpc/psim/config/psim-testsuite.tcfg | 22 1 file changed, 22 insertions(+) create mode 100644 bsps/powerpc/psim/config/psim-testsuite.tcfg diff --git a/bsps/powerpc/psim/config/psim-testsuite.tcfg b/bsps/powerpc/psim/config/psi

[PATCH 1/6] testsuite: Add the BSP architecture to the include path

2020-05-06 Thread chrisj
From: Chris Johns Updates #2962 --- testsuites/aclocal/rtems-test-check.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuites/aclocal/rtems-test-check.m4 b/testsuites/aclocal/rtems-test-check.m4 index a0feee5e15..99b3e31244 100644 --- a/testsuites/aclocal/rtems-test-

Test threaded log module for rtems-tools

2020-05-08 Thread chrisj
Hello, This is a test patch of a threading logger. My testing with qemu on a multi-core box gave me an average time of 800msec with a number of timeouts for the xilinx_zynq_a9_qemu BSP. I will try this code in the RSB to see if it works there. Anders, have a look as a possible start of a solutio

[PATCH] rtemstoolkit: Rework the log locking adding an output thread.

2020-05-08 Thread chrisj
From: Chris Johns --- rtemstoolkit/log.py | 76 + 1 file changed, 49 insertions(+), 27 deletions(-) diff --git a/rtemstoolkit/log.py b/rtemstoolkit/log.py index 00fdb05..2e73e72 100755 --- a/rtemstoolkit/log.py +++ b/rtemstoolkit/log.py @@ -34,8 +34,1

[PATCH] i386/pc: Initialise the printk serial port on first use

2020-06-16 Thread chrisj
From: Chris Johns --- bsps/i386/pc386/console/conscfg.c| 7 ++-- bsps/i386/pc386/console/printk_support.c | 42 +++- 2 files changed, 37 insertions(+), 12 deletions(-) diff --git a/bsps/i386/pc386/console/conscfg.c b/bsps/i386/pc386/console/conscfg.c index a4ae8862

[PATCH] powerpc/io: The eieio() function clashes with FreeBSD. Change.

2020-07-26 Thread chrisj
From: Chris Johns --- bsps/powerpc/include/libcpu/io.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bsps/powerpc/include/libcpu/io.h b/bsps/powerpc/include/libcpu/io.h index 841df81f47..521c97801d 100644 --- a/bsps/powerpc/include/libcpu/io.h +++ b/bsps/powerpc/inc

[PATCH 5] powerpc/io: The eieio() function clashes with FreeBSD. Change.

2020-07-26 Thread chrisj
From: Chris Johns Closes #4021 --- bsps/powerpc/include/libcpu/io.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bsps/powerpc/include/libcpu/io.h b/bsps/powerpc/include/libcpu/io.h index 841df81f47..521c97801d 100644 --- a/bsps/powerpc/include/libcpu/io.h +++ b/bsp

[PATCH 5] shell: Only clear std handles when the shell task exits

2020-08-08 Thread chrisj
From: Chris Johns Clearing the std file handles when the main loop exited crashes telnetd as it reuses its session threads. Closes #3859 --- cpukit/libmisc/shell/shell.c | 26 ++ 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/cpukit/libmisc/shell/shell.c

[PATCH] shell: Only clear std handles when the shell task exits

2020-08-08 Thread chrisj
From: Chris Johns Clearing the std file handles when the main loop exited crashes telnetd as it reuses its session threads. --- cpukit/libmisc/shell/shell.c | 26 ++ 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/cpukit/libmisc/shell/shell.c b/cpukit/libmi

[PATCH] sb/track: Add a command to track build sets.

2020-08-09 Thread chrisj
From: Chris Johns - Process a build set for a range of hosts and output a dependency tree, the used build set and configuration files. - Output the configuration files that are no referenced Closes #4044 --- bare/config/devel/libusb-1.0.18-1.cfg | 3 + source-builder/config/autoconf-2-1.cf

[PATCH] sb/builder: Remove sb-builder command

2020-08-09 Thread chrisj
From: Chris Johns Closes #4045 --- source-builder/sb-builder| 27 --- source-builder/sb/cmd-builder.py | 29 - 2 files changed, 56 deletions(-) delete mode 100755 source-builder/sb-builder delete mode 100755 source-builder/sb/cmd-buil

[PATCH] sb/bootstrap: Remove the sb-bootsrap command

2020-08-09 Thread chrisj
From: Chris Johns Closes #4046 --- source-builder/sb-bootstrap| 27 --- source-builder/sb/bootstrap.py | 273 - source-builder/sb/cmd-bootstrap.py | 29 --- 3 files changed, 329 deletions(-) delete mode 100755 source-builder/sb-bootstrap delete mode 10

[PATCH 3/3] bare/libusb: Fix the configuration and add a hash

2020-08-10 Thread chrisj
From: Chris Johns Updates #4014 --- bare/config/devel/libusb-1.0.18-1.cfg | 3 +++ source-builder/config/libusb-1-1.cfg | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bare/config/devel/libusb-1.0.18-1.cfg b/bare/config/devel/libusb-1.0.18-1.cfg index b47855b..494afbe 1

[PATCH 1/3] rtems: Remove RTEMS 6 build sets.

2020-08-10 Thread chrisj
From: Chris Johns Updates #4014 --- rtems/config/6/rtems-aarch64.bset| 4 rtems/config/6/rtems-all.bset| 19 --- rtems/config/6/rtems-arm.bset| 4 rtems/config/6/rtems-autotools-base.bset | 9 --- rtems/config/6/rtems-a

[PATCH] user, README: Add Python script host set up information

2020-08-10 Thread chrisj
From: Chris Johns - Add Python3 and venv to the README - Add a section on how to set up a host if the python command is not available. Update #4037 --- README.txt| 18 -- user/hosts/index.rst | 22 --- user/hosts/python.rst | 137 +++

[PATCH 1/2] user: Remove RSB sb-builder command

2020-08-10 Thread chrisj
From: Chris Johns Updates #4045 --- user/rsb/commands.rst | 40 --- user/rsb/configuration.rst | 49 +++--- 2 files changed, 14 insertions(+), 75 deletions(-) diff --git a/user/rsb/commands.rst b/user/rsb/commands.rst index b4787a

[PATCH 2/2] user, eclipse: Remove RSB sb-bootstrap command

2020-08-10 Thread chrisj
From: Chris Johns Update #4046 --- eclipse/rtems.rst | 2 +- user/installation/developer.rst | 6 +++--- user/installation/kernel.rst| 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/eclipse/rtems.rst b/eclipse/rtems.rst index 4459749..3db2e7b 100644 --

[PATCH] user: Add the RSB sb-track command

2020-08-10 Thread chrisj
From: Chris Johns Updates #4036 --- user/rsb/commands.rst | 81 +++ 1 file changed, 81 insertions(+) diff --git a/user/rsb/commands.rst b/user/rsb/commands.rst index 04d3cea..4048568 100644 --- a/user/rsb/commands.rst +++ b/user/rsb/commands.rst @@ -295,3

[PATCH] Move 5 build sets to 6

2020-08-12 Thread chrisj
From: Chris Johns - Move 5/bsps/* to bsps/* - Update package build references from 5 to 6 - Remove 5 build sets. Update #4048 --- rtems/config/5/bsps/atsamv.bset | 10 -- rtems/config/5/bsps/imx7.bset| 10 -- rtems/config/5/bsps/qor

[PATCH v2] Move 5 build sets to 6

2020-08-12 Thread chrisj
From: Chris Johns - Move 5/bsps/* to bsps/* - Update package build references from 5 to 6 - Remove 5 build sets. Update #4048 --- rtems/config/5/bsps/atsamv.bset | 10 - rtems/config/5/bsps/imx7.bset | 10 - rtems/config/5/bsps/qoriq_e500.bset |

[PATCH] sb: Use shebang env python

2020-08-25 Thread chrisj
From: Chris Johns Closes #4037 --- source-builder/pkg-config | 236 +++--- source-builder/sb-check | 24 +-- source-builder/sb-defaults| 23 +-- source-builder/sb-get-sources | 23 +-- source-builder/sb-reports | 2

[PATCH] tester: Change to a simpler TFTP server

2020-08-26 Thread chrisj
From: Chris Johns - Add a simpler TFTP to allow parallel test hardware - Remove the imported tftpy server Closes #4063 --- tester/rt/tftp.py| 37 +- tester/rt/tftpserver.py | 619 +++ tester/rt/tftpy/COPYING | 21 - tester

[PATCH] sb: Fix the imports on Python2

2020-08-26 Thread chrisj
From: Chris Johns Closes #4037 --- source-builder/sb-check | 2 -- source-builder/sb/__init__.py | 20 source-builder/sb/build.py | 3 +-- source-builder/sb/config.py | 3 +-- source-builder/sb/getsources.py | 3 +-- source-builder/sb/linux.py |

[PATCH v2] tester: Change to a simpler TFTP server

2020-08-30 Thread chrisj
Hello, The v2 patch has changed the template to a slightly modified version of the one in the enginneering manual. The code has been yapf and pylint checked. Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

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

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

  1   2   3   4   5   6   7   >