Re: [rtems-net-legacy PATCH] bsd: Add iface calls to help user manage the iface state

2023-04-14 Thread Chris Johns
On 15/4/2023 12:14 am, Gedare Bloom wrote: > two nits below Thanks for the review. I appreciate you doing it. I will clean these up and push the result. Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: [rtems-net-legacy PATCH] bsd: Add iface calls to help user manage the iface state

2023-04-14 Thread Gedare Bloom
...). In fact it is a bit safer to do this way. > + int s; > + int rc; > + > + *state = false; > + > + rc = rtems_bsd_iface_get(name, &iface); > + if (rc < 0) { > + return -1; > + } > + > + s = socket(if

[rtems-net-legacy PATCH] bsd: Add iface calls to help user manage the iface state

2023-04-12 Thread chrisj
ate: socket ioctl failed: %s\n", strerror(errno)); + } + return -1; + } + + if ((ifmr.ifm_status & IFM_AVALID) != 0) { + *state = (ifmr.ifm_status & IFM_ACTIVE) != 0; + } + + return 0; +} diff --git a/testsuites/wscript b/tests

Re: Help regarding Building x86_64 BSP

2023-03-20 Thread Frank Kühndel
12.1.0, Python 3.10.6) x86_64 : OK Your fix works perfectly. All errors are gone. Thanks for your time and effort to fix the failing builds. Greetings Frank On 3/19/23 23:18, Karel Gardas wrote: Subject: Re: Help regarding Building x86_64 BSP From: Karel Gardas Date: 3/19/23, 23:18 To: Frank

Re: Help regarding Building x86_64 BSP

2023-03-19 Thread Karel Gardas
On 3/8/23 11:08, Frank Kühndel wrote: The build failures all happen when `building: grub2-2.06-x86_64-linux-gnu-1` which is the last build step. There are several similar errors. These are two of them taken from the build log: cc1: all warnings being treated as errors util/mkimage.c: In functi

Help for GSoC proposal

2023-03-14 Thread Hardik Sethi
Hey there, I am thinking of taking #4628 for adding SATA support in libbsd for RTEMS as my GSoC 2023 Project. I have already done the Hello World patch and sent the screenshot to gedare and DrRTEMS. This is my first time in GSoC so it would be a great help if someone could guide me. Thanks

Re: Help regarding Building x86_64 BSP

2023-03-13 Thread Frank Kühndel
Hello Karel, On 3/12/23 13:03, Karel Gardas wrote: On 3/8/23 11:08, Frank Kühndel wrote: Hello, On 3/8/23 01:42, Joel Sherrill wrote: Subject: Re: Help regarding Building x86_64 BSP From: Joel Sherrill Date: 3/8/23, 01:42 To: Karel Gardas CC: "rtems-de...@rtems.org" Did you

Re: Help regarding Building x86_64 BSP

2023-03-12 Thread Karel Gardas
On 3/8/23 11:08, Frank Kühndel wrote: Hello, On 3/8/23 01:42, Joel Sherrill wrote: Subject: Re: Help regarding Building x86_64 BSP From: Joel Sherrill Date: 3/8/23, 01:42 To: Karel Gardas CC: "rtems-de...@rtems.org" Did you build the x86_64 tools and qemu using the RTEMS Sour

Re: Help regarding Building x86_64 BSP

2023-03-08 Thread Frank Kühndel
Hello, On 3/8/23 01:42, Joel Sherrill wrote: Subject: Re: Help regarding Building x86_64 BSP From: Joel Sherrill Date: 3/8/23, 01:42 To: Karel Gardas CC: "rtems-de...@rtems.org" Did you build the x86_64 tools and qemu using the RTEMS Source Builder? The only information I can

Re: Help regarding Building x86_64 BSP

2023-03-07 Thread Karel Gardas
On 3/8/23 01:42, Joel Sherrill wrote: Did you build the x86_64 tools and qemu using the RTEMS Source Builder? Honestly, I do not remember, this is more than year old, but since this is in 6-tools directory, in fact in two incarnation, I would bet this was done by RSB: $ find . -name 'edk2*'

Re: Help regarding Building x86_64 BSP

2023-03-07 Thread Joel Sherrill
Did you build the x86_64 tools and qemu using the RTEMS Source Builder? On Tue, Mar 7, 2023, 11:39 AM Karel Gardas wrote: > On 3/7/23 19:24, Karel Gardas wrote: > > On 3/7/23 15:05, Siddharth Khattar wrote: > >> Hello all, > >> So I was aiming to make a project to improve the amd64 BSP for RTEMS

