Re: [OpenWrt-Devel] Add support for AVM Fritzbox 7360 SL

2016-05-16 Thread Christian Mehlis
Am 15.05.2016 um 22:13 schrieb Martin Blumenstingl: On Sun, May 15, 2016 at 9:45 PM, Sebastian Ortwein wrote: Am 15.05.2016 um 17:37 schrieb Martin Blumenstingl: Okay thank you for support. Now all thinks works fine LAN, WIFI, Switch and USB. I attach my patch to add the support for OpenWRT. G

[OpenWrt-Devel] [PATCH] ar71xx: add support for Compex WPJ342

2016-03-25 Thread Christian Mehlis
OpenWrt can be flashed with following uboot commands: tftpboot 0x8050 openwrt-ar71xx-generic-wpj342-16M-squashfs-sysupgrade.bin erase 0x9f03 +$filesize cp.b $fileaddr 0x9f03 $filesize Signed-off-by: Christian Mehlis --- .../linux/ar71xx/base-files/etc/board.d/02_network | 5

[OpenWrt-Devel] git.nbd.name is down: ubox git not accessible

2016-01-04 Thread Christian Mehlis
Hi *, can someone please bring back https://git.nbd.name/ ? As the ubox project is hosted on this server only, it is difficult to work around this issue. Is it possible to move all openwrt basis projects to the openwrt.org git server, to have a long standing solution? Best Christian __

[OpenWrt-Devel] [PATCH] ramips: added gpio spi refclk support for wrtnode board

2015-07-14 Thread Christian Mehlis
This syncs the dts file with the one provided by the wrtnode team: https://github.com/WRTnode/openwrt-patches/blob/master/R41508/wrtnode_factory_firmware_dts.patch Signed-off-by: Christian Mehlis --- target/linux/ramips/dts/WRTNODE.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[OpenWrt-Devel] [PATCH] ramips: added led support for wrtnode board

2015-07-11 Thread Christian Mehlis
This syncs the dts file with the one provided by the wrtnode team: https://github.com/WRTnode/openwrt-patches/blob/master/R41508/wrtnode_factory_firmware_dts.patch Signed-off-by: Christian Mehlis --- target/linux/ramips/dts/WRTNODE.dts | 12 1 file changed, 12 insertions(+) diff

Re: [OpenWrt-Devel] [PATCH 3/5] ar71xx: compex wpj531 remove unnecessary switch initialization

2015-07-09 Thread Christian Mehlis
Am 09.07.2015 um 08:14 schrieb John Crispin: why is this unnecessary ? do we now rely on the bootloader to have already made the setup ? Hi John, I see, I couldn't find any difference in calling this function or not from a perspective within the system (swconfig, ethtool). Perhaps I'm just

[OpenWrt-Devel] [PATCH 5/5] ar71xx: compex wpe72 add space to include statement

2015-07-08 Thread Christian Mehlis
Signed-off-by: Christian Mehlis --- target/linux/ar71xx/files/arch/mips/ath79/mach-wpe72.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wpe72.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-wpe72.c index 70bf7db..9452484

[OpenWrt-Devel] [PATCH 4/5] ar71xx: compex wpj531 register usb support

2015-07-08 Thread Christian Mehlis
Signed-off-by: Christian Mehlis --- target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c index 7a074c8..6992226 100644 --- a

[OpenWrt-Devel] [PATCH 3/5] ar71xx: compex wpj531 remove unnecessary switch initialization

2015-07-08 Thread Christian Mehlis
Signed-off-by: Christian Mehlis --- target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c index 2cc2fe8..7a074c8 100644 --- a

[OpenWrt-Devel] [PATCH 2/5] ar71xx: compex wpj531 fix setting mac address on ethernet

2015-07-08 Thread Christian Mehlis
Signed-off-by: Christian Mehlis --- target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c index

[OpenWrt-Devel] [PATCH 1/5] ar71xx: compex wpj531 fix ethernet registration

2015-07-08 Thread Christian Mehlis
In fb6f62e97733312053ab593fcf68eea47a21169e several settings are set on the ethernet device, but they are not working. Fix Ethernet by setting the right values. Signed-off-by: Christian Mehlis --- target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c | 4 ++-- 1 file changed, 2 insertions

Re: [OpenWrt-Devel] [PATCH 1/2] ar71xx: rework patch for qca953x/956x

