Re: Question about SMP tests after shutdown

2022-11-18 Thread Sebastian Huber
Hello Alan, On 16/11/2022 17:55, Alan Cudmore wrote: I am running testsuite applications on a dual core RISC-V CPU. When I run samples such as ticker.exe, the test ends without error messages. On SMP tests, the tests seem to run correctly and end, but there is always a fatal error from thread(s

Re: Use of rtems_fdt_* and sp01

2022-11-18 Thread Kinsey Moore
On Fri, Nov 18, 2022 at 12:44 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 18/11/2022 06:32, Kinsey Moore wrote: > > On Thu, Nov 17, 2022 at 4:49 PM Chris Johns > > wrote: > > > > On 18/11/2022 2:39 am, Kinsey Moore wrote: > > > I recently

Re: Use of rtems_fdt_* and sp01

2022-11-18 Thread Sebastian Huber
On 18/11/2022 15:49, Kinsey Moore wrote: On Fri, Nov 18, 2022 at 12:44 AM Sebastian Huber > wrote: On 18/11/2022 06:32, Kinsey Moore wrote: > On Thu, Nov 17, 2022 at 4:49 PM Chris Johns mailto:chr...@rtems.org> >

Re: Use of rtems_fdt_* and sp01

2022-11-18 Thread Joel Sherrill
On Fri, Nov 18, 2022, 8:49 AM Kinsey Moore wrote: > > On Fri, Nov 18, 2022 at 12:44 AM Sebastian Huber < > sebastian.hu...@embedded-brains.de> wrote: > >> On 18/11/2022 06:32, Kinsey Moore wrote: >> > On Thu, Nov 17, 2022 at 4:49 PM Chris Johns > > > wrote: >> > >> >

[PATCH] cpukit/rtems-fdt: Avoid use of malloc/errno

2022-11-18 Thread Kinsey Moore
Use of malloc implies errno which adds TLS dependencies and prevents use of this FDT wrapper library in BSP initialization code. This change makes use of rtems_malloc and rtems_calloc which avoid TLS dependencies. --- cpukit/libmisc/rtems-fdt/rtems-fdt.c | 13 ++--- 1 file changed, 6 inser

Re: [PATCH] cpukit/rtems-fdt: Avoid use of malloc/errno

2022-11-18 Thread Chris Johns
Looks good and thanks Chris On 19/11/2022 2:47 am, Kinsey Moore wrote: > Use of malloc implies errno which adds TLS dependencies and prevents use > of this FDT wrapper library in BSP initialization code. This change > makes use of rtems_malloc and rtems_calloc which avoid TLS dependencies. > ---