Re: GSoC Project | Basic Support for Trace Compass

2019-07-30 Thread Sebastian Huber
On 31/07/2019 07:30, Sebastian Huber wrote: Have added the prev_state in client-side: https://github.com/rmeena840/rtems-tools/commit/43ae797ba3c6123cc51a6244a62912c999f69a1e The bit field is documented in the manual. I would simplify this to: cctx->switch_out_int[ item->cpu ].prev_state =

Re: GSoC Project | Basic Support for Trace Compass

2019-07-30 Thread Sebastian Huber
On 30/07/2019 18:32, Ravindra Kumar Meena wrote: >     The next tasks are: > >     1. Detect if we switch to/from an idle thread. In this case set the >     corresponding state to TASK_IDLE == 1026. > > I tried to work on this task. I am not sure how to detect it

Re: Compiling sparc/leon3 with clang

2019-07-30 Thread Sebastian Huber
On 31/07/2019 01:23, Gedare Bloom wrote: Hello folks, I'm trying to compile leon3 with clang, because I'm under the impression it should be possible. I got as far as mv -f base_sp/.deps/base_sp-apptask.Tpo base_sp/.deps/base_sp-apptask.Po clang -target sparc-rtems5 -ccc-gcc-name sparc-rtems5-gcc

Re: powerpc-rtems does not build on gcc master

2019-07-30 Thread Sebastian Huber
On 31/07/2019 07:02, Sebastian Huber wrote: On 31/07/2019 00:47, Joel Sherrill wrote: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91303 Here's the output. Any ideas? Yes, support for SPE was removed in GCC 8. Oh, sorry. You are building GCC. This is a regression from last week. -- Sebast

Re: powerpc-rtems does not build on gcc master

2019-07-30 Thread Sebastian Huber
On 31/07/2019 00:47, Joel Sherrill wrote: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91303 Here's the output. Any ideas? Yes, support for SPE was removed in GCC 8. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax

Compiling sparc/leon3 with clang

2019-07-30 Thread Gedare Bloom
Hello folks, I'm trying to compile leon3 with clang, because I'm under the impression it should be possible. I got as far as mv -f base_sp/.deps/base_sp-apptask.Tpo base_sp/.deps/base_sp-apptask.Po clang -target sparc-rtems5 -ccc-gcc-name sparc-rtems5-gcc -mcpu=leon3 -O2 -g -ffunction-sections -fd

Re: Building RTEMS with Clang (LLVM)

2019-07-30 Thread Gedare Bloom
I updated that page. Please have a look. You'll need to build RTEMS out-of-tree, usually in a parallel build directory to your checked-out rtems.git. On Mon, Jul 15, 2019 at 11:20 AM Prajjwal Dangal wrote: > > Hi there, > > I tried following the steps in the link > https://devel.rtems.org/wiki/P

powerpc-rtems does not build on gcc master

2019-07-30 Thread Joel Sherrill
Hi https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91303 Here's the output. Any ideas? /home/joel/test-gcc/b-powerpc-rtems5-gcc/./gcc/xgcc -B/home/joel/test-gcc/b-powerpc-rtems5-gcc/./gcc/ -nostdinc -B/home/joel/test-gcc/b-powerpc-rtems5-gcc/powerpc-rtems5/newlib/ -isystem /home/joel/test-gcc/b-po

Re: GSoC 2019 : POSIX Compliance - Weekly Report

2019-07-30 Thread Joel Sherrill
On Tue, Jul 30, 2019 at 12:29 PM Vaibhav Gupta wrote: > > > On Tue, Jul 30, 2019 at 7:23 PM Joel Sherrill wrote: > >> >> >> On Tue, Jul 30, 2019 at 7:44 AM Vaibhav Gupta >> wrote: >> >>> >>> >>> On Tue, Jul 30, 2019 at 3:25 AM Gedare Bloom wrote: >>> On Wed, Jul 24, 2019 at 10:43 AM Vaibh

Re: [PATCH] bsps/beagle: Remove dead code from GPIO.

2019-07-30 Thread Gedare Bloom
fine with me On Tue, Jul 30, 2019 at 1:14 PM wrote: > > From: Christian Mauderer > > Remove static stuff that is never used. > --- > bsps/arm/beagle/gpio/bbb-gpio.c | 133 > 1 file changed, 133 deletions(-) > > diff --git a/bsps/arm/beagle/gpio/bbb-gpio.c b/bsps