Re: Help regarding Building x86_64 BSP

2023-03-07 Thread Karel Gardas
On 3/7/23 19:24, Karel Gardas wrote: On 3/7/23 15:05, Siddharth Khattar wrote: Hello all, So I was aiming to make a project to improve the amd64 BSP for RTEMS (modify it according to ACPI standards along with other stuff) but first I would need to build it. Unfortunately there was no way to b

Re: Help regarding Building x86_64 BSP

2023-03-07 Thread Karel Gardas
On 3/7/23 15:05, Siddharth Khattar wrote: Hello all, So I was aiming to make a project to improve the amd64 BSP for RTEMS (modify it according to ACPI standards along with other stuff) but first I would need to build it. Unfortunately there was no way to build it natively within RTEMS source.

Help regarding Building x86_64 BSP

2023-03-07 Thread Siddharth Khattar
Hello all, So I was aiming to make a project to improve the amd64 BSP for RTEMS (modify it according to ACPI standards along with other stuff) but first I would need to build it. Unfortunately there was no way to build it natively within RTEMS source. So, I needed to install QEMU and had to build t

6.1 Release Status, Outstanding Tickets, and Help Wanted

2023-02-10 Thread Joel Sherrill
Hi There are currently 33 tickets targeting 6.1 which is way down from the 100+ we had before Christmas. But we need more/all resolved in order to get 6.1 out in March. I think some are resolved and others are likely not going to happen before March. Please review https://devel.rtems.org/mileston

Re: [PATCH] score: Help static analysis

2023-01-28 Thread Joel Sherrill
ait_nodes() which may > help a static analyzer. Use a do/while loop since we have at least one > scheduler. > > Update #4832. > --- > cpukit/score/src/threadinitialize.c | 7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/cpukit/score/src/thr

[PATCH] score: Help static analysis

2023-01-28 Thread Sebastian Huber
Add an assert to _Thread_Initialize_scheduler_and_wait_nodes() which may help a static analyzer. Use a do/while loop since we have at least one scheduler. Update #4832. --- cpukit/score/src/threadinitialize.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cpukit

Re: [GSoC] Help needed for the continuation of project RPi4B

2022-07-11 Thread Alan Cudmore
2022 at 3:28 PM Joel Sherrill wrote: > > > On Mon, Jul 11, 2022 at 11:13 AM Noor Aman wrote: > >> Hello, I wanted some help on my project and what do I need to do next. >> Here is a summary of what I have done so far. >> >> TESTING >> - Tested

Re: [GSoC] Help needed for the continuation of project RPi4B

2022-07-11 Thread Joel Sherrill
On Mon, Jul 11, 2022 at 11:13 AM Noor Aman wrote: > Hello, I wanted some help on my project and what do I need to do next. > Here is a summary of what I have done so far. > > TESTING > - Tested bare-metal from https://rpi4os.com, worked good > - (Suggested by Alan) T

[GSoC] Help needed for the continuation of project RPi4B

2022-07-11 Thread Noor Aman
Hello, I wanted some help on my project and what do I need to do next. Here is a summary of what I have done so far. TESTING - Tested bare-metal from https://rpi4os.com, worked good - (Suggested by Alan) Tested VxWorks from https://www.windriver.com/products/vxworks, it worked fine too

[PATCH 24/27] score: Rework ask for help requests

2021-11-15 Thread Sebastian Huber
Process ask for help requests on the current processor. This avoids using inter-processor interrupts to make the system behaviour a bit more predictable. Update #4531. --- cpukit/include/rtems/score/schedulerimpl.h| 24 cpukit/include/rtems/score/schedulersmpimpl.h | 113

RE: Help with RTEMS Tester Results for uC5282

2021-07-20 Thread gerberhe11
ms.org Subject: Re: Help with RTEMS Tester Results for uC5282 On Tue, Jul 20, 2021, 12:22 AM Sebastian Huber mailto:sebastian.hu...@embedded-brains.de> > wrote: Hello, On 20/07/2021 00:43, gerberh...@gmail.com <mailto:gerberh...@gmail.com> wrote: > Dr. Bloom mentioned that some o

Re: Help with RTEMS Tester Results for uC5282

2021-07-20 Thread Joel Sherrill
On Tue, Jul 20, 2021, 12:22 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > Hello, > > On 20/07/2021 00:43, gerberh...@gmail.com wrote: > > Dr. Bloom mentioned that some of these results could likely be due to > > flawed TLS implementation of m68k. > > this could be also an issue

