[PATCH rtems v2 2/7] bsps/imx: Move imx-gpio to arm/shared

2020-11-18 Thread Christian Mauderer
Update #4180 --- bsps/arm/imx/headers.am | 5 - bsps/arm/shared/headers.am | 5 + bsps/arm/{imx => shared}/include/bsp/imx-gpio.h | 0 bsps/arm/{imx/gpio => shared/pins}/imx-gpio.c | 0 c/src/lib/libbsp/arm/imx/Makefile.am| 2 +- s

[PATCH rtems v2 3/7] cpu/armv7m: Add table based init for ARMV7M_MPU

2020-11-18 Thread Christian Mauderer
Modify the MPU functions of the stm32h7 BSP to be table based and available for all ARMV7M BSPs. Update #4180 --- bsps/arm/stm32h7/start/bspstarthooks.c| 168 ++ .../cpu/arm/include/rtems/score/armv7m.h | 100 +++ 2 files changed, 150 insertions(+), 118 deleti

[PATCH rtems v2 1/7] bsps/imx: Move imx_iomux to arm/shared

2020-11-18 Thread Christian Mauderer
Update #4180 --- bsps/arm/imx/headers.am | 2 - bsps/arm/imx/include/bsp.h| 2 - bsps/arm/imx/spi/imx-ecspi.c | 1 + bsps/arm/shared/headers.am| 6 +++ .../include/arm/freescale/imx/imx_iomuxreg.h | 0 .../include

[PATCH rtems v2 0/7] Add imxrt BSP

2020-11-18 Thread Christian Mauderer
Hello, this is a second verson for the imxrt BSP. If no one objects, it will be the last for this patch set. I don't re-send the documentation and libbsd parts. For libbsd it will be the same and for documentation it will be the one with changes like discussed. The BSD-3-clause license and conso

[PATCH rtems v2 5/7] bsp/imxrt: Fix warnings for imported files

2020-11-18 Thread Christian Mauderer
Update #4180 --- bsps/arm/imxrt/include/fsl_common.h | 295 ++ bsps/arm/imxrt/include/fsl_flexspi_nor_boot.h | 2 + .../imxrt/nxp/boards/evkbimxrt1050/pin_mux.c | 4 + .../nxp/devices/MIMXRT1052/drivers/fsl_dcp.c | 4 + .../devices/MIMXRT1052/drivers/fsl_spdif.c

[PATCH rtems v2 6/7] bsp/imxrt: Adapt imported files

2020-11-18 Thread Christian Mauderer
Update #4180 --- bsps/arm/imxrt/include/fsl_device_registers.h | 57 ++- bsps/arm/imxrt/include/fsl_flexspi_nor_boot.h | 6 ++ ..._nor_config.h => fsl_flexspi_nor_config.h} | 0 bsps/arm/imxrt/include/fsl_lpuart.h | 4 ++ bsps/arm/imxrt/include/fsl_pin_mux.h |

Re: [PATCH rtems-docs 1/2] user/bsps: Add imxrt

2020-11-18 Thread Gedare Bloom
On Wed, Nov 18, 2020 at 12:52 AM Christian Mauderer wrote: > > Am 17.11.20 um 18:41 schrieb Gedare Bloom: > > On Tue, Nov 17, 2020 at 4:09 AM Christian Mauderer > > wrote: > >> > >> Update #4180 > >> --- > >> user/bsps/arm/imxrt.rst | 174 > >> user/bsp

Re: [PATCH rtems v2 0/7] Add imxrt BSP

2020-11-18 Thread Gedare Bloom
v2 looks fine to me On Wed, Nov 18, 2020 at 7:47 AM Christian Mauderer wrote: > > Hello, > > this is a second verson for the imxrt BSP. If no one objects, it will be > the last for this patch set. > > I don't re-send the documentation and libbsd parts. For libbsd it will > be the same and for doc

Re: [PATCH] Add License file for BSD-3-Clause

