[OpenWrt-Devel] dev.openwrt.org 504 Gateway Time-out

2011-12-23 Thread ZioPRoTo (Saverio Proto)
Hello,

from about 16 hours now I cannot browse smoothly dev.openwrt.org ..

most of the time I get

504 Gateway Time-out

Saverio
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] Belkin F5D8235-4 v1

2011-12-23 Thread Gabor Juhos
Hi,

 Support for Belkin F5D8235-4 v1 (RT288x)
 works: 
 - switch
 - buttons
 - some leds
 
 does not work:
 - USB (not supported by RT288XX)
 - WLAN
 
 Based on r29397
 
 Signed-off-by: Cezary Jackiewicz cezary.jackiew...@gmail.com

The patch seems good, except the flash handling part. See my comments below.

...
 --- target/linux/ramips/files/arch/mips/ralink/rt288x/devices.c
 +++ target/linux/ramips/files/arch/mips/ralink/rt288x/devices.c
 @@ -56,6 +56,21 @@
   .num_resources  = ARRAY_SIZE(rt288x_flash1_resources),
  };
  
 +static struct resource rt288x_flash8_resources[] = {
 + {
 + .flags  = IORESOURCE_MEM,
 + .start  = KSEG1ADDR(RT2880_FLASH0_BASE),
 + .end= KSEG1ADDR(RT2880_FLASH0_BASE) +
 +  RT2880_FLASH8_SIZE - 1,
 + },
 +};

This seems wrong. This defines a memory resource from 0x1fc0 to 0x2040.
However that overlaps with the PCI memory space, which starts at 0x2000 on
the RT2880. I'm wondering how you are able to read the whole flash with this.

Maybe this is the reason why you can't use the USB host controller connected to
the PCI bus.

 +
 +static struct platform_device rt288x_flash8_device = {
 + .name   = physmap-flash,
 + .resource   = rt288x_flash8_resources,
 + .num_resources  = ARRAY_SIZE(rt288x_flash8_resources),
 +};
 +
  static int rt288x_flash_instance __initdata;
  void __init rt288x_register_flash(unsigned int id,
 struct physmap_flash_data *pdata)
 @@ -73,6 +88,10 @@
   pdev = rt288x_flash1_device;
   reg = MEMC_REG_FLASH_CFG1;
   break;
 + case 8:

Please don't add an invalid entry here. The 'id' argument of the
'rt288x_register_flash' function means the id of the built-in flash controller,
and the RT2880 has only two of such controllers.

-Gabor
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] packages for updated e1000/e1000e driver from SF

2011-12-23 Thread Kristian Kielhofner
On Thu, Dec 22, 2011 at 10:00 AM, Mark Deneen mden...@gmail.com wrote:

 +1

 We had troubles with the adapter resetting itself in certain
 situations with the in-tree driver.  Outside of the OpenWrt world, of
 course.

Same here, except I was using OpenWRT on x86.  Switching to the Intel
driver has resolved all of our issues.

-- 
Kristian Kielhofner
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] Belkin F5D8235-4 v1

2011-12-23 Thread Cezary Jackiewicz
Dnia 2011-12-23, o godz. 15:13:21
Gabor Juhos juh...@openwrt.org napisał(a):

 Please don't add an invalid entry here. The 'id' argument of the
 'rt288x_register_flash' function means the id of the built-in flash 
 controller,
 and the RT2880 has only two of such controllers.

So, what should be the proper way of handling 8MB flash on rt288x?

-- 
Pozdrawiam,
 Cezary Jackiewicz
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] Likely race between sysctl and pppd

2011-12-23 Thread David Newall
I'm running 10.03.1 with kmod-ipv6, radvd and wide-dhcp6-client on a 
DG834 (ar7) and I think I've discovered a race between something -- 
perhaps pppd -- and sysctl.  IPv6 is enabled on the ppp link, but I get 
no global IPv6 address when it's brought up.  After much tracing, I find 
that I do get a global address if I insert a five second sleep (or so) 
in /etc/hotplug.d/iface/10-routes before:


   do_sysctl net.ipv6.conf.$DEVICE.accept_ra $accept_ra

Inserting the sleep after that line leaves me with no global address (as 
per unmodified file.)


Relevant parts of /etc/config/network are:

   config 'atm-bridge'
option 'unit' '0'
option 'atmdev' '0'
option 'encaps' 'llc'
option 'payload' 'bridged'
option 'vci' '35'
option 'vpi' '8'

   config 'interface' 'wan'
