Re: [OpenWrt-Devel] [PATCH] kernel: fix uninitialised variable causing 1-wire to not bind to GPIO

2015-05-08 Thread Felix Fietkau
On 2015-05-01 12:15, Andrew McDonnell wrote: > This patch fixes a bug where 1-wire fails with an error instead of binding > to the requested GPIO pin: "gpio_request_one (ext_pullup_enable_pin) failed" > > --- > package/kernel/w1-gpio-custom/src/w1-gpio-custom.c | 1 + > 1 file changed, 1 insertio

Re: [OpenWrt-Devel] [PATCH procd] hotplug: support for interval commands

2015-05-08 Thread Felix Fietkau
On 2015-05-07 12:54, Rafał Miłecki wrote: > This allows executing code with a given interval. As every command, it > can be triggered by any uevent. > > Intervals may be useful for counting elapsed time since some action. It > allows e.g. indicating that button has been pressed for some time and >

Re: [OpenWrt-Devel] [PATCH] [libubox][v4] b64: add base64 support

2015-05-08 Thread Felix Fietkau
On 2015-04-19 02:32, Luka Perkov wrote: > On Fri, Apr 17, 2015 at 02:14:14AM +0200, Felix Fietkau wrote: >> > +size_t b64decode(void *out, const void *in, size_t len) >> > +{ >> > + uint8_t *o = (uint8_t *) out; >> > + const uint8_t *data = (const uin

Re: [OpenWrt-Devel] Patch to fix broken DHCP renewals with metric for AA

2015-05-08 Thread Felix Fietkau
On 2015-03-13 18:51, Joseph Marlin wrote: > Below is a patch to fix a bug I ran into on Attitude Adjustment. > > When a DHCP interface with a metric assigned to it attempted to renew its > lease, the default route was removed and not re-added. However, removing the > metric from the interface w

Re: [OpenWrt-Devel] [PATCH 3/4] ralink: add mt7621 support automatic recognition memory size(32M-512M)

2015-05-08 Thread Felix Fietkau
On 2015-05-07 04:25, wengbj wrote: > From: daixj > > Signed-off-by: daixj > +Index: linux-3.18.11/arch/mips/kernel/setup.c > +=== > +--- linux-3.18.11.orig/arch/mips/kernel/setup.c 2015-04-04 > 10:46:37.0 +0800 >

Re: [OpenWrt-Devel] [PATCH] build: don't call prereq for any package/symlinks rules

2015-05-08 Thread Felix Fietkau
On 2015-04-28 01:46, Mathieu Olivari wrote: > Most of the time, we want to make sure OpenWrt has been configured and > setup before start running make. However, in case of package/symlinks, > forcing prereq as a dependency creates multiple issues: > *when executed on a clean workspace, it will prom

Re: [OpenWrt-Devel] [PATCH 1/4] kernel: mips jump only works with memory less then 256mb. when enable HIGHMEM use long jump

2015-05-07 Thread Felix Fietkau
On 2015-05-07 04:25, wengbj wrote: > Signed-off-by: wengbj This will make the code less efficient, I don't like that. Can't we just change the kernel code in the mips_module_reloc patch to enforce allocation within the lowmem memory space? - Felix ___ o

Re: [OpenWrt-Devel] Device tree issues with TL-WDR4900 (mpc85xx) and kernel 4.0.1

2015-05-07 Thread Felix Fietkau
On 2015-05-07 08:01, Wojciech Dubowik wrote: > Try to boot with kernel locking enabled. I have seen jffs2 deadlocks on > readdir. As far as I remember > with this patch it went through but I don't know anymore whether I have > changed sth in config. > > Have a look at (search engine...) [PATCH]

Re: [OpenWrt-Devel] [PATCH] dnsmasq: Bump to dnsmasq2.73rc6

2015-04-23 Thread Felix Fietkau
On 2015-04-23 12:09, Kevin Darbyshire-Bryant wrote: > Bump dnsmasq to v2.73rc6 > > Remove 001-fix-crash-in-auth-code.patch & > 200-fix-dhcpv6-solicit-handling.patch as now included upstream. > > Signed-off-by: Kevin Darbyshire-Bryant The patch is line wrapped and does not apply. - Felix ___

Re: [OpenWrt-Devel] [PATCH] [libubox][v4] b64: add base64 support

2015-04-16 Thread Felix Fietkau
On 2015-04-17 01:13, Luka Perkov wrote: > The base code has been taken from zstream project which was > written by Steven Barth. > > Signed-off-by: Luka Perkov > CC: Steven Barth > --- > --- /dev/null > +++ b/b64.c > @@ -0,0 +1,117 @@ > +/* > + * Copyright (C) 2011 Steven Barth > + * Copyright

Re: [OpenWrt-Devel] -ash: changed behaviour of local vars / v1.22.1 -> v1.23.2

2015-04-16 Thread Felix Fietkau
On 2015-04-16 20:57, Bastian Bittorf wrote: > while heavy testing of recent OpenWrt i > discovered the following problem: > > x() { local x=1; echo $x; local x; echo $x; } > > older busybox will output > 1 > 1 > > and v1.23.2 will only output > 1 > > this means: 'local varname' will empty the v

Re: [OpenWrt-Devel] [PATCH] [libubox][v3] b64: add base64 support

2015-04-14 Thread Felix Fietkau
On 2015-04-14 18:24, Luka Perkov wrote: > Hi, > > On Tue, Apr 14, 2015 at 06:00:32PM +0200, Felix Fietkau wrote: >> >> + if (data[len - 1] == '=') >> >> + ret--; >> >> + >> >> + if (data[len - 2] == '=') >

Re: [OpenWrt-Devel] [PATCH] [libubox][v3] b64: add base64 support

2015-04-14 Thread Felix Fietkau
On 2015-04-14 17:41, John Crispin wrote: > hi > > comments inline > > On 13/04/2015 02:34, Luka Perkov wrote: >> The base code has been taken from zstream project which was >> written by Steven Barth. >> >> Signed-off-by: Luka Perkov >> CC: Steven Barth >> --- >> --- /dev/null >> +++ b/b64.h >

Re: [OpenWrt-Devel] [PATCH 1/2] ar71xx: fix ethernet packet loss issues on OM5P-AN

2015-04-13 Thread Felix Fietkau
On 2015-04-10 17:39, Daniel Golle wrote: > Hi! > > Sorry for hijacking this thread... > I observed some recent ubiquiti gear suffering from similar issues, > suspected the hardware being broken or some EE functionality missing in > the driver as the issue usually occurs after some time of inactivi

Re: [OpenWrt-Devel] [PATCH] [libubox][v2] b64: add base64 support

2015-04-12 Thread Felix Fietkau
On 2015-04-12 03:31, Luka Perkov wrote: > The base code has been taken from zstream project which was > written by Steven Barth. > > Signed-off-by: Luka Perkov > CC: Steven Barth Your v2 patch did not properly consider my comments on v1. I'll repeat them with some added clarifications. I think

Re: [OpenWrt-Devel] [PATCH] [ustream-ssl] polarssl: fix long writes

2015-04-11 Thread Felix Fietkau
On 2015-04-11 23:23, Luka Perkov wrote: > Enable to write more data then defined in SSL_MAX_CONTENT_LEN. > > Signed-off-by: Luka Perkov > --- > ustream-polarssl.c | 18 -- > 1 file changed, 12 insertions(+), 6 deletions(-) > > diff --git a/ustream-polarssl.c b/ustream-polarssl.c

Re: [OpenWrt-Devel] [PATCH 0/2] uci: fix uci batch regression on handling comment lines.

2015-04-09 Thread Felix Fietkau
On 2015-04-09 15:48, yszhou4t...@gmail.com wrote: > From: Yousong Zhou > > Yousong Zhou (2): > tests: add test coverage for comment lines within batch commands. > file: reset parsing position on starting over a newline. Applied and committed to OpenWrt Thanks! - Felix __

[OpenWrt-Devel] OpenWrt release name

2015-04-04 Thread Felix Fietkau
Hey OpenWrt community, We're still working hard on preparing the upcoming Chaos Calmer release, and the work on the first release candidate is almost done. We've decided to include the community in picking the name of the next major release after CC. After some internal discussions, we came up wi

Re: [OpenWrt-Devel] [PATCH 3/6] ipq806x: enable usb support

2015-04-03 Thread Felix Fietkau
On 2015-04-03 05:30, Mathieu Olivari wrote: > This change doesn't make USB functional but it does make it selectable > from a configuration perspective. > > Signed-off-by: Mathieu Olivari I think this should be added to the generic config instead. Thanks, - Felix ___

Re: [OpenWrt-Devel] [patch] mac80211: Force Atheros drivers to respect the user's regdomain settings by default

2015-04-03 Thread Felix Fietkau
On 2015-04-03 12:09, Jiri Pirko wrote: > User's regdomain should know the correct setting. So change default for > ath drivers to respect those. > > Signed-off-by: Jiri Pirko As of r45252 this should no longer be necessary. - Felix ___ openwrt-devel ma

Re: [OpenWrt-Devel] [PATCH 2/2] Fix delta path handling.

2015-03-31 Thread Felix Fietkau
On 2015-03-31 18:20, Yousong Zhou wrote: > - Make ctx->savedir sit at the end of ctx->delta_path. > - Add notes to uci_set_savedir() and uci_add_delta_path() to document >the behaviour changes. Applied, thanks. - Felix ___ openwrt-devel mailing lis

Re: [OpenWrt-Devel] FYI: [gentoo-announce] [ GLSA 201503-13 ] BusyBox: Multiple vulnerabilities

2015-03-29 Thread Felix Fietkau
On 2015-03-29 19:33, Daniel Golle wrote: > This might be important... > > - Forwarded message from Mikle Kolyada - > > References > == > > [ 1 ] CVE-2014-4607 > http://nvd.nist.gov/nvd.cfm?cvename=CVE-2014-4607 > [ 2 ] CVE-2014-9645 > http://nvd.nist.gov/nvd.cfm?cven

Re: [OpenWrt-Devel] [PATCH] tools/e2fsprogs: add a darwin-compat patch

2015-03-28 Thread Felix Fietkau
On 2015-03-17 07:41, Lawrence D'Anna wrote: > On darwin we need to import stdint to get these integer typedefs. It works for me on darwin without this patch. What version are you using, and what does the error look like? - Felix ___ openwrt-devel mailing

Re: [OpenWrt-Devel] Rebuilding for specific hardware, example ar71xx/image for TP-Link TL-WR841ND

2015-03-25 Thread Felix Fietkau
On 2015-03-23 10:49, Jean-Michel Pouré - GOOZE wrote: >> /target/linux/ar71xx/image/Makefile > > I read buildroot WIKI page: > http://wiki.openwrt.org/doc/howto/build > > Pardon my ignorance, I am new to OpenWRT. > > If I select target TP-Link TL-WR841ND in target of make-menuconfig > this trigg

Re: [OpenWrt-Devel] [PATCH] toolchain/uClibc: Add uClibc snapshot as selectable version

2015-03-17 Thread Felix Fietkau
On 2015-03-05 03:19, Jeff Waugh wrote: > On Thu, Mar 5, 2015 at 7:04 AM, Dirk Neukirchen > wrote: > > adding uclibc snapshots maybe other (patched) variants > might improve well some things (quality ? pressure to release > new stable version?) > >

Re: [OpenWrt-Devel] [PATCH] [libubox] b64: add base64 support

2015-03-16 Thread Felix Fietkau
On 2015-03-16 18:48, Luka Perkov wrote: > The code has been taken from zstream project which > was written by Steven Barth. > > Signed-off-by: Luka Perkov > CC: Steven Barth > CC: John Crispin > --- > --- /dev/null > +++ b/b64.h > @@ -0,0 +1,25 @@ > +/* > + * Copyright (C) 2011 Steven Barth >

Re: [OpenWrt-Devel] [PATCH] x86: use PARTUUID instead explicitly specifying the device by default

2015-03-14 Thread Felix Fietkau
On 2015-03-10 18:32, Matthias Schiffer wrote: > This changes the x86 image generation to match x86_64, using the PARTUUID for > the rootfs instead of explicitly configuring the device. > > This unbreaks KVM with VirtIO, which uses /dev/vda2 instead of /dev/sda2. > > Tested in QEMU/KVM with VirtIO

Re: [OpenWrt-Devel] [PATCH] x86: update to kernel 3.18

2015-03-13 Thread Felix Fietkau
On 2015-03-14 00:50, Russell Senior wrote: >> "John" == John Crispin writes: > > John> Hi Russel, can you also send a boot log of the failing soekris so > John> we can see if we have an idea on how to fix it ? > > The failure is on Soekris net48xx (I am testing net4826, specifically). > > T

Re: [OpenWrt-Devel] Why OpenWrt sucks?

2015-03-10 Thread Felix Fietkau
On 2015-03-10 20:22, Zefir Kurtisi wrote: > On 03/09/2015 11:28 PM, David Lang wrote: >> On Mon, 9 Mar 2015, José Vázquez wrote: >> >>> OpenWRT is a linux distro oriented to networking so the kernel and >>> drivers are important, but you must not forget that the init process >>> (procd and related

Re: [OpenWrt-Devel] [PATCH] generic: several linux-4.0 fixes

2015-02-25 Thread Felix Fietkau
On 2015-02-25 06:07, Rafał Miłecki wrote: > On 24 February 2015 at 16:29, Álvaro Fernández Rojas > wrote: >> --- a/target/linux/generic/files/drivers/net/phy/swconfig.c >> +++ b/target/linux/generic/files/drivers/net/phy/swconfig.c >> @@ -396,7 +396,12 @@ swconfig_dump_attr(struct swconfig_callba

Re: [OpenWrt-Devel] Q: understanding entropy/random for SSH-keys

2015-02-19 Thread Felix Fietkau
On 2015-02-19 18:58, Bastian Bittorf wrote: > as far is i know, mac80211 (or ath9k?) add entropy to the kernel. > when a node starts up for the first time, we must wait till the > kernel has enough entropy for generating good ssh-keys. > > is it a good idea to have some wifi-action for generating

Re: [OpenWrt-Devel] [PATCH 2/3] ipq806x: fix restart

2015-02-19 Thread Felix Fietkau
On 2015-02-19 12:01, Mathieu Olivari wrote: > Add an out of tree patch to fix reset on IPQ806x. Patch is available on > codeaurora.org but needs to be cleaned-up and upstreamed properly at > some point. > > Signed-off-by: Mathieu Olivari Wouldn't it be better to register a restart notifier handle

Re: [OpenWrt-Devel] [PATCH 2/2] kernel: Add a selectable option for ar8xxx

2015-02-18 Thread Felix Fietkau
On 2015-02-19 12:25, Mathieu Olivari wrote: > AR8xxx driver covers all the QCA switch families. Most architectures > usually build it in the kernel, but it may be valuable for some targets > to build it as a module for more flexibility. > > Signed-off-by: Mathieu Olivari On what targets would thi

Re: [OpenWrt-Devel] [PATCH 3/3] netifd: Set interface device config when device has old settings

2015-02-13 Thread Felix Fietkau
On 2015-02-13 18:58, Hans Dedecker wrote: > On Fri, Feb 13, 2015 at 2:57 AM, Felix Fietkau wrote: >> On 2015-02-13 03:41, Hans Dedecker wrote: >>> If interface device settings are removed in UCI they were not removed in the >>> device settings; calling device_set_conf

Re: [OpenWrt-Devel] [PATCH 3/3] netifd: Set interface device config when device has old settings

2015-02-12 Thread Felix Fietkau
On 2015-02-13 03:41, Hans Dedecker wrote: > If interface device settings are removed in UCI they were not removed in the > device settings; calling device_set_config when device settings are present > solves this. > > Signed-off-by: Hans Dedecker > --- > config.c | 2 +- > 1 file changed, 1 inse

Re: [OpenWrt-Devel] [PATCH] brcm2708-gpu-fw: revert to github releases, adapt to bcm2708 target changes and add back InstallDev

2015-02-12 Thread Felix Fietkau
On 2015-02-13 11:21, Álvaro Fernández Rojas wrote: > Yeah, it would be great, but the real upstream repo is this one: > https://github.com/raspberrypi/firmware > As you can see it has even more crap (and we only use some files of the boot > folder)... I'll open up an issue there. - Felix ___

Re: [OpenWrt-Devel] [PATCH] brcm2708-gpu-fw: revert to github releases, adapt to bcm2708 target changes and add back InstallDev

2015-02-12 Thread Felix Fietkau
On 2015-02-12 00:33, Álvaro Fernández Rojas wrote: > Signed-off-by: Álvaro Fernández Rojas Do we really want to pull in the insane amounts of crap from that github repo instead of just having a small tarball? Maybe we should also ask upstream if they can split out the firmware into a separate tree

Re: [OpenWrt-Devel] [PATCH] add host route on local ip arp request

2015-02-11 Thread Felix Fietkau
On 2015-02-11 21:02, Alejandro Enrique wrote: > This patch fixes relayd not adding a host on an ARP request for the local > IP address. > When relayd is launched using the -L option, it was not adding the > necessary host routes when it receives an ARP request for the local > IP address. > > This

Re: [OpenWrt-Devel] [PATCH] relayd: add host route on local ip arp request

2015-02-11 Thread Felix Fietkau
On 2015-02-11 00:43, Alejandro Enrique wrote: > This patch fixes relayd not adding a host on an ARP request for the local > IP address. > When relayd is launched using the -L option, it was not adding the > necessary host routes when it receives an ARP request for the local > IP address. > > This

Re: [OpenWrt-Devel] [PATCH V2 libubox] uloop: ignore SIGPIPE by default

2015-01-26 Thread Felix Fietkau
On 2015-01-26 21:12, Rafał Miłecki wrote: > Most app don't want to crash because of unhandled SIGPIPE. It could > happen is such trivial situations like writing to socket. > > Signed-off-by: Rafał Miłecki > --- > V2: Replace signal call with sigaction > --- > uloop.c | 23 +++

Re: [OpenWrt-Devel] [PATCH libubox] uloop: ignore SIGPIPE by default

2015-01-26 Thread Felix Fietkau
On 2015-01-26 11:25, Rafał Miłecki wrote: > Most app don't want to crash because of unhandled SIGPIPE. It could > happen is such trivial situations like writing to socket. > > Signed-off-by: Rafał Miłecki > --- > uloop.c | 17 + > 1 file changed, 17 insertions(+) > > diff --git

Re: [OpenWrt-Devel] [PATCH] mac80211: Add some missing 802.11n capabilities to hostapd configuration

2015-01-25 Thread Felix Fietkau
On 2015-01-25 04:45, Robert Hancock wrote: > Add some missing 802.11n capabilities to the hostapd ht_capab string when > supported by the hardware: Spatial Multiplexing Power-Save, > Delayed Block Ack, and 7935-byte AMSDUs. > > Signed-off-by: Robert Hancock No driver actually does Delayed Block A

Re: [OpenWrt-Devel] [PATCH 0/4] uci: a few enhancements.

2015-01-24 Thread Felix Fietkau
On 2015-01-24 16:07, Yousong Zhou wrote: > This cover letter is mainly for noting that the series is for UCI repo. > > Yousong Zhou (4): > tests: add test cases for showing nonexistent section and option. > cli: properly unload package before quit. > cli: enhance "uci show" command on nonexi

Re: [OpenWrt-Devel] [PATCH 0/5] ar8216: Patch series with further improvements and new functionality

2015-01-24 Thread Felix Fietkau
On 2015-01-22 22:48, Heiner Kallweit wrote: > Heiner Kallweit (5): > ar8216: fix ATU flushing > ar8216: add link change detection for switch ports > ar8216: decrease page switch wait time > ar8216: add swconfig attribute to display ARL table on AR8327/AR8337 > ar8216: prefix mii_xxx funct

Re: [OpenWrt-Devel] [PATCH] fix typo in netifd.sh

2015-01-24 Thread Felix Fietkau
On 2015-01-20 18:44, Cezary Jackiewicz wrote: > $ht variable is not passed. $htmode is. > > With this, wpa_supplicant-phy0.conf contains htmode line if htmode is set in > config. > > Signed-off-by: Cezary Jackiewicz I have added a proper fix for this issue in r44100 - Felix ___

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

2015-01-22 Thread Felix Fietkau
On 2015-01-21 22:48, Rafał Miłecki wrote: > We are not supposed to modify it and ustream accepts const already. > > Signed-off-by: Rafał Miłecki Applied, thanks. - Felix ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openw

Re: [OpenWrt-Devel] [PATCH uclient] allow sending requests with DELETE method

2015-01-22 Thread Felix Fietkau
On 2015-01-22 11:45, Rafał Miłecki wrote: > Signed-off-by: Rafał Miłecki Applied, thanks. - Felix ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

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

Re: [OpenWrt-Devel] [PATCH] kernel: bridge: multicast: backport a few more fixes for 3.10

2015-01-18 Thread Felix Fietkau
On 2015-01-19 00:26, Linus Lüssing wrote: > On Wed, Jan 14, 2015 at 12:12:33AM +0100, Linus Lüssing wrote: >> On Tue, Dec 30, 2014 at 04:10:56AM +0100, Linus Lüssing wrote: >> > The following patches unfortunately didn't hit the kernel stable >> > branches yet, therefore cherrypicking them for Open

Re: [OpenWrt-Devel] [PATCH] [packages] new package squid3

2015-01-18 Thread Felix Fietkau
On 2015-01-18 11:57, hanno wrote: > This patch provides support for squid 3.4.10. Rather than replacing > squid2 a new package squid3 has been created to avoid any > compatibility issues. > The squid.conf file has a number of options included that allow squid3 > to run on OpenWrt directory structu

Re: [OpenWrt-Devel] [PATCH] [packages] dansguardian: Bump to 2.12.0.3

2015-01-18 Thread Felix Fietkau
On 2015-01-18 11:49, hanno wrote: > --- > diff -uprN ../trunk/feeds/oldpackages/net/dansguardian/Makefile > ./feeds/oldpackages/net/dansguardian/Makefile > --- ../trunk/feeds/oldpackages/net/dansguardian/Makefile 2015-01-18 > 10:49:03.101489863 +1300 > +++ ./feeds/oldpackages/net/dansguardia

Re: [OpenWrt-Devel] [PATCH 0/6] ar8216: patch series for AR8327/AR8337

2015-01-17 Thread Felix Fietkau
On 2015-01-17 15:26, John Crispin wrote: > > > On 12/01/2015 20:16, Heiner Kallweit wrote: >> Patches 1-3 are improvements w/o functional change. > > merged 1-3 > > 4-6 will need a bit more time and a closer look 4-6 applied, thanks. - Felix ___ open

Re: [OpenWrt-Devel] [PATCH] igmpproxy: add patch to silence unnecessary logging of downstream igmp traffic

2015-01-17 Thread Felix Fietkau
On 2015-01-08 17:08, Antti Seppälä wrote: > This patch adds a simple check to silence logging of messages about > unrecognized igmp packets which originate from devices in local network. > > Without this patch igmpproxy floods openwrt syslog with messages such as: > user.warn igmpproxy[19818]: T

Re: [OpenWrt-Devel] [PATCH V3 uclient] support for connection timeout

2015-01-17 Thread Felix Fietkau
On 2015-01-16 11:21, Rafał Miłecki wrote: > Signed-off-by: Rafał Miłecki Applied, thanks. - Felix ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH uqmi] Add command to specify preferred PLMN

2015-01-17 Thread Felix Fietkau
On 2015-01-16 20:30, Sławomir Demeszko wrote: > Signed-off-by: Sławomir Demeszko Applied, thanks. - Felix ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] build: explicitly unexport CONFIG_SITE

2015-01-17 Thread Felix Fietkau
On 2015-01-16 04:03, Matthias Schiffer wrote: > On systems with CONFIG_SITE in the environment (e.g. OpenSUSE) make will > export > the CONFIG_SITE set in include/package.mk by default. This will cause host > builds to get the target site configuration, leading to all kinds of weirdness > (wrong p

Re: [OpenWrt-Devel] [PATCH] build: allow changing kernel name in new image code

2015-01-17 Thread Felix Fietkau
On 2015-01-17 23:48, Claudio Leite wrote: > Necessary for targets using zImage or other kernel > image types. > > Signed-off-by: Claudio Leite Committed in r44018, thanks. - Felix ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://l

Re: [OpenWrt-Devel] question about ath9k endianness check in eeprom_9287.c

2015-01-16 Thread Felix Fietkau
On 2015-01-16 10:12, Ben Mulvihill wrote: > Any thoughts about this? Actually I think there are three options: Hey Ben, sorry for not getting back to you earlier, I was busy with a lot of stuff. > - a new patch in package/kernel/mac80211/patches reinstating >a couple of lines from the old 5

Re: [OpenWrt-Devel] [PATCH uclient] support for connection timeout

2015-01-15 Thread Felix Fietkau
On 2015-01-15 16:40, Rafał Miłecki wrote: > Signed-off-by: Rafał Miłecki > --- > uclient-fetch.c | 4 > uclient.c | 25 - > uclient.h | 4 > 3 files changed, 32 insertions(+), 1 deletion(-) > > diff --git a/uclient.c b/uclient.c > index ab2d5b6..a4

Re: [OpenWrt-Devel] [PATCH uclient] http: wait for socket to be ready before using it

2015-01-15 Thread Felix Fietkau
On 2015-01-15 12:50, Rafał Miłecki wrote: > This is required as we use USOCK_NONBLOCK. Are you sure? Theoretically, ustream should already handle it properly. The first write fails if the socket is not connected yet, so ustream will buffer the data and send it out again once epoll tells it that the

Re: [OpenWrt-Devel] [PATCH V2 libubox 1/2] usock: add helper waiting for socket to be ready

2015-01-15 Thread Felix Fietkau
On 2015-01-15 12:59, Rafał Miłecki wrote: > Signed-off-by: Rafał Miłecki > --- > V2: Use poll instead of select Both applied, thanks. - Felix ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listin

Re: [OpenWrt-Devel] Hardlock in ath9k

2015-01-15 Thread Felix Fietkau
On 2015-01-15 12:48, Gianluca Anzolin wrote: > Il 15/01/2015 04:25, Felix Fietkau ha scritto: >> On 2015-01-14 20:19, Gianluca Anzolin wrote: >>> Hi, >>> >>> I was just testing this evening, just for fun, a new build with the just >>> released musl

Re: [OpenWrt-Devel] [PATCH libubox 1/2] usock: add helper waiting for socket to be ready

2015-01-15 Thread Felix Fietkau
On 2015-01-15 12:42, Rafał Miłecki wrote: > Signed-off-by: Rafał Miłecki > --- > usock.c | 30 ++ > usock.h | 11 +++ > 2 files changed, 41 insertions(+) > > diff --git a/usock.c b/usock.c > index 04ed4ee..39909c1 100644 > --- a/usock.c > +++ b/usock.c > @@ -1

Re: [OpenWrt-Devel] Hardlock in ath9k

2015-01-14 Thread Felix Fietkau
On 2015-01-14 20:19, Gianluca Anzolin wrote: > Hi, > > I was just testing this evening, just for fun, a new build with the just > released musl libc (1.1.6) on my new router (Archer C7) but > unfortunately it bricked my router. > > Initially I feared that I did something wrong when updating the

Re: [OpenWrt-Devel] [PATCH 2/9] mvebu: Switch to the generic mkuimage macro

2015-01-14 Thread Felix Fietkau
On 2015-01-13 16:56, Maxime Ripard wrote: > The mvebu image makefile define something almost identical to the generic > implementation found in include/image.mk. > > Switch to this implementation. > > Signed-off-by: Maxime Ripard FYI, my rework of the image makefile code is in the tree now. You

Re: [OpenWrt-Devel] [PATCH] procd: reorder the arguments of command invocations

2015-01-11 Thread Felix Fietkau
On 2015-01-11 14:09, Gianluca Anzolin wrote: > Il 11/01/2015 13:58, Gianluca Anzolin ha scritto: >> Il 11/01/2015 13:13, Felix Fietkau ha scritto: >>> It seems that musl git now supports argv permutation. I'm going to merge >>> the git changes since the last relea

Re: [OpenWrt-Devel] [PATCH] procd: reorder the arguments of command invocations

2015-01-11 Thread Felix Fietkau
On 2015-01-10 18:54, Gianluca Anzolin wrote: > Some commands in the script /lib/upgrade/nand.sh (provided by > procd) use option arguments after non-option arguments. > > This unfortunately doesn't work with musl because it doesn't yet support > permutations of the arguments: when getopt finds a n

Re: [OpenWrt-Devel] Install .pc files of Python

2015-01-09 Thread Felix Fietkau
On 2015-01-08 23:28, Szilárd Pfeiffer wrote: > Hi, > > .pc files are not copied to the install directory, so python (as a > library) cannot be checked from configure.ac by PKG_CHECK_MODULES. It > caused problem during the port of Zorp GPL to OpenWrt. Possible solution > is attached. > > Best rega

Re: [OpenWrt-Devel] [PATCH v2 uqmi] Add command for listing device capabilities

2015-01-09 Thread Felix Fietkau
On 2015-01-08 19:08, Sławomir Demeszko wrote: > Signed-off-by: Sławomir Demeszko > --- > > Sorry, it seems my compiler doesn't suport -Wtautological-compare option, > and I was not warned about this. This condition could be removed, but > as I read it is unspecified if enums are signed or unsigne

Re: [OpenWrt-Devel] [PATCH uqmi] Add missing option for getting tdma signal strength

2015-01-08 Thread Felix Fietkau
On 2015-01-08 15:15, Sławomir Demeszko wrote: > Signed-off-by: Sławomir Demeszko Applied, thanks. - Felix ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH uqmi] Add command for listing device capabilities

2015-01-08 Thread Felix Fietkau
On 2015-01-08 14:55, Sławomir Demeszko wrote: > Signed-off-by: Sławomir Demeszko > --- > commands-dms.c | 53 + > commands-dms.h | 2 ++ > 2 files changed, 55 insertions(+) > > diff --git a/commands-dms.c b/commands-dms.c > index a677052..fcb4

Re: [OpenWrt-Devel] [PATCH] curl: enable "https" protocol

2015-01-07 Thread Felix Fietkau
On 2014-12-27 18:32, Lars Kruse wrote: > Hi, > > even though SSL-support is configurable for curl, there is currently > no support for https (just http). The attached patch fixes that. > > Lars > > > > Provide optional --enable-https flag for curl. > > Signed-off-by: Lars Kruse Like the othe

Re: [OpenWrt-Devel] [PATCH fstools] libblkid-tiny: add btrfs probe info

2015-01-07 Thread Felix Fietkau
On 2014-12-22 12:34, Daniel Golle wrote: > This only adds the magic for btrfs to show btrfs volumes in > block detect. > > In order to properly support btrfs with more than one device and avoid > trying to mount the same device group once for each instance we have to > make sure that only one devi

Re: [OpenWrt-Devel] [PATCH] base-files: Enhancements to /etc/profile.

2015-01-06 Thread Felix Fietkau
On 2014-12-25 02:28, Vittorio G (VittGam) wrote: > - Update terminal window title with current directory and hostname like on > Ubuntu. > - Add an optional colored prompt, in case user wants to enable it. > - Add ll, an useful alias to ls. > > Signed-off-by: Vittorio Gambaletta This is a matter

Re: [OpenWrt-Devel] [PATCH] list: remove double freeing of section

2015-01-06 Thread Felix Fietkau
On 2015-01-06 08:23, yegorsli...@googlemail.com wrote: > From: Yegor Yefremov > > This error was reported by cppcheck. Compile tested only. > > Signed-off-by: Yegor Yefremov > --- > list.c |1 - > 1 files changed, 0 insertions(+), 1 deletions(-) > > diff --git a/list.c b/list.c > index 0d

Re: [OpenWrt-Devel] [PATCH] [packages] dnsmasq: add option --quiet-dhcp

2015-01-05 Thread Felix Fietkau
On 2014-12-25 01:49, Lars Kruse wrote: > Hi, > > dnsmasq supports an option "--quiet-dhcp" in order to remove DHCP log messages > from the system log. We would like to use this option in our wireless > community > in order to reduce the amount of private data (MAC addresses) exposed in the > logs

Re: [OpenWrt-Devel] [PATCH v2 4/4] oxnas: sata_oxnas: make irq handler more readable

2014-12-22 Thread Felix Fietkau
On 2014-12-18 18:17, Daniel Golle wrote: > safed one level of indention by using 'continue' instead of a > lengthy if-clause. > > Signed-off-by: Daniel Golle > v2: use logic-AND instead of '?' operator when checking for hw bug 6320 Applied all 4, thanks. - Felix _

Re: [OpenWrt-Devel] [PATCH uqmi] Fix encoding phone number on sending sms

2014-12-22 Thread Felix Fietkau
On 2014-12-18 16:12, Sławomir Demeszko wrote: > Return proper length of encoded phone number with odd count of digits, > without this patch number is encoded in memory but length returned > by function is not incremented and sms cannot be send. > > Signed-off-by: Sławomir Demeszko Applied, thanks

Re: [OpenWrt-Devel] [PATCH uqmi] Making smsc number optional

2014-12-22 Thread Felix Fietkau
On 2014-12-22 19:47, Sławomir Demeszko wrote: > If smsc number is not provided before sending sms then > operator's default stored on simcard will be used. > > Signed-off-by: Sławomir Demeszko Applied all 3, thanks. - Felix ___ openwrt-devel mailing li

Re: [OpenWrt-Devel] [PATCH] uhttpd: Fix possible memory leaks when generating directory listing

2014-12-22 Thread Felix Fietkau
On 2014-12-22 18:55, Andrej Krpic wrote: > scandir() call requires free() of each returned dirent structure > and parent list. Code constructing HTML response of directory > listing is missing a call to free in some cases. > > Signed-off-by: Andrej Krpic Applied, thanks. - Felix

Re: [OpenWrt-Devel] backport ubi-utils mirror md5sum

2014-12-22 Thread Felix Fietkau
On 2014-12-22 18:33, Alexander Couzens wrote: > hi felix, > > can you please backport this patch from trunk to bb? > it's the same git rev. Done. - Felix ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/ma

Re: [OpenWrt-Devel] [PATCH 2/3] json_script: fix logic invert of handle_expr_not().

2014-12-22 Thread Felix Fietkau
On 2014-12-16 22:15, Yousong Zhou wrote: > Signed-off-by: Yousong Zhou Applied this one and patch 3/3. Thanks, - Felix ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH 1/3] ustream: add function ustream_read().

2014-12-22 Thread Felix Fietkau
On 2014-12-16 22:15, Yousong Zhou wrote: > It can be used to fill caller specified buffer area 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)) { >

Re: [OpenWrt-Devel] [PATCH 1/2] scripts: fix recursive dependencies that might be caused by using conditional dependencies.

2014-12-22 Thread Felix Fietkau
On 2014-12-22 11:29, Yousong Zhou wrote: > `kmod-ipt-ipset' has a `DEPENDS' value of > `@(!(TARGET_ps3||TARGET_pxcab)||BROKEN)'. > Recursive dependency will occur if another package conditionally depends > on it with something like `+PACKAGE_dnsmasq_full_ipset:kmod-ipt-ipset' > which will produce

Re: [OpenWrt-Devel] Introducing "fastpath" - Kernel module for speeding up IP forwarding

2014-12-22 Thread Felix Fietkau
On 2014-12-22 15:06, Tomer Eliyahu wrote: > Hi, > > We are software developers, part of Marvell's cellular platform > infrastructure team. > > Our team has been working on a project named "fastpath" for speeding > up IP forwarding in embedded systems. > The initial version (fastpath v1) has alrea

Re: [OpenWrt-Devel] [PATCH] [package] busybox: add another upstream fix

2014-12-20 Thread Felix Fietkau
On 2014-12-20 14:49, John Szakmeister wrote: > Without this, modprobe doesn't work with uncompressed kernel modules. > > Signed-off-by: John Szakmeister Why do we need this patch in OpenWrt? We're not using busybox modprobe. - Felix ___ openwrt-devel m

Re: [OpenWrt-Devel] [PATCH uqmi 3/3] v2 Added commands to change PIN code

2014-12-18 Thread Felix Fietkau
On 2014-12-17 15:56, Sławomir Demeszko wrote: > Signed-off-by: Sławomir Demeszko > --- > Sorry, somehow old version was in commit. I removed static from struct. Applied all your pending patches. A few issues (which I fixed up myself while applying): - the "v2" in the patch subject should be insid

Re: [OpenWrt-Devel] [PATCH] ar7: Remove linux-3.10 leftovers

2014-12-18 Thread Felix Fietkau
On 2014-12-16 22:57, Sedat Dilek wrote: > The config-3.10 got removed in r43632, so bye-bye to patches-3.10 as well. > > Signed-off-by: Sedat Dilek Patch didn't apply, so I removed the 3.10 patches myself. - Felix ___ openwrt-devel mailing list openwrt

Re: [OpenWrt-Devel] [PATCH v2 16/16] uci_internal: use comma expression for UCI_INTERNAL() call.

2014-12-18 Thread Felix Fietkau
On 2014-12-16 08:00, Yousong Zhou wrote: > Signed-off-by: Yousong Zhou > --- > uci_internal.h |8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/uci_internal.h b/uci_internal.h > index 89863f1..cb8f86c 100644 > --- a/uci_internal.h > +++ b/uci_internal.h > @@ -22

Re: [OpenWrt-Devel] Linksys WRT54G / 16mb / wifi / lowmem / concurrency

2014-12-17 Thread Felix Fietkau
On 2014-12-17 09:41, Bastian Bittorf wrote: > I did some experiments to get our "good old" Linksys WRT54G > running with recent trunk r43602 / kernel 3.14.26. We are only > using it in adhoc-mode (with olsrd) and it is working OK. > > But there is still an issue, but i think it has to do with the

Re: [OpenWrt-Devel] [PATCH] kernel: mtdsplit_uimage: use more generic header verify function

2014-12-16 Thread Felix Fietkau
On 2014-12-14 00:41, Rafał Miłecki wrote: > Some devices have uImage headers after some extra headers (e.g. Edimax > devices). To support such cases our verify callback function should be > allowed to return header offset, not just a boolean value. > > Signed-off-by: Rafał Miłecki > --- > Hi Toma

Re: [OpenWrt-Devel] [PATCH RFC 3/5] target: Add board notion support

2014-12-16 Thread Felix Fietkau
On 2014-12-12 16:21, Maxime Ripard wrote: > Even though we always build all the board images for a given target, some > options widely differ from one board to another when it comes to hardware > configuration. > > Such an option for example is the NAND setup, which depends on the NAND chip > itse

Re: [OpenWrt-Devel] kirkwood gcc/binutils woe?

2014-12-15 Thread Felix Fietkau
On 2014-12-14 12:02, Harald Geyer wrote: > nwf writes: >> $ gcc -v -o hello hello.c [...] >> /usr/lib/gcc/arm-openwrt-linux-uclibcgnueabi/4.8.3/collect2 >> --eh-frame-hdr -dynamic-linker /lib/ld-uClibc.so.0 >> -X -m armelf_linux_eabi -o hello >> /usr/lib/gcc/arm-openwrt-linux-uclibcgnueabi/4.8.3/cr

Re: [OpenWrt-Devel] [PATCH] ar71xx: add support for qca956x soc

2014-12-13 Thread Felix Fietkau
On 2014-12-12 16:13, Weijie Gao wrote: > This patch adds soc support for QCA9561 and TP9343. > TP9343 is a reduced version of QCA9561, which can be found in TP-LINK routers > in China. > The qca956x_wmac has not yet been supported by ath9k. > > tested on TL-WDR6500 and TL-WR882N v1 (Chinese versi

Re: [OpenWrt-Devel] [PATCH][RESEND] [tools] toolchain: ensure tools are built and staged before preparing toolchain

2014-12-13 Thread Felix Fietkau
On 2014-12-13 11:22, John Szakmeister wrote: > On Sat, Dec 13, 2014 at 5:11 AM, Felix Fietkau wrote: >> On 2014-12-13 10:43, John Szakmeister wrote: >>> On Sat, Dec 13, 2014 at 4:28 AM, John Szakmeister >>> wrote: >>> [snip] >>>>> This doesn&

Re: [OpenWrt-Devel] [PATCH][RESEND] [tools] toolchain: ensure tools are built and staged before preparing toolchain

2014-12-13 Thread Felix Fietkau
On 2014-12-13 10:43, John Szakmeister wrote: > On Sat, Dec 13, 2014 at 4:28 AM, John Szakmeister > wrote: > [snip] >>> This doesn't look right to me, I don't think we should add the >>> toolchain/prepare step as an intermediate target for the regular build >>> process. >>> How about just adding t

Re: [OpenWrt-Devel] [PATCH v4 2/4] kernel.mk: Handle the x86_64 LINUX_KARCH case

2014-12-12 Thread Felix Fietkau
On 2014-12-12 17:02, Maxime Ripard wrote: > x64 is handled by the x86 architecture in Linux, add a case for it in > LINUX_KARCH. > > Signed-off-by: Maxime Ripard Applied the first two patches in this series. - Felix ___ openwrt-devel mailing list openw

Re: [OpenWrt-Devel] [PATCH] uhttpd2: Set HTTPS environment variable

2014-12-12 Thread Felix Fietkau
On 2014-12-11 23:36, Dan Staples wrote: > Currently, the only way for cgi scripts to determine if the request > was made over SSL seems to be to check if the SERVER_PORT environment > variable is set to 443, which is less than ideal. This sets the HTTPS > environment variable, like the first versio

Re: [OpenWrt-Devel] [PATCH][RESEND] [tools] toolchain: ensure tools are built and staged before preparing toolchain

2014-12-12 Thread Felix Fietkau
On 2014-12-09 11:47, John Szakmeister wrote: > This fixes an issue where the toolchain/prepare step could run, but some > of the necessary host tools might be missing. > > Signed-off-by: John Szakmeister > --- > This is a resend of a patch I sent earlier > (https://lists.openwrt.org/pipermail/ope

<    3   4   5   6   7   8   9   10   11   12   >