Our Contribution to OpenSource         

HOW-TO get additional flash space on the NETGEAR WGR614 by trimming the code
Author: Varuna E.


There could potentially be situations where you might need additional space on the flash to store the developed application.  Following instructions help to take a decision on how to get a tiny amount of additional space on the router flash.

The following instructions have been verified on the setup consisting of:

Netgear WGR614v9 router
Source code: Netgear WGR614v9-V1.2.6_18.0.17WW
Tool chain: hnd-tools-3.2.3
Tools: Telnetenable-0.3
Development system: Fedora 8 kernel 2.6.26


1. Edit …/src/router/busybox/Config.h and comment the following:

define BB_CP
define BB_PING
define BB_FEATURE_FANCY_PING
define BB_RMDIR

Note
: Prior to modifying the indicated files, please check if the services provided by the file are required in your setup.


2. Remove the code between the html tags and from the following files in the directory …/project/acos/www/html:

BKS_keyword.htm
BKS_service.htm
DNS_ddns.htm
FW_forward.htm
FW_forward_service.htm
FW_pt.htm
FW_pt_service.htm
FW_schedule.htm
FW_remote.htm
UPNP_upnp.htm
WAN_wan.htm
WIZ_sel.htm
WLG_wds.htm
WLG_wireless1.htm
WLG_wireless2.htm
WLG_wireless3.htm


Note: Prior to modifying the indicated files, please check if the services provided by the trimmed files are required in your setup.


3. Build the router section of the code under .../src/router using the following commands:

make clean
make
make install

Trimming of the above web pages and the router.h file yields about 80KB of additional flash space on the router.


<< back
     

Your feedback is warmly appreciated and we look forward to  Hear you at feedback at eudaemonicsystems dot net  or online at http://feedback.eudaemonicsystems.net


Simple, Specific & Insightful