Re: [OpenWrt-Devel] BSD compile fixes

2013-03-07 Thread Waldemar Brodkorb
Hi, a new version of my BSD patch. - added FreeBSD install script - search for /usr/local/bin/getopt before /usr/bin/getopt - search for gnustat on FreeBSD best regards Waldemar Index: scripts/openbsd.sh === ---

Re: [OpenWrt-Devel] om2p-hs: System lockup with 'ath: phy0: PLL4 meaurement not done' error

2013-03-07 Thread Paul van Gool
Thanks, Marek! I will try that revision. Paul On Thu, Mar 7, 2013 at 2:13 AM, Marek Lindner lindner_ma...@yahoo.dewrote: On Thursday, March 07, 2013 07:51:00 Paul van Gool wrote: so I built r35506 and flashed my OM2P-HS with it. As before booting the device work fine (which is different

[OpenWrt-Devel] c question (for a patch..)

2013-03-07 Thread Alexander Stadler
Hi! Haven't developed for many years, and I unfortunately see the effects ;-). Can someone please help me with a short question? After that I can finish a patch.. . I have i.e.: static struct gpio_led board_leds_gpio[] __initdata = { { .name = board:power,

Re: [OpenWrt-Devel] c question (for a patch..)

2013-03-07 Thread Matthijs Kooijman
Hi Alexander, The next thought was that ARRAY_SIZE macro must get an array and not an pointer, so I tried it with: That's exactly right. An array's size is not stored in memory, so you can only get at it at compile time. However, then you must actually pass the array, not a pointer to the array

Re: [OpenWrt-Devel] c question (for a patch..)

2013-03-07 Thread Alexander Stadler
Am 07.03.2013 16:24, schrieb Matthijs Kooijman: Hi Alexander, The next thought was that ARRAY_SIZE macro must get an array and not an pointer, so I tried it with: That's exactly right. An array's size is not stored in memory, so you can only get at it at compile time. However, then you must

Re: [OpenWrt-Devel] c question (for a patch..)

2013-03-07 Thread Matthijs Kooijman
Hi Alexander, static void __init board_generic_setup(struct gpio_led *leds_gpio, size_t leds_gpio_size, struct gpio_keys_button *gpio_keys, size_t gpio_keys_size, struct mdio_board_info *mdio0_info, size_t mdio0_info_size)

Re: [OpenWrt-Devel] c question (for a patch..)

2013-03-07 Thread Tijs Van Buggenhout
On Thursday 07 March 2013 16:39:33 Alexander Stadler wrote: Am 07.03.2013 16:24, schrieb Matthijs Kooijman: Hi Alexander, The next thought was that ARRAY_SIZE macro must get an array and not an pointer, so I tried it with: That's exactly right. An array's size is not stored in

Re: [OpenWrt-Devel] BSD compile fixes

2013-03-07 Thread Felix Fietkau
On 2013-03-07 2:44 PM, Waldemar Brodkorb wrote: Hi, a new version of my BSD patch. - added FreeBSD install script - search for /usr/local/bin/getopt before /usr/bin/getopt - search for gnustat on FreeBSD Looks good. Please re-send inline, with Signed-off-by, and a proper patch

Re: [OpenWrt-Devel] c question (for a patch..)

2013-03-07 Thread Matthijs Kooijman
Hi Tijs, In general it's good to inform/promise the compiler when the program is not going to change data (using const). However, you'll have to adjust to the function definition types of the other functions that you are going to use in your new function. Agreed: If you need to pass the

Re: [OpenWrt-Devel] c question (for a patch..)

2013-03-07 Thread Alexander Stadler
Am 07.03.2013 17:01, schrieb Matthijs Kooijman: Hi Alexander, static void __init board_generic_setup(struct gpio_led *leds_gpio, size_t leds_gpio_size, struct gpio_keys_button *gpio_keys, size_t gpio_keys_size, struct mdio_board_info *mdio0_info, size_t mdio0_info_size)

[OpenWrt-Devel] [PATCH] [packages] ser2net: bump version to 2.8

2013-03-07 Thread Russell Senior
Signed-off-by: Russell Senior russ...@personaltelco.net --- net/ser2net/Makefile | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/net/ser2net/Makefile b/net/ser2net/Makefile index 88500ad..2782972 100644 --- a/net/ser2net/Makefile +++ b/net/ser2net/Makefile @@ -1,5

Re: [OpenWrt-Devel] [PATCH] BSD compile fixes

2013-03-07 Thread Waldemar Brodkorb
Hi, following patch allows to build images for Qemu ARM on OpenBSD 5.2 amd64 and FreeBSD 9.1 amd64. Mostly small pieces of code changes to get things right on the specific platform. Updated the README to describe better, which tools on the host are required. Added some kind of prepare scripts

[OpenWrt-Devel] Python compile fix on BSD hosts

2013-03-07 Thread Waldemar Brodkorb
Hi, this small fix allows cross-compile of python on BSD hosts. Signed-off-by: Waldemar Brodkorb m...@waldemar-brodkorb.de Index: lang/python/Makefile === --- lang/python/Makefile(revision 35899) +++ lang/python/Makefile

[OpenWrt-Devel] Sprint 4G Wimax

2013-03-07 Thread Dan Therrien
Greetings, Has anyone created a package/makefile to compile Sprints 4G Wimax Drivers + supporting Programs? Thank you Dan ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] c question (for a patch..)

