AVM FRITZ!Box Fon WLAN 7170
Other resources
- As the device seems not to be fully supported by OpenWrt, you may want to take a look at the Freetz project, which adds extended features to the original AVM firmware.
- There is a free DSP Compiler available.
- A good reference for more information is also the inofficial AVM Wiki (german), specifically Fritz!Box 7170.
Status
As of time of 22nd Nov 2010 developers say that:
- Wireless stability is supposedly almost done
- No dsl rewrite is needed (afaik)
- Usb client support is trivial to add
- Usb host support is in low demand
As of 20/12/2015 there doesn't seem to be any kind of support for this device.
There's no sign of life in the OpenWrt forum, nor any changeset specifically related to this device. --- tmomas 2015/12/20 00:41
Some old builds that work for me can be found here: http://schwart6.home.xs4all.nl/fritzbox_7170/. -- jschwart 2016/12/17
Latest work version is Backfire 10.3.1.
Hardware versions
Version/Model | Launch Date | S/N | OpenWrt Version Supported | Model Specific Notes | Annex |
---|---|---|---|---|---|
v1 | 2006-01 | 2000 2329 | untested | 3x Phone via one RJ-12 socket | ? |
v2 | ? | 2000 2361 | untested | 2x Phone via RJ-12 sockets, 1x via marshaling panel | ? |
? | ? | 2000 2397 | untested | 2x Phone via RJ-12 sockets, 1x via marshaling panel | A |
Hardware summary
SoC | AR7 Ohio @ 212MHz | Texas Instruments TNETD7300ZDW or Infineon/Lantiq PSB7200ZDW |
---|---|---|
CPU | 32-bit MIPSEL RISC CPU with MIPS 4KEc (?) | |
RAM | 32 MiB Sync DRAM | Zentel A3V56S40FTP-G6 |
Flash | 8 MiB | Spansion S29GL064N90TF103 |
Flash layout | Hidden root | |
Bootloader | ADAM2/EVA | |
Ethernet | 4 x 100 Mbit/s | Infineon ADM6996FC |
Phone | 2x or 3x RJ12 | Litelink CPC5621A |
DSL | ADSL2/2+ | |
USB | 1x USB 1.1 | |
Serial console | onboard | |
JTAG | onboard |
See also:
Firmware
Only the squashfs version works. The jffs2 image won't boot.
Stock firmware source: AVM's sourcecode
Flash Layout
The default flash layout of the AVM firmware is Hidden Root
Please check out the article flash.layout. It contains an example and a couple of explanations.
mtd0 0x90000000,0x90000000 mtd1 0x90010000,0x90780000 mtd2 0x90000000,0x90010000 mtd3 0x90780000,0x907C0000 mtd4 0x907C0000,0x90800000
Flash Backup, using the ADAM2/EVA-Bootloader
Before changing anything you should backup flash content. mtd1-4 are the single partitions.
- Configure your PC to the static IP-Address 192.168.178.5/24 and set the default route to 192.168.178.254
- Remove the power plug of the router.
- Open a terminal
- type:
$ ftp 192.168.178.1
- Provide credentials, user: adam2, password: adam2
bin debug quote MEDIA FLSH get mtd1 get mtd2 get mtd3 get mtd4 quit
Now you will find 4 files (mtd1-4) with the content of the flash as backup.
Uploading a firmware, using the ADAM2/EVA-Bootloader
The fritz-flash script [DEAD LINK --- tmomas 2015/12/20 00:46] is one simple way to install Openwrt. This script is most likely similar (if not the same) to the one behind the dead link. The fritz-flash script has been further developed as part of the freetz project, but the latest version is untested with OpenWrt.
The steps to install OpenWrt are:
- Configure your PC to the static IP-Address 192.168.178.5/24 and set the default route to 192.168.178.254
- Remove the power plug of the router.
- Open a terminal
- with fritz-flash type:
./fritz-flash -f openwrt-EVA-2.6-squashfs.bin
- without fritz-flash type:
ftp 192.168.178.1 bin passive quote MEDIA FLSH put openwrt-EVA-2.6-squashfs.bin mtd1 quote REBOOT exit
- Reinsert the power plug.
Upgrading OpenWrt
Basic configuration
→ Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.
Specific Configuration
DSL
Telephone system
Failsafe mode
Buttons
→ hardware.button on howto use and configure the hardware button(s).
BUTTON | Event |
---|---|
WLAN | ? |
Details
/proc/cpuinfo
system type : MIPS OHIO
processor : 0
cpu model : MIPS 4KEc V4.8
BogoMIPS : 211.35
wait instruction : yes
microsecond timers : yes
tlb_entries : 16
extra interrupt vector : yes
hardware watchpoint : yes
VCED exceptions : not available
VCEI exceptions : not available
|
Photos
Opening the case
- Note: This will void your warranty
- To remove the cover, use a flat screwdriver, to remove the clasps from the notches on the bottom. No screws present to unscrew.
Main PCB
Serial
→ port.serial general information about the serial port, serial port cable, etc.
Do not connect USB UART (TTL) adapter like shown here (it will get broken) → see marked 4 dots in JTAG image.
How to connect to the Serial Port of this specific device:
Note: This requires an UART (TTL) cable.
7170 PC GND O-----------O GND TxD O-----\/----O TxD RxD O-----/\----O RxD 3V3 [] [] 3V3
JTAG
→ port.jtag general information about the JTAG port, JTAG cable, etc.
How to connect to the JTAG Port of this specific device:
TRST 1 2 GND TDI 3 4 GND cTDO 5 6 GND TMS 7 8 GND TCK 9 10 GND RST 11 12 KEY DINT 13 14 3V3 ? 15 16 cTRST ? 17 18 GND 3V3 19 20 ? ? 21 22 GND ? 23 24 GND ? 25 26 GND ? 27 28 ?
Note: The c stands for coprocessor and is needed if a second device is in the JTAC chain, like is the case for the FB7170. So both the TRST and cTRST need to be connected to 3.3 volt via a 100 Ohm resistor.
The JTAG software that supports multiple JTAG devices in a chain can be found here: http://freetzlinux.svn.sourceforge.net/viewvc/freetzlinux/trunk/wrtjp/wrtjp.5.2/
For the 2000 2397 (Infineon) I only got the following output.
/fritzbox/jtag/wrtjp.5.2# ./wrt54g -probeonly ================================================== WRT54G/GS/AVM/Speedport EJTAG Debrick Utility v5.2 ================================================== ***-----------------------------------------------------------------*** Beginning detect scan leangth... Switch on power!... Chain lenght: 14 IR-Chain: 00000000000011 (00000003) Probing bus ... Beginning scan chain auto-detection Device number: '1' Chip ID: 00000000111100000100000000000011 (00F04003) *** Unknown or NO Chip ID Detected *** Done Processing is stopped now, you must specify new commandline options now: /skipdetect and /dv:XX with the device number of the CPU found. /fritzbox/jtag/wrtjp.5.2#