Re: [PATCH] GDB: Prefer Python 3 over 2

2022-03-18 Thread Chris Johns
> On 19 Mar 2022, at 2:40 am, Sebastian Huber > wrote: > > On 17/03/2022 12:51, Sebastian Huber wrote: >> This fixes the build of a recent GDB version: >> gdb/python/py-micmd.c: In function 'int >> micmdpy_uninstall_command(micmdpy_object*)': >> gdb/python/py-micmd.c:430:20: error:

[PATCH 26/26] cpukit/libmisc/untar: Change license to BSD-2

2022-03-18 Thread Joel Sherrill
Updates #3053. --- cpukit/libmisc/untar/untar.c | 25 ++--- cpukit/libmisc/untar/untar_tgz.c | 25 ++--- cpukit/libmisc/untar/untar_txz.c | 25 ++--- 3 files changed, 66 insertions(+), 9 deletions(-) diff --git

[PATCH 25/26] cpukit/libmisc/check: Change license to BSD-2

2022-03-18 Thread Joel Sherrill
Updates #3053. --- cpukit/libmisc/stackchk/check.c | 25 ++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/cpukit/libmisc/stackchk/check.c b/cpukit/libmisc/stackchk/check.c index fa0c3ea1ed..48342ce957 100644 --- a/cpukit/libmisc/stackchk/check.c +++

[PATCH 24/26] cpukit/libmisc/serdbg: Change to BSD-2

2022-03-18 Thread Joel Sherrill
Updates #3053. --- cpukit/libmisc/serdbg/serdbg.c | 25 ++--- cpukit/libmisc/serdbg/serdbgio.c | 25 ++--- cpukit/libmisc/serdbg/termios_printk.c | 25 ++--- 3 files changed, 66 insertions(+), 9 deletions(-) diff --git

[PATCH 23/26] cpukit/libmisc/rtems-fdt: Change license to BSD-2

2022-03-18 Thread Joel Sherrill
Updates #3053. --- cpukit/libmisc/rtems-fdt/rtems-fdt-shell.c | 25 +++--- cpukit/libmisc/rtems-fdt/rtems-fdt.c | 25 +++--- 2 files changed, 44 insertions(+), 6 deletions(-) diff --git a/cpukit/libmisc/rtems-fdt/rtems-fdt-shell.c

[PATCH 22/26] cpukit/libmisc/redirector: Manually change license to BSD-2

2022-03-18 Thread Joel Sherrill
Updates #3053. --- cpukit/libmisc/redirector/stdio-redirect.c | 33 -- 1 file changed, 25 insertions(+), 8 deletions(-) diff --git a/cpukit/libmisc/redirector/stdio-redirect.c b/cpukit/libmisc/redirector/stdio-redirect.c index 7f3e9138a7..712968ac2d 100644 ---

[PATCH 21/26] cpukit/libmisc/mouse: Change license to BSD-2

2022-03-18 Thread Joel Sherrill
Updates #3053. --- cpukit/libmisc/mouse/serial_mouse.c | 25 ++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/cpukit/libmisc/mouse/serial_mouse.c b/cpukit/libmisc/mouse/serial_mouse.c index 53a174df57..adf57449d5 100644 ---

[PATCH 19/26] cpukit/libmisc/fsmount: Change license to BSD-2.

2022-03-18 Thread Joel Sherrill
Updates #3053. --- cpukit/libmisc/fsmount/fsmount.c | 25 ++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/cpukit/libmisc/fsmount/fsmount.c b/cpukit/libmisc/fsmount/fsmount.c index 55216ea279..3e3f773edf 100644 --- a/cpukit/libmisc/fsmount/fsmount.c +++

[PATCH 20/26] cpukit/libmisc/fsmount/fsmount.c: Manual header clean up

2022-03-18 Thread Joel Sherrill
--- cpukit/libmisc/fsmount/fsmount.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cpukit/libmisc/fsmount/fsmount.c b/cpukit/libmisc/fsmount/fsmount.c index 3e3f773edf..df46b196dd 100644 --- a/cpukit/libmisc/fsmount/fsmount.c +++ b/cpukit/libmisc/fsmount/fsmount.c @@ -6,9

[PATCH 18/26] cpukit/libmisc/dumpbuf: Change license to BSD-2

