GSoC: Porting OFW to RTEMS

2020-05-25 Thread Niteesh G. S.
Hello, I have completed the porting of the OFW code from FreeBSD to RTEMS. I do acknowledge the fact that we haven't decided on the directory for files to be placed in. The previous conversation had stopped quite a while ago. Christian suggested I work on the patch since that would also start the

Re: Help on how to configure for user-defined memory protection support (GSoC 2020)

2020-05-25 Thread Utkarsh Rai
On Fri, May 22, 2020, at 10:59 AM Gedare Bloom wrote: > > This means that our low-level design for providing thread stack > protection may look something like this:- > > > > 1. For MPU based processors, the number of protected stacks will depend > on the number of protection domains i.e. for MPU

Re: Need help to execute/debug smpschededf02.exe on leon3

2020-05-25 Thread Richi Dubey
On executing run again on gdb, I am getting the following error: 0x in ?? () (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y ../../gdb-9.1/gdb/thread.c:95: internal-error: thread_info* inferior_thread(): Assertion `tp' failed. A proble

Re: Help on how to configure for user-defined memory protection support (GSoC 2020)

2020-05-25 Thread Gedare Bloom
On Mon, May 25, 2020 at 5:39 AM Utkarsh Rai wrote: > > > On Fri, May 22, 2020, at 10:59 AM Gedare Bloom wrote: >> >> > This means that our low-level design for providing thread stack >> > protection may look something like this:- >> > >> > 1. For MPU based processors, the number of protected st

Re: Need help to execute/debug smpschededf02.exe on leon3

2020-05-25 Thread Sebastian Huber
On 25/05/2020 16:30, Richi Dubey wrote: When I am executing smpschededf02.exe on my leon3 bsp running on sparc5 with sparc-rtems5-sis with -m 4 -leon3 option, it fails to execute properly. I have built leon3 with --enable-smp option and I am guessing the execution fails because I don not see a

Fenv source for SPARC V7/8

2020-05-25 Thread Eshan Dhawan
Hello, During proposal framing period I found a few sources for adding fenv support for sparc to newlib. At that time NetBSD was thought to be a good source from overview. https://github.com/NetBSD/src/blob/trunk/lib/libm/arch Can you all look into it and tell if it would work? Else I would explor

Re: Need help to execute/debug smpschededf02.exe on leon3

2020-05-25 Thread Jiri Gaisler
On 5/25/20 4:30 PM, Richi Dubey wrote: > Hii everyone, > > When I am executing smpschededf02.exe on my leon3 bsp running on > sparc5 with sparc-rtems5-sis with -m 4 -leon3 option, it fails to > execute properly. > > I have built leon3 with --enable-smp option and I am guessing the > execution fa

adding fenv support for powerpc

2020-05-25 Thread Eshan Dhawan
Hello everyone, I have tried to add fenv support to newlib. I looked into various implementations like FreeBSD, NetBSD etc for comparison and all have support only for hard float. So I added it from FreeBSD. Link to github branch : https://github.com/eshandhawan51/newlib-cygwin/tree/ppc_fenv_suppor