Re: [PATCH RSB v1] rtems-gcc-12-newlib-head.cfg: Bump newlib hash to get extern C on resource.h

2022-09-26 Thread Chris Johns
On 27/9/2022 10:30 am, Joel Sherrill wrote: > --- > rtems/config/tools/rtems-gcc-12-newlib-head.cfg | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg > b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg > index

Re: [PATCH RSB v2] rtems-gcc-12-newlib-head.cfg: Bump newlib hash to get extern C on resource.h

2022-09-26 Thread Chris Johns
Looks good. Please push. Thanks Chris On 27/9/2022 10:52 am, Joel Sherrill wrote: > --- > rtems/config/tools/rtems-gcc-12-newlib-head.cfg | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg >

Re: [PATCH v2] bsp/aarch64: New entry for Raspberry pi 4B AArch64 BSP

2022-09-26 Thread Joel Sherrill
On Sun, Sep 25, 2022, 7:43 PM Chris Johns wrote: > Hi, > > Thanks for this. It is exciting to see this board being supported. Well > done > getting to a point we can review the changess. My comments are mostly > about the > commit message :) > > Is the BSP called `aarch64/raspberrypi4b`? I just

[PATCH RSB v1] rtems-gcc-12-newlib-head.cfg: Bump newlib hash to get extern C on resource.h

2022-09-26 Thread Joel Sherrill
--- rtems/config/tools/rtems-gcc-12-newlib-head.cfg | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg index fe4f827..76dc221 100644 ---

Re: Aw: Re: [PATCH 0/2] GCC errors when building C++ Applications with libbsd

2022-09-26 Thread Joel Sherrill
Jeff Johnson pushed the patch to newlib. The github mirrored it after a while. I bumped the hash in the RSB. This should be ok now. How often does the github mirroring of gcc, newlib, etc run? On Mon, Sep 26, 2022 at 3:53 PM Joel Sherrill wrote: > I'm not sure what triggers the newlib mirror

Re: Aw: Re: [PATCH 0/2] GCC errors when building C++ Applications with libbsd

2022-09-26 Thread Joel Sherrill
I'm not sure what triggers the newlib mirror to update on github. When it's up to date, I'm ready to update rteems-source-builder. Sebastian.. what's the trigger? --joel On Mon, Sep 26, 2022 at 1:08 PM Joel Sherrill wrote: > > > On Mon, Sep 26, 2022, 1:51 PM Sebastian Huber < >

[PATCH RSB v2] rtems-gcc-12-newlib-head.cfg: Bump newlib hash to get extern C on resource.h

2022-09-26 Thread Joel Sherrill
--- rtems/config/tools/rtems-gcc-12-newlib-head.cfg | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg index fe4f827..c8eb0a6 100644 ---

Re: [rtems-source-builder commit] 7: Update Binutils, GDB, and GCC

2022-09-26 Thread Joel Sherrill
I expect you noticed but there were a lot of tool build failures over the past few days reported. On Mon, Sep 26, 2022, 2:05 AM Chris Johns wrote: > On 26/9/2022 4:45 pm, Sebastian Huber wrote: > > On 26/09/2022 08:43, Chris Johns wrote: > >> On 26/9/2022 4:33 pm, Sebastian Huber wrote: > >>>

Re: [rtems-source-builder commit] 7: Update Binutils, GDB, and GCC

2022-09-26 Thread Sebastian Huber
On 26/09/2022 08:43, Chris Johns wrote: On 26/9/2022 4:33 pm, Sebastian Huber wrote: On 09/09/2022 00:47, Chris Johns wrote: On 9/9/2022 12:28 am, Sebastian Huber wrote: https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/%{binutils_version} -%hash sha512

Re: [PATCH rtems-docs] raspberrypi4.rst: Added Documentation for the new AArch64 Raspberry pi 4B BSP

2022-09-26 Thread Chris Johns
On 26/9/2022 5:10 pm, Chris Johns wrote: > Hi, > > Thanks for this. Looks good. I few minor issues. > > Should memory sizes be discussed given there are a few models with different > sized memory? > > Can the subject please be: > > user/raspberrypi4.rst: Added the AArch64 Raspberry pi 4B BSP

[PATCH rtems-docs] raspberrypi4.rst: Added Documentation for the new AArch64 Raspberry pi 4B BSP

2022-09-26 Thread Mohd Noor Aman
This patch adds the relevant documentations required for booting the new BSP. JTAG support is added for debugging. I have built the HTML docs and verified them. --- user/bsps/aarch64/raspberrypi4.rst | 92 ++ user/bsps/bsps-aarch64.rst | 1 + 2 files

Re: [rtems-source-builder commit] 7: Update Binutils, GDB, and GCC

2022-09-26 Thread Chris Johns
On 26/9/2022 4:45 pm, Sebastian Huber wrote: > On 26/09/2022 08:43, Chris Johns wrote: >> On 26/9/2022 4:33 pm, Sebastian Huber wrote: >>> On 09/09/2022 00:47, Chris Johns wrote: On 9/9/2022 12:28 am, Sebastian Huber wrote:

