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

2016-03-24 Thread Karl Vogel
ayer7 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 --- include/kernel-defaults.mk| 2 ++ toolchain/kernel-headers/Makefile | 7 +++ 2 files changed, 5 inser

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 last one in the re

[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); > http://git.openwrt.org/?p=project/ubus.git;a=blob;f=libubus-io.c;h=9d3ac6c33f4d926c7f5c5d2033d531fc5fc6f834;hb=259450f414d8c9ee4189

[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 --- 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 wait_data(int fd,

[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 --- tools/ccache/Makefile | 24 - tools/ccache/patches/

[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 --- tools/ccache/Makefile | 24 - tools/ccache/patches/

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

2015-07-14 Thread Karl Vogel
he/patches/100-honour-copts.patch @@ -0,0 +1,31 @@ +From 135d868c539f994afbcf80d313ba2e39f031d3b1 Mon Sep 17 00:00:00 2001 +From: Karl Vogel +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,

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

2015-07-14 Thread Karl Vogel
he/patches/100-honour-copts.patch @@ -0,0 +1,31 @@ +From 135d868c539f994afbcf80d313ba2e39f031d3b1 Mon Sep 17 00:00:00 2001 +From: Karl Vogel +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,

[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/staging_dir/toolchain-mips_gcc-4.6-linaro_uClibc-0.9.33.2/lib/gcc/mips-openwrt-linux-uclibc/4.6.3/../../../../mips-openwrt-linux-

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 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 referring to the MIPS16 bug in

[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 ru

Re: [OpenWrt-Devel] ubus_invoke & interruptions

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

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

2014-02-11 Thread Karl Vogel
rg/ticket/14590 > > Signed-off-by: Karl Vogel > Acked-by: Hans Dedecker > --- > 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

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

2014-02-11 Thread Karl Vogel
fd from the polling set. Signed-off-by: Karl Vogel Cc: Felix Fietkau --- 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 @@ -174,7 +174,8 @@ static int

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

2014-02-11 Thread Karl Vogel
Signed-off-by: Karl Vogel Cc: Felix Fietkau --- 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 ubus_context *c

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" 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 Vog

[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 --- net/nginx/Config.in | 131 + net/nginx/Mak

[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 --- net/nginx/Config.in | 131 + net/nginx/Mak