AVM FRITZ!Box Fon WLAN 7170

This device is NOT RECOMMENDED for future use with OpenWrt due to low flash/ram.
DO NOT BUY DEVICES WITH 4MB FLASH / 32MB RAM if you intend to flash an up-to-date and secure OpenWrt version onto it! See 4/32 warning for details.

1) This device does not have sufficient resources (flash and/or RAM) to provide secure and reliable operation.
This means that even setting a password or changing simple network settings might not be possible any more, rendering the device effectively useless. See OpenWrt on 4/32 devices what you can do now.

2) OpenWrt support for this device has ended in 2022.
19.07.10 was the last official build for 4/32 devices.

  • 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.

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.

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
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:

Only the squashfs version works. The jffs2 image won't boot.

Stock firmware source: AVM's sourcecode

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 layout "Hidden root"

Before changing anything you should backup flash content. mtd1-4 are the single partitions.

  1. Configure your PC to the static IP-Address 192.168.178.5/24 and set the default route to 192.168.178.254
  2. Remove the power plug of the router.
  3. Open a terminal
  4. type:
    $ ftp 192.168.178.1
  5. 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.

The fritz-flash script FIXME [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:

  1. Configure your PC to the static IP-Address 192.168.178.5/24 and set the default route to 192.168.178.254
  2. Remove the power plug of the router.
  3. Open a terminal
  4. with fritz-flash type:
    ./fritz-flash -f openwrt-EVA-2.6-squashfs.bin
  5. 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
  6. Reinsert the power plug.

Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.

hardware.button on howto use and configure the hardware button(s).

BUTTON Event
WLAN ?
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
  • 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

Fritz!Box 7170 V2 main PCB

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:
Fritz!Box 7170 V1 serial port connection

Note: This requires an UART (TTL) cable.

7170                PC
GND  O-----------O  GND 
TxD  O-----\/----O  TxD
RxD  O-----/\----O  RxD
3V3  []         []  3V3

port.jtag general information about the JTAG port, JTAG cable, etc.

How to connect to the JTAG Port of this specific device:
Fritz!Box 7170 JTAG connection

 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#
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • Last modified: 2021/07/04 21:47
  • by w8970