Re: [OpenWrt-Devel] [PATCH 2/3] ar71xx: add support for the Giga Device spi nand chips

2015-07-10 Thread John Crispin
Hi, can you first send this patch upstream please ? John On 10/07/2015 09:18, miaoq...@qti.qualcomm.com wrote: From: Miaoqing Pan miaoq...@codeaurora.org Signed-off-by: Miaoqing Pan miaoq...@codeaurora.org --- ...PS-ath79-add-giga-device-spi-nand-support.patch | 40

Re: [OpenWrt-Devel] [PATCH 3/3] ar71xx: add spi nand driver support

2015-07-10 Thread John Crispin
Hi, lots of comments inline. please check all you error paths. right now on various places when an error occurs you simply continue as if nothing happened. also move all the dev_err calls into the functions where the error happens. please also review the actual error messages. John On

[OpenWrt-Devel] How to activate Device Tree on the Raspberry Pi and add a device?

2015-07-10 Thread Michael Neurohr
Hi, I'm trying to integrate a new hardware connected via I2C into OpenWRT. I already integrated the according driver so that it shows up in the menuconfig under Kernel Modules - Other modules. To get I2C working I also activated the modules (M) kmod-i2c-bcm2708 and kmod-i2c-core. Now I

[OpenWrt-Devel] [PATCH 1/3] ar71xx: add GPIO based S/W I2C master

2015-07-10 Thread miaoqing
From: Miaoqing Pan miaoq...@codeaurora.org Signed-off-by: Miaoqing Pan miaoq...@codeaurora.org --- .../linux/ar71xx/files/arch/mips/ath79/dev-i2c.c | 33 ++ .../linux/ar71xx/files/arch/mips/ath79/dev-i2c.h | 24

[OpenWrt-Devel] [PATCH 3/3] ar71xx: add spi nand driver support

2015-07-10 Thread miaoqing
From: Miaoqing Pan miaoq...@codeaurora.org Derived from 'drivers/staging/mt29f_spinand'. Only support Giga Device SPI NAND device now, - GD5F1GQ4U 1G 3.3V 8-bit - GD5F2GQ4U 2G 3.3V 8-bit - GD5F1GQ4R 1G 1.8V 8-bit - GD5F2GQ4R 2G 1.8V 8-bit Signed-off-by: Miaoqing Pan

[OpenWrt-Devel] [PATCH 2/3] ar71xx: add support for the Giga Device spi nand chips

2015-07-10 Thread miaoqing
From: Miaoqing Pan miaoq...@codeaurora.org Signed-off-by: Miaoqing Pan miaoq...@codeaurora.org --- ...PS-ath79-add-giga-device-spi-nand-support.patch | 40 ++ 1 file changed, 40 insertions(+) create mode 100644

[OpenWrt-Devel] [PATCH][libubox] ustream-fd: handle uloop errors

2015-07-10 Thread Philip Craig
Otherwise uloop will delete the fd and the ustream will receive no notification of the error. Signed-off-by: Philip Craig philipjcr...@gmail.com --- ustream-fd.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ustream-fd.c b/ustream-fd.c index 5ffca53..2c15b42 100644

Re: [OpenWrt-Devel] 6LoWPAN with OpenWRT

2015-07-10 Thread Firas
Hi Varka Bhadram, 6LoWPAN over IEEE-802.15.4 support available in OpenWRT from the kernel version 4.0 [1] As I see this version doesn't support all Processors, I'm using : openwrt-at91-legacy-9g25ek-uImage So can you please inform me if it's supported with version 4.0 and if you please

Re: [OpenWrt-Devel] [PATCH 3/3] ar71xx: add spi nand driver support

2015-07-10 Thread Jonas Gorski
Hi, On Fri, Jul 10, 2015 at 9:18 AM, miaoq...@qti.qualcomm.com wrote: From: Miaoqing Pan miaoq...@codeaurora.org Derived from 'drivers/staging/mt29f_spinand'. Only support Giga Device SPI NAND device now, - GD5F1GQ4U 1G 3.3V 8-bit - GD5F2GQ4U 2G 3.3V 8-bit - GD5F1GQ4R 1G 1.8V

Re: [OpenWrt-Devel] [PATCH 3/3] ar71xx: add spi nand driver support

2015-07-10 Thread Pan, Miaoqing
Agree with you, I investigated this, tried to merge two into one. E.g. Implement the common core for spinand, separate vendors related codes, but give up finally as no device to verify mt29f:( So I only add it to support for ath79 platform. Thanks, Miaoqing -Original Message-

[OpenWrt-Devel] firstboot aka jffs2reset - can this brick the bootloader?

2015-07-10 Thread Christian Beier
Hi list, I've flashed yesterday's EnGenius EPG5000 image from https://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/openwrt-ar71xx-generic-epg5000-squashfs-sysupgrade.bin which went fine. Thing is 'firstboot' in failsafe mode via telnet just simply hang without outputting anything

Re: [OpenWrt-Devel] [PATCH][libubox] ustream-fd: handle uloop errors

2015-07-10 Thread Felix Fietkau
On 2015-07-10 09:23, Philip Craig wrote: Otherwise uloop will delete the fd and the ustream will receive no notification of the error. Signed-off-by: Philip Craig philipjcr...@gmail.com I think this fix is incomplete. When an error occurs, ustream-fd should delete the fd after setting the

Re: [OpenWrt-Devel] [PATCH] ramips: adding support for OY-0001 Wireless Router

2015-07-10 Thread Karl Palsson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Isn't this normally called the OYE-0001 ? not OY-0001 ? The website and all literature I've seen uses the OYE-0001 name... Regardless, in many places, you have not followed the existing alphabetical order. LiWeijian younfa...@hotmail.com wrote:

[OpenWrt-Devel] [PATCH] Make virtualization guests built for pentium4 with SMP

2015-07-10 Thread Daniel Gimpelevich
Signed-off-by: Daniel Gimpelevich dan...@gimpelevich.san-francisco.ca.us --- include/target.mk | 1 + target/linux/x86/kvm_guest/config-default | 15 ++- target/linux/x86/kvm_guest/target.mk | 1 + target/linux/x86/xen_domu/target.mk | 1 + 4

[OpenWrt-Devel] [PATCH procd] move /dev/shm to /tmp/shm

2015-07-10 Thread Daniel Gimpelevich
Since the /dev filesystem is tiny, /dev/shm needs to live somewhere else. Signed-off-by: Daniel Gimpelevich dan...@gimpelevich.san-francisco.ca.us --- a/initd/early.c 2015-06-19 14:01:25.0 -0700 +++ b/initd/early.c 2015-07-10 15:04:23.270143065 -0700 @@ -66,16 +66,20 @@

Re: [OpenWrt-Devel] Archer C7 CC 15.05-rc1 Ath9K phy1: Failed to stop TX DMA, queues=0x002!

2015-07-10 Thread Roman Yeryomin
On 10 July 2015 at 05:07, camden lindsay camden.lindsay+open...@gmail.com wrote: I'm sorry, i said ath9k in the subject but the above seems more likely to be ath10k. On Thu, Jul 9, 2015 at 7:03 PM, camden lindsay camden.lindsay+open...@gmail.com wrote: Hello- Thought I should report this,

Re: [OpenWrt-Devel] [PATCH] ramips: adding support for OY-0001 Wireless Router

2015-07-10 Thread LiWeijian
Hi, Thanks very much for your comments and taking time to check the name. Regarding the 'OY-0001', it's for business reason to use 'OY-0001' but not 'OYE-0001'. The 'old' name in the website also will be updated afterward. Regards, Weijian Subject: Re: [OpenWrt-Devel] [PATCH] ramips: adding

Re: [OpenWrt-Devel] Raspberry Pi 2 sysupgrade

2015-07-10 Thread Matthias Schiffer
On 07/08/2015 07:42 PM, Bruno Randolf wrote: Hi! I have the below change to add rudimentary support for sysupgrade on the Raspberry Pi. I looked at the way platform_copy_config() is implemented for x86 and tried to do the same, but I get the following error on mount: mount: mounting

Re: [OpenWrt-Devel] lantiq DSL drivers / firmware info

2015-07-10 Thread Aleksander Wałęski
Hello Martin, I've just applied your patch against trunk (r46292) and flashed this firmware. Unfortunately linked patch did not apply cleanly because some of your changes were accepted into openwrt trunk. I was able to fix it locally but I hope you will update your patch for others to test it. So

Re: [OpenWrt-Devel] Raspberry Pi 2 sysupgrade

2015-07-10 Thread Bruno Randolf
On 07/09/2015 06:44 AM, John Crispin wrote: I have the below change to add rudimentary support for sysupgrade on the Raspberry Pi. I looked at the way platform_copy_config() is implemented for x86 and tried to do the same, but I get the following error on mount: mount: mounting /dev/mmcblk0p2

Re: [OpenWrt-Devel] [PATCH] ramips: adding support for OY-0001 Wireless Router

2015-07-10 Thread John Crispin
On 10/07/2015 21:31, John Crispin wrote: On 10/07/2015 17:19, Karl Palsson wrote: John Crispin blo...@openwrt.org wrote: On 10/07/2015 13:27, Karl Palsson wrote: Isn't this normally called the OYE-0001 ? not OY-0001 ? The website and all literature I've seen uses the OYE-0001 name...

Re: [OpenWrt-Devel] [PATCH] ramips: adding support for OY-0001 Wireless Router

2015-07-10 Thread John Crispin
On 10/07/2015 17:19, Karl Palsson wrote: John Crispin blo...@openwrt.org wrote: On 10/07/2015 13:27, Karl Palsson wrote: Isn't this normally called the OYE-0001 ? not OY-0001 ? The website and all literature I've seen uses the OYE-0001 name... Regardless, in many places, you have not

Re: [OpenWrt-Devel] Presentation on Linux Containers (LXC)

2015-07-10 Thread Eric Schultz
Bastian, I just saw this reply now. I think that's a great idea! We'll make sure to do introductions next time! Eric On Fri, Jun 26, 2015 at 10:25 AM, Bastian Bittorf bitt...@bluebottle.com wrote: * Javier Domingo Cansino javier...@gmail.com [26.06.2015 17:22]: Thanks for sharing!! short

Re: [OpenWrt-Devel] [PATCH] ramips: adding support for OY-0001 Wireless Router

2015-07-10 Thread Karl Palsson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John Crispin blo...@openwrt.org wrote: On 10/07/2015 13:27, Karl Palsson wrote: Isn't this normally called the OYE-0001 ? not OY-0001 ? The website and all literature I've seen uses the OYE-0001 name... Regardless, in many places, you

Re: [OpenWrt-Devel] [PATCH 3/3] ar71xx: add spi nand driver support

2015-07-10 Thread Florian Fainelli
On 10/07/15 02:54, Pan, Miaoqing wrote: Agree with you, I investigated this, tried to merge two into one. E.g. Implement the common core for spinand, separate vendors related codes, but give up finally as no device to verify mt29f:( So I only add it to support for ath79 platform.