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

2015-07-14 Thread Felix Fietkau
On 2015-07-14 11:38, Karl Vogel wrote: The OpenWRT GCC patch, 910-mbsd_multi.patch adds an extra option to gcc that depends on an environment variable. Standard ccache is unaware of this option and therefor can produce stdout from gcc that doesn't correspond to what you would get if you

Re: [OpenWrt-Devel] [PATCH] base-files: Add preinit option to disable config restore

2015-07-14 Thread Felix Fietkau
On 2015-07-13 16:14, Bruno Randolf wrote: Sometimes it's desirable to be sure that config files from a new firmware image overwrite the config files from the previously running firmware and we can not always expect the user to use 'sysupgrade -n'. In this case the option

Re: [OpenWrt-Devel] Build errors when activating the Device Tree flag for Raspberry Pi

2015-07-14 Thread Felix Fietkau
On 2015-07-14 10:08, Jernej Izak wrote: Hi, About activating device tree on build OpenWRT with Raspberry pi. We tried to add patch “0002-kernel-fix-build-with-CONFIG_MTD-unset.patch” to “/target/linux/generic/patches-3.18” in second try to “/target/linux/brcm2708/patches-3.18

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

2015-07-14 Thread Felix Fietkau
On 2015-07-14 10:10, Karl Vogel wrote: There seems to be an issue using ccache in combination with the openwrt patched gcc. Found the issue while investigating the following compilation issue: --- [ ... ] With this patch, ccache will also add the GCC_HONOUR_COPTS setting to the hash of

Re: [OpenWrt-Devel] [PATCH v2] [netifd] Changes for more readability.

2015-07-14 Thread Felix Fietkau
On 2015-05-24 09:36, Yousong Zhou wrote: - ifname for Linux interface name. - interface for netifd defined logical interface names as in /etc/config/network. - A few comments and variable renames for better readability. Signed-off-by: Yousong Zhou yszhou4t...@gmail.com Sorry, I forgot

Re: [OpenWrt-Devel] [PATCH][libubox] ustream-fd: handle uloop errors

2015-07-10 Thread Felix Fietkau
On 2015-07-10 09:23, Philip Craig wrote: Otherwise uloop will delete the fd and the ustream will receive no notification of the error. Signed-off-by: Philip Craig philipjcr...@gmail.com I think this fix is incomplete. When an error occurs, ustream-fd should delete the fd after setting the

Re: [OpenWrt-Devel] [PATCH] [RESEND] swconfig: swlib.c: Fix another memleak

2015-07-08 Thread Felix Fietkau
On 2015-07-08 08:37, Alexandru Ardelean wrote: From: Helmut Schaa h...@ocedo.com Signed-off-by: Helmut Schaa helmut.sc...@googlemail.com Erm... The author is supposed to add the Signed-off-by himself, as described in https://dev.openwrt.org/wiki/SubmittingPatches - Felix

Re: [OpenWrt-Devel] [PATCH] ar71xx: Allow to use ath79_gpio_output_select on QCA955x

2015-07-08 Thread Felix Fietkau
On 2015-06-25 16:30, Sven Eckelmann wrote: Signed-off-by: Sven Eckelmann s...@open-mesh.com I had to revert this one because it was breaking the build (patch did not apply). Please fix and re-submit - Felix ___ openwrt-devel mailing list

Re: [OpenWrt-Devel] [PATCH v2 5/8] mac80211: make more ath10k firmwares selectable

2015-07-06 Thread Felix Fietkau
On 2015-07-06 12:48, Martin Blumenstingl wrote: On Mon, Jul 6, 2015 at 12:39 PM, Felix Fietkau n...@openwrt.org wrote: What's the newest firmware that still works on your card? Also, please report these issues to the ath10k firmware maintainer. I think the latest working version was the newest

Re: [OpenWrt-Devel] [PATCH v2 5/8] mac80211: make more ath10k firmwares selectable

2015-07-06 Thread Felix Fietkau
On 2015-07-06 12:36, Martin Blumenstingl wrote: Hi Felix, On Mon, Jul 6, 2015 at 12:26 PM, Felix Fietkau n...@openwrt.org wrote: Instead of adding more options that most people don't know what to do with, please test the current v5 firmware in trunk and provide details about any issues

