Re: Draft for moving network headers from RTEMS to newlib

2016-04-25 Thread Chris Johns
On 26/04/2016 01:06, Christian Mauderer wrote: currently we try to remove the network specific POSIX headers from RTEMS. Instead, we add current headers from FreeBSD to newlib. This will simplify the build process of some libraries that depend on the network (like LibreSSL). What does this work

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

2016-04-25 Thread Chris Johns
On 26/04/2016 07:22, Joel Sherrill wrote: Agreed 100%! NTP has an RSB recipe and there are others for various libraries which should be good examples. Shouldn't take long to do the recipe. Just ask questions rather than getting stuck. On Apr 25, 2016 7:03 PM, "Gedare Bloom" mailto:ged...@rtems.

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

2016-04-25 Thread Joel Sherrill
Agreed 100%! NTP has an RSB recipe and there are others for various libraries which should be good examples. Shouldn't take long to do the recipe. Just ask questions rather than getting stuck. On Apr 25, 2016 7:03 PM, "Gedare Bloom" wrote: > On Mon, Apr 25, 2016 at 11:25 AM, Joel Sherrill wrote

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

2016-04-25 Thread Gedare Bloom
On Mon, Apr 25, 2016 at 11:25 AM, Joel Sherrill wrote: > > > On Mon, Apr 25, 2016 at 4:22 AM, Christian Mauderer > wrote: >> >> Essentially I agree that it would be nice to build civetweb as an >> external library especially with the different network stacks in mind. >> But there are some points

start trying to build rtems with kbuild

2016-04-25 Thread printk
hi, a11: I am trying to build rtems with kbuild on linux. just a hobby, make rtems easier to build on linux. not support freebsd, windows... (I guess some company don't use windows or linux, securty is critical for them. for small companies, e.g. shenzhen small companies, convenien is more importan

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

2016-04-25 Thread Joel Sherrill
On Mon, Apr 25, 2016 at 4:22 AM, Christian Mauderer < christian.maude...@embedded-brains.de> wrote: > Essentially I agree that it would be nice to build civetweb as an > external library especially with the different network stacks in mind. > But there are some points that keep me from doing it: >

[PATCH 04/29] libnetworking: Replace IFF_RUNNING and IFF_OACTIVE.

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer These two defines are replaced by IFF_DRV_RUNNING and IFF_DRV_OACTIVE. --- c/src/lib/libbsp/arm/atsam/network/if_atsam.c | 14 - c/src/lib/libbsp/arm/csb336/network/network.c | 14 - c/src/lib/libbsp/arm/csb337/network/network.c | 14 --

[PATCH 29/29] libnetworking: Include rtems_netdb.h for _map_v4v6... prototypes.

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer --- cpukit/libnetworking/libc/map_v4v6.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cpukit/libnetworking/libc/map_v4v6.c b/cpukit/libnetworking/libc/map_v4v6.c index 0b13285..66287d4 100644 --- a/cpukit/libnetworking/libc/map_v4v6.c +++ b/cpukit/libnetworking/l

[PATCH 25/29] libnetworking: Add *__h_errno() instead of h_errno.

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer --- cpukit/libnetworking/libc/gethostbydns.c | 1 - cpukit/libnetworking/libc/getnetbydns.c | 2 -- cpukit/libnetworking/libc/herror.c | 8 +++- cpukit/libnetworking/resolv.h| 9 - 4 files changed, 7 insertions(+), 13 deletions(-) diff --g

[PATCH 11/29] libnetworking: Add deprecated IPCTL_RTxxx defines.'

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer --- cpukit/libnetworking/netinet/in_rmx.c | 1 + cpukit/libnetworking/rtems/rtems_netinet_in.h | 5 + 2 files changed, 6 insertions(+) diff --git a/cpukit/libnetworking/netinet/in_rmx.c b/cpukit/libnetworking/netinet/in_rmx.c index 4f1df49..6effa7c 100644 -

[PATCH 17/29] libnetworking: Add TCPOPT_TSTAMP_HDR.

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer --- cpukit/libnetworking/rtems/rtems_netinet_tcp.h | 5 + 1 file changed, 5 insertions(+) diff --git a/cpukit/libnetworking/rtems/rtems_netinet_tcp.h b/cpukit/libnetworking/rtems/rtems_netinet_tcp.h index b92a5ca..f4a1b2a 100644 --- a/cpukit/libnetworking/rtems/rte

[PATCH 05/29] libnetworking: Add net/if_var.h to net/if_arp.h.

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer The net/if_var.h has previously included in net/if.h. --- cpukit/libnetworking/net/if_arp.h | 1 + 1 file changed, 1 insertion(+) diff --git a/cpukit/libnetworking/net/if_arp.h b/cpukit/libnetworking/net/if_arp.h index 7654678..cbd8fae 100644 --- a/cpukit/libnetworking

Draft for moving network headers from RTEMS to newlib

2016-04-25 Thread Christian Mauderer
Hello, currently we try to remove the network specific POSIX headers from RTEMS. Instead, we add current headers from FreeBSD to newlib. This will simplify the build process of some libraries that depend on the network (like LibreSSL). Further it will be another step into the direction of extracti

[PATCH 16/29] libnetworking: Add TCP CC options.

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer --- cpukit/libnetworking/rtems/rtems_netinet_tcp.h | 8 1 file changed, 8 insertions(+) diff --git a/cpukit/libnetworking/rtems/rtems_netinet_tcp.h b/cpukit/libnetworking/rtems/rtems_netinet_tcp.h index fe509af..b92a5ca 100644 --- a/cpukit/libnetworking/rtems/

[PATCH 23/29] civetweb: Fix return value when NO_TIMEGM is set.

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer --- cpukit/mghttpd/civetweb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpukit/mghttpd/civetweb.c b/cpukit/mghttpd/civetweb.c index 520a6b6..5d4da3d 100644 --- a/cpukit/mghttpd/civetweb.c +++ b/cpukit/mghttpd/civetweb.c @@ -7092,7 +7092,7 @@ is_

[PATCH 15/29] libnetworking: Add IP_NAT option for get/setsockopt.

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer --- cpukit/libnetworking/rtems/rtems_netinet_in.h | 8 1 file changed, 8 insertions(+) diff --git a/cpukit/libnetworking/rtems/rtems_netinet_in.h b/cpukit/libnetworking/rtems/rtems_netinet_in.h index 477cd99..c2da532 100644 --- a/cpukit/libnetworking/rtems/rte

[PATCH 08/29] libnetworking: Add IPPORT_USERRESERVED.

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer --- cpukit/libnetworking/netinet/in_pcb.c | 1 + cpukit/libnetworking/rtems/rtems_netinet_in.h | 6 ++ 2 files changed, 7 insertions(+) diff --git a/cpukit/libnetworking/netinet/in_pcb.c b/cpukit/libnetworking/netinet/in_pcb.c index c41e634..1cd9c92 100644

[PATCH 26/29] libnetworking: satosin is now provided by in.h.

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer --- cpukit/libnetworking/netinet/in_rmx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/cpukit/libnetworking/netinet/in_rmx.c b/cpukit/libnetworking/netinet/in_rmx.c index 6effa7c..c386044 100644 --- a/cpukit/libnetworking/netinet/in_rmx.c +++ b/cpukit/libnetwork

[PATCH 22/29] libnetworking: Match gethostbyname_r with prototype.

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer --- cpukit/libnetworking/libc/gethostnamadr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cpukit/libnetworking/libc/gethostnamadr.c b/cpukit/libnetworking/libc/gethostnamadr.c index a718820..cf0a12d 100644 --- a/cpukit/libnetworking/libc/ge

[PATCH 19/29] libnetworking: Move in_cksum to rtems_bsdnet_inernal.h

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer --- cpukit/libnetworking/rtems/rtems_bsdnet_internal.h | 3 +++ cpukit/libnetworking/rtems/rtems_netinet_in.h | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h b/cpukit/libnetworking/rtems/rtem

[PATCH 01/29] libnetwork: Remove network headers.

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer They have been moved to newlib. --- cpukit/Makefile.am | 2 - cpukit/include/sys/_iovec.h| 58 - cpukit/include/sys/uio.h | 124 -- cpukit/libnetworking/Makefile.am | 11 +- cpukit/libnetworking/arpa/inet.h | 142

[PATCH 09/29] libnetworking: Fix unknown type name 'tcp_cc'

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer --- cpukit/libnetworking/Makefile.am | 1 + cpukit/libnetworking/netinet/in_proto.c| 1 + cpukit/libnetworking/netinet/in_rmx.c | 1 + cpukit/libnetworking/netinet/ip_fw.c | 1 + cpukit/libnetworking/netinet/ip_icmp.c

[PATCH 02/29] libnetworking: Fix undefined sockwakeup and co.

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer --- cpukit/libfs/src/nfsclient/src/rpcio.c| 1 + cpukit/libnetworking/Makefile.am | 1 + cpukit/libnetworking/kern/uipc_socket.c | 1 + cpukit/libnetworking/preinstall.am| 4 cpukit/libnetworking/rtems/rtems_socket.h | 28 +

[PATCH 07/29] libnetworking: Add prototype for in_cksum.

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer --- cpukit/libnetworking/Makefile.am | 1 + cpukit/libnetworking/netinet/igmp.c | 1 + cpukit/libnetworking/netinet/in.c | 1 + cpukit/libnetworking/netinet/in_cksum_sparc.h | 1 + cpukit/libnetworking/preinstall.am| 4

[PATCH 03/29] libnetworking: Fix ifr_tap.

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer --- cpukit/libnetworking/Makefile.am | 1 + cpukit/libnetworking/net/if.c | 5 ++-- cpukit/libnetworking/preinstall.am| 4 +++ cpukit/libnetworking/rtems/rtems_net_if.h | 49 +++ 4 files changed, 57 insertions(+

[PATCH 20/29] libnetworking: Add _getXbyYname/addr and _set/endXYent functions.

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer --- cpukit/libnetworking/Makefile.am | 1 + cpukit/libnetworking/libc/gethostbydns.c | 1 + cpukit/libnetworking/libc/gethostbyht.c | 1 + cpukit/libnetworking/libc/gethostbynis.c | 1 + cpukit/libnetworking/libc/gethostnamadr.c | 1 + cpukit/libnetwork

[PATCH 18/29] libnetworking: Make struct ip known to rtems_glue.

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer --- cpukit/libnetworking/rtems/rtems_glue.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cpukit/libnetworking/rtems/rtems_glue.c b/cpukit/libnetworking/rtems/rtems_glue.c index f079a67..e315679 100644 --- a/cpukit/libnetworking/rtems/rtems_glue.c +++ b/cpukit/l

[PATCH 14/29] libnetworking: Add ip_nat_... (IP NAT hooks.

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer --- cpukit/libnetworking/rtems/rtems_netinet_in.h | 8 1 file changed, 8 insertions(+) diff --git a/cpukit/libnetworking/rtems/rtems_netinet_in.h b/cpukit/libnetworking/rtems/rtems_netinet_in.h index 3940d92..477cd99 100644 --- a/cpukit/libnetworking/rtems/rte

[PATCH 12/29] libnetworking: Add inttypes.h include for PRIu32, ...

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer --- c/src/libchip/network/dwmac.c | 1 + c/src/libchip/network/i82586.c | 1 + cpukit/libnetworking/netinet/ip_fw.c| 1 + cpukit/libnetworking/netinet/ip_input.c | 1 + 4 files changed, 4 insertions(+) diff --git a/c/src/libchip/network/dwmac.c b/

[PATCH 21/29] libnetworking: Update gethostent_r API.

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer Linux and FreeBSD use a common API now. Adapt the RTEMS one to provide the same one. --- cpukit/libnetworking/libc/gethostbyht.c | 52 --- cpukit/libnetworking/libc/gethostnamadr.c | 7 - 2 files changed, 46 insertions(+), 13 deletions(

[PATCH 27/29] libnetworking: Add include of rtems_net_if.h for looutput prototype.

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer --- cpukit/libnetworking/netinet/ip_output.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cpukit/libnetworking/netinet/ip_output.c b/cpukit/libnetworking/netinet/ip_output.c index 304a349..003e7c3 100644 --- a/cpukit/libnetworking/netinet/ip_output.c +++ b/cpukit

[PATCH 24/29] libnetworking: Add include of rtems_net_if.h for ifafree prototype.

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer --- cpukit/libnetworking/net/route.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cpukit/libnetworking/net/route.c b/cpukit/libnetworking/net/route.c index b04649c..83147b6 100644 --- a/cpukit/libnetworking/net/route.c +++ b/cpukit/libnetworking/net/route.c @@ -48

[PATCH 13/29] libnetworking: Add ip_fw_chk_t and ip_fw_ctl_t.

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer Add the types and pointers for firewall. --- cpukit/libnetworking/netinet/ip_fw.c | 1 + cpukit/libnetworking/netinet/ip_input.c | 1 + cpukit/libnetworking/netinet/ip_output.c | 1 + cpukit/libnetworking/netinet/raw_ip.c | 1 + cpukit/libnetw

[PATCH 28/29] libnetworking: Add missing include to if_var.h.

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer --- cpukit/libnetworking/rtems/rtems_syscall.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cpukit/libnetworking/rtems/rtems_syscall.c b/cpukit/libnetworking/rtems/rtems_syscall.c index 6bef21a..ac976d4 100644 --- a/cpukit/libnetworking/rtems/rtems_syscall.c +++

[PATCH 06/29] libnetworking: Add prototypes for ifafree, looutput.

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer --- cpukit/libnetworking/rtems/rtems_net_if.h | 8 1 file changed, 8 insertions(+) diff --git a/cpukit/libnetworking/rtems/rtems_net_if.h b/cpukit/libnetworking/rtems/rtems_net_if.h index 96b108e..49e9622 100644 --- a/cpukit/libnetworking/rtems/rtems_net_if.h

[PATCH 10/29] libnetworking: Fix unknown struct ifnet and ifaddr.'

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer --- cpukit/libnetworking/net/rtsock.c | 1 + cpukit/libnetworking/netinet/ip_fw.c | 1 + cpukit/libnetworking/netinet/tcp_input.c | 1 + cpukit/libnetworking/rtems/rtems_showifstat.c | 1 + cpukit/libnetworking/rtems/rtems_showroute.c | 1 + 5

Re: GSoC 2016: Low Level Peripherals & SD Card Support for Raspberry Pi

2016-04-25 Thread Martin Galvan
CCing Andre. On Mon, Apr 25, 2016 at 10:23 AM, Martin Galvan wrote: > Hi everyone! Just wanted to check on the status for this project. I > saw it was accepted for the GSoC 2016 (congratulations Mudit!), and > would like to know what our workflow will be like. I offered to > co-mentor it and help

GSoC 2016: Low Level Peripherals & SD Card Support for Raspberry Pi

2016-04-25 Thread Martin Galvan
Hi everyone! Just wanted to check on the status for this project. I saw it was accepted for the GSoC 2016 (congratulations Mudit!), and would like to know what our workflow will be like. I offered to co-mentor it and help with code/documentation reviews, especially for the SD card parts since I did

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

2016-04-25 Thread Christian Mauderer
Essentially I agree that it would be nice to build civetweb as an external library especially with the different network stacks in mind. But there are some points that keep me from doing it: 1. I have really no Idea what would be necessary to build it as an upstream project using RSB. If that are

EWiLi'16, the 6th Embedded Operating System Workshop held in conjunction with ESWEEK

2016-04-25 Thread Joel Sherrill
Hi Preliminary CFP is online here: https://goo.gl/IftMrv Full text below: *** + p 61, second column, third sentence - "require internal routing Call For Papers EWiLi'16, the 6th Embedded Operating System Work