[OpenWrt-Devel] [PATCH] ramips : Kingston MLW221 and MLWG2 cleanup

2015-02-06 Thread L. D. Pinney
MLW221 dts use tabs NOT spaces. MLWG2 dts typo and 1 tab not spaces 01_leds and diag.sh cleanup Signed-off-by: L. D. Pinney --- target/linux/ramips/base-files/etc/board.d/01_leds | 5 +- target/linux/ramips/base-files/etc/diag.sh | 4 +- target/linux/ramips/dts/MLW221.dts

Re: [OpenWrt-Devel] Porting package, need permanent storage

2015-02-06 Thread Mathieu Olivari
Don’t create it into /var/lib. Instead, create it somewhere in /etc. If for some reason you don’t want to modify your daemon, then create a link from /var/lib to a persistent location in /etc before you launch your daemon in your init.d script. From: openwrt-devel [mailto:openwrt-devel-boun.

[OpenWrt-Devel] [PATCH] dnsmasq: enable pxe-prompt, pxe-service config options

2015-02-06 Thread Derek LaHousse
DNSMASQ has the ability to provide a menu to a pxeboot system, using the --pxe-prompt and --pxe-service configuration options. The current init.d script converting the "dhcp" file to "dnsmasq.conf" does not find these options, but they are supported. This patch thus enables the options. Signed-o

[OpenWrt-Devel] b53 switch platform_data vs. device tree

2015-02-06 Thread Daniel Golle
Hi! I started using Jonas' b53 driver for the Lamobo R1 board in OpenWrt. To make things more convenient, I'd like to have the port mapping inside the device-tree, so port enumeration would be consistent. swconfig supports that (of_switch_load_portmap), apparently FONERA20N is the only board makin

[OpenWrt-Devel] Porting package, need permanent storage

2015-02-06 Thread Antonio Gómez Soto
Hi, I am porting a software package to openwrt. It's a daemon which runs in the background. Problem is, this daemon spontaneously creates a file in /var/lib. It's a one line ascii file, but it needs to be preserved across reboots. How do I accomplish that? I know about UCI, but I think that popul

[OpenWrt-Devel] Trac-Error / Mailspool seems full

2015-02-06 Thread Bastian Bittorf
while writing a ticket https://dev.openwrt.org/ticket/18908 a message pops up after submitting: "Warning: The change has been saved, but an error occurred while sending notifications: (451, 'Error while writing spool file')" thanks for your work admins! bye, bastian _

[OpenWrt-Devel] [PATCH] oxnas: copy ubinized images to binary folder

2015-02-06 Thread Daniel Golle
Since r43778 ubinized images are stored inside KDIR. This makes sense when using an uninized image to generate a factory image. On oxnas ubinized images were used for sysupgrade before proper NAND support was implemented in OpenWrt. For users still on old builds before sysupgrade.tar was introduced

Re: [OpenWrt-Devel] [PATCH] ramips:Fix mt7612 support for Xiaomi Mini.

2015-02-06 Thread 郭传鈜
The title should be [PATCH,v2] right...Shall I send it again? 2015-02-06 21:21 GMT+08:00 郭传鈜 : > Sorry,I forgot another simple problem of this device tree in the previus > patch. > The "pcie0" part in pcie@1014 should be defined as "pcie-bridge". > And 2ghz should be disabled on this router.

Re: [OpenWrt-Devel] [PATCH] ramips:Fix mt7612 support for Xiaomi Mini.

2015-02-06 Thread Roger Pueyo Centelles
It works! I'm sending the patch right now! :) 2015-02-06 14:06 GMT+01:00 郭传鈜 : > Sorry I forget another thing. > It should be : > pcie-bridge { > mt76@0,0 { > > instead of: > pcie0 { > mt76@0,0 { > > I'll send another patch later > > 2015-02-06 20:22

[OpenWrt-Devel] [PATCH] ramips:Fix mt7612 support for Xiaomi Mini.

2015-02-06 Thread 郭传鈜
Sorry,I forgot another simple problem of this device tree in the previus patch. The "pcie0" part in pcie@1014 should be defined as "pcie-bridge". And 2ghz should be disabled on this router. I think the problem should be fixed now.Roger,Please test this patch:D Signed-off-by: 郭传鈜 --- target/l

Re: [OpenWrt-Devel] [PATCH] ramips:Fix mt7612 support for Xiaomi Mini.

2015-02-06 Thread 郭传鈜
Sorry I forget another thing. It should be : pcie-bridge { mt76@0,0 { instead of: pcie0 { mt76@0,0 { I'll send another patch later 2015-02-06 20:22 GMT+08:00 Roger Pueyo Centelles : > Hi, > > I added some prints to the eeprom.c file and saw that i

Re: [OpenWrt-Devel] [PATCH] ramips:Fix mt7612 support for Xiaomi Mini.

2015-02-06 Thread Roger Pueyo Centelles
Hi, I added some prints to the eeprom.c file and saw that in function: static int mt76_get_of_eeprom(struct mt76_dev *dev, int len) { int ret = -ENOENT; #ifdef CONFIG_OF struct device_node *np = dev->dev->of_node; struct mtd_info *mtd; const __be32 *list; const char *part;

[OpenWrt-Devel] [PATCH] ar71xx: ZyXEL NBG6716 leds improvement ( correction )

2015-02-06 Thread Marcin Mikołajczak
This patch fixes LEDs in ZyXEL NBG6716 - POWER LED was missing - USB LEDs incorrect order Signed-off-by: Marcin Mikolajczak --- Index: trunk/target/linux/ar71xx/base-files/etc/diag.sh === --- trunk/target/linux/ar71xx/base-fi

[OpenWrt-Devel] [PATCH] ar71xx: ZyXEL NBG6716 leds improvement

2015-02-06 Thread Marcin Mikołajczak
This patch fixes a LEDs in ZyXEL NBG6716 - POWER LED was missing - USB LEDs incorrect order Index: trunk/target/linux/ar71xx/base-files/etc/diag.sh === --- trunk/target/linux/ar71xx/base-files/etc/diag.sh(wersja 44288) +++ t