Re: RTEMS Source Builder OpenBSD support.

2015-06-21 Thread Chris Johns
On 22/06/2015 4:37 am, Karel Gardas wrote: > > attach is git patch which provides basic OpenBSD support to the RTEMS > source builder. Thanks. I pushed it then reverted it when I notice it has a GPL license. I have changed the solaris license and pushed that. I hope this is not an issue. The RSB

Re: multiple definition of __getreent

2015-06-21 Thread Chris Johns
On 22/06/2015 3:24 am, Sujay Raj wrote: > @Chris , I used 'target_link_libraries' in mk_bin/CMakeLists.txt to > link libc.a and libbsd.a to the monkey-bin target I think touching anything in Cmake with the hack around we have using is only going to cause issues. We are currently working around cm

Re: RTEMS GPIO API

2015-06-21 Thread Gedare Bloom
On Sun, Jun 21, 2015 at 7:04 PM, André Marques wrote: > On 16-06-2015 17:54, Gedare Bloom wrote: >> >> On Tue, Jun 16, 2015 at 8:14 AM, André Marques >> wrote: >>> >>> Hello , >>> >>> Thank you for the responses. Sorry for the late response and lengthy >>> mail. >>> >>> At this point the features

Re: RTEMS Source Builder newlib/iconv issues on OpenBSD/Solaris

2015-06-21 Thread Gedare Bloom
On Sun, Jun 21, 2015 at 4:30 PM, Karel Gardas wrote: > > Hello, > > on both Solaris 11 and OpenBSD 5.7 I do have an issue with source builder > which fails on newlib compilation. This shows as: > > checking for sparc-rtems4.11-ar... sparc-rtems4.11-ar > checking for sparc-rtems4.11-ranlib... sparc

Re: RTEMS GPIO API

2015-06-21 Thread André Marques
On 16-06-2015 17:54, Gedare Bloom wrote: On Tue, Jun 16, 2015 at 8:14 AM, André Marques wrote: Hello , Thank you for the responses. Sorry for the late response and lengthy mail. At this point the features mentioned in the blog post are almost done in the code (apart from some details). There

RTEMS Source Builder newlib/iconv issues on OpenBSD/Solaris

2015-06-21 Thread Karel Gardas
Hello, on both Solaris 11 and OpenBSD 5.7 I do have an issue with source builder which fails on newlib compilation. This shows as: checking for sparc-rtems4.11-ar... sparc-rtems4.11-ar checking for sparc-rtems4.11-ranlib... sparc-rtems4.11-ranlib checking for sparc-rtems4.11-readelf... sparc-

Re: GSoC 2015: Raspberry Pi 2 Support

2015-06-21 Thread Rohini Kulkarni
:) There is very little code that had to be added. I need to clean the code and add conditional call for Pi 2. Then I would be ready to submit a patch. On 22 Jun 2015 00:52, "Gedare Bloom" wrote: > On Sun, Jun 21, 2015 at 3:04 PM, Rohini Kulkarni > wrote: > > I missed mentioning the number of d

Re: GSoC 2015: Raspberry Pi 2 Support

2015-06-21 Thread Gedare Bloom
On Sun, Jun 21, 2015 at 3:04 PM, Rohini Kulkarni wrote: > I missed mentioning the number of dhrystones in the previous mail. > > Originally it was 1 million. > The new number of dhrystones I executed is 100 million. > The next thing to do is to figure out what changes are contributing to the perfo

Re: GSoC 2015: Raspberry Pi 2 Support

2015-06-21 Thread Gedare Bloom
On Sun, Jun 21, 2015 at 11:02 AM, Rohini Kulkarni wrote: > Hello, > > Are these the relevant functions from > ~/rtems/cpukit/score/cpu/arm/rtems/score/cpu.h? > _CPU_SMP_Get_current_processor() > _CPU_SMP_Send_interrupt() > _CPU_SMP_Processor_event_broadcast() > _CPU_SMP_Processor_event_receive() >

Re: GSoC 2015: Raspberry Pi 2 Support

