Re: [OpenWrt-Devel] [PATCH] ralink: Add support for GPIO as interrupt-controller

2018-11-04 Thread Rosen Penev
On Sun, Nov 4, 2018 at 6:49 PM Daniel Santos wrote: > > The gpio-ralink driver has everything it needs to be used as an > interrupt controller except for device tree support. This simple patch > adds that support by configuring the irq domain to use two cells and > adding the appropriate

Re: [OpenWrt-Devel] Proposal for managing the kernel patches.

2018-11-04 Thread Daniel Santos
I had a discussion about this on irc a few weeks ago as well and I am in favor.  There are just far too many reasons to list for the OpenWRT kernel to exist as a set of branches in git.  Among them are the ability to move patches around, cherry-pick and git-blame.  It is often very important to

[OpenWrt-Devel] [PATCH] ralink: Add support for GPIO as interrupt-controller

2018-11-04 Thread Daniel Santos
The gpio-ralink driver has everything it needs to be used as an interrupt controller except for device tree support. This simple patch adds that support by configuring the irq domain to use two cells and adding the appropriate documentation to the devicetree bindings. Signed-off-by: Daniel

[OpenWrt-Devel] Merged: ipq40xx: fix NBG6617 LED mapping

2018-11-04 Thread Kevin Darbyshire-Bryant
Merged into my staging tree. Thank you! ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [PATCH] packages/python-idna: Add missing dependency on python(3)-codecs

2018-11-04 Thread Daniel Santos
Signed-off-by: Daniel Santos --- lang/python/python-idna/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/python/python-idna/Makefile b/lang/python/python-idna/Makefile index 47f4b9668..1f36b21e9 100644 --- a/lang/python/python-idna/Makefile +++

[OpenWrt-Devel] [PATCH] ath79: add support for GL-iNet GL-X750

2018-11-04 Thread Luochongjun
this patch adds supports for GL-X750. Specification: - SOC: QCA9531 (650MHz) - Flash: 16 MiB (W25Q128FVSG) - RAM: 128 MiB DDR2 - Ethernet: 10/100: 1xLAN + 10/100: 1xWAN - Wireless: 2.4GHz (bgn) and 5GHz (ac) - USB: 1x USB 2.0 port - Button: 1x reset button - LED: 5x LEDS (green) Flash

[OpenWrt-Devel] [PATCH v3] uqmi: allow matching IMSI for qmi networks

2018-11-04 Thread Daniel Golle
Introduce 'imsi' configuration option for proto 'qmi' network interfaces. Setting it makes sure the configuration only gets used on the intended SIM card. In this way, one can have many configurations for different SIM cards selected automatically when the card was either swapped physically or in

[OpenWrt-Devel] [RFC PATCH] build: re-enable parallelism for mksquashfs

2018-11-04 Thread Daniel Santos
This was disabled by commit dcd0e4a6727611f03eb3d3a75f073235f5f1229c due to a threading bug back in 2009. The specifics of the bug are not given in the commit message and squashfs-tools has had several updates to it's parallelism since this time. There are currently no open issues related to

[OpenWrt-Devel] [PATCH] kernel: add option to root .config for /proc/config.gz

2018-11-04 Thread Daniel Santos
Exports CONFIG_IKCONFIG and CONFIG_IKCONFIG_PROC to the kernel .config based upon menu choices under Global build settings --> Kernel build options. For simplicity, /proc/config.gz support is assumed, but if kernel_menuconfig has disabled CONFIG_PROC_FS it will be pruned in oldconfig.

[OpenWrt-Devel] [PATCH v2] uqmi: allow matching IMSI for qmi networks

2018-11-04 Thread Daniel Golle
Introduce 'imsi' configuration option for proto 'qmi' network interfaces. Setting it makes sure the configuration only gets used on the intended SIM card. In this way, one can have many configurations for different SIM cards selected automatically when the card was either swapped physically or in

[OpenWrt-Devel] [PATCH v4 2/2] kernel: rework module stripping, add Kconfig option

2018-11-04 Thread Daniel Santos
Add an option to the "Global build settings" menu to choose if and how kernel modules are stripped. Stripping is now performed upon install into staging, leaving modules in the kernel build tree untouched so that they are useful for remote debugging and such. The user will now be allowed to

[OpenWrt-Devel] [PATCH v4 1/2] kernel: revert bad module stripping patch

2018-11-04 Thread Daniel Santos
This patch is wrong in several regards. 1.) It violates the the principle of least astonishment, 2.) it makes a radical change to the kernel build without informing the user, 3.) it makes the change without obtaining user consent, thus violating the spirit of free and open source software, and

[OpenWrt-Devel] [PATCH/RFC] uqmi: allow matching IMSI for qmi networks

2018-11-04 Thread Daniel Golle
Introduce 'imsi' configuration option for proto 'qmi' network interfaces. Setting it makes sure the configuration only gets used on the intended SIM card. In this way, one could have configuration for different SIM cards selected automatically when the card was either swapped physically or in

Re: [OpenWrt-Devel] Why does perl get compiled even if it not selected by any package?

2018-11-04 Thread Jo-Philipp Wich
Hi Hannu, yes - without any dependency tweaking (e.g. by introducing conditionals like you suggested) a given source package build-depends on the union of all dependencies of all binary packages declared by the source package. The only way to mitigate that is using conditional dependencies in

[OpenWrt-Devel] Why does perl get compiled even if it not selected by any package?

2018-11-04 Thread Hannu Nyman
Why does the presence of perl in a larger multi-package Makefile force the compilation of perl even if the specific package depending on perl is not even selected. (compilation of perl takes long, so it is rather annoying...) I have stumbled into two cases, where my package selection leads

[OpenWrt-Devel] [PATCH] ipq40xx: fix NBG6617 LED mapping

2018-11-04 Thread David Bauer
The NBG6617's LEDs are wrongly identified in the 01_leds boardinit script (board instead of boardname), resulting in referencing non-existent LEDs in UCI. Signed-off-by: David Bauer --- target/linux/ipq40xx/base-files/etc/board.d/01_leds | 6 +++--- 1 file changed, 3 insertions(+), 3

[OpenWrt-Devel] [PATCH procd] watchdog: improve seting watchdog timeout and frequency

2018-11-04 Thread Hans Dedecker
Due to the watchdog file descriptor check in both watchdog_timeout and watchdog_frequency it's impossible to set the timeout/frequency via ubus in case the watchdog was stopped. Fix this by removing the watchdog file descriptor check in both functions and by caching locally the set watchdog driver