Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-07-01 Thread Xiongfei(Alex) GUO
hi, Roman, simply try these commands in OpenWrt, then the ethernet will start to work. uci set network.@switch_vlan[0].vid=1 uci set network.@switch_vlan[1].vid=2 uci commit /etc/init.d/network restart BTW, I'm not sure my test is right, that I can see the wireless driver start,

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-07-01 Thread Kazuki Shimada
Hi, Roman. Do your patches have any chance to make wireless on mt7620a device to work? If so, I'll try it on my buffalo whr-300hp2. Thanks in advance. Kazuki Shimada (2014/07/01 2:36), Roman Yeryomin wrote: On 30 June 2014 20:30, John Crispin j...@phrozen.org wrote: i think this is the

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-07-01 Thread John Crispin
Hi, i have the whr-300hp2 on my desk now and will fix the switch and merge the wifi fixes now. John On 01/07/2014 09:41, Kazuki Shimada wrote: Hi, Roman. Do your patches have any chance to make wireless on mt7620a device to work? If so, I'll try it on my buffalo whr-300hp2.

[OpenWrt-Devel] Status of DFS in OpenWrt - ath9k

2014-07-01 Thread Jacek Kikiewicz
Hello, I have few APs that are using ath9k driver, I've read that now DFS is supported on that driver, so I compiled latest revision (yesterday: 41415), and started playing, basically when as per manual / howto I run 'iw phy phy1 info' I can see DFS channels, exactly like in howto on a wiki,

[OpenWrt-Devel] [PATCH] [Resend] [kernel] mtd-partial_eraseblock_erase

2014-07-01 Thread Maciej Skrzypek
mtd: allow partial block erase This fixes error erasing partial mtd partition which does not start on eraseblock boundary and allows using fconfig to configure redboot on devices such as the Gateworks Cambria. Maciej Skrzypek Flytronic Signed-off-by: Maciej Skrzypek maciej.skrzy...@flytronic.pl

Re: [OpenWrt-Devel] [Lantiq][RFC] Add cpu-feature-overrides.h and disable PCIe and multithreading in Danube

2014-07-01 Thread José Vázquez
2014-07-01 7:26 GMT+02:00, John Crispin j...@phrozen.org: NAK, xway is a unified kernel target and we wont change that upstream. i am fine with the cpu override bit but i wont take the KConfig part, sorry, John Why sorry? This is only a RFC. Kconfig part was only for fine tuning, but,

Re: [OpenWrt-Devel] [PATCH 1/1] [WEIO] Initial support for WeIO board

2014-07-01 Thread John Crispin
Hi, comments inline From c01a10928d2f27f89ff712896c948f549827acbe Mon Sep 17 00:00:00 2001 From: Drasko DRASKOVIC drasko.drasko...@gmail.com Date: Sun, 9 Feb 2014 03:46:43 +0100 Subject: [PATCH 1/2] weio: adding WeIO profile for OpenWrt More changes on WeIO profile Corrected board

Re: [OpenWrt-Devel] [PATCH] [Resend] [kernel] mtd-partial_eraseblock_erase

2014-07-01 Thread Felix Fietkau
On 2014-07-01 10:12, Maciej Skrzypek wrote: mtd: allow partial block erase This fixes error erasing partial mtd partition which does not start on eraseblock boundary and allows using fconfig to configure redboot on devices such as the Gateworks Cambria. Maciej Skrzypek Flytronic

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-07-01 Thread John Crispin
Hi, please make a patch that will default vid == vlan nr. this way we have a sane default hat user can override with higher vid if needed. Thanks John On 01/07/2014 08:57, Xiongfei(Alex) GUO wrote: hi, Roman, simply try these commands in OpenWrt, then the ethernet will start to

Re: [OpenWrt-Devel] [Patch][BCM63XX][V2][RFC] Select HW_RANDOM_BCM63XX only in the SoCs that support it.