2022-03-18 Thread Joel Sherrill
Updates #3053. --- cpukit/libmisc/dumpbuf/dumpbuf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cpukit/libmisc/dumpbuf/dumpbuf.c b/cpukit/libmisc/dumpbuf/dumpbuf.c index 7f8128259f..3c26c72d53 100644 --- a/cpukit/libmisc/dumpbuf/dumpbuf.c +++ b/cpukit/libmisc/dumpbuf/dumpbuf.c @@ -1,3

[PATCH 17/26] cpukit/libmisc/dummy: Change license to BSD-2.

2022-03-18 Thread Joel Sherrill
Updates #3053. --- cpukit/libmisc/dummy/default-configuration.c | 25 +--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/cpukit/libmisc/dummy/default-configuration.c b/cpukit/libmisc/dummy/default-configuration.c index 9c30b270c2..62c6e98de7 100644 ---

[PATCH 16/26] cpukit/libmisc/devnull/devzero.c: Change license to BSD-2

2022-03-18 Thread Joel Sherrill
Updates #3053. --- cpukit/libmisc/devnull/devzero.c | 25 ++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/cpukit/libmisc/devnull/devzero.c b/cpukit/libmisc/devnull/devzero.c index 660391c4f2..7cfd05d4be 100644 --- a/cpukit/libmisc/devnull/devzero.c +++

[PATCH 15/26] cpukit/libmisc/cpuuse: Change license to BSD-2

2022-03-18 Thread Joel Sherrill
Updates #3053. --- cpukit/libmisc/cpuuse/cpuinforeport.c | 25 ++--- cpukit/libmisc/cpuuse/cpuusagedata.c | 25 ++--- cpukit/libmisc/cpuuse/cpuusagereport.c | 25 ++--- cpukit/libmisc/cpuuse/cpuusagereset.c | 25

[PATCH 14/26] cpukit/libmisc/capture: Manually change license to BSD-2

2022-03-18 Thread Joel Sherrill
These files did not follow the standard format and needed to be changed manually. Updates #3053. --- cpukit/libmisc/capture/README | 4 +- cpukit/libmisc/capture/capture-cli.c | 57 --- cpukit/libmisc/capture/capture.c | 55

[PATCH 13/26] cpukit/capture: Change license to BSD-2

2022-03-18 Thread Joel Sherrill
Updates #3053. --- .../capture/rtems-trace-buffer-default.c | 25 --- .../libmisc/capture/rtems-trace-buffer-vars.c | 25 --- 2 files changed, 44 insertions(+), 6 deletions(-) diff --git a/cpukit/libmisc/capture/rtems-trace-buffer-default.c

[PATCH 12/26] cpukit/libmisc/bspcmdline: Change license to BSD-2

2022-03-18 Thread Joel Sherrill
Updates #3053. --- cpukit/libmisc/bspcmdline/bspcmdline_get.c| 25 --- .../libmisc/bspcmdline/bspcmdline_getparam.c | 25 --- .../bspcmdline/bspcmdline_getparamraw.c | 25 --- .../bspcmdline/bspcmdline_getparamrhs.c | 25

[PATCH 10/26] cpukit/libpci: Change license to BSD-2

2022-03-18 Thread Joel Sherrill
Updates #3053. --- cpukit/libpci/pci_access.c | 25 ++--- cpukit/libpci/pci_access_func.c| 25 ++--- cpukit/libpci/pci_access_io.c | 25 ++--- cpukit/libpci/pci_access_mem.c | 25 ++---

[PATCH 11/26] cpukit/libtest: Change license to BSD-2

2022-03-18 Thread Joel Sherrill
Updates #3053. --- cpukit/libtest/testbeginend.c | 25 ++--- cpukit/libtest/testbusy.c | 25 ++--- cpukit/libtest/testextension.c | 25 ++--- cpukit/libtest/testparallel.c | 25 ++---

[PATCH 08/26] cpukit/libfs/src/rfs: Change license to BSD-2

2022-03-18 Thread Joel Sherrill
Updates #3053. --- cpukit/libfs/src/rfs/rtems-rfs-bitmaps.c | 25 --- cpukit/libfs/src/rfs/rtems-rfs-block.c| 25 --- cpukit/libfs/src/rfs/rtems-rfs-buffer-bdbuf.c | 25 --- cpukit/libfs/src/rfs/rtems-rfs-buffer-devio.c | 25

[PATCH 09/26] cpukit/libgnat: Change license to BSD-2.

2022-03-18 Thread Joel Sherrill
Updates #3053. --- cpukit/libgnat/ada_intrsupp.c | 25 ++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/cpukit/libgnat/ada_intrsupp.c b/cpukit/libgnat/ada_intrsupp.c index e30d50cbc6..4c0319fa58 100644 --- a/cpukit/libgnat/ada_intrsupp.c +++

