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 decison on how to get a tiny amount of additional space on the router
flash.
The instructions have been verified on the following setup:
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 <script> and </script> 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 yeilds about 80KB of
additional flash space on the router.
Suggestions and comments will be gladly accepted.
This is great, thanks for posting. I'd love to hear from community members as to this procedure: was it easy to do, was it effective, etc.