2015-07-06 Thread Christian Mehlis
Am 06.07.2015 um 15:59 schrieb Matthias Schiffer: could you send me the output of `swconfig dev eth1 show` (or eth0?) on OpenWrt? The current initialization code looks a bit weird as it's the same one would use for a device with 4 LAN ports, even though the WPJ531 has only one. root@OpenWrt:/#

Re: [OpenWrt-Devel] [PATCH 1/2] ar71xx: rework patch for qca953x/956x

2015-07-04 Thread Christian Mehlis
Am 02.07.2015 um 23:10 schrieb Matthias Schiffer: I've fixed it up using the following snippet, the Compex WPJ531 will probably need the same fix (it uses pretty much the same initialization code). Thanks Matthias, When submitting the fix for the WR841Nv9 please also include the fix for the

Re: [OpenWrt-Devel] Chaos Calmer regression in RC2 - MediaTek MT7621

2015-06-29 Thread Christian Mehlis
Am 29.06.2015 um 14:32 schrieb John Crispin: are you sure that your board has 512mb ram ? Hey John, good catch! You are right, my eval board only has 256mb. /target/linux/ramips/dts/FIREWRT.dts: line 11 can you tell me how this line has to look, with 256mb of RAM? Is it sufficient to remov

Re: [OpenWrt-Devel] Chaos Calmer regression in RC2 - MediaTek MT7621

2015-06-29 Thread Christian Mehlis
Am 29.06.2015 um 11:07 schrieb John Crispin: works for me on both trunk and rc2/3. i tested this on 3 boards. show us the oops please. have a look at pastebin: http://pastebin.com/raw.php?i=gCWKmG3J cc-rc1 (working) http://pastebin.com/raw.php?i=GSXXtPxd cc-rc2 (kernel oops) http://pastebin.

[OpenWrt-Devel] Chaos Calmer regression in RC2 - MediaTek MT7621

2015-06-28 Thread Christian Mehlis
On my Firewrt (MediaTek MT7621) cc-rc1 was booting up correctly. cc-rc2 fails with kernel oops: http://pastebin.com/raw.php?i=gCWKmG3J cc-rc1 (working) http://pastebin.com/raw.php?i=GSXXtPxd cc-rc2 (kernel oops) http://pastebin.com/raw.php?i=t1qRjzPy r46133 trunk (kernel oops) trunk is also brok

Re: [OpenWrt-Devel] alternative for "pyserial+python-mini"

2015-06-27 Thread Christian Mehlis
Am 26.06.2015 um 14:57 schrieb valent.turko...@gmail.com: Does micro-python have some alternative or replacement for pyserial? you can use stty[1] from busybox to configure the tty. After that every program can use regular read/write calls... [1] http://unixhelp.ed.ac.uk/CGI/man-cgi?stty Best

[OpenWrt-Devel] [PATCH] ar71xx: add support for compex wpj531

2015-06-01 Thread Christian Mehlis
tftpboot 0x8050 openwrt-ar71xx-generic-wpj531-16M-squashfs-sysupgrade.bin erase 0x9f03 +$filesize erase 0x9f68 +1 cp.b $fileaddr 0x9f03 $filesize --- v2: fix indentation with spaces refresh patch Signed-off-by: Christian Mehlis --- target/linux/ar71xx/base-files/etc/diag.sh

Re: [OpenWrt-Devel] [PATCH v4] [kernel] upstream fix: mount overlayfs r/o if workdir cannot be created

2015-05-29 Thread Christian Mehlis
Am 29.05.2015 um 15:38 schrieb Thomas Huehn: This is the case e.g. if JFFS2 partition is full. see: https://www.mail-archive.com/linux-unionfs@vger.kernel.org/msg00246.html (a small error in a logmessage was changed and reported upstream) runtime tested on ar71xx with kernel 3.18.11 and r45772

Re: [OpenWrt-Devel] Link detection - TP-Link Archer C7 v2

2015-05-27 Thread Christian Mehlis
Am 27.05.2015 um 20:57 schrieb Gert Doering: (Which is how certain commercial platforms handle this - if "all L2 ports in a given VLAN" go down, the "L3 routing interface" will also go down, and I found that usually to be "what I expect and want to happen") This would totally match my usecase.

Re: [OpenWrt-Devel] [PATCH v2] [kernel] upstream fix: mount overlayfs r/o if workdir cannot be created

2015-05-27 Thread Christian Mehlis
Bittorf Tested-By: Christian Mehlis Test run @45772 on ar71xx is available here: http://pastebin.com/raw.php?i=ez7rtu2u Best Christian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman

Re: [OpenWrt-Devel] Link detection - TP-Link Archer C7 v2

2015-05-27 Thread Christian Mehlis
Am 26.05.2015 um 22:48 schrieb Richard Clark: https://dev.openwrt.org/ticket/17674 (set to closed / duplicate) but no reference Any thoughts, suggestions, or can someone give me some pointers on where I can be digging in the openwrt kernel code for where that Ethernet driver 'link status' get fi

Re: [OpenWrt-Devel] [PATCH] [kernel] upstream fix: mount overlayfs r/o if workdir cannot be created

2015-05-21 Thread Christian Mehlis
Am 19.05.2015 um 16:17 schrieb Bastian Bittorf: +diff --git a/fs/overlayfs/super.c b/fs/overlayfs/super.c +index 5f0d199..bf8537c 100644 +--- a/fs/overlayfs/super.c b/fs/overlayfs/super.c +@@ -529,7 +529,7 @@ static int ovl_remount(struct super_block *sb, int *flags, char *data) this fun

Re: [OpenWrt-Devel] [PATCH] ar8216: Fix problem with AR8337 MAC swap handling

2015-05-20 Thread Christian Mehlis
Am 29.04.2015 um 19:41 schrieb Heiner Kallweit: AR8337 supports a configuration bit to swap MAC0 and MAC6. Currently this is set in general if an AR8337 is detected and causes issues with devices using an AR8334 (internally an AR8337, just less chip pins). And it might even cause issues with AR83

Re: [OpenWrt-Devel] [PATCH] ar71xx: Add support for the Meraki MR12 & MR16

2015-05-11 Thread Christian Mehlis
Am 09.05.2015 um 18:26 schrieb Chris Blake: This patch is to add support for the Meraki MR12 and MR16 Access Points. Currently everything is working, minus the 2nd NIC interface on the MR12 which is built into the SoC. Signed-off-by: Chris R Blake Your patch is line wrapped by your mail appli

Re: [OpenWrt-Devel] [PATCH] ar71xx: add support for compex wpj531

2015-05-10 Thread Christian Mehlis
Am 27.04.2015 um 16:48 schrieb Christian Mehlis: OpenWrt can be flashed with following uboot commands: tftpboot 0x8050 openwrt-ar71xx-generic-wpj531-16M-squashfs-sysupgrade.bin erase 0x9f03 +$filesize cp.b $fileaddr 0x9f03 $filesize Signed-off-by: Christian Mehlis @nbd are

Re: [OpenWrt-Devel] AR8334 switch support

2015-04-29 Thread Christian Mehlis
Am 28.04.2015 um 22:10 schrieb Heiner Kallweit: It was easier than I thought, here comes the related patch. do you plan to send this as a patch to make the change available for everyone, or should I? Best Christian ___ openwrt-devel mailing list op

[OpenWrt-Devel] [PATCH] ar71xx: fix sysupgrade for compex-wpj344

2015-04-29 Thread Christian Mehlis
Moved board to the right magic case. Signed-off-by: Christian Mehlis --- target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib

Re: [OpenWrt-Devel] AR8334 switch support

2015-04-29 Thread Christian Mehlis
s for WPJ344 only. Every other AR8334-based device would need the same extension to the platform data. Rgds, Heiner Hi Heiner, this explicit way to talk to the driver is working! Thank you for your effort! Tested-By: Christian M

Re: [OpenWrt-Devel] AR8334 switch support

2015-04-28 Thread Christian Mehlis
Am 27.04.2015 um 20:56 schrieb Heiner Kallweit: The only other difference I found is the initial setting of LED_CTRL3 register. Could you please test the following patch (first remove the initial patch attempt)? [0.85] switch0: Atheros AR833X rev. 2 switch registered on ag71xx-mdio.0

Re: [OpenWrt-Devel] AR8334 switch support

2015-04-27 Thread Christian Mehlis
Am 27.04.2015 um 15:06 schrieb Heiner Kallweit: Could you please provide te dmesg output of this patch version? [0.85] switch0: Atheros AR833X rev. 2 switch registered on ag71xx-mdio.0 [0.86] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: PHY 0 available, BMSR = 0x7949 [0.

[OpenWrt-Devel] [PATCH] netifd-dhcp: supply parameters to user-script

2015-04-27 Thread Christian Mehlis
hand over parameters to user-script e.g. $1=deconfig Signed-off-by: Leon George Signed-off-by: Christian Mehlis --- package/network/config/netifd/files/lib/netifd/dhcp.script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/network/config/netifd/files/lib/netifd

[OpenWrt-Devel] [PATCH] ar71xx: add support for compex wpj531

2015-04-27 Thread Christian Mehlis
OpenWrt can be flashed with following uboot commands: tftpboot 0x8050 openwrt-ar71xx-generic-wpj531-16M-squashfs-sysupgrade.bin erase 0x9f03 +$filesize cp.b $fileaddr 0x9f03 $filesize Signed-off-by: Christian Mehlis --- target/linux/ar71xx/base-files/etc/diag.sh | 3

Re: [OpenWrt-Devel] AR8334 switch support

2015-04-27 Thread Christian Mehlis
Am 24.04.2015 um 20:05 schrieb Heiner Kallweit: Could you please test this patch and provide the dmesg output? I tried your patch - dmesg is attached. After the first run without success: [0.89] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Detected AR8337 switch I tweaked your pat

Re: [OpenWrt-Devel] AR8334 switch support

2015-04-23 Thread Christian Mehlis
Am 22.04.2015 um 19:01 schrieb Heiner Kallweit: Can you provide a complete dmesg output? Bootlog is available here: http://wiki.openwrt.org/toh/compex/wpj344#openwrt_upstream_bootlog Dmesg is attached. W/o having seen the datasheets for AR8337/AR8334 I'm hesitant to propose a patch. 1. AR83

Re: [OpenWrt-Devel] AR8334 switch support

2015-04-21 Thread Christian Mehlis
Am 21.04.2015 um 17:19 schrieb Heiner Kallweit: All I found regarding AR8334/QCA8334 is that it supposedly has four ports. (There was even an AR8335 with five ports mentioned). Considering the port / phy layout of AR8337 and the existing boards with AR8334 I'd assume that AR8334 has just two phy'

[OpenWrt-Devel] AR8334 switch support

2015-04-21 Thread Christian Mehlis
I was involved in making upstream support for the compex wpj344 and came across the AR8334 embedded switch used on this board. Unfortunately it seems that this switch is not jet supported by the ar8327/ar8216 driver in openwrt. The vendor just did this to their openwrt based sdk: --- a/target/

Re: [OpenWrt-Devel] trunk: Ethernet LEDs not visible in Sysfs

2015-04-13 Thread Christian Mehlis
Platform device support has been removed from the gpio-74x164 driver in 3.14. Restore that. Signed-off-by: Gabor Juhos Best Christian Am 20.03.2015 um 16:38 schrieb Christian Mehlis: hi, my Archer-c5 and tplink 4300 routers do have 10 LEDs, but in the sysfs only the following LEDs

[OpenWrt-Devel] [PATCH] update libnetfilter_conntrack to version 1.0.4

2015-03-27 Thread Christian Mehlis
This updates libnetfilter_conntrack to the latest stable version 1.0.4 which was released Aug-06-2013. Changeset is available here: http://git.netfilter.org/libnetfilter_conntrack/log/ Signed-off-by: Christian Mehlis --- package/libs/libnetfilter-conntrack/Makefile | 4 ++-- 1 file changed, 2

[OpenWrt-Devel] [PATCH] syslog: use appropriate levels for logging

2015-03-26 Thread Christian Mehlis
Signed-off-by: Christian Mehlis --- kmodloader.c | 2 +- log/logread.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kmodloader.c b/kmodloader.c index 8f41e74..387678a 100644 --- a/kmodloader.c +++ b/kmodloader.c @@ -751,7 +751,7 @@ static int main_loader(int argc

[OpenWrt-Devel] trunk: Ethernet LEDs not visible in Sysfs

2015-03-20 Thread Christian Mehlis
hi, my Archer-c5 and tplink 4300 routers do have 10 LEDs, but in the sysfs only the following LEDs are usable/visible: $ ls /sys/class/leds ath9k-phy1 tp-link:blue:wlan2g tp-link:green:usb2 tp-link:blue:qss tp-link:blue:wlan5g tp-link:blue:system tp-link:green:usb1 $ cat /sys/

Re: [OpenWrt-Devel] Question regarding UCI with IPv4 and IPv6 on lan-bridge

2015-03-18 Thread Christian Mehlis
Thanks Steven! It's working. Do you or should I add some text in the wiki? I think this @ notation is not present on http://wiki.openwrt.org/doc/uci/network. Best Christian Am 18.03.2015 um 16:11 schrieb Steven Barth: Try config interface 'lan' option type 'bridge' option ifname '

[OpenWrt-Devel] Question regarding UCI with IPv4 and IPv6 on lan-bridge

2015-03-18 Thread Christian Mehlis
Hi, I want to use a router as a client in my dual stack lan. I'm using ICMP router announcements. Additionally I want to use mesh at the same time, so I'm using a bridge on the lan interface. Is there any way to express that I want dynamic IPv4 and IPv6 on a bridge? #

[OpenWrt-Devel] howto enable missing LEDs on archer-c5 in trunk

2015-03-09 Thread Christian Mehlis
hi, my Archer-c5 has 10 LEDs, but in sysfs only the following LEDs are usable/visible: $ ls /sys/class/leds ath9k-phy1 tp-link:blue:wlan2g tp-link:green:usb2 tp-link:blue:qss tp-link:blue:wlan5g tp-link:blue:system tp-link:green:usb1 $ cat /sys/kernel/debug/gpio GPIOs 0-23, at

Re: [OpenWrt-Devel] ar71xx update to v3.18

2015-02-18 Thread Christian Mehlis
tplink archer c5 is working fine <2h. Tested: boot, ethernet, switch, wifi. Best Christian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH 1/2] added board support for compex wpj558

2015-02-02 Thread Christian Mehlis
Am 30.01.2015 um 18:48 schrieb Christian Mehlis: diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index f7b8381..ecaa126 100644 --- a/target/linux/ar71xx/image/Makefile +++ b/target/linux/ar71xx/image/Makefile @@ -687,10 +687,13 @@ Image/Build/MyLoader

Re: [OpenWrt-Devel] [PATCH 2/2] wpj558: use own partition for rootfs

2015-02-02 Thread Christian Mehlis
Am 02.02.2015 um 09:52 schrieb John Crispin: On 30/01/2015 18:48, Christian Mehlis wrote: this change breaks rootfs detection so we should not merge it if it breaks stuff ? Hi John, this patch was the second way I tried to make the compex wpj558 work. Perhaps you can answer my mail

Re: [OpenWrt-Devel] Compex WPJ558 board support

2015-01-30 Thread Christian Mehlis
Am 30.01.2015 um 19:04 schrieb SGT. Garcia: On Jan 30 18:44 +0100, Christian Mehlis wrote: Hi, I did a port for the Compex WPJ558 and it's almost working completely. hi, could you tell me where you got this board from? this is the only place i've found it: http://tinyurl.com/ov

[OpenWrt-Devel] [PATCH 2/2] wpj558: use own partition for rootfs

2015-01-30 Thread Christian Mehlis
this change breaks rootfs detection Signed-off-by: Christian Mehlis --- target/linux/ar71xx/image/Makefile | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index ecaa126..9956a01 100644 --- a/target

[OpenWrt-Devel] [PATCH 1/2] added board support for compex wpj558

2015-01-30 Thread Christian Mehlis
Signed-off-by: Christian Mehlis --- target/linux/ar71xx/base-files/etc/diag.sh | 3 + .../ar71xx/base-files/etc/uci-defaults/02_network | 7 + target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 + .../ar71xx/base-files/lib/upgrade/platform.sh | 2 + target/linux/ar71xx

[OpenWrt-Devel] Compex WPJ558 board support

2015-01-30 Thread Christian Mehlis
Hi, I did a port for the Compex WPJ558 and it's almost working completely. It's booting up, ethernet, wifi and pci is working. But I got some problems with the image structure. This board seems to need a uImage instead of bin.lzma ?! I found two ways of creating an image for this board: 1

[OpenWrt-Devel] bug: lantiq (ralink) multi ssid bug

2011-01-21 Thread Christian Mehlis
i'm using one of the new lantiq routers (lantiq-xway-ARV452), now (with the patch from blogic) the wifi works with one ssid. the problem comes with two ssids, the first one always produces strange behavior: my setup on the lantiq: config wifi-device wlan0 option type mac80211