Re: [OpenWrt-Devel] [PATCH v2] kernel: Fix USB gadget modules for v3.18

2015-02-19 Thread Daniel Golle
Hi! that looks much better already. Thanks for taking care of that. (though many were aware of the problem, none were willing to fix it for now, including myself) On Thu, Feb 19, 2015 at 02:41:57PM -0800, Owen Kirby wrote: > ... > +ifeq ($(CONFIG_LINUX_3_8)$(CONFIG_LINUX_3_10),) Note that there

Re: [OpenWrt-Devel] Ubiquiti Rocket M5 build

2015-02-19 Thread Ken Buska
Hello, I'm still fighting the Ubiquiti Rocket M5 XW with Loco/Nanostation XW firmware. Is there anyone that can assist me in determining where the problem is. I've spent days trying to get this to work. Thank you, On Sat, Feb 14, 2015 at 11:40 AM, Saverio Proto wrote: > I think the one for the

[OpenWrt-Devel] [PATCH v2] kernel: Fix USB gadget modules for v3.18

2015-02-19 Thread Owen Kirby
An update for for the previous patch that should also retain compatibility with kernel version 3.14 and earlier. This has been tested to build working packages for the at91 target at versions 3.14 and 3.18. It also compiles successfully for version 3.13 on the omap target, but I can't test that it

[OpenWrt-Devel] Macro for selected ABI

2015-02-19 Thread Carlos Ferreira
Hi everyone! Is there any Macro for the packages Makefiles that I can use, in order to know which ABI is selected, when a specific platform/profile is selected within the menuconfig? I need an automatic way to pass to my package the ABI that is being used by the CPU architecture. -- Carlos Migu

[OpenWrt-Devel] [PATCH v2] ar71xx: TL-WA7210n v2 support

2015-02-19 Thread Hendrik Frenzel
This patch adds support for TP-Link TL-WA7210n[0] [0] http://www.tplink.com/en/products/details/?model=TL-WA7210N Signed-off-by: Hendrik Frenzel --- .../ar71xx/base-files/etc/uci-defaults/01_leds | 9 ++ .../ar71xx/base-files/etc/uci-defaults/02_network | 1 + target/linux/ar71xx/base-

Re: [OpenWrt-Devel] Q: understanding entropy/random for SSH-keys

2015-02-19 Thread Felix Fietkau
On 2015-02-19 18:58, Bastian Bittorf wrote: > as far is i know, mac80211 (or ath9k?) add entropy to the kernel. > when a node starts up for the first time, we must wait till the > kernel has enough entropy for generating good ssh-keys. > > is it a good idea to have some wifi-action for generating

[OpenWrt-Devel] [PATCH] ramips: nexx wt3020: fix status led

2015-02-19 Thread Cezary Jackiewicz
For Nexx WT3020 board_name is wt3020, not nexx-wt3020 root@OpenWrt:~# . /lib/ramips.sh; echo $(ramips_board_name) wt3020 Signed-off-by: Cezary Jackiewicz --- diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index 39a0868..50b6ff2 100644 --- a

Re: [OpenWrt-Devel] Q: understanding entropy/random for SSH-keys

2015-02-19 Thread Etienne Champetier
hi Bastian, 2015-02-19 8:58 GMT+01:00 Bastian Bittorf : > > as far is i know, mac80211 (or ath9k?) add entropy to the kernel. > when a node starts up for the first time, we must wait till the > kernel has enough entropy for generating good ssh-keys. > > is it a good idea to have some wifi-action f

Re: [OpenWrt-Devel] [PATCH 2/2] kernel: Add a selectable option for ar8xxx

2015-02-19 Thread Mathieu Olivari
The git log is a bit misleading actually. This change is more meant to provide the flexibility to enable/disable the switch driver from openwrt menu. It would make it easier if somebody wants to build a firmware for a platform which doesn't have the switch, and wants to save the space associated wi

[OpenWrt-Devel] [PATCH] ramips: rt288x: add missing symbol

2015-02-19 Thread Claudio Leite
Defaulting to disabled, based on the value of the (old?) CONFIG_RALINK_USBPHY Signed-off-by: Claudio Leite --- target/linux/ramips/rt288x/config-3.18 | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/ramips/rt288x/config-3.18 b/target/linux/ramips/rt288x/config-3.18 index f8ef0b1

Re: [OpenWrt-Devel] [PATCH 3/3] ipq806x: add ap148 bootargs to DT

2015-02-19 Thread Imre Kaloz
On Thu, 19 Feb 2015 02:01:14 +0100, Mathieu Olivari wrote: This will simplify the boot process by avoiding the bootloader bootargs configuration process. Signed-off-by: Mathieu Olivari --- ... ++ chosen { ++ bootargs = "console=ttyMSM0,115200 root=/dev/mtdblock12 rootfstype=squa

[OpenWrt-Devel] LED pattern for WIFI - Led trigger

2015-02-19 Thread Farid Farid
Hi Everyone, I have a question about LED pattern for WIFI(ATH6KL). I am using Openwrt Barrier Breaker - kernel 3-10-xx Is there anyway to tie a GPIO' Led to hostapd or wpa_supplicant in order to have proper LED pattern for WIFI? I am using hostapd-20130807 I saw the following post on openwrt wik

[OpenWrt-Devel] [PATCH] comgt: Use TCGETS and TCSETS ioctls for struct termios

2015-02-19 Thread Matti Laakso
When passing struct termios to ioctl TCGETS and TCSETS should be used instead of TCGETA and TCSETA, which are meant for the older struct termio. Should fix https://dev.openwrt.org/ticket/19012 Signed-off-by: Matti Laakso --- package/network/utils/comgt/Makefile | 2 +- .../network

Re: [OpenWrt-Devel] What should I do if I want to use the RGMII interface on Ralink RT3052?

2015-02-19 Thread 郭传鈜
Port 5: disable: 0 doubletag: 0 untag: 1 led: ??? lan: 1 recv_bad: 0 recv_good: 0 tr_bad: ??? tr_good: ??? pvid: 5 link: port:5 link:down 2015-02-19 17:04 GMT+08:00 郭传鈜 : > Sorry , I'll confirm this and reply

Re: [OpenWrt-Devel] [PATCH 2/2] kernel: Add a selectable option for ar8xxx

2015-02-19 Thread Dirk Neukirchen
On 19.02.2015 08:57, Felix Fietkau wrote: > On 2015-02-19 12:25, Mathieu Olivari wrote: >> AR8xxx driver covers all the QCA switch families. Most architectures >> usually build it in the kernel, but it may be valuable for some targets >> to build it as a module for more flexibility. >> >> Signed-of

Re: [OpenWrt-Devel] [PATCH] kernel: Fix USB gadget modules for v3.18

2015-02-19 Thread John Crispin
On 19/02/2015 02:54, Owen Kirby wrote: > The directory layout of the USB gadget subsystem changed between kernels > 3.14 and > 3.18, so the makefile for kmod-usb-eth-gadget and kmod-usb-serial-gadget > need to > be adjusted to match. > i think this will break 3.14 builds and we should use the n

Re: [OpenWrt-Devel] What should I do if I want to use the RGMII interface on Ralink RT3052?

2015-02-19 Thread 郭传鈜
Sorry , I'll confirm this and reply you later:-) 2015-02-19 16:39 GMT+08:00 Mikko Hissa : > > On 19 Feb 2015, at 10:32, 郭传鈜 wrote: > > I've just changed the fpa2 value to 0x25502f28 (Port 5 is force enabled > now) so swconfig shows the port as "Link down". > > > Yes, there's also POC0 register u

Re: [OpenWrt-Devel] What should I do if I want to use the RGMII interface on Ralink RT3052?

2015-02-19 Thread 郭传鈜
I've just changed the fpa2 value to 0x25502f28 (Port 5 is force enabled now) so swconfig shows the port as "Link down". RTL8211CL isn't a switch.It's just a gigabit PHY and other 4 ports of this router is connected to the intergated switch:-) 2015-02-19 16:01 GMT+08:00 Mikko Hissa : > > On 19 Fe

Re: [OpenWrt-Devel] [PATCH 2/3] ipq806x: fix restart

2015-02-19 Thread Felix Fietkau
On 2015-02-19 12:01, Mathieu Olivari wrote: > Add an out of tree patch to fix reset on IPQ806x. Patch is available on > codeaurora.org but needs to be cleaned-up and upstreamed properly at > some point. > > Signed-off-by: Mathieu Olivari Wouldn't it be better to register a restart notifier handle

Re: [OpenWrt-Devel] What should I do if I want to use the RGMII interface on Ralink RT3052?

2015-02-19 Thread Mikko Hissa
> On 19 Feb 2015, at 09:45, 郭传鈜 wrote: > > Portmap?This value is only for the default VLAN config of the switch right? > But the problem I'm facing is that the link status of port 5 is always "link > down" even if I plugged in the network cable:-( Actually no, the switch has like two logical