Re: [PATCH 00/13] Replace mongoose with civetweb.

2016-04-22 Thread Chris Johns
On 22/04/2016 15:04, Christian Mauderer wrote:
> And yes: The patch didn't get through. I have got a replay that "Your
> message to devel awaits moderator approval". The civetweb.c file is over
> 300k and the mailing list seems to have a maximum of 256k.

The patch is 437875 bytes and is larger than the limit for the list. I
not want to change the limit.

I do not think we need to review and comment on untouched outside source.

Chris
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [PATCH 00/13] Replace mongoose with civetweb.

2016-04-22 Thread Gedare Bloom
P.S. might be worth it to open a ticket related to civetweb and
#update it from these patches.

On Thu, Apr 21, 2016 at 4:45 PM, Gedare Bloom  wrote:
> Is the plan eventually to be able to use the upstream civetweb? or to
> track it with our own copy?
>
> On Thu, Apr 21, 2016 at 4:49 AM, Christian Mauderer
>  wrote:
>> This patch series replaces the mongoose webserver by its still MIT
>> licensed fork civetweb.
>>
>> Please note that I try to get some (currently two) of the patches
>> directly into civetweb too. But I think that it might need some time and
>> adaption till they are accepted. So I thought that adding them to RTEMS
>> would still make sense as a working interim solution.
>>
>> ___
>> devel mailing list
>> devel@rtems.org
>> http://lists.rtems.org/mailman/listinfo/devel
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [PATCH 00/13] Replace mongoose with civetweb.

2016-04-22 Thread Gedare Bloom
Is the plan eventually to be able to use the upstream civetweb? or to
track it with our own copy?

On Thu, Apr 21, 2016 at 4:49 AM, Christian Mauderer
 wrote:
> This patch series replaces the mongoose webserver by its still MIT
> licensed fork civetweb.
>
> Please note that I try to get some (currently two) of the patches
> directly into civetweb too. But I think that it might need some time and
> adaption till they are accepted. So I thought that adding them to RTEMS
> would still make sense as a working interim solution.
>
> ___
> devel mailing list
> devel@rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: RKI Build Error - rtems_clock_get not available on 4.12

2016-04-22 Thread Alan Cudmore
Hi,
I’ll take a look at this soon. I built a set of 4.11 tools and the 4.11 branch 
of RTEMS, then I verified that I can still build and run the RKI image on the 
Raspberry Pi. 
Next, I’m going to tag RKI as a 4.11 branch, then try to fix it for the 
4.12/head of RTEMS. 

I should have some additions to the RKI after that. I have been writing some 
i2c device drivers for the Raspberry Pi Sense Hat ( new linux i2c API ) , and I 
was trying to get an SPI device to work on the Pi. 

Alan

