[OpenWrt-Devel] Question Re: Sourceful SDK

2016-01-08 Thread Daniel Dickinson
Hi Felix, I've been thinking about the sourceful SDK and have some ideas on how to implement, I just want to clarify one point: Are you thinking the SDK should be like the buildroot where everything (including tools and toolchain) is built from source, or are you thinking tools and toolchain

Re: [OpenWrt-Devel] Question Re: Sourceful SDK

2016-01-08 Thread Daniel Dickinson
Also, I'm thinking that for the SDK sources it might make sense to only include packages with an InstallDev section and the toolchain and do some work to make sure that packages built as part of the base system can't have their config options overridden (at least for an already included flavour

Re: [OpenWrt-Devel] Question Re: Sourceful SDK

2016-01-08 Thread Daniel Dickinson
Actually I've thought about the toolchain thing a little more and I have an idea: make it possible for the SDK to use an Openwrt Toolchain tarball as the toolchain, and don't ship the binary toolchain as part of the SDK at all. One possible improvement would be for the binary toolchain to als

Re: [OpenWrt-Devel] Question Re: Sourceful SDK

2016-01-08 Thread Daniel Dickinson
Oh, can't ship tools - some them end up with hard-coded paths which is part of the problem. Still using an openwrt toolchain tarball would eliminate with what would be the lengthy part of a sourceful SDK build, and you could even make it a drop-in option (that is drop in some directory and it

Re: [OpenWrt-Devel] Question Re: Sourceful SDK

2016-01-08 Thread Daniel Dickinson
Actually if you include the toolchain source in the SDK and have this toolchain tarball drop in option you get the bonus of being able to build on platforms other than for which you have precompiled binaries, while gaining the benefit of already having the binaries when you have the appropriate

Re: [OpenWrt-Devel] Atomic/failsafe upgrades?

2016-01-08 Thread Petr Štetiar
Eric Schultz [2016-01-07 12:48:50]: > I've had some similar interest in this topic. As far as I know, there > isn't anything like this on OpenWrt. There might be some overlap with the > discussion of automatic updates from last week as well. AFAIK, OpenMesh devices has this feature[1]. Please n

[OpenWrt-Devel] [PATCH] kernel: Add kernel module for Freescale SNVS RTC on chip module

2016-01-08 Thread Petr Štetiar
Signed-off-by: Petr Štetiar --- package/kernel/linux/modules/other.mk | 16 1 file changed, 16 insertions(+) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 62fdc3c..69099a5 100644 --- a/package/kernel/linux/modules/other.mk ++

[OpenWrt-Devel] [PATCH] imx6: kernel: Add Micrel PHY used on Apalis SOM

2016-01-08 Thread Petr Štetiar
Signed-off-by: Petr Štetiar Cc: Luka Perkov --- target/linux/imx6/config-4.1 |1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/imx6/config-4.1 b/target/linux/imx6/config-4.1 index 52544a7..e07a5b7 100644 --- a/target/linux/imx6/config-4.1 +++ b/target/linux/imx6/config-4.1 @@ -

[OpenWrt-Devel] [PATCH] fstools: Check FS state before writing

2016-01-08 Thread Wojciech Dubowik
It reduces number of flash writes on systems with FS ready. Signed-off-by: Wojciech Dubowik --- libfstools/overlay.c | 3 ++- mount_root.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libfstools/overlay.c b/libfstools/overlay.c index 7f69606..b51a6ae 100644 ---

[OpenWrt-Devel] Description of the old packages repo at git.openwrt.org should be changed to "oldpackages"

2016-01-08 Thread Hannu Nyman
The git description of the old packages repository is confusingly still "OpenWrt main package feed", although the repo is currently the unmaintained "oldpackages" feed. It would be more clear for a casual user if the git description would match the current contents... Description could be some

[OpenWrt-Devel] [PATCH] imx6: backport upstream patch to fix pwm pinmux for GW51xx/GW52xx/GW53xx

2016-01-08 Thread Tim Harvey
Signed-off-by: Tim Harvey --- ...ventana-fix-PWM-pinmux-for-Ventana-boards.patch | 69 ++ 1 file changed, 69 insertions(+) create mode 100644 target/linux/imx6/patches-4.3/042-ARM-dts-imx-ventana-fix-PWM-pinmux-for-Ventana-boards.patch diff --git a/target/linux/imx6/patche

[OpenWrt-Devel] [PATCH] imx6: fix upstream patch name

2016-01-08 Thread Tim Harvey
Signed-off-by: Tim Harvey --- ...llow-HDMI-and-LVDS-to-work-simultaneously.patch | 76 ++ ...mx-ventana-fix-GW53xx-GW54xx-lvds-channel.patch | 76 -- 2 files changed, 76 insertions(+), 76 deletions(-) create mode 100644 target/linux/imx6/patches-4.3/037-A

[OpenWrt-Devel] [PATCH] dnsmasq: add dhcp relay option

2016-01-08 Thread dbugnar
Signed-off-by: dbugnar --- package/network/services/dnsmasq/files/dhcp.conf| 6 ++ package/network/services/dnsmasq/files/dnsmasq.init | 19 +++ 2 files changed, 25 insertions(+) diff --git a/package/network/services/dnsmasq/files/dhcp.conf b/package/network/services/dn

[OpenWrt-Devel] Even better rebuild times coming

2016-01-08 Thread Daniel Dickinson
Hi all, I just thought I'd let you know that with some changes I am testing I have reduced the >7m rebuild 'real' time to 4m (and before Felix's work it was 14m for the same build). Basically I have a patch that let's you build a selected set of profiles instead either all or one. For target

