[OpenWrt-Devel] [PATCH 4/4] ar71xx: enable wake_phys option for WD My Net N750

2013-12-12 Thread Felix Kaechele
This makes the AR8327N switch on this board functional. Signed-off-by: Felix Kaechele --- target/linux/ar71xx/files/arch/mips/ath79/mach-mynet-n750.c | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-mynet-n750.c b/target/linux/ar71xx/files/arch/

[OpenWrt-Devel] [PATCH 2/4] ar71xx: add kernel support for WD My Net N750

2013-12-12 Thread Felix Kaechele
Signed-off-by: Felix Kaechele --- target/linux/ar71xx/config-3.10| 1 + .../ar71xx/files/arch/mips/ath79/mach-mynet-n750.c | 196 + .../610-MIPS-ath79-openwrt-machines.patch | 85 + 3 files changed, 245 insertions(+), 37 deletions(-) cr

[OpenWrt-Devel] [PATCH 3/4] ar71xx: add option to wake up phys on mdio reset

2013-12-12 Thread Felix Kaechele
The bootloader on the WD My Net N750 disables the ports on it's internal AR8327N switch by powering them down. The stock firmware then brings the ports back up again by starting the auto negotiation process on each port. There is one big disadvantage of this approach: In tests I noticed that PHYs

[OpenWrt-Devel] [PATCH 1/4] ar71xx: add userspace support for WD My Net N750

2013-12-12 Thread Felix Kaechele
Signed-off-by: Felix Kaechele --- target/linux/ar71xx/base-files/etc/diag.sh | 3 ++- target/linux/ar71xx/base-files/etc/uci-defaults/02_network | 10 ++ .../ar71xx/base-files/etc/uci-defaults/09_fix-seama-header | 3 ++- target/linux/ar71xx/base-files/lib/ar

[OpenWrt-Devel] [PATCH 0/4] Support for WD My Net N750

2013-12-12 Thread Felix Kaechele
Frankly, figuring out the switch issue on the WD My Net N750 was a pain. Details to what the exact problem was is in one of the patches in this patchset. WD was more cooperative than I thought by publishing the u-boot source code after I requested it. >From my POV there are only minor cosmetic iss

Re: [OpenWrt-Devel] tmpfs /tmp size how to change.

2013-12-12 Thread Pawel Pastuszak
thanks that works. On Thu, Dec 12, 2013 at 3:51 PM, Sebastian Moeller wrote: > HI Pawel, > > > On Dec 12, 2013, at 21:47 , Pawel Pastuszak > wrote: > > > Hi, > > > > I am using pretty much the trunk version of openwrt and i want to adjust > the tmpfs /tmp size? I recall in old version of open

Re: [OpenWrt-Devel] tmpfs /tmp size how to change.

2013-12-12 Thread Sebastian Moeller
HI Pawel, On Dec 12, 2013, at 21:47 , Pawel Pastuszak wrote: > Hi, > > I am using pretty much the trunk version of openwrt and i want to adjust the > tmpfs /tmp size? I recall in old version of openwrt it was in > 10_essential_fs but the new version i cannot find it. > > Can someone point

[OpenWrt-Devel] tmpfs /tmp size how to change.

2013-12-12 Thread Pawel Pastuszak
Hi, I am using pretty much the trunk version of openwrt and i want to adjust the tmpfs /tmp size? I recall in old version of openwrt it was in 10_essential_fs but the new version i cannot find it. Can someone point me to the correct direction. Thanks, Pawel _

[OpenWrt-Devel] [PATCH] [Packages] Rng-tools: add selection between hwrng or urandom

2013-12-12 Thread José Vázquez Fernández
This patch allow to select between /dev/hwrng and /dev/urandom. Also updates rng-tools to the last version. Signed off by: José Vázquez Fernández diff --git a/utils/rng-tools/Config.in b/utils/rng-tools/Config.in new file mode 100644 index 000..4f7b4d3 --- /dev/null +++ b/utils/rng-tools/Co

[OpenWrt-Devel] [RFC] Rngd in busybox.

2013-12-12 Thread José Vázquez Fernández
A couple of days ago found an old patch that adds rngd in busybox: http://lists.busybox.net/pipermail/busybox/2008-August/066784.html Because it is 5 years old will need some rework, but could be a good alternative to rng-tools. Also made a patch that has the option to select between /dev/hwrng or

[OpenWrt-Devel] [PATCH] [packages] libqmi: update to 1.8.0

2013-12-12 Thread Tim Harvey
Signed-off-by: Tim Harvey --- libs/libqmi/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/libqmi/Makefile b/libs/libqmi/Makefile index a9db3c0..f094439 100644 --- a/libs/libqmi/Makefile +++ b/libs/libqmi/Makefile @@ -1,12 +1,12 @@ include $(TOPDIR)/rules.m

[OpenWrt-Devel] [PATCH] imx6: ventana: add canbus utils

2013-12-12 Thread Tim Harvey
Some of the Gateworks Ventana boards have CAN bus support, therefore we will install the userspace utils. Signed-off-by: Tim Harvey --- target/linux/imx6/profiles/120-gateworks.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/linux/imx6/profiles/120-gateworks.mk b

[OpenWrt-Devel] [PATCH] imx6: proper fix for io-remap

2013-12-12 Thread Tim Harvey
The previous patch was not the proper fix for PCI devices that require io resources. The new patch is the proper fix backported from mainline. Signed-off-by: Tim Harvey --- ...remove-outbound-io-mem-ATU-region-mapping.patch | 106 - .../0030-pcie-designware-fix-io-transfers.

