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

2020-11-02 Thread Christian Mauderer
Hello Niteesh, On 03/11/2020 03:42, Niteesh G. S. wrote: > Hello Christian, > > On Tue, Nov 3, 2020 at 12:43 AM Christian Mauderer > wrote: > > Hello Niteesh, > > On 02/11/2020 18:06, Niteesh G. S. wrote: > > ping. > > Yes, of course you are right th

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

2020-11-02 Thread Christian Mauderer
Hello Niteesh, On 02/11/2020 18:06, Niteesh G. S. wrote: > ping. Yes, of course you are right that it would be time to integrate it. The nasty part why I haven't started to do something into that direction is that we currently still have the old build system and the new in parallel. But I think w

[PATCH] rtems-bsps: Use build specification items

2020-11-02 Thread Sebastian Huber
Close #4123. --- rtems-bsps | 31 ++- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/rtems-bsps b/rtems-bsps index 574ba1aad4..8f3a887b9d 100755 --- a/rtems-bsps +++ b/rtems-bsps @@ -32,11 +32,18 @@ from __future__ import print_function import argparse

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

2020-11-02 Thread Niteesh G. S.
ping. On Thu, Sep 24, 2020 at 9:00 AM Niteesh G. S. wrote: > Hello, > > On Sat, Sep 19, 2020 at 4:13 PM Christian Mauderer > wrote: > >> Hello Niteesh, >> >> sorry for adding another delay: I think the new build system needs a bit >> of time to settle. As soon as there are some more PASS in the

[PATCH] libtests/dl06: Add -lm

2020-11-02 Thread Sebastian Huber
There is probably something wrong with this test program. If it is compiled without function/data sections, no optimization, and no linker garbage collection, then there is an undefined reference to atan2() and tan(). Fix this issue by adding -lm. --- spec/build/testsuites/libtests/dl06.yml | 3

How does RTEMS decide which process to execute next on calling rtems_task_exit

2020-11-02 Thread Richi Dubey
Hi, While debugging sp16.exe, when Task_1 calls rtems_task_wake_after, following the stack trace would lead us to the scheduler code that makes a decision in selecting the next thread to execute. rtems_task_wake_after -> _Thread_Yield -> _Scheduler_Yield -> *scheduler->Operations.yield. But I tri

Re: How does context switching work?

2020-11-02 Thread Richi Dubey
Thanks a lot for your reply. But that code is okay because the floating point unit is not used during > that sequence. it is untouched and up to a point it doesn't matter when the > floating point unit is restored as long as it's before the thread needs it. > And RTEMS should not be using floating

Re: How does context switching work?

2020-11-02 Thread Richi Dubey
Hi Mr. Dörfler, Thanks for your reply. When the first task is reactivated, it leaves the contextswitch function. > Therefore all the code around the context switch function handles the same > task it was called for. When I am debugging sp16.exe,after TA1 calls task_wake_after, it calls the _Cont

Re: Problems compiling rtems-libbsd

2020-11-02 Thread Jiri Gaisler
On 11/2/20 1:37 AM, Sebastian Huber wrote: Hello Jiri, it builds for me. I guess you installed the BSP before with RTEMS_NETWORKING == True and then again with RTEMS_NETWORKING == False. Please remove the BSP installation and

Re: Fwd: Build Linux: FAILED 6/rtems-aarch64 on x86_64-linux-gnu (aarch64-rtems6-gcc-a78cd75-newlib-fcaaf40-x86_64-linux-gnu-1)

2020-11-02 Thread Sebastian Huber
On 31/10/2020 16:25, Joel Sherrill wrote: FYI failed on Centos and Ubuntu. I am not seeing logs posted from FreeBSD but I thought I started one there. Not sure there is much to do beyond noting and reporting I updated the RSB and this version builds on FreeBSD 12.1. -- Sebastian Huber, embed