Re: [OpenWrt-Devel] Even better rebuild times coming

2016-01-08 Thread Joseph Marlin
That's just awesome - I'm on ar71xx, so this is much appreciated! - Original Message - From: "Daniel Dickinson" To: openwrt-devel@lists.openwrt.org Sent: Friday, January 8, 2016 10:38:56 AM Subject: [OpenWrt-Devel] Even better rebuild times coming Hi all, I just thought I'd let you know

Re: [OpenWrt-Devel] [PATCH] ar71xx: check for stuck DMA on AR724x & fix sirq storm after recovery

2016-01-08 Thread Felix Fietkau
On 2016-01-08 06:26, Conn O'Griofa wrote: > Hi, > > I'm proposing the following patch to resolve ticket #18922 fully. > > With the current master revision, when a tx timeout condition occurs, > the interface recovers successfully, but a soft irq storm occurs > (causing ksoftirqd to peg the CPU, d

Re: [OpenWrt-Devel] Description of the old packages repo at git.openwrt.org should be changed to "oldpackages"

2016-01-08 Thread Felix Fietkau
On 2016-01-08 13:54, Hannu Nyman wrote: > The git description of the old packages repository is confusingly still > "OpenWrt main package feed", although the repo is currently the unmaintained > "oldpackages" feed. It would be more clear for a casual user if the git > description would match the

Re: [OpenWrt-Devel] [PATCH] ar71xx: check for stuck DMA on AR724x & fix sirq storm after recovery

2016-01-08 Thread Conn O'Griofa
On 08/01/16 16:49, Felix Fietkau wrote: Thanks for investigating this further. Please try this patch: Unfortunately, your proposed patch doesn't work. When I trigger the timeout condition, a tx timeout occurs and the interface doesn't recover correctly: [ 249.075582] [ cut here

Re: [OpenWrt-Devel] and what is with RB433UL ?

2016-01-08 Thread smilebef
Nobody has this board? I don't have so much experience with openwrt. Possible somebody have some ideas. I will post here some questions to this board. 1. The board has not a real serial port. (only some pads) 2. In general, the boot sequence will be selected by the Routerbord-OS. A typical cho

Re: [OpenWrt-Devel] [PATCH] ar71xx: check for stuck DMA on AR724x & fix sirq storm after recovery

2016-01-08 Thread Conn O'Griofa
On 08/01/16 18:48, Conn O'Griofa wrote: Unfortunately, your proposed patch doesn't work. When I trigger the timeout condition, a tx timeout occurs and the interface doesn't recover correctly: I'm not able to test recompiles for a few hours at least, but: * After your patch failed, I already

[OpenWrt-Devel] Problem with commit to prevent SDK from altering kernel modules

2016-01-08 Thread Daniel Dickinson
Hi Felix, I think your latest commit will have an unexpected effect. It will come into play whenever CONFIG_SDK=y, which includes when *building* the SDK, not only when *in* the SDK. For my own SDK development I added config IN_SDK bool default y in target/sdk/files/Config.in so

Re: [OpenWrt-Devel] [PATCH] ar8327: add IGMP Snooping support

2016-01-08 Thread Linus Lüssing
On Tue, Jan 05, 2016 at 08:40:37PM +0100, Álvaro Fernández Rojas wrote: > This add support for IGMP Snooping on atheros switches (enabled by default), > which avoids flooding the network with multicast data. > > Tested on TL-WDR4300: disabling IGMP Snooping results in multicast flooding > on each

Re: [OpenWrt-Devel] [PATCH] ar71xx: check for stuck DMA on AR724x & fix sirq storm after recovery

2016-01-08 Thread Conn O'Griofa
On 08/01/16 19:17, Conn O'Griofa wrote: * In ag71xx_hw_enable, netif_start_queue is issued. Since this function is used for the fast restart, that should probably be changed to netif_wake_queue so that the kernel will check for anything pending in the queue to be sent (which is certain to be

Re: [OpenWrt-Devel] Problem with commit to prevent SDK from altering kernel modules

2016-01-08 Thread Felix Fietkau
On 2016-01-09 00:13, Daniel Dickinson wrote: > Hi Felix, > > I think your latest commit will have an unexpected effect. It will come > into play whenever CONFIG_SDK=y, which includes when *building* the SDK, > not only when *in* the SDK. > > For my own SDK development I added > > config IN_SD