2013-03-07 Thread Tijs Van Buggenhout
On Thursday 07 March 2013 17:47:02 Matthijs Kooijman wrote: Hi Tijs, In general it's good to inform/promise the compiler when the program is not going to change data (using const). However, you'll have to adjust to the function definition types of the other functions that you are going

Re: [OpenWrt-Devel] c question (for a patch..)

2013-03-07 Thread Matthijs Kooijman
Hey Tijs, In general it's good to inform/promise the compiler when the program is not going to change data (using const). However, you'll have to adjust to the function definition types of the other functions that you are going to use in your new function. [Snip example code]

Re: [OpenWrt-Devel] Sprint 4G Wimax

2013-03-07 Thread Russell Senior
Dan == Dan Therrien dtherri...@gmail.com writes: DanGreetings, Has anyone created a package/makefile to compile Dan Sprints 4G Wimax Drivers + supporting Programs? Which are ... where, exactly? -- Russell Senior, President russ...@personaltelco.net

Re: [OpenWrt-Devel] Sprint 4G Wimax

2013-03-07 Thread Dan Therrien
The Sprint Drivers are located here under GPL http://developer.sprint.com/getDocument.do?docId=101032 Dan On Thu, Mar 7, 2013 at 12:37 PM, Russell Senior russ...@personaltelco.netwrote: Dan == Dan Therrien dtherri...@gmail.com writes: DanGreetings, Has anyone created a

Re: [OpenWrt-Devel] c question (for a patch..)

2013-03-07 Thread Alexander Stadler
Am 07.03.2013 17:25, schrieb Tijs Van Buggenhout: On Thursday 07 March 2013 16:39:33 Alexander Stadler wrote: Am 07.03.2013 16:24, schrieb Matthijs Kooijman: Hi Alexander, Hi Tijs, just read after I've sent my last Message.. . The next thought was that ARRAY_SIZE macro must get an array and

[OpenWrt-Devel] [PATCH v2 003/003] [ar71xx] add profile support for dir-835-a1

2013-03-07 Thread Alexander Stadler
From: Alexander Stadler sa.mailli...@univie.ac.at profile support for dir-835-a1 Signed-off-by: Alexander Stadler sa.mailli...@univie.ac.at --- support implemented within the mach-dir-825-c1.c like requested diff -urN a/target/linux/ar71xx/generic/profiles/d-link.mk

[OpenWrt-Devel] [PATCH v2 002/003] [ar71xx] add user space support for dir-835-a1

2013-03-07 Thread Alexander Stadler
From: Alexander Stadler sa.mailli...@univie.ac.at user space support for dir-835-a1 Signed-off-by: Alexander Stadler sa.mailli...@univie.ac.at --- support implemented within the mach-dir-825-c1.c like requested diff -urN a/target/linux/ar71xx/base-files/etc/diag.sh

[OpenWrt-Devel] [PATCH v2 001/003] [ar71xx] add kernel support for dir-835-a1

2013-03-07 Thread Alexander Stadler
From: Alexander Stadler sa.mailli...@univie.ac.at kernel support for dir-835-a1 Signed-off-by: Alexander Stadler sa.mailli...@univie.ac.at --- support implemented within the mach-dir-825-c1.c like requested diff -urN a/target/linux/ar71xx/files/arch/mips/ath79/mach-dir-825-c1.c

Re: [OpenWrt-Devel] Init script

2013-03-07 Thread Sivateja Patibandla
Hi Bastian, Thank you for the information. I enabled paging of anonymous memory option and now I'm able to see the swap memory being used. But the system still freezes at least 40% of the times I tested. It freezes in the first 5 min of the boot up or it will never freeze. I also see that most

Re: [OpenWrt-Devel] om2p-hs: System lockup with 'ath: phy0: PLL4 meaurement not done' error

2013-03-07 Thread Paul van Gool
Marek, I have verified that r35506 does not have that problem. No more of that messages in dmesg, and I can see SSID beacons. Thanks! Paul On Thu, Mar 7, 2013 at 6:43 AM, Paul van Gool pvang...@gmail.com wrote: Thanks, Marek! I will try that revision. Paul On Thu, Mar 7, 2013 at 2:13

Re: [OpenWrt-Devel] om2p-hs: System lockup with 'ath: phy0: PLL4 meaurement not done' error

2013-03-07 Thread Marek Lindner
On Friday, March 08, 2013 10:28:01 Paul van Gool wrote: I have verified that r35506 does not have that problem. No more of that messages in dmesg, and I can see SSID beacons. You are welcome. I think AA could be fixed too if you contact the mac80211 maintainer to let him know about this

Re: [OpenWrt-Devel] Init script

2013-03-07 Thread Bastian Bittorf
* Sivateja Patibandla patibandl...@vcu.edu [08.03.2013 08:12]: But the system still freezes at least 40% of the times I tested. It freezes we also see freezes on all our atheros nodes, at least once a day, no matter if swap is used or not (we have some 32mb nodes also). problems. Does it