[OpenWrt-Devel] Reproducing http://downloads.openwrt.org/snapshots/trunk/

2012-09-15 Thread Benjamin Henrion
Hi,

I would like to reproduce what is available on snapshots, and
regenerated everyday:

http://downloads.openwrt.org/snapshots/trunk/

Any idea what is the config/scripts that you use to generate this directory?

Best,

-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH, AA12.09-beta, ramips] D-Link DAP-1350; Avoid bricking esw config

2012-09-15 Thread LEO Airwarosu Yoichi Shinoda
This is a patch to connect eth0.1 (lan) to the only
ethernet connector available. 

D-Link DAP-1350 goes bricked with AA 12.09-beta.

This is because the current esw configuration for the
board connects eth0.2 (wan) to the *ONE and ONLY*
ethernet connector available, preventing initial access
to the board through 192.168.1.1 on eth0.1 after flashing,
effectively bricking the board.

There are things that should be done to make this board
really useful, but for AA 12.09, this one liner is
indispensable.

Signed of by Yoichi Shinoda shin...@jaist.ac.jp

---
 .../files/arch/mips/ralink/rt305x/mach-dap-1350.c  |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dap-1350.c 
b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dap-1350.c
index cd5d6ae..42d3ebe 100644
--- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dap-1350.c
+++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-dap-1350.c
@@ -79,7 +79,7 @@ static void __init dap_1350_init(void)
 
rt305x_register_flash(0);
 
-   rt305x_esw_data.vlan_config = RT305X_ESW_VLAN_CONFIG_W;
+   rt305x_esw_data.vlan_config = RT305X_ESW_VLAN_CONFIG_W;
rt305x_register_ethernet();
ramips_register_gpio_leds(-1, ARRAY_SIZE(dap_1350_leds_gpio),
  dap_1350_leds_gpio);
-- 


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


Re: [OpenWrt-Devel] [PATCH] ag71xx: Added support for larger frames

2012-09-15 Thread Antonio Quartulli
On Fri, Sep 14, 2012 at 01:58:27 +0200, Felix Fietkau wrote:
 On 2012-09-14 9:14 AM, Antonio Quartulli wrote:
  This patch introduces the possibility to modify the MTU of the Ethernet
  interface with a maximum value of 2024 (as reported in RouterOS). The real 
  MTU
  value applicable to the interface is computed as difference between the 
  maximum
  frame length (2024) minus some overhead.
  
  The default MTU size is unchanged; if large frames are desired, ifconfig
  must be used to set the new MTU.
 I think we need to do some thorough tests with different chips. From
 experiments I remember that the behavior when sending and receiving
 large frames is different in ar716x vs ar724x. Some chips can handle
 bigger frames than others, some don't respond well to anything that's
 30-40 bytes longer than the regular packet size.

Here[1] we have the values of the supported MTU per board. For the board that we
know what chip is used we could customize the driver and set the proper MTU?

E.g. I have a RB2011L and this board uses the AG71xx driver for eth0 and eth1,
but they have different MTUs. How can I find out what chipset each interface
uses? Once I know this I could parametrize the driver.

Cheer,

[1]
http://wiki.mikrotik.com/wiki/Manual:Maximum_Transmission_Unit_on_RouterBoards

 
 - Felix

-- 
Antonio Quartulli

..each of us alone is worth nothing..
Ernesto Che Guevara


pgppIlt9vYuzf.pgp
Description: PGP signature
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH, AA12.09-beta, ramips] D-Link DAP-1350; Avoid bricking esw config

2012-09-15 Thread John Crispin

On 15/09/12 10:32, LEO Airwarosu Yoichi Shinoda wrote:

This is a patch to connect eth0.1 (lan) to the only
ethernet connector available.


Thanks, applied ..

John



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


Re: [OpenWrt-Devel] [PATCH] ramips/rt3883: fix a typo in the ASUS profile

2012-09-15 Thread John Crispin

On 15/09/12 03:33, Daniel Golle wrote:

Signed-off-by: Daniel Golledgo...@allnet.de


Thanks, applied ...

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


[OpenWrt-Devel] Slide switches and gpio-buttons

2012-09-15 Thread LEO Airwarosu Yoichi Shinoda
Hi List,

I started to believe that slide switches available in
various boards should not be handled with gpio-buttons,
as we have to know states, not activities, of the gpios
if we really want to give them some positional semantics.

Is there any example of implementing the positional
switch using, say gpio-buttons + hotplug?

Does gpio-keys-polled works simultaneously with
gpio-buttons + hotplug?
(Is there any reference material for the gpio-keys-polled
facility?)

Is there any kmod that encodes multiple gpio states
into a single value?

Any comments and pointers will be greatly appreciated.

Regards,

--- shinoda


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