Re: [OpenWrt-Devel] Broadcom Wireless AC Driver

2015-10-26 Thread Imre Kaloz
On Mon, 26 Oct 2015 10:50:41 +0100, John Crispin wrote: This is where your good intentions likely will yield bad results. intentionally breaking the license/law is not "good intentions" the fact that he used a anonymous remailer just shows that he knew what he was

Re: [OpenWrt-Devel] [PATCH] package/devel/perf: fix build for kernel 4.1

2015-10-26 Thread John Crispin
On 26/10/2015 12:48, Alexandru Ardelean wrote: > Looks like it did not take much to actually come back with an answer. > So, > > In file: > https://github.com/torvalds/linux/blob/v4.1/tools/perf/Makefile.perf > Line 75: # Define NO_LZMA if you do not want to support compressed > (xz) kernel

Re: [OpenWrt-Devel] Broadcom Wireless AC Driver

2015-10-26 Thread Felix Kaechele
On 25/10/15 23:27, openwr...@ruggedinbox.com wrote: > I came across the source code for the broadcom > wireless AC driver in a GPL release(I won't say from where so that they > don't get in trouble). I've attached the driver to this email. This is not helpful. If at all this will make developing

Re: [OpenWrt-Devel] [PATCH] package/devel/perf: fix build for kernel 4.1

2015-10-26 Thread Alexandru Ardelean
Ah, sorry about this. I forgot about it ; completely swamped. Will add it in my desktop notes that I keep and come back with an answer asap (hopefully today/tomorrow). On Mon, Oct 26, 2015 at 12:13 PM, John Crispin wrote: > > > On 21/10/2015 20:03, John Crispin wrote: > >

Re: [OpenWrt-Devel] Broadcom Wireless AC Driver

2015-10-26 Thread John Crispin
On 26/10/2015 11:22, Imre Kaloz wrote: > On Mon, 26 Oct 2015 10:50:41 +0100, John Crispin > wrote: > > > >>> This is where your good intentions likely will yield bad results. >> >> intentionally breaking the license/law is not "good intentions" the fact >> that he used a

Re: [OpenWrt-Devel] [PATCH] package/devel/perf: fix build for kernel 4.1

2015-10-26 Thread Alexandru Ardelean
Looks like it did not take much to actually come back with an answer. So, In file: https://github.com/torvalds/linux/blob/v4.1/tools/perf/Makefile.perf Line 75: # Define NO_LZMA if you do not want to support compressed (xz) kernel modules Then file:

Re: [OpenWrt-Devel] Broadcom Wireless AC Driver

2015-10-26 Thread John Crispin
On 26/10/2015 10:40, Felix Kaechele wrote: > On 25/10/15 23:27, openwr...@ruggedinbox.com wrote: >> I came across the source code for the broadcom >> wireless AC driver in a GPL release(I won't say from where so that they >> don't get in trouble). I've attached the driver to this email. > >

Re: [OpenWrt-Devel] [PATCH] package/devel/perf: fix build for kernel 4.1

2015-10-26 Thread John Crispin
On 21/10/2015 20:03, John Crispin wrote: > > > On 15/10/2015 15:01, Alexandru Ardelean wrote: >> This fix contains 2 parts: >> - kernel 4.1: backport upstream patch "perf build: Do not fail on missing >> Build file" >> - add +liblzma dependency >> > > did you find out why there is suddenly

Re: [OpenWrt-Devel] Broadcom Wireless AC Driver

2015-10-26 Thread openwrtwl
On 2015-10-26 04:50, John Crispin wrote: On 26/10/2015 10:40, Felix Kaechele wrote: On 25/10/15 23:27, openwr...@ruggedinbox.com wrote: I came across the source code for the broadcom wireless AC driver in a GPL release(I won't say from where so that they don't get in trouble). I've attached

[OpenWrt-Devel] [PATCH] kernel: add some missing symbols for 4.3

2015-10-26 Thread Daniel Golle
Signed-off-by: Daniel Golle --- target/linux/generic/config-4.3 | 11 +++ 1 file changed, 11 insertions(+) diff --git a/target/linux/generic/config-4.3 b/target/linux/generic/config-4.3 index 012c57e..a780fb0 100644 --- a/target/linux/generic/config-4.3 +++

Re: [OpenWrt-Devel] [PATCH] kernel: Fix environment pointer setup in ar71xx/ath79

2015-10-26 Thread John Crispin
On 21/10/2015 17:53, Ted Hess wrote: > Observed on ar71xx/ath79 platforms such as Ubiquiti RouterStations.Reported > in #20642.: > (https://dev.openwrt.org/ticket/20642). > > If embedded command-line text exists with CONFIG_IMAGE_CMDLINE_HACK=y,firmware > init doesn't initialize environment

Re: [OpenWrt-Devel] [PATCH] package/devel/perf: fix build for kernel 4.1

2015-10-26 Thread John Crispin
thanks ! the patch looks good but i am failing to understand why the lzma needs to be added :) On 26/10/2015 11:52, Alexandru Ardelean wrote: > Ah, sorry about this. > I forgot about it ; completely swamped. > > Will add it in my desktop notes that I keep and come back with an answer > asap

Re: [OpenWrt-Devel] Progress on Reproducible Builds

2015-10-26 Thread Steven Barth
Hello Bryan, thanks a lot for your efforts. I would suggest to submit the patchset to this list (with added Signed-Off-By tags) and we can discuss the individual ones here then. Thanks, Steven ___ openwrt-devel mailing list

Re: [OpenWrt-Devel] [PATCH] busybox: update to version 1.24.1

2015-10-26 Thread Bastian Bittorf
* Magnus Kroken [26.10.2015 07:11]: > Patches applied upstream and dropped: > 280-fix_find_regression.patch > 300-ip-addr-improvements.patch > > Signed-off-by: Magnus Kroken > --- > Run-time tested on ar71xx (TL-WDR4300). Compile-tested on mpc85xx and

[OpenWrt-Devel] Ubus crashes when using its ACL feature

2015-10-26 Thread Wang Bin
Hi, I'm using UBUS ACL features as my application is in non ROOT group. I define /usr/share/acl.d/myapp.json { "group" : "mygroup", "access" : {"methods" : [ "*" ]}, "publish" : [ "*" ], "subscribe" : [ "*" ] } Then ubusd crashes. By analysis, my app calls ubus_register_event_handler { 241

[OpenWrt-Devel] [PATCH v3] ar71xx: add support for TP-LINK TL-WR941ND v6 (international version)

2015-10-26 Thread Matthias Schiffer
The international version is completely different from the already supported Chinese version. The WLAN of the QCA956x SoC used by this router has been fixed in r46948. This patch looks like it changes a lot in 700-MIPS-ath79-openwrt-machines.patch; that is not the case. Unfortunately, quilt

[OpenWrt-Devel] [PATCH v2] busybox: update to version 1.24.1

2015-10-26 Thread Magnus Kroken
Patches applied upstream and dropped: 280-fix_find_regression.patch 300-ip-addr-improvements.patch Fixed upstream: 290-ash-fix-a-regression-in-handling-local-variables.patch (see thread: http://lists.busybox.net/pipermail/busybox/2015-April/082783.html) Signed-off-by: Magnus Kroken

[OpenWrt-Devel] [PATCH] realview: Create ext4 image by default

2015-10-26 Thread Dov Murik
Following the additions in r46924, enable the 'ext4' feature for realview target so the ext4 image is created by default. Signed-off-by: Dov Murik --- target/linux/realview/Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[OpenWrt-Devel] Extra file permissions

2015-10-26 Thread David H. Madden
I have been adding ssh authorized_keys files to my OpenWRT devices, and would like to have them built into the sysupgrade image, rather than adding to /overlay afterward. However, the process that copies files from .../files to the final image resets permissions to u+rw,g+r,o+r, which wrecks

[OpenWrt-Devel] [PATCH] mac80211: update regulatory database to master-2015-10-22

2015-10-26 Thread Andrej Vlasic
Signed-off-by: Andrej Vlasic --- package/kernel/mac80211/files/regdb.txt | 149 +--- 1 file changed, 80 insertions(+), 69 deletions(-) diff --git a/package/kernel/mac80211/files/regdb.txt b/package/kernel/mac80211/files/regdb.txt index

[OpenWrt-Devel] UniFi-AC-LR ( or UniFi-AC-LITE )

2015-10-26 Thread David Hutchison
I just got this board and I am looking to port OpenWRT to it. I have taken this board apart and can receive serial, however TX doesn't appear to work ( Maybe there is a GPIO, I need to toggle? ). These two new UniFi-AC boards have the new QCA953x processor in them ( LITE and LR ). This is not the

Re: [OpenWrt-Devel] [PATCH 2/2] ar71xx: add support for TP-LINK TL-WR841N/ND v10

2015-10-26 Thread Alexander Couzens
After taking some time to think about this. Wouldn't luci tell the user it's running on a 841 v9? This could confuse them because a v9 sysupgrade wouldn't work. sysupgrade fails then. Also an automatic upgrade based on system info wouldn't work either. As long we don't have dts support, I see

[OpenWrt-Devel] Need to check version of LUCI

2015-10-26 Thread nam228
Hi all, I am using OpenWRT trunk version 47213 svn://svn.openwrt.org/openwrt/trunk I installed luci by these commands: trunk/script/feed update -a trunk/script/feed install luci My question is: can i check version of luci ? or how can i downgrade

Re: [OpenWrt-Devel] [PATCH 2/2] ar71xx: add support for TP-LINK TL-WR841N/ND v10

2015-10-26 Thread Matthias Schiffer
No, LuCI uses util.ubus("system", "board"), which doesn't even expose the internal board_name, but only the model name, so it will only see the v10. Automatic upgrade systems should also rely on the model name only, not the board name. The board name is really only an internal identifier.

Re: [OpenWrt-Devel] Need to check version of LUCI

2015-10-26 Thread Nishant Sharma
Hi, You may clear your browser cookies and cache. Do rm -rf /tmp/luci* and then try. Regards, Nishant On 27 October 2015 09:26:15 GMT+05:30, nam228 wrote: >Hi all, > >I am using OpenWRT trunk version 47213 > svn://svn.openwrt.org/openwrt/trunk > >I

Re: [OpenWrt-Devel] [PATCH] kernel: Fix environment pointer setup in ar71xx/ath79

2015-10-26 Thread Ted Hess
Hi John - I don't think this patch needs to be backported to CC. Bug does not exist in the 3.18 patch-set. Environment pointer is setup correctly in prom_init(). /ted -- Date: Mon, 26 Oct 2015 10:35:04 +0100 From: John Crispin To:

Re: [OpenWrt-Devel] [PATCH libubox v2] Support broadcast sockets in usock

2015-10-26 Thread Javier Domingo Cansino
On Mon, Oct 26, 2015 at 2:16 PM John Crispin wrote: > Hi, > > was about to merge this but then ... see inline > > On 02/10/2015 15:53, Javier Domingo Cansino wrote: > > Signed-off-by: Javier Domingo Cansino > > --- > > usock.c | 4 +++- > > usock.h | 1

[OpenWrt-Devel] [PATCH] toolchain: fix PKG_SOURCE_URL for gdb

2015-10-26 Thread Philipp Borgers
The url for the gdb source changed upstream. Related ticket: https://dev.openwrt.org/ticket/20789 Signed-off-by: Philipp Borgers --- toolchain/gdb/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolchain/gdb/Makefile

Re: [OpenWrt-Devel] Firmware Upgrade - Mikrotik - ar71xx

2015-10-26 Thread Nishant Sharma
Hi Davey, Thanks for your response. I was away due to festive season so couldn't reply earlier. On Tuesday 20 October 2015 09:43 PM, David Hutchison wrote: I think sysupgrade now works with the rb951ui; however I haven't tested it. I wrote my own upgrade process before sysupgrade was

Re: [OpenWrt-Devel] [PATCH 2/2] ar71xx: add support for TP-LINK TL-WR841N/ND v10

2015-10-26 Thread Alexander Couzens
On Mon, 26 Oct 2015 01:21:58 +0100 Matthias Schiffer wrote: > Thanks, but I know what I'm doing. The hardware is similar enough to > boot with the exact same initialization routines as the v9, thus > reusing the BOARDNAME is fine (it is done like this for other >

Re: [OpenWrt-Devel] [PATCH libubox v2] Support broadcast sockets in usock

2015-10-26 Thread John Crispin
Hi, was about to merge this but then ... see inline On 02/10/2015 15:53, Javier Domingo Cansino wrote: > Signed-off-by: Javier Domingo Cansino > --- > usock.c | 4 +++- > usock.h | 1 + > 2 files changed, 4 insertions(+), 1 deletion(-) > > diff --git a/usock.c b/usock.c >

Re: [OpenWrt-Devel] [PATCH 2/8] ramips: remove rt2880 spi lock and clean bit operation

2015-10-26 Thread John Crispin
Hi Michael, while merging the series i stumbled across this patch. to me this looks wrong. rather than removing the locking i think we should add more to rt2880_spi_read and rt2880_spi_write. i'll merge the other 7 patches just now if they apply without 2/8 John On 08/10/2015 16:16,

[OpenWrt-Devel] [PATCH] package/devel/perf: fix build for kernel 4.1

2015-10-26 Thread Alexandru Ardelean
This fix contains 2 parts: - kernel 4.1: backport upstream patch "perf build: Do not fail on missing Build file" - add NO_LZMA=1 to perf MAKE_FLAGS to disable LZMA support Signed-off-by: Alexandru Ardelean --- package/devel/perf/Makefile| 1 +

[OpenWrt-Devel] [PATCH] image.mk: Add NOTPARALLEL flag to fix parallel build breakage

2015-10-26 Thread Petr Štetiar
Fixes following error: $ make -j8 V=s ...snip... ar: .: file changed as we read it make[5]: *** [mkfs-targz] Error 1 make[5]: *** Waiting for unfinished jobs ...snip... Build failed - please re-run with -j1 to see the real error

Re: [OpenWrt-Devel] [PATCH 2/8] ramips: remove rt2880 spi lock and clean bit operation

2015-10-26 Thread Mingyu Li
Hi John. i check the code which functions need read/write register. 3 functions (prepare_message, set_cs, transfer_one) are used at same function __spi_pump_messages at spi.c. the __spi_pump_message is protected by spi_master->queue_lock this make sure spi device operation is serialized. the

Re: [OpenWrt-Devel] [PATCH] toolchain: fix PKG_SOURCE_URL for gdb

2015-10-26 Thread Jo-Philipp Wich
Hi Philipp, applied in r47277 with a minor edit (added "CC: " tag to subject line). Please consider this from now on whenever a patch is meant for a specific branch instead of trunk. Thanks! ~ Jow ___ openwrt-devel mailing list

[OpenWrt-Devel] [PATCH] tools/pkg-config: update to 0.29

2015-10-26 Thread Hannu Nyman
Update pkg-config to version 0.29. Release announcement: http://lists.freedesktop.org/archives/pkg-config/2015-September/001019.html Drop patches, as they have been implemented upstream. Signed-off-by: Hannu Nyman --- pkg-config 0.29 === - Fixed a regression from 0.28 in

[OpenWrt-Devel] [PATCH] tools/quilt: update to 0.64

2015-10-26 Thread Hannu Nyman
Update quilt to version 0.64. Changelog: http://git.savannah.gnu.org/cgit/quilt.git/tree/NEWS?id=v0.64 Refresh patches. (scripts/inspect.in has been removed upstream) Signed-off-by: Hannu Nyman --- Version 0.64 (Mon Feb 09 2015) - Check for series file consistency -