Re: Context switching through an ISR in RTEMS

2020-08-15 Thread Utkarsh Rai
On Sun, Aug 16, 2020 at 6:12 AM Utkarsh Rai wrote: > > > On Sat, Aug 15, 2020 at 7:26 PM Gedare Bloom wrote: > >> On Sat, Aug 15, 2020 at 6:26 AM Utkarsh Rai >> wrote: >> > >> > >> > On Thu, Aug 13, 2020 at 5:10 AM Utkarsh Rai >> wrote: >> >> >> >> Thanks, I'll check them out. >> >> >> >> On

Re: Context switching through an ISR in RTEMS

2020-08-15 Thread Utkarsh Rai
On Sat, Aug 15, 2020 at 7:26 PM Gedare Bloom wrote: > On Sat, Aug 15, 2020 at 6:26 AM Utkarsh Rai > wrote: > > > > > > On Thu, Aug 13, 2020 at 5:10 AM Utkarsh Rai > wrote: > >> > >> Thanks, I'll check them out. > >> > >> On Thu, Aug 13, 2020 at 12:56 AM Gedare Bloom wrote: > >>> > >>> On Wed,

Re: [GSoC 2020]: Need help in writing sed alternative in Python for RSB recipes

2020-08-15 Thread Mritunjay Sharma
On Sun, Aug 16, 2020 at 12:15 AM Gedare Bloom wrote: > Hi Mritunjay, Chris: > > For the RSB, since it is user-facing, we need to be sure to minimize > its dependencies on the user environment and platform. So this pycli > can only be used if it is distributed standard with Python 2 and > Python

Re: [PATCH] bsps/shared/ofw: Implement RTEMS OFW interface

2020-08-15 Thread Niteesh G. S.
Hello, This patch adds the FDT implementation of the OpenFirmWare interface to RTEMS. This patch is compilable and has been tested on real hardware using the following test. https://github.com/gs-niteesh/rtems/commit/163160bae483d2e12bb7ab9208228989adf01e66 Sorry for sending in a large patch.

[PATCH] bsps/shared/ofw: Implement RTEMS OFW interface

2020-08-15 Thread G S Niteesh Babu
--- bsps/include/ofw/ofw.h | 534 bsps/shared/ofw/ofw.c | 654 spec/build/bsps/obj.yml | 4 + 3 files changed, 1192 insertions(+) create mode 100644 bsps/include/ofw/ofw.h create mode 100644 bsps/shared/ofw/ofw.c

Re: [GSoC 2020]: Need help in writing sed alternative in Python for RSB recipes

2020-08-15 Thread Gedare Bloom
Hi Mritunjay, Chris: For the RSB, since it is user-facing, we need to be sure to minimize its dependencies on the user environment and platform. So this pycli can only be used if it is distributed standard with Python 2 and Python 3. Would someone be able to apply this patch and use it to build

Re: [GSoC 2020]: Need help in writing sed alternative in Python for RSB recipes

2020-08-15 Thread Mritunjay Sharma
On Sat, Aug 15, 2020 at 7:42 PM Mritunjay Sharma < mritunjaysharma...@gmail.com> wrote: > [Update]: I have built a workable python cli package known as 'pycli' > which works as an alternative for 'sed'. > > I made the following changes in the config file: > > diff --git

Re: [GSoC 2020]: Need help in writing sed alternative in Python for RSB recipes

2020-08-15 Thread Mritunjay Sharma
[Update]: I have built a workable python cli package known as 'pycli' which works as an alternative for 'sed'. I made the following changes in the config file: diff --git a/source-builder/config/epics-7-1.cfg b/source-builder/config/epics-7-1.cfg index f51c658..6408534 100644 ---

Re: Context switching through an ISR in RTEMS

2020-08-15 Thread Gedare Bloom
On Sat, Aug 15, 2020 at 6:26 AM Utkarsh Rai wrote: > > > On Thu, Aug 13, 2020 at 5:10 AM Utkarsh Rai wrote: >> >> Thanks, I'll check them out. >> >> On Thu, Aug 13, 2020 at 12:56 AM Gedare Bloom wrote: >>> >>> On Wed, Aug 12, 2020 at 11:33 AM Utkarsh Rai >>> wrote: >>> > >>> > Hello, >>> > I

Re: Need help in figuring out why gdb gives different value of a variable in callee vs caller context

2020-08-15 Thread Gedare Bloom
On Sat, Aug 15, 2020 at 3:15 AM Richi Dubey wrote: > > Hi, > > With reference to the code (github link), it aims to check if the Affinty of > a node is set to 0 by calling the function _Processor_mask_Is_zero. > > While debugging with gdb, I can see using 'p' command that the variable is >

Re: Context switching through an ISR in RTEMS

2020-08-15 Thread Utkarsh Rai
On Thu, Aug 13, 2020 at 5:10 AM Utkarsh Rai wrote: > Thanks, I'll check them out. > > On Thu, Aug 13, 2020 at 12:56 AM Gedare Bloom wrote: > >> On Wed, Aug 12, 2020 at 11:33 AM Utkarsh Rai >> wrote: >> > >> > Hello, >> > I have been testing my code for thread stack isolation against various >>

Need help in figuring out why gdb gives different value of a variable in callee vs caller context

2020-08-15 Thread Richi Dubey
Hi, With reference to the code (github link ), it aims to check if the Affinty of a node is set to 0 by calling the function _Processor_mask_Is_zero. While debugging with

Re: What happens during boot time in terms of scheduling?

2020-08-15 Thread Richi Dubey
Great quote. Yeah, I'll learn about it. Anything becomes simple once you spend enough time on it. On Sat, Aug 15, 2020 at 4:34 AM Joel Sherrill wrote: > > > On Fri, Aug 14, 2020 at 10:51 AM Richi Dubey wrote: > >> My god. There's so much that a bachelor's degree does not teach. >> > > This