Move POSIX network headers like etc. to Newlib?

2016-04-06 Thread Sebastian Huber
Hello, what about moving the POSIX network headers arpa/inet.h netdb.h net/if.h netinet/in.h netinet/tcp.h syslog.h sys/socket.h sys/uio.h sys/un.h to Newlib? This has the following benefits. 1. It ensures compatibility between the standard and libbsd network stack at user API level. 2. Th

Re: Bringing the Scheduling Simulator in synch with RTEMS master

2016-04-06 Thread Sebastian Huber
On 06/04/16 14:49, Joel Sherrill wrote: Newlib has a Linux configuration and we don't assume a lot of the host. Using newlib as the native libc rather than glibc may solve these problems. The only gotcha I can see is that the Linux newlib target has a fair amount of code in the OS support d

Re: Error while building arm/realview_pbx_a9_qemu BSP

2016-04-06 Thread Gedare Bloom
On Wed, Apr 6, 2016 at 10:10 AM, Deval Shah wrote: > > > On Wed, Apr 6, 2016 at 7:13 PM, Sebastian Huber > wrote: >> >> >> >> On 06/04/16 15:39, Deval Shah wrote: >>> >>> I am building this using RTEMS 4.12 and latest master branch pulled from >>> github. >> >> >> I don't know how reliably and fa

Re: Error while building arm/realview_pbx_a9_qemu BSP

2016-04-06 Thread Deval Shah
On Wed, Apr 6, 2016 at 7:13 PM, Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > > > On 06/04/16 15:39, Deval Shah wrote: > >> I am building this using RTEMS 4.12 and latest master branch pulled from >> github. >> > > I don't know how reliably and fast the github updates are. > Any s

Re: Error while building arm/realview_pbx_a9_qemu BSP

2016-04-06 Thread Sebastian Huber
On 06/04/16 15:39, Deval Shah wrote: I am building this using RTEMS 4.12 and latest master branch pulled from github. I don't know how reliably and fast the github updates are. I tried the same thing with RTEMS 4.11 also. I got the similar error. Looks like some files are not getting incl

Re: Error while building arm/realview_pbx_a9_qemu BSP

2016-04-06 Thread Deval Shah
I am building this using RTEMS 4.12 and latest master branch pulled from github. I tried the same thing with RTEMS 4.11 also. I got the similar error. Looks like some files are not getting included/ missing. On Wed, Apr 6, 2016 at 6:26 PM, Sebastian Huber < sebastian.hu...@embedded-brains.de> wro

Re: Error while building arm/realview_pbx_a9_qemu BSP

2016-04-06 Thread Sebastian Huber
Should work now using the latest RTEMS and libbsd master branch. -- 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 key available on

Re: Bringing the Scheduling Simulator in synch with RTEMS master

2016-04-06 Thread Joel Sherrill
Newlib has a Linux configuration and we don't assume a lot of the host. Using newlib as the native libc rather than glibc may solve these problems. The only gotcha I can see is that the Linux newlib target has a fair amount of code in the OS support directory for Linux. If they replace too much no

Re: Bringing the Scheduling Simulator in synch with RTEMS master

2016-04-06 Thread Darshit Shah
Any ideas / updates / suggestions on this? Thanking You, Darshit Shah Sent from mobile device. Please excuse my brevity On 01-Apr-2016 4:13 pm, "Darshit Shah" wrote: > On 03/30, Joel Sherrill wrote: > >> On Wed, Mar 30, 2016 at 9:03 AM, Darshit Shah wrote: >> >> I've started trying to bring the

Re: [PATCH 04/15] score: Add node adjust to _RBTree_Find_inline()

2016-04-06 Thread Gedare Bloom
map might be fine. some other possibilities: index, offset, field. I just noticed though that this proposed callout seems somewhat awkward since it will return a void* pointing to something not a node, and the return likely goes to something expecting an RBTree_Node*? Why not leave it to the calle

Re: [PATCH 04/15] score: Add node adjust to _RBTree_Find_inline()

2016-04-06 Thread Gedare Bloom
On Tue, Apr 5, 2016 at 11:35 AM, Sebastian Huber wrote: > > - Gedare Bloom schrieb: >> I don't understand the name "adjust"? I think of adjusting as >> something that would cause a change or modify, which is not the case >> here. I don't have any great replacement, but I guess I might suggest

Re: psim: RTEMS_SHM_SEMAPHORE_KEY and RTEMS_SHM_KEY

2016-04-06 Thread Sebastian Huber
On 05/04/16 08:55, Sebastian Huber wrote: Hello, the psim simulator script requires a RTEMS_SHM_SEMAPHORE_KEY and RTEMS_SHM_KEY. Does anyone know how to set up this? You can create the shared memory and semaphore via: ipcmk -M 131072 ipcmk -S 1 Use ipcs to get the keys, then do: export R