Problem running RTEMS on raspberrypi3

2019-12-15 Thread Niteesh
I am trying to get RTEMS examples running on the RPI3, the RPI3 is similar to RPI2 so the examples built for RPI2 should technically run on the RPi3.But they don't :(, I am really sure of what is causing the problem. I followed the steps from http://alanstechnotes.blogspot.com/2013/03/running-your-

Re: Query related to PRU drivers of BeagleBone Black

2019-12-15 Thread Christian Mauderer
Hello Utkarsh Rai, I haven't followed the project tightly. So I can't tell much regarding 2 and 3. I added Nils (who did the GSoC 2019 project) to CC so maybe he can give you some more details. Regarding 1: In RTEMS we generally prefer the FreeBSD code due to the BSD license. Most code in Linux i

Re: Problem running RTEMS on raspberrypi3

2019-12-15 Thread Christian Mauderer
Hello Niteesh, On 15/12/2019 09:05, Niteesh wrote: > I am trying to get RTEMS examples running on the RPI3, the RPI3 is > similar to RPI2 so the examples built for RPI2 should technically run on > the RPi3.But they don't :(, I am really sure of what is causing the problem. Note that there are at

Re: Problem running RTEMS on raspberrypi3

2019-12-15 Thread Niteesh
On Sun, Dec 15, 2019 at 10:15 PM Christian Mauderer wrote: > Hello Niteesh, > > On 15/12/2019 09:05, Niteesh wrote: > > I am trying to get RTEMS examples running on the RPI3, the RPI3 is > > similar to RPI2 so the examples built for RPI2 should technically run on > > the RPi3.But they don't :(, I

Re: Problem running RTEMS on raspberrypi3

2019-12-15 Thread Christian Mauderer
On 15/12/2019 19:46, Niteesh wrote: > > > On Sun, Dec 15, 2019 at 10:15 PM Christian Mauderer > wrote: > > Hello Niteesh, > > On 15/12/2019 09:05, Niteesh wrote: > > I am trying to get RTEMS examples running on the RPI3, the RPI3 is > > similar to RPI

Re: Problem running RTEMS on raspberrypi3

2019-12-15 Thread Niteesh
On Mon, Dec 16, 2019 at 12:53 AM Christian Mauderer wrote: > On 15/12/2019 19:46, Niteesh wrote: > > > > > > On Sun, Dec 15, 2019 at 10:15 PM Christian Mauderer > > wrote: > > > > Hello Niteesh, > > > > On 15/12/2019 09:05, Niteesh wrote: > > > I am trying

Re: Problem running RTEMS on raspberrypi3

2019-12-15 Thread Christian Mauderer
On 15/12/2019 21:29, Niteesh wrote: > > > On Mon, Dec 16, 2019 at 12:53 AM Christian Mauderer > wrote: > > On 15/12/2019 19:46, Niteesh wrote: > > > > > > On Sun, Dec 15, 2019 at 10:15 PM Christian Mauderer > mailto:l...@c-mauderer.de> > >

[PATCH v3] libmisc/top: Fix the idle time and priorities on SMP

2019-12-15 Thread chrisj
From: Chris Johns - This patch is based on the patch attached to #3552 submitted by jameszxj. Closes #3552 --- cpukit/libmisc/cpuuse/cpuusagetop.c | 38 - 1 file changed, 27 insertions(+), 11 deletions(-) diff --git a/cpukit/libmisc/cpuuse/cpuusagetop.c b/cpukit/

Re: [PATCH v2] libmisc/top: Fix the idle time and priorities on SMP

2019-12-15 Thread Chris Johns
On 13/12/19 6:48 pm, jameszxj wrote: >    2. On z7020 board, SMP mode, the RPRI and CPRI of idle seems not > reasonable. Yes they are not. I have posted v3 of this patch and my hope is the API used manages this. If it does not we will need look into why or consider an API to normalise the priorit

Re: [PATCH v2] libmisc/top: Fix the idle time and priorities on SMP

2019-12-15 Thread jameszxj
Agree. Patch v3 is ok except for IDLE's priority. The maximum_priority is defined by diffrent scheduler, scheduler CBS and EDF define it as INT_MAX, so  the priority of IDLE is 2147483647 (‭0x7FFF‬). If normalise the priorities in unmap_priority()​, we can get the expected results from _RTE