option 'proto' 'pppoe'
option 'ifname' 'nas0'
option 'username' 'deleted'
option 'password' 'deleted'
option 'ipv6' '1'


Without the global address, dhcp6c gets a prefix delegation when the 
link is brought up, but is unable to renew it when the lease expires.

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] ar9390 failing AGC calibration on powerpc platform

2011-12-23 Thread Adrian Chadd
Is it this bad behaved in 5ghz mode?


adrian

On 23 December 2011 01:03, wireless newbie wnewbi...@gmail.com wrote:
 iw wlan0 survey dump

 Here is what I got. Looks like its busy most of the time, doesn't it?

 Survey data from wlan0
        frequency:                      2412 MHz
        channel active time:            139291 ms
        channel busy time:              135849 ms
        channel receive time:           0 ms
        channel transmit time:          0 ms
 Survey data from wlan0
        frequency:                      2417 MHz
 Survey data from wlan0
        frequency:                      2422 MHz
 Survey data from wlan0
        frequency:                      2427 MHz
 Survey data from wlan0
        frequency:                      2432 MHz
 Survey data from wlan0
        frequency:                      2437 MHz
 Survey data from wlan0
        frequency:                      2442 MHz
 Survey data from wlan0
        frequency:                      2447 MHz
 Survey data from wlan0
        frequency:                      2452 MHz
 Survey data from wlan0
        frequency:                      2457 MHz
 Survey data from wlan0
        frequency:                      2462 MHz
 Survey data from wlan0
        frequency:                      5180 MHz
 Survey data from wlan0
        frequency:                      5200 MHz
 Survey data from wlan0
        frequency:                      5220 MHz
 Survey data from wlan0
        frequency:                      5240 MHz
 Survey data from wlan0
        frequency:                      5745 MHz
 Survey data from wlan0
        frequency:                      5765 MHz
 Survey data from wlan0
        frequency:                      5785 MHz
 Survey data from wlan0
        frequency:                      5805 MHz
 Survey data from wlan0
        frequency:                      5825 MHz
 --
 To unsubscribe from this list: send the line unsubscribe linux-wireless in
 the body of a message to majord...@vger.kernel.org
 More majordomo info at  http://vger.kernel.org/majordomo-info.html
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] Kernel patch in trunk to support brcm47xx BCMA USB

2011-12-23 Thread Hauke Mehrtens
Hi Tathagata,

I found an error in my initialization code for usb cores with rev = 5
like yours. Could you please try a version with my fix in r29605.

Hauke

On 12/23/2011 08:37 AM, Tathagata Das wrote:
 I tested USB with latest trunk (revision number 29600) and it did not
 work. When I attached my USB drive to the board I received below error
 messages.
 
 [  410.408000] usb 1-1: new high speed USB device number 2 using
 ehci-platform
 [  410.584000] usb 1-1: unable to read config index 0 descriptor/start: -71
 [  410.588000] usb 1-1: chopping to 0 config(s)
 [  410.604000] usb 1-1: string descriptor 0 read error: -71
 [  410.608000] usb 1-1: no configuration chosen from 0 choices
 
 However with my USB patch I can mount the same USB drive.
 
 Regards,
 Tathagata
 
 On 12/23/2011 02:26 AM, Hauke Mehrtens wrote:
 On 12/14/2011 06:19 AM, Tathagata Das wrote:
 Hi,
 Attached is the kernel patch to support brcm47xx BCMA USB (both OHCI and
 EHCI).
 I have used latest trunk source code to create this patch.

 Regards,
 Tathagatatathag...@alumnux.com
 Hi Tathagata,

 I added my USB Host driver for bcma in commit r29575. The hole
 architecture with the ohci driver starting the ehci driver was crap and
 would never be accepted in mainline kernel. I will try to push this into
 mainline kernel.

 Your patch for USB support is rejected then.

 Please try recent trunk and report a problem if USB does not work as
 expected.

 Hauke


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] uuencode needed for luci-app-pbx-voicemail

2011-12-23 Thread i iordanov
Hello,

I opened this feature request a few weeks ago:

https://dev.openwrt.org/ticket/10524

and was wondering whether there is any chance that the uuencode applet
can be enabled for busybox. I need to send voicemail recorded by
asterisk (as set up by luci-app-pbx-voicemail) as an email attachment,
and I need it.

Many thanks,
Iordan

-- 
The conscious mind has only one thread of execution.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel