[OpenWrt-Devel] [PATCH] base-files: calling stop_service before procd_kill.

2014-05-16 Thread Yousong Zhou
Before this patch, doing `/e/c/network restart' will emit the folloing error by `ubus network.wireless down {}' because netifd already quit by that time. Command failed: not found Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- package/base-files/Makefile|2 +-

[OpenWrt-Devel] [PATCH] ubus: be verbose when printing command failed message.

2014-05-16 Thread Yousong Zhou
The original Command failed: Not found message tends to make people think it's from shell. Make it clear and verbose for the ease of debug. Signed-off-by: Yousong Zhou yszhou4t...@gmail.com --- cli.c |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/cli.c b/cli.c

[OpenWrt-Devel] d-link dir-615 h1 without wifi on trunk !

2014-05-16 Thread Daniel Petre
Hello, anyone has any idea about the fix for the wireless of d-link dir-615 h1 ? https://dev.openwrt.org/ticket/16406 I just tried r40772 after a make clean and still no wireless: rt2800_wmac 1018.wmac: failed to load eeprom property ieee80211 phy0: rt2x00lib_request_eeprom_file: Info -

[OpenWrt-Devel] Dual-Flash Driver support on openwrt

2014-05-16 Thread Tymon
Hi, all: My board is a Dual-flash device, and I want to make openwrt support on it. The chip is compatible with M25P80, detail model is MX25L12845EMI-10G. The 1st flash GPIO pin is GPIO5, and the 2nd is GPIO-13. I had refer to the arch/mips/ath79/dev-m25p80.c and dev-spi.c , etc, but

Re: [OpenWrt-Devel] Dual-Flash Driver support on openwrt

2014-05-16 Thread Tymon
I already know it is same driver with 12805d, but the ath79_register_m25p80_multi() function does not seem to work. -- Regards, banglang huang ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

[OpenWrt-Devel] [PATCH] [lantiq] [2/2] DTS updates for the ARV4518PW and ARV7518PW.

2014-05-16 Thread José Vázquez Fernández
DTS updates for the ARV4518PW and ARV7518PW. These additions make the previous patch work in these boards, and adds switch reset gpio and removes vmmc relay gpio in the ARV4518PW because it is not present. Also changes phy-mode to mii, which is the right configuration. Signed off by: David

[OpenWrt-Devel] [PATCH] [lantiq] [1/2] EEPROM fix for Astoria/Arcadyan boards.

2014-05-16 Thread José Vázquez Fernández
EEPROM fix for Astoria/Arcadyan boards. This patch fixes a problem in some Astoria/Arcadyan routers with Atheros based wireless. In these boards the flash partition that contains the MAC and calibration data is not read properly, causing the driver to not initialize the wireless. [ 13.772000]

[OpenWrt-Devel] [PATCH] [lantiq] [1/2] EEPROM fix for Astoria/Arcadyan boards.

2014-05-16 Thread José Vázquez Fernández
- Mensaje reenviado De: José Vázquez Fernández ppvazquez...@gmail.com Para: openwrt-devel openwrt-devel@lists.openwrt.org Asunto: [OpenWrt-Devel] [PATCH] [lantiq] [1/2] EEPROM fix for Astoria/Arcadyan boards. Fecha: Fri, 16 May 2014 19:47:03 +0200 EEPROM fix for Astoria/Arcadyan

[OpenWrt-Devel] [PATCH] [lantiq] [1/2] [V2] EEPROM fix for Astoria/Arcadyan boards.

2014-05-16 Thread José Vázquez Fernández
EEPROM fix for Astoria/Arcadyan boards. This patch fixes a problem in some Astoria/Arcadyan routers with Atheros based wireless. In these boards the flash partition that contains the MAC and calibration data is not read properly, causing the driver to not initialize the wireless. [ 13.772000]

[OpenWrt-Devel] [PATCH] [lantiq] [1/2] [V3] EEPROM fix for Astoria/Arcadyan boards.

2014-05-16 Thread José Vázquez Fernández
EEPROM fix for Astoria/Arcadyan boards. This patch fixes a problem in some Astoria/Arcadyan routers with Atheros based wireless. In these boards the flash partition that contains the MAC and calibration data is not read properly, causing the driver to not initialize the wireless. [ 13.772000]

Re: [OpenWrt-Devel] [PATCH] {, gpio}-button-hotplug: remove check on CONFIG_HOTPLUG for Kernel = 3.11

2014-05-16 Thread Felix Fietkau
On 2014-05-15 11:44, Stefan Hellermann wrote: CONFIG_HOTPLUG was removed in Linux kernel 3.11, so remove the #ifdef in button-hotplug and gpio-button-hotplug kernel modules. Reported in Trac ticket #16413. The Patch is untested on kernel version 3.11 Signed-off-by: Stefan Hellermann

Re: [OpenWrt-Devel] d-link dir-615 h1 without wifi on trunk !

2014-05-16 Thread Mikko Hissa
On 16 May 2014, at 14:18, Daniel Petre daniel.pe...@gmail.com wrote: Hello, Hi! anyone has any idea about the fix for the wireless of d-link dir-615 h1 ? In rt2800lib.c, remove line 7812: if (rt2x00_rt(rt2x00dev, RT3290) || -rt2x00_rt(rt2x00dev, RT3352) ||

[OpenWrt-Devel] [PATCH] ipset: update to 6.21.1

2014-05-16 Thread Erik Rigtorp
001-timeout-size.patch fixed upstream Signed-off-by: Erik Rigtorp e...@rigtorp.se --- package/network/utils/ipset/Makefile | 6 ++--- .../utils/ipset/patches/001-timeout-size.patch | 28 -- 2 files changed, 3 insertions(+), 31 deletions(-) delete mode

[OpenWrt-Devel] [PATCH] libnetfilter-conntrack: update to 1.04

2014-05-16 Thread Erik Rigtorp
Signed-off-by: Erik Rigtorp e...@rigtorp.se --- package/libs/libnetfilter-conntrack/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/libs/libnetfilter-conntrack/Makefile b/package/libs/libnetfilter-conntrack/Makefile index 43413a7..0afaf46 100644 ---

[OpenWrt-Devel] [PATCH] iftop: update to 1.0pre4

2014-05-16 Thread Erik Rigtorp
Signed-off-by: Erik Rigtorp e...@rigtorp.se --- package/network/utils/iftop/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/network/utils/iftop/Makefile b/package/network/utils/iftop/Makefile index b054ed1..df180e0 100644 ---

Re: [OpenWrt-Devel] Some atheros devices not loading kernel modules at boot, but work fine under AA

2014-05-16 Thread Ben West
Aha, nevermind, false alarm. Looks like the failing reflashed nodes were carrying over /etc/init.d/boot from AA (which is incompatible with trunk). On Fri, May 16, 2014 at 7:32 PM, Ben West b...@gowasabi.net wrote: With one exception, all the OM1P and EOC-1650 units (atheros / ath5k) I've

[OpenWrt-Devel] [PATCH 0/9] ubi, ubifs and ubiblock fixes and improvements

2014-05-16 Thread Daniel Golle
This series fixes a bunch of small issues related to UBI integration, mostly related to using squashfs on top of UBI and/or overlayfs on top of UBIFS. It also adds supports for discovering rootfs on UBI-enabled devices without the need for passing down a kernel parameter. Last but not least,

[OpenWrt-Devel] [PATCH 1/9] kernel/ubifs: remove obsolete CONFIG_UBIFS_FS_XATTR symbol

2014-05-16 Thread Daniel Golle
550-ubifs-symlink-xattr-support.patch contains a reference to the by now obsolete config symbol CONFIG_UBIFS_FS_XATTR which leads to the functionality originally added by the patch being left-out during compile since commit 1bdcc63112a0 (UBIFS: remove xattr Kconnfig option) in v3.5. Fix this by

[OpenWrt-Devel] [PATCH 2/9] kernel: add another new config symbol for kernel 3.14

2014-05-16 Thread Daniel Golle
It was augmented by CONFIG_USB_GADGET... Signed-off-by: Daniel Golle dan...@makrotopia.org diff --git a/target/linux/generic/config-3.14 b/target/linux/generic/config-3.14 index 0516ab0..bbb00de 100644 --- a/target/linux/generic/config-3.14 +++ b/target/linux/generic/config-3.14 @@ -3926,6

[OpenWrt-Devel] [PATCH 3/9] kernel: backport ubiblock support from 3.15

2014-05-16 Thread Daniel Golle
Backport ubiblock support from kernel 3.15 as well as all follow-up fixes related to ubiblock. Signed-off-by: Daniel Golle dan...@makrotopia.org create mode 100644 target/linux/generic/patches-3.14/040-UBI-R-O-block-driver-on-top-of-UBI-volumes.patch create mode 100644

[OpenWrt-Devel] [PATCH 4/9] kernel: rootfs auto-mount on ubi

2014-05-16 Thread Daniel Golle
Similar to the rootfs hacks on NOR flash devices, this series introduces support for auto-attaching (ubi device), auto-creating (ubiblock device) and mounting the rootfs (ubifs or squashfs) volume. This is needed so OpenWrt can start without relying on the bootloader to pass the ubi.mtd,

[OpenWrt-Devel] [PATCH 5/9] ubi-utils: bump to version 1.5.1 for ubiblock support

2014-05-16 Thread Daniel Golle
ubiblock allows creating and removing read-only block devices on top of ubi volumes. Signed-off-by: Daniel Golle dan...@makrotopia.org diff --git a/package/utils/ubi-utils/Makefile b/package/utils/ubi-utils/Makefile index d009139..fd41da0 100644 --- a/package/utils/ubi-utils/Makefile +++

[OpenWrt-Devel] [PATCH 6/9] fstools: support ubifs overlay

2014-05-16 Thread Daniel Golle
Signed-off-by: Daniel Golle dan...@makrotopia.org diff --git a/package/system/fstools/Makefile b/package/system/fstools/Makefile index 826f77d..e052552 100644 --- a/package/system/fstools/Makefile +++ b/package/system/fstools/Makefile @@ -1,14 +1,14 @@ include $(TOPDIR)/rules.mk

[OpenWrt-Devel] [PATCH 7/9] scripts: add ubinize-image.sh to generate ubi images

2014-05-16 Thread Daniel Golle
Signed-off-by: Daniel Golle dan...@makrotopia.org create mode 100755 scripts/ubinize-image.sh diff --git a/scripts/ubinize-image.sh b/scripts/ubinize-image.sh new file mode 100755 index 000..d7b1e47 --- /dev/null +++ b/scripts/ubinize-image.sh @@ -0,0 +1,87 @@ +#!/bin/sh + +flavour=bare

[OpenWrt-Devel] [PATCH 8/9] images.mk: no longer ubinize only for ubifs

2014-05-16 Thread Daniel Golle
use scripts/ubinize-image.sh to generate ubinized images in target/*/images/Makefile Signed-off-by: Daniel Golle dan...@makrotopia.org diff --git a/include/image.mk b/include/image.mk index 5391905..e8a0d0e 100644 --- a/include/image.mk +++ b/include/image.mk @@ -106,6 +106,10 @@ define

[OpenWrt-Devel] [PATCH 9/9] base-files: include ubiblock tool in sysupgrade ramdisk

2014-05-16 Thread Daniel Golle
Also add some more busybox symlinks which are useful for sysupgrade on UBI-enabled devices. Signed-off-by: Daniel Golle dan...@makrotopia.org diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh index ecf1a98..09f3315 100644 ---