2020-11-18 Thread Gedare Bloom
Looks good, push it On Wed, Nov 18, 2020 at 12:37 AM Christian Mauderer wrote: > > We have some files with a SPDX identifier for this license. Therefore > the license should be here too. > --- > > Note: This is a resubmission of the patch. Previously I submitted it together > with the patches tha

Re: How do I skip over a portion on code while debugging with GDB

2020-11-18 Thread Richi Dubey
Hi, Thank you for your replies Dr. Bloom and Dr. Sherrill. I completely forgot that I could do a break with the line number. I have been manually working with the next instruction for the past few weeks when I could easily have done break :p. Thanks. On Wed, Nov 18, 2020 at 12:43 AM Joel Sherri

Doubt in rtems_task_wake_after

2020-11-18 Thread Richi Dubey
Hi, In the program tm24 , the Init task creates only 1 HIGH task that executes (after Init task finishes) the High_task function and then the Init task creates <

Re: libdl: How to debug dl object with GDB

2020-11-18 Thread Hesham Almatary
Thanks for the info, Chris. On Wed, 18 Nov 2020 at 02:43, Chris Johns wrote: > > > > On 17/11/20 10:43 pm, Hesham Almatary wrote: > > Hello, > > > > I am trying to debug a dynamically loaded ELF object with GDB: My setup is: > > rtems-riscv64: > > GDB: GNU gdb (GDB) 10.0.50.20200904-git (build wi

Re: [PATCH rtems v2 3/7] cpu/armv7m: Add table based init for ARMV7M_MPU

2020-11-18 Thread Sebastian Huber
On 18/11/2020 15:45, Christian Mauderer wrote: +/** + * Higher level region configuration. + * + * Allows to configure with begin and end which is more convenient for + * calculating the sizes from linker command file. Note that you still have to + * follow the following rules: + * + * - Begin a

Re: [PATCH] Add License file for BSD-3-Clause

2020-11-18 Thread Christian Mauderer
Thanks. I pushed it. Am 18.11.20 um 17:17 schrieb Gedare Bloom: Looks good, push it On Wed, Nov 18, 2020 at 12:37 AM Christian Mauderer wrote: We have some files with a SPDX identifier for this license. Therefore the license should be here too. --- Note: This is a resubmission of the patch.

[PATCH 2/2] config: Initialize task stack allocator on demand

2020-11-18 Thread Sebastian Huber
Register a custom task stack allocator initialization handler only if necessary. --- cpukit/include/rtems/confdefs/wkspace.h | 19 +++ cpukit/score/src/stackallocatorinit.c | 5 + 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/cpukit/include/rtems/confdefs/

[PATCH 1/2] config: Simplify task stack allocator init

2020-11-18 Thread Sebastian Huber
Replace runtime checks with compile time assertions. This makes the INTERNAL_ERROR_BAD_STACK_HOOK obsolete. --- cpukit/include/rtems/confdefs/wkspace.h | 10 ++ cpukit/include/rtems/score/interr.h | 2 +- cpukit/score/src/stackallocatorinit.c | 8 - spec/build/testsuit

Re: [PATCH rtems v2 3/7] cpu/armv7m: Add table based init for ARMV7M_MPU

2020-11-18 Thread Christian Mauderer
Am 19.11.20 um 08:19 schrieb Sebastian Huber: On 18/11/2020 15:45, Christian Mauderer wrote: +/** + * Higher level region configuration. + * + * Allows to configure with begin and end which is more convenient for + * calculating the sizes from linker command file. Note that you still have to

[PATCH] c-user: Update internal error list

2020-11-18 Thread Sebastian Huber
--- c-user/fatal_error.rst | 37 - 1 file changed, 8 insertions(+), 29 deletions(-) diff --git a/c-user/fatal_error.rst b/c-user/fatal_error.rst index 2c72deb..81cfa0c 100644 --- a/c-user/fatal_error.rst +++ b/c-user/fatal_error.rst @@ -146,15 +146,6 @@ INTERNA