Re: [OpenWrt-Devel] [PATCH v2 6/8] generic: replace request_irq by request_threaded_irq to fix non working ledtrig-gpio

2015-07-06 Thread Felix Fietkau
On 2015-07-02 13:47, Günther Kelleter wrote: Signed-off-by: Günther Kelleter guenther.kelle...@devolo.de What issue does this fix? - Felix ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] [PATCH v2 5/8] mac80211: make more ath10k firmwares selectable

2015-07-06 Thread Felix Fietkau
On 2015-07-02 13:47, Günther Kelleter wrote: The ath10k firmware version is now a choice in the config menu. Added options for older firmware versions (10.1 and 10.2). It seems that recent firmware versions don't always run properly and this provides the option to select an older (more stable)

Re: [OpenWrt-Devel] [PATCH v2 6/8] generic: replace request_irq by request_threaded_irq to fix non working ledtrig-gpio

2015-07-06 Thread Felix Fietkau
On 2015-07-06 14:14, Guenther Kelleter wrote: -Original Message- From: Felix Fietkau [mailto:n...@openwrt.org] Sent: Monday, July 06, 2015 12:43 PM To: Guenther Kelleter; openwrt-devel@lists.openwrt.org Subject: Re: [OpenWrt-Devel] [PATCH v2 6/8] generic: replace request_irq

Re: [OpenWrt-Devel] [PATCH] Deal with allocation errors in a few missing places.

2015-07-06 Thread Felix Fietkau
On 2015-06-26 00:20, Juliusz Chroboczek wrote: Since libubox is used by procd, it should deal gracefully with allocation failures. --- blobmsg_json.c | 2 ++ json_script.c | 3 +++ kvlist.c | 4 ustream.c | 16 +--- utils.c| 3 +++ 5 files

Re: [OpenWrt-Devel] [PATCH v2 5/8] mac80211: make more ath10k firmwares selectable

2015-07-06 Thread Felix Fietkau
On 2015-07-06 16:05, Guenther Kelleter wrote: Instead of the original patch, would you accept an option to only choose between STA mode, AP mode w/ latest API fw (default) and AP mode with fallback API2 fw (new) for those people who experience crashes with latest fw? At least until these

Re: [OpenWrt-Devel] [PATCH 1/2] Provide meaningful error messages when fork fails.

2015-07-06 Thread Felix Fietkau
On 2015-06-26 00:23, Juliusz Chroboczek wrote: --- inittab.c | 6 +++--- rcS.c | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/inittab.c b/inittab.c index eb402f8..2767e17 100644 --- a/inittab.c +++ b/inittab.c @@ -116,13 +116,13 @@ static void

Re: [OpenWrt-Devel] [PATCH] Deal gracefully with allocation failures in a few omitted places.

