[PATCH v2 1/2] c-user: Document task life states

2022-07-27 Thread Sebastian Huber
Update #4679. --- c-user/task/background.rst | 53 +- 1 file changed, 52 insertions(+), 1 deletion(-) diff --git a/c-user/task/background.rst b/c-user/task/background.rst index da6cabf..df38356 100644 --- a/c-user/task/background.rst +++ b/c-user/task/backgroun

[PATCH v2 2/2] c-user: Document new rtems_task_delete() behaviour

2022-07-27 Thread Sebastian Huber
Update #4679. --- c-user/task/directives.rst | 25 - 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/c-user/task/directives.rst b/c-user/task/directives.rst index 64b591d..b78aaa9 100644 --- a/c-user/task/directives.rst +++ b/c-user/task/directives.rst @@ -80

Re: [PATCH] c-user: Document new rtems_task_delete() behaviour

2022-07-27 Thread Sebastian Huber
On 27/07/2022 05:37, Chris Johns wrote: What about SMP? If the calling task is deleting a task running on another core? The language is hard here. I am not sure what works. It doesn't matter on which processor the deleted task runs. The termination and restart requests are processed as signal

[PATCH 0/1] *** bsps/stm32f4: Fix simple console driver bug ***

2022-07-27 Thread Duc Doan
The console does not work for applications that use simple console driver, including testsuites applications. The reason is that Console_Port_Tbl is NULL, which causes a fatal error when trying to get the console_tbl and usart instance. This patch fixes that by making usart_write_polled use a defau

[PATCH 1/1] bsps/stm32f4: Fix usart_write_polled()

2022-07-27 Thread Duc Doan
--- bsps/arm/stm32f4/console/console-config.c | 4 +++- bsps/arm/stm32f4/console/usart.c | 6 ++ bsps/arm/stm32f4/include/bsp/usart.h | 3 +++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/bsps/arm/stm32f4/console/console-config.c b/bsps/arm/stm32f4/console/cons

Re: [PATCH 2/2] sptests/spstdc17: New test

2022-07-27 Thread Sebastian Huber
Hello, On 25/07/2022 10:02, Sebastian Huber wrote: +cflags: +- -std=c17 +- -pedantic +- -Wextra this test case causes build issue on several BSPs, because the is not C17 compatible. Example error: bsps/arm/beagle/include/bsp.h:298:5: error: 'asm' undeclared (first use in this function)

Re: [PATCH v3 2/2] aarch64/versal: Support DDRMC0 region 0 and 1

2022-07-27 Thread Kinsey Moore
This looks fine if it's the only way you can avoid relocation errors. Kinsey On 7/26/2022 22:13, chr...@rtems.org wrote: From: Chris Johns - Support DDRMC0 region 0 up to 2G in size - Support DDRMC0 region 1 with DDR memory greater than 2G up to the DDRMC0 max amount - Extend the heap wi

Re: [PATCH v2 0/5] Add AArch64 support to libdl

2022-07-27 Thread Ryan Long
On 7/25/2022 10:48 PM, Chris Johns wrote: On 26/7/2022 12:06 am, Ryan Long wrote: In this version of the patchset I converted the tabs to spaces in rtl-mdreloc-aarch64.c. I think setting the loader to NULL is a bug. I removed it from rtl-mdreloc-arm.c, and ran dl05. It still passed. So sho

Re: [PATCH v2 0/5] Add AArch64 support to libdl

2022-07-27 Thread Chris Johns
On 28/7/2022 6:02 am, Ryan Long wrote: > On 7/25/2022 10:48 PM, Chris Johns wrote: >> On 26/7/2022 12:06 am, Ryan Long wrote: >>> In this version of the patchset I converted the tabs to spaces in >>> rtl-mdreloc-aarch64.c. >> I think setting the loader to NULL is a bug. > > I removed it from rtl-m

Re: [PATCH v2 1/2] c-user: Document task life states

2022-07-27 Thread Chris Johns
Nice and OK to push. A minor point below... On 27/7/2022 7:30 pm, Sebastian Huber wrote: > Update #4679. > --- > c-user/task/background.rst | 53 +- > 1 file changed, 52 insertions(+), 1 deletion(-) > > diff --git a/c-user/task/background.rst b/c-user/task/bac

Re: [PATCH v2 2/2] c-user: Document new rtems_task_delete() behaviour

2022-07-27 Thread Chris Johns
OK Chris On 27/7/2022 7:30 pm, Sebastian Huber wrote: > Update #4679. > --- > c-user/task/directives.rst | 25 - > 1 file changed, 20 insertions(+), 5 deletions(-) > > diff --git a/c-user/task/directives.rst b/c-user/task/directives.rst > index 64b591d..b78aaa9 100644 >

Re: [PATCH v2 1/2] c-user: Document task life states

2022-07-27 Thread Sebastian Huber
On 28/07/2022 02:06, Chris Johns wrote: Nice and OK to push. A minor point below... Thanks for the review. I checked it in. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de phone: +49-89-18 94 741 - 16 fax: +49-89-18

Re: [PATCH v3] aarch64/versal: Support DDRMC0 region 0 and 1

2022-07-27 Thread Sebastian Huber
Hello, I get now linker errors: /opt/rtems/6/lib/gcc/aarch64-rtems6/12.1.1/../../../../aarch64-rtems6/bin/ld: ./librtemsbsp.a(bspstartmmu.c.7.o):(.rodata.bsp_r1_region+0x0): undefined reference to `bsp_r1_ram_base' /opt/rtems/6/lib/gcc/aarch64-rtems6/12.1.1/../../../../aarch64-rtems6/bin/ld: