Re: Discussion: How to handle HALs, SDKs and libraries

2023-05-23 Thread Chris Johns
Hi Christian, Thanks for raising this topic. It is a tough one. On 24/5/2023 12:11 am, Kinsey Moore wrote: > On Tue, May 23, 2023 at 2:26 AM Christian MAUDERER > > wrote: > > Hello, > > I recently updated the HAL in the i.MXRT BSP. I used

Re: [PATCH rtems-libbsd] ipsec-tools: Fix copying fd_set prior to select

2023-05-23 Thread Chris Johns
On 24/5/2023 9:13 am, Chris Johns wrote: > On 23/5/2023 5:30 pm, Christian MAUDERER wrote: >> Hello Chris, >> >> On 2023-05-23 08:53, Chris Johns wrote: >>> On 23/5/2023 4:25 pm, Christian MAUDERER wrote: Hello Chris, On 2023-05-23 03:36, Chris Johns wrote: > Hi, > > I

Re: [PATCH rtems-libbsd] ipsec-tools: Fix copying fd_set prior to select

2023-05-23 Thread Chris Johns
On 23/5/2023 5:30 pm, Christian MAUDERER wrote: > Hello Chris, > > On 2023-05-23 08:53, Chris Johns wrote: >> On 23/5/2023 4:25 pm, Christian MAUDERER wrote: >>> Hello Chris, >>> >>> On 2023-05-23 03:36, Chris Johns wrote: Hi, I have been resolving this by adding: #define

Re: [PATCH 2/5] build: Use CSafeLoader if available

2023-05-23 Thread Gedare Bloom
On Tue, May 23, 2023 at 12:04 AM Sebastian Huber wrote: > > > > On 23.05.23 02:42, Chris Johns wrote: > > On 22/5/2023 6:29 pm, Sebastian Huber wrote: > >> On 22.05.23 01:48, Chris Johns wrote: > The support for the CSafeLoader is just about 60 lines of additional > code. > It

Re: Github Mirrors not syncing with upstream repos

2023-05-23 Thread Joel Sherrill
Ping. It still has not updated. On Mon, May 22, 2023 at 10:41 AM Noor Aman wrote: > Hello, > I have noticed every rtems's github repositories are not syncing with the > upstream. From what I know, they sync twice or thrice a day. On Github, > the last > commit in RTEMS is from 23 March 2023, on

Re: Discussion: How to handle HALs, SDKs and libraries

2023-05-23 Thread Christian MAUDERER
On 2023-05-23 16:11, Kinsey Moore wrote: On Tue, May 23, 2023 at 2:26 AM Christian MAUDERER > wrote: Hello, I recently updated the HAL in the i.MXRT BSP. I used the same approach that we use for a lot of similar cases: Import the

Re: Discussion: How to handle HALs, SDKs and libraries

2023-05-23 Thread Kinsey Moore
On Tue, May 23, 2023 at 2:26 AM Christian MAUDERER < christian.maude...@embedded-brains.de> wrote: > Hello, > > I recently updated the HAL in the i.MXRT BSP. I used the same approach > that we use for a lot of similar cases: Import the sources into RTEMS > and adapt them slightly so that they

[PATCH] smptests: Print proper end of test message

2023-05-23 Thread Sebastian Huber
Make sure that the end of test message is not mixed up with other test output. --- testsuites/smptests/smp05/init.c | 8 testsuites/smptests/smp07/init.c | 4 ++-- testsuites/smptests/smp08/tasks.c | 8 ++-- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git

Re: [PATCH rtems-libbsd] ipsec-tools: Fix copying fd_set prior to select

2023-05-23 Thread Christian MAUDERER
Hello Chris, On 2023-05-23 08:53, Chris Johns wrote: On 23/5/2023 4:25 pm, Christian MAUDERER wrote: Hello Chris, On 2023-05-23 03:36, Chris Johns wrote: Hi, I have been resolving this by adding: #define preset_mask *preset_mask_prealloc #define active_mask *active_mask_prealloc as the

Discussion: How to handle HALs, SDKs and libraries

2023-05-23 Thread Christian MAUDERER
Hello, I recently updated the HAL in the i.MXRT BSP. I used the same approach that we use for a lot of similar cases: Import the sources into RTEMS and adapt them slightly so that they work for us. So basically a Clone-and-Own approach. During the discussion of the patches, some concerns

Re: [PATCH rtems-libbsd] ipsec-tools: Fix copying fd_set prior to select

2023-05-23 Thread Chris Johns
On 23/5/2023 4:25 pm, Christian MAUDERER wrote: > Hello Chris, > > On 2023-05-23 03:36, Chris Johns wrote: >> Hi, >> >> I have been resolving this by adding: >> >> #define preset_mask *preset_mask_prealloc >> #define active_mask *active_mask_prealloc >> >> as the assignment logic works as is. It

Re: [PATCH rtems-libbsd] ipsec-tools: Fix copying fd_set prior to select

2023-05-23 Thread Christian MAUDERER
Hello Chris, On 2023-05-23 03:36, Chris Johns wrote: Hi, I have been resolving this by adding: #define preset_mask *preset_mask_prealloc #define active_mask *active_mask_prealloc as the assignment logic works as is. It does not catch FD_ZERO which is a shame but is helps avoid us adding a

Re: [PATCH 2/5] build: Use CSafeLoader if available

2023-05-23 Thread Sebastian Huber
On 23.05.23 02:42, Chris Johns wrote: On 22/5/2023 6:29 pm, Sebastian Huber wrote: On 22.05.23 01:48, Chris Johns wrote: The support for the CSafeLoader is just about 60 lines of additional code. It would be a nice improvement for systems supporting this feature. I don't have time to work on