[PATCH 07/26] cpukit/libds/src/ftpfs/tftpDriver.c: Manually update license to BSD-2

2022-03-18 Thread Joel Sherrill
Eric Norum granted permission plus git log archeology to get year for his copyright. Updates #3053. --- cpukit/libfs/src/ftpfs/tftpDriver.c | 38 +++-- 1 file changed, 30 insertions(+), 8 deletions(-) diff --git a/cpukit/libfs/src/ftpfs/tftpDriver.c

[PATCH 06/26] cpukit/libfs/src/imfs: Change license to BSD-2

2022-03-18 Thread Joel Sherrill
Updates #3053. --- cpukit/libfs/src/imfs/deviceio.c | 25 --- cpukit/libfs/src/imfs/imfs_chown.c| 25 --- cpukit/libfs/src/imfs/imfs_config.c | 25 --- cpukit/libfs/src/imfs/imfs_creat.c| 25

[PATCH 05/26] cpukit/libdl: Manual file header reordering (SPDX, Doxygen, Copyright)

2022-03-18 Thread Joel Sherrill
Updates #3053. --- cpukit/libdl/dlfcn-shell.c| 19 ++-- cpukit/libdl/dlfcn.c | 19 ++-- cpukit/libdl/rap-shell.c | 19 ++-- cpukit/libdl/rap.c| 19 ++-- cpukit/libdl/rtl-alloc-heap.c | 15 +-

[PATCH 04/26] cpukit/libfs/src/defaults: Change license to BSD-2

2022-03-18 Thread Joel Sherrill
Updates #3053. --- .../src/defaults/default_are_nodes_equal.c| 25 --- cpukit/libfs/src/defaults/default_chown.c | 25 --- cpukit/libfs/src/defaults/default_clone.c | 25 --- cpukit/libfs/src/defaults/default_close.c | 25

[PATCH 03/26] cpukit/libdrvmsg: Change license to BSD-2

2022-03-18 Thread Joel Sherrill
Updates #3053. --- cpukit/libdrvmgr/drvmgr.c | 25 ++--- cpukit/libdrvmgr/drvmgr_by_id.c | 25 ++--- cpukit/libdrvmgr/drvmgr_by_name.c | 25 ++--- cpukit/libdrvmgr/drvmgr_dev_by_name.c | 25

[PATCH 02/26] cpukit/libdl Change license to BSD-2

2022-03-18 Thread Joel Sherrill
Updates #3053. --- cpukit/libdl/dlfcn-shell.c| 25 ++--- cpukit/libdl/dlfcn.c | 25 ++--- cpukit/libdl/rap-shell.c | 25 ++--- cpukit/libdl/rap.c| 25 ++---

[PATCH 01/26] cpukit/libdl/rtl-alloc-check.py: Change to BSD-2 by hand

2022-03-18 Thread Joel Sherrill
Updates #3053. --- cpukit/libdl/rtl-alloc-check.py | 30 +++--- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/cpukit/libdl/rtl-alloc-check.py b/cpukit/libdl/rtl-alloc-check.py index c2145a768e..3d6b024442 100644 --- a/cpukit/libdl/rtl-alloc-check.py +++

[PATCH 00/26] Bulk Relicense to BSD-2

2022-03-18 Thread Joel Sherrill
Hi This is another large patch set which changes most of the cpukit source that is easily possible to BSD-2. I have emailed at least a half dozen more contributors to get permission. That will unblock some files/directories I didn't touch. There is still a fair amount in cpukit which can be

[PATCH] rtems-docs: add example booting aarch64 image on Xilinx ZCU102

2022-03-18 Thread Alan Cudmore
This patch is for the rtems-docs repo. I added details on the procedure I used to boot RTEMS images on the Xilinx ZCU102 board. I applied this patch, and generated the HTML docs, and everything looks ok to me. Thanks, Alan --- user/bsps/aarch64/xilinx-zynqmp.rst | 138

Re: [PATCH] GDB: Prefer Python 3 over 2

2022-03-18 Thread Sebastian Huber
On 17/03/2022 12:51, Sebastian Huber wrote: This fixes the build of a recent GDB version: gdb/python/py-micmd.c: In function 'int micmdpy_uninstall_command(micmdpy_object*)': gdb/python/py-micmd.c:430:20: error: 'PyDict_GetItemWithError' was not declared in this scope PyObject *curr =

Re: [PATCH 00/13] Refactor Arm GICv3 support