2015-07-06 Thread Felix Fietkau
On 2015-06-26 00:21, Juliusz Chroboczek wrote: --- libubus.c | 3 +++ ubusd_acl.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/libubus.c b/libubus.c index ccaa069..9aae613 100644 --- a/libubus.c +++ b/libubus.c @@ -77,6 +77,9 @@ ubus_queue_msg(struct ubus_context *ctx,

Re: [OpenWrt-Devel] [PATCH] hostapd netifd wmm configuration for speedup wifi.

2015-07-02 Thread Felix Fietkau
On 2015-06-30 11:05, N.Leiten wrote: Speed up wifi up to 2 times in Access Point mode. On rt5350 platfrom I got speed up from 35-40Mbit to 70-80Mbit, on ar71xx I got improvement from 45Mbit to 100Mbit with this parameters set in hostapd.conf. It seems that hostapd expects not only

Re: [OpenWrt-Devel] [PATCH] openvpn: bump to 2.3.7.

2015-06-17 Thread Felix Fietkau
On 2015-06-15 07:01, Yousong Zhou wrote: Two patches are dropped as they were already applied upstream. Signed-off-by: Yousong Zhou yszhou4t...@gmail.com Please fix the md5sum and refresh all patches. - Felix ___ openwrt-devel mailing list

Re: [OpenWrt-Devel] [PATCH] musl: provide wtmp compatibility stub for Linux-PAM.

2015-06-17 Thread Felix Fietkau
On 2015-06-16 15:32, Yousong Zhou wrote: Signed-off-by: Yousong Zhou yszhou4t...@gmail.com Apparently this approach was rejected upstream. I want to keep the amount of non-upstream musl patches to a minimum. This issue seems to be easy to deal with by adding a small patch to Linux-PAM like

Re: [OpenWrt-Devel] [PATCH] Add support for PandoraBox PBR-M1 Board

2015-06-17 Thread Felix Fietkau
On 2015-06-16 09:27, Tymon wrote: Hi all, please find below patch that adds support for PandoraBox PBR-M1 Board to OpenWRT trunk. The board is based on mt7621 platform, and this patch adds a separate profile for pbr-m1. Best regards, Tymon From: tymon ty...@xcloud.cc

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

2015-06-15 Thread Felix Fietkau
On 2015-06-15 10:20, Miklos Szeredi wrote: On Thu, Jun 11, 2015 at 2:01 PM, Miklos Szeredi mszer...@suse.cz wrote: On 7 May 2015 at 15:49, Felix Fietkau n...@openwrt.org wrote: On 2015-05-07 08:01, Wojciech Dubowik wrote: Try to boot with kernel locking enabled. I have seen jffs2 deadlocks

[OpenWrt-Devel] OpenWrt switches to musl by default

2015-06-15 Thread Felix Fietkau
Hi, I just committed a change making musl the new default libc in OpenWrt trunk, replacing uclibc. We've been preparing this for quite a while. Some packages might still be broken, so please test and open up bug reports for any issues that you find. Please remember to open up trac tickets only

Re: [OpenWrt-Devel] [PATCH 1/3] openvpn: fix handling comp_lzo and auth_retry as the wrong type.

2015-06-14 Thread Felix Fietkau
On 2015-06-14 06:04, Yousong Zhou wrote: As reported in #19104. Signed-off-by: Yousong Zhou yszhou4t...@gmail.com comp-lzo does not seem to fit well in the bool category, it takes yes, no, or adaptive. Also, please include the details of the changes that you make in the patch description

Re: [OpenWrt-Devel] [PATCH 5/5] perf: remove EGLIBC dependency

2015-06-14 Thread Felix Fietkau
On 2015-05-19 01:40, Mathieu Olivari wrote: EGLIBC dependency was required as libelf was not found. But we now fixed the root cause, so we can remove it. perf works with uClibc again. Signed-off-by: Mathieu Olivari math...@codeaurora.org Does not build with musl, please fix. - Felix

Re: [OpenWrt-Devel] [PATCH 3/5] elfutils: import package from packages.git

2015-06-14 Thread Felix Fietkau
On 2015-05-19 03:43, Luiz Angelo Daros de Luca wrote: I'm curious, as current elfutils packager, how I should play in this import? Should this package be removed from package.git (but there is no PR for it)? Or will it be periodically synchronized with packages.git? Also, as I'm not a

Re: [OpenWrt-Devel] [PATCH 2/5] argp-standalone: import package from packages.git

2015-06-14 Thread Felix Fietkau
On 2015-05-19 01:40, Mathieu Olivari wrote: argp-standalone is required by elfutils, itself required by perf. So we'll move this package from packages.git and make it part of the core distribution. Signed-off-by: Mathieu Olivari math...@codeaurora.org I will apply this package. Please make

Re: [OpenWrt-Devel] [PATCH v3 1/2] [mac80211] Add channel set helper callback to ath9k

2015-06-13 Thread Felix Fietkau
On 2015-06-12 21:36, Stefan Rompf wrote: This patch adds a channel set helper callback to the ath9k driver and exports the ath9k kernel API for other packages. The registered function is called whenever ath9k changes the channel. Signed-off-by: Stefan Rompf ste...@loplof.de NACK from me

Re: [OpenWrt-Devel] [PATCH v3 1/2] [mac80211] Add channel set helper callback to ath9k

2015-06-13 Thread Felix Fietkau
On 2015-06-13 10:57, Stefan Rompf wrote: Hi Felix, thanks for your feedback! NACK from me for the ath9k_set_channel_helper part. This helper function needs to be passed in from the platform data, similar to how external reset is handled. From previous emails you pointed out that you guys

Re: [OpenWrt-Devel] [PATCH] [ 4/5] ramips: add xmit_more support

2015-06-05 Thread Felix Fietkau
On 2015-06-02 15:06, michael lee wrote: use pktgen to verify on rt3662. can improve transmit rate. pkt_size 1500 burst 1 : 807Mb/sec burst 8 : 984Mb/sec pkt_size 60 burst 1 : 57Mb/sec burst 8 : 236Mb/sec Signed-off-by: michael lee igv...@gmail.com ---

Re: [OpenWrt-Devel] [PATCH 2/5] utils: refine calloc_a a bit.

2015-06-05 Thread Felix Fietkau
On 2015-06-04 15:41, Yousong Zhou wrote: - Return early on calloc() failure. - Correct comment text for __calloc_a(). Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- utils.c |4 utils.h |6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git

Re: [OpenWrt-Devel] [PATCH 4/4] ralink: firewrt support memory detect

2015-06-05 Thread Felix Fietkau
On 2015-06-05 09:30, w...@t-chip.com.cn wrote: Dear sir: I believe that it will work well on other 256mb memory board . But FireWRT has 512mb memory . I am confuse that enable HIGHMEM is not for using 512mb memory ? I'm running my code on the FireWRT board with 512M. I ran

Re: [OpenWrt-Devel] [PATCH 4/4] ralink: firewrt support memory detect

2015-06-05 Thread Felix Fietkau
On 2015-06-05 09:54, w...@t-chip.com.cn wrote: Dear sir: i got it. please ignore the 2 patches i have send this morning . i will try again and give you more detail. I now implemented the highmem offset change that I mentioned in my last email and added your memory map fix. It is

Re: [OpenWrt-Devel] [PATCH 2/5] utils: refine calloc_a a bit.

2015-06-05 Thread Felix Fietkau
On 2015-06-05 17:03, Yousong Zhou wrote: On Jun 5, 2015 3:14 PM, Felix Fietkau n...@openwrt.org mailto:n...@openwrt.org wrote: On 2015-06-04 15:41, Yousong Zhou wrote: - Return early on calloc() failure. - Correct comment text for __calloc_a(). Signed-off-by: Yousong Zhou yszhou4t

Re: [OpenWrt-Devel] [PATCH 4/4] ralink: firewrt support memory detect

2015-06-04 Thread Felix Fietkau
On 2015-05-07 04:25, wengbj wrote: Signed-off-by: wengbj fl.serv...@t-firefly.com FYI, I've fixed highmem support for the FireWRT board properly in r45889 + r45890. It works fine on my board and I've verified it using memtester. - Felix ___

Re: [OpenWrt-Devel] ar71xx: How to integrate UniFi AP Outdoor Plus HSR?

2015-06-01 Thread Felix Fietkau
On 2015-05-27 22:48, Stefan Rompf wrote: Hi Kirill, So I made a patch for atheros driver and it works. A signal level on different frequencies is more or less equal and seems adequate (about -30 dbm if a client within a meter from ap). so you reverse engineered the timer values, the

Re: [OpenWrt-Devel] [PATCH 2/2] ar71xx: use Image/BuildLoaderPatched for TPLINK-SAFELOADER images

2015-05-30 Thread Felix Fietkau
On 2015-05-31 00:09, Matthias Schiffer wrote: Ping? On 04/29/2015 11:38 PM, Matthias Schiffer wrote: Building the loader in Image/Build/TPLINK-SAFELOADER would break the image builder as no target compiler is available in that stage. Fixes #19580 Signed-off-by: Matthias Schiffer

Re: [OpenWrt-Devel] [PATCH 3/6] kernel: add stmmac as a new kernel package

2015-05-29 Thread Felix Fietkau
On 2015-05-26 23:27, Mathieu Olivari wrote: Signed-off-by: Mathieu Olivari math...@codeaurora.org How about simply enabling stmmac in the target kernel config? - Felix ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] [PATCH] perf: replace libelf1 select by a depend

