RTEMS Release Snapshot: 5.0.0-m2003 (03 Mar 2020)

2020-03-03 Thread chrisj
RTEMS Release Build - 5.0.0-m2003 RTEMS 5 Release snapshot m2003 is avaliable for testing. It can be found at: https://ftp.rtems.org/pub/rtems/releases/5/5.0.0/5.0.0-m2003 Please test and report any issues to the u...@rtems.org or devel@rtems.org mailing lists or please raise a ticket. If you

[PATCH 2/5] imfs: Simplify IMFS_create_node()

2020-03-03 Thread Sebastian Huber
Update #3894. --- cpukit/libfs/src/imfs/imfs_creat.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cpukit/libfs/src/imfs/imfs_creat.c b/cpukit/libfs/src/imfs/imfs_creat.c index b72ae491a6..e476d74852 100644 --- a/cpukit/libfs/src/imfs/imfs_creat.c +++ b/cpukit/libfs/s

[PATCH 3/5] imfs: Add IMFS_add_node()

2020-03-03 Thread Sebastian Huber
Update #3894. --- cpukit/Makefile.am| 2 + cpukit/include/rtems/imfs.h | 159 +++-- cpukit/libfs/src/imfs/imfs_add_node.c | 112 cpukit/libfs/src/imfs/imfs_node.c | 8 +- cpukit/libfs/src

[PATCH 4/5] console: Use IMFS_add_node() for simple console

2020-03-03 Thread Sebastian Huber
Update #3894. --- cpukit/libcsupport/src/consolesimple.c | 55 +++--- 1 file changed, 38 insertions(+), 17 deletions(-) diff --git a/cpukit/libcsupport/src/consolesimple.c b/cpukit/libcsupport/src/consolesimple.c index 94aa40c9fd..4316fa321a 100644 --- a/cpukit/libcsu

[PATCH 5/5] console: Use IMFS_add_node() for simple task cons

2020-03-03 Thread Sebastian Huber
Update #3894. --- cpukit/libcsupport/src/consolesimpletask.c | 70 +- 1 file changed, 50 insertions(+), 20 deletions(-) diff --git a/cpukit/libcsupport/src/consolesimpletask.c b/cpukit/libcsupport/src/consolesimpletask.c index 1f83a4920a..5b12cc6647 100644 --- a/cpuki

[PATCH 1/5] imfs: Remove IMFS_NODE_FLAG_NAME_ALLOCATED

2020-03-03 Thread Sebastian Huber
Remove IMFS_NODE_FLAG_NAME_ALLOCATED and instead replace the node control in rename operations. This avoids a special case in the general node destruction which pulled in free(). Update #3894. --- cpukit/include/rtems/imfs.h | 3 --- cpukit/libfs/src/imfs/imfs_node.c | 4 --- cpukit/

Re: [PATCH] test for fegetround and fesetround