Re: How to handle pinmux in libbsd (was: Re: [PATCH 10/10] TI Pinmux : Port to RTEMS)

2019-07-30 Thread Christian Mauderer
On 30/07/2019 17:59, Gedare Bloom wrote: > On Tue, Jul 30, 2019 at 12:40 AM Christian Mauderer > wrote: >> >> On 29/07/2019 22:11, Gedare Bloom wrote: >>> We had a GSoC project about GPIO API implemented for RPi. >>> >>> https://devel.rtems.org/wiki/GSoC/2013/Raspberry_Pi_BSP_Peripherals >> >> Hel

[PATCH] bsps/beagle: Remove dead code from GPIO.

2019-07-30 Thread list
From: Christian Mauderer Remove static stuff that is never used. --- bsps/arm/beagle/gpio/bbb-gpio.c | 133 1 file changed, 133 deletions(-) diff --git a/bsps/arm/beagle/gpio/bbb-gpio.c b/bsps/arm/beagle/gpio/bbb-gpio.c index 8532f544ab..bd081fae5a 100644 --- a/

Re: How to handle pinmux in libbsd (was: Re: [PATCH 10/10] TI Pinmux : Port to RTEMS)

2019-07-30 Thread Vijay Kumar Banerjee
On Tue, Jul 30, 2019 at 9:29 PM Gedare Bloom wrote: > On Tue, Jul 30, 2019 at 12:40 AM Christian Mauderer > wrote: > > > > On 29/07/2019 22:11, Gedare Bloom wrote: > > > We had a GSoC project about GPIO API implemented for RPi. > > > > > > https://devel.rtems.org/wiki/GSoC/2013/Raspberry_Pi_BSP_

Re: GSoC 2019 : POSIX Compliance - Weekly Report

2019-07-30 Thread Vaibhav Gupta
On Tue, Jul 30, 2019 at 7:23 PM Joel Sherrill wrote: > > > On Tue, Jul 30, 2019 at 7:44 AM Vaibhav Gupta > wrote: > >> >> >> On Tue, Jul 30, 2019 at 3:25 AM Gedare Bloom wrote: >> >>> On Wed, Jul 24, 2019 at 10:43 AM Vaibhav Gupta >>> wrote: >>> > >>> > Hello, >>> > Progress so far: >>> > - ND

Re: GSoC Project | Basic Support for Trace Compass

2019-07-30 Thread Ravindra Kumar Meena
> > > The next tasks are: > > > > 1. Detect if we switch to/from an idle thread. In this case set the > > corresponding state to TASK_IDLE == 1026. > > > > I tried to work on this task. I am not sure how to detect it without > > calling pthread_*. > > Does this have to do something with

Re: How to handle pinmux in libbsd (was: Re: [PATCH 10/10] TI Pinmux : Port to RTEMS)

2019-07-30 Thread Gedare Bloom
On Tue, Jul 30, 2019 at 12:40 AM Christian Mauderer wrote: > > On 29/07/2019 22:11, Gedare Bloom wrote: > > We had a GSoC project about GPIO API implemented for RPi. > > > > https://devel.rtems.org/wiki/GSoC/2013/Raspberry_Pi_BSP_Peripherals > > Hello Gedare, > > thanks for the hint. It seems that

Re: Patch review process

2019-07-30 Thread Gedare Bloom
On Tue, Jul 30, 2019 at 12:01 AM Sebastian Huber wrote: > > On 29/07/2019 23:40, Gedare Bloom wrote: > > On Fri, Jul 26, 2019 at 2:25 AM Sebastian Huber > > wrote: > >> Hello, > >> > >> Joel asked me to document the normal patch review process. Should this > >> be in a "Contributing" chapter in

Re: Requirement Identifiers

2019-07-30 Thread Gedare Bloom
On Mon, Jul 29, 2019 at 11:57 PM Sebastian Huber wrote: > > On 30/07/2019 00:25, Gedare Bloom wrote: > >> We have to be careful to do what makes them presentable to humans. > >> > > It would seem wise to make the hierarchy of requirements follow the > > same organization as the hierarchy of the Ma

Re: GSoC 2019 : POSIX Compliance - Weekly Report

2019-07-30 Thread Vaibhav Gupta
On Tue, Jul 30, 2019 at 8:49 PM Joel Sherrill wrote: > > > On Tue, Jul 30, 2019 at 10:15 AM Vaibhav Gupta > wrote: > >> >> >> On Tue, Jul 30, 2019 at 7:23 PM Joel Sherrill wrote: >> >>> >>> >>> On Tue, Jul 30, 2019 at 7:44 AM Vaibhav Gupta >>> wrote: >>> On Tue, Jul 30, 2019 at

Re: GSoC 2019 : POSIX Compliance - Weekly Report

2019-07-30 Thread Joel Sherrill
On Tue, Jul 30, 2019 at 10:15 AM Vaibhav Gupta wrote: > > > On Tue, Jul 30, 2019 at 7:23 PM Joel Sherrill wrote: > >> >> >> On Tue, Jul 30, 2019 at 7:44 AM Vaibhav Gupta >> wrote: >> >>> >>> >>> On Tue, Jul 30, 2019 at 3:25 AM Gedare Bloom wrote: >>> On Wed, Jul 24, 2019 at 10:43 AM Vaibh

Re: GSoC 2019 : POSIX Compliance - Weekly Report

2019-07-30 Thread Vaibhav Gupta
On Tue, Jul 30, 2019 at 7:23 PM Joel Sherrill wrote: > > > On Tue, Jul 30, 2019 at 7:44 AM Vaibhav Gupta > wrote: > >> >> >> On Tue, Jul 30, 2019 at 3:25 AM Gedare Bloom wrote: >> >>> On Wed, Jul 24, 2019 at 10:43 AM Vaibhav Gupta >>> wrote: >>> > >>> > Hello, >>> > Progress so far: >>> > - ND

Re: GSoC 2019 : POSIX Compliance - Weekly Report

2019-07-30 Thread Joel Sherrill
On Tue, Jul 30, 2019 at 7:44 AM Vaibhav Gupta wrote: > > > On Tue, Jul 30, 2019 at 3:25 AM Gedare Bloom wrote: > >> On Wed, Jul 24, 2019 at 10:43 AM Vaibhav Gupta >> wrote: >> > >> > Hello, >> > Progress so far: >> > - NDBM patch is pushed by newlib. >> > - NDBM Testsuite is sent to devel ([PAT

Re: GSoC Project | Basic Support for Trace Compass

2019-07-30 Thread Sebastian Huber
On 30/07/2019 14:40, Ravindra Kumar Meena wrote: I checked in the RTEMS patch to add some basic support for thread names. Please update your RTEMS to the current master branch. I check in some patches for the rtems-record program in your rtems-tools branch. Please ru

Re: GSoC 2019 : POSIX Compliance - Weekly Report

2019-07-30 Thread Vaibhav Gupta
On Tue, Jul 30, 2019 at 3:25 AM Gedare Bloom wrote: > On Wed, Jul 24, 2019 at 10:43 AM Vaibhav Gupta > wrote: > > > > Hello, > > Progress so far: > > - NDBM patch is pushed by newlib. > > - NDBM Testsuite is sent to devel ([PATCH V6] ndbm test suite), its > execution will be verified once newlib

Re: GSoC Project | Basic Support for Trace Compass

2019-07-30 Thread Ravindra Kumar Meena
> > I checked in the RTEMS patch to add some basic support for thread names. > Please update your RTEMS to the current master branch. > > I check in some patches for the rtems-record program in your rtems-tools > branch. > > Please run your tests with new raw input data: > > ../../build/misc/rtems-

Re: [PATCH] eng: Add Software Requirements Engineering chapter

2019-07-30 Thread Sebastian Huber
On 30/07/2019 00:16, Gedare Bloom wrote: Seems to make sense to me. I noted just a few very small grammatical errors. Thanks for the review, I fixed the errors. I will now work on a description of the "normal patch review process". -- Sebastian Huber, embedded brains GmbH Address : Dornierst

RE: RTEMS Software Coding Standard

2019-07-30 Thread Manuel Coutinho
Hi Andrei, Thank you for your feedback. I think that we have document the deviations if “RTEMS” wants to be “MISRA compliant”. For the ESA pre-qualification project it is not required that RTEMS is “MISRA compliant”, but may be it could be. In this case I think you are right, to be MIRSA2012

Re: [PATCH v3] arm/raspberrypi: Fix linker map

2019-07-30 Thread Chris Johns
On 29/7/19 5:07 pm, Sebastian Huber wrote: > Add NULL-pointer protection. Make MMU table read-only. Move vector > table to start section. Please push this change. Thank you. Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/l