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 > 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) do

[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 --- .../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 - .../131-arm-gemini-add-usb-platform-device.patch

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

2014-12-13 Thread Roman Yeryomin
Signed-off-by: Roman Yeryomin --- .../121-arm-gemini-nas4220-register-ethernet.patch | 79 .../121-arm-gemini-register-ethernet.patch | 210 + .../122-arm-gemini-wbd111-register-ethernet.patch | 41 .../123-arm-gemini-wbd222-register-eth.patch |

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

2014-12-13 Thread Daniel Golle
Signed-off-by: Daniel Golle --- 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 --- a/package/boot/uboot-envtools/Config.in +++ b/

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 wrote: > > Hi, > >> On 10/12/2014 22:33, Chris Green wrote: >>> On Wed, Dec 10, 2014 at 01:40:42PM -0700, Davey Hutchi

[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 --- Hi Tomasz, I was looking at the patch you submitted PATCH [ker

[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 "et

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 hel

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 wrote: > Hi, > > thanks for the patch, code looks good however > > * the patch is whitespace mangled and line broken. > * this wi

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 the

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 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 >> wrote: >> > Now that we use the defconfigs, we can remove all the options at their >> > default >> > value. >> >> This causes

[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 b/targ

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 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 dupli

[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 "firmwa

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 > 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 bcm63xx_smp with > 3.18

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

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 versi

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 : > > Hi, gch > > On 13 December 2014 at 10:41, 郭传鈜 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, there are 3 LEDs, but one of t

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 6:08 AM, Felix Fietkau wrote: [snip] > How about this patch? > > diff --git a/toolchain/Makefile b/toolchain/Makefile > index 36c6ed3..7f8d62f 100644 > --- a/toolchain/Makefile > +++ b/toolchain/Makefile > @@ -74,7 +74,7 @@ endif > > # prerequisites for the individual targ

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 wrote: >> On 2014-12-13 10:43, John Szakmeister wrote: >>> On Sat, Dec 13, 2014 at 4:28 AM, John Szakmeister >>> wrote: >>> [snip] > This doesn't look right to me, I don't think we should add the >>

Re: [OpenWrt-Devel] [PATCH] ar71xx: add an extra check on board_name for ath10k firmware patchs

2014-12-13 Thread Chris Green
On Sat, Dec 13, 2014 at 08:25:35AM +0100, John Crispin wrote: > Hi lynxis, > > ah the stray ath10k fw warning ... thanks, one todo less on my list :) > Is this the:- md5sum: can't open '/lib/firmware/ath10k/QCA988X/hw2.0/firmware-3.bin': No such file or directory -- Chris Green __

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 del

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 wrote: > On 2014-12-13 10:43, John Szakmeister wrote: >> On Sat, Dec 13, 2014 at 4:28 AM, John Szakmeister >> wrote: >> [snip] This doesn't look right to me, I don't think we should add the toolchain/prepare step as an intermediate target

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 > 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 t

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 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 rest: >> >> too

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

2014-12-13 Thread John Szakmeister
On Fri, Dec 12, 2014 at 12:03 PM, Felix Fietkau wrote: > On 2014-12-09 11:47, John Szakmeister wrote: >> This fixes an issue where the toolchain/prepare step could run, but some >> of the necessary host tools might be missing. >> >> Signed-off-by: John Szakmeister >> --- >> This is a resend of a

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.