2015-05-27 Thread Felix Fietkau
On 2015-05-27 02:13, Mathieu Olivari wrote: It was not merged; it stayed pending without resolution since then, so I figured I’d find an alternative. Replacing the select by a depend makes the whole process completely counterintuitive, so NACK from me on that. Any package we add to trunk needs

Re: [OpenWrt-Devel] [PATCH] sunxi: remove kernel symbol

2015-05-27 Thread Felix Fietkau
On 2015-05-27 00:02, Dirk Neukirchen wrote: On 24.05.2015 11:15, Felix Fietkau wrote: On 2015-05-24 11:01, Dirk Neukirchen wrote: unify config across platforms RESOURCE_COUNTERS is deactive on all platforms Signed-off-by: Dirk Neukirchen dirkneukirc...@web.de --- Removing target/subtarget

Re: [OpenWrt-Devel] [PATCH] scripts/feeds: observe -p flag for preferential feeds

2015-05-27 Thread Felix Fietkau
On 2015-05-26 17:09, Karl Palsson wrote: From: Karl Palsson ka...@remake.is lookup_target was trampling the $feed variable, resulting in the -p flag no longer preferentially installing from the named feed. Signed-off-by: Karl Palsson ka...@remake.is --- scripts/feeds | 6 +++--- 1 file