Re: Help with RTEMS Tester Results for uC5282

2021-07-19 Thread Sebastian Huber
Hello, On 20/07/2021 00:43, gerberh...@gmail.com wrote: Dr. Bloom mentioned that some of these results could likely be due to flawed TLS implementation of m68k. this could be also an issue with the linker command file. If I can run the test myself on Qemu I could try to debug the sptls02. -

Re: Help with RTEMS Tester Results for uC5282

2021-07-19 Thread Joel Sherrill
On Mon, Jul 19, 2021, 5:43 PM wrote: > Hello all, > > > > I’ve been working on getting support into Qemu for the uC5282 board > recently, and today got the rtems-test tool running with this Qemu > emulation for that board. The results with the first run of the full test > suite since the emulatio

Help with RTEMS Tester Results for uC5282

2021-07-19 Thread gerberhe11
Hello all, I've been working on getting support into Qemu for the uC5282 board recently, and today got the rtems-test tool running with this Qemu emulation for that board. The results with the first run of the full test suite since the emulation has been operational appears very promising, whic

Re: code review: help implementing clock_montonic

2021-06-08 Thread zack_on_the_speed_chanel
hello, I used rtems_timespec_subtract to do all the arithmetic, I think that I have addressed the thing you wanted me to fix. Should I send a patch for you to look at? Zack Sent with ProtonMail Secure Email. ‐‐‐ Original Message ‐‐‐ On Tuesday, June 8th, 2021 at 4:34 PM, Gedare Bloo

Re: code review: help implementing clock_montonic

2021-06-08 Thread zack_on_the_speed_chanel
ping Sent with ProtonMail Secure Email. ‐‐‐ Original Message ‐‐‐ On Saturday, May 15th, 2021 at 9:22 PM, zack_on_the_speed_chanel wrote: > Use helper functions in rtems/timespec.h or score/timespec.h > > > (depending where you implement your code, in this case, you probably > > > > u

Re: code review: help implementing clock_montonic

2021-06-08 Thread Gedare Bloom
ppy with it and/or have specific questions to ask related to your code, we need to be able to see the code to help. > Zack > > Sent with ProtonMail Secure Email. > > ‐‐‐ Original Message ‐‐‐ > > On Tuesday, June 8th, 2021 at 4:34 PM, Gedare Bloom wrote: > > > At

Re: code review: help implementing clock_montonic

2021-06-08 Thread Gedare Bloom
At this point, we probably need to see some more code. I can't piece together what you've done from the scattered emails here. Hopefully, the use of the helper methods fixes the previous concern I had. On Tue, Jun 8, 2021 at 9:20 AM zack_on_the_speed_chanel wrote: > > ping > > Sent with ProtonMa

Re: code review: help implementing clock_montonic

2021-05-15 Thread zack_on_the_speed_chanel
Use helper functions in rtems/timespec.h or score/timespec.h > (depending where you implement your code, in this case, you probably > use the score services). I did it using rtems subtract function. rtems_timespec_subtract (now, expire, result); where now expire and result are all timespec

Re: code review: help implementing clock_montonic

2021-05-13 Thread Gedare Bloom
On Wed, May 12, 2021 at 2:42 PM zack_on_the_speed_chanel wrote: > > > This ticket mostly references the need for a test. Have you tried to > > write a test for the missing functionality? > > > How I made a test for it was to create the timer using timer_create() . It > also said to use a previous

Re: code review: help implementing clock_montonic

2021-05-12 Thread zack_on_the_speed_chanel
> This ticket mostly references the need for a test. Have you tried to > write a test for the missing functionality? > How I made a test for it was to create the timer using timer_create() . It also said to use a previous test with timer_realtime and i tested it with sometime similar to PSXtimer

Re: code review: help implementing clock_montonic

2021-05-10 Thread Gedare Bloom
On Fri, May 7, 2021 at 12:53 PM zack_on_the_speed_chanel wrote: > > hello, > > Currenttly i'm trying to implement the clock_monotonic which was part of > ticket #3889. So far these are the changes are as follows > This ticket mostly references the need for a test. Have you tried to write a test

code review: help implementing clock_montonic

2021-05-07 Thread zack_on_the_speed_chanel
hello, Currenttly i'm trying to implement the clock_monotonic which was part of ticket #3889. So far these are the changes are as follows ptimer->clock_type= &clock_id; in the timer create i added a field for the timer id and saved it when the timer was made. Then in getttime I used the appropr

Re: Need help in deciding GSoC project also want to know project Scope

2021-03-03 Thread Gedare Bloom
On Tue, Mar 2, 2021 at 4:36 PM Prateek Pardeshi wrote: > > Hi Gedare, > > On Tue, 02 Mar 2021 22:19:26 +0530 Gedare Bloom wrote > > > > Hi Prateek, > > > > On Mon, Mar 1, 2021 at 10:31 PM Prateek Pardeshi > wrote: > > > > > > Hi everyone, > > > I have decided following projects

Re: Need help in deciding GSoC project also want to know project Scope

2021-03-02 Thread Prateek Pardeshi
Hi Gedare, On Tue, 02 Mar 2021 22:19:26 +0530 Gedare Bloom wrote > Hi Prateek, > > On Mon, Mar 1, 2021 at 10:31 PM Prateek Pardeshi > wrote: > > > > Hi everyone, > > I have decided following projects to work on this Summer. Please let me > > know about the scope of th

Re: Need help in deciding GSoC project also want to know project Scope

2021-03-02 Thread Gedare Bloom
Hi Prateek, On Mon, Mar 1, 2021 at 10:31 PM Prateek Pardeshi wrote: > > Hi everyone, > I have decided following projects to work on this Summer. Please let me know > about the scope of the project, whether it's feasible to work during GSoC. > > > 1. https://devel.rtems.org/wiki/Developer/Project

Re: Need help in deciding GSoC project also want to know project Scope

2021-03-02 Thread Prateek Pardeshi
Hi Sebastian, Thanks for your suggestion :)  Regards, Prateek Pardeshi  On Tue, 02 Mar 2021 12:47:41 +0530 Sebastian Huber wrote Hello Prateek Pardeshi, an interesting LLVM related project could be trying out MULL with RTEMS. https://github.com/mull-project/mull I had o

