Re: [OpenWrt-Devel] [PATCH] Updated kernel patch in trunk to support brcm47xx BCMA NAND flash

2012-02-28 Thread Tathagata Das
Hi Florian, Please find my inline comments. Regards, Tatha -Original Message- From: Florian Fainelli [mailto:f.faine...@gmail.com] On Behalf Of Florian Fainelli Sent: 28 February 2012 14:54 To: Tathagata Das Cc: 'OpenWrt Development List'; 'Hauke Mehrtens' Subject: Re: [PATCH] Updated

Re: [OpenWrt-Devel] Alix 2D13 on latest trunk, traces in dmesg on bootup?

2012-02-28 Thread Adam Gensler
Nothing I'm finding online seems to indicate a simple procedure for this. Perhaps I'm not searching for the correct terminology. If you have a sample / example I'd certainly take a look at doing it. On 2/28/12 5:12 PM, Philip Prindeville wrote: As it turns out you only need 2-3 commands... yo

Re: [OpenWrt-Devel] logging the number of retransmissions at mac layer

2012-02-28 Thread Adrian Chadd
Hi, Each TX descriptor return status notes how many retransmissions were required in order to TX the frame. This includes RTS/CTS exchange attempts (short retries) as well as entire frame TX (because no ACK was heard) (long retries.) This is made available to the rate control code at the very le

[OpenWrt-Devel] logging the number of retransmissions at mac layer

2012-02-28 Thread abhinav narain
hi, I am working on openwrt main trunk (frozen in ~aug) I am trying to get the stats about number of retransmissions at mac layer from ath9k drivers but I can't get where to look for.. The information is not given by debugfs. I looked at iw code which uses netlink interface, but couldn't actually

Re: [OpenWrt-Devel] Alix 2D13 on latest trunk, traces in dmesg on bootup?

2012-02-28 Thread Philip Prindeville
As it turns out you only need 2-3 commands... you can almost script it with macros. On 2/28/12 2:17 PM, Adam Gensler wrote: > Unfortunately I have zero experience with gdb. It would probably take > longer to learn how to use that than to refresh to the kernel patches on > 3.2 to support 3.2.7

Re: [OpenWrt-Devel] Alix 2D13 on latest trunk, traces in dmesg on bootup?

2012-02-28 Thread Adam Gensler
Unfortunately I have zero experience with gdb. It would probably take longer to learn how to use that than to refresh to the kernel patches on 3.2 to support 3.2.7 so I could try that version to see if its already fixed. On 2/28/12 3:08 PM, Philip Prindeville wrote: % cat /proc/modules th

Re: [OpenWrt-Devel] Alix 2D13 on latest trunk, traces in dmesg on bootup?

2012-02-28 Thread Philip Prindeville
% cat /proc/modules that will give you the base address of each module... you can then gdb what the load address was of the module on your build host, and as it to print each address... On 2/28/12 12:56 PM, Adam Gensler wrote: > I've built a generic x86 image and attempted to get a stack trac

Re: [OpenWrt-Devel] Alix 2D13 on latest trunk, traces in dmesg on bootup?

2012-02-28 Thread Adam Gensler
I've built a generic x86 image and attempted to get a stack trace by manually mapping the trace addresses to the System.map file. Unfortunately, none of the addresses are in the System.map. I suspect, after having read the following URL, that this is because the call traces are coming from kern

[OpenWrt-Devel] [PATCH] Add package for Command Line Interface SHell

2012-02-28 Thread Viktar Palstsiuk
Signed-off-by: Viktar Palstsiuk --- utils/clish/Makefile | 44 1 files changed, 44 insertions(+), 0 deletions(-) create mode 100644 utils/clish/Makefile diff --git a/utils/clish/Makefile b/utils/clish/Makefile new file mode 100644 index 000..78

Re: [OpenWrt-Devel] [PATCH] ECDSA support in openssh and openssl

2012-02-28 Thread Ondrej Famera
Dňa 28.02.2012 10:02, Florian Fainelli wrote / napísal(a): > Hello, > > Le 02/28/12 07:29, Ondrej Famera a écrit : >> This enables support for ECDSA keys in openssl and since it is supported >> in openSSH since version 5.7 ECDSA keys can be then used by >> openssh-{server,keygen,client} and are a

[OpenWrt-Devel] [PATCH 1/1] v1: configure lighttpd with OpenSSL support only if the user asks for it

2012-02-28 Thread Emmanuel Deloget
SSL support adds a quite large dependency to lighttpd when compiled in. On a 32 bit platform, libcrypto is roughly 1MB, to which one must add the size of libssl (roughly 250KB). This is 2 to 5 times the size of a typical lighttpd embedded installation. SSL support is only needed if one enables th

Re: [OpenWrt-Devel] [PATCH] Updated kernel patch in trunk to support brcm47xx BCMA NAND flash

2012-02-28 Thread tathagata
Hi Florian, Thank you for your comment. I will integrate them and also fix the issue in write. Tomorrow I will upload the updated patch. Hope it will be then merged into OpenWRT. Regards, Tatha On 28.02.2012 14:24, Florian Fainelli wrote: Hello Tatha, Le 02/28/12 07:50, Tathagata Das a écr

Re: [OpenWrt-Devel] [PATCH] Updated kernel patch in trunk to support brcm47xx BCMA NAND flash

2012-02-28 Thread Jonas Gorski
On 28 February 2012 10:24, Florian Fainelli wrote: > Le 02/28/12 07:50, Tathagata Das a écrit : (...) > + > +       if offset + len)>>  20)>  cc->nflash.size) || > +               offset + len)>>  20) == cc->nflash.size)&& > > these two lines are equal to: > > ((offset + len)>>  20)>= cc->

Re: [OpenWrt-Devel] [PATCH] Updated kernel patch in trunk to support brcm47xx BCMA NAND flash

2012-02-28 Thread Florian Fainelli
Hello Tatha, Le 02/28/12 07:50, Tathagata Das a écrit : Hi, Attached is the updated kernel patch to support brcm47xx BCMA NAND flash. I have used latest trunk source code to create this patch. I have tested it on Netgear WNR3500Lv2. Thanks to Florian and Hauke for their comments. And than

Re: [OpenWrt-Devel] [PATCH] ECDSA support in openssh and openssl

2012-02-28 Thread Florian Fainelli
Hello, Le 02/28/12 07:29, Ondrej Famera a écrit : This enables support for ECDSA keys in openssl and since it is supported in openSSH since version 5.7 ECDSA keys can be then used by openssh-{server,keygen,client} and are automaticaly generated on sshd start. - tested to be working on routersta

Re: [OpenWrt-Devel] wifi detect returns nothing (openwrt trunk with RB411 & R52 (lspci lists radio as AR5413 802.11abg)

2012-02-28 Thread Florian Fainelli
Hello, Le 02/28/12 02:55, Brian Hutchinson a écrit : On Mon, Feb 27, 2012 at 5:04 PM, Russell Senior wrote: I build from trunk. I selected (=y) it from menuconfig under kernel and wireless. You can search in menuconfig with '/'. Ah, I have a /etc/config/wireless file now and the radio is

Re: [OpenWrt-Devel] [PATCH] Updated kernel patch in trunk to support brcm47xx BCMA NAND flash

2012-02-28 Thread Tathagata Das
I have found one issue in write function. If the length of writing data is smaller than pagesize then it fails to write. I am now solving this issue. Regards, Tathagata -Original Message- From: Tathagata Das [mailto:tathag...@alumnux.com] Sent: 28 February 2012 12:20 To: 'OpenWrt Develo