Re: [LEDE-DEV] [RFC] A new developper documentation for OpenWrt/LEDE

2017-10-25 Thread Eric Luehrsen
On 10/25/2017 12:19 PM, John Norton wrote: On 25/10/2017 17:22, Baptiste Jonglez wrote: Hi, As an occasional contributor to OpenWrt/LEDE, I am often frustrated by the lack of good technical documentation.  By "technical documentation", I mean a detailed, reasonably complete and up-to-date d

Re: [LEDE-DEV] Testing ARM images

2017-10-25 Thread Yousong Zhou
On 26 October 2017 at 08:08, Philip Prindeville wrote: > Hi. > > I was recently working on updating Perl 5.26.1 which required making > machine-specific parameters for cross-builds (because Perl doesn’t use > autoconf), and was able to test for x86_64 on KVM/libvirt, but have not tried > any ot

Re: [LEDE-DEV] Need review of Perl bump to 5.26.1

2017-10-25 Thread Philip Prindeville
Heads up that Perl has been updated to 5.26.1. Please notify me of any ensuing related issues. Thanks ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev

[LEDE-DEV] Testing ARM images

2017-10-25 Thread Philip Prindeville
Hi. I was recently working on updating Perl 5.26.1 which required making machine-specific parameters for cross-builds (because Perl doesn’t use autoconf), and was able to test for x86_64 on KVM/libvirt, but have not tried any other platforms (well, I built armvirt but haven’t run anything in a

Re: [LEDE-DEV] [RFC] A new developper documentation for OpenWrt/LEDE

2017-10-25 Thread John Norton
On 25/10/2017 17:22, Baptiste Jonglez wrote: Hi, As an occasional contributor to OpenWrt/LEDE, I am often frustrated by the lack of good technical documentation. By "technical documentation", I mean a detailed, reasonably complete and up-to-date documentation on "How things work under the hoo

[LEDE-DEV] [PATCH v2][RFC] procd: service: add data within the service itself

2017-10-25 Thread Pierre Lebleu
It gives the ability to create data within the service itself. Change since v1: - dump the data inside the service rather than in a "*" instance. Signed-off-by: Pierre Lebleu --- service/service.c | 44 +--- service/service.h | 3 +++ 2 files changed, 44

[LEDE-DEV] [PATCH] procd: service_data: Support data within the service itself

2017-10-25 Thread Pierre Lebleu
Use the same approach than the service_triggers for the service_data. Signed-off-by: Pierre Lebleu --- package/base-files/files/etc/rc.common | 4 package/system/procd/files/procd.sh| 15 +++ 2 files changed, 19 insertions(+) diff --git a/package/base-files/files/etc/rc.co

[LEDE-DEV] [PATCH] firewall3: ubus: parse the firewall data within the service itself

2017-10-25 Thread Pierre Lebleu
It gives the ability to create firewall rules within the service itself and independently of the instances. Signed-off-by: Pierre Lebleu --- ubus.c | 97 +- 1 file changed, 54 insertions(+), 43 deletions(-) diff --git a/ubus.c b/ub

Re: [LEDE-DEV] [PATCH][RFC] procd: service: add data within the service itself

2017-10-25 Thread Pierre Lebleu
Hi John, I reworked this patch a bit in order to have the data outside of any instances. Doing that, I needed also to patch firewall3 in order to parse this data. Here come the "dump" of a dummy script: ubus call service list '{ "name" : "myservice" }' { "myservice": { "da

[LEDE-DEV] [PATCH] service: fix service_handle_event array

2017-10-25 Thread Pierre Lebleu
The array concerning the "config.change" is __VALIDATE_MAX length, not __DATA_MAX length. Signed-off-by: Pierre Lebleu --- service/service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/service.c b/service/service.c index f425c0a..45cb9aa 100644 --- a/service/servi

[LEDE-DEV] [RFC] A new developper documentation for OpenWrt/LEDE

2017-10-25 Thread Baptiste Jonglez
Hi, As an occasional contributor to OpenWrt/LEDE, I am often frustrated by the lack of good technical documentation. By "technical documentation", I mean a detailed, reasonably complete and up-to-date documentation on "How things work under the hood" and "How to do advanced stuff with the build s

Re: [LEDE-DEV] [OpenWrt-Devel] merge: add OpenWrt branding

2017-10-25 Thread Karl Palsson
Zoltan HERPAI wrote: > Given that we've decided to sail under the same flag for the > benefit of the whole community, and acknowledge the > achievements of the LEDE project, let's start the final steps > of the merge. > > The git and other sources are untouched until the infra merge. >

[LEDE-DEV] [PATCH v2] lantiq: xway: script style nit

2017-10-25 Thread Kevin Darbyshire-Bryant
Fix missing space style nit. Signed-off-by: Kevin Darbyshire-Bryant --- v2 - turns out there was another script with the same nit package/network/config/ltq-adsl-app/files/10-adsl_rename | 2 +- package/network/config/ltq-vdsl-app/files/10-xdsl_rename | 2 +- 2 files changed, 2 insertions(+),

[LEDE-DEV] [PATCH] generic: swconfig: add mode led attribute

2017-10-25 Thread Kevin Darbyshire-Bryant
Add sysfs 'mode' attribute to swconfig controlled LEDs. swconfig 'link state' LEDs blink in the presence of port traffic. This behaviour becomes more obvious as switches start to support get_port_stats() e.g. commits 0369e358916ef092a1644334f5dd1412051b68a4, 3056d09b4046e0eb0f6de0f3f5432cd9fa86fc

[LEDE-DEV] [PATCH] lantiq: xway: script style nit

2017-10-25 Thread Kevin Darbyshire-Bryant
Fix missing space style nit. Signed-off-by: Kevin Darbyshire-Bryant --- package/network/config/ltq-adsl-app/files/10-adsl_rename | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/network/config/ltq-adsl-app/files/10-adsl_rename b/package/network/config/ltq-adsl-app/fil

[LEDE-DEV] [PATCH] ramips: remove erroneous "wdt rst" DTS entries

2017-10-25 Thread Kevin Darbyshire-Bryant
Remove reference to non-existant pinmux group "wdt rst" on EW1200, ZBT-WG2626 & ZBT-WG3526 devices. Signed-off-by: Kevin Darbyshire-Bryant --- target/linux/ramips/dts/EW1200.dts | 2 +- target/linux/ramips/dts/ZBT-WG2626.dts | 2 +- target/linux/ramips/dts/ZBT-WG3526.dtsi | 2 +- 3 files c