> On Apr 22, 2016, at 12:35 PM, Olufowobi, Habeeb 
>  wrote:
> 
> Hi,
> 
> I applied the fix that Pavel suggested but got the error below.
> 
>  arm-rtems4.12-gcc  -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard 
> -mtune=cortex-a7  --pipe 
> -B/home/dipupo/development/rtems/kernel/builds/b-rpi/arm-rtems4.12/raspberrypi/lib
>  -specs bsp_specs -qrtems -Wall   -o 
> legacy-build/arm-rtems4.12-raspberrypi/rki.elf 
> legacy-build/arm-rtems4.12-raspberrypi/init.o 
> legacy-build/arm-rtems4.12-raspberrypi/rtems_net.o 
> legacy-build/arm-rtems4.12-raspberrypi/rtems_net_svc.o 
> legacy-build/arm-rtems4.12-raspberrypi/local_shell_cmds.o 
> legacy-build/arm-rtems4.12-raspberrypi/filesys.o 
> legacy-build/arm-rtems4.12-raspberrypi/ramdisk.o 
> legacy-build/arm-rtems4.12-raspberrypi/nvramdisk.o 
> legacy-build/arm-rtems4.12-raspberrypi/task_cmd.o 
> legacy-build/arm-rtems4.12-raspberrypi/hello_cmd.o 
> legacy-build/arm-rtems4.12-raspberrypi/dhrystone_cmd.o 
> legacy-build/arm-rtems4.12-raspberrypi/whetstone_cmd.o 
> legacy-build/arm-rtems4.12-raspberrypi/benchmarks.o 
> legacy-build/arm-rtems4.12-raspberrypi/tarfile.o -lm
> /home/dipupo/development/rtems/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/bin/ld:
>  error: legacy-build/arm-rtems4.12-raspberrypi/rki.elf uses VFP register 
> arguments, 
> /home/dipupo/development/rtems/kernel/builds/b-rpi/arm-rtems4.12/raspberrypi/lib/librtemsbsp.a(libbsp_a-bootcard.o)
>  does not
> /home/dipupo/development/rtems/4.12/lib/gcc/arm-rtems4.12/6.0.0/../../../../arm-rtems4.12/bin/ld:
>  failed to merge target specific data of file 
> /home/dipupo/development/rtems/kernel/builds/b-rpi/arm-rtems4.12/raspberrypi/lib/librtemsbsp.a(libbsp_a-bootcard.o)
> 
> Kindly advice.
> 
> Regards,
> Habeeb
> 
> On Thu, Apr 21, 2016 at 6:51 AM, Alan Cudmore  > wrote:
> I should be able to update my RKI repository soon.. I’m building the latest 
> tools and RTEMS repo now.
> 
> Alan
> 
> > On Apr 21, 2016, at 6:14 AM, Pavel Pisa  > > wrote:
> >
> > Hello Habeeb,
> >
> > rtems_clock_get() has been obsoleted long time ago
> > and has been removed in
> >
> >e65c45c4b6cf6dfb485bef48385e39969de8b361
> >Obsolete rtems_clock_get() directive.
> >
> >This service was marked as deprecated long prior to the 4.11 release
> >series and is now being removed.
> >
> >closes #2676.
> >
> >
> > You should rewrite code as
> >
> >   rtems_interval ticks;
> > -  rtems_clock_get(RTEMS_CLOCK_GET_TICKS_SINCE_BOOT,);
> > +  ticks = rtems_clock_get_ticks_since_boot();
> >
> >
> > If you need to be compatible even with very old RTEMS versions, probably
> > pre-4.9, you can use
> >
> >   rtems_interval ticks;
> >  #ifndef RTEMS_CLOCK_GET_TICKS_SINCE_BOOT
> >   ticks = rtems_clock_get_ticks_since_boot();
> >  #else /*RTEMS_CLOCK_GET_TICKS_SINCE_BOOT*/
> >   rtems_clock_get(RTEMS_CLOCK_GET_TICKS_SINCE_BOOT,);
> >  #endif /*RTEMS_CLOCK_GET_TICKS_SINCE_BOOT*/
> >
> > Best wishes,
> >
> >   Pavel
> >
> >
> > On Thursday 21 of April 2016 02:50:55 Olufowobi, Habeeb wrote:
> >> Hi,
> >>
> >> I am trying to build RKI for Raspberrypi but I have been getting this error
> >> message:
> >>
> >>
> >> arm-rtems4.12-gcc
> >> -Wa,-a=legacy-build/arm-rtems4.12-raspberrypi/task_cmd.lis -march=armv7-a
> >> -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a7 -D__ARM__   --pipe
> >> -B/home/dipupo/development/rtems/kernel/builds/b-rpi/arm-rtems4.12/raspberr
> >> ypi/lib -specs bsp_specs -qrtems -Wall  -I. -Iinclude/  -I. -g -O2  -c -o
> >> legacy-build/arm-rtems4.12-raspberrypi/task_cmd.o task_cmd.c
> >> task_cmd.c: In function 'get_ticks_per_second':
> >> task_cmd.c:23:10: warning: implicit declaration of function
> >> 'rtems_clock_get' [-Wimplicit-function-declaration]
> >>   (void) rtems_clock_get( RTEMS_CLOCK_GET_TICKS_PER_SECOND,
> >> _per_second );  return ticks_per_second;
> >>  ^~~
> >> task_cmd.c:23:27: error: 'RTEMS_CLOCK_GET_TICKS_PER_SECOND' undeclared
> >> (first use in this function)
> >>   (void) rtems_clock_get( RTEMS_CLOCK_GET_TICKS_PER_SECOND,
> >> _per_second );  return ticks_per_second;
> >>   ^~~~
> >>
> >>
> >> The line associated with this message in the task_cmd.c is
> >>
> >> {
> >>  rtems_interval ticks_per_second;
> >>  (void) rtems_clock_get( 

RTEMS in ESA Summer of Code In Space

2016-04-22 Thread Joel Sherrill
Hi

The RTEMS Project has been honored to be selected as a participating
organization in this year's ESA Summer of Code on Space.

We need student proposals from students in ESA member countries or
attending university in member countries. I do not claim to fully
understand the qualification rules. Please read and ask if in doubt.

So if you are a qualifying student or know some, please get them involved.

Thanks.

--joel
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel