[OpenWrt-Devel] [PATCH] toolchain/kernel-headers: use target config when generating headers

2016-03-24 Thread Karl Vogel
patches has since been dropped), but it indicates the issue. With this patch, the toolchain kernel headers will be those of the actual target kernel. Signed-off-by: Karl Vogel <karl.vo...@gmail.com> --- include/kernel-defaults.mk| 2 ++ toolchain/kernel-headers/Makefile | 7 +++ 2

Re: [OpenWrt-Devel] Read-only mirror https://github.com/openwrt/openwrt is stuck since 12 days ago

2016-03-16 Thread Karl Vogel
On Tue, Mar 15, 2016 at 6:22 PM, Bruno Randolf wrote: > On 03/07/2016 10:51 AM, John Crispin wrote: > > > > > > On 07/03/2016 11:47, Álvaro Fernández Rojas wrote: > >> I just want to add that openwrt-commits list is also affected, since > last commit published there matches the

[OpenWrt-Devel] fstools: MTD driver - deadc0de marker

2016-03-02 Thread Karl Vogel
I ran into an issue on a platform using a JFFS2 partition where the overlayfs mount was done with tmpfs. After some investigation the issue seemed to happen in the mount_root binary, more specifically during the mtd_volume_identify() function. The code does the check: if (v->type == UBIVOLUME

[OpenWrt-Devel] Mismatch in ubus / uloop options

2015-12-07 Thread Karl Vogel
In ubus_reconnect, the ctx->sock.fd is created and set to non-blocking mode: fcntl(ctx->sock.fd, F_SETFL, fcntl(ctx->sock.fd, F_GETFL) | O_NONBLOCK | > O_CLOEXEC); >

[OpenWrt-Devel] [PATCH] ubus: Correct usage of timeout on poll function

2015-12-06 Thread Karl Vogel
quent read() would then block. Signed-off-by: Karl Vogel <karl.vo...@gmail.com> --- libubus-io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libubus-io.c b/libubus-io.c index 9d3ac6c..e6d4236 100644 --- a/libubus-io.c +++ b/libubus-io.c @@ -54,7 +54,7 @@ static void

[OpenWrt-Devel] Build issue using ccache due to GCC patch / R_MIPS_26

2015-07-14 Thread Karl Vogel
There seems to be an issue using ccache in combination with the openwrt patched gcc. Found the issue while investigating the following compilation issue: ---

[OpenWrt-Devel] [PATCH] ccache: Make ccache aware of OpenWRT provided GCC patch.

2015-07-14 Thread Karl Vogel
. This commit adds a patch to ccache to make it aware of the new option and removes the feature from the ccache package to use the host system's installed ccache binary. Signed-off-by: Karl Vogel karl.vo...@gmail.com --- tools/ccache/Makefile | 24 - tools/ccache

[OpenWrt-Devel] [PATCH] Make ccache aware of OpenWRT provided GCC patch.

2015-07-14 Thread Karl Vogel
@@ -0,0 +1,31 @@ +From 135d868c539f994afbcf80d313ba2e39f031d3b1 Mon Sep 17 00:00:00 2001 +From: Karl Vogel karl.vo...@gmail.com +Date: Tue, 14 Jul 2015 11:05:33 +0200 +Subject: [PATCH] Include environment variable GCC_HONOUR_COPTS in hash. + +The OpenWRT patch, 910-mbsd_multi.patch, to GCC adds

[OpenWrt-Devel] [PATCH] Make ccache aware of OpenWRT provided GCC patch.

2015-07-14 Thread Karl Vogel
-copts.patch @@ -0,0 +1,31 @@ +From 135d868c539f994afbcf80d313ba2e39f031d3b1 Mon Sep 17 00:00:00 2001 +From: Karl Vogel karl.vo...@gmail.com +Date: Tue, 14 Jul 2015 11:05:33 +0200 +Subject: [PATCH] Include environment variable GCC_HONOUR_COPTS in hash. + +The OpenWRT patch, 910-mbsd_multi.patch, to GCC adds

[OpenWrt-Devel] [PATCH] ccache: Make ccache aware of OpenWRT provided GCC patch.

2015-07-14 Thread Karl Vogel
. This commit adds a patch to ccache to make it aware of the new option and removes the feature from the ccache package to use the host system's installed ccache binary. Signed-off-by: Karl Vogel karl.vo...@gmail.com --- tools/ccache/Makefile | 24 - tools/ccache

Re: [OpenWrt-Devel] network/znc: Package binaries appear to be broken by MIPS16

2015-01-21 Thread Karl Vogel
On Tue, Jan 20, 2015 at 11:07 AM, Sławomir Demeszko s.demes...@wireless-instruments.com wrote: 19.01.2015 19:50, Oliver wrote: I'll try 4.9 - out of interest, do you have any references to the bug in 4.8 (C++ specific?) Sorry, I do not remember where I read about that. I think you're

[OpenWrt-Devel] CONFIG_DEBUG and CONFIG_USE_SSTRIP

2014-06-17 Thread Karl Vogel
Currently when CONFIG_DEBUG is enabled, stripping is disabled and the sstrip option becomes unavailable. Looking at the commit history I noticed ticket #6373 which introduced some of these changes. Reading the ticket it seems the intend was to disable stripping when a user selected CONFIG_DEBUG.

[OpenWrt-Devel] [PATCH] Allow installation of symlinks using RAMFS_COPY_BIN env var.

2014-03-31 Thread Karl Vogel
run_ramfs() uses install_bin to copy executable files to the ram partition. The install_bin function takes multiple parameters, the first being the executable to copy and the rest of the args are symlinks to that binary. There currently isn't any way to pass multiple arguments to install_bin in

Re: [OpenWrt-Devel] ubus_invoke interruptions

2014-03-18 Thread Karl Vogel
On Tue, Mar 18, 2014 at 4:06 PM, Felix Fietkau n...@openwrt.org wrote: On 2014-03-17 16:49, Helmut Schaa wrote: On Mon, Mar 17, 2014 at 4:26 PM, Felix Fietkau n...@openwrt.org wrote: On 2014-03-17 09:18, Helmut Schaa wrote: just realized that using ubus_invoke can get interrupted by other

[OpenWrt-Devel] [PATCH] ubus: Fix imbalance in lua stack push/pop of values.

2014-02-11 Thread Karl Vogel
-by: Karl Vogel karl.vo...@gmail.com Cc: Felix Fietkau n...@openwrt.org --- lua/ubus.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/lua/ubus.c b/lua/ubus.c index 6da935d..0f2338c 100644 --- a/lua/ubus.c +++ b/lua/ubus.c @@ -289,6 +289,8 @@ ubus_method_handler(struct

[OpenWrt-Devel] [PATCH] uloop: Add flag to allow callback to be called on error conditions.

2014-02-11 Thread Karl Vogel
the fd from the polling set. Signed-off-by: Karl Vogel karl.vo...@gmail.com Cc: Felix Fietkau n...@openwrt.org --- uloop.c |6 -- uloop.h |2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/uloop.c b/uloop.c index 0566d80..d293edb 100644 --- a/uloop.c +++ b/uloop.c

Re: [OpenWrt-Devel] [PATCH 1/5] netifd : Disable netlink auto ack

2014-02-11 Thread Karl Vogel
-by: Karl Vogel karl.vo...@gmail.com Acked-by: Hans Dedecker dedec...@gmail.com --- system-linux.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/system-linux.c b/system-linux.c index db78240..e1b9924 100644 --- a/system-linux.c +++ b/system-linux.c @@ -456,8

[OpenWrt-Devel] [PATCH][packages] Enable better customization of nginx features.

2012-11-16 Thread Karl Vogel
Add configuration settings to disable certain features in nginx to be able to reduce it's footprint and allow nginx to be built with support for lua. Signed-off-by: Karl Vogel karl.vo...@gmail.com --- net/nginx/Config.in | 131 + net/nginx

[OpenWrt-Devel] [PATCH][packages] Enable better customization of nginx features.

2012-11-16 Thread Karl Vogel
Add configuration settings to disable certain features in nginx to be able to reduce it's footprint and allow nginx to be built with support for lua. Signed-off-by: Karl Vogel karl.vo...@gmail.com --- net/nginx/Config.in | 131 + net/nginx

Re: [OpenWrt-Devel] [PATCH][packages] Enable better customization of nginx features.

2012-11-16 Thread Karl Vogel
On Nov 16, 2012 11:16 AM, Karl Vogel karl.vo...@gmail.com wrote: Add configuration settings to disable certain features in nginx to be able to reduce it's footprint and allow nginx to be built with support for lua. Signed-off-by: Karl Vogel karl.vo...@gmail.com Sorry for the duplicate spam