2014-07-01 Thread José Vázquez
2014-07-01 0:57 GMT+02:00, Florian Fainelli flor...@openwrt.org: 2014-06-30 4:30 GMT-07:00 José Vázquez ppvazquez...@gmail.com: b43 and b43-legacy drivers enable CONFIG_HW_RANDOM in .config.override; without they selected the problem does not happen. More drivers need HW_RANDOM but they were

[OpenWrt-Devel] vfork segfault in openwrt

2014-07-01 Thread Qi Li
Hi, I am using armv7 for openwrt development and facing a segfault caused by vfork. I have wrote a small test program with the following segments: ... pid_t child_t; if((child_t = vfork()) 0) { printf(error!\n); return -1; }

[OpenWrt-Devel] [PATCH] ramips: set default vid of each vlan, so it won't need be set explicitly.

2014-07-01 Thread xfguo
Signed-off-by: Xiongfei Guo xf...@credosemi.com --- ...8-NET-MIPS-add-ralink-SoC-ethernet-driver.patch | 24 ++ 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/target/linux/ramips/patches-3.10/0118-NET-MIPS-add-ralink-SoC-ethernet-driver.patch

Re: [OpenWrt-Devel] [PATCH] [LANTIQ] Enable LANTIQ_PHY and LANTIQ_XRX200 only in XRX200 subtarget.

2014-07-01 Thread José Vázquez
2014-06-30 21:46 GMT+02:00, José Vázquez Fernández ppvazquez...@gmail.com: Enable LANTIQ_PHY and LANTIQ_XRX200 only in XRX200 subtarget. These drivers are not needed for ASE, Danube and AR9. As side effect PHY11G and PHY22F firmwares are not included in the kernel image, which saves 64 KB.

[OpenWrt-Devel] [PATCH] ar71xx: add support for EnGenius ESR1750

2014-07-01 Thread Jon Suphammer
Signed-off-by: Jon Suphammer j...@suphammer.net --- target/linux/ar71xx/base-files/etc/diag.sh | 3 + .../ar71xx/base-files/etc/uci-defaults/02_network | 14 ++ target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 + .../ar71xx/base-files/lib/upgrade/platform.sh | 1 +

Re: [OpenWrt-Devel] [PATCH 0/4] add support for mt7620 wifi

2014-07-01 Thread John Crispin
On 30/06/2014 19:34, Roman Yeryomin wrote: This adds support for mt7620 SoC. Tested with Asus RT-N14U only. Thanks to everybody who participated in this effort. Epecially Miko Hissa and Сергей Василюгин. Roman Yeryomin (4): [mac80211] add support for mt7620 [mac80211] enable driver

Re: [OpenWrt-Devel] [PATCH] ramips: set default vid of each vlan, so it won't need be set explicitly.

2014-07-01 Thread John Crispin
Great, Roman can you test / confirm that this fixes the problem on rt-n14 ? i don't have that unit myself so i cannot test. John On 01/07/2014 12:54, xf...@credosemi.com wrote: Signed-off-by: Xiongfei Guo xf...@credosemi.com --- ...8-NET-MIPS-add-ralink-SoC-ethernet-driver.patch | 24

Re: [OpenWrt-Devel] [PATCH] [LANTIQ] Enable LANTIQ_PHY and LANTIQ_XRX200 only in XRX200 subtarget.

2014-07-01 Thread John Crispin
ah , i rejected the wrong one in patchwork, will fix it up in a sec thanks for reporting this On 01/07/2014 13:40, José Vázquez wrote: 2014-06-30 21:46 GMT+02:00, José Vázquez Fernández ppvazquez...@gmail.com: Enable LANTIQ_PHY and LANTIQ_XRX200 only in XRX200 subtarget. These drivers are

Re: [OpenWrt-Devel] [PATCH] ar71xx: add support for EnGenius ESR1750

2014-07-01 Thread John Crispin
Hi, 2 comments inline On 01/07/2014 13:44, Jon Suphammer wrote: Signed-off-by: Jon Suphammer j...@suphammer.net --- target/linux/ar71xx/base-files/etc/diag.sh | 3 + .../ar71xx/base-files/etc/uci-defaults/02_network | 14 ++ target/linux/ar71xx/base-files/lib/ar71xx.sh |

Re: [OpenWrt-Devel] [PATCH] [LANTIQ] Enable LANTIQ_PHY and LANTIQ_XRX200 only in XRX200 subtarget.

2014-07-01 Thread John Crispin
On 01/07/2014 13:40, José Vázquez wrote: 2014-06-30 21:46 GMT+02:00, José Vázquez Fernández ppvazquez...@gmail.com: Enable LANTIQ_PHY and LANTIQ_XRX200 only in XRX200 subtarget. These drivers are not needed for ASE, Danube and AR9. As side effect PHY11G and PHY22F firmwares are not

Re: [OpenWrt-Devel] [PATCH] [LANTIQ] Enable LANTIQ_PHY and LANTIQ_XRX200 only in XRX200 subtarget.

2014-07-01 Thread José Vázquez
2014-07-01 15:20 GMT+02:00, John Crispin j...@phrozen.org: On 01/07/2014 13:40, José Vázquez wrote: 2014-06-30 21:46 GMT+02:00, José Vázquez Fernández ppvazquez...@gmail.com: Enable LANTIQ_PHY and LANTIQ_XRX200 only in XRX200 subtarget. These drivers are not needed for ASE, Danube and AR9.

[OpenWrt-Devel] Status: 302 Found - LuCI and lighttpd

2014-07-01 Thread Pawel Pastuszak
G'day, I am trying get LuCI working with lighttpd but the only problem that i have is when deleting an network interface it doesn't refresh back to its main page but gets stuck with the following message. Saving config files... Status: 302 Found Location:

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-07-01 Thread Roman Yeryomin
On 1 July 2014 09:57, Xiongfei(Alex) GUO xf...@credosemi.com wrote: hi, Roman, simply try these commands in OpenWrt, then the ethernet will start to work. uci set network.@switch_vlan[0].vid=1 uci set network.@switch_vlan[1].vid=2 uci commit /etc/init.d/network restart

Re: [OpenWrt-Devel] [PATCH] ramips: set default vid of each vlan, so it won't need be set explicitly.

2014-07-01 Thread Roman Yeryomin
On 1 July 2014 13:57, John Crispin j...@phrozen.org wrote: Great, Roman can you test / confirm that this fixes the problem on rt-n14 ? i don't have that unit myself so i cannot test. Yes, it fixes the default configuration. But I still don't understand why I cannot change neither vid not

Re: [OpenWrt-Devel] [PATCH] [Resend] [kernel] mtd-partial_eraseblock_erase

2014-07-01 Thread Maciej Skrzypek
On 07/01/2014 11:14 AM, Felix Fietkau wrote: On 2014-07-01 10:12, Maciej Skrzypek wrote: mtd: allow partial block erase This fixes error erasing partial mtd partition which does not start on eraseblock boundary and allows using fconfig to configure redboot on devices such as the Gateworks

Re: [OpenWrt-Devel] [PATCH] ramips: set default vid of each vlan, so it won't need be set explicitly.

2014-07-01 Thread John Crispin
On 01/07/2014 16:11, Roman Yeryomin wrote: On 1 July 2014 13:57, John Crispin j...@phrozen.org wrote: Great, Roman can you test / confirm that this fixes the problem on rt-n14 ? i don't have that unit myself so i cannot test. Yes, it fixes the default configuration. But I still don't

[OpenWrt-Devel] [PATCH] [Resend] [kernel] mtd-partial_eraseblock_erase

