Re: HTTP client with RTEMS

2017-10-05 Thread Christian Mauderer
Am 05.10.2017 um 22:44 schrieb Hui Yie Teh: > I'm trying to initialize bsdnetwork using > 'rtems_bsdnet_initialize_network()' as in the mghttpd example but it > doesn't work.  > > It is giving me an error "Can't get network cluster memory".  > > Any help would be much appreciated.  > > Thanks.

Networking error - network sema obtain: network not initialised

2017-10-05 Thread Hui Yie Teh
Hi, When I am trying to create a socket using socket(AF_INET, SOCK_STREAM, 0), I get an error saying: *rtems-net: network sema obtain: network not initialised* When I tried calling rtems_bsdnet_initialize_network, it fails and I get the following error: *Can't get network cluster memory.* I do

Re: Building RTEMS tools using Source Builder fails

2017-10-05 Thread Chris Johns
On 05/10/2017 22:02, Sebastian Huber wrote: > On 05/10/17 12:13, Steen Ulrik Palm wrote: >> 2.Is it possible to proceed without having to rebuild already installed tools >> (like newlib, which takes very long time to build)? >> > Unfortunately not at the moment. I do not think this is a good idea.

Installing cexp-2.2.3 for RTEMS 4.12

2017-10-05 Thread Akiv
Hi All, I have built RTEMS 4.12 for the pc686 BSP. I am now trying to install cexp 2.2.3. My goal is to run pc-rtems according to this guide: https://github.com/nasa/cFE/tree/master/psp/fsw/pc-rtems. After configuring, when I run the make I get the following error. bash-4.1$ ../cexp-CEXP_Release

Re: HTTP client with RTEMS

2017-10-05 Thread Hui Yie Teh
I'm trying to initialize bsdnetwork using 'rtems_bsdnet_initialize_network()' as in the mghttpd example but it doesn't work. It is giving me an error "Can't get network cluster memory". Any help would be much appreciated. Thanks. On 6 October 2017 at 08:46, Hui Yie Teh wrote: > Hi Christian,

Re: HTTP client with RTEMS

2017-10-05 Thread Hui Yie Teh
Hi Christian, Thank you for the reply! My app will be doing some simple HTTP, with GET and POST requests that has a text response body, e.g. "Received". I think following the mghttpd test will suffice. However, I'm currently looking at the code for the mghttpd test and I was wondering if there i

Re: HTTP client with RTEMS

2017-10-05 Thread Christian Mauderer
Am 05.10.2017 um 17:52 schrieb Hui Yie Teh: > Hi, > > I am trying to build a HTTP client using RTEMS. Is there any tutorials > that I can follow? I already have a server running, and I just need to > send some GET and POST requests. > > I am new to RTEMS and embedded programming in general. Any h

HTTP client with RTEMS

2017-10-05 Thread Hui Yie Teh
Hi, I am trying to build a HTTP client using RTEMS. Is there any tutorials that I can follow? I already have a server running, and I just need to send some GET and POST requests. I am new to RTEMS and embedded programming in general. Any help is much appreciated. Cheers, Yie

Re: Building RTEMS tools using Source Builder fails

2017-10-05 Thread Sebastian Huber
On 05/10/17 15:29, Steen Ulrik Palm wrote: Thanks a lot for spotting the problem:-) I just created a new one for you... After having installed python2.7-dev, I have now successfully built the RTEMS tools. ... if you use RTEMS 4.12, then you should immediately update the RSB and RTEMS an

RE: Building RTEMS tools using Source Builder fails

2017-10-05 Thread Steen Ulrik Palm
Hi Sebastian, Thanks a lot for spotting the problem :-) After having installed python2.7-dev, I have now successfully built the RTEMS tools. Best regards, Steen Steen Ulrik Palm Senior Engineer, Software Space Projects (DK) Terma A/S -Original Message- From: Sebastian Huber [mailto:

Re: RTEMS 4.12 tool chain update required

2017-10-05 Thread Sebastian Huber
On 05/10/17 14:46, Joel Sherrill wrote: Did you also go ahead and bump binutils to 2.29.1? We have one PowerPC patch for 2.29 which was not back ported to 2.29.1, so I didn't bother to use this version. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Ger

Re: RTEMS 4.12 tool chain update required

2017-10-05 Thread Joel Sherrill
Did you also go ahead and bump binutils to 2.29.1? On Oct 5, 2017 7:43 AM, "Sebastian Huber" < sebastian.hu...@embedded-brains.de> wrote: > Hello, > > I updated the tool chain (RSB) to use the latest Newlib snapshot with a > change of time_t to 64-bit (year 2038 problem) and a patch to add > self

RTEMS 4.12 tool chain update required

2017-10-05 Thread Sebastian Huber
Hello, I updated the tool chain (RSB) to use the latest Newlib snapshot with a change of time_t to 64-bit (year 2038 problem) and a patch to add self-contained POSIX synchronization objects: https://devel.rtems.org/ticket/2514 https://devel.rtems.org/ticket/3111 https://devel.rtems.org/ticket

Re: Building RTEMS tools using Source Builder fails

2017-10-05 Thread Sebastian Huber
On 05/10/17 12:13, Steen Ulrik Palm wrote: [...] Looking in the file rsb-report-sparc-rtems4.12-gdb-8.0.1-x86_64-linux-gnu-1.txt shows that the configure command complains about python2.7: … checking for XML_StopParser... yes checking whether to use python... yes checking for python...

Building RTEMS tools using Source Builder fails

2017-10-05 Thread Steen Ulrik Palm
Hi, I'm new to building RTEMS. I have previously used pre-built RTEMS from Gaisler. I'm trying to build the RTEMS tools using the Source Builder for the SPARC architecture (to be replaced by ARM later on) on a Debian 8 platform. I have downloaded the Source Builder using the command: git clone