XtratuM BSP

2014-06-18 Thread Christian Mauderer
. Kind regards, Christian Mauderer -- embedded brains GmbH Christian Mauderer Dornierstr. 4 D-82178 Puchheim Germany email: christian.maude...@embedded-brains.de Phone: +49-89-18 94 741 - 18 Fax: +49-89-18 94 741 - 08 PGP: Public key available

Re: [PATCH] Fix headers and add RTC to altera-cyclone-v BSP.

2014-07-28 Thread Christian Mauderer
. Kind regards, Christian Mauderer Am 25.07.2014 11:49, schrieb Christian Mauderer: Hello, I have three patches for the altera-cyclone-v BSP. The first adds some missing header files to the BSP installation. Without these headers, some other headers from the hwlib directory can't be used

Re: [PATCH] Fix headers and add RTC to altera-cyclone-v BSP.

2014-07-29 Thread Christian Mauderer
Hello, thanks for clarifying the licensing issues with the hwlib Chris. After that problem is resolved, you can find the resubmission of the second patch as an answer to this mail. Please don't hesitate to make any comments to this or one of the other two patches. Kind regards Christian

[PATCH] libchip/dwmac: Make PHY address user configurable.

2014-08-22 Thread Christian Mauderer
From: Christian Mauderer christian.maude...@embedded-brains.de This patch allows the user to configure the PHY address for the DWMAC driver by giving a pointer to a dwmac_user_cfg structure to network stak via rtems_bsdnet_config.ifconfig-drv_ctrl. --- c/src/lib/libbsp/arm/altera-cyclone-v

Re: [PATCH] libchip/dwmac: Make PHY address user configurable.

2014-08-22 Thread Christian Mauderer
Hi Joel, I've changed the name of the structure to a more speaking one and added a few lines of example-code to the README of the altcycv-BSP. Kind regards Christian Mauderer ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman

Re: python dependencies Ubuntu 15.04

2015-08-12 Thread Christian Mauderer
Hello, just a wild guess: Which python Version is default on Ubuntu? Most distributions use python2 as default. I know that e.g. Arch uses python3. Just try a python --version to find out. Kind regards Christian Mauderer Am 12.08.2015 um 10:38 schrieb punit vara: sudo apt-get install

Re: [civetweb] Interface for setting stack size and scheduler options

2016-05-27 Thread Christian Mauderer
I updated the Interface (header) in my draft. Could you take a look at the improved version? https://github.com/c-mauderer/civetweb/compare/1e4a9ee...a6bea13 Please note: I only updated the interface not the implementation. I will do that as soon as we have agreed on the interface.

[PATCH 19/27] libnetworking: Add IP_NAT option for get/setsockopt.

2016-06-24 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> --- 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..c

[PATCH 04/27] libcsupport: Add dummy for setgroups().

2016-06-24 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> The dummy for setgroups() allows applications using it to build (for example civetweb webserver). --- cpukit/libcsupport/Makefile.am | 2 +- cpukit/libcsupport/src/setgroups.c

[PATCH 05/27] libnetworking: Import current netdb.h

2016-06-24 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> Import the netdb.h from current FreeBSD. This allows to build some current software (e.g. libressl). --- cpukit/libnetworking/netdb.h | 162 ++- 1 file changed, 113 insertions(

[PATCH 02/27] libnetworking: Add minimal getnameinfo().

2016-06-24 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> This implementation just falls back to giving a string representation of the IP. It supports IPv4 only. --- cpukit/libnetworking/Makefile.am| 2 +- cpukit/libnetworking/libc/getnameinfo.

Update some network headers and add minimal getnameinfo and setgroups

2016-06-24 Thread Christian Mauderer
The first four patches add a minimal getnameinfo and a dummy for setgroups. This allows some applications to build (e.g. civetweb). I already sent these patches a few weeks ago. The new version only contains a bugfix. The original patches are here:

[PATCH 06/27] libnetworking: Add _getXbyYname/addr and _set/endXYent functions.

2016-06-24 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> --- cpukit/libnetworking/Makefile.am | 1 + cpukit/libnetworking/libc/gethostbydns.c | 1 + cpukit/libnetworking/libc/gethostbyht.c | 1 + cpukit/libnetworking/libc/gethostbynis.c | 1 + cpukit/libnetworkin

[PATCH 22/27] libnetworking: Clean up problems with htonl(), ...

2016-06-24 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> These functions are defined in . This lead to some problems because they are defined in too. --- cpukit/libnetworking/arpa/nameser_compat.h | 2 +- cpukit/libnetworking/rtems/mkrootfs.c | 2 +-

[PATCH 20/27] libnetworking: Import current arpa/inet.h

2016-06-24 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> Import the arpa/inet.h from current FreeBSD. Necessary due to changes in in.h. --- cpukit/libnetworking/arpa/inet.h | 50 ++-- 1 file changed, 43 insertions(+), 7 deletions(-) diff

[PATCH 18/27] libnetworking: Add ip_nat_... (IP NAT hooks.

2016-06-24 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> --- 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..4

[PATCH 13/27] libnetworking: Add prototype for in_cksum.

2016-06-24 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> --- cpukit/libnetworking/Makefile.am | 1 + cpukit/libnetworking/netinet/igmp.c | 1 + cpukit/libnetworking/netinet/in_cksum_sparc.h | 1 + cpukit/libnetworking/netinet/ip_icmp.c| 1 +

[PATCH 25/27] libnetworking: Import current sys/socket.h

2016-06-24 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> Import the sys/socket.h from current FreeBSD. This allows to build some current software (e.g. libressl). --- cpukit/libnetworking/sys/socket.h | 452 +++--- 1 file changed, 368 insertions(

[PATCH 11/27] libnetworking: Import sys/_sockaddr_storage.h

2016-06-24 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> Import the sys/_sockaddr_storage.h from current FreeBSD. Necessary for updated in.h. --- cpukit/libnetworking/Makefile.am | 3 +- cpukit/libnetworking/preinstall.am | 4 +++ cpukit/libnetworki

[PATCH 07/27] libnetworking: Add *__h_errno() instead of h_errno.

2016-06-24 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> --- 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 chan

[PATCH 12/27] libnetworking: Import current netinet6/in6.h

2016-06-24 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> Import the netinet6/in6.h from current FreeBSD. This allows to build some current software (e.g. libressl). --- cpukit/libnetworking/Makefile.am| 6 + cpukit/libnetworking/netinet6/in6.h

[PATCH 17/27] libnetworking: Add ip_fw_chk_t and ip_fw_ctl_t.

2016-06-24 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> 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/libnetw

[PATCH 15/27] libnetworking: satosin is now provided by in.h.

2016-06-24 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> --- 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 ed45045..848332e 100644 --- a/cpukit/libnetw

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

2016-06-24 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> --- 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/libnetworkin

Draft for moving network headers from RTEMS to newlib

2016-04-25 Thread Christian Mauderer
these RTEMS-specific extensions all into rtems_bsdnet.h instead of adding one file per replaced header? Kind Regards Christian Mauderer -- embedded brains GmbH Christian Mauderer Dornierstr. 4 D-82178 Puchheim Germany email: christian.maude...@embedded

[PATCH 03/29] libnetworking: Fix ifr_tap.

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> --- cpukit/libnetworking/Makefile.am | 1 + cpukit/libnetworking/net/if.c | 5 ++-- cpukit/libnetworking/preinstall.am| 4 +++ cpukit/libnetworking/rtems/rtems_net_if.

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

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> --- 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..b

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

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> --- 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..c

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

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> --- 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/libnetworkin

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

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> --- 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 chan

[PATCH 17/29] libnetworking: Add TCPOPT_TSTAMP_HDR.

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> --- 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..f

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

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> 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 7

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

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> --- cpukit/libnetworking/Makefile.am | 1 + cpukit/libnetworking/libc/gethostbydns.c | 1 + cpukit/libnetworking/libc/gethostbyht.c | 1 + cpukit/libnetworking/libc/gethostbynis.c | 1 + cpukit/libnetworkin

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

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> --- 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/n

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

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> --- 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

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

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> --- 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(+)

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

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> 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

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

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> --- 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/

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

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> 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/libb

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

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> --- 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 +

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

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> --- 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/

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

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> --- 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

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

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> --- 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

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

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> 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/libnetw

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

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> --- 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/

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

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> 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

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

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> --- 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 +

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

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> --- 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 +

[PATCH 08/29] libnetworking: Add IPPORT_USERRESERVED.

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> --- 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/n

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

2016-04-25 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> --- 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/libnetw

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

2016-04-21 Thread Christian Mauderer
a ticket related to civetweb and >> #update it from these patches. >> >> On Thu, Apr 21, 2016 at 4:45 PM, Gedare Bloom <ged...@rtems.org> wrote: >>> Is the plan eventually to be able to use the upstream civetweb? or to >>> track it with our own copy? >&g

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

2016-04-29 Thread Christian Mauderer
Am 29.04.2016 um 02:45 schrieb Chris Johns: > On 28/04/2016 18:27, Christian Mauderer wrote: >> Am 27.04.2016 um 02:07 schrieb Chris Johns: >>> On 26/04/2016 22:22, Christian Mauderer wrote: >>>> Am 26.04.2016 um 04:51 schrieb Chris Johns: >>>>

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

2016-04-29 Thread Christian Mauderer
Am 29.04.2016 um 09:39 schrieb Chris Johns: > On 29/04/2016 16:19, Christian Mauderer wrote: >> Am 29.04.2016 um 02:45 schrieb Chris Johns: >>> On 28/04/2016 18:27, Christian Mauderer wrote: >>>> Am 27.04.2016 um 02:07 schrieb Chris Johns: >>>>>

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

2016-04-26 Thread Christian Mauderer
estions rather than getting stuck. >> >> On Apr 25, 2016 7:03 PM, "Gedare Bloom" <ged...@rtems.org >> <mailto:ged...@rtems.org>> wrote: >> >> On Mon, Apr 25, 2016 at 11:25 AM, Joel Sherrill <j...@rtems.org >> <mailto:j...@rte

Re: [civetweb] Interface for setting stack size and scheduler options

2016-04-27 Thread Christian Mauderer
I've got some feedback on the RTEMS mailinglist (part of https://lists.rtems.org/pipermail/devel/2016-April/014729.html): Am 27.04.2016 um 02:07 schrieb Chris Johns: >> I already contacted the civetweb author regarding two of the patches. >> One was a new one (civetweb now uses a timegm function

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

2016-04-25 Thread Christian Mauderer
supporting both stacks and begin the process of removing networking code > from the base RTEMS git repo. > > It would also push us to figure out how to rest RSB built packages. > > On Apr 22, 2016 12:05 AM, "Christian Mauderer" > <christian.maude...@embedded-brains.de &

Re: [civetweb] Interface for setting stack size and scheduler options

2016-05-23 Thread Christian Mauderer
Am Sonntag, 22. Mai 2016 23:26:07 UTC+2 schrieb bel: > > > > On Sunday, May 22, 2016 at 11:04:44 AM UTC+2, Christian Mauderer wrote: >> >> >> I created a draft for a callback. It's not worked out and only thought as >> a basis for further discussions: >&

Re: [civetweb] Interface for setting stack size and scheduler options

2016-05-18 Thread Christian Mauderer
Am Dienstag, 17. Mai 2016 21:07:46 UTC+2 schrieb bel: > > > > On Tuesday, May 17, 2016 at 7:50:02 AM UTC+2, Christian Mauderer wrote: >> >> >> The solution with the *start_thread* callback is quite a different >> approach than my original one but it

Re: [civetweb] Interface for setting stack size and scheduler options

2016-05-22 Thread Christian Mauderer
To the question from Joe Mucchiello: I think the thread startup is more a toppic of the init_thread callback that has been added here: https://github.com/civetweb/civetweb/pull/304 This function gets called after the thread is started. Is this what you had in mind? To bel: I created a

Re: [civetweb] Interface for setting stack size and scheduler options

2016-05-16 Thread Christian Mauderer
At first: Sorry that I didn't react for such a long time. I just didn't find the time for working on that problem. I had some lengthy discussion on the RTEMS mailing list regarding the update to civetweb (or to be exact: where to put it) without a final solution. Therefore the update is

Re: [civetweb] Interface for setting stack size and scheduler options

2016-05-03 Thread Christian Mauderer
Am 02.05.2016 um 20:35 schrieb bel: > > > On Monday, May 2, 2016 at 10:39:13 AM UTC+2, Christian Mauderer wrote: >> I agree that eventually not all variations have to be tested. It's only >> a challange to identify the irrelevant ones. >> >> Does the T

[PATCH v2 3/4] testsuite: Add test for getnameinfo().

2016-05-03 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> --- testsuites/libtests/Makefile.am | 1 + testsuites/libtests/configure.ac | 1 + testsuites/libtests/networking01/Makefile.am | 22 +++ testsuites/libtests/networking01/

Re: [civetweb] Interface for setting stack size and scheduler options

2016-05-02 Thread Christian Mauderer
values for every thread started with mg_start_thread. But it would surely add a maximum of flexibility if every thread can be influenced. So it would be nice. > scheduler would be SCHED_OTHER, SCHED_FIFO and SCHED_RR? > Anything else? There is also SCHED_SPORADIC. See http://pubs.opengroup.org/

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

2016-05-02 Thread Christian Mauderer
s > the > most sense for us. > I'm not sure, if I understand you correctly here: On the one hand, we should keep all tests together. On the other hand we should keep the tests together with the tested code. And we are currently discussing how to split up some of the code. So wouldn't we

[PATCH 3/4] testsuite: Add test for getnameinfo().

2016-05-02 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> --- testsuites/libtests/Makefile.am| 1 + testsuites/libtests/configure.ac | 1 + testsuites/libtests/libnetworking01/Makefile.am| 22 +++ testsuites/libtests/libnetworking01/

[PATCH 1/4] libnetworking: Add prototype for getnameinfo().

2016-05-02 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> Copy the prototype and necessary defines for getnameinfo() from current FreeBSD. --- cpukit/libnetworking/netdb.h | 47 1 file changed, 47 insertions(+) diff --git a/

[PATCH 2/4] libnetworking: Add minimal getnameinfo().

2016-05-02 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> This implementation just falls back to giving a string representation of the IP. It supports IPv4 only. --- cpukit/libnetworking/Makefile.am| 2 +- cpukit/libnetworking/libc/getnameinfo.

[PATCH 4/4] libcsupport: Add dummy for setgroups().

2016-05-02 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> The dummy for setgroups() allows applications using it to build (for example civetweb webserver). --- cpukit/libcsupport/Makefile.am | 2 +- cpukit/libcsupport/src/setgroups.c

[PATCH 0/4] Add minimal getnameinfo() and dummy for setgroups().

2016-05-02 Thread Christian Mauderer
. I took the patches out of the discussion regarding where to put civetweb. It seems that this discussion will still need some time. These four patches are not a matter of the ongoing discussion and should therefore be handled independent. Kind regards Christian Mauderer

Re: [civetweb] Interface for setting stack size and scheduler options

2016-04-20 Thread Christian Mauderer
only: https://groups.google.com/forum/#!topic/civetweb/_Mul9PxgpBE Eventually someone could add a few thoughts what would be a good solution? Thanks Christian Mauderer -- embedded brains GmbH Christian Mauderer Dornierstr. 4 D-82178 Puchheim Germany

[PATCH 00/13] Replace mongoose with civetweb.

2016-04-21 Thread Christian Mauderer
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

[PATCH 03/13] testsuite: Add test for getnameinfo().

2016-04-21 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> --- testsuites/libtests/Makefile.am| 1 + testsuites/libtests/configure.ac | 1 + testsuites/libtests/libnetworking01/Makefile.am| 22 +++ testsuites/libtests/libnetworking01/

[PATCH 09/13] mghttpd: Add stack size and scheduling options.

2016-04-21 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> This applies the changes from 54da7c3e55056efd93adece52076b720490258d6. --- cpukit/mghttpd/civetweb.c | 117 +- 1 file changed, 96 insertions(+), 21 deletions(-) diff --git a/

[PATCH 04/13] libcsupport: Add dummy for setgroups().

2016-04-21 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> The dummy for setgroups() allows applications using it to build (for example civetweb webserver). --- cpukit/libcsupport/Makefile.am | 2 +- cpukit/libcsupport/src/setgroups.c

[PATCH 07/13] mghttpd: Use HAVE_CONFIG_H.

2016-04-21 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> This applies the changes from 4248b28296af7a56c3b1fb14c53debd8d79ed6d9. --- cpukit/mghttpd/civetweb.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cpukit/mghttpd/civetweb.c b/cpukit/mghttpd/civetweb.c index 5

[PATCH 06/13] mghttpd: Use poll() replacement.

2016-04-21 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> This patch provides a poll() replacement based on the poll() used for civetweb on windows. A similar patch based on the one on http://forums.bannister.org/ubbthreads.php?ubb=showflat=7600=1 had been integrated into the

[PATCH 10/13] mghttpd: Don't use __sync_XXX_and_fetch functions.

2016-04-21 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> This patch should be replaced by one that uses libatomic as soon as it is provided by our toolchain. --- cpukit/mghttpd/civetweb.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/cpukit/m

[PATCH 02/13] libnetworking: Add minimal getnameinfo().

2016-04-21 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> This implementation just falls back to giving a string representation of the IP. It supports IPv4 only. --- cpukit/libnetworking/Makefile.am| 2 +- cpukit/libnetworking/libc/getnameinfo.

[PATCH 01/13] libnetworking: Add prototype for getnameinfo().

2016-04-21 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> Copy the prototype and necessary defines for getnameinfo() from current FreeBSD. --- cpukit/libnetworking/netdb.h | 47 1 file changed, 47 insertions(+) diff --git a/

[PATCH 08/13] mghttpd: Use MD5 library.

2016-04-21 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> This applies the changes from ea008e2d0d78b49e0f793949ab4a665b69283372. --- cpukit/mghttpd/civetweb.c | 5 + 1 file changed, 5 insertions(+) diff --git a/cpukit/mghttpd/civetweb.c b/cpukit/mghttpd/civetweb.c index 1

[PATCH 12/13] mghttpd: Use gethostbyname instead of getaddrinfo.

2016-04-21 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> RTEMS does not have a getaddrinfo() so use gethostbyname() instead. This reintroduces a not thread save function into the code but it seems that we have no better replacement at the moment. --- cpukit/mghttpd/civetweb.

[PATCH 11/13] mghttpd: Allow to have no timegm().

2016-04-21 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> We currently don't have a timegm function. There seems to be no easy way to replace this function with POSIX functions in a thread save way. This patch just avoids the call. Note that with this solution, the caching f

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

2016-04-28 Thread Christian Mauderer
Am 27.04.2016 um 02:07 schrieb Chris Johns: > On 26/04/2016 22:22, Christian Mauderer wrote: >> Am 26.04.2016 um 04:51 schrieb Chris Johns: >>> On 26/04/2016 07:22, Joel Sherrill wrote: >>>> [removed part not relevant for this part of the discussion] >>&g

[PATCH v2] linker set: Allow adding any variable into content

2016-08-01 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> The newly created macro allows to add any kind of variable into the content of a linker set. This allows (for example) saving an execution state of a function using the following method: - put a group of different var

[PATCH] linker set: Allow adding any variable into content

2016-08-01 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> The newly created macro allows to add any kind of variable into the content of a linker set. This allows (for example) saving an execution state of a function using the following method: - put a group of different var

libbsd: How to add an option for switching off IPv6 (or other BSD Kernel configurations)

2016-08-01 Thread Christian Mauderer
eas how to implement such an option? I'm quite inexperienced on how to use waf, so I would need some guidance how this could be implemented. Are there any hints how I could start implementing such an option? Some examples or similar code? Kind regards

Add FreeBSD PF Firewall to libbsd

2016-08-02 Thread Christian Mauderer
15749.html Kind regards Christian Mauderer -- embedded brains GmbH Christian Mauderer Dornierstr. 4 D-82178 Puchheim Germany email: christian.maude...@embedded-brains.de Phone: +49-89-18 94 741 - 18 Fax: +49-89-18 94 741 - 08 PGP: Public key available

Re: Add FreeBSD PF Firewall to libbsd

2016-08-03 Thread Christian Mauderer
Am 03.08.2016 um 08:02 schrieb Chris Johns: > On 03/08/2016 15:56, Christian Mauderer wrote: >> Am 03.08.2016 um 02:54 schrieb Chris Johns: >>> On 02/08/2016 21:27, Christian Mauderer wrote: >>>> - A basic support for the FreeBSD cdev subsystem. This sub

Re: Add FreeBSD PF Firewall to libbsd

2016-08-03 Thread Christian Mauderer
Am 03.08.2016 um 08:46 schrieb Chris Johns: > On 03/08/2016 16:15, Christian Mauderer wrote: >> Basically it boils down to the following: Currently I use an >> __attribute__ on every variable that has to be initialized. That makes >> updates a little more difficult because

Re: libbsd / waf: Broken --show-commands support

2016-07-11 Thread Christian Mauderer
Am 09.07.2016 um 06:45 schrieb Chris Johns: > On 8/07/2016 6:34 PM, Christian Mauderer wrote: >> >> I'm currently trying to port pf to libbsd. While doing that, I wanted to >> check some of the compiler calls using the waf configure option >> --show-commands. With the

libbsd / waf: Broken --show-commands support

2016-07-08 Thread Christian Mauderer
review the patch to check that it doesn't break the long command line support again? Kind regards Christian Mauderer ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

[PATCH] Fix the --show-commands option.

2016-07-08 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> If the --show-commands is set, the cmd-string is joined for printing. This breaks a later Popen call that expects an array instead of an fully assembled string. This patch fixes the problem. --- rtems.py | 4 ++-- 1 file chan

Re: libbsd: How to add an option for switching off IPv6 (or other BSD Kernel configurations)

2016-08-05 Thread Christian Mauderer
Am 02.08.2016 um 12:21 schrieb Chris Johns: > On 2/08/2016 8:05 PM, Christian Mauderer wrote: >> Am 02.08.2016 um 08:57 schrieb Christian Mauderer: >>> Am 02.08.2016 um 04:09 schrieb Chris Johns: >>>> On 02/08/2016 00:04, Christian Mauderer wrote: >> [...] >

Re: Basic IEEE802.11 (WiFi, WLAN) support for RTEMS (libbsd)

2017-02-06 Thread Christian Mauderer
__ > devel mailing list > devel@rtems.org > http://lists.rtems.org/mailman/listinfo/devel -- embedded brains GmbH Christian Mauderer Dornierstr. 4 D-82178 Puchheim Germany email: christian.maude...@embedded-brains.de Phone: +49

Re: git retrieval with git blocked

2017-02-17 Thread Christian Mauderer
at this page: https://git.rtems.org/rtems/commit/?id=df184ebea1acdf2a72567ec3981d9669c4e83084 I'm not sure how that would work together with RSB. You might have to clone the repository in an extra step at the expected source location before starting to build anything. Kind regards

Re: [PATCH 7/9] Patching STTY command for use in RTEMS

2017-02-09 Thread Christian Mauderer
-136,8 +209,13 @@ args:argc -= optind; > speed = strtonum(*argv, 0, UINT_MAX, ); > if (errstr) > err(1, "speed"); > +#ifndef __rtems__ > cfsetospeed(, speed); > cfsetispeed(, speed); > +#else /* __rtems__ */ >

Re: [PATCH 7/9] Patching STTY command for use in RTEMS

2017-02-13 Thread Christian Mauderer
ise an issue at the newlib but it is quite possible that patching this would break a number of other existing applications (not only RTEMS but others that use newlib) so I'm not sure whether the newlib developers are really found of this idea. Kind regards Christian Mauderer > > Kevin Kirspel >

Re: [PATCH 7/9] Patching STTY command for use in RTEMS

2017-02-10 Thread Christian Mauderer
gineer - Sr. Staff > Idexx Roswell > 235 Hembree Park Drive > Roswell GA 30076 > Tel: (770)-510- ext. 81642 > Direct: (770)-688-1642 > Fax: (770)-510-4445 > > -Original Message- > From: Christian Mauderer [mailto:christian.maude...@embedded-brains.de] >

[PATCH 2/2] bsp/atsam: Add SDRAM IS42S16320F-7BL.

2016-09-06 Thread Christian Mauderer
From: Christian Mauderer <christian.maude...@embedded-brains.de> --- c/src/lib/libbsp/arm/atsam/configure.ac | 12 +++- c/src/lib/libbsp/arm/atsam/startup/ram-config.c | 41 + 2 files changed, 52 insertions(+), 1 deletion(-) diff --git a/c/src/lib/libb

atsam-bsp: Allow to use different SDRAM

2016-09-06 Thread Christian Mauderer
Hello, this patch set allows to use a different SDRAM in the atsam BSP. Similar to the CPU, the SDRAM-type can be selected using a --enable-sdram=xxx configure option. Kind regards Christian Mauderer ___ devel mailing list devel@rtems.org http

  1   2   3   4   5   6   7   8   9   10   >