[OpenWrt-Devel] r49252 (dnsmasq: run as dedicated UID/GID) causing major havoc

2016-04-30 Thread Hannu Nyman
r49252 (dnsmasq: run as dedicated UID/GID) seems to be causing major havoc. So far at least 5 bugs about it: #22271, #22277, #22278, #22300, #22303 The change to require a separate userid & group for dnsmasq without providing any transitioning mechanism effectively prevents dnsmasq from startin

Re: [OpenWrt-Devel] r49252 (dnsmasq: run as dedicated UID/GID) causing major havoc

2016-04-30 Thread Daniel Golle
Hi! On Sat, Apr 30, 2016 at 10:20:05AM +0300, Hannu Nyman wrote: > r49252 (dnsmasq: run as dedicated UID/GID) seems to be causing major havoc. > > So far at least 5 bugs about it: #22271, #22277, #22278, #22300, #22303 > > The change to require a separate userid & group for dnsmasq without > pro

[OpenWrt-Devel] [PATCH] ar71xx: Fix eth0 support for Ubiquiti UniFi AP AC

2016-04-30 Thread p . wassi
From: Paul Wassi Fix eth0 support for the Ubiquiti UniFi AP AC Signed-off-by: Paul Wassi --- In changeset 48937 a patch was introduced which changes the default behaviour of ath79_register_eth(). The patch below addresses this issue and provides proper device setup. Eth is then working out of t

Re: [OpenWrt-Devel] r49252 (dnsmasq: run as dedicated UID/GID) causing major havoc

2016-04-30 Thread John Crispin
On 30/04/2016 10:10, Daniel Golle wrote: > Hi! > > On Sat, Apr 30, 2016 at 10:20:05AM +0300, Hannu Nyman wrote: >> r49252 (dnsmasq: run as dedicated UID/GID) seems to be causing major havoc. >> >> So far at least 5 bugs about it: #22271, #22277, #22278, #22300, #22303 >> >> The change to require

[OpenWrt-Devel] [PATCH] lantiq: VG3503J - use the same PHY led functionality as the OEM firmware

2016-04-30 Thread Mathias Kresin
Based on the vg3503j_gphy_led.sh script published in the VG3503J wiki article, the OEM Firmware uses the following PHY led functionality: gphy led 0: LINK/ACTIVITY gphy led 1: LINK gphy led 2: ACTIVITY Signed-off-by: Mathias Kresin --- target/linux/lantiq/dts/VG3503J.dtsi | 16 +

[OpenWrt-Devel] [PATCH 2/2] lantiq: VGV7510KW22BRN - set the phy clock source

2016-04-30 Thread Mathias Kresin
VGV7510KW2 with VRX288 v1.2 has brnboot 1.8 installed. Starting with this brnboot version, the "GPHY Clock Source" isn't set anymore by brnboot, with the result that xrx200-net fails to probe/initialize the phys. Use the phy clock source device tree binding to specify the clock source. Signed-off

[OpenWrt-Devel] [PATCH 1/2] lantiq: add device tree binding for the phy clock source

2016-04-30 Thread Mathias Kresin
Signed-off-by: Mathias Kresin --- ...x200-add-gphy-clk-src-device-tree-binding.patch | 26 ++ 1 file changed, 26 insertions(+) create mode 100644 target/linux/lantiq/patches-4.4/0301-xrx200-add-gphy-clk-src-device-tree-binding.patch diff --git a/target/linux/lantiq/patches

[OpenWrt-Devel] [PATCH] lantiq: use sysupgrade.bin postfix for tplink images

2016-04-30 Thread Mathias Kresin
Use the same name for TP-Link images as it was with the old image build code. Move the BOARD_ID export to the TP-Link image build recipe, to indicate that the variable is only related in this context. Signed-off-by: Mathias Kresin --- target/linux/lantiq/image/Makefile | 7 --- 1 file chang

[OpenWrt-Devel] [PATCH 1/3] lantiq: move partitions into partion table node

2016-04-30 Thread Mathias Kresin
Starting with kernel 4.4, the use of partitions as direct subnodes of the mtd device is discouraged and only supported for backward compatiblity reasons. Signed-off-by: Mathias Kresin --- target/linux/lantiq/dts/ACMP252.dts| 67 +++--- target/linux/lantiq/dts/ARV4510PW.dts | 36 +-

[OpenWrt-Devel] [PATCH 3/3] lantiq: VGV7510KW22BRN - support dual-image

2016-04-30 Thread Mathias Kresin
Signed-off-by: Mathias Kresin --- target/linux/lantiq/dts/VGV7510KW22BRN.dts | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/target/linux/lantiq/dts/VGV7510KW22BRN.dts b/target/linux/lantiq/dts/VGV7510KW22BRN.dts index 5f48323..f93249b 100644 --- a/target/linux/lantiq/dts

[OpenWrt-Devel] [PATCH 2/3] lantiq: handle the dual-firmware layout of brnboot

2016-04-30 Thread Mathias Kresin
brnboot based devices can have two Image partitions. When flashing images via the brnboot recovery web interface, the Image partitions are written alternating. The current active Image partition is stored in the first byte of the Primary_Setting partition by using 0x00 for Code_Image_0 and 0x01 fo

Re: [OpenWrt-Devel] [PATCH 1/2] lantiq: add device tree binding for the phy clock source

2016-04-30 Thread John Crispin
Hi, thanks for the patches,bet that was fun to figure out. comment inline On 30/04/2016 14:25, Mathias Kresin wrote: > Signed-off-by: Mathias Kresin > --- > ...x200-add-gphy-clk-src-device-tree-binding.patch | 26 > ++ > 1 file changed, 26 insertions(+) > create mode 10064

Re: [OpenWrt-Devel] r49252 (dnsmasq: run as dedicated UID/GID) causing major havoc

2016-04-30 Thread John Crispin
i have just pushed a generic fix, please verify that it fixes the issue. it seems to work for me. John ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [PATCH 1/2] lantiq: add device tree binding for the phy clock source

2016-04-30 Thread Mathias Kresin
Signed-off-by: Mathias Kresin --- Changes in v2: - moved logic into its own function (no functional change) ...x200-add-gphy-clk-src-device-tree-binding.patch | 30 ++ 1 file changed, 30 insertions(+) create mode 100644 target/linux/lantiq/patches-4.4/0301-xrx200-a

[OpenWrt-Devel] [PATCH 2/2] lantiq: VGV7510KW22BRN - set the phy clock source

2016-04-30 Thread Mathias Kresin
VGV7510KW2 with VRX288 v1.2 has brnboot 1.8 installed. Starting with this brnboot version, the "GPHY Clock Source" isn't set anymore by brnboot, with the result that xrx200-net fails to probe/initialize the phys. Use the phy clock source device tree binding to specify the clock source. Signed-off