Re: Networking error - network sema obtain: network not initialised

2017-10-06 Thread Hui Yie Teh
In the linker command file, linkcmds.lm3s6965_qemu, it shows that the memory is of length 16M. Do I have to change that? On 7 October 2017 at 01:42, Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 06/10/17 14:40, Hui Yie Teh wrote: > > Hi Sebastian, >> >> Thanks for your reply.

Re: Installing cexp-2.2.3 for RTEMS 4.12

2017-10-06 Thread Alan Cudmore
I have not used Cexp in a while. I am working on integrating support for the RTEMS dynamic loader (RTL) in the OSAL and cFE, but it may take a while for that to be integrated into the open source OSAL release. For your immediate problem, would it be possible to try removing the #error macro line?

Re: HTTP client with RTEMS

2017-10-06 Thread Joel Sherrill
On Fri, Oct 6, 2017 at 7:53 AM, Christian Mauderer < christian.maude...@embedded-brains.de> wrote: > Hello Yie, > > 64k seems very few RAM. > > Maybe you are aware that there are currently two versions of the network > stack: One (very old) fork of the FreeBSD stack that is integrated into > RTEMS

Re: HTTP client with RTEMS

2017-10-06 Thread Christian Mauderer
Hello Yie, 64k seems very few RAM. Maybe you are aware that there are currently two versions of the network stack: One (very old) fork of the FreeBSD stack that is integrated into RTEMS and a mostly up to date fork in libbsd. I'm really not sure about the old network stack but then new one needs

Re: Networking error - network sema obtain: network not initialised

2017-10-06 Thread Sebastian Huber
On 06/10/17 14:40, Hui Yie Teh wrote: Hi Sebastian, Thanks for your reply. I think I'm emulating the LS3M6965 board on Qemu and I have allocated 1G RAM for it. It still gives me the same error. The last time I used Qemu with this board, the memory option didn't work. I also have this 'CFL

Re: Networking error - network sema obtain: network not initialised

2017-10-06 Thread Hui Yie Teh
Hi Sebastian, Thanks for your reply. I think I'm emulating the LS3M6965 board on Qemu and I have allocated 1G RAM for it. It still gives me the same error. I also have this 'CFLAGS_LD += -Wl,--defsym -Wl,HeapSize=0x8' in my Makefile, but I don't know if that helps. Cheers. On 7 October 2017

Re: HTTP client with RTEMS

2017-10-06 Thread Sebastian Huber
Hello, a very simple HTTP client is this: https://github.com/nodejs/http-parser -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@embedded-brains.de PGP : Public

Re: HTTP client with RTEMS

2017-10-06 Thread Hui Yie Teh
Hi Christian, No, it's not an RTEMS based server. I have a simple server running on python. I am emulating the LM3S6965 ARM board on Qemu, and I think it has 64kB of RAM? On 6 October 2017 at 19:52, Christian Mauderer < christian.maude...@embedded-brains.de> wrote: > > Am 05.10.2017 um 22:44 sc

Re: Networking error - network sema obtain: network not initialised

2017-10-06 Thread Sebastian Huber
On 06/10/17 05:36, Hui Yie Teh wrote: When I tried calling rtems_bsdnet_initialize_network, it fails and I get the following error: */Can't get network cluster memory./* I don't know how to fix this error. Any help would be much appreciated. You don't have enough memory for the network stac