Re: [OpenWrt-Devel] [PATCH] oxnas: fix the incorrect board names which cause sysupgrade failed

2015-10-29 Thread Daniel Golle
Hi! Yes, that's getting closer, but unfortunately it's still not applicable. Apparently the patch got white-space mangled and CR-LF'ed by your MUA. Try attaching the patches created using git format-patch --to openwrt-devel@ instead, as that will prevent the mail-body from getting recoded or

Re: [OpenWrt-Devel] Memory leak in ash with script using "local" incorrectly

2015-10-29 Thread Rafał Miłecki
On 29 October 2015 at 16:36, Ron Yorston wrote: > Bastian Bittorf wrote: >>i just tested v1.24.1 on OpenWrt[1] and there is *no* leak. > > I think this is due to > > <0a0acb5> 2015-04-18 [Denys Vlasenko] ash: fix handling of duplicate "local" > > which is included in 1.24 but not 1.23. This pat

[OpenWrt-Devel] [PATCH] [packages] generic :add-missing-ubi*-in-ramfs-when-sysupgrade

2015-10-29 Thread 未命名
This patch may fix the sysupgrade with xxx-squashfs-sysupgrade.tar file by adding missing other ubi* in ramfs. Signed-off-by: Shonn Lu --- diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh index 761b4c1..78bd65f 100644 --- a/package/ba

[OpenWrt-Devel] [PATCH] oxnas: fix the incorrect board names which cause sysupgrade failed

2015-10-29 Thread play4fun
This patch fix the incorrect board name which cause sysupgrade failed. The CONTROL file in xxx-squashfs-sysupgrade.tar says BOARD=pogoplug-pro, instead of pogoplugpro. Signed-off-by: Shonn Lu --- diff --git a/target/linux/oxnas/base-files/etc/board.d/01_leds b/target/linux/oxnas/base-files/et

[OpenWrt-Devel] [PATCH] ramips: add support for ZBT WG2626

2015-10-29 Thread Daniel Golle
Signed-off-by: Daniel Golle --- Note that HIGHMEM support apparently breaks spi-mt7621 and thus access to the SPI-NOR flash. As a work-around, one can limit the memory to 256MB which fixes the issue. .../linux/ramips/base-files/etc/board.d/02_network | 3 +- target/linux/ramips/base-files/etc/

[OpenWrt-Devel] [PATCH CC] procd: rework makefile, split ujail/seccomp

2015-10-29 Thread Etienne CHAMPETIER
ujail doesn't depend on seccomp and some archs dont support seccomp Backport of r46936 needed since last procd update (r47268) Signed-off-by: Etienne CHAMPETIER --- package/system/procd/Makefile | 52 +-- 1 file changed, 26 insertions(+), 26 deletions(-)

[OpenWrt-Devel] [PATCH] iproute2: fix compile with uClibc-ng

2015-10-29 Thread Stijn Tintel
Signed-off-by: Stijn Tintel --- package/network/utils/iproute2/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/network/utils/iproute2/Makefile b/package/network/utils/iproute2/Makefile index 23834df..f5b5f4e 100644 --- a/package/network/utils/iproute2/Makefile +++ b/packa

Re: [OpenWrt-Devel] [PATCH] [oxnas] fix the incorrect board name which cause sysupgrade failed

2015-10-29 Thread Daniel Golle
Hi! Thank you for contributing by sending patches! On Fri, Oct 30, 2015 at 12:52:35AM +0800, 未命名 wrote: > This patch fix the incorrect board name which cause sysupgrade failed. Unfortunately your submissions cannot be included in OpenWrt for formal reasons: the title should be "oxnas: fix board

[OpenWrt-Devel] [PATCH] ramips: add eeprom mtd partition to the Asus RP-N53 dts

2015-10-29 Thread Alberto Mattea
This patch adds the eeprom property to the dts for the Asus RP-N53. It is necessary to get the wifi in the soc working. Signed-off-by: Alberto Mattea --- diff -uN a/target/linux/ramips/dts/RP-N53.dts b/target/linux/ramips/dts/RP-N53.dts --- a/target/linux/ramips/dts/RP-N53.dts2015-07-

[OpenWrt-Devel] [PATCH] [oxnas] fix the incorrect board name which cause sysupgrade failed

2015-10-29 Thread ??????
This patch fix the incorrect board name which cause sysupgrade failed. fix-board_name.patch Description: Binary data ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [PATCH] [packages] generic :add-missing-ubi-in-ramfs-when-sysupgrade

2015-10-29 Thread ??????
dd missing ubi in ramfs,this patch fix the sysupgrade with xxx-squashfs-sysupgrade.tar file. add-missing-ubi-in-ramfs-when-sysupgrade.patch Description: Binary data ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org

Re: [OpenWrt-Devel] Copy file to target filesystem

2015-10-29 Thread Nikita Nazarenko
Hello. First of all - *staging* directory root - isn't that root which you need. Root directory for openwrt image lay in build_dir/target_xxx/root-. Second - root directory populates from ipk packages so you don't need to install file to root directory directly. Best regards Nikita Nazarenko

[OpenWrt-Devel] [PATCH] ramips: preinit: use iproute2 instead of vconfig

2015-10-29 Thread Daniel Golle
Replace use of vconfig with the corresponding iproute2 syntax in /lib/preinit/07_set_preinit_iface_ramips The switch reset work-around needed on some ramips targets used the deprecated vconfig tool to bring up the pre-init/failsafe interface. This doesn't work on recent builds where vconfig is no

Re: [OpenWrt-Devel] Memory leak in ash with script using "local" incorrectly

2015-10-29 Thread Bastian Bittorf
* Rafał Miłecki [29.10.2015 07:29]: > However I guess it would be nice thing to stop memory leak, even if > script code is incorrect. Could someone take a look at this, please? > > My BusyBox/ash version: > BusyBox v1.23.2 (2015-07-12 11:22:27 CEST) built-in shell (ash) i just tested v1.24.1 on

Re: [OpenWrt-Devel] [PATCH 5/5] malta: use "static" proto for lan interface

2015-10-29 Thread Florian Fainelli
Le 28/10/2015 19:32, Yousong Zhou a écrit : > On 29 October 2015 at 00:19, Florian Fainelli wrote: >> On Oct 28, 2015 5:56 AM, "Yousong Zhou" wrote: >>> >>> This is almost the default config of OpenWrt targets (currently even >>> those sunxi boards with only one ethernet interface use static IP >

Re: [OpenWrt-Devel] Copy file to target filesystem

2015-10-29 Thread Pratik Prajapati
Your changes are not solving the problem. On Thu, Oct 29, 2015 at 7:15 PM, Joseph Marlin wrote: > define Package/my_package/install > $(INSTALL_DIR) $(1)/usr/sbin > $(INSTALL_BIN) $(PKG_BUILD_DIR)/some_binary $(1)/usr/sbin/ > endef > > > Hope that helps! > Joseph > > - Origin

Re: [OpenWrt-Devel] Copy file to target filesystem

2015-10-29 Thread Joseph Marlin
define Package/my_package/install $(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_BIN) $(PKG_BUILD_DIR)/some_binary $(1)/usr/sbin/ endef Hope that helps! Joseph - Original Message - From: "Pratik Prajapati" To: "OpenWrt Development List" Sent: Thursday, October 29, 2015 9:41:28

[OpenWrt-Devel] Copy file to target filesystem

2015-10-29 Thread Pratik Prajapati
Hi, How to copy binary to target filesystem (openwrt/staging_dir/target-xxx/root-xxx/usr/bin)? I have tried following code but it copies that file into 'openwrt/build_dir/target-xxx/my_package/ipkg-install/usr/bin/' snippet from my_package Makefile: define Package/my_package/install $(INSTA

[OpenWrt-Devel] How to build some package using luarocks

2015-10-29 Thread Pratik Prajapati
Hi, I want to compile cgilua package using luarocks (like this https://github.com/maximeh/buildroot/blob/master/package/cgilua/cgilua.mk). How to write makefile for that (means how to write 'eval BuildPackage')? ___ openwrt-devel mailing list openwrt-de

Re: [OpenWrt-Devel] [PATCH] ar71xx: Add support for ZyXEL NBG6616.

2015-10-29 Thread Karl Palsson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I might personally think it's a tedious and often confusing policy, but the current kernel policy is that the led names have the board name, like "nbg6616:green:power" rather than "zyxel:green:power" You can see this done for a lot of the other targets

Re: [OpenWrt-Devel] [PATCH 1/3] ramips: mt7620 add icplus phy driver kernel config symbol

2015-10-29 Thread John Crispin
Hi Andrej, On 29/10/2015 12:52, Andrej Vlašić wrote: > Hi John, > > On 29 October 2015 at 06:38, John Crispin wrote: >> Hi, >> >> On 29/10/2015 02:26, Andrej Vlasic wrote: >>> Add missing icplus phy driver kernel config symbol to mt7620 subtarget. >>> This is needed since some mt7620 devices hav

[OpenWrt-Devel] [PATCH] ar71xx: Add support for ZyXEL NBG6616.

2015-10-29 Thread Benjamin Berg
Signed-off-by: Benjamin Berg --- target/linux/ar71xx/base-files/etc/diag.sh | 3 + .../etc/hotplug.d/firmware/11-ath10k-caldata | 2 + .../ar71xx/base-files/etc/uci-defaults/01_leds | 7 ++ .../ar71xx/base-files/etc/uci-defaults/02_network | 2 +- target/linux/ar71xx/ba

Re: [OpenWrt-Devel] How to get uhttpd logs

2015-10-29 Thread Bastian Bittorf
* Pratik Prajapati [29.10.2015 12:41]: > So how to get uhttpd logs ? 1) run the daemon in foreground: look out for the exact option string with 'ps'. here i have to run e.g.: /usr/sbin/uhttpd -f -h /www -r EG-labor-AP -c /etc/httpd.conf -x /cgi-bin -u /ubus -t 60 -T 30 -k 20 -A 1 -E /cgi-bin-404

[OpenWrt-Devel] [PATCH] Wallys DR-344 support

2015-10-29 Thread Philippe DUCHEIN
This patch is for Wallys DR344 support under OpenWRT need ar8035-a patch for gigabit ethernet : [OpenWrt-Devel] [PATCH] Atheros AR8035-A support Signed-off-by: Philippe DUCHEIN — diff -Nru a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh --- a/target/l

Re: [OpenWrt-Devel] [PATCH 1/3] ramips: mt7620 add icplus phy driver kernel config symbol

2015-10-29 Thread Andrej Vlašić
Hi John, On 29 October 2015 at 06:38, John Crispin wrote: > Hi, > > On 29/10/2015 02:26, Andrej Vlasic wrote: >> Add missing icplus phy driver kernel config symbol to mt7620 subtarget. >> This is needed since some mt7620 devices have icplus ip1001 ethernet >> transceiver >> >> Signed-off-by: And

[OpenWrt-Devel] [PATCH] Atheros AR8035-A support

2015-10-29 Thread Philippe DUCHEIN
This patch Atheros phy AR8035-A switch support Signed-off-by: Philippe DUCHEIN — diff -Nru a/target/linux/ar71xx/config-4.1 b/target/linux/ar71xx/config-4.1 --- a/target/linux/ar71xx/config-4.12015-10-27 18:57:41.379735223 +0100 +++ b/target/linux/ar71xx/config-4.12015-10-28 14:13:31.61

Re: [OpenWrt-Devel] How to get uhttpd logs

2015-10-29 Thread Pratik Prajapati
One more thing, cgilua's makefile in buildroot is having luarocks rule to compile it but on openwrt i have just copied its makefile ( https://github.com/keplerproject/cgilua/blob/master/Makefile) changes (not used luarocks) On Thu, Oct 29, 2015 at 4:51 PM, Pratik Prajapati < pratik.prajapat...@gma

Re: [OpenWrt-Devel] How to get uhttpd logs

2015-10-29 Thread Pratik Prajapati
> > As expected, so its not actually a standalone CGI program but a script > similar to a PHP file. I have .lua for backend operation of .lp You need to associate an interpreter with the *.lp extension which is > able to process LuaPages. Not sure if such an interpreter exist, consult > the Kepl

Re: [OpenWrt-Devel] How to get uhttpd logs

2015-10-29 Thread Jo-Philipp Wich
Hi, > ./index.lp: line1: can't open ?lua: no such file > ./index.lp: line2: syntax error: unexpected word (expecting ")") As expected, so its not actually a standalone CGI program but a script similar to a PHP file. > How to support LuaPages in uhttpd ? You need to associate an interpreter with

Re: [OpenWrt-Devel] How to get uhttpd logs

2015-10-29 Thread Pratik Prajapati
Running .lp on shell gave me following error: ./index.lp: line1: can't open ?lua: no such file ./index.lp: line2: syntax error: unexpected word (expecting ")") How to support LuaPages in uhttpd ? Same lua page is working on buildroot using uhttpd. On Thu, Oct 29, 2015 at 4:29 PM, Jo-Philipp Wi

Re: [OpenWrt-Devel] How to get uhttpd logs

2015-10-29 Thread Jo-Philipp Wich
Hi, can you execute this .lp file on the shell? uhttpd is a cgi server, it executes scripts as commands so they need to be world-readable and executable. LuaPages appear to be specific to CGILua or the Kepler project, uhttpd does not support this syntax out of the box. ~ Jow

[OpenWrt-Devel] How to get uhttpd logs

2015-10-29 Thread Pratik Prajapati
Hi, I am trying to access a lua web page (.lp) hosted using uhttpd server in openwrt installed on embedded board but i am getting following error: Bad GatewayThe process did not produce any response I checked on internet and there is no information for this error, i think may be i can get some

[OpenWrt-Devel] [RCF] A patch for mt7621 nand controller.

2015-10-29 Thread Kirill Berezin
Hello. It seems that a code for a nand controller was added but not tested. This patch add a lost constant required for successful compilation and a bit of code that allocates and frees buffers needed by internal structures and a description for two more nand chips. By the way I found, that a nan