Re: [OpenWrt-Devel] Automatic service reload

2015-09-22 Thread Florian Eckert
You have call the shell script in der /sbin/reload_config Am 23.09.2015 4:56 vorm. schrieb "Lars Boegild Thomsen" < l...@bright-things.com>: > Hi Everybody, > > > > I am struggling a bit with triggering automatic service reload based on > configuration change. > > > > Latest trunk and all that jaz

Re: [OpenWrt-Devel] [PATCH] Configure IPv6 kernel options in config/Config-kernel.in

2015-09-22 Thread John Crispin
On 22/09/2015 22:17, Arjen de Korte wrote: > Citeren John Crispin : > >> On 22/09/2015 19:31, Arjen de Korte wrote: >>> Revision 46834 changed IPv6 support from a module to builtin. But >>> since the configuration of the IPv6 kernel options was left in >>> package/kernel/linux/modules/netsupport

Re: [OpenWrt-Devel] [PATCH v2] base-files: init/sysfixtime - exclude dnsmasq.time

2015-09-22 Thread Bastian Bittorf
* Yousong Zhou [23.09.2015 07:58]: > In theory, a security sensitive mechanism's dependence on a > non-reliable timestamp file with access permission nobody:nogroup > makes little sense to me. How about that we do --dnssec-no-timecheck > on dnsmasq startup time and notify it of the system time ch

[OpenWrt-Devel] Automatic service reload

2015-09-22 Thread Lars Boegild Thomsen
Hi Everybody, I am struggling a bit with triggering automatic service reload based on configuration change. Latest trunk and all that jazz. New software package called "mqttbridge" which basically is meant to publish ubus method results to mqtt. Init is in /etc/init.d/mqttbridge, config in /

Re: [OpenWrt-Devel] [PATCH v2] base-files: init/sysfixtime - exclude dnsmasq.time

2015-09-22 Thread Yousong Zhou
On 23 September 2015 at 01:52, Bastian Bittorf wrote: > dnsmasq maintains dnsmasq.time across reboots and uses it as a means of > determining if current time is good enough to validate dnssec time > stamps. By including /etc/dnsmasq.time as a time source for sysfixtime, > the mechanism was effect

Re: [OpenWrt-Devel] [PATCH] Configure IPv6 kernel options in config/Config-kernel.in

2015-09-22 Thread Arjen de Korte
Citeren John Crispin : On 22/09/2015 19:31, Arjen de Korte wrote: Revision 46834 changed IPv6 support from a module to builtin. But since the configuration of the IPv6 kernel options was left in package/kernel/linux/modules/netsupport.mk, this means that an empty kmod-ipv6 module was still bein

Re: [OpenWrt-Devel] [PATCH] [SIGNED-OFF] Add initial support for WeIO board

2015-09-22 Thread Drasko DRASKOVIC
A kind reminder for a patch. BR, Drasko On Sun, Sep 20, 2015 at 7:30 PM, Drasko DRASKOVIC < drasko.drasko...@gmail.com> wrote: > Hi Jonas, > I have re-sent (in a spearate e-mail) patch with corrections based on > your comments. > > Best reagrds, > Drasko > > On Fri, Sep 11, 2015 at 2:51 PM, Jona

Re: [OpenWrt-Devel] [PATCH] base-files: sysfixtime exclude dnsmasq.time

2015-09-22 Thread Kevin Darbyshire-Bryant
Patch dropped. Thanks for picking it up & improving. Kevin -- Cheers, ke...@darbyshire-bryant.me.uk Sent from my phone, apologies for brevity, spelling & top posting > On 22 Sep 2015, at 18:41, Bastian Bittorf wrote: > > * Kevin Darbyshire-Bryant [22.09.2015 11:06]: >> Either way, includin

[OpenWrt-Devel] [PATCH v2] base-files: init/sysfixtime - exclude dnsmasq.time

2015-09-22 Thread Bastian Bittorf
dnsmasq maintains dnsmasq.time across reboots and uses it as a means of determining if current time is good enough to validate dnssec time stamps. By including /etc/dnsmasq.time as a time source for sysfixtime, the mechanism was effectively defeated because time was set to the last time that dnsma

Re: [OpenWrt-Devel] [PATCH] base-files: sysfixtime exclude dnsmasq.time

2015-09-22 Thread Bastian Bittorf
* Kevin Darbyshire-Bryant [22.09.2015 11:06]: > Either way, including /etc/dnsmasq.time as a time source for sysfixtime > is not helpful. please drop this patch, i will send a V2 which is faster - thanks Kevin for V1 bye, bastian ___ openwrt-devel mail

Re: [OpenWrt-Devel] [PATCH] Configure IPv6 kernel options in config/Config-kernel.in

