Re: [OpenWrt-Devel] ramips: mtk_soc_eth vs old ralink ethernet driver for the M2M

2015-12-29 Thread Russell Senior
> "Russell" == Russell Senior writes: > "John" == John Crispin writes: John> i'll try to test during the day. i had tested most socs but John> apparently 5350 still has an issue. Russell> Yes, I saw this too, and was about to report it. I'm seeing it Russell> on an AsiaRF AWM002, which

[OpenWrt-Devel] [PATCH] add UCI option for leasetime per static host

2015-12-29 Thread ufomanfred
Hi guys, I wanted to use this feature and decided to figure out how to commit to the awesome OpenWrt project. I am completely new to development so please be kind when reviewing. I appreciate any (constructive) feedback! Cheers, ufomanfred Edit: screw you HTML webmail client.. --- package/netw

[OpenWrt-Devel] [PATCH] add UCI option for leasetime per static host

2015-12-29 Thread ufomanfred
Hi guys,I wanted to use this feature and decided to figure out how to commit to the awesome OpenWrt project.I am completely new to development so please be kind when reviewing. I appreciate any (constructive) feedback!Cheers, ufomanfred--- package/network/services/dnsmasq/files/dnsmasq.init | 4 ++

[OpenWrt-Devel] [PATCH] package/network/config/gre: ipv6 gre kmod package name was wrong

2015-12-29 Thread openwrt
From: Daniel Dickinson Source package gre was depending on kmod-ip6-gre, however the actual kernel module package that is created is kmod-gre6. Therefore update (source) package gre for ipv6 gre support. Signed-off-by: Daniel Dickinson --- package/network/config/gre/Makefile | 2 +- 1 file ch

[OpenWrt-Devel] [OpenWrt-devel] [PATCH v3 4/4] kernel: video: add DRM core and IMX DRM support for HDMI/LVDS

2015-12-29 Thread Tim Harvey
Signed-off-by: Tim Harvey --- v3: - updated for Linux 4.3 v2: - fixed whitespace - added TARGET_imx6 to imx6-drm Signed-off-by: Tim Harvey --- package/kernel/linux/modules/video.mk | 171 ++ 1 file changed, 171 insertions(+) diff --git a/package/kernel/linux/mod

[OpenWrt-Devel] [OpenWrt-devel] [PATCH v3 1/4] imx6: add PWM support

2015-12-29 Thread Tim Harvey
Adds ~2KB to kernel, likely not worth creating modules for Signed-off-by: Tim Harvey --- v3: include static in kernel vs module options (very small) --- target/linux/imx6/config-4.1 | 3 +++ target/linux/imx6/config-4.3 | 3 +++ 2 files changed, 6 insertions(+) diff --git a/target/linux/imx6/co

[OpenWrt-Devel] [OpenWrt-devel] [PATCH v3 3/4] kernel: video: add fbcon support

2015-12-29 Thread Tim Harvey
Signed-off-by: Tim Harvey --- v3: - no changes v2: - add fb dependency - disable unsupported fb's Signed-off-by: Tim Harvey --- package/kernel/linux/modules/video.mk | 49 ++- 1 file changed, 48 insertions(+), 1 deletion(-) diff --git a/package/kernel/linux/modu

[OpenWrt-Devel] [OpenWrt-devel] [PATCH v3 2/4] kernel: add backlight kernel module support

2015-12-29 Thread Tim Harvey
Signed-off-by: Tim Harvey --- v3: - added support for Linux 4.3 (new driver needs to be disabled by default) v2: - no changes Signed-off-by: Tim Harvey --- package/kernel/linux/modules/backlight.mk | 49 +++ 1 file changed, 49 insertions(+) create mode 100644 packag

[OpenWrt-Devel] [OpenWrt-devel] [PATCH v3 0/4] Add DRM video output support for IMX6

2015-12-29 Thread Tim Harvey
This series adds DRM based video output support for IMX6 HDMI and LVDS. The first 3 patches are independent from the others and add some necessary or useful deps for video display. The 4th patch adds drm core and drm-imx modules supporting LVDS/HDMI. Note that currently you need to add modules fo

Re: [OpenWrt-Devel] [PATCH 2/6] ltq-vdsl-app: disable Annex I

2015-12-29 Thread Mathias Kresin
Am 29.12.2015 um 22:34 schrieb Hauke Mehrtens: Hi, On 12/29/2015 09:56 PM, Mathias Kresin wrote: Commit r47934 removed the comment about G.992.4 support, but enabled G.992.4 Annex I without mention it (bit 6 of XTSE octet 5 [ITU-T G.997.1 (06/2012) - section 7.3.1.1.1]. You are unsettling bit

Re: [OpenWrt-Devel] [PATCH 3/6] ltq-vdsl-app: add/enable missing G.993.2 XTSE bits

2015-12-29 Thread Hauke Mehrtens
On 12/29/2015 09:56 PM, Mathias Kresin wrote: > This patch adds the missing VDSL2 bits to the annex specific XTSE (like > it should be according to the comments above the XTSE bits). > > Since r47933 it's mandatory to remove the annex option to switch to > VDSL2 (only) operation mode. > > As sh

Re: [OpenWrt-Devel] [PATCH 2/6] ltq-vdsl-app: disable Annex I

2015-12-29 Thread Hauke Mehrtens
Hi, On 12/29/2015 09:56 PM, Mathias Kresin wrote: > Commit r47934 removed the comment about G.992.4 support, but enabled > G.992.4 Annex I without mention it (bit 6 of XTSE octet 5 [ITU-T > G.997.1 (06/2012) - section 7.3.1.1.1]. You are unsettling bit 7 in octet 5, this is used for Annex M G.992

[OpenWrt-Devel] [PATCH] lantiq: match default xdsl mode and default wan interface

2015-12-29 Thread Mathias Kresin
Signed-off-by: Mathias Kresin --- target/linux/lantiq/base-files/etc/board.d/02_network | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/target/linux/lantiq/base-files/etc/board.d/02_network b/target/linux/lantiq/base-files/etc/board.d/02_network index 8fc0835..15b1f8c 10

[OpenWrt-Devel] [PATCH 2/2] lantiq: convert vendorid into human readable form

2015-12-29 Thread Mathias Kresin
Signed-off-by: Mathias Kresin --- .../lantiq/base-files/lib/functions/lantiq_dsl.sh | 67 ++ 1 file changed, 67 insertions(+) diff --git a/target/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh b/target/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh index ec035df..

[OpenWrt-Devel] [PATCH 1/2] lantiq: add the current profile to the stats output

2015-12-29 Thread Mathias Kresin
Signed-off-by: Mathias Kresin --- .../lantiq/base-files/lib/functions/lantiq_dsl.sh | 30 ++ 1 file changed, 30 insertions(+) diff --git a/target/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh b/target/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh index 60ace44..

[OpenWrt-Devel] [PATCH 5/6] ltq-vdsl-app: enable G.993.5 XTSE bit by default

2015-12-29 Thread Mathias Kresin
According to ITU-T G.997.1 Amendment 2 (04/2013) section 2.1, bit 3 of XTSE octet 8 either allow or denies the initialization of G.993.5. Even if the current redistributable xDSL firmware doesn't include G.993.5 vectoring support, enable this bit by default to allow people to get their G.993.5 lin

[OpenWrt-Devel] [PATCH 4/6] ltq-vdsl-app: let the driver/app probe the xtse on missing annex

2015-12-29 Thread Mathias Kresin
r47933 revealed that the driver/app in combination with the chosen firmware does a good job in selecting a working xtse. Use this probing mode if no annex is specified. Signed-off-by: Mathias Kresin --- Since a predefined annex isn't required, what about using 'auto' when creating the initial

[OpenWrt-Devel] [PATCH 6/6] ltq-vdsl-app: re-add lowlevel settings

2015-12-29 Thread Mathias Kresin
Add back a slightly modified version of the lowlevel settings which where removed with r46920. In compare to the old lowlevel settings, the B43c tone is added to tone_adsl_b and tone_adsl_bv. If an unsupported tone value is used, the auto probing mode is used, in compare to the fallback to tone_a

[OpenWrt-Devel] [PATCH 1/6] ltq-vdsl-app: use the final xtse format

2015-12-29 Thread Mathias Kresin
This way we can drop the call to sed. Signed-off-by: Mathias Kresin --- package/network/config/ltq-vdsl-app/files/dsl_control | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package/network/config/ltq-vdsl-app/files/dsl_control b/package/network/config/ltq-vdsl-ap

[OpenWrt-Devel] [PATCH 3/6] ltq-vdsl-app: add/enable missing G.993.2 XTSE bits

2015-12-29 Thread Mathias Kresin
This patch adds the missing VDSL2 bits to the annex specific XTSE (like it should be according to the comments above the XTSE bits). Since r47933 it's mandatory to remove the annex option to switch to VDSL2 (only) operation mode. As shown by ticket #21436 and a few mails I received personally, ev

[OpenWrt-Devel] [PATCH 2/6] ltq-vdsl-app: disable Annex I

2015-12-29 Thread Mathias Kresin
Commit r47934 removed the comment about G.992.4 support, but enabled G.992.4 Annex I without mention it (bit 6 of XTSE octet 5 [ITU-T G.997.1 (06/2012) - section 7.3.1.1.1]. To my knowledge Annex I is not supported by the firmware. Signed-off-by: Mathias Kresin --- package/network/config/ltq-vd

Re: [OpenWrt-Devel] [PATCH 1/1] package/libs/libtool: package libtool

2015-12-29 Thread Michael Heimpold
Hi, Am Monday 28 December 2015, 03:39:35 schrieb Heinrich Schuchardt: > Up to now only package libtldl is created form source package > GNU libtool. > > A new package libtool containing libtoolize is provided. > > Signed-off-by: Heinrich Schuchardt > --- > package/libs/libtool/Makefile | 39 ++

[OpenWrt-Devel] [PATCH RESEND] dnsmasq: add config option for ra_names

2015-12-29 Thread Dominique Martinet
Signed-off-by: Dominique Martinet --- I posted this quite another while ago: Dominique Martinet wrote on Sun, Jul 14, 2013: > I posted this quite a while ago: > Dominique Martinet wrote on Fri, Jul 06, 2012: >> ra_names is a feature introduced in dnsmasq 2.61, which is why I changed >> the rules

Re: [OpenWrt-Devel] Fwd: OpenVSwitch 2.5.0 for Linux kernel 4.3

2015-12-29 Thread Alexandru Ardelean
@Ronaldo: there was a patch submission to add OVS support to netifd. http://comments.gmane.org/gmane.comp.embedded.openwrt.devel/21591 I was not accepted from the looks of it. Regarding the discussion about the upgrade to 2.5.0. Let's move it here: https://github.com/openwrt/packages/issues/2201

[OpenWrt-Devel] [PATCH 2/2] swconfig: add API for setting port link speed

2015-12-29 Thread Rafał Miłecki
Some switches can force link speed for a port. Let's add API that will allow drivers to export this feature. Signed-off-by: Rafał Miłecki --- .../linux/generic/files/drivers/net/phy/swconfig.c | 63 +- target/linux/generic/files/include/linux/switch.h | 2 + 2 files changed

[OpenWrt-Devel] [PATCH 1/2] swconfig: support sending SWITCH_TYPE_LINK to kernel

2015-12-29 Thread Rafał Miłecki
Signed-off-by: Rafał Miłecki --- package/network/config/swconfig/src/swlib.c | 38 + 1 file changed, 38 insertions(+) diff --git a/package/network/config/swconfig/src/swlib.c b/package/network/config/swconfig/src/swlib.c index 908e0fb..7bcd8d2 100644 --- a/package/ne

[OpenWrt-Devel] [PATCH] fstools: allow block to mount F2FS partitions

2015-12-29 Thread bel3atar
Allow the block program to mount F2FS partitions Signed-off-by: Mohammed Ousama BELATAR --- block.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/block.c b/block.c index c6d1b90..a27662f 100644 --- a/block.c +++ b/block.c @@ -1084,7 +1084,8 @@ static int mount_extroot(ch

Re: [OpenWrt-Devel] Fwd: OpenVSwitch 2.5.0 for Linux kernel 4.3

2015-12-29 Thread Ronaldo Afonso
Hi all, I'd like to take advantage of that thread and ask you guys if there is someone working on porting "netifd package" to support Open vSwitch. Jeroen, How are you planning to configure your /etc/config/network file in order for it to work with Open vSwitch? Thanks in advance ...

Re: [OpenWrt-Devel] [PATCH] kernel: generic 4.1 & 4.4 perf: musl compatibility

2015-12-29 Thread Kevin Darbyshire-Bryant
On 29/12/15 11:13, Hauke Mehrtens wrote: > > On 12/29/2015 11:14 AM, Kevin Darbyshire-Bryant wrote: >> Enable linux perf tools to compile under musl. >> >> Tested on MIPS Archer c7 v2 & ARM Linksys 1200ac. >> >> With thanks to Dave Taht who >> did the heavy lifting. >> >> Signed-off-by: Kevin Da

Re: [OpenWrt-Devel] [PATCH] kernel: generic 4.1 & 4.4 perf: musl compatibility

2015-12-29 Thread Hauke Mehrtens
On 12/29/2015 11:14 AM, Kevin Darbyshire-Bryant wrote: > Enable linux perf tools to compile under musl. > > Tested on MIPS Archer c7 v2 & ARM Linksys 1200ac. > > With thanks to Dave Taht who > did the heavy lifting. > > Signed-off-by: Kevin Darbyshire-Bryant > --- > package/devel/perf/Makef

[OpenWrt-Devel] [PATCH] kernel: generic 4.1 & 4.4 perf: musl compatibility

2015-12-29 Thread Kevin Darbyshire-Bryant
Enable linux perf tools to compile under musl. Tested on MIPS Archer c7 v2 & ARM Linksys 1200ac. With thanks to Dave Taht who did the heavy lifting. Signed-off-by: Kevin Darbyshire-Bryant --- package/devel/perf/Makefile| 2 +- .../patches-4.1/280-perf-fixes-for-musl.

[OpenWrt-Devel] [PATCH v1] ramips: Remove LED GPIO definitions in MQmaker WiTi device tree

2015-12-29 Thread Sebastian Careba
LED's were defined wrong in the device tree file, they are hardware driven because they are connected directly to the switch chip and wireless chips respectively, thus no GPIO addresses are assigned to them. It is safe to remove them from the device tree file to stop confusion. Signed-off-by: S