Re: [rtems-source-builder commit] 7: Update Binutils, GDB, and GCC

2022-09-26 Thread Sebastian Huber
On 09/09/2022 00:47, Chris Johns wrote: On 9/9/2022 12:28 am, Sebastian Huber wrote: https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/%{binutils_version} -%hash sha512 %{binutils_expand_name}.tar.gz

Re: [rtems-source-builder commit] 7: Update Binutils, GDB, and GCC

2022-09-26 Thread Chris Johns
On 26/9/2022 4:33 pm, Sebastian Huber wrote: > On 09/09/2022 00:47, Chris Johns wrote: >> On 9/9/2022 12:28 am, Sebastian Huber wrote: >> https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/%{binutils_version} >>> -%hash sha512 %{binutils_expand_name}.tar.gz >>>

Re: [PATCH rtems-docs] raspberrypi4.rst: Added Documentation for the new AArch64 Raspberry pi 4B BSP

2022-09-26 Thread Chris Johns
Hi, Thanks for this. Looks good. I few minor issues. Should memory sizes be discussed given there are a few models with different sized memory? Can the subject please be: user/raspberrypi4.rst: Added the AArch64 Raspberry pi 4B BSP Minor nit has the end of the email ... On 26/9/2022 4:52

Re: [RTEMS SMP ISVV] : Timer Server

2022-09-26 Thread Sebastian Huber
Hello Luís, On 26/09/2022 16:29, Luis Alves wrote: It makes a lot of sense to us and ESA to have this new rtems_timer_server_construct directive availableto the space industry, thus avoiding the custom stack allocator, which adds inefficiency to the development process and might be more prone

Re: [RTEMS SMP ISVV] : Timer Server

2022-09-26 Thread Luis Alves
Thank you for the quick reply. We agree that it is in fact inconvenient for each user having to provide a custom stack allocator in order to be able to use the Timer Server feature. It makes a lot of sense to us and ESA to have this new rtems_timer_server_construct directive available to the

Re: [PATCH 0/2] GCC errors when building C++ Applications with libbsd

2022-09-26 Thread Markus Moessner
Am 26.09.2022 um 18:58 schrieb Markus Moessner: The second one is triggered by the function getrusage in rtemsbsd/include/bsd/sys/ressource.h. There is a another declaration in include/sys/ressource.h provided with the toolchain. Now, one has C Linkage the other one C++ Linkage which leads

Re: Aw: Re: [PATCH 0/2] GCC errors when building C++ Applications with libbsd

2022-09-26 Thread Sebastian Huber
On 26/09/2022 18:58, Markus Moessner wrote: The second one is triggered by the function getrusage in rtemsbsd/include/bsd/sys/ressource.h. There is a another declaration in include/sys/ressource.h provided with the toolchain. Now, one has C Linkage the other one C++ Linkage which leads to a

Aw: Re: [PATCH 0/2] GCC errors when building C++ Applications with libbsd

2022-09-26 Thread Markus Moessner
>> >> The second one is triggered by the function getrusage in >> rtemsbsd/include/bsd/sys/ressource.h. >> There is a another declaration in include/sys/ressource.h provided with the >> toolchain. >> Now, one has C Linkage the other one C++ Linkage which leads to a conflict. >> I ve simply

[PATCH 0/1] GCC errors when building C++ Applications with libbsd

2022-09-26 Thread kho237115
From: "Markus B. Moessner" Dear all, I am using the latest RTEMS 6 tools and sources. When building a C++ application including libbsd I receive an error from GCC. GCC complains about the macro BITSET_DEFINE within freebsd/sys/sys/_domainset.h. I think this relates to a patch "sys/bitset.h:

[PATCH 1/1] Use built-in macro definition

2022-09-26 Thread kho237115
From: kaidoho --- freebsd/sys/sys/_domainset.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freebsd/sys/sys/_domainset.h b/freebsd/sys/sys/_domainset.h index 5685d532..443c68fd 100644 --- a/freebsd/sys/sys/_domainset.h +++ b/freebsd/sys/sys/_domainset.h @@ -43,7 +43,7 @@

Re: [PATCH v2] bsp/aarch64: New entry for Raspberry pi 4B AArch64 BSP

2022-09-26 Thread Alan Cudmore
Hi Noor, I successfully applied this patch, built and ran a couple of samples on my RPI4b. I ran unlimited and ticker. I'm going to try one of my applications later today or tomorrow. The build has one warning: ../../../bsps/aarch64/raspberrypi/start/bspstarthooks.c: In function

Re: Aw: Re: [PATCH 0/2] GCC errors when building C++ Applications with libbsd

2022-09-26 Thread Joel Sherrill
On Mon, Sep 26, 2022, 1:51 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 26/09/2022 18:58, Markus Moessner wrote: > >>> The second one is triggered by the function getrusage in > rtemsbsd/include/bsd/sys/ressource.h. > >>> There is a another declaration in