2022-03-18 Thread Sebastian Huber
On 18/03/2022 14:20, Kinsey Moore wrote: These changes look good other than the nit in the first patch. Thanks for the review. I will check it in once I am able to build an up to date tool chain. Currently, if one tool chain bug is fixed another one shows up. -- embedded brains GmbH Herr

[PATCH rtems-docs] microblaze: Document BSPs and update CPU supplement

2022-03-18 Thread Alex White
--- cpu-supplement/xilinx_microblaze.rst | 52 +- user/bsps/bsps-microblaze.rst| 149 ++- 2 files changed, 197 insertions(+), 4 deletions(-) diff --git a/cpu-supplement/xilinx_microblaze.rst b/cpu-supplement/xilinx_microblaze.rst index 2a92b61..350aeff

[PATCH] thread.hpp: Fix redefinition of default argument

2022-03-18 Thread Sebastian Huber
A default argument shall be defined only once. Close #4632. --- cpukit/include/rtems/thread.hpp | 32 ++-- 1 file changed, 14 insertions(+), 18 deletions(-) diff --git a/cpukit/include/rtems/thread.hpp b/cpukit/include/rtems/thread.hpp index cdef690740..56e301c0bc

Re: [PATCH 00/13] Refactor Arm GICv3 support

2022-03-18 Thread Kinsey Moore
These changes look good other than the nit in the first patch. On 3/18/2022 02:19, Sebastian Huber wrote: Separate the Interrupt Manager implementation from the generic Arm GICv3 support. Move parts of the Arm GICv3 support into a new header file. This helps to support systems with a

Re: [PATCH 01/13] bsps: Add

2022-03-18 Thread Kinsey Moore
Nit in the commit message: "dededicated" On 3/18/2022 02:19, Sebastian Huber wrote: Separate the Interrupt Manager implementation from the generic Arm GICv3 support. Move parts of the Arm GICv3 support into a new header file. This helps to support systems with a clustered structure in which

Re: nfsclient rtems6 rtems-libbsd

2022-03-18 Thread Heinz Junkes
In the case of the option "nfsv4,minorversion=1" I get an error 2 (No such file or directory) from error = kernel_mount(args->ma, MNT_VERIFIED); in file ./rtemsbsd/fs/nfsclient/nfs.c Viele Grüße Heinz Junkes -- Experience directly varies with equipment ruined. > On 16. Mar 2022,

[PATCH 11/13] bsps: Add gicv3_sgi_ppi_set_priority()

2022-03-18 Thread Sebastian Huber
--- bsps/include/dev/irq/arm-gicv3.h | 11 +++ bsps/shared/dev/irq/arm-gicv3.c | 8 +--- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/bsps/include/dev/irq/arm-gicv3.h b/bsps/include/dev/irq/arm-gicv3.h index 73ad05a507..6f1d5254cc 100644 ---

[PATCH 12/13] bsps: Add gicv3_sgi_ppi_get_priority()

2022-03-18 Thread Sebastian Huber
--- bsps/include/dev/irq/arm-gicv3.h | 10 ++ bsps/shared/dev/irq/arm-gicv3.c | 7 --- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/bsps/include/dev/irq/arm-gicv3.h b/bsps/include/dev/irq/arm-gicv3.h index 6f1d5254cc..6a716894b4 100644 ---

[PATCH 10/13] bsps: Move gicv3_init_cpu_interface()

2022-03-18 Thread Sebastian Huber
Make the processor index a parameter. --- bsps/include/dev/irq/arm-gicv3.h | 27 +++ bsps/shared/dev/irq/arm-gicv3.c | 32 ++-- 2 files changed, 29 insertions(+), 30 deletions(-) diff --git a/bsps/include/dev/irq/arm-gicv3.h

[PATCH 09/13] bsps: Move gicv3_init_dist()

2022-03-18 Thread Sebastian Huber
Make the distributor register block a parameter. --- bsps/include/dev/irq/arm-gicv3.h | 37 + bsps/shared/dev/irq/arm-gicv3.c | 40 +--- 2 files changed, 38 insertions(+), 39 deletions(-) diff --git a/bsps/include/dev/irq/arm-gicv3.h

[PATCH 08/13] bsps: Add gicv3_sgi_ppi_disable()

2022-03-18 Thread Sebastian Huber
--- bsps/include/dev/irq/arm-gicv3.h | 10 ++ bsps/shared/dev/irq/arm-gicv3.c | 5 + 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/bsps/include/dev/irq/arm-gicv3.h b/bsps/include/dev/irq/arm-gicv3.h index effa7a8ffb..37e0d433cc 100644 ---

