Re: [PATCH rtems] dosfs: Fix memory leak on failed mounts.

2020-08-04 Thread Chris Johns
On 4/8/20 4:29 pm, Christian Mauderer wrote: > Thanks for all Feedback. I integrated the changes suggested by > Sebastian, cretated the tickets and pushed to 5 and master. Thank you. Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mai

Doubt in testsuite design on smp schedulers

2020-08-04 Thread Richi Dubey
Hi, I wanted to learn about how the reset function in the smpschededf02/init.c works/what it aims for. First , we set the priority of th

Re: Doubt in testsuite design on smp schedulers

2020-08-04 Thread Richi Dubey
Also, heir means something that would be executing later, after the current thread leaves cpu, right? Why is it then that we are checking against is_idle not against cpu->executing but for cpu->heir? Please let me kn

[PATCH] smpschededf02: Document reset() function

2020-08-04 Thread Sebastian Huber
--- testsuites/smptests/smpschededf02/init.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/testsuites/smptests/smpschededf02/init.c b/testsuites/smptests/smpschededf02/init.c index cd8895edd5..fae2d76bf3 100644 --- a/testsuites/smptests/smpschededf02/init.c ++

Re: Doubt in testsuite design on smp schedulers

2020-08-04 Thread Sebastian Huber
Hello Richi, please have a look at: https://lists.rtems.org/pipermail/devel/2020-August/061112.html ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: [PATCH] smpschededf02: Document reset() function

2020-08-04 Thread Richi Dubey
This helps. Thank you. On Tue, Aug 4, 2020 at 3:58 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > --- > testsuites/smptests/smpschededf02/init.c | 14 +- > 1 file changed, 13 insertions(+), 1 deletion(-) > > diff --git a/testsuites/smptests/smpschededf02/init.c > b

unused static functions

2020-08-04 Thread Aschref Ben-Thabet
Dear RTEMS developers Team, i am a new member focusing now on fixing the GCC10 warnings Compiler.this last has told that these both functions are declared but not used. In /rtems/testsuites/libtests/dl10/dl-load.c,the test file includes this both functions without further use. that can generate

legacy stack or libbsd

2020-08-04 Thread Heinz Junkes
I'm trying to figure out when compiling a third party software (EPICS), whether the RTEMS for a target bsp was created with the legacy stack or uses the libbsd stack. Unfortunately I have found some different definitions: in target.cfg : RTEMS_HAS_NETWORKING in bsp.cfg : HAS_NETWORKING in header

Re: legacy stack or libbsd

2020-08-04 Thread Joel Sherrill
On Tue, Aug 4, 2020 at 8:10 AM Heinz Junkes wrote: > I'm trying to figure out when compiling a third party software (EPICS), > whether the RTEMS for a target bsp was created with the legacy stack or > uses the libbsd stack. > > Unfortunately I have found some different definitions: > > in target.

Re: [PATCH] smpschededf02: Document reset() function

2020-08-04 Thread Sebastian Huber
On 04/08/2020 14:25, Richi Dubey wrote: This helps. Thank you. If things are still unclear, don't hesitate to ask again. Your questions are really helpful to improve the documentation. ___ devel mailing list devel@rtems.org http://lists.rtems.org/ma

Doubt in scheduler SMP function _Scheduler_SMP_Schedule_highest_ready

2020-08-04 Thread Richi Dubey
Hi, I have a quick doubt about the logic in the else part of the _Scheduler_SMP_Schedule_highest_ready function. We get

Explanation about the high level design choices of Strong APA

2020-08-04 Thread Richi Dubey
Hi, Implementing the Strong APA scheduler requires finding places to put the two most important algorithms (pages 5 and 6 from the paper ) in the current RTEMS SMP scheduler framework. I have chosen get_highest_ready and get_lowest_ready to

Re: [PATCH] smpschededf02: Document reset() function

2020-08-04 Thread Richi Dubey
Thanks. So for the code: -- for (i = 0; i < CPU_COUNT; ++i) { const Per_CPU_Control *c; const Thread_Control *h; c = _Per_CPU_Get_by_index(CPU_COUNT - 1 - i); h = c->heir; sc = r

Re: [PATCH rtems-libbsd 2/2] wscript: add uninstall command

2020-08-04 Thread Vijay Kumar Banerjee
Hi Chris, Is this patch OK to push to the master? On Thu, Jul 30, 2020 at 3:51 PM Vijay Kumar Banerjee wrote: > > --- > wscript | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/wscript b/wscript > index 3ca9478e..74fc1f48 100644 > --- a/wscript > +++ b/wscript > @@ -

Re: Doubt in scheduler SMP function _Scheduler_SMP_Schedule_highest_ready

2020-08-04 Thread Gedare Bloom
On Tue, Aug 4, 2020 at 8:14 AM Richi Dubey wrote: > > Hi, > > I have a quick doubt about the logic in the else part of the > _Scheduler_SMP_Schedule_highest_ready function. > I'll give my understanding. Only Sebastian really understands this stuff ;) > We get the action == SCHEDULER_TRY_TO_SCHED

Re: legacy stack or libbsd

2020-08-04 Thread Heinz Junkes
Because the libbsd stack does not support some things yet (e.g. ntp) I have to call different functions at rtems_init in EPICS. Therefore, when building EPICS for a target, I need to know which stack the target was built with. Viele Grüße Heinz Junkes -- Experience directly varies with equipme

Re: unused static functions

2020-08-04 Thread Gedare Bloom
Hello Aschref Ben thabet, On Tue, Aug 4, 2020 at 6:35 AM Aschref Ben-Thabet wrote: > > Dear RTEMS developers Team, > i am a new member focusing now on fixing the GCC10 warnings Compiler.this > last has told that these both functions are declared but not used. > In /rtems/testsuites/libtests/dl10

Re: unused static functions

2020-08-04 Thread Joel Sherrill
On Tue, Aug 4, 2020 at 11:12 AM Gedare Bloom wrote: > Hello Aschref Ben thabet, > > On Tue, Aug 4, 2020 at 6:35 AM Aschref Ben-Thabet > wrote: > > > > Dear RTEMS developers Team, > > i am a new member focusing now on fixing the GCC10 warnings > Compiler.this last has told that these both functio

Re: GSoC 2020: OFW Import To RTEMS License Issue

2020-08-04 Thread Niteesh G. S.
ping. On Sat, Aug 1, 2020 at 2:11 PM Niteesh G. S. wrote: > > > On Sat, Aug 1, 2020 at 1:37 AM Joel Sherrill wrote: > >> >> >> On Fri, Jul 31, 2020 at 2:16 PM Niteesh G. S. >> wrote: >> >>> Hello, >>> >>> In a recent review of these patches >>> https://lists.rtems.org/pipermail/devel/2020-Jul

Re: [PATCH RTEMS 7/7] libtests/openfirmware: Added a testsuite for openfirmware

2020-08-04 Thread Niteesh G. S.
Ping. On Sun, Aug 2, 2020 at 2:44 PM Niteesh G. S. wrote: > Hello, > > I went through some of my previous conversations to summarize the various > directories > suggested by people. Maybe this will help to come up with a conclusion. > > In my first porting commit, I placed the files under cpukit

Re: GSoC 2020: OFW Import To RTEMS License Issue

2020-08-04 Thread Christian Mauderer
I think for this one we can only hope that the original author agrees to a re-licensing. Otherwise it is only possible to add a replacement. On 04/08/2020 20:34, Niteesh G. S. wrote: > ping. > > > On Sat, Aug 1, 2020 at 2:11 PM Niteesh G. S. > wrote: > > > >

Re: [PATCH RTEMS 7/7] libtests/openfirmware: Added a testsuite for openfirmware

2020-08-04 Thread Christian Mauderer
Hello, I think the big question is: Should we make that a public API and keep it in cpukit or should we make it a BSP support code and move ti to the bsps/shared section? Sebastian and Gedare: Like Niteesh said: There have been some different directions in the past. Which one should be the target

Re: GSoC 2020: OFW Import To RTEMS License Issue

2020-08-04 Thread Gedare Bloom
On Tue, Aug 4, 2020 at 12:38 PM Christian Mauderer wrote: > > I think for this one we can only hope that the original author agrees to > a re-licensing. Otherwise it is only possible to add a replacement. > I suggest starting to make a plan for a clean room re-implementation. Ideally, one entity

[rtems-libbsd] Question how to treat necessary changes from freebsd master

2020-08-04 Thread Jan.Sommer
Hello, I have now a patchset ready which should also properly enable the e1000 driver for the master branch of rtems-libbsd. There is just a small problem: The commit the current freebsd-org submodule points to has this line in the e1000/if_em.c (https://github.com/freebsd/freebsd/blob/6b0307a

Updates of Smart India Hackathon 2020 Finale

2020-08-04 Thread Mritunjay Sharma
Hello everyone! I feel elated to share with the community that my Team 'Altruist' won the first Prize in the Grand Finale of the World's Biggest Hackathon - Smart India Hackathon 2020! We will not only be awarded with INR 100,000 but also the Government of India will help us to scale our project!

Re: Updates of Smart India Hackathon 2020 Finale

2020-08-04 Thread Eshan Dhawan
On Wed, Aug 5, 2020 at 2:18 AM Mritunjay Sharma < mritunjaysharma...@gmail.com> wrote: > Hello everyone! > > I feel elated to share with the community that my Team 'Altruist' > won the first Prize in the Grand Finale of the World's > Biggest Hackathon - Smart India Hackathon 2020! We will not > on

Re: Updates of Smart India Hackathon 2020 Finale

2020-08-04 Thread Joel Sherrill
Congratulations! That's awesome! On Tue, Aug 4, 2020 at 4:01 PM Eshan Dhawan wrote: > > > On Wed, Aug 5, 2020 at 2:18 AM Mritunjay Sharma < > mritunjaysharma...@gmail.com> wrote: > >> Hello everyone! >> >> I feel elated to share with the community that my Team 'Altruist' >> won the first Prize i

Re: Updates of Smart India Hackathon 2020 Finale

2020-08-04 Thread Chris Johns
Well done, that is a great result. On 5/8/20 8:13 am, Joel Sherrill wrote: > Congratulations! That's awesome! > > On Tue, Aug 4, 2020 at 4:01 PM Eshan Dhawan > wrote: > > > > On Wed, Aug 5, 2020 at 2:18 AM Mritunjay Sharma > mailto:mritunjaysharma...@gm

Re: unused static functions

2020-08-04 Thread Chris Johns
On 5/8/20 3:28 am, Joel Sherrill wrote: > On Tue, Aug 4, 2020 at 11:12 AM Gedare Bloom > wrote: > > Hello Aschref Ben thabet, > > On Tue, Aug 4, 2020 at 6:35 AM Aschref Ben-Thabet > > wrote: > > > > D

Re: legacy stack or libbsd

2020-08-04 Thread Chris Johns
On 5/8/20 2:04 am, Heinz Junkes wrote: > Because the libbsd stack does not support some things yet (e.g. ntp) I have PTP running on libbsd. I currently have no time (ha) to clean up the work and create a patch. It requires some extra support in the score. > I have to call different > functions

Re: legacy stack or libbsd

2020-08-04 Thread Chris Johns
On 5/8/20 10:23 am, Chris Johns wrote: > On 5/8/20 2:04 am, Heinz Junkes wrote: >> Because the libbsd stack does not support some things yet (e.g. ntp) > > I have PTP running on libbsd. I currently have no time (ha) to clean up the > work > and create a patch. It requires some extra support in t

Re: legacy stack or libbsd

2020-08-04 Thread Gedare Bloom
On Tue, Aug 4, 2020 at 6:41 PM Chris Johns wrote: > > On 5/8/20 10:23 am, Chris Johns wrote: > > On 5/8/20 2:04 am, Heinz Junkes wrote: > >> Because the libbsd stack does not support some things yet (e.g. ntp) > > > > I have PTP running on libbsd. I currently have no time (ha) to clean up the > >

Re: [PATCH] smpschededf02: Document reset() function

2020-08-04 Thread Sebastian Huber
On 04/08/2020 16:23, Richi Dubey wrote: Thanks. So for the code: --   for (i = 0; i < CPU_COUNT; ++i) {     const Per_CPU_Control *c;     const Thread_Control *h;     c = _Per_CPU_Get_by_index(CP

Re: legacy stack or libbsd

2020-08-04 Thread Chris Johns
On 5/8/20 2:13 pm, Gedare Bloom wrote: > On Tue, Aug 4, 2020 at 6:41 PM Chris Johns wrote: >> >> On 5/8/20 10:23 am, Chris Johns wrote: >>> On 5/8/20 2:04 am, Heinz Junkes wrote: Because the libbsd stack does not support some things yet (e.g. ntp) >>> >>> I have PTP running on libbsd. I curre

Re: [PATCH rtems-libbsd 2/2] wscript: add uninstall command

2020-08-04 Thread Chris Johns
On 5/8/20 1:52 am, Vijay Kumar Banerjee wrote: > Hi Chris, > > Is this patch OK to push to the master? Yes, please push. I am sorry about the slow review. Thanks Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel