Re: [OpenWrt-Devel] [PATCH][ar71xx] Routerboard 951G Switch Fix

2014-12-13 Thread John Crispin
Hi, On 10/12/2014 22:33, Chris Green wrote: On Wed, Dec 10, 2014 at 01:40:42PM -0700, Davey Hutchison wrote: Fix pll_1000 value for eth0. Traffic would not flow from the eth0 interface. The new PLL enables delay, use ath79_setup_ar934x_eth_cfg to also enable AR934X_ETH_CFG_RXD_DELAY.

Re: [OpenWrt-Devel] [PATCH][RESEND] [tools] toolchain: ensure tools are built and staged before preparing toolchain

2014-12-13 Thread John Szakmeister
On Sat, Dec 13, 2014 at 4:28 AM, John Szakmeister j...@szakmeister.net wrote: [snip] This doesn't look right to me, I don't think we should add the toolchain/prepare step as an intermediate target for the regular build process. How about just adding this line to Makefile and leaving out the

Re: [OpenWrt-Devel] [PATCH][RESEND] [tools] toolchain: ensure tools are built and staged before preparing toolchain

2014-12-13 Thread Felix Fietkau
On 2014-12-13 10:43, John Szakmeister wrote: On Sat, Dec 13, 2014 at 4:28 AM, John Szakmeister j...@szakmeister.net wrote: [snip] This doesn't look right to me, I don't think we should add the toolchain/prepare step as an intermediate target for the regular build process. How about just

Re: [OpenWrt-Devel] [PATCH][RESEND] [tools] toolchain: ensure tools are built and staged before preparing toolchain

2014-12-13 Thread John Szakmeister
On Sat, Dec 13, 2014 at 5:11 AM, Felix Fietkau n...@openwrt.org wrote: On 2014-12-13 10:43, John Szakmeister wrote: On Sat, Dec 13, 2014 at 4:28 AM, John Szakmeister j...@szakmeister.net wrote: [snip] This doesn't look right to me, I don't think we should add the toolchain/prepare step as

Re: [OpenWrt-Devel] [PATCH][ar71xx] Routerboard 951G Switch Fix

2014-12-13 Thread Chris Green
On Sat, Dec 13, 2014 at 09:01:09AM +0100, John Crispin wrote: Hi, On 10/12/2014 22:33, Chris Green wrote: On Wed, Dec 10, 2014 at 01:40:42PM -0700, Davey Hutchison wrote: Fix pll_1000 value for eth0. Traffic would not flow from the eth0 interface. The new PLL enables delay, use

Re: [OpenWrt-Devel] [PATCH][RESEND] [tools] toolchain: ensure tools are built and staged before preparing toolchain

2014-12-13 Thread Felix Fietkau
On 2014-12-13 11:22, John Szakmeister wrote: On Sat, Dec 13, 2014 at 5:11 AM, Felix Fietkau n...@openwrt.org wrote: On 2014-12-13 10:43, John Szakmeister wrote: On Sat, Dec 13, 2014 at 4:28 AM, John Szakmeister j...@szakmeister.net wrote: [snip] This doesn't look right to me, I don't think

Re: [OpenWrt-Devel] [PATCH] ramips:Add support for Aigale Ai-BR100

2014-12-13 Thread 郭传鈜
2014-12-13 15:04 GMT+08:00 Yousong Zhou yszhou4t...@gmail.com: Hi, gch On 13 December 2014 at 10:41, 郭传鈜 gch981...@gmail.com wrote: Aigale Ai-BR100 is a router with mt7620a soc. There are only 2 lights on the board (WAN and WLAN) so I used the wlan light as the status led. IIRC,

Re: [OpenWrt-Devel] [PATCH] ar71xx: add support for qca956x soc

2014-12-13 Thread Felix Fietkau
On 2014-12-12 16:13, Weijie Gao wrote: This patch adds soc support for QCA9561 and TP9343. TP9343 is a reduced version of QCA9561, which can be found in TP-LINK routers in China. The qca956x_wmac has not yet been supported by ath9k. tested on TL-WDR6500 and TL-WR882N v1 (Chinese version)

Re: [OpenWrt-Devel] [PATCH] ar71xx: add support for qca956x soc

2014-12-13 Thread Weijie Gao
在 2014/12/13 23:16, Felix Fietkau 写道: On 2014-12-12 16:13, Weijie Gao wrote: This patch adds soc support for QCA9561 and TP9343. TP9343 is a reduced version of QCA9561, which can be found in TP-LINK routers in China. The qca956x_wmac has not yet been supported by ath9k. tested on

Re: [OpenWrt-Devel] [PATCH v4 4/4] kernel: 3.18: Strip off all the useless options

2014-12-13 Thread Maxime Ripard
On Fri, Dec 12, 2014 at 06:45:06PM +0100, Jonas Gorski wrote: On Fri, Dec 12, 2014 at 5:02 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: Now that we use the defconfigs, we can remove all the options at their default value. This causes a lot of kernel-config changes for e.g

[OpenWrt-Devel] rootfs_data on separated flash

2014-12-13 Thread Rafał Miłecki
Hi, this partially a continuation of the Some standard partition name for extra user data? thread. Summary: 1) I have device with serial flash (16 MiB) and NAND flash (128 MiB). 2) Serial flash contains 2 partitions: bootloader and firmware. 3) Bootloader writes supplied image to the firmware

Re: [OpenWrt-Devel] Can we have init call for diag.sh (set_state)?

2014-12-13 Thread Rafał Miłecki
On 11 December 2014 at 21:17, John Crispin blo...@openwrt.org wrote: On 11/12/2014 20:59, Rafał Miłecki wrote: Let me simplify booting process into following stages: 1) preinit (LED blinking with medium freq) 2) init (LED blinking with medium freq) 3) done (LED state on) The problem is this

[OpenWrt-Devel] [PATCH][ar71xx] Mikrotik Routerboard RB2011 switch fix

2014-12-13 Thread Chris Green
This patch is the same as the Routerboard 951G fix, I've built this and tested it on my rb-2011uias-2hnd. However we should check that it also works on other/older RB2011 routers which did work OK with the unpatched code. diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-rb2011.c

Re: [OpenWrt-Devel] [PATCH v4 4/4] kernel: 3.18: Strip off all the useless options

2014-12-13 Thread Jonas Gorski
On Sat, Dec 13, 2014 at 5:03 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Fri, Dec 12, 2014 at 06:45:06PM +0100, Jonas Gorski wrote: On Fri, Dec 12, 2014 at 5:02 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: Now that we use the defconfigs, we can remove all the

Re: [OpenWrt-Devel] [PATCH v3 1/2] [boot/uboot-kirkwood] Pogoplug v4 support

2014-12-13 Thread nwf
Add support for Pogoplug v4 devices to uboot-kirkwood. This version of the patch works with the 2014.10 version of uboot which did away with boards.cfg. This is almost entirely based on mibodhi's work at https://github.com/mibodhi/u-boot-kirkwood . All I did was tweak it and bring it over to

Re: [OpenWrt-Devel] [PATCH] [package] fstools: make extroot functionality work with ubifs

2014-12-13 Thread Gergely Kiss
Hi John, thanks for your comments! I'm about to fix the issues you mentioned and repost the patch soon. Regards, Gergely On 13 December 2014 at 08:23, John Crispin blo...@openwrt.org wrote: Hi, thanks for the patch, code looks good however * the patch is whitespace mangled and line

Re: [OpenWrt-Devel] kirkwood gcc/binutils woe?

2014-12-13 Thread nwf
On Wed, Dec 10, 2014 at 10:12:53PM +0100, Harald Geyer wrote: Hi! I ran into the same issue just a few days ago on mxs. Probably most, if not all arm targets are affected. Applying your patch does, indeed, get me a little closer to a working compiler. However, when I run $ gcc -v -o hello

[OpenWrt-Devel] Should these UCI defaults be the same for all Mikrotik RB2011 variants?

2014-12-13 Thread Chris Green
In the UCI defaults:- build_dir/target-mips_34kc_uClibc-0.9.33.2/root-ar71xx/etc/uci-defaults/03_network-switchX-migration there is the following section:- db120 |\ rb-2011l | \ rb-2011uas-2hnd) migrate_switch_name eth0 switch0 migrate_switch_name eth1

[OpenWrt-Devel] [PATCH] kernel: mtdsplit_uimage: use more generic header verify function

2014-12-13 Thread Rafał Miłecki
Some devices have uImage headers after some extra headers (e.g. Edimax devices). To support such cases our verify callback function should be allowed to return header offset, not just a boolean value. Signed-off-by: Rafał Miłecki zaj...@gmail.com --- Hi Tomasz, I was looking at the patch you

Re: [OpenWrt-Devel] [PATCH][ar71xx] Routerboard 951G Switch Fix

2014-12-13 Thread Davey Hutchison
The boot loader on these boards is routerboot. I do not know if routerboot provides a md like command or not. Sent from my iPhone On Dec 13, 2014, at 1:01 AM, John Crispin blo...@openwrt.org wrote: Hi, On 10/12/2014 22:33, Chris Green wrote: On Wed, Dec 10, 2014 at 01:40:42PM -0700,

[OpenWrt-Devel] [PATCH v2] uboot-envtools: enable UBI support per default on oxnas

2014-12-13 Thread Daniel Golle
Signed-off-by: Daniel Golle dan...@makrotopia.org --- package/boot/uboot-envtools/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/boot/uboot-envtools/Config.in b/package/boot/uboot-envtools/Config.in index 9fd8103..bd3585c 100644 ---

[OpenWrt-Devel] [PATCH 1/2] gemini: merge register ethernet patches into one

2014-12-13 Thread Roman Yeryomin
Signed-off-by: Roman Yeryomin ro...@advem.lv --- .../121-arm-gemini-nas4220-register-ethernet.patch | 79 .../121-arm-gemini-register-ethernet.patch | 210 + .../122-arm-gemini-wbd111-register-ethernet.patch | 41

[OpenWrt-Devel] [PATCH 2/2] gemini: update usb driver and merge registers into one patch

2014-12-13 Thread Roman Yeryomin
Signed-off-by: Roman Yeryomin ro...@advem.lv --- .../gemini/files/drivers/usb/host/ehci-fotg2.c | 258 + .../gemini/patches-3.10/130-usb-ehci-fot2g.patch | 223 .../130-usb-ehci-gemini-fot2gxx-support.patch | 611 -

Re: [OpenWrt-Devel] Can we have init call for diag.sh (set_state)?

2014-12-13 Thread John Crispin
On 13/12/2014 19:12, Rafał Miłecki wrote: On 11 December 2014 at 21:17, John Crispin blo...@openwrt.org wrote: On 11/12/2014 20:59, Rafał Miłecki wrote: Let me simplify booting process into following stages: 1) preinit (LED blinking with medium freq) 2) init (LED blinking with medium freq)