Show pagesourceOld revisionsBacklinksBack to top × Table of Contents AVM FRITZ!Box 4020 Supported Versions Hardware Highlights Installation Installing OpenWrt Firmware Reverting back to stock Hardware Info Different Antenna Layouts UART Tags AVM FRITZ!Box 4020 Supported Versions BrandModelVersionCurrent ReleaseOEM InfoForum TopicTechnical DataAVMFRITZ!Box 402019.07.6https://avm.de/produkte/fritzbox/fritzbox-4020/View/Edit dataUnsupported FunctionsUSB Everything is working, except for the USB port. The root hub reports having zero ports. Hardware Highlights ModelVersionSoCCPU MHzFlash MBRAM MBWLAN HardwareWLAN2.4WLAN5.0100M portsGbit portsModemUSBFRITZ!Box 4020Qualcomm Atheros QCA956175016128Qualcomm Atheros QCA9561b/g/n-5--1x 2.0 Installation ModelVersionCurrent ReleaseFirmware OpenWrt InstallFirmware OpenWrt UpgradeFirmware OEM StockFRITZ!Box 402019.07.6http://downloads.openwrt.org/releases/19.07.6/targets/ath79/generic/openwrt-19.07.6-ath79-generic-avm_fritz4020-squashfs-sysupgrade.binhttps://avm.de/service/downloads/?product=fritzbox-4020 Installing OpenWrt OpenWrt can be installed via the EVA bootloader. The EVA bootloader waits in the first 5 seconds after power-on for an FTP connection on 192.168.178.1. Set your IP address to 192.168.178.2 and upload the image like following. ftp -n -4 192.168.178.1 ftp> quote USER adam2 ftp> quote PASS adam2 ftp> binary ftp> debug ftp> passive ftp> quote MEDIA FLSH ftp> put openwrt-sysupgrade.bin mtd1 The process can take up to 3 minutes. After a minute, the INFO LED will illuminate Red. Once the LED turns off the process is complete and you need to powercycle to boot up OpenWrt. Firmware AVM GPL code can be found on their FTP. In case you are using the AVM provided recover.exe, a counter on the tffs partition will increment. It is located at 0x7AE and labeled as recovered. It currently does not seem to be incremented by the Installation methods mentioned in the next section. Reverting back to stock To revert back to the AVM stock-firmware, you need to download the image provided on their ftp (ending in .image). Rename the downloaded file from xyz.image to xyz.tar and extract the archive. In the /var/tmp subdirectory you find a kernel.image file. Flash it like the above described process for OpenWrt installation, use the kernel.image in the last step. Hardware Info SoC Qualcomm QCA9561 (Dragonfly) 720MHz RAM 128MB (Winbond W971GG6KB-25) Flash 16 MiB SPI-NOR (Macronix MX25L12835F) WiFi Qualcomm QCA9561 3×3 b/g/n Bootloader ADAM2/EVA Ethernet 4 x 100 Mbit/s LAN / 1 x 100 Mbit/s WAN USB 1x USB 2.0 Serial console onboard Different Antenna Layouts There seem to be two different antenna layouts. One with all three antennas parallel and an other layout where two antennas are parellel and one is orthogonal. See images below: Two antennas are parellel, one is orthogonal. All three antennas are parallel. UART Serial pinout is described here. Don't connect to 3.3V! Set to 115200N8 for connection. Tags How to add tags QCA9561, 16flash, 128ram, 5port, FastEthernet, 802.11bgn, InternalAntenna, 1USB, USB2.0 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.OKMore information about cookies qca9561 16flash 128ram 5port fastethernet 802.11bgn internalantenna 1usb usb2.0 Last modified: 2019/10/02 10:48by tmomas