2014-07-01 Thread Maciej Skrzypek
mtd: allow partial block erase This fixes error erasing partial mtd partition which does not start on eraseblock boundary and allows using fconfig to configure redboot on devices such as the Gateworks Cambria. Maciej Skrzypek Flytronic Signed-off-by: Maciej Skrzypek maciej.skrzy...@flytronic.pl

Re: [OpenWrt-Devel] Status: 302 Found - LuCI and lighttpd

2014-07-01 Thread Jo-Philipp Wich
Hi, the string Saving config files is not occuring anywhere in the LuCI source code. Seems it is emitted by a program that gets invoked when configs get committed through libuci. Did you modify libuci or luci.model.uci ? ~ Jow signature.asc Description: OpenPGP digital signature

Re: [OpenWrt-Devel] Status: 302 Found - LuCI and lighttpd

2014-07-01 Thread Pawel Pastuszak
Hi Jow, The answer is no, libuci was not modified i am using Attitude Adjustment version and uci git rev. af2665866061c63ba63335b43aa6ff5102d4e492. As for luci.model.uci where can i find this file? Pawel On Tue, Jul 1, 2014 at 10:22 AM, Jo-Philipp Wich j...@openwrt.org wrote: Hi, the

Re: [OpenWrt-Devel] Status: 302 Found - LuCI and lighttpd

2014-07-01 Thread Jo-Philipp Wich
Whats the result if you run grep -r Saving config files / ? signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] ramips: set default vid of each vlan, so it won't need be set explicitly.

2014-07-01 Thread Roman Yeryomin
On 1 July 2014 17:13, John Crispin j...@phrozen.org wrote: On 01/07/2014 16:11, Roman Yeryomin wrote: On 1 July 2014 13:57, John Crispin j...@phrozen.org wrote: Great, Roman can you test / confirm that this fixes the problem on rt-n14 ? i don't have that unit myself so i cannot test. Yes,

Re: [OpenWrt-Devel] Status: 302 Found - LuCI and lighttpd

2014-07-01 Thread Pawel Pastuszak
Found it thanks it came form an sysupgrade script. On Tue, Jul 1, 2014 at 10:36 AM, Jo-Philipp Wich j...@openwrt.org wrote: Whats the result if you run grep -r Saving config files / ? ___ openwrt-devel mailing list

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-07-01 Thread Xiongfei(Alex) GUO
On Tue, Jul 1, 2014 at 9:51 PM, Roman Yeryomin leroi.li...@gmail.com wrote: On 1 July 2014 09:57, Xiongfei(Alex) GUO xf...@credosemi.com wrote: hi, Roman, simply try these commands in OpenWrt, then the ethernet will start to work. uci set network.@switch_vlan[0].vid=1 uci set

Re: [OpenWrt-Devel] [RFC] mt7620 wifi

2014-07-01 Thread Roman Yeryomin
On 1 July 2014 17:49, Xiongfei(Alex) GUO xf...@credosemi.com wrote: On Tue, Jul 1, 2014 at 9:51 PM, Roman Yeryomin leroi.li...@gmail.com wrote: On 1 July 2014 09:57, Xiongfei(Alex) GUO xf...@credosemi.com wrote: hi, Roman, simply try these commands in OpenWrt, then the ethernet will start to

Re: [OpenWrt-Devel] [PATCH 0/4] add support for mt7620 wifi

2014-07-01 Thread Roman Yeryomin
On 1 July 2014 13:31, John Crispin j...@phrozen.org wrote: On 30/06/2014 19:34, Roman Yeryomin wrote: This adds support for mt7620 SoC. Tested with Asus RT-N14U only. Thanks to everybody who participated in this effort. Epecially Miko Hissa and Сергей Василюгин. Hi, confirmed working

Re: [OpenWrt-Devel] [PATCH] ramips: set default vid of each vlan, so it won't need be set explicitly.

