README for the RouterTech.Org
Custom Firmware (v2.97)
DISCLAIMER: The RouterTech.Org
Custom Firmware is supplied WITH NO WARRANTIES WHATSOEVER.
NEITHER ROUTERTECH.ORG NOR ANY OF ITS
MEMBERS ACCEPTS LIABILITY FOR ANY LOSS OR DAMAGE CAUSED BY THE
USE OR THE PURPORTED USE OF THE
ROUTERTECH.ORG CUSTOM FIRMWARE, FOR ANY PURPOSE WHATSOEVER.
YOU USE THE ROUTERTECH.ORG CUSTOM
FIRMWARE ENTIRELY AT YOUR OWN RISK.
IF THESE TERMS ARE NOT ACCEPTABLE
TO YOU, THEN YOU MUST NOT ATTEMPT TO USE THE
FIRMWARE
AND YOU MUST DELETE THE FIRMWARE
AND ALL ACCOMPANYING FILES FROM YOUR DISKS IMMEDIATELY.
NOTE:
Using unofficial firmwares will void your warranty
- The RouterTech.Org
custom firmware was made possible by those manufacturers with products
based on the Texas Instruments (TI) AR7* platform
that were conscientous enough to release the GPL
source code to the firmwares, as required by the GPL
itself.
- The firmware for these routers is based on MontaVista Linux
(kernel 2.4.17_mvl21-malta-mips_fp_le), uClibc (0.9.19), BusyBox (1.x),
and a host of Linux networking stuff.
- All of these are of course GPLed
software.
- There are some proprietary TI software as well.
- Manufacturers such as Netgear,
and Linksys
and DLink,
Acorp
Russia, among others, provide links to the source code.
- Other manufacturers, fail, refuse, and/or neglect to comply
with the GPL
by release the source code for download. One can only hope that they
will soon see the error of their ways.
- This release of the RouterTech firmware is based on
unmodified GPL source code release from Acorp Russia,
which can be downloaded from here.
- The OpenWRT
project seeks to produce fully opensource firmware for the TI AR7
platform, but it's work is at an early stage.
PLATFORM
SUPPORT
This second release of the RouterTech firmware supports the AR7RD and
the AR7WRD platforms, thus:
- AR7RD:
1 or 4 ethernet ports, Marvell 88E6060 Switch, PSP or ADAM2 bootloader (the firmware images for each bootloader are different)
- AR7WRD:
4 ethernet ports, Marvell 88E6060 Switch, TNETW1130 wireless chip (make sure that your wireless router does indeed have this chip, and not the TNETW1350A or anything else), PSP or ADAM2 boot
loader (the firmware images for each bootloader are different)
- AR7WRD-1350A: 4 ethernet ports, Marvell 88E6060, Realtek RTL305SC, or IP175C switch, TNETW1350A wireless chip, PSP bootloader (this requires a different firmware image from the "standard" AR7WRD routers). NOTE: the DLink 2640T and its ADM6996M switch are NOT supported.
Development Tools
Since the AR7WRD and AR7RD firmwares are Linux-based, they can
be built using a gcc
cross-compiler and toolchain targetting the mipsle platform. The gcc cross-compiler used
for the RouterTech.Org
custom firmware is that released by the Russian D-Link site
(particularly, this).
Some things (e.g., Busybox-1.x) are built with a hand-crafted gcc-4.1.2
cross-compiler toolchain, based on an OpenWRT AR7-generated toolchain.
You will not be able to build these things without a modern version of
gcc (the ones based on gcc-2.95.3 are not up to the job). If you are in
this situation, then good luck. Please do not ask us for a copy of the
toolchain. You are free of course to download and build OpenWRT for
yourself, and then do something with the toolchain generated during the
build process.
Firmware building is not for the fainthearted. Unless you
don't mind converting your router into an expensive brick, you should
not mess around with this stuff.
Source Code
With the second (v2.x) release of the RouterTech firmware,
we
moved our codebase. Our code is now based on GPL source code from Acorp
Russia,
to which we have added our own customisations and our own tools and
utilities. As required by the GPL, the source code for all
asects
of our firmware that are covered by the GPL is available for download.
Check the release information on our
forum for details.
NOTE: we offer absolutely NO SUPPORT for building the firmware from source. Please do NOT ask any question on the RouterTech forum about building the firmware from source. Any such question WILL SIMPLY BE IGNORED.
UPGRADING
Upgrade instructions are available in the upgrade.html
file. Please be sure to read that file carefully (and this current one
too) before any attempt to upgrade your firmware.
Routers
based on the Texas Instruments AR7*
platform
There are many Routers based on the TI AR7WRD
and AR7RD
platforms, from all sorts of manufacturers (e.g., Netgear, DLink,
Linksys, Solwise, Roper, Safecom, Netcomm, and a host of
others).
Some are 100% identical internally to the ones supported by
this firmware (with regard to the hardware), and are therefore possibly
compatible with this custom firmware.
Some have significant differences (e.g., different switch,
only one ethernet port, instead of four, different flash chips, etc.)
and are therefore somewhat incompatible with this custom
firmware.
Some have the same hardware, but use a different boot loader
(e.g., Adam2, instead of PSP Boot).
The problem with different bootloaders has been resolved with respect
to both the AR7WRD and AR7RD routers in that we now have different
versions of the firmwares -
for PSP and for ADAM2. It is crucial to select the right firmware for the right bootloader.
These
are the features required for full
compatibility with the "standard" RouterTech
AR7WRD custom firmwares:
- The Texas Instruments AR7WRD
platform (SANGAM / AVALANCHE)
- TNETD7300GDU
- with a MIPS32
processor, DSP-based digital transceiver, ADSL analog
- Texas Instruments TNETW1130
wireless (TNETW1130
(ACX111) converged Single-Chip MAC and Baseband Processor
- The Marvell
88E6060 switch
- The PSPBoot or
the ADAM2
boot loader
- 4 ethernet ports
These
are the features required for full
compatibility with the "1350A" RouterTech
AR7WRD custom firmwares:
- The Texas Instruments AR7WRD
platform (SANGAM / AVALANCHE)
- TNETD7300GDU
- with a MIPS32
processor, DSP-based digital transceiver, ADSL analog
- Texas Instruments TNETW1350A
wireless converged Single-Chip MAC and Baseband Processor
- The Marvell
88E6060, Realtek RTL305SC, or IP175C switch
- The PSPBoot boot loader
- 4 ethernet ports
These
are the features required for full
compatibility with the RouterTech AR7RD custom
firmwares
- The Texas Instruments AR7RD
platform (SANGAM / AVALANCHE)
- TNETD7300GDU
- with a MIPS32
processor, DSP-based digital transceiver, ADSL analog
- The Marvell
88E6060 switch
- The PSPBoot or the ADAM2
boot loader
- 1 or 4 ethernet ports
COMMENTS:
A. Many routers have some level of compatibility (mainly at the cpu and OS
(Linux) level - meaning that programs compiled for the cpu will run on
all of them).
B. A significant minority have full compatibility (i.e., at the full
hardware and OS level, as described above - meaning that binary
firmwares meant for one will work on the others).
C. Some tools are available for AR7WRD routers (e.g.,
the RUC - see below). Most of these tools require a PC running Windows
XP. If you want to mess about with custom firmwares, then make sure
that you have an XP computer at your disposal.
WARNINGS
1. For those with wireless routers,
there are new batches of AR7WRD routers that do not use the
TNETW1130 wireless chip. It is important to ascertain correctly the
wireless chip in your router. Routers using the TNETW1130 chip require
a different firmware from those using the TNETW1350A.
Therefore, if you have a wireless router, you must first confirm whether your router has the TNETW1130 wireless chip, or the TNETW1350A wireless chip - e.g., by running "cat /proc/interrupts"
at a telnet/ssh login prompt and seeing the "TNETWxxx" value mentioned
there - if you do not see TNETW1130 in the
output, then you should look for TNETW1150. If you see that, then you
must select the firmware image for the TNETW1350A chip (i.e., the AR7WRD_1350A firmware).
The best way to check that your router is compatible, and ascertain what firmware image it needs, is to download and run the Router Upgrade Checker.
2. You must first run the command: "cat /proc/ticfg/env"
from a telnet/ssh login prompt, and check (and backup) its output,
before doing anything else. If the output of that command includes
anything like "WLAN_EEPROM0", "WLAN_EEPROM1", etc., then that is a sure sign that your router has a TNETW1350A wireless chip, and you must select the correct firmware image for that chip - otherwise, you WILL brick your router.
You are VERY STRONGLY advised to first run the Router Upgrade Checker (RUC)
before doing anything else, as this will save your environment for you,
and will also give you hints as to which firmware image is best suited
for your router. If you don't first run the RUC, and you brick your
router, you are on your own. In such a case, please do not come and ask
any questions in the forum.
3. The upgrade process for the wireless (AR7WRD) routers takes a VERY long time.
Particularly, for the AR7WRD_1350A firmwares, it will typically take at
least 7 minutes for the upgrade process to complete. At least 3 minutes
of this will be AFTER the progress bar has reached 100%. It is important to WAIT FOR AT LEAST 7 MINUTES before doing anything else.
If you are installing the AR7WRD_1350A firmwares, you'd better go and
boil the kettle, have a cup of tea, and take a little nap while waiting
for the firmware upgrade to complete!
4. While our firmwares will, for the time being, continue to support routers with the Adam2 bootloader, please note these points:
- Adam2 is seriously broken. In most relevant respects, Adam2's problems cannot be fixed, due to
problems in closed source binaries that we do not have the source
code for, and therefore cannot fix ourselves.
- There are several problems with Adam2-based routers that therefore cannot and will not be fixed.
- Fragmentation of the router's enviroment is a major problem with Adam2 routers. All
Adam2-based routers running their manufacturer's firmwares have
severely fragmented environments. This can cause all sorts of problems,
including the router being "bricked" when trying to upgrade the
firmware, or the router bricking itself spontaneously, and for no
obvious reason.
- The manufacturers all abandoned this bootloader several years ago, and for
very good reason. Our firmwares have extended the lives of many such
routers, but the inherent problems are still there.
- If people can change
their bootloader to PSP, then fine. However, this is something that
we do NOT recommend, because it is very difficult to achieve, and a
major brick (which would require a serial cable and/or JTAG to fix) is a very probable result of trying to do so.
- Those with Adam2-based routers may simply have to live with the problems of a broken bootloader.
5. RouterTech firmwares support both the ADAM2 and PSP
bootloaders. These bootloaders require different firmware images. If
you flash an Adam2-based firmware on a router with the PSP
bootloader, you WILL most certainly brick the router (and vice versa). That is, you must get the bootloader right. Never presume to know the bootloader that your router has. You must verify all things with the Router Upgrade Checker (RUC),
or (at the very least) by checking the bootloader version in the
router's environment. The RUC is the recommended way of getting this
information. If you use any other method, then you are on your own.
AR7WRD
Based on information available
on the internet, the routers below would seem to be compatible with
the AR7WRD
firmwares.
HOWEVER, YOU MUST ASCERTAIN
CORRECTLY THE [a] BOOTLOADER, AND [b] WIRELESS CHIP, AND [c] FLASH CHIP THAT YOUR ROUTER IS USING.
1. PSPBOOT-based
("standard" AR7WRD - using the TNETW1130 wireless chip):
2. PSPBOOT-based
(AR7WRD_1350A - using the TNETW1350A wireless chip):
- Acorp W422G
- Solwise SAR600EW (the "R" series only)
- Solwise SAR605EW
- Aztech DSL-605EW
- Safecom SWART2-54125 (the new series - the original series should ONLY be used with the standard AR7WRD firmware)
- PTI-8505G
- PLUSCOM AWR-7200
NOTES:
- The DLink 2640T is not supported by the RouterTech 1350A firmwares. Particularly, its ADM6996M switch is not supported. If you have this router, do NOT
install a RouterTech firmware on it. Anyone who chooses to
ignore this warning should not come to the forum to ask questions about
how to restore the "brick" that used to be his/her router. Such
questions will simply be ignored. You have been warned!
- With these 1350A firmwares, you may not be able to configure the individual ports manually (i.e., in most cases, only automatic configuration is possible).
3. ADAM2-based
(AR7WRD)
- note that the LEDs may not work correctly, as we only have a generic
led.conf file, and a specific one for the Solwise:
- Solwise
SAR-600EW (original series (i.e., the non-"R" series; the newer series use the TNETW1350A wireless chip and PSP boot loader - see above)
- Aztech
DSL 600EW - (same
as the Solwise?) - be VERY careful about upgrading the firmware of this router; some people have problems with it. Be sure to first read this: (Sar600EW) and this (Adam2 routers) before trying to upgrade your firmware
- Addon
SOHOSpeed/GWAR3000 (NOTE: some ADDONs have the PSP boot loader!)
- DLink G604T/G624T/G664T/G684T (the switches (IP175A)
in these routers cannot be configured manually from software). For the
G664T/G684T, you should change the dsp driver to the AnnexB version.
Note: this
firmware has NOT
been tested on most of these routers. If you flash it
onto your router, you do so AT YOUR OWN RISK!
OTHERS
- these may have crucial differences (e.g., using a different
and unsupported switch) at hardware level (they all seem to use
ADAM2). Do NOT try RouterTech firmwares on any of them!
- Netgear DG834G (any version)
- Linksys WAG54Gv2
- Sitecom WL-108
AR7RD
Based
on information available on the internet, the routers below would seem
to be compatible with
the AR7RD
firmwares.
HOWEVER, YOU MUST ASCERTAIN
CORRECTLY THE BOOTLOADER THAT YOUR ROUTER IS USING.
PSPBOOT-based
(AR7RD):
ADAM2-based
(AR7RD)
- note that the LEDs may not work correctly, as we only have a generic
led.conf file, and a specific one for the Solwise:
- Solwise
SAR-600ER (the original (i.e., non "R") series)
- Aztech
DSL 600ER (same as the Solwise?) - be VERY careful about upgrading the firmware of this router; some people have problems with it. Be sure to first read this: (Adam2 routers) before trying to upgrade your firmware
- Solwise/Aztech 600E (the original (i.e., non "R") series)
- UTSTARCOM UT300R2
- DLink DSL-300T/DSL-302T/DSL-500T/DSL-504T
Note: this
firmware has NOT
been tested on most of these routers. If you flash it
onto your router, you do so AT YOUR OWN RISK!
WARNING
- No
warranties are given as to the accuracy of the above information.
-
Some manufacturers have different bootloaders for routers
sold
under exactly the same name and model, and so the name and model of
your router is not a fool-proof guide to the bootloader that it is
using.
-
The only reliable way to ascertain your router's
bootloader is
to check the manufacturer's documentation that came with it. If it
doesn't contain that information, then you're out of luck.
-
You should stay well away from tinkering with
your router's firmwares, or you may well end up with an expensive brick!
For details of various routers and
their internal hardware specifications, see the hardware
tables here: http://wiki.openwrt.org/TableOfHardware
OTHER
WAYS OF ASCERTAINING THE BOOTLOADER
In order to ascertain the
bootloader that your
router is using, you should telnet or ssh to the router - e.g., by
running the command "telnet
192.168.1.1". The username is "root", and the password is
the one that you use for the web configuration login (the default
is Admin).
Then run the command:
cat /proc/ticfg/env
- If the "bootloaderVersion" is 1.2.x (or 1.3.x or 1.4.x), and the "PROMPT"
contains
something like "psbl" then your router is using the PSP bootloader.
- If the "bootloaderVersion" is 0.2x.xx and there is an entry for
"my_ipaddress", then your router is using the Adam2 bootloader.
PRECAUTIONS
BEFORE you try
upgrading to this firmware, you are advised to take the following
precautions:
1. Run the Router Upgrade Checker (RUC). DO NOT SKIP THIS STEP.
2. Run the command: "cat
/proc/ticfg/env"
(as above). Save the output of that command to a file on your PC's hard
drive, so that you have a record of the original contents of your
router's environment variables in case the need arises to restore them
later.
3. Check that the
environment variable called "IPA"
(or "my_ipaddress"
for Adam2-based routers) is set to 192.168.1.1 (or to whatever you use normally) - and, if not,
then set it to 192.168.1.1 (or to whatever you use normally). This is
how to do it (from the router's shell command line):
Code (for PSP bootloader): |
echo "IPA 192.168.1.1"
> /proc/ticfg/env |
Code (for ADAM2 bootloader): |
echo "my_ipaddress 192.168.1.1"
> /proc/sys/dev/adam2/environment |
4. Backup your current firmware (or at least ensure that you have a
backup copy of a working firmware), backup your current configuration
(config.bin).
5. Obtain and install at least two different versions
of the PCTool (not to make any changes
but just connect) to the router with it, so that you can get a 'feel'
for the timing etc. You will need the PCTool to recover the router if
the firmware upgrade process goes wrong, and "bricks" your router. Make
sure you are very familiar with using the PCTool, before trying to
upgrade. DO NOT SKIP THIS STEP.
Note - for Adam2 routers, PC Tool v2.1 is normally the best, while PC
Tool v2.3 is normally the best for psp bootloader routers.
You can obtain the PCTool
here: http://www.routertech.org/viewtopic.php?t=335
IF SOMETHING GOES WRONG,
and your router becomes a "brick"
You will need to attempt a rescue. See the details here: http://www.routertech.org/viewtopic.php?t=242
(and other instructions in the "PCTool" link above).
NOTES: see these