Re: [OpenWrt-Devel] Quick hack for kernel entropy problem on MIPS

2013-12-12 Thread mancha
On Mon, 09 Dec 2013 10:53:20 +0100, Tijs Van Buggenhout wrote: > On Monday 18 November 2013 19:29:17 mancha wrote: >> Hauke Mehrtens hauke-m.de> writes: >> > On 10/17/2013 05:40 PM, chrono wrote: >> > > Ahoi everyone, >> > > >> > > it was requested on IRC that I send my solution to the entropy >>

Re: [OpenWrt-Devel] Testing Sunxi target with cubieboard

2013-12-12 Thread Saverio Proto
Hello, today I tried to boot the latest trunk with my CubieboardA10, but I cannot boot at all. I followed this guide: http://wiki.openwrt.org/doc/hardware/soc/soc.allwinner.sunxi the most important stuff is: dd if=openwrt-sunxi-Cubieboard-sunxi-with-spl.bin of=/dev/sdb bs=1024 seek=8 then I for

[OpenWrt-Devel] Fwd: [PATCH 3/3] mac80211.sh: fix wds option.

2013-12-12 Thread Yousong Zhou
My bad. Same mail forwarded to the openwrt-devel list. -- Forwarded message -- From: Yousong Zhou Date: 12 December 2013 23:05 Subject: Re: [OpenWrt-Devel] [PATCH 3/3] mac80211.sh: fix wds option. To: Felix Fietkau Hi, Felix On 12 December 2013 21:31, Felix Fietkau wrote: >

[OpenWrt-Devel] [PATCH] MTD support for bad blocks in NAND flash

2013-12-12 Thread Matthew Redfearn
NAND flash is very likely to contain bad blocks.  Currently, mtd and therefore sysupgrade fails when it encounters a single bad block, potentially leaving an unbootable system. This patch allows the mtd utility to skip bad blocks in NAND flash and complete sysupgrade successfully. Thanks, Mat

Re: [OpenWrt-Devel] [PATCH 3/3] mac80211.sh: fix wds option.

2013-12-12 Thread Felix Fietkau
On 2013-12-12 13:40, Yousong Zhou wrote: > commit a7ef3ef `mac80211: add missing set_default to fix stray "radio0: > sh: bad number" messages" effectly disabled wds option. > > Wds is actually set_default before, it is json_get_var() which would set > variables' value to null if they does not appe

[OpenWrt-Devel] [PATCH] aria2: add uci support for aria2.

2013-12-12 Thread Yousong Zhou
Options of aria2 are consisted of 4 sections: - `aria2` for general options. - `http_ftp` for HTTP/FTP related options. - `bt_metalink` for BitTorrent/Metalink options. - `rpc` for RPC related options. Option names in uci config are transformed from aria2's original manual by replacing dashes

[OpenWrt-Devel] [PATCH 3/3] mac80211.sh: fix wds option.

2013-12-12 Thread Yousong Zhou
commit a7ef3ef `mac80211: add missing set_default to fix stray "radio0: sh: bad number" messages" effectly disabled wds option. Wds is actually set_default before, it is json_get_var() which would set variables' value to null if they does not appear in the JSON data. This will cause "bad number" e

[OpenWrt-Devel] [PATCH 2/3] base-files: remove duplicate stop_service() function.

2013-12-12 Thread Yousong Zhou
It was introduced in commit 2f966e8, "base-files: add a post start hook for procd managed services". Signed-off-by: Yousong Zhou --- package/base-files/files/etc/rc.common |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/package/base-files/files/etc/rc.common b/packag

[OpenWrt-Devel] [PATCH 1/3] base-files: No need to strip out sequence number from script name.

2013-12-12 Thread Yousong Zhou
Since commit 2ed5144 "base-files: warn when calling /etc/init.d/

[OpenWrt-Devel] [PATCH 1/3] base-files: no need to strip out sequence number from script name.

2013-12-12 Thread Yousong Zhou
Since commit 2ed5144 "base-files: warn when calling /etc/init.d/

[OpenWrt-Devel] [PATCH] ramips: add support for RT-N14U (mt7620n based) board

2013-12-12 Thread Pavel Löbl
- added support for sysupgrade - fixed missing tab in makefile current support status ethernetworks usb works leds definedasus:blue:[power|lan|wan|usb] (wifi led unreachable?) buttons reset, wps uartnot tested i2c not tested --- target/linux

[OpenWrt-Devel] [PATCH 3/3] imx6: ventana: add default kernel modules for GSC

2013-12-12 Thread Tim Harvey
All Gateworks Ventana boards have a Gateworks System Controller which emulates the following: - ds1672 RTC - pca953x GPIO expander - hardware monitor - at24 eeprom Signed-off-by: Tim Harvey --- target/linux/imx6/profiles/120-gateworks.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/ta

[OpenWrt-Devel] [PATCH 2/3] imx6: add rtc feature support

2013-12-12 Thread Tim Harvey
Signed-off-by: Tim Harvey --- target/linux/imx6/Makefile| 2 +- target/linux/imx6/config-3.10 | 4 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/target/linux/imx6/Makefile b/target/linux/imx6/Makefile index e8d558e..11f68f7 100644 --- a/target/linux/imx6/Makefile +++ b/ta

[OpenWrt-Devel] [PATCH 1/3] kernel: add rtc-ds1672 module support

2013-12-12 Thread Tim Harvey
Signed-off-by: Tim Harvey --- package/kernel/linux/modules/other.mk | 17 + 1 file changed, 17 insertions(+) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index d8d437f..c1adc66 100644 --- a/package/kernel/linux/modules/other.mk +++ b