WNR3500L Open Source Guide & Resources (Page 1 of 5)
Categories: Setup / Configuration Troubleshooting
NETGEAR WNR3500L Open Source Wireless N (Draft) Router Open Source Guide & Resources
Chipsets:CPU: Broadcom BCM4718 (Draft IEEE 802.11n compliant)
- Four way set associative 32-KB instruction cache
- Two way set associative 32-KB data cache
- 64 entry translation look aside buffer (TLB)
- Dual band radio transceiver
- Two integrated USB 2.0 EHCI host ports
- A 8/16-bit parallel external bus interface (EBI)
- Enhanced 10/100/1000 Ethernet MAC controller with TCP segmentation and checksum upload
Switch : Broadcom BCM53115s
- It enables deployment of GIGABIT ethernet.
- It contains non-blocking 5-port 10/100/1000 switch silicon that integrates
- Five 10/100/1000 PHYs.
- Two fully integrated GMII/RGMII/MII interfaces , two IMPs (Inband management ports)
- It provides four selectable QoS per port .
Memory
- SDRAM: 64 MB
- Flash : 8 MB
Memory used by the latest router firmware:
SDRAM :
- Flash : 5.2 MB
Module and Software Specification
- WNR3500L is running Linux 2.4.20.
The following table lists the functional modules of the WNR3500L router and the source and versions of the different modules. More information on these functional modules can be obtained directly from the source of the packages.
| Module | Package | Version | Location |
| DHCP Client | Copyright (C) 1999 Matthew Ramsay <matthewr@moreton.com.au>, Chris Trew <ctrew@moreton.com.au> | 0.9.8 | src/router/udhcpd/ |
| DHCP server | Copyright (C) 1999 Matthew Ramsay <matthewr@moreton.com.au>, Chris Trew <ctrew@moreton.com.au> | 0.9.8 | src/router/udhcpd/ |
| DNS Proxy | Copyright (c) 2000 Simon Kelley | 1.10 | src/router/dnsmasq/ |
| VLAN | Copyright (C) 2001 Ben Greear | 1.6 | src/router/vlan |
| Wireless Driver | Broadcom | Precompiled | src/wl/linux |
| UPnP | Copyright (C) 2008, Broadcom Corporation | Precompiled | src/router/bcmupnp/upnp |
| Bridge | Copyright (C) 2000 Lennert Buytenhek | 1.1.1.1 | src/router/bridge/ |
| Busybox | Copyright (C) 1999,2000,2001 Erik Andersen | 0.60.0 | src/router/busybox/ |
| DHCPv6 client/server | Copyright (C) 1998 and 1999 WIDE Project. | 1.1.1.1 | src/router/dhcp6/ |
| Web server | Copyright © 1999,2000 by Jef Poskanzer | Precompiled | src/router/httpd/ |
| IGMP | Copyright (C) 2008, Broadcom Corporation | Precompiled | src/router/igmp/prebuilt |
| IPTABLES | Copyright (C) 2000-2002 by the netfilter coreteam , Paul 'Rusty' Russell ,Marc Boucher, James Morris, Harald Welte , Jozsef Kadlecsik | 1.2.7a | src/router/iptables/ |
| NTP client | Copyright 1997, 1999, 2000 Larry Doolittle |
| src/router/ntpclient/ |
| PPP | Copyright (c) 1989 The Carnegie Mellon University | 2.3.11 | src/router/ppp/ |
| Router Advertisement daemon(radvd) | Copyright 1996-2000 Pedro Roque, Lars Fenneberg | 0.9.1 | src/router/radvd/ |
| User init | Copyright (C) 1995, 1996 by Bruce Perens |
| src/router/busybox/init.c |
| ifconfig utility | Bjorn Wesen, Axis Communications AB | 1.2 | src/router/busybox/ifconfig.c |
| Ethernet Driver | Broadcom | precompiled | src/et/linux/ |
Making a Console Debug Interface for WNR3500L
Source Code and Executable:
This section describes the steps to download the source code and toolchain, install the toolchain, compile and link the existing source code, and add user applications. FC6 was used for development throughout this guide.
1. Download the complete archive from NETGEAR web site.
2. Unpack the source code.
3. Install the tool chain using following steps :
- cd /opt
- mkdir brcm
- cp hnd-tools-3.2.3.tgz to /opt/brcm
- tar -zxvf hnd-tools-3.2.3.tgz
- export PATH = /opt/brcm/hndtools-mipsel-uclibc-3.2.3/bin : $PATH and
- export PATH = /opt/brcm/hndtools-mipsel-linux-3.2.3/bin : $PATH
4 . Compile the source code:
- Go to src/router folder of your source distribution.
- Give make menuconfig to select router packages and linux components that should be compiled.
- Save the cusomized router package and linux kernel configuration and exit.
- Run make dep.
- From src/ directory give “make” to compile the code . This will create a .trx file in the image/ directory which should be flashed to WNR3500U.
Custom Applications on Open Source Router:
To develop any custom applications on this router, please follow the following steps.
Adding new applications :
- Copy application XXX in the directory src/router.
- Rename the application directory to xxx.
- Add the new application to the file src/router/config/Config
config CONFIG_XXX
bool "XXX Application"
depends on YYY (If depends on YYY otherwise skip the line)
help “This is the New Application”
Answer Y for application XXX.
- Add the new application in the file src/router/Makefile
...
obj-$(CONFIG_XXX) += xxx
...
- Write a make file in xxx directory as required for the application. Also keep in mind that the executable name must be xxx.
RSS