2015-09-22 Thread John Crispin
On 22/09/2015 19:31, Arjen de Korte wrote: > Revision 46834 changed IPv6 support from a module to builtin. But > since the configuration of the IPv6 kernel options was left in > package/kernel/linux/modules/netsupport.mk, this means that an > empty kmod-ipv6 module was still being generated (not

[OpenWrt-Devel] [PATCH] Configure IPv6 kernel options in config/Config-kernel.in

2015-09-22 Thread Arjen de Korte
Revision 46834 changed IPv6 support from a module to builtin. But since the configuration of the IPv6 kernel options was left in package/kernel/linux/modules/netsupport.mk, this means that an empty kmod-ipv6 module was still being generated (not packaged). This patch moves the configuration of the

Re: [OpenWrt-Devel] [PATCH v4 5/5] ar71xx: add support for Cisco's MR18

2015-09-22 Thread Christian Lamparter
On Monday, September 21, 2015 01:52:27 PM Karl Palsson wrote: > Chris R Blake wrote: > > From: Chris R Blake > > > > This patch adds support for Cisco's MR18. > > Detailed instructions for the flashing the device can > > be found in the OpenWrt forum thread: > >

[OpenWrt-Devel] [PATCH v5 2/5] ar71xx: add support for qca955x sgmii/serdes calibration

2015-09-22 Thread Chris R Blake
From: Chris R Blake This patch is to add support for sgmii/serdes calibration from within the OpenWRT environment. This is needed on boards that do not use u-boot or do not have a pre-init process that runs calibration. Signed-off-by: Chris R Blake --- ...S-ath79-add-qca955x-mac-sgmii-calibrat

[OpenWrt-Devel] [PATCH v5 1/5] ar71xx: add eth rx delay for qca955x platforms

2015-09-22 Thread Chris R Blake
From: Chris R Blake This patch is to add support for qca955x_eth_rx_delay to work with the qca955x SoC. Signed-off-by: Chris R Blake --- ...42-MIPS-ath79-add-qca955x-mac-tx-rx-delay.patch | 58 ++ 1 file changed, 58 insertions(+) create mode 100644 target/linux/ar71xx/pat

[OpenWrt-Devel] [PATCH v5 4/5] ar71xx: add LED driver NU801

2015-09-22 Thread Chris R Blake
From: Chris R Blake The MR18 uses a 3-channel 16-bit PWM Constant Current Driver for its status LED. Signed-off-by: Chris R Blake --- package/base-files/files/etc/init.d/led| 2 +- .../linux/ar71xx/files/drivers/leds/leds-nu801.c | 396 + .../linux/ar71xx/fi

[OpenWrt-Devel] [PATCH v5 5/5] ar71xx: add support for Cisco's MR18

2015-09-22 Thread Chris R Blake
From: Chris R Blake This patch adds support for Cisco's MR18. Detailed instructions for the flashing the device can be found in the OpenWrt forum thread: Signed-off-by: Chris R Blake --- package/base-files/files/lib/functions/system.sh | 17

[OpenWrt-Devel] [PATCH v5 3/5] firmware-utils mkmerakifw: firmware generator for MR18

2015-09-22 Thread Thomas Hebb
From: Thomas Hebb This patch adds firmware generation tool for Cisco's MR18 Signed-off-by: Thomas Hebb --- tools/firmware-utils/Makefile | 1 + tools/firmware-utils/src/mkmerakifw.c | 263 ++ 2 files changed, 264 insertions(+) create mode 100644 tools

[OpenWrt-Devel] [PATCH v3 2/2] ar71xx: Add support for AirTight Networks C-55

2015-09-22 Thread Chris R Blake
From: Chris R Blake This patch is to add support for the AirTight Networks C-55 Access Point Signed-off-by: Chris R Blake --- target/linux/ar71xx/base-files/etc/diag.sh | 3 + .../etc/hotplug.d/firmware/10-ath9k-eeprom | 8 ++ .../ar71xx/base-files/etc/uci-defaults/01_leds

[OpenWrt-Devel] [PATCH v3 1/2] ar71xx: Add ath79_register_m25p80_large to support >16MB SPI chips

2015-09-22 Thread Chris R Blake
From: Chris R Blake The following patch is to add ath79_register_m25p80_large, which sets is_flash to false to support bit banging. This is needed on some 32MB+ SPI chips, such as the S25FL256S1 Signed-off-by: Chris R Blake --- target/linux/ar71xx/files/arch/mips/ath79/dev-m25p80.c | 8 +++

Re: [OpenWrt-Devel] [PATCH 6/7] ramips: improve mt7621 spi flash read speed

2015-09-22 Thread John Crispin
On 22/09/2015 15:48, Felix Fietkau wrote: > On 2015-09-22 15:26, Michael Lee wrote: >> From: michael lee >> >> only support spi flash command (half duplex). >> no need chunk io patch. done by driver. >> >> test results on mt7621. use dd read bs=512 with 32128 records >> old driver : 30.52s >> ne

Re: [OpenWrt-Devel] [PATCH] target/mpc85xx: add cuImage.tl-wdr4900-v1 kernel image if CONFIG_TL_WDR4900_V1=y

2015-09-22 Thread Felix Fietkau
On 2015-09-22 15:56, Alexandru Ardelean wrote: > We use a different subtarget, and we're trying to find a solution for > this that is also upstream-able, in the idea that it makes sync-ing with > upstream easier. > Checking for the Generic subtarget sounds good. > > Should I send a patch for that

Re: [OpenWrt-Devel] [PATCH] target/mpc85xx: add cuImage.tl-wdr4900-v1 kernel image if CONFIG_TL_WDR4900_V1=y

2015-09-22 Thread Alexandru Ardelean
On Tue, Sep 22, 2015 at 4:45 PM, Felix Fietkau wrote: > On 2015-09-22 15:11, Alexandru Ardelean wrote: > > > > > > On Tue, Sep 22, 2015 at 4:05 PM, Matthias Schiffer > > mailto:mschif...@universe-factory.net>> > > wrote: > > > > On 09/22/2015 06:25 PM, Alexandru Ardelean wrote: > > > From

Re: [OpenWrt-Devel] [PATCH 6/7] ramips: improve mt7621 spi flash read speed

2015-09-22 Thread Felix Fietkau
On 2015-09-22 15:26, Michael Lee wrote: > From: michael lee > > only support spi flash command (half duplex). > no need chunk io patch. done by driver. > > test results on mt7621. use dd read bs=512 with 32128 records > old driver : 30.52s > new driver : 34.31s > new driver + no chunk io : 16.65

Re: [OpenWrt-Devel] [PATCH] target/mpc85xx: add cuImage.tl-wdr4900-v1 kernel image if CONFIG_TL_WDR4900_V1=y

2015-09-22 Thread Felix Fietkau
On 2015-09-22 15:11, Alexandru Ardelean wrote: > > > On Tue, Sep 22, 2015 at 4:05 PM, Matthias Schiffer > mailto:mschif...@universe-factory.net>> > wrote: > > On 09/22/2015 06:25 PM, Alexandru Ardelean wrote: > > From: Alexandru Ardelean mailto:a...@ocedo.com>> > > > > Signed-off

Re: [OpenWrt-Devel] [PATCH] libnl: split into smaller libraries

2015-09-22 Thread Felix Fietkau
On 2015-09-22 14:42, Alexandru Ardelean wrote: > Anyway, moving forward with the split: > 1) Do I rename the libnl package to libnl-core and make libnl a > metapackage that pulls in everything ? or > 2) Do I leave this structure as is (with the fixes/updates I'll add > later) and update those packa

[OpenWrt-Devel] [PATCH 6/7] ramips: improve mt7621 spi flash read speed

2015-09-22 Thread Michael Lee
From: michael lee only support spi flash command (half duplex). no need chunk io patch. done by driver. test results on mt7621. use dd read bs=512 with 32128 records old driver : 30.52s new driver : 34.31s new driver + no chunk io : 16.65s new driver + no chunk io + fast read clock from 10Mhz to

[OpenWrt-Devel] [PATCH 7/7] ramips: fix for kernel 4.0 napi repoll need return budgets number

2015-09-22 Thread Michael Lee
From: michael lee Signed-off-by: Michael Lee --- .../linux/ramips/files/drivers/net/ethernet/ralink/ralink_soc_eth.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/target/linux/ramips/files/drivers/net/ethernet/ralink/ralink_soc_eth.c b/target/linux/ramips/files/driv

[OpenWrt-Devel] [PATCH 5/7] ramips: fix mt7621 cpu clock speed. set spi clock to system clock

2015-09-22 Thread Michael Lee
From: michael lee spi clock is the same as system clock measured by logic analyzer. Signed-off-by: Michael Lee --- .../0012-MIPS-ralink-add-MT7621-support.patch | 29 +- 1 file changed, 23 insertions(+), 6 deletions(-) diff --git a/target/linux/ramips/patches-3.18/00

[OpenWrt-Devel] [PATCH 4/7] ramips: improve rt2880/mt7620 spi flash read speed

2015-09-22 Thread Michael Lee
From: michael lee support for all * 2 spi master * use device tree to set spi bus number for driver use * fast read new features for mt7620 * hardware spi flash command/user mode support * fast read dual out. (make sure SPI_NOR_DUAL_READ flag is enabled at spi-nor.c, device tree also need to m

[OpenWrt-Devel] [PATCH 3/7] ramips: fix rx buffer length

2015-09-22 Thread Michael Lee
From: michael lee Signed-off-by: Michael Lee --- .../ramips/files/drivers/net/ethernet/ralink/ralink_soc_eth.c | 7 --- .../ramips/files/drivers/net/ethernet/ralink/ralink_soc_eth.h | 3 ++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/target/linux/ramips/files/

[OpenWrt-Devel] [PATCH 2/7] ramips: improve systick timer

2015-09-22 Thread Michael Lee
From: michael lee when sleep mode is disable use MIPS as clocksource and clockevent instead of systick. because MIPS timer has higher resolution 5ns less than systick 20us and larger counter bits 32 > 16. clean interrupt by write compare register at isr. fix typo cause sleep mode not enable. Si

[OpenWrt-Devel] [PATCH 1/7] ramips: fix use remove_irq to release irqaction resource

2015-09-22 Thread Michael Lee
From: michael lee Signed-off-by: Michael Lee --- .../0017-MIPS-use-set_mode-to-enable-disable-the-cevt-r4k-irq.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ramips/patches-3.18/0017-MIPS-use-set_mode-to-enable-disable-the-cevt-r4k-irq.patch b/targ

Re: [OpenWrt-Devel] [PATCH] target/mpc85xx: add cuImage.tl-wdr4900-v1 kernel image if CONFIG_TL_WDR4900_V1=y

2015-09-22 Thread Alexandru Ardelean
On Tue, Sep 22, 2015 at 4:05 PM, Matthias Schiffer < mschif...@universe-factory.net> wrote: > On 09/22/2015 06:25 PM, Alexandru Ardelean wrote: > > From: Alexandru Ardelean > > > > Signed-off-by: Alexandru Ardelean > > --- > > target/linux/mpc85xx/Makefile | 5 - > > 1 file changed, 4 inser

Re: [OpenWrt-Devel] [PATCH] target/mpc85xx: add cuImage.tl-wdr4900-v1 kernel image if CONFIG_TL_WDR4900_V1=y

2015-09-22 Thread Matthias Schiffer
On 09/22/2015 06:25 PM, Alexandru Ardelean wrote: > From: Alexandru Ardelean > > Signed-off-by: Alexandru Ardelean > --- > target/linux/mpc85xx/Makefile | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/target/linux/mpc85xx/Makefile b/target/linux/mpc85xx/Makefile >

Re: [OpenWrt-Devel] [PATCH] libnl: split into smaller libraries

2015-09-22 Thread Alexandru Ardelean
On Thu, Sep 17, 2015 at 5:13 PM, Alexandru Ardelean wrote: > > > On Thu, Sep 17, 2015 at 4:50 PM, Felix Fietkau wrote: > >> On 2015-09-17 15:05, Alexandru Ardelean wrote: >> > From: Alexandru Ardelean >> > >> > The idea is that we may only need the libnl core, >> > or libnl-route or libnl-nf li

[OpenWrt-Devel] [PATCH] target/mpc85xx: add cuImage.tl-wdr4900-v1 kernel image if CONFIG_TL_WDR4900_V1=y

2015-09-22 Thread Alexandru Ardelean
From: Alexandru Ardelean Signed-off-by: Alexandru Ardelean --- target/linux/mpc85xx/Makefile | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/target/linux/mpc85xx/Makefile b/target/linux/mpc85xx/Makefile index e43327a..bfc2c8d 100644 --- a/target/linux/mpc85xx/Makefile ++

[OpenWrt-Devel] [PATCH] base-files: sysfixtime exclude dnsmasq.time

2015-09-22 Thread Kevin Darbyshire-Bryant
dnsmasq maintains dnsmasq.time across reboots and uses it as a means of determining if current time is good enough to validate dnssec time stamps. By including /etc/dnsmasq.time as a time source for sysfixtime, the mechanism was effectively defeated because time was set to the last time that dnsma

[OpenWrt-Devel] [PATCH] procd: Allow to configure default respawn retry count

2015-09-22 Thread Helmut Schaa
Extend /etc/config/system with a parameter to set the default respawn retry for procd launched services that have respawn enabled. config service option respawn_retry -1 All services that don't specify specific respawn parameters will get their defaults added by procd.sh.

Re: [OpenWrt-Devel] [RFC] procd: Allow to enable endless respawning of services

2015-09-22 Thread Helmut Schaa
On Mon, Sep 21, 2015 at 6:14 PM, Yousong Zhou wrote: > Hi, Helmut > > On 21 September 2015 at 23:26, Helmut Schaa > wrote: >> Extend /etc/config/system with a parameter to enable >> infinite respawn mode: >> >> config system >> option service_endless_respawn 1 >> >> All s