2015-06-21 Thread Rohini Kulkarni
I missed mentioning the number of dhrystones in the previous mail. Originally it was 1 million. The new number of dhrystones I executed is 100 million. On Mon, Jun 22, 2015 at 12:29 AM, Rohini Kulkarni wrote: > Hi all, > > I have managed to get a significant performance improvement with some >

Re: GSoC 2015: Raspberry Pi 2 Support

2015-06-21 Thread Rohini Kulkarni
Hi all, I have managed to get a significant performance improvement with some changes in configurations. The measured time was for dhrystones reduced from 12 to "too small to be measured " For dhrystones the time was 0.4. The number of dhrystones per second increased from approximately 8 to

RTEMS Source Builder OpenBSD support.

2015-06-21 Thread Karel Gardas
Hello, attach is git patch which provides basic OpenBSD support to the RTEMS source builder. The only issue so far (and I've not got that far) is that rtems tools, precisely libelf is broken and compilation fails because of it with: [ 7/235] Compiling rtemstoolkit/elftoolchain/libelf/elf_e

Re: multiple definition of __getreent

2015-06-21 Thread Joel Sherrill
Another guess. Is there a "ld -r" in the build procedure? A partial linking. On June 21, 2015 12:49:23 PM CDT, Sujay Raj wrote: >I am updating my github repo after cleaning the code, for you all to >verify. I will drop a mail when its ready. > >Regards, > >Sujay Raj > > > > > >On Sun, Jun 21, 20

Re: multiple definition of __getreent

2015-06-21 Thread Sujay Raj
I am updating my github repo after cleaning the code, for you all to verify. I will drop a mail when its ready. Regards, Sujay Raj On Sun, Jun 21, 2015 at 10:54 PM, Sujay Raj wrote: > @Chris , I used 'target_link_libraries' in mk_bin/CMakeLists.txt to link > libc.a and libbsd.a to the monkey-

Re: multiple definition of __getreent

2015-06-21 Thread Sujay Raj
@Chris , I used 'target_link_libraries' in mk_bin/CMakeLists.txt to link libc.a and libbsd.a to the monkey-bin target @Joel, removing -O0 doesn't work too. I needed libc for three function , initgroups, timegm, and sendfile. Today I figured that monkey can function without 'initgroups' , if it

Re: GSoC 2015: Raspberry Pi 2 Support

2015-06-21 Thread Rohini Kulkarni
Hello, Are these the relevant functions from ~/rtems/cpukit/score/cpu/arm/rtems/score/cpu.h? _CPU_SMP_Get_current_processor() _CPU_SMP_Send_interrupt() _CPU_SMP_Processor_event_broadcast() _CPU_SMP_Processor_event_receive() I am unable to understand how ~/rtems/cpukit/score/cpu/no_cpu/rtems/score

GSoC 2015 RPi USB Support

2015-06-21 Thread Yurii Shevtsov
Hello) Now I have apps from libbsd testsuite running. But DWC OTG driver doesn't loads. I added this lines to init01/test_main.c: +SYSINIT_NEED_USB_CORE; +SYSINIT_DRIVER_REFERENCE(bcm283x_dwcotg, nexus); (I know it's bad hardcode) If I run it. I get only this: nexus0: devctl: +nexus0 at o

rtems-libbsd sample testsuite explanation

2015-06-21 Thread ragu nath
Hi All, I am porting ethernet driver for Beaglebone black from FreeBSD. I would like to know how to execute the following test cases. I would like to know how to execute the test? what is the expected result? any setup that needs to be done etc. 1. arphole 2. foobarclient 3. foobarserver 4. medi

Re: GSoC 2015: Raspberry Pi 2 Support

2015-06-21 Thread Sebastian Huber
Hello Rohini, the CPU functions relevant for SMP are documented in the no_cpu/cpu.h file. - Am 20. Jun 2015 um 22:02 schrieb Rohini Kulkarni : > Hi, > I have added an SMP related post to my blog to define where exactly in the > code > I need to work. Some feedback to indicate if I am id