[OpenWrt-Devel] [PATCH V2 ubox] log: allow filtering messages with a regexp pattern

2015-07-13 Thread Rafał Miłecki
This allows printing/streaming/writing messages matching a specified basic regular expression only. Signed-off-by: Rafał Miłecki --- V2: Improve --help description of the new -e argument. --- log/logread.c | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/log/l

Re: [OpenWrt-Devel] [PATCH V3] cdc_ncm: Add support for moving NDP to end of NCM frame

2015-07-13 Thread John Crispin
Hi, how is the testing going ? i would like to also pull this intot he CC which means there is not that much time left. also the patch sent was missing proper subject and SoB. John On 12/07/2015 15:36, Matti Laakso wrote: >> Ahoy everyone, >> >> more on the Telekom Speedstick LTE V (Hua

Re: [OpenWrt-Devel] How to download 3rd party package from git in OpenWrt

2015-07-13 Thread Pratik Prajapati
It worked but still i got some logs but don't know i should worry about it or not. logs: Checking out files from the git repository... Cloning into 'radvd-2.11'... remote: Counting objects: 3603, done. remote: Total 3603 (delta 0), reused 0 (delta 0), pack-reused 3603 Receiving objects: 100% (360

Re: [OpenWrt-Devel] [PATCH ubox] log: allow filtering messages with a regexp pattern

2015-07-13 Thread John Crispin
On 12/07/2015 15:02, Rafał Miłecki wrote: > + "-eFilter messages (not hostnames, > facilities, etc.)\n" i think a log line consiste of the hostname + facility + message. hence listing the bits not included in the message is not needed. ___

Re: [OpenWrt-Devel] Archer C7 CC 15.05-rc1 Ath9K phy1: Failed to stop TX DMA, queues=0x002!

2015-07-13 Thread camden lindsay
Thank you for noting this, Roman. c On Fri, Jul 10, 2015 at 10:55 PM, Roman Yeryomin wrote: > On 10 July 2015 at 05:07, camden lindsay > wrote: >> I'm sorry, i said ath9k in the subject but the above seems more likely >> to be ath10k. >> >> On Thu, Jul 9, 2015 at 7:03 PM, camden lindsay >> wrot

Re: [OpenWrt-Devel] [PATCH v4 0/2] Support Ubiquiti Unifi Outdoor Plus HSR filter

2015-07-13 Thread Stefan Rompf
On Dienstag, 16. Juni 2015 23:14:05 Stefan Rompf wrote: > so we arrive at the fourth iteration of the patchset to support the HSR of > the Ubiquiti Unifi Outdoor Plus access point. This version implements the > suggestions from Felix. Ping? Stefan ___

Re: [OpenWrt-Devel] NVRAM > 32K

2015-07-13 Thread Rafał Miłecki
On 12 May 2015 at 10:25, Hante Meuleman wrote: > The R8000 AP has more than 32K nvram memory. This was an issue for the > > userspace app "nvram". This got fixed at some point, but then it was > reverted: > > http://git.openwrt.org/?p=openwrt.git;a=commit;h=9258d82f1d4a79f86ea72aad349b3f3eeb772d87

Re: [OpenWrt-Devel] [PATCH] firmware-utils mktplinkfw: print amount of exceeding bytes

2015-07-13 Thread Martin Blumenstingl
On Mon, Jul 13, 2015 at 6:04 PM, Jonathan Bennett wrote: > So, the real problem is that for some reason, my system is ignoring the make > error. I think there was a discussion some time ago that images that are "too large" should not break the whole image-builder (for nightlies, release-builds, et

Re: [OpenWrt-Devel] [PATCH] firmware-utils mktplinkfw: print amount of exceeding bytes

2015-07-13 Thread Jonathan Bennett
My comments weren't a critique of your patch, and probably belong in a separate thread, or even a bug report on dev.openwrt.org. Apparently the behavior my machine is showing is not the normal or intended behavior. On my machine (Fedora 22, but also had the issue in Fedora 21, if I remember correc

Re: [OpenWrt-Devel] [PATCH] firmware-utils mktplinkfw: print amount of exceeding bytes

2015-07-13 Thread Stephan Maka
Jonathan Bennett wrote: > Tested and seems to work as intended. However, I think the image too big > messages should be printed at the default verbosity. The patch doesn't change any levels. > Currently, if make fails to generate the final image, it doesn't give any > message to acknowledge, and

Re: [OpenWrt-Devel] How to install 3rd party package in OpenWrt

2015-07-13 Thread Yousong Zhou
On Jul 13, 2015 5:12 PM, "Pratik Prajapati" wrote: > > Hi, > > What's the difference between following 2 methods in package makefile: > > 1) PKG_INSTALL:=1 > > logs: > make[2]: Leaving directory `/home/pratik.prajapati/work/openwrt-radvd/openwrt-tip/openwrt/package/libs/toolchain' > make[2]: Enter

Re: [OpenWrt-Devel] [PATCH] firmware-utils mktplinkfw: print amount of exceeding bytes

2015-07-13 Thread Jonathan Bennett
Tested and seems to work as intended. However, I think the image too big messages should be printed at the default verbosity. Currently, if make fails to generate the final image, it doesn't give any message to acknowledge, and appears to have succeeded, there are just "mysteriously" missing files

Re: [OpenWrt-Devel] How to download 3rd party package from git in OpenWrt

2015-07-13 Thread Yousong Zhou
On Jul 13, 2015 6:53 PM, "Pratik Prajapati" wrote: > > Hi, > > I want to build radvd-2.11 package in OpenWrt but i am unable to download it using Makefile rules. > > Makefile: > > include $(TOPDIR)/rules.mk > > PKG_NAME:=radvd > PKG_VERSION:=2.11 > PKG_SOURCE_PROTO:=git > > PKG_BUILD_DIR:=$(BUILD_

[OpenWrt-Devel] [PATCH] firmware-utils mktplinkfw: print amount of exceeding bytes

2015-07-13 Thread Stephan Maka
This is very useful for trimming images towards 4 MiB flash size. Signed-off-by: Stephan Maka --- tools/firmware-utils/src/mktplinkfw.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/tools/firmware-utils/src/mktplinkfw.c b/tools/firmware-utils/src/mkt

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

2015-07-13 Thread Bruno Randolf
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 TARGET_PREINIT_CONFIG_RESTORE can be set to 'n'. This is more useful

[OpenWrt-Devel] [PATCH] brcm2708: Implement sysupgrade

2015-07-13 Thread Bruno Randolf
Implement sysupgrade for Raspberry Pi, similar to the way it is done on x86: The config files are saved in the boot partition and moved to where they are normally expected in preinit. Also add optional gzip compression for the SD card image, since this can save a lot of space (76M vs 6M), also sim

[OpenWrt-Devel] How to download 3rd party package from git in OpenWrt

2015-07-13 Thread Pratik Prajapati
Hi, I want to build radvd-2.11 package in OpenWrt but i am unable to download it using Makefile rules. Makefile: include $(TOPDIR)/rules.mk PKG_NAME:=radvd PKG_VERSION:=2.11 PKG_SOURCE_PROTO:=git PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).zip

[OpenWrt-Devel] How to install 3rd party package in OpenWrt

2015-07-13 Thread Pratik Prajapati
Hi, What's the difference between following 2 methods in package makefile: 1) PKG_INSTALL:=1 logs: make[2]: Leaving directory `/home/pratik.prajapati/work/openwrt-radvd/openwrt-tip/openwrt/package/libs/toolchain' make[2]: Entering directory `/home/pratik.prajapati/work/openwrt-radvd/openwrt-tip/