Re: [PATCH] user: Mention file descriptor changes

2020-08-31 Thread Sebastian Huber
On 01/09/2020 07:04, Sebastian Huber wrote: +In RTEMS 5.1, the file descriptor list is a LIFO in contrast to previous +versions where it was a FIFO. Maybe better: In RTEMS 5.1, the list of free file descriptors has a LIFO ordering in contrast to previous versions where it was a FIFO. --

[PATCH] user: Mention file descriptor changes

2020-08-31 Thread Sebastian Huber
--- user/migration/v4_11-to-v5.rst | 14 ++ 1 file changed, 14 insertions(+) diff --git a/user/migration/v4_11-to-v5.rst b/user/migration/v4_11-to-v5.rst index d42744d..5480434 100644 --- a/user/migration/v4_11-to-v5.rst +++ b/user/migration/v4_11-to-v5.rst @@ -69,6 +69,20 @@ The

Re: select call on a UDP socket with BSD library?

2020-08-31 Thread Sebastian Huber
On 01/09/2020 05:31, Ian Caddy wrote: On 1/09/2020 10:48 am, Chris Johns wrote: On 1/9/20 6:14 am, Cudmore, Alan P. (GSFC-5820) wrote: I am having problems using the “select” call with an RTEMS + LibBSD network socket. I’m trying to use “select” to check the socket (using a timeout of

Re: select call on a UDP socket with BSD library?

2020-08-31 Thread Sebastian Huber
On 01/09/2020 04:48, Chris Johns wrote: The fd in this instance is 77 and I have RTEMS setup for 200 file descriptors. Are there any other LibBSD configuration parameters I should be aware of? I am sorry but 77 is to high because newlib by default limits the fd set size to 64... # ifndef

Re: [PATCH] eng: Update the python template, add a shell template

2020-08-31 Thread Sebastian Huber
On 01/09/2020 04:10, chr...@rtems.org wrote: From: Chris Johns --- eng/coding-file-hdr.rst | 62 ++--- 1 file changed, 58 insertions(+), 4 deletions(-) diff --git a/eng/coding-file-hdr.rst b/eng/coding-file-hdr.rst index cda631a..dafe82c 100644 ---

Re: select call on a UDP socket with BSD library?

2020-08-31 Thread Ian Caddy
On 1/09/2020 10:48 am, Chris Johns wrote: On 1/9/20 6:14 am, Cudmore, Alan P. (GSFC-5820) wrote: I am having problems using the “select” call with an RTEMS + LibBSD network socket. I’m trying to use “select” to check the socket (using a timeout of zero), but when I call select I get a -1

Re: select call on a UDP socket with BSD library?

2020-08-31 Thread Chris Johns
On 1/9/20 6:14 am, Cudmore, Alan P. (GSFC-5820) wrote: > I am having problems using the “select” call with an RTEMS + LibBSD network > socket. > > Here is what I am using: > > RTEMS 5.1 RSB, RTEMS source, and RTEMS LibBSD release files. > > ARM/Beagleboneblack + LibBSD > > I have verified

[PATCH] eng: Update the python template, add a shell template

2020-08-31 Thread chrisj
From: Chris Johns --- eng/coding-file-hdr.rst | 62 ++--- 1 file changed, 58 insertions(+), 4 deletions(-) diff --git a/eng/coding-file-hdr.rst b/eng/coding-file-hdr.rst index cda631a..dafe82c 100644 --- a/eng/coding-file-hdr.rst +++

select call on a UDP socket with BSD library?

2020-08-31 Thread Cudmore, Alan P. (GSFC-5820)
I am having problems using the “select” call with an RTEMS + LibBSD network socket. Here is what I am using: RTEMS 5.1 RSB, RTEMS source, and RTEMS LibBSD release files. ARM/Beagleboneblack + LibBSD I have verified that the network is initialized (ethernet device on the beaglebone) and I can

Re: [PATCH 7/7] rtems: Add rtems_task_build()

2020-08-31 Thread Joel Sherrill
On Fri, Aug 21, 2020 at 6:51 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > In contrast to rtems_task_create() this function creates a task with a > user-provided task storage area. > And all the creation parameters are in a structure which this log doesn't mention. How is

Re: [PATCH 7/7] rtems: Add rtems_task_build()

2020-08-31 Thread Sebastian Huber
On 31/08/2020 20:10, Gedare Bloom wrote: On Mon, Aug 31, 2020 at 2:58 AM Sebastian Huber wrote: On 31/08/2020 09:39, Chris Johns wrote: On 31/8/20 4:43 pm, Sebastian Huber wrote: On 31/08/2020 02:34, Chris Johns wrote: On 31/8/20 12:49 am, Sebastian Huber wrote: On 22/08/2020 09:49,

Re: How to use _Thread_Get() function properly?

2020-08-31 Thread Utkarsh Rai
Thanks, I'll check it out. On Mon, Aug 31, 2020 at 11:35 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 31/08/2020 19:52, Utkarsh Rai wrote: > > > Hello, > > I have been trying to get the pointer to the control block of a thread > > using the _Thread_Get() function for

Re: [PATCH 7/7] rtems: Add rtems_task_build()

2020-08-31 Thread Gedare Bloom
On Mon, Aug 31, 2020 at 2:58 AM Sebastian Huber wrote: > > On 31/08/2020 09:39, Chris Johns wrote: > > > On 31/8/20 4:43 pm, Sebastian Huber wrote: > >> On 31/08/2020 02:34, Chris Johns wrote: > >> > >>> On 31/8/20 12:49 am, Sebastian Huber wrote: > On 22/08/2020 09:49, Chris Johns wrote: >

Re: How to use _Thread_Get() function properly?

2020-08-31 Thread Sebastian Huber
On 31/08/2020 19:52, Utkarsh Rai wrote: Hello, I have been trying to get the pointer to the control block of a thread using the _Thread_Get() function for stack sharing using a shared-memory object, the implementation can be seen here

How to use _Thread_Get() function properly?

2020-08-31 Thread Utkarsh Rai
Hello, I have been trying to get the pointer to the control block of a thread using the _Thread_Get() function for stack sharing using a shared-memory object, the implementation can be seen here . The problem is when

Re: [PATCH] config: Provide file descriptors only if necessary

2020-08-31 Thread Sebastian Huber
On 21/08/2020 10:44, Sebastian Huber wrote: Only provide the file descriptor array if CONFIGURE_MAXIMUM_FILE_DESCRIPTORS > 0. If someone configured CONFIGURE_MAXIMUM_FILE_DESCRIPTORS == 0 and the appplication uses something which requires a file descriptor, then a linker error will show up.

Re: Error in RISC-V Dynamic loading code

2020-08-31 Thread Hesham Almatary
On Mon, 31 Aug 2020 at 15:05, Eshan Dhawan wrote: > > > >> On 31-Aug-2020, at 3:44 PM, Hesham Almatary > >> wrote: > > Hello Eshan, > > > > What rtems-tools version are you using? I remember I fixed that (or > > something similar) in this commit [1] > The error comes while Building RTEMS > >

Re: Error in RISC-V Dynamic loading code

2020-08-31 Thread Eshan Dhawan
>> On 31-Aug-2020, at 3:44 PM, Hesham Almatary >> wrote: > Hello Eshan, > > What rtems-tools version are you using? I remember I fixed that (or > something similar) in this commit [1] The error comes while Building RTEMS > > [1] >

[PATCH v2] testsuits/dl10 : Prototype missing

2020-08-31 Thread Aschref Ben-Thabet
From: Aschref Ben Thabet Add a prototype for the function rtems_main_o5 to avoid the prototype missing warning. --- testsuites/libtests/dl10/dl10-o6.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testsuites/libtests/dl10/dl10-o6.c b/testsuites/libtests/dl10/dl10-o6.c

Re: Error in RISC-V Dynamic loading code

2020-08-31 Thread Hesham Almatary
Hello Eshan, What rtems-tools version are you using? I remember I fixed that (or something similar) in this commit [1] [1] https://github.com/RTEMS/rtems-tools/commit/e6e610d262940b7651157597b6b1406aa806b4d1 On Sun, 30 Aug 2020 at 18:33, Eshan Dhawan wrote: > > Hello everyone, > While testing

Re: [PATCH 7/7] rtems: Add rtems_task_build()

2020-08-31 Thread Sebastian Huber
On 31/08/2020 09:39, Chris Johns wrote: On 31/8/20 4:43 pm, Sebastian Huber wrote: On 31/08/2020 02:34, Chris Johns wrote: On 31/8/20 12:49 am, Sebastian Huber wrote: On 22/08/2020 09:49, Chris Johns wrote: On 21/8/20 9:51 pm, Sebastian Huber wrote: In contrast to rtems_task_create()

Re: [PATCH] testsuits/dl10 : Prototype missing

2020-08-31 Thread Sebastian Huber
On 31/08/2020 10:27, Aschref Ben-Thabet wrote: From: Aschref Ben Thabet Add a prototxpe prototype, please use a spell checker in your editor. for the function rtems_main_o5 Use rtems_main_o5() for functions. to avoid the prototype missing warning. ---

[PATCH] testsuits/dl10 : Prototype missing

2020-08-31 Thread Aschref Ben-Thabet
From: Aschref Ben Thabet Add a prototxpe for the function rtems_main_o5 to avoid the prototype missing warning. --- testsuites/libtests/dl10/dl10-o6.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testsuites/libtests/dl10/dl10-o6.c b/testsuites/libtests/dl10/dl10-o6.c

Re: GSoC 2020 - Final project report

2020-08-31 Thread Hesham Almatary
Thanks for updating the blog post, Utkarsh. On Sun, 30 Aug 2020 at 17:40, Gedare Bloom wrote: > > Utkarsh, > > I'll be happy to continue to guide you in this work, subject to your > availability. > > -Gedare > > On Sun, Aug 30, 2020 at 9:25 AM Utkarsh Rai wrote: > > > > Thank you for your kind

Re: [PATCH 7/7] rtems: Add rtems_task_build()

2020-08-31 Thread Chris Johns
On 31/8/20 4:43 pm, Sebastian Huber wrote: > On 31/08/2020 02:34, Chris Johns wrote: > >> On 31/8/20 12:49 am, Sebastian Huber wrote: >>> On 22/08/2020 09:49, Chris Johns wrote: >>> On 21/8/20 9:51 pm, Sebastian Huber wrote: > In contrast to rtems_task_create() this function creates a

Re: GSoC 2020: Final Report (Beagle BSP: Add FDT based initialization)

2020-08-31 Thread Christian Mauderer
Hello Niteesh, On 31/08/2020 08:23, Niteesh G. S. wrote: > Hello, > > I have submitted the final eval. > > Thank you, everyone, for all the support throughout the project. Thank you for your work during GSoC 2020. > Though I couldn't > get any of my patches merged. I'm sure we manage to do

Re: [PATCH 00/16] c-user: Split up chapter files

2020-08-31 Thread Sebastian Huber
On 30/08/2020 18:41, Gedare Bloom wrote: On Sun, Aug 30, 2020 at 10:15 AM Joel Sherrill wrote: On Sun, Aug 30, 2020, 11:02 AM Joel Sherrill wrote: On Sun, Aug 30, 2020, 10:22 AM Gedare Bloom wrote: this is fairly mechanical. My only question is whether it is better to keep the longer

Re: [PATCH 3/3] score: Optimize _Objects_Name_to_id_u32()

2020-08-31 Thread Sebastian Huber
On 30/08/2020 18:42, Gedare Bloom wrote: On Fri, Aug 21, 2020 at 2:32 AM Sebastian Huber wrote: Remove the superfluous invalid name check since the object creation directives ensure that objects with such a name cannot exist. Also Should it instead be a (debug) assert? finding an object

Re: [PATCH 7/7] rtems: Add rtems_task_build()

2020-08-31 Thread Sebastian Huber
On 31/08/2020 02:34, Chris Johns wrote: On 31/8/20 12:49 am, Sebastian Huber wrote: On 22/08/2020 09:49, Chris Johns wrote: On 21/8/20 9:51 pm, Sebastian Huber wrote: In contrast to rtems_task_create() this function creates a task with a user-provided task storage area. The name is build

Re: GSoC 2020: Final Report (Beagle BSP: Add FDT based initialization)

2020-08-31 Thread Niteesh G. S.
Hello, I have submitted the final eval. Thank you, everyone, for all the support throughout the project. Though I couldn't get any of my patches merged. I expect to spend a lot of time post-GSoC to get the work merged and contribute even more :). Thanks, Niteesh. On Sun, Aug 30, 2020 at 8:46 PM