[PATCH 07/13] bsps: Add gicv3_sgi_ppi_enable()

2022-03-18 Thread Sebastian Huber
--- bsps/include/dev/irq/arm-gicv3.h | 15 +++ bsps/shared/dev/irq/arm-gicv3.c | 10 +- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/bsps/include/dev/irq/arm-gicv3.h b/bsps/include/dev/irq/arm-gicv3.h index 8bfa34c11e..effa7a8ffb 100644 ---

[PATCH 13/13] bsps: Add gicv3_get_attributes()

2022-03-18 Thread Sebastian Huber
--- bsps/include/dev/irq/arm-gicv3.h | 32 bsps/shared/dev/irq/arm-gicv3.c | 27 +-- 2 files changed, 33 insertions(+), 26 deletions(-) diff --git a/bsps/include/dev/irq/arm-gicv3.h b/bsps/include/dev/irq/arm-gicv3.h index

[PATCH 01/13] bsps: Add

2022-03-18 Thread Sebastian Huber
Separate the Interrupt Manager implementation from the generic Arm GICv3 support. Move parts of the Arm GICv3 support into a new header file. This helps to support systems with a clustered structure in which multiple GICv3 instances are present. For example, two clusters of two Cortex-R52 cores

[PATCH 05/13] bsps: Add gicv3_ppi_clear_pending()

2022-03-18 Thread Sebastian Huber
--- bsps/include/dev/irq/arm-gicv3.h | 10 ++ bsps/shared/dev/irq/arm-gicv3.c | 5 + 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/bsps/include/dev/irq/arm-gicv3.h b/bsps/include/dev/irq/arm-gicv3.h index 59052bebd2..9cfbd8f207 100644 ---

[PATCH 06/13] bsps: Add gicv3_sgi_ppi_is_enabled()

2022-03-18 Thread Sebastian Huber
--- bsps/include/dev/irq/arm-gicv3.h | 10 ++ bsps/shared/dev/irq/arm-gicv3.c | 5 + 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/bsps/include/dev/irq/arm-gicv3.h b/bsps/include/dev/irq/arm-gicv3.h index 9cfbd8f207..8bfa34c11e 100644 ---

[PATCH 04/13] bsps: Add gicv3_ppi_set_pending()

2022-03-18 Thread Sebastian Huber
--- bsps/include/dev/irq/arm-gicv3.h | 10 ++ bsps/shared/dev/irq/arm-gicv3.c | 5 + 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/bsps/include/dev/irq/arm-gicv3.h b/bsps/include/dev/irq/arm-gicv3.h index cfc8cd3499..59052bebd2 100644 ---

[PATCH 00/13] Refactor Arm GICv3 support

2022-03-18 Thread Sebastian Huber
Separate the Interrupt Manager implementation from the generic Arm GICv3 support. Move parts of the Arm GICv3 support into a new header file. This helps to support systems with a clustered structure in which multiple GICv3 instances are present. For example, two clusters of two Cortex-R52 cores

[PATCH 02/13] bsps: Add gicv3_sgi_ppi_is_pending()

2022-03-18 Thread Sebastian Huber
--- bsps/include/dev/irq/arm-gicv3.h | 11 +++ bsps/shared/dev/irq/arm-gicv3.c | 5 + 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/bsps/include/dev/irq/arm-gicv3.h b/bsps/include/dev/irq/arm-gicv3.h index 60bc315962..0583fded0a 100644 ---

[PATCH 03/13] bsps: Add gicv3_trigger_sgi()

2022-03-18 Thread Sebastian Huber
--- bsps/include/dev/irq/arm-gicv3.h | 21 + bsps/shared/dev/irq/arm-gicv3.c | 15 +-- 2 files changed, 22 insertions(+), 14 deletions(-) diff --git a/bsps/include/dev/irq/arm-gicv3.h b/bsps/include/dev/irq/arm-gicv3.h index 0583fded0a..cfc8cd3499 100644 ---

Re: [PATCH rtems-source-builder] 6/7: Update AArch64 newlib patch

2022-03-18 Thread Sebastian Huber
On 17/03/2022 22:59, Kinsey Moore wrote: The existing patch fails to build with the latest newlib. This picks up an updated patch that compiles with both older and newer newlib. Thanks for the quick fix. I checked it in an started a new RSB build. -- embedded brains GmbH Herr Sebastian HUBER