2020-03-03 Thread Gedare Bloom
On Mon, Mar 2, 2020 at 11:11 AM Eshan Dhawan wrote: > > > > On Mon, Mar 2, 2020 at 9:38 PM Gedare Bloom wrote: >> >> On Tue, Feb 25, 2020 at 7:56 AM Eshan dhawan wrote: >> > >> > --- >> > testsuites/psxtests/psxfenv01/init.c | 42 +++- >> > 1 file changed, 41 insertions(

[PATCH] config: Remove include

2020-03-03 Thread Sebastian Huber
The use of CONFIGURE_APPLICATION_NEEDS_TIMER_DRIVER does not define anything, so remove the include. Update #3875. --- testsuites/tmtests/tm01/task1.c| 2 ++ testsuites/tmtests/tm02/tm02impl.h | 2 ++ testsuites/tmtests/tm03/tm03impl.h | 2 ++ testsuites/tmtests/tm04/task1.c

Re: [PATCH] c-user: Document thread switch extension changes

2020-03-03 Thread Gedare Bloom
On Tue, Mar 3, 2020 at 12:03 AM Sebastian Huber wrote: > > Close #3885. > --- > c-user/symmetric_multiprocessing_services.rst | 2 ++ > c-user/user_extensions.rst| 40 > ++- > 2 files changed, 29 insertions(+), 13 deletions(-) > > diff --git a/c-user/

Re: [PATCH] c-user: Document thread switch extension changes

2020-03-03 Thread Sebastian Huber
On 03/03/2020 13:09, Gedare Bloom wrote: +In SMP configurations, the thread switch extension is invoked after the context +switch to the new executing thread (previous heir thread). The +:c:data:`executing` is a pointer to the TCB of the previously executing thread. +Despite the name, this is no

Re: Coverity Scan broken?

2020-03-03 Thread Sebastian Huber
On 03/03/2020 08:34, Sebastian Huber wrote: On 26/02/2020 11:55, Sebastian Huber wrote: On 25/02/2020 21:51, Gedare Bloom wrote: It's working for me. I see the results from Joel's recent run. Maybe try again. The interface has been changed, and I don't see any results for other projects (RTEMS-

[PATCH] rtems: rtems_scheduler_get_processor_maximum()

2020-03-03 Thread Sebastian Huber
In uniprocessor configurations, use compile-time constants for rtems_scheduler_get_processor_maximum() and rtems_scheduler_get_processor(). This helps compilers and static analyzers to deduce that some loops bodies are only executed once and some conditional statements have a fixed outcome. In SM

[PATCH v2 1/4] added fesetexeptflag() test to the psxfenv test

2020-03-03 Thread Eshan dhawan
--- testsuites/psxtests/psxfenv01/init.c | 36 1 file changed, 31 insertions(+), 5 deletions(-) diff --git a/testsuites/psxtests/psxfenv01/init.c b/testsuites/psxtests/psxfenv01/init.c index cdb0fa596e..8ffb9395b9 100644 --- a/testsuites/psxtests/psxfenv01/init.c +++

[PATCH v2 4/4] test for fenv.h functions

2020-03-03 Thread Eshan dhawan
--- testsuites/psxtests/psxfenv01/init.c | 75 +--- 1 file changed, 46 insertions(+), 29 deletions(-) diff --git a/testsuites/psxtests/psxfenv01/init.c b/testsuites/psxtests/psxfenv01/init.c index 4339139c58..dc9ec3c766 100644 --- a/testsuites/psxtests/psxfenv01/init.c ++

[PATCH v2 2/4] added test for fegetexeptflag and fesetexeptflag

2020-03-03 Thread Eshan dhawan
--- testsuites/psxtests/psxfenv01/init.c | 27 +-- 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/testsuites/psxtests/psxfenv01/init.c b/testsuites/psxtests/psxfenv01/init.c index 8ffb9395b9..05f3cdc880 100644 --- a/testsuites/psxtests/psxfenv01/init.c +++

[PATCH v2 3/4] test for fegetround and fesetround

2020-03-03 Thread Eshan dhawan
--- testsuites/psxtests/psxfenv01/init.c | 42 +++- 1 file changed, 41 insertions(+), 1 deletion(-) diff --git a/testsuites/psxtests/psxfenv01/init.c b/testsuites/psxtests/psxfenv01/init.c index 05f3cdc880..4339139c58 100644 --- a/testsuites/psxtests/psxfenv01/init.c +++

Re: Introducing myself and HelloWorld completion.

2020-03-03 Thread Denil Verghese
Hi, > > Great. Those are two quite distinct projects. The "Improve the SMP > Scheduler" will require strong C programming skills. The "Release > Notes Generator" would involve Python programming. Depending on which > language you are stronger in, you might choose to pursue one of them. > How can

Re: Introducing myself and HelloWorld completion.

2020-03-03 Thread Denil Verghese
Hi , I have updated https://devel.rtems.org/wiki/GSoC/2020 page. Were there any documentation issues that need resolving for this? > sis has recently been split out of gdb and there are multiple places > that used sis as the example. It is hard to find them all. > Indeed I have found some pa

[PATCH 2/2] Add to wscript and add python2 shebang.

2020-03-03 Thread Amar Takhar
This script does work but needs some user friendliness added which is acknowledged by the author as it was meant as a quick replacement. --- misc/tools/mkimage.py | 2 ++ misc/wscript | 1 + 2 files changed, 3 insertions(+) mode change 100644 => 100755 misc/tools/mkimage.py diff --git a

[PATCH 1/2] Add a pure Python clone of mkimage written by Craig Barker.

2020-03-03 Thread Amar Takhar
I emailed Craig Barker to ask if he would release his mkimage Python rewrite as 2BSD. He graciously accepted and you can see his work here: https://github.com/cmbarker83/pythonmkimage This is a verbatim commit of 35d6d from his repository. --- misc/tools/mkimage.py | 139 +

RTEMS Release Notes Generator - GSoC Project

2020-03-03 Thread Denil Verghese
I've read the ticket page at https://devel.rtems.org/ticket/3314, but it was last modified a couple of years ago. I would like to know if there are any changes or information that are missing from the ticket. I have intermediate knowledge on python, have a good grasp on both HTML and CSS and basic

Re: RTEMS Release Notes Generator - GSoC Project

2020-03-03 Thread Chris Johns
On 4/3/20 1:04 pm, Denil Verghese wrote: > I've read the ticket page at https://devel.rtems.org/ticket/3314, but it was > last modified a couple of years ago. I would like to know if there are any > changes or information that are missing from the ticket. > > I have intermediate knowledge on pytho

Re: Device Tree Blob for Beaglebone Black?

2020-03-03 Thread Chris Johns
Sorry about delay in getting back to this. I have been focused on getting the release into something close to what we want for RC1. On 28/2/20 9:48 pm, Christian Mauderer wrote: > Hello Gedare and Chris, > > On 27/02/2020 23:14, Gedare Bloom wrote: >> On Thu, Feb 27, 2020 at 3:01 PM Chris Johns

Re: Introducing myself and HelloWorld completion.

2020-03-03 Thread Gedare Bloom
On Tue, Mar 3, 2020 at 6:02 PM Denil Verghese wrote: > > Hi, >> >> >> Great. Those are two quite distinct projects. The "Improve the SMP >> Scheduler" will require strong C programming skills. The "Release >> Notes Generator" would involve Python programming. Depending on which >> language you are

Re: [PATCH 1/2] Add a pure Python clone of mkimage written by Craig Barker.

2020-03-03 Thread Sebastian Huber
On 04/03/2020 02:46, Amar Takhar wrote: I emailed Craig Barker to ask if he would release his mkimage Python rewrite as 2BSD. He graciously accepted and you can see his work here: https://github.com/cmbarker83/pythonmkimage This is a verbatim commit of 35d6d from his repository. This is r

Re: Device Tree Blob for Beaglebone Black?

2020-03-03 Thread Sebastian Huber
On 04/03/2020 05:55, Chris Johns wrote: I think for Boards that normally run a Linux it is a sane approach to just replace the Linux Kernel with a RTEMS binary and otherwise keep the boot process with for example U-Boot. Everything else is a lot of extra effort to implement and not necessary in a

Re: Introducing myself and HelloWorld completion.

2020-03-03 Thread Sebastian Huber
On 04/03/2020 06:28, Gedare Bloom wrote: On Tue, Mar 3, 2020 at 6:02 PM Denil Verghese wrote: Hi, Great. Those are two quite distinct projects. The "Improve the SMP Scheduler" will require strong C programming skills. The "Release Notes Generator" would involve Python programming. Depending o