Re: [OpenWrt-Devel] [RFC] [PATCH] build: honor command line CONFIG_ variables on kernel_*config targets

2015-05-27 Thread Felix Fietkau
Please don't send HTML mails to the list, further comment below. On 2015-05-13 15:11, Emmanuel Deloget wrote: The CONFIG_* variables are correctly handled when building nearly all targets (at least packages and full build) yet they are not honored on kernel_menuconfig and similar targets.

Re: [OpenWrt-Devel] Implementation of restarting wifi(hostapd) when it stop unexpectedly

2015-05-26 Thread Felix Fietkau
On 2015-05-26 11:29, Tymon wrote: Hi all, I found an excited function that the hostapd will restart once it is killed unexpectedly and feel curiously about its implementation, anyone can give me more hints on this awesome function ? thanks. Netifd tracks processes created by the

Re: [OpenWrt-Devel] [PATCH v2] musl: update to version 1.1.9

2015-05-25 Thread Felix Fietkau
On 2015-05-24 01:21, Daniel Golle wrote: Plus changes up to 2015-05-22 to fix ldso related regression on PPC. Signed-off-by: Daniel Golle dan...@makrotopia.org Seems like it needs to be updated again, as there were also some MIPS ldso regressions which were fixed today. - Felix

Re: [OpenWrt-Devel] [PATCH] sunxi: remove kernel symbol

2015-05-24 Thread Felix Fietkau
On 2015-05-24 11:01, Dirk Neukirchen wrote: unify config across platforms RESOURCE_COUNTERS is deactive on all platforms Signed-off-by: Dirk Neukirchen dirkneukirc...@web.de --- Removing target/subtarget kernel config lines individually does not make any sense. These files are generated by

Re: [OpenWrt-Devel] [PATCH 1/6] Changes for more readability.

2015-05-23 Thread Felix Fietkau
On 2015-05-19 14:38, Yousong Zhou wrote: - ifname for Linux interface name. - interface for netifd defined logical interface names as in /etc/config/network. - A few comments and variable renames for better readability. Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- device.c

Re: [OpenWrt-Devel] [PATCH] musl: update to version 1.1.9

2015-05-23 Thread Felix Fietkau
On 2015-05-21 11:32, Daniel Golle wrote: The fixes previously contained in 001-git-2015-03-28.patch are all part of the upstream release, thus the patch can be removed. All other patches apply cleanly. Signed-off-by: Daniel Golle dan...@makrotopia.org Looks like musl 1.1.9 has an ldso

Re: [OpenWrt-Devel] [PATCH] Give WiFi modules more time to settle

2015-05-15 Thread Felix Fietkau
On 2015-05-15 09:02, Arend van Spriel wrote: On 05/12/15 12:25, Hante Meuleman wrote: It is a bit more than just changing request_firmware_nowait into request_firmware. The worker in core.c needs to be removed. The function brcmf_pcie_setup needs to be updated as it cannot call

Re: [OpenWrt-Devel] Managed WiFi and IPv4/IPv6

2015-05-15 Thread Felix Fietkau
On 2015-05-15 17:28, Cristian Morales Vega wrote: Since a wifi-iface can only have one network, how are you supposed to link it to both the wan and wan6 interfaces? It can have multiple networks. Use 'list' instead of 'option'. - Felix ___

Re: [OpenWrt-Devel] [PATCH] bcm53xx: Add functions to get/release copies of nvram contents.

2015-05-13 Thread Felix Fietkau
On 2015-05-13 09:48, Hante Meuleman wrote: Initially I made the free an inline from header file, but it doesn't compile out of the box as it needs the definition for kfree and not all c files which include this header file had this, as I don't like the inclusion of header files from header

Re: [OpenWrt-Devel] [PATCH] bcm53xx: Add functions to get/release copies of nvram contents.

2015-05-13 Thread Felix Fietkau
On 2015-05-13 20:14, Hante Meuleman wrote: Bloated? Seriously? Putting the lines in either C or H and either have an additional include or a prototype (both 1 line). Having the function in the .c file along with the EXPORT_SYMBOL makes the kernel size bigger. Including the header file with an

Re: [OpenWrt-Devel] [PATCH] bcm53xx: Add functions to get/release copies of nvram contents.

2015-05-12 Thread Felix Fietkau
On 2015-05-12 15:10, Hante Meuleman wrote: Added two functions to the bcm47xx_nvram module to get and release copies of the complete nvram contents. This can be used by for example brcmfmac to get complete nvram contents which will after some parsing be sent to device. Signed-off-by:

Re: [OpenWrt-Devel] [PATCH] Give WiFi modules more time to settle

2015-05-12 Thread Felix Fietkau
On 2015-05-12 10:35, Hante Meuleman wrote: The boot script gives 1 second for wifi modules to settle. For newer routers like R8000 which has three wifi devices which all need to be firmware downloaded, nvram downloaded and initialized this delay is getting very tight. On some bootups it

Re: [OpenWrt-Devel] [PATCH] Give WiFi modules more time to settle

2015-05-12 Thread Felix Fietkau
On 2015-05-12 11:33, Hante Meuleman wrote: Understood, what is wifi detect using as input? Do the netdevs have to be up? Where is the information that wifi app is reading coming from? It looks for registered cfg80211 wiphys. It does not care about netdevs. brcmfmac uses different method for

Re: [OpenWrt-Devel] [PATCH 1/3] [rpcd][v2] file: add support for base64

2015-05-11 Thread Felix Fietkau
On 2015-05-11 00:26, Luka Perkov wrote: Signed-off-by: Luka Perkov l...@openwrt.org --- = changes in v2: Use new libubox base64 provided API. file.c | 118 +++-- 1 file changed, 107 insertions(+), 11 deletions(-) diff

Re: [OpenWrt-Devel] [PATCH 1/3] [rpcd][v2] file: add support for base64

2015-05-11 Thread Felix Fietkau
On 2015-05-11 23:26, Luka Perkov wrote: Hi Felix, On Mon, May 11, 2015 at 11:36:46AM +0200, Felix Fietkau wrote: On 2015-05-11 00:26, Luka Perkov wrote: Signed-off-by: Luka Perkov l...@openwrt.org --- = changes in v2: Use new libubox base64 provided API. file.c | 118

Re: [OpenWrt-Devel] Remove requirement of an absolute path to the perl interpreter

2015-05-10 Thread Felix Fietkau
On 2015-05-11 01:12, Thomas Strobel wrote: Changing the scripts in OpenWRT to use /usr/bin/env sounds like a pragmatic choice that would already make life easier under NixOS. In addition to changing the scripts, what do you think about referring to $(STAGING_DIR)/host/bin only for calling

Re: [OpenWrt-Devel] [PATCH] mtd: correct/change warning text about partition split / read-only status

2015-05-10 Thread Felix Fietkau
On 2015-04-24 21:58, Hannu Nyman wrote: Since the kernel/rootfs split handling was modified 2 years ago by r37283 ( https://dev.openwrt.org/changeset/37283 ) and by the subsequent checkins, users have seen rather scary mtd errors in the log at every boot. The message ends -- forcing

Re: [OpenWrt-Devel] [PATCH] TP-LINK Archer C7 () JFFS2 only 5GHz fix

2015-05-10 Thread Felix Fietkau
On 2015-05-08 23:04, Spencer Thomason wrote: If you select a JFFS2 only build for the TP-Link Archer C7 then the ath10k drivers blob doesn't load and the 5GHz band doesn't work at all. It looks like the partitions were hard-coded for sqashfs. This patch allows both squashfs and JFFS2 to

Re: [OpenWrt-Devel] [RFC PATCH] ar71xx: Support Antminer S1/S3

2015-05-10 Thread Felix Fietkau
On 2015-05-02 05:08, James Hilliard wrote: I did my best to separate this device out, below is my current patch, comments appreciated. I'm having trouble figuring out how to differentiate the hwid which seems to be the same as the tp-link wr743nd-v2. 0x07430002 Is the hardware ID that both

Re: [OpenWrt-Devel] Remove requirement of an absolute path to the perl interpreter

2015-05-10 Thread Felix Fietkau
On 2015-05-10 14:16, Thomas Strobel wrote: diff --git a/include/feeds.mk b/include/feeds.mk index 695b03b..27f3e8f 100644 --- a/include/feeds.mk +++ b/include/feeds.mk @@ -7,7 +7,7 @@ -include $(TMP_DIR)/.packagefeeds -FEEDS_AVAILABLE:=$(shell $(SCRIPT_DIR)/feeds list -n)

Re: [OpenWrt-Devel] Remove requirement of an absolute path to the perl interpreter

2015-05-10 Thread Felix Fietkau
On 2015-05-09 16:50, Thomas Strobel wrote: Hi, I'm using OpenWRT on NixOS, a Linux operating system that uses a sophisticated hash mechanism instead of the Filesystem Hierarchy Standard. A consequence of the hashing mechanism is that files like, e.g., /usr/bin/perl don't exist under NixOS.

Re: [OpenWrt-Devel] [PATCH RFC] base-files: switch reset button support to hotplug.d

2015-05-10 Thread Felix Fietkau
On 2015-05-09 22:33, Rafał Miłecki wrote: For years now we have procd (with its hotplug support) and action JSON executing all scripts in /etc/hotplug.d/SUBSYSTEM/. Move reset button support to handle it the same way we handle other subsystems. Signed-off-by: Rafał Miłecki zaj...@gmail.com

Re: [OpenWrt-Devel] Remove requirement of an absolute path to the perl interpreter

2015-05-10 Thread Felix Fietkau
On 2015-05-10 20:49, Thomas Strobel wrote: On 05/10/2015 02:48 PM, Felix Fietkau wrote: On 2015-05-10 14:16, Thomas Strobel wrote: diff --git a/include/feeds.mk b/include/feeds.mk index 695b03b..27f3e8f 100644 --- a/include/feeds.mk +++ b/include/feeds.mk @@ -7,7 +7,7 @@ -include

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 prompt

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 can

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 insertion(+)

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 uint8_t *) in; + size_t lenout, i, j; + uint32_t cv = 0

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 fl.serv...@t-firefly.com Signed-off-by: daixj fl.serv...@t-firefly.com +Index: linux-3.18.11/arch/mips/kernel/setup.c +=== +--- linux-3.18.11.orig/arch/mips/kernel/setup.c

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 would

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] fs:

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 fl.serv...@t-firefly.com 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

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 ke...@darbyshire-bryant.me.uk The patch is line wrapped and does not

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 l...@openwrt.org CC: Steven Barth ste...@midlink.org --- --- /dev/null +++ b/b64.c @@ -0,0 +1,117 @@ +/* + * Copyright (C) 2011 Steven

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 var. is this

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 l...@openwrt.org CC: Steven Barth ste...@midlink.org --- --- /dev/null

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] == '=') + ret--; the 2 if clauses look redundant and i guess you could solve it with a loop Ok

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 inactivity...

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 l...@openwrt.org CC: Steven Barth ste...@midlink.org Your v2 patch did not properly consider my comments on v1. I'll repeat them with some

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 l...@openwrt.org --- ustream-polarssl.c | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/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 yszhou4t...@gmail.com 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

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 math...@codeaurora.org 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 j...@resnulli.us As of r45252 this should no longer be necessary. - Felix ___

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 list

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 zlog...@gentoo.org - References == [ 1 ] CVE-2014-4607 http://nvd.nist.gov/nvd.cfm?cvename=CVE-2014-4607 [ 2 ] CVE-2014-9645

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 triggers

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 dirkneukirc...@web.de mailto:dirkneukirc...@web.de wrote: adding uclibc snapshots maybe other (patched) variants might improve well some things (quality ? pressure to release new stable

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 blo...@openwrt.org 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).

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 after AA) is

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 math...@codeaurora.org Wouldn't it be better to register a

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 math...@codeaurora.org On what

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 n...@openwrt.org 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_config when device

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 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 dedec...@gmail.com --- config.c | 2 +- 1 file

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 issue

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 issue

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 zaj...@gmail.com --- uloop.c | 17 + 1 file changed, 17 insertions(+)

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