2014-07-01 Thread Сергей Василюгин
  01.07.2014, 21:11, "Roman Yeryomin" leroi.li...@gmail.com:On 1 July 2014 13:57, John Crispin j...@phrozen.org wrote: Great, Roman can you test / confirm that this fixes the problem on rt-n14 ? i don't have that unit myself so i cannot test.Yes, it fixes the default configuration.But I still

Re: [OpenWrt-Devel] [PATCH 0/4] add support for mt7620 wifi

2014-07-01 Thread Сергей Василюгин
  01.07.2014, 22:05, "Roman Yeryomin" leroi.li...@gmail.com:On 1 July 2014 13:31, John Crispin j...@phrozen.org wrote: On 30/06/2014 19:34, Roman Yeryomin wrote: This adds support for mt7620 SoC. Tested with Asus RT-N14U only. Thanks to everybody who participated in this effort. Epecially Miko 

Re: [OpenWrt-Devel] [PATCH] ramips: set default vid of each vlan, so it won't need be set explicitly.

2014-07-01 Thread Roman Yeryomin
On 1 July 2014 19:12, Сергей Василюгин vasilu...@yandex.ru wrote: 01.07.2014, 21:11, Roman Yeryomin leroi.li...@gmail.com: On 1 July 2014 13:57, John Crispin j...@phrozen.org wrote: Great, Roman can you test / confirm that this fixes the problem on rt-n14 ? i don't have that unit

[OpenWrt-Devel] [PATCH] Get wifi firmware for WRTnode

2014-07-01 Thread Cezary Jackiewicz
After r41444 wifi working on WRTnode. Tested. Signed-off-by: Cezary Jackiewicz cezary.jackiew...@gmail.com --- Index: target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom === ---

Re: [OpenWrt-Devel] [PATCH] Get wifi firmware for WRTnode

2014-07-01 Thread John Crispin
Thanks, applied in r41452 John On 01/07/2014 20:15, Cezary Jackiewicz wrote: After r41444 wifi working on WRTnode. Tested. Signed-off-by: Cezary Jackiewicz cezary.jackiew...@gmail.com --- Index: target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom

Re: [OpenWrt-Devel] [PATCH - for comment only] lantiq: use UbinizeImage instead lantiq-specific ubinize.cfg files

2014-07-01 Thread Ben Mulvihill
Hello again, I have just tried sysupgradeNAND on the BTHOMEHUBV2B, and it fails with the following error: cat: can't open '/tmp/sysinfo/board_name': No such file or directory Unlocking kernel ... Writing from stdin to kernel ... [ ]tar: sysupgrade-/kernel: not found in archive Procd relies

Re: [OpenWrt-Devel] [PATCH - for comment only] lantiq: use UbinizeImage instead lantiq-specific ubinize.cfg files

2014-07-01 Thread John Crispin
On 01/07/2014 22:12, Ben Mulvihill wrote: Hello again, I have just tried sysupgradeNAND on the BTHOMEHUBV2B, and it fails with the following error: cat: can't open '/tmp/sysinfo/board_name': No such file or directory Unlocking kernel ... Writing from stdin to kernel ... [ ]tar:

[OpenWrt-Devel] [PATCH 1/2][brcm63xx] Fix HW553 support

2014-07-01 Thread Álvaro Fernández Rojas
- adsl and lan leds are swapped. - internetkey is labeled as hspa. - enable status led and reset button for failsafe. - use new leds script. - fix switch configuration. - remove enet0 from board_info. - add profile. Signed-off-by: Álvaro Fernández Rojas nolt...@gmail.com --- diff --git

[OpenWrt-Devel] [PATCH 2/2][brcm63xx] Use leds script for Huawei HG556a and improve profile

2014-07-01 Thread Álvaro Fernández Rojas
Signed-off-by: Álvaro Fernández Rojas nolt...@gmail.com --- diff --git a/target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds b/target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds index fb26cfb..eee89b2 100644 --- a/target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds +++