[OpenWrt-Devel] [PATCH v2 3/3] lua: restore return value of require('uci') to module table.

2015-03-17 Thread Yousong Zhou
Before commit b121dd lua: add lua 5.2 compatibility changes, the module table was filled by luaL_register() which would leave the table at the top of the stack. But in current code the module table will be popped by lua_setglobal() causing the return value defaulting to boolean value true. Also

[OpenWrt-Devel] [PATCH v2 1/3] testenv: test for exit status of uci export.

2015-03-17 Thread Yousong Zhou
Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- test/tests.d/010_export |8 1 file changed, 8 insertions(+) diff --git a/test/tests.d/010_export b/test/tests.d/010_export index 259f988..584bcc8 100644 --- a/test/tests.d/010_export +++ b/test/tests.d/010_export @@ -1,6 +1,14 @@

[OpenWrt-Devel] [PATCH v2 0/3] uci: a few fixes.

2015-03-17 Thread Yousong Zhou
This cover letter is mainly for noting that this series is for the uci repo. v2 - v1 - Fix a typo in the 1st patch causing an existing test being commented out. - More verbose commit message for the 3rd patch. Yousong Zhou (3): testenv: test for exit status of uci export. cli: fix return

Re: [OpenWrt-Devel] [PATCH] ralink: mt7621 fix pinctrl config

2015-03-17 Thread John Crispin
Hi, some comments inline On 17/03/2015 08:24, wengbj wrote: From: zouxf fl.serv...@t-firefly.com Signed-off-by: zouxf fl.serv...@t-firefly.com --- target/linux/ramips/dts/mt7621.dtsi| 18 +++--- .../patches-3.18/0062-mt7621-fix-pinctrl.patch | 58

Re: [OpenWrt-Devel] [PATCH] kernel: Support kernel options required by systemd

2015-03-17 Thread John Crispin
On 17/03/2015 09:00, Jeff Waugh wrote: On Mon, Mar 16, 2015 at 5:09 PM, Jeff Waugh j...@bethesignal.org mailto:j...@bethesignal.org wrote: On Mon, Mar 16, 2015 at 4:56 PM, Rafał Miłecki zaj...@gmail.com mailto:zaj...@gmail.com wrote: If you want to put some comments in your

Re: [OpenWrt-Devel] [PATCH] ar71xx: fix LED GPIO definitions for NETGEAR WNR2200

2015-03-17 Thread John Crispin
hi, some more comments inline On 13/03/2015 14:51, Markus Kohls wrote: Signed-off-by: Markus Kohls mar...@kola.li Now with corrected whitespaces and signed --- .../ar71xx/files/arch/mips/ath79/mach-wnr2200.c| 77 ++ 1 file changed, 35 insertions(+), 42

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 1/3] [rpcd] file: add md5sum support

2015-03-17 Thread John Crispin
On 16/03/2015 18:47, Luka Perkov wrote: + *(wbuf + 33) = 0; is this not off by 1 ? No. ?!?! you are accessing the memory behind wbuf. my question was a statement wrapped as a question to be polite. let me rephrase this is a definate off by one. please fix it.

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

2015-03-17 Thread Lawrence D'Anna
On darwin we need to import stdint to get these integer typedefs. --- tools/e2fsprogs/patches/005-darwin-compat.patch | 26 + 1 file changed, 26 insertions(+) create mode 100644 tools/e2fsprogs/patches/005-darwin-compat.patch diff --git

Re: [OpenWrt-Devel] [PATCH 1/2] gccgo/libgo toolchain support for OpenWrt

2015-03-17 Thread John Crispin
Hi, comment inline On 04/03/2015 19:53, Jeff Waugh wrote: Hi all, I'm sure there are style weirdnesses with this. Commentary much appreciated! - Jeff - It won't work with uClibc 0.99.33.x because it requires make/get/setcontext - It DOES work with a recent uClibc snapshot (with

Re: [OpenWrt-Devel] [PATCH] lantiq/xrx200/TDW8970: add ltq-ptm-vr9 to default packages

2015-03-17 Thread John Crispin
On 17/03/2015 08:17, John Crispin wrote: Hi, does this work with default images ? i recall that when both drivers are loaded, neither works, or only the first caller. the drivers register a call back with the mei driver and there is only a slot for one caller if i remember correctly.

Re: [OpenWrt-Devel] [PATCH] lantiq/xrx200/TDW8970: add ltq-ptm-vr9 to default packages

2015-03-17 Thread John Crispin
Hi, does this work with default images ? i recall that when both drivers are loaded, neither works, or only the first caller. the drivers register a call back with the mei driver and there is only a slot for one caller if i remember correctly. John On 16/03/2015 23:14, Alexander Couzens

[OpenWrt-Devel] [PATCH] ralink: mt7621 fix pinctrl config

2015-03-17 Thread wengbj
From: zouxf fl.serv...@t-firefly.com Signed-off-by: zouxf fl.serv...@t-firefly.com --- target/linux/ramips/dts/mt7621.dtsi| 18 +++--- .../patches-3.18/0062-mt7621-fix-pinctrl.patch | 58 2 files changed, 67 insertions(+), 9 deletions(-) create mode

Re: [OpenWrt-Devel] [PATCH] kernel: Support kernel options required by systemd

2015-03-17 Thread Jeff Waugh
On Mon, Mar 16, 2015 at 5:09 PM, Jeff Waugh j...@bethesignal.org wrote: On Mon, Mar 16, 2015 at 4:56 PM, Rafał Miłecki zaj...@gmail.com wrote: If you want to put some comments in your patch, place them below the ---. This way they won't be visible after applying patch with git am. Thanks

Re: [OpenWrt-Devel] I'd like to donate a Linksys WRT300N V1

2015-03-17 Thread Alex Henrie
2015-03-13 1:08 GMT-06:00 Alex Henrie alexhenri...@gmail.com: 2015-03-13 0:50 GMT-06:00 Rafał Miłecki zaj...@gmail.com: I work on both Broadcom targets, brcm47xx and bcm53xx: http://git.openwrt.org/?p=openwrt.gita=searchh=HEADst=authors=rmilecki (History goes back to September only, previously

[OpenWrt-Devel] [PATCH] kernel: Support kernel options required by systemd

2015-03-17 Thread Jeff Waugh
These kernel options are all likely to be widely useful in this modern age, but are immediately useful for systemd support. c.f. http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-apps/systemd/systemd-.ebuild?view=markup#l118 Adapted from a patch by Adam Porter. Signed-off-by:

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

2015-03-17 Thread Jeff Waugh
On Tue, Mar 17, 2015 at 7:51 PM, Felix Fietkau n...@openwrt.org wrote: Did you see any real improvements with the snapshot that you used in your patch? The main thing for me was presence of get/set/makecontext support. Definitely agree about the moving target problem. FWIW, I consider

Re: [OpenWrt-Devel] [PATCH] ARV752DPW22: enable netconsole in u-boot if 192.168.1.2 is reachable

2015-03-17 Thread Tobias Göbel
Hi Luka, i tried to do the pull request. But i didn't found the patch files i altered in the git repository from Daniel. Arent those path files from the openwrt git? Tobias Am 16.03.2015 um 18:21 schrieb Tobias Göbel: Hi Luka, i'll send Daniel a pullrequest as soon as i have time to put it

[OpenWrt-Devel] [PATCH] ralink: fix mt7621 i2c name

2015-03-17 Thread wengbj
From: zouxf fl.serv...@t-firefly.com Signed-off-by: zouxf fl.serv...@t-firefly.com --- target/linux/ramips/dts/mt7621.dtsi |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi index 50cd144..53b215f

[OpenWrt-Devel] [PATCH] config: add function tracers

2015-03-17 Thread Bryan Forbes
Adds menuconfig options for ftrace function tracers Signed-off-by: Bryan Forbes br...@reigndropsfall.net --- config/Config-kernel.in | 20 1 file changed, 20 insertions(+) diff --git a/config/Config-kernel.in b/config/Config-kernel.in index 34e07bd..437a623 100644 ---

Re: [OpenWrt-Devel] [PATCH] ar71xx: add support for the UniFi AP Outdoor Plus

2015-03-17 Thread Sergey Ryazanov
2015-03-17 23:15 GMT+03:00 Stefan Rompf ste...@loplof.de: Possibly, you could see some changes during change. Try check GPIO pins with oscillograph during channel change. Unfortunately opening the case is not an option. You should be a wizard to reveal hw protocol without touching hw :) Or

Re: [OpenWrt-Devel] [PATCH] ar71xx: detect GL.iNet model

2015-03-17 Thread Mark Janssen
I've spoken with the manufacturer of the GL-Inet's there have only been a very small amount of 6408's made, and they currently only make the 6416. (I'm the importer for .nl / .be www.gl-inet.nl ) On Mon, Mar 16, 2015 at 8:03 PM, Matthias Schiffer mschif...@universe-factory.net wrote: On

Re: [OpenWrt-Devel] [PATCH] ar71xx: add support for the UniFi AP Outdoor Plus

2015-03-17 Thread Stefan Rompf
Hi Sergey, If they built SPIoverGPIO or I2CoverGPIO or some other serial bus over GPIO, then you do not see any changes between channel switches. Or they could use some non GPIO interface to communicate with external filter (embedded SPI, I2C or even USB or PCI of SoC). well, GPIO has been

Re: [OpenWrt-Devel] Ubiquiti AirOS7 is based on openwrt r40432

2015-03-17 Thread Stefan Rompf
Hi Federico, On Donnerstag, 12. März 2015 13:37:37 Nemesis wrote: I went at this URL: https://www.ubnt.com/download/?group=nanobeam-ac Clicked on GPL Archive, downloaded it, extracted it, and took a look in it and found out a readme file which states: that the archive contains all GPL

[OpenWrt-Devel] [PATCH] kernel: bump to 3.14.35, 3.18.9, 3.19.1 and 4.0-rc4

2015-03-17 Thread Daniel Golle
Signed-off-by: Daniel Golle dan...@makrotopia.org --- include/kernel-version.mk | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/include/kernel-version.mk b/include/kernel-version.mk index f8ae94d..7748145 100644 --- a/include/kernel-version.mk +++

Re: [OpenWrt-Devel] [PATCH] kernel: bump to 3.14.35, 3.18.9, 3.19.1 and 4.0-rc4

2015-03-17 Thread Imre Kaloz
On Tue, 17 Mar 2015 12:28:44 +0100, Daniel Golle dan...@makrotopia.org wrote: Signed-off-by: Daniel Golle dan...@makrotopia.org --- include/kernel-version.mk | 16 1 file changed, 8 insertions(+), 8 deletions(-) A bit hard to think no patches {generic,target} needs

[OpenWrt-Devel] [PATCH v2] kernel: bump to 3.14.35, 3.18.9, 3.19.1 and 4.0-rc4

2015-03-17 Thread Daniel Golle
also refresh generic patches for 3.14, 3.18, 3.19 and 4.0 targets might need a minor refresh as well, however, it looks like everything still applies cleanly with occasional small offsets. Signed-off-by: Daniel Golle dan...@makrotopia.org --- include/kernel-version.mk |