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

FIXME Update current information!

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

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.

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

Uploading a firmware, using the ADAM2/EVA-Bootloader

The fritz-flash script is one simple way to install Openwrt:

  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 and type:
    ./fritz-flash -f openwrt-EVA-2.6-squashfs.bin
  4. 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

Fritz!Box 7170 V2 main PCB

Serial

port.serial general information about the serial port, serial port cable, etc.

Note: This requires an UART (TTL) cable.

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

Source

How to connect to the Serial Port of this specific device:

Fritz!Box 7170 V1 serial port connection

JTAG

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

How to connect to the JTAG Port of this specific device:

Photo of PCB with markings 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#

Debricking

Tags

Back to top

toh/avm/fritz.box.wlan.7170.txt · Last modified: 2014/02/24 02:56 by 8ujh