Re: [OpenWrt-Devel] [PATCH] lantiq: correct value for fpi clock on ar9

2015-01-21 Thread John Crispin
On 21/01/2015 10:35, Ben Mulvihill wrote: > Hello, > > This is a patch to go in target/linux/lantiq/patches-3.14/ please send a patch that adds the file instead of just sending the file > > It corrects the fpi clock value on lantiq ar9. See this discussion > for further details: > > https:/

[OpenWrt-Devel] issue: usb1.x not detected in CC

2015-01-21 Thread Luiz Angelo Daros de Luca
Hello, I'm running OpenWRT in Virtualbox. I have no problem with BB. However, when testing trunk, I noticed that usb1.x functions simply does not work. For BB, in a clean install (+usbutils), I get: https://downloads.openwrt.org/barrier_breaker/14.07/x86/generic/openwrt-x86-generic-combined-ext4.

[OpenWrt-Devel] [PATCH v2] build: allow openwrt.git packages to be replaced by feeds

2015-01-21 Thread Mathieu Olivari
Currently, replacing a package available in openwrt.git requires modifications in openwrt.git, or requires duplicating the package in a feed but with a different name, which causes all kind of problems related to dependencies (all packages selecting it would have to be modified accordingly to selec

Re: [OpenWrt-Devel] Xilinx Zynq zedboard integration

2015-01-21 Thread Javier Domingo Cansino
Ok, I have narrowed the problem to something with the compilation of the kernel. I think it's more an incompatibility between xilinx and linux patches, because the kernel fails to boot even if build by hand from the build_dir. I will try to split the patch in more digestible parts, and see if I ca

Re: [OpenWrt-Devel] [PATCH] feeds.conf.default: add dlan feed

2015-01-21 Thread Florian Fainelli
On 29/12/14 13:53, Michael Heimpold wrote: > Since mcs814x/dLAN-USB-Extender profile refers to some packages in this > feed, we should list it here. blogic was asking whether these packages could be moved to the main OpenWrt package feed instead, the answer is no, because they are binary-only pack

Re: [OpenWrt-Devel] QEMU 2.0.0

2015-01-21 Thread Florian Fainelli
On 21/01/15 09:08, Ning Ye wrote: > I am just wondering if anyone maintains QEMU in OpenWRT toolchain. I want > to use QEMU 2.0.0 or later as it fixed VHD virtual disk issues. Of course, > it has dependency on other library which is not simple to upgrade. That's > where I am stuck now. Right,

[OpenWrt-Devel] [PATCH] [packages_extra] snort: add missing libuuid dependency

2015-01-21 Thread daniel
The current version of snort fails to build because the libuuid pkg dependency is missing. This little patch fixes the issue, please apply. Signed-off-by: Daniel Danzberger Index: net/snort/Makefile === --- net/snort/Makefile (revi

Re: [OpenWrt-Devel] Fwd: MIPS libatomic

2015-01-21 Thread Dirk Neukirchen
On 21.01.2015 06:10, Santiago Regusci wrote: > Hi > > I am having trouble building a package czmq with barrier breaker for > Mips24kc. > i get src/.libs/libczmq.so: undefined reference to `__sync_add_and_fetch_8' > do i have to add libatomic in the makefile toolchain. or has did anyone > have a si

[OpenWrt-Devel] [PATCH uclient] use const for char buffer in uclient_write

2015-01-21 Thread Rafał Miłecki
We are not supposed to modify it and ustream accepts const already. Signed-off-by: Rafał Miłecki --- uclient-backend.h | 2 +- uclient-http.c| 2 +- uclient.c | 2 +- uclient.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/uclient-backend.h b/uclient-

[OpenWrt-Devel] libcurl: questing about configure/build options

2015-01-21 Thread Christian Schoenebeck
Two questions about curl/libcurl package and its build configuration: 1.) There is a new config option available since 17.01.2015 to configure https setting --enable-https / --disable-https(secure http) Inside the original curl configure script I cannot find this option (all others are t

Re: [OpenWrt-Devel] Fwd: MIPS libatomic

2015-01-21 Thread Santiago Regusci
this time i downloaded the trunk I found /home/pc/pruebaBB/openwrt/build_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04-final/mips-openwrt-linux-uclibc/libgcc/libgcc-std.ver: 1830__sync_fetch_and_xor_1 1831__sync_fetch_and_nand_1 1832: __sync_add_and_fetc

[OpenWrt-Devel] Ubiquiti XW builds

2015-01-21 Thread Ken Buska
Good day, I'm looking for a XW build for a RocketM5, RocketM5 Titanium, or BulletM5. Do you have any suggestions or can you point me in a direction? Its great that a XW build is available for the Loco and Nano but it doesn't work for my situation where we use Rockets for AP's. -- Thank you, Ken _

Re: [OpenWrt-Devel] [PATCH v2] procd: delay inittab workers until the tty exists.

2015-01-21 Thread Owen Kirby
John, On 15-01-19 10:34 PM, John Crispin wrote: On 20/01/2015 01:21, Owen Kirby wrote: Add hotplug support for tty devices in /etc/inittab that are specified by the askfirst keyword so that terminals attached after boot time get console processes started. This was tested on an AT91 target usi

Re: [OpenWrt-Devel] [PATCH 5/5] utils: use clock_get_time() for clock_gettime() on Apple.

2015-01-21 Thread Felix Fietkau
On 2015-01-21 14:21, Yousong Zhou wrote: > It turns out that mach_absolute_time() is not monotonic at all. While > at it, convert the CLOCK_REALTIME implementation to using > clock_get_time() as well. > > Signed-off-by: Yousong Zhou Applied the remaining 4 patches, thanks. - Felix _

Re: [OpenWrt-Devel] Hyper-V Support for X86 or X86_64

2015-01-21 Thread Ning Ye
This is the latest Hyper-V patch to support Linux 3.14. Signed-off-by: Ning Ye diff --git a/config/Config-images.in b/config/Config-images.in old mode 100644 new mode 100755 index 5c2e79e..b8e9d9d --- a/config/Config-images.in +++ b/config

Re: [OpenWrt-Devel] [PATCH 1/5] uloop: fix out-of-bound loop index.

2015-01-21 Thread Felix Fietkau
On 2015-01-21 14:21, Yousong Zhou wrote: > Signed-off-by: Yousong Zhou > --- > uloop.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/uloop.c b/uloop.c > index 9a77ce4..3224f4b 100644 > --- a/uloop.c > +++ b/uloop.c > @@ -394,11 +394,11 @@ int uloop_fd_delete(stru

[OpenWrt-Devel] Proposal: change buildbot's build failure logic to be less restrictive regarding packages from feeds

2015-01-21 Thread Hannu Nyman
We have seen several times in the past few months that one non-essential package from feeds fails to build and stops the whole buildbot build. Yesterday it was "ola" from packages feeds, and in the past few months at least "python" from packages and "ltq-vmmc" from telephony have done the same.

[OpenWrt-Devel] QEMU 2.0.0

2015-01-21 Thread Ning Ye
I am just wondering if anyone maintains QEMU in OpenWRT toolchain. I want to use QEMU 2.0.0 or later as it fixed VHD virtual disk issues. Of course, it has dependency on other library which is not simple to upgrade. That's where I am stuck now. I am currently use QEMU 2.0 separately from OpenW

[OpenWrt-Devel] [PATCH] hostapd: backport BSSID black/whitelists

2015-01-21 Thread Stefan Tomanek
This change adds the configuration options "bssid_whitelist" and "bssid_blacklist" used to limit the AP selection of a network to a specified (finite) set or discard certain APs. This can be useful for environments where multiple networks operate using the same SSID and roaming between those is no

[OpenWrt-Devel] [PATCH] hostapd: Add client association log file

2015-01-21 Thread Stefan Tomanek
This change adds the configuration option "assoc_log_file" to hostapd, making it possible to specify a log file to which clients joining and parting the corresponding BSS are written. Every BSS can have an individual log file, and each entry written contains a timestamp, an indicator whether the c

[OpenWrt-Devel] [PATCH 5/5] utils: use clock_get_time() for clock_gettime() on Apple.

2015-01-21 Thread Yousong Zhou
It turns out that mach_absolute_time() is not monotonic at all. While at it, convert the CLOCK_REALTIME implementation to using clock_get_time() as well. Signed-off-by: Yousong Zhou --- I am not sure though whether the detection for clock_gettime() is still necessary for Apple platform though.

[OpenWrt-Devel] [PATCH 3/5] ustream-fd: fix logic invert of write polling.

2015-01-21 Thread Yousong Zhou
ustream_write_pending() returns true if write buffer was flushed there. Signed-off-by: Yousong Zhou --- ustream-fd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ustream-fd.c b/ustream-fd.c index 4abb530..bc44d4a 100644 --- a/ustream-fd.c +++ b/ustream-fd.c @@ -119,7 +119,

[OpenWrt-Devel] [PATCH 4/5] uloop: optimize uloop_timeout_set() implementaiton a bit.

2015-01-21 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- uloop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uloop.c b/uloop.c index 3224f4b..883f6f1 100644 --- a/uloop.c +++ b/uloop.c @@ -453,14 +453,14 @@ int uloop_timeout_set(struct uloop_timeout *timeout, int msecs) if (timeout->p

[OpenWrt-Devel] [PATCH 2/5] ustream: add function ustream_read().

2015-01-21 Thread Yousong Zhou
It can be used to fill caller-specified buffer with data already in ustream read buffer. Useful in the following use pattern. int available = ustream_pending_data(s, false); if (available >= sizeof(struct msghdr)) { struct msghdr h; ustream_read(s,

[OpenWrt-Devel] [PATCH 1/5] uloop: fix out-of-bound loop index.

2015-01-21 Thread Yousong Zhou
Signed-off-by: Yousong Zhou --- uloop.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/uloop.c b/uloop.c index 9a77ce4..3224f4b 100644 --- a/uloop.c +++ b/uloop.c @@ -394,11 +394,11 @@ int uloop_fd_delete(struct uloop_fd *fd) { int i; - for (i = 0; i <

[OpenWrt-Devel] [PATCH] Adding support for 6LoWPAN over Bluetooth Low Energy in kernel 3.18.

2015-01-21 Thread Duda, Lukasz
Adding support 6LoWPAN over Bluetooth Low Energy in kernel 3.18. Creating new bluetooth_6lowpan group with COFNIG_6LOWPAN and CONFIG_BT_6LOWPAN. Adding kernel object dependencies for 6LoWPAN over Bluetooth Low Energy. Signed-off-by: Lukasz Duda --- Index: package/kernel/linux/modules/other.mk

Re: [OpenWrt-Devel] uclient & libubox: handling SIGPIPE / EPIPE

2015-01-21 Thread John Crispin
On 21/01/2015 11:32, Rafał Miłecki wrote: > I'm trying to use uclient to monitor my home network servers querying > http://ip/status . So far I was using bash + curl, but I'm trying to > learn libubox now. > > So today I accidentally queried some unknown machine (random IP) and > my app crashed.

[OpenWrt-Devel] uclient & libubox: handling SIGPIPE / EPIPE

2015-01-21 Thread Rafał Miłecki
I'm trying to use uclient to monitor my home network servers querying http://ip/status . So far I was using bash + curl, but I'm trying to learn libubox now. So today I accidentally queried some unknown machine (random IP) and my app crashed. What has happened: 1) When I first called "uclient_re

Re: [OpenWrt-Devel] [PATCH] package-ipkg.mk: allow to install CC packages on older versions

2015-01-21 Thread Rafał Miłecki
On 21 January 2015 at 10:36, Christian Schoenebeck wrote: > Why to block users from using updated packages like ca-certificates, > privoxy or updated luci-apps Because we: 1) Don't want help users breaking their installations if they upgrade wrong package 2) Don't want to keep a list of packages

[OpenWrt-Devel] [PATCH] package-ipkg.mk: allow to install CC packages on older versions

2015-01-21 Thread Christian Schoenebeck
Packages compiled on CC / trunk could not be installed on BB and before. Why to block users from using updated packages like ca-certificates, privoxy or updated luci-apps. Checks if default_postinst/prerm function exists in /lib/functions.sh then run, otherwise run [xxx]-pkg script if exists. Sign

[OpenWrt-Devel] [PATCH] lantiq: correct value for fpi clock on ar9

2015-01-21 Thread Ben Mulvihill
Hello, This is a patch to go in target/linux/lantiq/patches-3.14/ It corrects the fpi clock value on lantiq ar9. See this discussion for further details: https://lists.openwrt.org/pipermail/openwrt-devel/2015-January/030688.html --- a/arch/mips/lantiq/xway/clk.c 2015-01-21 10:15:44.0

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

Re: [OpenWrt-Devel] Fwd: MIPS libatomic

2015-01-21 Thread Alexandru Ardelean
I don't think libatomic exports that symbol. It looks like that symbol should be in the standard gcc. You can try to add +libatomic to the DEPENDS section of czmq to see if that helps. But note that the libatomic package was added in this commit: 7edd1ccebaf00db527fcbb1c6e75827722cfdc21 I'd say t