[OpenWrt-Devel] [PATCH 1/1] package/libs/libiconv: function names

2016-01-17 Thread Heinrich Schuchardt
Currently libiconv-stub and libiconv-full use different names for functions iconv, iconv_open, and iconv_close. This may lead to failures when building modules, e.g. with apr-util when NLS is not activated. The two modules libiconv-stub and libiconv-full should be interchangeable, so we need the

[OpenWrt-Devel] ping: patchwork registration/access issue

2016-01-17 Thread Daniel Dickinson
Hi, Just to ping again on registration problem with patchwork. I had created an account which was supposed to send a confirmation email, however the confirmation email never got sent (and is *not* in spam folder), and I cannot request new confirmation, nor is there a 'I forgot my password' o

[OpenWrt-Devel] [PATCH 5/5] at91: move to 4.4 kernel

2016-01-17 Thread Ben Whitten
Signed-off-by: Ben Whitten --- target/linux/at91/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/at91/Makefile b/target/linux/at91/Makefile index e1c771a..372bf17 100644 --- a/target/linux/at91/Makefile +++ b/target/linux/at91/Makefile @@ -1,4 +1,4 @@

[OpenWrt-Devel] [PATCH 4/5] at91: fix typo in usb kernel module makefile

2016-01-17 Thread Ben Whitten
Fix a typo with generating the package description Signed-off-by: Ben Whitten --- target/linux/at91/modules.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/at91/modules.mk b/target/linux/at91/modules.mk index 3969450..0517698 100644 --- a/target/linux/at91/mod

[OpenWrt-Devel] [PATCH 3/5] at91: remove SAMA5D3 from Default image build.

2016-01-17 Thread Ben Whitten
As the Default profile option is a legacy subtarget, the dtb for the sama5d3_xplained board DTS is not built and image generation fails. Signed-off-by: Ben Whitten --- target/linux/at91/image/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/target/linux/at91/image/M

[OpenWrt-Devel] [PATCH 2/5] at91: add package for high speed usb device

2016-01-17 Thread Ben Whitten
Add a package for a missing module for the at91 high speed device. Without this the build process pauses asking to build as module. Signed-off-by: Ben Whitten --- target/linux/at91/modules.mk | 19 +++ 1 file changed, 19 insertions(+) diff --git a/target/linux/at91/modules.mk b/

[OpenWrt-Devel] [PATCH 1/5] at91: add 4.4 support

2016-01-17 Thread Ben Whitten
This puts the existing patches and config in a 3.18 folder and introduces a 4.4 config and patches. The USB clock fix patch is no longer necessary, and the patches applying to non DT boards has been dropped as the platform has been converted. 4.4 config was generated by copying 3.18 and running mak

[OpenWrt-Devel] [PATCH 0/5] update at91 kernel to 4.4

2016-01-17 Thread Ben Whitten
This patch series adds support for kernel 4.4 to the at91 target. Patches for legacy boards are dropped as the platform has been converted to DT in 4.4. A new package was added to prevent the build from halting, suggestions welcome on what to do / name. A typo was fixed in the kernel module makefil

[OpenWrt-Devel] [PATCH v4] wpa_supplicant: improve generating phase2 config line for WPA-EAP

2016-01-17 Thread Daniel Golle
WPA-EAP supports several phase2 (=inner) authentication methods when using EAP-TTLS, EAP-PEAP or EAP-FAST (the latter is added as a first step towards the UCI model supporting EAP-FAST by this commit) The value of the auth config variable was previously expected to be directly parseable as the cont

[OpenWrt-Devel] Unintended consequence of building all profiles for a target

2016-01-17 Thread Daniel Dickinson
Hi all, I have noticed an unintended consequence of building all profiles for a single target at once: All profiles get all packages marked as 'y' as a consquence of dependencies of *any* profile being built. This is true even before the code I'm doing to build multiple profiles and is a con

[OpenWrt-Devel] [PATCH][package] Allow UCI dhcp classifier to accept a list of MAC

2016-01-17 Thread nworbnhoj
dnsmasq offers to group DHCP options and their values by a network-id and to send options only to hosts which have been tagged with that network-id. uci acceps the mac classifier, but only for a single MAC config mac 'opnvpn' option mac '00:FF:*:*:*:*' option networkid 'opnvpn'

[OpenWrt-Devel] [PATCH] iproute2: remove odd conffiles generation

2016-01-17 Thread Rob Mosher
This was generating a conffiles list that included the binary and CONTROL/ files. Signed-off-by: Rob Mosher --- package/network/utils/iproute2/Makefile | 4 1 file changed, 4 deletions(-) diff --git a/package/network/utils/iproute2/Makefile b/package/network/utils/iproute2/Makefile index

Re: [OpenWrt-Devel] [PATCH 3/3] lantiq: ltq-deu: Remove the "DEU test manager"

2016-01-17 Thread Felix Fietkau
On 2016-01-11 15:25, Martin Blumenstingl wrote: > Remove the "DEU test manager" code which has not been used for more than > two years (as the kernel module is not installed anymore since > aa65888e08ec7279cfecc24c5bfe71cf9a016b91). > This fixes compilation on kernel 4.3 (which removes > aead_reque

Re: [OpenWrt-Devel] [PATCH v3] wpa_supplicant: fix generating phase2 config line for WPA-EAP

2016-01-17 Thread Felix Fietkau
On 2016-01-17 13:52, Daniel Golle wrote: > Hi Felix! > > Thanks for reviewing my suggestion! > > On Sun, Jan 17, 2016 at 11:36:48AM +0100, Felix Fietkau wrote: >> ... >> > This will allow to simply add new options for auth to the list in LuCI: >> > EAP-GTC, EAP-MD5, EAP-MSCHAPV2, EAP-PAP. >> What

Re: [OpenWrt-Devel] [PATCH] brcm2708: fix RPi model B plus support

2016-01-17 Thread Roman Yeryomin
On 17 January 2016 at 13:15, Felix Fietkau wrote: > On 2016-01-10 00:13, Roman Yeryomin wrote: >> Not sure if B+ is used or not (mine has B Plus) so leave both >> >> Signed-off-by: Roman Yeryomin >> --- >> target/linux/brcm2708/base-files/lib/brcm2708.sh | 1 + >> 1 file changed, 1 insertion(+)

[OpenWrt-Devel] [CC 15.05] openssh: Security update (2 CVEs)

2016-01-17 Thread jow
The openssh package has been rebuilt and was uploaded to the Chaos Calmer 15.05 repository due to multiple security issues. VERSION 6.8p1-1 => 7.1p2-1 CHANGELOG [Sat, 16 Jan 2016 11:46:32 +0100 fc7fc89] Version 7.1p2 Use version 7.1p2 due to several security bulletins. CHANGES net/opens

Re: [OpenWrt-Devel] [PATCH][RFC] x86: Save and restore partition table during upgrade

2016-01-17 Thread Jo-Philipp Wich
Hi. > This patch will save the partition table before an upgrade. > If the installed image has not changed the partition structure > the saved table will be restored, ensuring any user created > partitions will be present after the upgrade. That sounds odd. If I'd start to rely on such a feature

Re: [OpenWrt-Devel] [PATCH v3] wpa_supplicant: fix generating phase2 config line for WPA-EAP

2016-01-17 Thread Daniel Golle
Hi Felix! Thanks for reviewing my suggestion! On Sun, Jan 17, 2016 at 11:36:48AM +0100, Felix Fietkau wrote: > ... > > This will allow to simply add new options for auth to the list in LuCI: > > EAP-GTC, EAP-MD5, EAP-MSCHAPV2, EAP-PAP. > What about supporting multiple auth variants simultaneously

[OpenWrt-Devel] [PATCH 12/13] lantiq: Remove the old SPI driver patch

2016-01-17 Thread Martin Blumenstingl
Signed-off-by: Martin Blumenstingl --- .../0033-SPI-MIPS-lantiq-adds-spi-xway.patch | 1048 1 file changed, 1048 deletions(-) delete mode 100644 target/linux/lantiq/patches-4.1/0033-SPI-MIPS-lantiq-adds-spi-xway.patch diff --git a/target/linux/lantiq/patches-4.1/003

[OpenWrt-Devel] [PATCH 13/13] lantiq: Remove incorrect PCIe compatible strings

2016-01-17 Thread Martin Blumenstingl
Re-defining the compatible property is not required since the correct value is inherited from vr9.dtsi. Signed-off-by: Martin Blumenstingl --- target/linux/lantiq/dts/ARV7519RW22.dts | 1 - target/linux/lantiq/dts/TDW89X0.dtsi| 4 2 files changed, 5 deletions(-) diff --git a/target/lin

[OpenWrt-Devel] [PATCH 11/13] lantiq: Switch to the new SPI driver

2016-01-17 Thread Martin Blumenstingl
Compared to the "old" driver: - Each device must assign a pinctrl setting to the SPI node to allow the new SPI driver to configure the SPI pins. While here we are also using separate input and output settings so we are independent of whether the bootloader configures the pins correctly. - We

[OpenWrt-Devel] [PATCH 10/13] lantiq: Add a rewritten version of the SPI driver

2016-01-17 Thread Martin Blumenstingl
The new driver provides a few improvements over the old one: - Separate compatible strings per SoC type (this allows removing some hardcoded of_device_is_compatible() checks) - It does not rely upon spi-bitbang anymore - chip-selects are numbered as in the datasheet (= starting at 1 instead of

[OpenWrt-Devel] [PATCH 09/13] lantiq: Disable CONFIG_SPI_GPIO

2016-01-17 Thread Martin Blumenstingl
All devices are now using the HW SPI driver, so this is not necessary anymore. Signed-off-by: Martin Blumenstingl --- target/linux/lantiq/xrx200/config-default | 1 - target/linux/lantiq/xway/config-default | 1 - 2 files changed, 2 deletions(-) diff --git a/target/linux/lantiq/xrx200/config-

[OpenWrt-Devel] [PATCH 08/13] lantiq: Enable the hardware SPI driver on the DGN3500/DGN3500B

2016-01-17 Thread Martin Blumenstingl
Signed-off-by: Martin Blumenstingl --- target/linux/lantiq/dts/DGN3500.dtsi | 91 +++- 1 file changed, 38 insertions(+), 53 deletions(-) diff --git a/target/linux/lantiq/dts/DGN3500.dtsi b/target/linux/lantiq/dts/DGN3500.dtsi index bda4006..d43da9d 100644 --- a/t

[OpenWrt-Devel] [PATCH 07/13] lantiq: Enable SPI for the EASY80920 board again

2016-01-17 Thread Martin Blumenstingl
Also switch to the SPI definition provided by vr9.dtsi Signed-off-by: Martin Blumenstingl --- target/linux/lantiq/dts/EASY80920.dtsi | 87 -- 1 file changed, 41 insertions(+), 46 deletions(-) diff --git a/target/linux/lantiq/dts/EASY80920.dtsi b/target/linux/lan

[OpenWrt-Devel] [PATCH 06/13] lantiq: Switch FRITZ3370 from spi-gpio to the hardware SPI driver

2016-01-17 Thread Martin Blumenstingl
Signed-off-by: Martin Blumenstingl --- target/linux/lantiq/dts/FRITZ3370.dts | 71 +++ 1 file changed, 31 insertions(+), 40 deletions(-) diff --git a/target/linux/lantiq/dts/FRITZ3370.dts b/target/linux/lantiq/dts/FRITZ3370.dts index 7344052..c6a593b 100644 --- a

[OpenWrt-Devel] [PATCH 05/13] lantiq: Re-use the SPI node from vr9.dtsi in TDW89X0.dtsi

2016-01-17 Thread Martin Blumenstingl
This removes the duplicate SPI register definition. Signed-off-by: Martin Blumenstingl --- target/linux/lantiq/dts/TDW89X0.dtsi | 76 +--- 1 file changed, 36 insertions(+), 40 deletions(-) diff --git a/target/linux/lantiq/dts/TDW89X0.dtsi b/target/linux/lantiq/d

[OpenWrt-Devel] [PATCH 04/13] lantiq: Add the SPI node to ar9.dtsi and vr9.dtsi

2016-01-17 Thread Martin Blumenstingl
This allows devices to use SPI without having to re-define (and thus duplicating) the whole SPI node. By default SPI is disabled (as before) because only few devices need it. Signed-off-by: Martin Blumenstingl --- target/linux/lantiq/dts/ar9.dtsi | 10 ++ target/linux/lantiq/dts/vr9.dtsi

[OpenWrt-Devel] [PATCH 03/13] lantiq: Configure the PCIe reset GPIO using OF

2016-01-17 Thread Martin Blumenstingl
After the latest pinctrl backports there are only 50 (instead of 56 as before) GPIOs/pins exported (thus the first GPIO on VRX200 SoCs is now 462, before it was 456). This means that any hardcoded GPIOs have to be adjusted. This broke the PCIe driver (which seems to be the only driver which uses ha

[OpenWrt-Devel] [PATCH 02/13] lantiq: Use the new pinctrl compatible strings

2016-01-17 Thread Martin Blumenstingl
These were introduced in upstream commit be14811c03cf "pinctrl/lantiq: introduce new dedicated devicetree bindings" and finally allow us to use the individual pins within our dts (for example spi_clk, etc.). Please note that this changes the number of GPIOs which are available for some SoCs. VRX200

[OpenWrt-Devel] [PATCH 01/13] lantiq: Backport upstream pinctrl-xway patches from 4.5

2016-01-17 Thread Martin Blumenstingl
Upstream commit be14811c03cf2 "pinctrl/lantiq: introduce new dedicated devicetree bindings" allows us to use each pin in the pinmux. This is useful for example in the "spi" group which contains some pins which are inputs, and some which are outputs. These can only be used once the new compatible st

[OpenWrt-Devel] lantiq: SPI cleanups and update to the new SPI driver

2016-01-17 Thread Martin Blumenstingl
While upgrading the lantiq target to linux 4.4 it was discovered that the SPI driver is not working with 4.4 anymore. Fixing it also does not seem to be trivial. However, Daniel Schwierzeck (thanks!) has provided a rewritten SPI driver. His version works fine on 4.1 and 4.5, is now independant of s

Re: [OpenWrt-Devel] lantiq: Initial linux 4.4 support (with SPI problems)

2016-01-17 Thread Martin Blumenstingl
On Sat, Jan 16, 2016 at 10:48 PM, Daniel Schwierzeck wrote: > Am Samstag, den 16.01.2016, 21:17 +0100 schrieb Martin Blumenstingl: > >> So compared to your patch the final list of changes is: >> - INIT_COMPLETION -> reinit_completion >> - use clk_get_fpi() >> - of_device_id for "lantiq,spi-xrx100"

Re: [OpenWrt-Devel] [PATCH] brcm2708: fix RPi model B plus support

2016-01-17 Thread Álvaro Fernández Rojas
I think it's the firmware the one replacing the model name, since it also adds the revision to it... I don't really know why the firmware does that... El 17/01/2016 a las 12:15, Felix Fietkau escribió: On 2016-01-10 00:13, Roman Yeryomin wrote: Not sure if B+ is used or not (mine has B Plus) s

Re: [OpenWrt-Devel] [PATCH] brcm2708: fix RPi model B plus support

2016-01-17 Thread Felix Fietkau
On 2016-01-10 00:13, Roman Yeryomin wrote: > Not sure if B+ is used or not (mine has B Plus) so leave both > > Signed-off-by: Roman Yeryomin > --- > target/linux/brcm2708/base-files/lib/brcm2708.sh | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/target/linux/brcm2708/base-files/lib/brc

Re: [OpenWrt-Devel] [PATCH v3] wpa_supplicant: fix generating phase2 config line for WPA-EAP

2016-01-17 Thread Felix Fietkau
On 2016-01-12 17:43, Daniel Golle wrote: > Hi Felix, > > I started working on fixing the WPA-EAP client support and while > reviewing your suggestions and the reading the scripts and hostap > sources, I had some realizations and suggest to do things in yet > another way: > > On Sun, Jan 03, 2016

Re: [OpenWrt-Devel] [PATCH] Add @APACHE download facility

2016-01-17 Thread Heinrich Schuchardt
I would like to package subversion. The patch below is a prerequisite. Best regards Heinrich Schuchardt On 01/06/2016 09:30 PM, Heinrich Schuchardt wrote: > The Apache Software Foundation offers diverse download mirros. > > For packaging Apache software a new alias @APACHE is defined. > > Sign