Need help in deciding GSoC project also want to know project Scope

2021-03-02 Thread Prateek Pardeshi
Hi everyone,  I have decided following projects to work on this Summer. Please let me know about the scope of the project, whether it's feasible to work during GSoC.  1. https://devel.rtems.org/wiki/Developer/Projects/Open/UsingClang:    2. Ticket 4182: https://devel.rtems.org/ticket/4182 Rea

Re: Need help in deciding GSoC project also want to know project Scope

2021-03-01 Thread Sebastian Huber
Hello Prateek Pardeshi, an interesting LLVM related project could be trying out MULL with RTEMS. https://github.com/mull-project/mull I had only a brief look at it and I am not sure if it is feasible or makes sense for RTEMS. Maybe someone on the mailing list has already experience with mutat

Re: Help in installing rtems

2021-02-02 Thread Gedare Bloom
./waf: No such file or directory" > I am thinking that I may have done wrong placements of folders while doing > setup because I did not much understand the prefix concept. > So if anyone can help me about this or give any direction it will be very > helpful. >

Help in installing rtems

2021-02-02 Thread Rohan kumar
ot;Build a BSP" I am stuck. Actually it's giving the error "bash: ./waf: No such file or directory" I am thinking that I may have done wrong placements of folders while doing setup because I did not much understand the prefix concept. So if anyone can help me about this or gi

Re: Need help debugging sp16.exe

2020-10-16 Thread Gedare Bloom
y. They also may spend a long time when >> > testing RTEMS executing the idle thread waiting for time to pass. Fast >> > idle just says if a clock tick occurs while the idle thread is running, >> > call clock tick over and over until another thread is unblocked and >

Re: Need help debugging sp16.exe

2020-10-15 Thread Richi Dubey
hen > that scheduler makes the decision you are missing. There has to be one of > the scheduler hooks that is making a different decision. Run the test side > by side with two different schedulers. Alternate forward motion in the two > and compare the behaviour. > >> > >>

Re: Need help debugging sp16.exe

2020-10-13 Thread Gedare Bloom
s to be one of the >>> scheduler hooks that is making a different decision. Run the test side by >>> side with two different schedulers. Alternate forward motion in the two and >>> compare the behaviour. >> >> This is genius. Thanks a lot. I'm gonna work o

Re: Need help debugging sp16.exe

2020-10-12 Thread Joel Sherrill
chedulers. Alternate forward motion in the two >> and compare the behaviour. > > This is genius. Thanks a lot. I'm gonna work on this. > > + Adding trading might help but is probably more trouble to set up than >> just comparing good and bad schedulers in parallel. >

Re: Need help debugging sp16.exe

2020-10-12 Thread Richi Dubey
behaviour. This is genius. Thanks a lot. I'm gonna work on this. + Adding trading might help but is probably more trouble to set up than > just comparing good and bad schedulers in parallel. What's trading? + Look at what every failing test is doing. May be a common issue and one &

Re: Need help debugging sp16.exe

2020-10-10 Thread Joel Sherrill
ify when that scheduler makes the decision you are missing. There has to be one of the scheduler hooks that is making a different decision. Run the test side by side with two different schedulers. Alternate forward motion in the two and compare the behaviour. + Adding trading might help but is pr

Re: Need help debugging sp16.exe

2020-10-10 Thread Richi Dubey
Hi Mr. Huber, Thanks for checking in. I suggested to enable your new scheduler implementation as the default > to check if it is in line with the standard schedulers. I would first > get some high level data. Select a BSP with good test results on a > simulator (for example sparc/leon3 or arm/rea

Re: Need help debugging sp16.exe

2020-10-10 Thread Sebastian Huber
Hello Richi, I suggested to enable your new scheduler implementation as the default to check if it is in line with the standard schedulers. I would first get some high level data. Select a BSP with good test results on a simulator (for example sparc/leon3 or arm/realview_pbx_a9_qemu). Run the

Re: Need help debugging sp16.exe

2020-10-09 Thread Richi Dubey
_Thread_Run_post_switch_actions( executing ); (gdb) 0x0010ec70 328 _Thread_Run_post_switch_actions( executing ); (gdb) and now an infinite loop. Before this, during the stack trace of rtems_yield by TA1, everything seemed normal and It gave control of the CPU to TA5 (Stack trace attached). What m

Re: Need help debugging sp16.exe

2020-10-09 Thread Richi Dubey
Okay, I'm gonna do that. Thanks for the help. On Thu, Oct 8, 2020 at 9:47 PM Gedare Bloom wrote: > On Thu, Oct 8, 2020 at 9:38 AM Richi Dubey wrote: > > > > Hi, > > > > I have been trying to debug sp16 for the last few days. I am using the > new Strong APA

Re: Need help debugging sp16.exe

2020-10-08 Thread Gedare Bloom
On Thu, Oct 8, 2020 at 9:38 AM Richi Dubey wrote: > > Hi, > > I have been trying to debug sp16 for the last few days. I am using the new > Strong APA scheduler we worked on during this GSoC. The scheduler fails only > for the following tests: > > sp02.exe > sp16.exe > sp30.exe > sp31.exe >

Need help debugging sp16.exe

2020-10-08 Thread Richi Dubey
Hi, I have been trying to debug sp16 for the last few days. I am using the new Strong APA scheduler we worked on during this GSoC. The scheduler fails only for the following tests: sp02.exe sp16.exe sp30.exe sp31.exe sp37.exe sp42.exe spfatal29.exe tm24.exe On executing sp16.exe, I get t

Re: Need help debugging sp02.exe run on Strong APA scheduler

2020-09-24 Thread Richi Dubey
> > Deleting a suspended thread would not require any actions on the Ready set > of threads, for example. This is exactly what I was wondering. I'll look into data structures as you suggested. Thanks. On Thu, Sep 24, 2020 at 2:57 AM Joel Sherrill wrote: > > > On Wed, Sep 23, 2020 at 11:54 AM

Re: Need help debugging sp02.exe run on Strong APA scheduler

2020-09-23 Thread Joel Sherrill
On Wed, Sep 23, 2020 at 11:54 AM Richi Dubey wrote: > Thanks for the advice. > > I feel something is going wrong when we're trying to delete a suspended > task because maybe I'm not handling the suspension/deletion of tasks > properly in my code. Do you think this might be true for my code >

Re: Need help debugging sp02.exe run on Strong APA scheduler

2020-09-23 Thread Richi Dubey
Thanks for the advice. I feel something is going wrong when we're trying to delete a suspended task because maybe I'm not handling the suspension/deletion of tasks properly in my code. Do you think this might be true for my code

Re: Need help debugging sp02.exe run on Strong APA scheduler

2020-09-22 Thread Joel Sherrill
This isn't a proper solution but a debug technique. When stepping and running result in different behavior, it is sometimes useful to run to a specific point and look at data structures for anomalies. Since TA1 never prints, I wonder if something went wrong with the data structures before INIT del

Need help debugging sp02.exe run on Strong APA scheduler

2020-09-22 Thread Richi Dubey
Hi, I've been trying to debug why sp02 keeps failing on Strong APA scheduler and it's hard for me to debug because there are different points at which the same program breaks on gdb even though this is a single processor test. I have attached the different error logs. In error.txt, we can see that

Re: [Announcement]: Developed an automating tool that can help RTEMS conform with Python coding style

2020-09-02 Thread Joel Sherrill
On Wed, Sep 2, 2020, 5:51 PM Chris Johns wrote: > On 3/9/20 7:39 am, Gedare Bloom wrote: > > On Wed, Sep 2, 2020 at 2:00 PM Mritunjay Sharma > > wrote: > >> > >> Hello everyone! > >> > >> After recently seeing the Python Development > >> guidelines for RTEMS, I found that > >> "RTEMS Tools shoul

Re: [Announcement]: Developed an automating tool that can help RTEMS conform with Python coding style

2020-09-02 Thread Chris Johns
On 3/9/20 7:39 am, Gedare Bloom wrote: > On Wed, Sep 2, 2020 at 2:00 PM Mritunjay Sharma > wrote: >> >> Hello everyone! >> >> After recently seeing the Python Development >> guidelines for RTEMS, I found that >> "RTEMS Tools should be piped through the yapf Python code >> formatter before it is co

Re: [Announcement]: Developed an automating tool that can help RTEMS conform with Python coding style

2020-09-02 Thread Gedare Bloom
Interesting concept. I think this would be more useful a bit earlier in the development pipeline though. What about as a pre-commit githook? > This action will immensely help in increasing the speed of the development > cycle of > RTEMS projects that use Python. > > I will reques

[Announcement]: Developed an automating tool that can help RTEMS conform with Python coding style

2020-09-02 Thread Mritunjay Sharma
or not and if not then it will automatically commit the changes in concerned file to make it follow the PEP 8 style guide using yapf. This action will immensely help in increasing the speed of the development cycle of RTEMS projects that use Python. I will request all of you to please have a look at the pro

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

2020-08-26 Thread Mritunjay Sharma
t after the > build in > the build tree. The names used need to match up or the RSB will not be > able to > find the installed tree to copy to the prefix. > > Note, most packages support the `DESTDIR=` make option to `make install` to > control installing to a location that

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

2020-08-25 Thread Chris Johns
On 24/8/20 9:59 am, Chris Johns wrote: > How is EPICS used in real systems? Is the production executable built by EPICS > from the EPICS source tree? Is it a set of libraries that get installed and an > application links in these libraries? Ping? Chris

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

2020-08-25 Thread Chris Johns
On 26/8/20 8:48 am, Mritunjay Sharma wrote: > First of all, Apologies for the little delay in response. I was actually a > little stuck with assignments in classes. Thanks for letting us know. You will need to make up the lost time somehow. > There's one problem although, while building using:

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

2020-08-25 Thread Mritunjay Sharma
Hello, everyone! First of all, Apologies for the little delay in response. I was actually a little stuck with assignments in classes. Thank you so much, Chris, for such a nice explanation and detailed review. It cleared a lot of things even for me. I have tried to respond to further suggestions a

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

2020-08-25 Thread Chris Johns
On 25/8/20 10:48 pm, Heinz Junkes wrote: > yes it works as described. The header file (librtemsNfs.h) is also there. > I must have done something wrong the day before yesterday. Unfortunately > I can't reproduce it anymore. Sorry for the "false alarm”. Great and no problem. > I no longer use libr

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

2020-08-25 Thread Heinz Junkes
Hallo Chris, yes it works as described. The header file (librtemsNfs.h) is also there. I must have done something wrong the day before yesterday. Unfortunately I can't reproduce it anymore. Sorry for the "false alarm”. I no longer use librtemNfs.h when using the libbsd stack. It is no longer nece

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

2020-08-24 Thread Chris Johns
On 25/8/20 12:34 am, Heinz Junkes wrote: > Thanks Chris for the explanation. It all makes sense. My pleasure. > I stumbled over the following point: > > I tested the rc-2 and followed the Quick Guide to Building. > “ > To build the tools for the ARM architecture: > > ../source-builder/sb-set-bu

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

2020-08-24 Thread Gedare Bloom
> > Customising the steps lets a project, company, who ever create a build set > > that > > targets a specific configuration for a selected board or sets of boards. A > > company, a large organisation or EPICS can also do this. We call it > > deployment. > > > >

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

2020-08-24 Thread Heinz Junkes
on or EPICS can also do this. We call it > deployment. > > As an open source project we learnt a hard lesson that supporting deployment > is > a whole project in itself. Deploy is really important but it became a > distraction from our core focus, the OS and the kernel, c

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

2020-08-23 Thread Chris Johns
On 23/8/20 8:08 am, Mritunjay Sharma wrote: > [Good news and Update]:  > > Thank you so much Chris! Your advice to search for macros using --trace solved > the problem of hard coding! > It took two complete days to figure out this beautiful thing but it is every > worth it. Well done, that looks

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

2020-08-23 Thread Chris Johns
. Deploy is really important but it became a distraction from our core focus, the OS and the kernel, consuming more and more of our resources. As a result we have focused on tools that help users do this. We also welcome commercial support services to do this for users. > Maybe I don't understand

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

2020-08-23 Thread Heinz Junkes
Hallo Mritunjay, that sounds good. But shouldn't the dependencies for the RTEMS basic installation be taken into account. Maybe I don't understand the purpose of the source-builder. But I thought that the necessary rtems-modules (compiler for architecture, libbsd, etc.) are checked and if somet

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

2020-08-22 Thread Mritunjay Sharma
[Good news and Update]: Thank you so much Chris! Your advice to search for macros using --trace solved the problem of hard coding! It took two complete days to figure out this beautiful thing but it is every worth it. Now the user has to just enter the below command and it will make things work:

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

2020-08-19 Thread Chris Johns
On 20/8/20 8:09 am, Mritunjay Sharma wrote: > [UPDATE]: Finally modified the RSB recipes to make them work with make utility > and EPICS was built successfully. Great you have had some success but there is a lot more work before it is usable. > iff --git a/source-builder/config/epics-7-1.cfg >

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

2020-08-19 Thread Chris Johns
On 19/8/20 7:17 pm, Heinz Junkes wrote: > The assumption was that Makefile.inc is present in every BSP. You can for RTEMS 5 and I suppose RTEMS 6 but after that it is not as clear. I am concerned about hidden complexity in Makefile.inc that may be exposed in a generated version in RTEMS 6 and so i

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

2020-08-19 Thread Mritunjay Sharma
t; > > > Thanks > > Mritunjay Sharma > > > > > > > Heinz > > > > > > > On 16. Aug 2020, at 12:16, Mritunjay Sharma < > mritunjaysharma...@gmail.com> wrote: > > > > > > > > > > > > > > > >

Re: Need help figuring out why ARM hits data_abort right after hitting Exception_interrupt

2020-08-19 Thread Richi Dubey
Thanks, I'll check it out. On Wed, Aug 19, 2020 at 1:53 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 19/08/2020 10:15, Richi Dubey wrote: > > > Got it. Thanks for your answer. I'm working on your suggestion. > > As an addition to the use of GDB you can also use the event

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

2020-08-19 Thread Heinz Junkes
Aug 16, 2020 at 1:12 PM Chris Johns wrote: > > > On 16/8/20 8:29 am, Mritunjay Sharma wrote: > > > > On Sun, Aug 16, 2020 at 12:15 AM Gedare Bloom > > > <mailto:ged...@rtems.org>> wrote: > > > > > > > > Hi Mritunjay, Chris: > > > > > >

Re: Need help figuring out why ARM hits data_abort right after hitting Exception_interrupt

2020-08-19 Thread Sebastian Huber
On 19/08/2020 10:15, Richi Dubey wrote: Got it. Thanks for your answer. I'm working on your suggestion. As an addition to the use of GDB you can also use the event recording in combination with -finstrument-functions: https://docs.rtems.org/branches/master/user/tracing/eventrecording.html

Re: Need help figuring out why ARM hits data_abort right after hitting Exception_interrupt

2020-08-19 Thread Richi Dubey
Got it. Thanks for your answer. I'm working on your suggestion. On Wed, Aug 19, 2020 at 12:53 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 19/08/2020 09:18, Richi Dubey wrote: > > > This mail is in continuation of > > https://lists.rtems.org/pipermail/devel/2020-August/061

Re: Need help figuring out why ARM hits data_abort right after hitting Exception_interrupt

2020-08-19 Thread Sebastian Huber
On 19/08/2020 09:18, Richi Dubey wrote: This mail is in continuation of https://lists.rtems.org/pipermail/devel/2020-August/061446.html. Right after the check_cpu_allocation test for the last action gets passed (code here

Need help figuring out why ARM hits data_abort right after hitting Exception_interrupt

2020-08-19 Thread Richi Dubey
Hi, This mail is in continuation of https://lists.rtems.org/pipermail/devel/2020-August/061446.html. Right after the check_cpu_allocation test for the last action gets passed (code here

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

2020-08-18 Thread Mritunjay Sharma
tributed standard with Python 2 and > > > > Python 3. > > > > > > > > Would someone be able to apply this patch and use it to build > epics? > > > > No, because (1) they won't have pycli available, and (2) they > don't &

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

2020-08-18 Thread Gedare Bloom
gt; > > > Would someone be able to apply this patch and use it to build epics? > > > No, because (1) they won't have pycli available, and (2) they don't > > > have a path /home/mritunjay > > > > > > > > > I think what you

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

2020-08-18 Thread Heinz Junkes
and > > Python 3. > > > > Would someone be able to apply this patch and use it to build epics? > > No, because (1) they won't have pycli available, and (2) they don't > > have a path /home/mritunjay > > > > > > I think what you

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

2020-08-16 Thread Richi Dubey
Aug 16, 2020 at 5:48 PM Richi Dubey > wrote: > >> > >> Oh, I printed the variable value too early. Thanks for your help. > >> > >> On Sat, Aug 15, 2020 at 7:24 PM Gedare Bloom wrote: > >>> > >>> On Sat, Aug 15, 2020 at 3:15 AM Richi Dubey

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

2020-08-16 Thread Gedare Bloom
s 0 then? How is this > possible? Please advise. > > On Sun, Aug 16, 2020 at 5:48 PM Richi Dubey wrote: >> >> Oh, I printed the variable value too early. Thanks for your help. >> >> On Sat, Aug 15, 2020 at 7:24 PM Gedare Bloom wrote: >>> >>

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

2020-08-16 Thread Richi Dubey
Sun, Aug 16, 2020 at 5:48 PM Richi Dubey wrote: > Oh, I printed the variable value too early. Thanks for your help. > > On Sat, Aug 15, 2020 at 7:24 PM Gedare Bloom wrote: > >> On Sat, Aug 15, 2020 at 3:15 AM Richi Dubey wrote: >> > >> > Hi, >> >

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

2020-08-16 Thread Gedare Bloom
ibuted standard with Python 2 and >> > Python 3. >> > >> > Would someone be able to apply this patch and use it to build epics? >> > No, because (1) they won't have pycli available, and (2) they don't >> > have a path /home/mr

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

2020-08-16 Thread Richi Dubey
Oh, I printed the variable value too early. Thanks for your help. On Sat, Aug 15, 2020 at 7:24 PM Gedare Bloom wrote: > 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 > Af

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

2020-08-16 Thread Mritunjay Sharma
ch and use it to build epics? > > No, because (1) they won't have pycli available, and (2) they don't > > have a path /home/mritunjay > > > > > > I think what you are saying is absolutely right. It will be really a > great help > > if Chris c

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

2020-08-16 Thread Chris Johns
;t > have a path /home/mritunjay > > > I think what you are saying is absolutely right. It will be really a great > help > if Chris can guide on what next can be done. See below. > As far as 'pycli' is concerned, I have made a couple of minor tweaks. Gave it

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

2020-08-15 Thread Mritunjay Sharma
2 and > Python 3. > > Would someone be able to apply this patch and use it to build epics? > No, because (1) they won't have pycli available, and (2) they don't > have a path /home/mritunjay > I think what you are saying is absolutely right. It will be really a great

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

2020-08-15 Thread Gedare Bloom
ased on the input received by Gedare, I have started working >>> on finding a 'sed' alternative to be used in the RSB recipes to >>> do streamline text replacements. >>> >>> I have gone through the Python Development Guidelines >>> (https://docs

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

2020-08-15 Thread Mritunjay Sharma
through the Python Development Guidelines ( >> https://docs.rtems.org/branches/master/eng/python-devel.html) >> and have installed the things suggested in this for the development >> environment. >> >> To start with the research work, I found this interesting >&

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

2020-08-15 Thread Mritunjay Sharma
ps://unix.stackexchange.com/questions/13711/differences-between-sed-on-mac-osx-and-other-standard-sed > that > gave me an idea > on how sed differs in BSD and UNIX platforms. > > I learnt about differences like: > `OS X's sed uses -E for ERE and GNU sed uses -r. -E is an alia

  1   2   3   4   >