User Tools

Site Tools


toh:avm:fritz.box.wlan.7170

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

toh:avm:fritz.box.wlan.7170 [2014/02/24 02:56] (current)
Line 1: Line 1:
 +====== 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 [[http://​freetz.org/​|Freetz project]],
 +which adds extended features to the original AVM firmware.
 +There is a free [[http://​open.neurostechnology.com/​node/​1020|DSP Compiler]] available. ​
 +A good reference for more information is also
 +the inofficial [[http://​www.wehavemorefun.de/​fritzbox/​Main_Page|AVM Wiki]] (german),
 +specifically [[http://​www.wehavemorefun.de/​fritzbox/​index.php/​FRITZ!Box_Fon_WLAN_7170|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 | [[http://​wiki.ip-phone-forum.de/​software:​ds-mod:​development:​flash#​hidden_root|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:
 +  * [[http://​www.wehavemorefun.de/​fritzbox/​AR7]]
 +  * [[http://​www.linux-mips.org/​wiki/​AR7]]
 +
 +===== Firmware =====
 +  - -> [[doc:​howto:​obtain.firmware]]
 +  - -> [[doc:​howto:​generic.flashing|Install OpenWrt]]
 +Only the squashfs version works. The jffs2 image won't boot.
 +
 +==== Flash Layout ====
 +The default flash layout of the AVM firmware is [[http://​wiki.ip-phone-forum.de/​software:​ds-mod:​development:​flash#​hidden_root|Hidden Root]]
 +
 +Please check out the article [[doc:​techref:​Flash Layout]]. It contains an example and a couple of explanations.
 +
 +<​code>​
 +mtd0    0x90000000,​0x90000000
 +mtd1    0x90010000,​0x90780000
 +mtd2    0x90000000,​0x90010000
 +mtd3    0x90780000,​0x907C0000
 +mtd4    0x907C0000,​0x90800000
 +</​code>​
 +{{http://​wiki.ip-phone-forum.de/​_media/​software:​ds-mod:​development:​flash_7170_hidden_root.png|Flash layout "​Hidden root"​}}
 +
 +==== Uploading a firmware, using the ADAM2/​EVA-Bootloader ====
 +The [[http://​deve.loping.net.nyud.net/​files/​fritz-flash|fritz-flash script]] is one simple way to install Openwrt:
 +  - 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 and type: <​code>​./​fritz-flash -f openwrt-EVA-2.6-squashfs.bin</​code>​
 +  - Reinsert the power plug.
 +
 +==== Upgrading OpenWrt ====
 +->  [[doc:​howto:​generic.sysupgrade]]
 +
 +===== Basic configuration =====
 +-> [[doc:​howto:​basic.config|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 ====
 +-> [[doc:​howto:​generic.failsafe]]
 +
 +==== Buttons ====
 +-> [[doc:​howto:​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//
 +
 +{{http://​www.d-labs.de/​~felix/​pix/​7170.jpg|Fritz!Box 7170 V2 main PCB}}
 +
 +==== Serial ====
 +-> [[doc:​hardware:​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
 +[[http://​www.wehavemorefun.de/​fritzbox/​Serielle_Konsole|Source]]
 +
 +How to connect to the Serial Port of this specific device:
 +
 +{{:​toh:​avm:​fb7170_serial.jpg|Fritz!Box 7170 V1 serial port connection}}
 +
 +==== JTAG ====
 +-> [[doc:​hardware:​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**
 +{{:​toh:​avm:​bottom_pcb_jtac_with_numbering.jpg|Fritz!Box 7170 JTAG connection}}
 +
 +<​code>​
 + ​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 ?
 +  </​code>​
 +
 +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.
 +<​code>​
 +/​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#​
 +</​code>​
 +
 +===== Debricking =====
 +-> [[doc:​howto:​generic.debrick]]
 +
 +===== Tags =====
 +{{tag> FastEthernet 4Port USB JTAG Serial 802.11abg 1WNIC 1Ant NonDetachableAntenna 32RAM 8Flash MIPS AR7 }}
toh/avm/fritz.box.wlan.7170.txt · Last modified: 2014/02/24 02:56 (external edit)