AVM FRITZ!Box 4040

From TechInfoDepot
Jump to navigationJump to search
abgn+ac (AC1300)
AVM FRITZ!Box 4040 WLAN Router
(AC1300, USB 3.0, Media Server)
Homepage Product page
WikiDevi.wi-cat.ru AVM FRITZ!Box 4040
3rd Party Firmware
dd-wrt Status Unknown
OpenWrt Supported
Tomato any flavor Incompatible
Gargoyle Status Unknown
Platform
Brand • Model • Rev AVM FRITZ!Box 4040(HW227)
FCC ID none specified
Type wireless router
CPU1 checkY Qualcomm IPQ4018
CPU1 Type ARMv7 Cortex-A7
CPU1 Speed 710 MHz ( 4 cores )
Flash1 Chip Macronix MX25L25635EMI-12G
Flash1 Size 32 MiB 33,554,432 B <br />262,144 Kib <br />32,768 KiB <br />256 Mib <br />0.0313 GiB <br />
RAM1 Size 256 MiB 268,435,456 B <br />2,097,152 Kib <br />262,144 KiB <br />2,048 Mib <br />0.25 GiB <br />
RAM1 Chip Nanya NT5CC128M16IP-D1
ETH chip1 Qualcomm IPQ4018
Switch Qualcomm Atheros QCA8075
Ethernet Port Count 1-1GbE-WAN
4-1GbE-LAN
Wired Standard IEEE 802.3i/3u/3ab

802dot11 OUI: none specified

Stock bootloader EVA
Stock FW OS Linux 4.4.60
Expansion IF types USB 3.0, USB 2.0
USB ports 2
USB Hub Compatible Untested
Power 12 VDC, 1.4 A
Connector type barrel
Serial Port (UART) yes, 3.3V TTL, (115200 8N1)

Flags:
Wave2, MU-MIMO

Other

Default SSID: FRITZ!Box 4040

3rd Party Firmware Support LEDE Project (obsolete, OpenWrt) • (List)
, OpenWrt • (List | Dev | DLs)
Retail
Availability End of Life
(Est.) release date 30 August 2016
EAN 4023125027673
(UPC DB, On eBay)
4023125027635
(UPC DB, On eBay)
4023125027833
(UPC DB, On eBay)
ASIN B01L27NNAI
Country of manuf China
Radio 1
Chip1 Qualcomm IPQ4018
Wireless interface OUI none specified
Antenna Connector Type none specified
MIMO status 2x2:2
Wireless Standard IEEE 802.11b/g/n
n-QAM up to 400 Mbps
802.11n up to 300 Mbps
802.11g up to 54 Mbps
802.11b up to 11 Mbps
WiFi Operating Frequency 2.4 GHz
Radio 2
Chip1 Qualcomm IPQ4018
Wireless interface OUI none specified
Antenna Connector Type none specified
MIMO status 2x2:2
Wireless Standard IEEE 802.11a/n/ac
802.11ac up to 867 Mbps
802.11n up to 300 Mbps
802.11a up to 54 Mbps
WiFi Operating Frequency 5 GHz

For a list of all currently documented Qualcomm chipsets with specifications, see Qualcomm.
For a list of all currently documented Qualcomm Atheros (QCA) chipsets with specifications, see Qualcomm Atheros.

For a list of all currently documented AVM devices with specifications, see AVM.

• 400 Mbps - 2SS 2.4GHz 802.11n (40MHz chan., 256-QAM),
• 867 Mbps - 2SS 5GHz 802.11ac (80MHz chan.) = AC1300 class

Overview

  • Dual WLAN (AC+N), 867MBit/s (5GHz) + 400MBit/s (2.4GHz),
4x Gigabit LAN, 1x USB 3.0, 1x USB 2.0, Media Server

Links of Interest


Flashing

Flashing OpenWrt

Target: ipq40xx
Subtarget: generic
Package architecture: arm_cortex-a7_neon-vfpv4
Supported Since Commit
Support started version: 18.06.0
Current supported version: 25.12.3
LAN Hardware: Qualcomm Atheros QCA8075
WLAN Hardware: Qualcomm Atheros IPQ4018
WLAN Comment: 2x2:2 MIMO
Installation method(s):
EVA FTP
Recovery Comment:
AVM provides a recovery tool for Windows
Comment:
See also https://boxmatrix.info/wiki/FRITZ!Box_4040
git • >>
ipq806x: add ipq4019 fritz4040 support
This patch adds support for AVM FRITZ!Box 4040.

hardware highlights:

SOC:	IPQ4018 / QCA Dakota
CPU:	Quad-Core ARMv7 Processor rev 5 (v7l) Cortex-A7
DRAM:	256 MiB Nanya NT5CC128M16IP
FLASH:	32 MiB MXIC MX25L25635FMI
ETH:	Qualcomm Atheros QCA8075 Gigabit Switch (4 x LAN, 1 x WAN)
USB:	1 x 3.0 (via Synopsys DesignWare DWC3 controller in the SoC)
	1 x 2.0 (via Synopsys DesignWare DWC3 controller in the SoC)
WLAN1:	Qualcomm Atheros QCA4018 2.4GHz 802.11bgn 2:2x2
WLAN2:	Qualcomm Atheros QCA4018 5GHz 802.11a/n/ac 2:2x2
INPUT:	one WLAN and one WPS button
LEDS:	Power, WAN/Internet, WIFI, INFO (red and amber) and LAN.
Serial:
	WARNING: The serial port needs a TTL/RS-232 v3.3 level converter!
        The Serial setting is 115200-8-N-1. The SoC's serial port is right
	next to the MXIC FLASH chip. The board has a unpopulated 1x4 0.1"
	header for it. Use a multimeter to figure out the pinout!

This board currently needs an additional u-boot image in order to boot
properly. Booting with EVA isn't possible ATM.

Install Procedure:
 0. It's highly recommended to connect to the serial port.
    The serial settings are listed above.
 1. install a u-boot image for AVM Fritz!Box 4040
    (see <https://github.com/chunkeey/FritzBox-4040-UBOOT/releases> and
    <https://github.com/chunkeey/FritzBox-4040-UBOOT/blob/master/upload-to-f4040.sh>)
 2. upload the initramfs.itb image via tftp (u-boot listens to
    192.168.1.1 - use binary transfer mode!)
 3. connect to the FB4040 and use sysupgrade sysupgrade.bin
    to install the image.

Works:
	- Switch and Ethernet (99%)
        - Buttons (WLAN, WPS)
        - FLASH (1 x 32MiB NOR Chip)
        - WLAN2G and WLAN5G
        - CPUFREQ scaling
        - PRNG
        - serial
        - Crypto Accelerator
        - sysupgrade (Read the flash instructions to avoid bricking)
        - full LEDE Install (Read the flash instructions to avoid bricking)
	- LEDs (Power, WAN, Info (red and amber), LAN)
          The LEDs are connected to the QCA8075 LED ports.
	  The AR40xx driver contains a gpio-controller to
	  handle these special "GPIOs".
        - USB Both 3.0 and 2.0 ports
        - many packages from other ARMv7 boards
          (This does include the RaspberryPi Model 2!)
        - ...

Not planned:
	- WAN<->LAN short-cut
	- Qualcomm Secure Execution Environment
        - ...