Gateway 7001 B/G or A/B/G Router
Gateway's single or dual band access point with two ethernet ports. I only own the A/B/G version so I am unsure about the hardware configuration for the B/G model. The flashing instructions should be the same.
Hardware Highlights
| CPU | Ram | Flash | Network | USB | Serial | JTag |
|---|---|---|---|---|---|---|
| Intel IXP422 | 32MB | 8MB | 2 | No | Yes | Yes |
Hardware
Info
| Architecture: Intel XScale-IXP425/IXC1100 revision 1 |
| Vendor: Gateway |
| Bootloader: Redboot version 1.92 - built 17:26:35, Dec 4 2003 |
| System-On-Chip: ?? |
| Flash-Chip: ?? |
| Flash size: 8 MB |
| RAM: 32 MB |
| Wireless: Atheros B/G optional A |
| Ethernet: 2 |
| USB: No |
| Serial: Yes |
Opening the case
Note: This will void your warranty!
- Remove the four obvious screws on the bottom of the case
- Gently separate the case
- You will see the serial header near the center of the PC board
Photos
Serial
There is an 4 pin header near center of the board The pinout is:
- Rx
- (no pin)
- VCC
- GND
- Tx
Baud: 115200 , 8 bits of data, no parity (8N1)
Installation
Overview
Unfortunately the firmware update feature in the Gateway software does not work with OpenWrt and Redboot's telnet has been crippled as it does not ship with a default IP address. To install OpenWrt you need to access the console via the serial port and upload OpenWrt with a TFTP server. It is assumed the user has basic networking and terminal experience. If you don't understand a concept or know how to change a setting (ie you computer IP) this should be easy to find in the Forum or Google.
Preparation
Hardware
- Philips screwdriver to open the case
- TTL Serial Level Converter or compatible adapter
- Serial cable
- Ethernet crossover cable or Ethernet switch
Software
- TFTP server program
- openwrt-gateway7001-zImage
- openwrt-ixp4xx-squashfs.img
Serial Connection
Determine how you will interface with the serial port in the 7001. This port is driven at TTL levels (3.3 volts) so it is not directly compatible with standard computer serial ports. For more information and a good write up on different TTL converter options see the NSLU2 wiki. please note the pin outs are different between the NSLU2 and the 7001
Once you have the appropriate interface you need to connect to the 7001 header, this can be done by obtaining a connector or simply wire wrapping. You will not need this for long, but do not short between pins or to anything else on the board.
With the serial port connected to your computer and the 7001 powered off open your favorite terminal program and connect on the serial port at 115200 Baud, 8 bits of data, no parity (8N1). Power on the the 7001 and you should see the boot sequence. Let this run to ensure everything is working.
Permanently Enable Telnet
With your terminal program still connected, cycle the power by removing and replacing the power cable.
As soon as the boot sequence starts press Ctrl-C to enter the Redboot command line
You should see
RedBoot>
To view the default boot configuration enter
fconfig -l
Run script at boot: true Boot script: .. fis load kernel .. exec Boot script timeout (1000ms resolution): 1 Use BOOTP for network configuration: false Gateway IP address: 0.0.0.0 Local IP address: 0.0.0.0 Local IP address mask: 0.0.0.0 Default server IP address: 0.0.0.0 Console baud rate: 115200 DNS server IP address: 0.0.0.0 GDB connection port: 9000 Force console for special debug messages: false Network debug at boot time: false Default network device: npe_eth0 Network hardware address [MAC] for NPE eth0: Network hardware address [MAC] for NPE eth1:
notice the IP addresses are all 0.0.0.0, this is what is preventing telnet. To permanently change this enter
fconfig
you will see
Run script at boot: true
do not change
Boot script:
Enter the following script
fis load kernel exec
Terminate with empty line
Boot script timeout (1000ms resolution): 5
this is the number of seconds Redboot delays boot and waits for communication. Change to 5 to make it easier to connect
Use BOOTP for network configuration: false
do not change
Gateway IP address:
do not change
Local IP address: 192.168.0.1
set Redboot's IP address (this is unrelated to the OpenWrt install) and will only be used to telnet in to make changes and upgrades
Local IP address mask: 255.255.255.0
set the subnet mask
Default server IP address: 192.168.0.2
set the server address you will upload OpenWrt from
Console baud rate: 115200
do not change
DNS server IP address:
do not change
GDB connection port: 9000
do not change
Force console for special debug messages: false
do not change
Network debug at boot time: false
do not change
Default network device: npe_eth0
do not change
Network hardware address [MAC] for NPE eth0: 0x00:0x00:0x83:0x38:0x50:0x02
do not change
Network hardware address [MAC] for NPE eth1: 0x00:0x00:0x83:0x60:0x50:0x01
do not change
Update RedBoot non-volatile configuration - continue (y/n)? y
type y to save
... Unlock from 0x507c0000-0x507c1000: . ... Erase from 0x507c0000-0x507c1000: . ... Program from 0x01fd2000-0x01fd3000 at 0x507c0000: . ... Lock from 0x507c0000-0x507c1000: . Redboot> reset
reset the device
Now when Redboot initializes it will be listening at IP 192.168.0.1 on port 9000 for 5 seconds before it executes the boot script.
To continue to connect via Telnet make sure you press Ctrl-C to enter the Redboot command line as the 7001 reboots.
Confirm Telnet Access
Ensure you are logged into the Redboot terminal via the serial console as instructed when you enabled Telnet access. Ensure your computer's TCP/IP address is set to 192.168.0.2 (the IP you set as the Default Server IP) and any networking devices besides your main ethernet connection are off (including wireless connections). Using a crossover cable or switch (not connected to any other devices) connect you computer to the 7001 ethernet port labeled LAN 2.
In your terminal program connected to Redboot via the serial port enter
Redboot> ip_address
confirm that Redboot is using the 192.168.0.1/255.255.255.0 if everything checks out try and ping your machine
Redboot> ping -h 192.168.0.2
wait a few seconds until you see
PING - received 10 of 10 expected
If you see 0 of 10 expected you need to troubleshoot the connection, check your cabling, and the address of the computer your are trying to ping.
If that is successful, from your computer ping the 7001 at 192.168.0.1 With a successful ping you have now enabled the ability to telnet into the 7001.
Let's double check that telnet is working before starting the OpenWrt install. With your favorite telnet application telnet to 192.168.0.1 port 9000 you should receive the Redboot prompt.
For more information about Telnet and Redboot please read the NSLU2 wiki on Redboot Access
Factory firmware boot log
inbox/gateway.7001.txt · Last modified: 2010/02/11 16:44 by madsolder

