[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

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 leroi.li...@gmail.com wrote: On 10 July 2015 at 05:07, camden lindsay camden.lindsay+open...@gmail.com wrote: I'm sorry, i said ath9k in the subject but the above seems more likely to be ath10k. On Thu, Jul

[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

[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

[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 step...@spaceboyz.net --- tools/firmware-utils/src/mktplinkfw.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/tools/firmware-utils/src/mktplinkfw.c

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 pratik.prajapat...@gmail.com 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

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

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 install 3rd party package in OpenWrt

2015-07-13 Thread Yousong Zhou
On Jul 13, 2015 5:12 PM, Pratik Prajapati pratik.prajapat...@gmail.com wrote: Hi, What's the difference between following 2 methods in package makefile: 1) PKG_INSTALL:=1 logs: make[2]: Leaving directory

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 jbscienc...@gmail.com 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,

Re: [OpenWrt-Devel] NVRAM 32K

2015-07-13 Thread Rafał Miłecki
On 12 May 2015 at 10:25, Hante Meuleman meule...@broadcom.com 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:

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