AVM FRITZ!Box 3390
Supported Versions
Works with the latest snapshot version.
If 2,4GHz support is needed, look at : https://www.aboehler.at/doku/doku.php/projects:fritz3390.
PR requests: https://github.com/openwrt/openwrt/pull/2662 and https://github.com/openwrt/openwrt/pull/3656
Hardware highlights
CPU | Ram | Flash | Network | WLAN | USB | Serial | JTag |
---|---|---|---|---|---|---|---|
Lantiq XWAY VRX288 | 128 MiB | 128 MiB | 4x 1Gbit | abgn | 2x 2.0 | 4pin Solderpads, 2.54mm, 3.3V, 115200 Baud | ? |
Installation
→ Install OpenWrt (generic explanation)
- Use the eva_ramboot.py script to load the initramfs image on the device. Run it a few seconds after turning the device on. If it fails to find the device try the ip address 169.254.120.1 (Firmware updates or the recovery tool apparently change it).
$ scripts/flashing eva_ramboot 192.168.178.1 bin/targets/lantiq/xrx200/avm_fritz3390-initramfs-kernel.bin
IMPORTANT: Set lzma compression in ramdisk options, bootloader stalls when receiving uncompressed images.
- The device will load the initramfs image in RAM and boot it.
- After booting the initramfs image, you can reach it under the OpenWrt default ip address 192.168.1.1.
- Run sysupgrade to persistently install OpenWrt.
Note: The first boot may take a bit longer than usual. This happens if the TFFS variable linux_fs_start
is set to 1. In that case the bootloader will initially try to boot the second system image, which is no longer valid after installation of OpenWrt. Eventually, it should fall back to 0 though, and it should then boot normally. (If you want to check the current linux_fs_start
value from OpenWrt, you can use the command fritz_tffs -n linux_fs_start -i /dev/mtd3
. To change the variable manually, you would need to connect to the bootloader via FTP with login/password adam2 and issue the command quote SETENV linux_fs_start 0
.)
Hardware
Info
Architecture | MIPS32 |
---|---|
Vendor | Lantiq |
Bootloader | EVA(AVM) Revision: 1.1660 Version: 2660 |
System-On-Chip | VR9: VRX288, Atheros AR9342 SoC |
CPU Cores | 2 |
CPU | MIPS 34Kc V1.2 2×500 Mhz |
xDSL | |
VoIP | via FRITZ!App Fon |
Flash-Chip | MICRON MT29F1G08ABADAWP, 2048 Pagesize 128k Blocksize 1024 Blocks 8Bit 1 CS HW |
Flash size | 128 MiB |
RAM | 128 MiB |
Wireless | AR9580 and AR9381 |
Switch | Soc-integrated |
DSL | Lantiq VRX288 + VRX206 |
USB | Yes 2 x 2.0 |
Serial | Yes |
JTAG | Yes |
Photos
Opening the case
Remove rubber feet and unscrew 4 screws Torx T9. Open case.
Serial
→ port.serial general information about the serial port, serial port cable, etc.
→ https://www.zebradem.com/wiki/index.php?title=Serielle_Konsole for information specific to Fritz!Boxes
How to connect to the Serial Port of this specific device:
Seen from the rear of the device, the most left of the 4 holes is square cut while the others are round.
Pin | 1 [ ] | 2 | 3 | 4 |
---|---|---|---|---|
Function | VCC | RX | TX | GND |
similar examples from Fritzbox 3370: Serial connectors holes, rear side.
Serial connection with a MAX3232/RS232 TTL to Serial Port Converter.
Serial connection parameters for FRITZ!Box 3390 | 115200, 8N1 |
---|
JTAG
→ port.jtag general information about the JTAG port, JTAG cable, etc.
How to connect to the JTAG Port of this specific device:
Insert photo of PCB with markings for JTAG port
Bootlogs
OEM bootlog
1606134986,ROM VER: 1.1.4 1606134986,CFG 05 1606134986,ç$ DC! ¤¥„„DC[-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\][|][/][-][\] 1606134988,(AVM) EVA Revision: 1.1660 Version: 2660 1606134988,(C) Copyright 2005 AVM Date: Apr 24 2013 Time: 12:33:43 (0) 3 0x0-0x740D 1606134988,[FLASH:] MACRONIX Uniform-Flash 256kB 256 Bytes WriteBuffer 1606134988,[FLASH:](Eraseregion [0] 4 sectors a 64kB) 1606134988,[NAND:] 128MB MICRON 2048 Pagesize 128k Blocksize 1024 Blocks 8Bit 1 CS HW 1606134988,[SYSTEM:] VR9 on 500MHz/250MHz/250MHz 1606134988,.Atheros 8030/35 detected 1606134988,Eva_AVM >................................................. 1606135000,Lantiq xDSL CPE VR9 1606135000,phym = 08000000, mem = 08000000, max_pfn = 00008000 1606135000,Reserving memory for CP1 @0xa8000000, size 0x00000000 1606135000,plat_device_tree_setup: AVM hardware subrevision 1 1606135000,plat_device_tree_setup: using Fallback device-tree of AVM hardware subrevision 0 1606135000,DT: d0 0d fe ed 00 00 0d f1 1606135000,[ 0.000000] Linux version 3.10.73 (jpluschke@EmbeddedVM) (gcc version 4.8.3 (Buildroot 2014.08) ) #1 SMP Wed Aug 21 17:10:32 CEST 2019 1606135000,[ 0.000000] [unv_init] 0x81017ad0[0] 1606135000,[ 0.000000] [env_init] 0x81017b10[1] 1606135000,[ 0.000000] [env_init] 0x81017c10[2] 1606135000,[ 0.000000] [env_init] switch to ram location 1606135000,[ 0.000000] [init_avm_kernel_config] AVM Kernel Config (ptr 80825000) 1606135000,[ 0.000000] [init_avm_kernel_config] AVM Kernel Config: module memory entry 1606135000,[ 0.000000] [init_avm_kernel_config] AVM Kernel Config: version info entry 1606135000,[ 0.000000] [init_avm_kernel_config] AVM Kernel Config: device-tree for subrev 0 found 1606135000,[ 0.000000] bootconsole [early0] enabled 1606135000,[ 0.000000] CPU0 revision is: 00019556 (MIPS 34Kc) 1606135000,[ 0.000000] Determined physical RAM map: 1606135000,[ 0.000000] memory: 08000000 @ 00000000 (usable) 1606135000,[ 0.000000] Initrd not found or empty - disabling initrd 1606135000,[ 0.000000] [module-alloc] use 0xcf4000 bytes at 0x81104000 1606135000,[ 0.000000] PERCPU: Embedded 7 pages/cpu @81dfc000 s7072 r8192 d13408 u32768 1606135000,[ 0.000000] Kernel command line: annex=B console=ttyS0,115200n8r nor_size=0MB sflash_size=256KB nand_size=128MB ethaddr=9C:C7:A6:7E:C8:3A 1606135000,[ 0.000000] [NAND] nand_size = 0x8000000 1606135000,[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes) 1606135000,[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) 1606135000,[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) 1606135000,[ 0.000000] Writing ErrCtl register=00042200 1606135000,[ 0.000000] Readback ErrCtl register=00042200 1606135000,[ 0.000000] Memory: 107352k/131072k available (5707k kernel code, 23720k reserved, 2688k data, 300k init, 0k highmem) 1606135000,[ 0.000000] Hierarchical RCU implementation. 1606135000,[ 0.000000] NR_IRQS:181 1606135000,[ 0.000000] SRSConf0 0x3feffbfe: SRS1: 0xffffffff, SRS2 0xffffffff, SRS3 0xffffffff 1606135000,[ 0.000000] Lantiq ICU driver, version 3.0.1, (c) 2001-2011 Lantiq Deutschland GmbH 1606135000,[ 0.000000] Console: colour dummy device 80x25 1606135000,[ 0.000000] console [ttyS0] enabled, bootconsole disabled 1606135000,[ 0.000000] console [ttyS0] enabled, bootconsole disabled 1606135000,[ 0.020000] Calibrating delay loop... 331.77 BogoMIPS (lpj=1658880) 1606135000,[ 0.080000] pid_max: default: 32768 minimum: 301 1606135000,[ 0.080000] Security Framework initialized 1606135000,[ 0.080000] Mount-cache hash table entries: 512 1606135000,[ 0.090000] CPU1 revision is: 00019556 (MIPS 34Kc) 1606135000,[ 0.170000] Brought up 2 CPUs 1606135000,[ 0.170000] [yield_context_init] cpu=1 tc=2 mask=300 1606135000,[ 0.180000] [yield_context_init] cpu=0 tc=3 mask=410 1606135000,[ 0.180000] devtmpfs: initialized 1606135000,[ 0.200000] pinctrl core: initialized pinctrl subsystem 1606135000,[ 0.200000] Creating Config Table 1606135000,[ 0.200000] [avm_generate_hw_config_table_from_device_tree] gpio_cnt: 33 1606135000,[ 0.210000] NET: Registered protocol family 16 1606135000,[ 0.220000] Reboot Status is: Power-On 1606135000,[ 0.220000] [TFFS3_Early_Init] called 1606135000,[ 0.230000] [avmnet] [avmnet_cfg_init] Driver version: 6.221.2.4 - Revision 1496:3477 - Mi 21. Aug 17:09:45 CEST 2019 1606135001,[ 0.850000] Lantiq PCIe Root Complex driver, version 2.0.0, (c) 2001-2011 Lantiq Deutschland GmbH 1606135001,[ 0.900000] bio: create slab <bio-0> at 0 1606135001,[ 0.900000] PCI host bridge to bus 0000:00 1606135001,[ 0.910000] pci_bus 0000:00: root bus resource [mem 0x1c000000-0x1cffffff] 1606135001,[ 0.910000] pci_bus 0000:00: root bus resource [io 0x1d800000-0x1d8fffff] 1606135001,[ 0.920000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] 1606135001,[ 0.930000] ifx_pcie_rc_class_early_fixup port 0: fixed pcie host bridge to pci-pci bridge 1606135001,[ 0.940000] pci 0000:00:00.0: BAR 8: assigned [mem 0x1c000000-0x1c0fffff] 1606135001,[ 0.940000] pci 0000:00:00.0: BAR 9: assigned [mem 0x1c100000-0x1c1fffff pref] 1606135001,[ 0.950000] pci 0000:01:00.0: BAR 0: assigned [mem 0x1c000000-0x1c01ffff 64bit] 1606135001,[ 0.950000] pci 0000:01:00.0: BAR 6: assigned [mem 0x1c100000-0x1c10ffff pref] 1606135001,[ 0.960000] pci 0000:00:00.0: PCI bridge to [bus 01] 1606135001,[ 0.960000] pci 0000:00:00.0: bridge window [mem 0x1c000000-0x1c0fffff] 1606135001,[ 0.970000] pci 0000:00:00.0: bridge window [mem 0x1c100000-0x1c1fffff pref] 1606135001,[ 0.970000] NET: Registered protocol family 8 1606135001,[ 0.980000] NET: Registered protocol family 20 1606135001,[ 0.980000] Switching to clocksource MIPS 1606135001,[ 1.030000] NET: Registered protocol family 2 1606135001,[ 1.030000] TCP established hash table entries: 1024 (order: 1, 8192 bytes) 1606135001,[ 1.040000] TCP bind hash table entries: 1024 (order: 1, 8192 bytes) 1606135001,[ 1.040000] TCP: Hash tables configured (established 1024 bind 1024) 1606135001,[ 1.050000] TCP: reno registered 1606135001,[ 1.050000] UDP hash table entries: 256 (order: 1, 8192 bytes) 1606135001,[ 1.060000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) 1606135001,[ 1.070000] NET: Registered protocol family 1 1606135001,[ 1.070000] Lantiq CGU driver, version 1.1.32, (c) 2001-2011 Lantiq Deutschland GmbH 1606135001,[ 1.080000] IFX DMA driver, version ifxmips_dma_core.c:v1.0.17, (c) 2009 Infineon Technologies AG 1606135001,[ 1.080000] skb_shared_size:184 1606135001,[ 1.090000] squashfs: version 4.0 (2009/01/31) Phillip Lougher 1606135001,[ 1.100000] fuse init (API version 7.22) 1606135001,[ 1.104000] msgmni has been set to 209 1606135001,[ 1.110000] io scheduler noop registered (default) 1606135001,[ 1.450000] ttyS0 at MMIO 0x1e300c00 (irq = 107) is a PORT_IFX_ASC 1606135001,[ 1.450000] ifx_usif_uart_init: uart_register_driver failed 1606135001,[ 1.460000] avm_net_trace: Up and running. 1606135001,[ 1.460000] [loadcontrol] set auto - scale=1 1606135001,[ 1.470000] Lantiq Thermal Sensor driver, version 1.0.3, (c) 2001-2011 Lantiq Deutschland GmbH 1606135001,[ 1.480000] ifx_pmu_init: Major 244 1606135001,[ 1.480000] Lantiq PMU driver, version 1.2.6, (c) 2001-2011 Lantiq Deutschland GmbX 1606135001,[ 1.490000] Lantiq GPIO driver, version 1.3.2, (c) 2001-2011 Lantiq Deutschland GmbH 1606135001,[ 1.500000] Infineon Technologies RCU driver version 1.0.7 1606135001,[ 1.520000] loop: module loaded 1606135001,[ 1.520000] nbd: registered device at major!43 1606135001,[ 1.550000] [HSNAND] Hardware-ECC activated 1606135001,[ 01.550000] ONFI param page 0 valid 1606135001,[ 1.560000] ONFI flash detected 1606135001,[ 1.560000] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xf1 (Micron MT29F1G08ABADAWP), 128MiB, page size: 2048, OOB size: 64 1606135001,[ 1.570000] Scanning device for bad blocks 1606135001,[ 1.590000] [ifx_hsnand_command] read block is critical (column: 0x800 page: 0x2c80) 1606135002,[ 1.670000] Creating 6 MTD partitions on "ifx_hsnand": 1606135002,[ 1.670000] 0x000000000000-0x000000400000 : "kernel" 1606135002,[ 1.680000] 0x000000400000-0x000003400000 : "filesystem" 1606135002,[ 1.690000] 0x000003400000-0x000003800000 : "reserved-kernel" 1606135002,[ 1.690000] 0x000003800000-0x000006800000 : "reserved-filesystem" 1606135002,[ 1.700000] 0x000006800000-0x000006a00000 : "config" 1606135002,[ 1.710000] 0x000006a00000-0x000008000000 : "nand-filesystem" 1606135002,[ 1.720000] [TFFS3_Register_Panic_CB] registering panic callback for mtd ifx_hsnand 1606135002,[ 1.720000] [TFFS3_Register_Panic_CB] registering panic callback for mtd ifx_sflash 1606135002,[ 1.730000] Creating 3 MTD partitions on "ifx_sflash": 1606135002,[ 1.740000] 0x000000000000-0x000000020000 : "urlader" 1606135002,[ 1.740000] 0x000000020000-0x000000030000 : "tffs (1)" 1606135002,[ 1.750000] 0x000000030000-0x000000040000 : "tffs (2)" 1606135002,[ 1.760000] Lantiq SPI flash driver, version 2.0.1, (c) 2001-2011 Lantiq Deutschland GmbH 1606135002,[ 1.760000] tun: Universal TUN/TAP device driver, 1.6 1606135002,[ 1.770000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com> 1606135002,[ 1.780000] SWAPI: Registered character device [switch_api] with major no [81] 1606135002,[ 1.780000] i2c /dev entries driver 1606135002,[ 1.790000] cpuidle: using governor ladder 1606135002,[ 1.790000] cpuidle: using governor menu 1606135002,Š[ 1.790000] AVM PA 4.3.14 2015-10-21 1606135002,[ 1.800000] AVM PA skb pktinfo at offset 136 size 196 1606135002,[ 1.800000] [loadcontrol]module avm_pa registered 1606135002,[ 1.810000] ipip: IPv4 over IPv4 tunneling driver 1606135002,[ 1.810000] TCP: cubic registered 1606135002,[ 1.820000] NET: Registered protocol family 10 1606135002,[ 1.820000] sit: IPv6 over IPv4 tunneling driver 1606135002,[ 1.830000] NET: Registered protocol family 17 1606135002,[ 1.830000] l2tp_core: L2TP core driver, V2.0 1606135002,[ 1.830000] l2tp_ip: L2TP IP encapsulation support (L2TPv3) 1606135002,[ 1.840000] l2tp_netlink: L2TP netlink interface 1606135002,[ 1.840000] l2tp_eth: L2TP ethernet pseudowire support (L2TPv3) 1606135002,[ 1.850000] l2tp_ip6: L2TP IP encapsulation support for IPv6 (L2TPv3) 1606135002,[ 1.860000] 8021q: 802.1Q VLAN Support v1.8 1606135002,[ 1.860000] Key type dns_resolver registered 1606135002,[ 1.870000] <ifx_fix_timing> 1606135002,[ 1.870000] [TFFS3_Init] No!storage module registered, trying legacy fallback 1606135002,[ 1.880000] [TFFS3_Register_LGCY] Called 1606135002,[ 1.880000] [TFFS3_LGCY_Configure] Called 1606135002,[ 1.890000] [TFFS3_LGCY_Setup] using mtd7(tffs (1)), mtd8(tffs (2)) 1606135002,[ 1.890000] [TFFS3_LGCY_Setup] mtd "tffs (1)": segment value 1 1606135002,[ 1.900000] [TFFS3_LGCY_Setup] mtd "tffs (2)": segment value 1 1606135002,[ 1.900000] [TFFS3_LGCY_Setup] Using segment 1 (avail: 1 + 1) 1606135002,[ 1.910000] [TFFS3_LGCY_Setup] mtd8 size=0x10000 1606135002,[ 1.910000] TFFS: tiny flash file system driver. GPL (c) AVM Berlin (Version 3.0) 1606135002,[ 1.910000] [rescan_segment] Called with mode=2 1606135002,[ 1.910000] TFFS: Clearing index for update 1606135002,[ 1.930000] Adam2 environment variables API installed. 1606135002,[ 1.940000] [simple-profiling]: 2 performance counters implemented, NEW_34K 1606135002,[ 1.940000] Enable Performance Counter 0 for Data cache load/stores (User-Mode enabled Supervisor-Mode enabled Kernel-Mode enabled Exeption-Mode disable) 1606135002,[ 1.960000] Setup tcs=0x2 current_tc_mask=0x2, reg=0 1606135002,[ 1.960000] [simple-profiling]: 2 performance counters implemented, NEW_34K 1606135002,[ 1.970000] Enable Performance Counter 1 for Data cache load/store mi{ses (User-Mode enabled Supervisor-Mode enabled Kernel-Mode enabled Exeption-Mode disable) 1606135002,[ 1.980000] Setup tcs=0x2 current_tc_mask=0x2, reg=1 1606135002,[ 1.990000] {avmnet_cfg_netinit} 1606135002,[ 1.990000] [avmnet] No config found for HWRev 193, HWSubRev 1, Profile-ID 0, trying base config for HWSubRev 1606135002,[ 2.000000] [avmnet] No config found for HWRev 193, HWSubRev 1, trying base config for HWRev 1606135002,[ 2.010000] [avmnet] [avmnet_swi_7port_init] Init on module swi_vr9 called. 1606135002,[ 2.330000] [ppe_eth_init] init_hw() 1606135002,[ 2.340000] [init_hw] ppe_hw_init=0xff successful 1606135002,[ 2.340000] [ppe_eth_init] ifx_proc_file_create() 1606135002,[ 2.340000] [ppe_eth_init] dma_setup_init() 1606135002,[ 2.350000] [avmnet] [avmnet_swi_7port_disable_learning] Configuring CPU-port to receive all unknown unicast frames 0x48 1606135002,[ 2.360000] [avmnet] [avmnet_swi_7port_disable_learning] Configuring CPU-port to receive all unknown multicast frames 0x48 1606135006,[ 5.780000] [avmnet_set_macaddr] Setup Mac Addr for Device(eth0): 9c:c7:a6:7e:c8:3a 1606135006,[ 5.790000] avmnet: avm_pa: register pid eth0 1606135006,[ 5.790000] [avmnet_set_macaddr] Setup Mac Addr for Device(eth1): 9c:c7:a6:7e:c8:3b 1606135006,[ 5.800000] avmnet: avm_pa: register pid eth1 1606135006,[ 5.800000] [avmnet_set_macaddr] Setup Mac Addr for Device(eth2): 9c:c7:a6:7e:c8:3f 1606135006,[ 5.810000] avmnet: avm_pa: register pid eth2 1606135006,[ 5.820000] [avmnet_set_macaddr] Setup Mac Addr for Device(eth3): 9c:c7:a6:7e:c8:40 1606135006,[ 5.820000] avmnet: avm_pa: register pid eth3 1606135006,[ 5.830000] [avmnet_set_macaddr] Setup Mac Addr for Device(wasp): 00:de:ad:be:ef:ca 1606135006,[ 5.840000] [avmnet_create_netdevice] setup offload_cpu_link on device wasp 1606135006,[ 5.840000] avmnet: avm_pa: register pid wasp 1606135006,[ 5.890000] SQUASHFS error: Can't find a SQUASHFS superblock on mtdblock1 1606135006,[ 5.900000] yaffs: dev is 32505857 name is "mtdblock1" ro 1606135006,[ 5.900000] yaffs: passed flags "" 1606135006,[ 5.930000] VFS: Mounted root (yaffs filesystem) readonly on device 31:1. 1606135006,[ 5.940000] devtmpfs: mounted 1606135006,[ 5.940000] Freeing unused kernel memory: 300K (80835000 - 80880000) 1606135007,[ 7.030000] TFFS Name Table L 1606135007,[ ·.130000] yaffs: dev is 32505860 name is "mtdblock4" rw 1606135007,[ 7.130000] yaffs: passed flags "" 1606135009,[ 8.790000] [avm_urlader_env_set_variable] opening ID 0x1ae for writing 1606135009,[ 8.890000] led_modul_Fritz_Box_HW193: module license ' 1606135009,[ 8.890000] (C) Copyright 2012 by AVM 1606135009,[ 8.890000] ' taints kernel. 1606135009,[ 8.900000] Disabling lock debugging due to kernel taint 1606135009,[ 8.910000] [module-alloc-by-name] give 0x18000 bytes at 0x81104000 to module 'led_modul_Fritz_Box_HW193' (0xcdc000 bytes left) 1606135009,[ 8.930000] [LED] use GPIO 45 for 'gpio_avm_led_power' 1606135009,[ 8.930000] [LED] use GPIO 47 for 'gpio_avm_led_lan_all' 1606135009,[ 8.930000] [LED] use GPIO 36 for 'gpio_avm_led_wlan' 1606135009,[ 8.940000] [LED] use GPIO 35 for 'gpio_avm_led_pppoe' 1606135009,[ 8.940000] [LED] use GPIO 33 for 'gpio_avm_led_info' 1606135009,[ 8.950000] [BUTTON] use GPIO 29 for 'gpio_avm_button_wlan' 1606135009,[ 8.960000] [BUTTON] use GPIO 1 for 'gpio_avm_button_wps' 1606135009,[ 8.970000] AVM_WATCHDOG: System Init UEberwachung 120 Sekunden 1606135009,[ 9.370000] [module-alloc-by-name] give 0x3000 bytes at 0x8111c000 to module 'rtc_avm' (0xcd9000 bytes left) 1606135009,[ 9.380000] rtc-avm rtc-avm.0: rtc core: registered avm as rtc0 1606135009,[ 9.380000] [avm-rtc]: avm_rtc_probe: register: ret=0x87689000 1606135009,[ 9.390000] [avm-rtc]: avm_rtc_probe: success 1606135009,[ 9.590000] 1606135009,[ `9.590000] [avm_debug] redirecting kernel-messages (/dev/debug)
OpenWrt bootlog
[ 0.000000] Linux version 5.4.117 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16769-ddcb970274)) #0 SMP Fri May 21 13:44:05 2021 [ 0.000000] SoC: xRX200 rev 1.2 [ 0.000000] printk: bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 00019556 (MIPS 34Kc) [ 0.000000] MIPS: machine is AVM FRITZ!Box 3390 [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Detected 1 available secondary CPU(s) [ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] On node 0 totalpages: 32768 [ 0.000000] Normal zone: 288 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 32768 pages, LIFO batch:7 [ 0.000000] percpu: Embedded 14 pages/cpu s26000 r8192 d23152 u57344 [ 0.000000] pcpu-alloc: s26000 r8192 d23152 u57344 alloc=14*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32480 [ 0.000000] Kernel command line: console=ttyLTQ0,115200 [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear) [ 0.000000] Writing ErrCtl register=00050020 [ 0.000000] Readback ErrCtl register=00050020 [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 120140K/131072K available (6237K kernel code, 215K rwdata, 1584K rodata, 1224K init, 223K bss, 10932K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] NR_IRQS: 256 [ 0.000000] random: get_random_bytes called from start_kernel+0x368/0x580 with crng_init=0 [ 0.000000] CPU Clock: 500MHz [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041786 ns [ 0.000011] sched_clock: 32 bits at 250MHz, resolution 4ns, wraps every 8589934590ns [ 0.007904] Calibrating delay loop... 331.77 BogoMIPS (lpj=1658880) [ 0.073982] pid_max: default: 32768 minimum: 301 [ 0.078899] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.086094] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.097517] rcu: Hierarchical SRCU implementation. [ 0.102983] smp: Bringing up secondary CPUs ... [ 0.108670] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.108685] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes [ 0.108784] CPU1 revision is: 00019556 (MIPS 34Kc) [ 0.167576] Synchronize counters for CPU 1: done. [ 0.191928] smp: Brought up 1 node, 2 CPUs [ 0.202760] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.212527] futex hash table entries: 512 (order: 2, 16384 bytes, linear) [ 0.219445] pinctrl core: initialized pinctrl subsystem [ 0.226478] NET: Registered protocol family 16 [ 0.248089] dcdc-xrx200 1f106a00.dcdc: Core Voltage : 1016 mV [ 0.262196] GPIO line 484 (pcie-rst-dev) hogged as output/low [ 0.268292] pinctrl-xway 1e100b10.pinmux: Init done [ 0.274836] dma-xway 1e104100.dma: Init done - hw rev: 7, ports: 7, channels: 28 [ 0.286641] pcie-xrx200 1d900000.pcie: failed to get the PCIe PHY [ 0.335426] usbcore: registered new interface driver usbfs [ 0.340996] usbcore: registered new interface driver hub [ 0.346367] usbcore: registered new device driver usb [ 0.351983] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512 [ 0.364939] clocksource: Switched to clocksource MIPS [ 0.371441] NET: Registered protocol family 2 [ 0.378073] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 0.386500] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.394014] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.401200] TCP: Hash tables configured (established 1024 bind 1024) [ 0.407790] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.414180] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.421625] NET: Registered protocol family 1 [ 0.425920] PCI: CLS 0 bytes, default 32 [ 0.430918] gptu: totally 6 16-bit timers/counters [ 0.435843] gptu: misc_register on minor 63 [ 0.439966] gptu: succeeded to request irq 126 [ 0.444419] gptu: succeeded to request irq 127 [ 0.449035] gptu: succeeded to request irq 128 [ 0.453445] gptu: succeeded to request irq 129 [ 0.458073] gptu: succeeded to request irq 130 [ 0.462475] gptu: succeeded to request irq 131 [ 0.467277] No VPEs reserved for AP/SP, not initialize VPE loader [ 0.467277] Pass maxvpes=<n> argument as kernel argument [ 0.478675] No TCs reserved for AP/SP, not initializing RTLX. [ 0.478675] Pass maxtcs=<n> argument as kernel argument [ 0.492551] workingset: timestamp_bits=14 max_order=15 bucket_order=1 [ 0.518333] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.524027] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.539882] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) [ 0.554895] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc [ 0.563774] printk: console [ttyLTQ0] enabled [ 0.572595] printk: bootconsole [early0] disabled [ 0.587068] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xf1 [ 0.591985] nand: Micron MT29F1G08ABADAWP [ 0.596096] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 0.603586] Scanning device for bad blocks [ 0.678008] 2 fixed-partitions partitions found on MTD device 14000000.flash [ 0.683601] Creating 2 MTD partitions on "14000000.flash": [ 0.689139] 0x000000000000-0x000000400000 : "kernel" [ 0.696471] 0x000000400000-0x000008000000 : "ubi" [ 0.703348] random: fast init done [ 0.706757] spi-lantiq-ssc 1e100800.spi: Lantiq SSC SPI controller (Rev 8, TXFS 8, RXFS 8, DMA 1) [ 0.717011] spi-nor spi0.4: mx25l2005a (256 Kbytes) [ 0.720487] 3 fixed-partitions partitions found on MTD device spi0.4 [ 0.726871] Creating 3 MTD partitions on "spi0.4": [ 0.731581] 0x000000000000-0x000000020000 : "urlader" [ 0.738192] 0x000000020000-0x000000030000 : "tffs (1)" [ 0.743314] 0x000000030000-0x000000040000 : "tffs (2)" [ 0.751154] libphy: Fixed MDIO Bus: probed [ 0.764489] NET: Registered protocol family 10 [ 0.772495] Segment Routing with IPv6 [ 0.775005] NET: Registered protocol family 17 [ 0.779245] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 0.792224] 8021q: 802.1Q VLAN Support v1.8 [ 0.801938] pcie-xrx200 1d900000.pcie: failed to get the PCIe PHY [ 0.914140] libphy: lantiq,xrx200-mdio: probed [ 0.923465] net-xrx200: invalid MAC, using random [ 0.926961] Atheros 8035 ethernet 0:00: attached PHY driver [Atheros 8035 ethernet] (mii_bus:phy_addr=0:00, irq=POLL) [ 0.937770] Atheros 8035 ethernet 0:01: attached PHY driver [Atheros 8035 ethernet] (mii_bus:phy_addr=0:01, irq=POLL) [ 0.948686] Intel XWAY PHY11G (xRX v1.2 integrated) 0:11: attached PHY driver [Intel XWAY PHY11G (xRX v1.2 integrated)] (mii_bus:phy_addr=0:11, irq=POLL) [ 0.962397] Intel XWAY PHY11G (xRX v1.2 integrated) 0:13: attached PHY driver [Intel XWAY PHY11G (xRX v1.2 integrated)] (mii_bus:phy_addr=0:13, irq=POLL) [ 1.099760] PCI host bridge /fpi@10000000/pcie@d900000 ranges: [ 1.104378] PCI host bridge to bus 0000:00 [ 1.108337] pci_bus 0000:00: root bus resource [mem 0x1c000000-0x1cffffff] [ 1.115191] pci_bus 0000:00: root bus resource [io 0x1d800000-0x1d8fffff] [ 1.121984] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0] [ 1.128852] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] [ 1.136827] pci 0000:00:00.0: [1bef:0011] type 01 class 0x060000 [ 1.142710] ifx_pcie_rc_class_early_fixup: fixed pcie host bridge to pci-pci bridge [ 1.160433] pci 0000:00:00.0: ifx_pcie_rc_class_early_fixup+0x0/0x7c took 17272 usecs [ 1.167025] pci 0000:00:00.0: PME# supported from D0 D3hot [ 1.176106] pci 0000:01:00.0: [168c:abcd] type 00 class 0x020000 [ 1.180756] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x0001ffff 64bit] [ 1.187582] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref] [ 1.194293] pci 0000:01:00.0: supports D1 [ 1.198238] pci 0000:01:00.0: PME# supported from D0 D1 D3hot [ 1.207356] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 1.212539] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01 [ 1.219241] pci 0000:00:00.0: BAR 8: assigned [mem 0x1c000000-0x1c0fffff] [ 1.226021] pci 0000:00:00.0: BAR 9: assigned [mem 0x1c100000-0x1c1fffff pref] [ 1.233165] pci 0000:01:00.0: BAR 0: assigned [mem 0x1c000000-0x1c01ffff 64bit] [ 1.240582] pci 0000:01:00.0: BAR 6: assigned [mem 0x1c100000-0x1c10ffff pref] [ 1.247751] pci 0000:00:00.0: PCI bridge to [bus 01] [ 1.252658] pci 0000:00:00.0: bridge window [mem 0x1c000000-0x1c0fffff] [ 1.259525] pci 0000:00:00.0: bridge window [mem 0x1c100000-0x1c1fffff pref] [ 1.266879] ifx_pcie_bios_map_irq port 0 dev 0000:00:00.0 slot 0 pin 1 [ 1.273271] ifx_pcie_bios_map_irq dev 0000:00:00.0 irq 144 assigned [ 1.279642] pcieport 0000:00:00.0: enabling device (0000 -> 0002) [ 1.287816] UBI: auto-attach mtd1 [ 1.289698] ubi0: attaching mtd1 [ 1.695281] ubi0: scanning is finished [ 1.711931] ubi0: attached mtd1 (name "ubi", size 124 MiB) [ 1.716047] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes [ 1.722841] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512 [ 1.729629] ubi0: VID header offset: 512 (aligned 512), data offset: 2048 [ 1.736418] ubi0: good PEBs: 992, bad PEBs: 0, corrupted PEBs: 0 [ 1.742338] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128 [ 1.749628] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 2050181103 [ 1.758789] ubi0: available PEBs: 0, total reserved PEBs: 992, PEBs reserved for bad PEB handling: 20 [ 1.768231] ubi0: background thread "ubi_bgt0d" started, PID 487 [ 1.774207] block ubiblock0_0: created from ubi0:0(rootfs) [ 1.779528] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem [ 1.792885] VFS: Mounted root (squashfs filesystem) readonly on device 259:0. [ 1.800536] Freeing unused kernel memory: 1224K [ 1.803606] This architecture does not have kernel memory protection. [ 1.810149] Run /sbin/init as init process [ 2.451012] init: Console is alive [ 2.453351] init: - watchdog - [ 3.807074] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 3.931546] dwc2 1e101000.usb: 1e101000.usb supply vusb_d not found, using dummy regulator [ 3.938638] dwc2 1e101000.usb: 1e101000.usb supply vusb_a not found, using dummy regulator [ 4.049270] dwc2 1e101000.usb: DWC OTG Controller [ 4.052611] dwc2 1e101000.usb: new USB bus registered, assigned bus number 1 [ 4.059723] dwc2 1e101000.usb: irq 62, io mem 0x1e101000 [ 4.066508] hub 1-0:1.0: USB hub found [ 4.068971] hub 1-0:1.0: 1 port detected [ 4.074262] dwc2 1e106000.usb: 1e106000.usb supply vusb_d not found, using dummy regulator [ 4.081404] dwc2 1e106000.usb: 1e106000.usb supply vusb_a not found, using dummy regulator [ 4.192406] dwc2 1e106000.usb: DWC OTG Controller [ 4.195804] dwc2 1e106000.usb: new USB bus registered, assigned bus number 2 [ 4.202818] dwc2 1e106000.usb: irq 91, io mem 0x1e106000 [ 4.209620] hub 2-0:1.0: USB hub found [ 4.212150] hub 2-0:1.0: 1 port detected [ 4.218928] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 4.228946] init: - preinit - [ 5.330811] lantiq,xrx200-net 1e108000.eth eth0: port 2 got link [ 5.335656] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 5.360688] random: procd: uninitialized urandom read (4 bytes read) [ 9.712131] UBIFS (ubi0:1): default file-system created [ 9.716931] UBIFS (ubi0:1): Mounting in unauthenticated mode [ 9.721975] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 567 [ 9.806677] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data" [ 9.813087] UBIFS (ubi0:1): LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes [ 9.823091] UBIFS (ubi0:1): FS size: 119605248 bytes (114 MiB, 927 LEBs), journal size 5935104 bytes (5 MiB, 46 LEBs) [ 9.833656] UBIFS (ubi0:1): reserved for root: 4952683 bytes (4836 KiB) [ 9.840305] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID AE6AD888-4EBE-4E20-9F82-14E551FDEFFA, small LPT model [ 9.854123] mount_root: overlay filesystem has not been fully initialized yet [ 9.860627] mount_root: switching to ubifs overlay [ 9.873029] urandom-seed: Seed file not found (/etc/urandom.seed) [ 10.095348] lantiq,xrx200-net 1e108000.eth eth0: port 2 lost link [ 10.115253] procd: - early - [ 10.116888] procd: - watchdog - [ 10.773703] procd: - watchdog - [ 10.776528] procd: - ubus - [ 10.866546] random: ubusd: uninitialized urandom read (4 bytes read) [ 10.874183] random: ubusd: uninitialized urandom read (4 bytes read) [ 10.884028] random: ubusd: uninitialized urandom read (4 bytes read) [ 10.900445] procd: - init - [ 12.221281] kmodloader: loading kernel modules from /etc/modules.d/* [ 12.231735] IFXOS, Version 1.5.19 (c) Copyright 2009, Lantiq Deutschland GmbH [ 12.244780] NET: Registered protocol family 8 [ 12.247722] NET: Registered protocol family 20 [ 12.266272] PPP generic driver version 2.4.2 [ 12.324566] Lantiq (VRX) DSL CPE MEI driver, version 1.5.17.6, (c) 2007-2015 Lantiq Beteiligungs-GmbH & Co. KG [ 12.345583] [ 12.345583] [ 12.345583] Lantiq CPE API Driver version: DSL CPE API V4.17.18.6 [ 12.363401] [ 12.363401] Predefined debug level: 3 [ 12.380897] Loading modules backported from Linux version v5.10.34-0-g0aa66717f684 [ 12.387258] Backport generated by backports.git v5.10.34-1-0-g7b5533e1 [ 12.411651] Infineon Technologies DEU driver version 2.0.0 [ 12.419234] IFX DEU DES initialized (multiblock). [ 12.425160] IFX DEU AES initialized (multiblock). [ 12.429417] IFX DEU ARC4 initialized (multiblock). [ 12.433715] IFX DEU SHA1 initialized. [ 12.437585] IFX DEU MD5 initialized. [ 12.440924] IFX DEU SHA1_HMAC initialized. [ 12.445147] IFX DEU MD5_HMAC initialized. [ 12.469410] NET: Registered protocol family 24 [ 12.497636] xt_time: kernel timezone is -0000 [ 12.516764] urngd: v1.0.2 started. [ 12.856623] ifx_pcie_bios_map_irq port 0 dev 0000:01:00.0 slot 0 pin 1 [ 12.861791] ifx_pcie_bios_map_irq dev 0000:01:00.0 irq 144 assigned [ 12.868263] ath9k 0000:01:00.0: enabling device (0000 -> 0002) [ 12.875011] ath9k 0000:01:00.0: Direct firmware load for ath9k-eeprom-pci-0000:01:00.0.bin failed with error -2 [ 12.883995] ath9k 0000:01:00.0: Falling back to sysfs fallback for: ath9k-eeprom-pci-0000:01:00.0.bin [ 13.005520] random: crng init done [ 13.007545] random: 6 urandom warning(s) missed due to ratelimiting [ 13.895715] ath: EEPROM regdomain: 0x8114 [ 13.895731] ath: EEPROM indicates we should expect a country code [ 13.895744] ath: doing EEPROM country->regdmn map search [ 13.895756] ath: country maps to regdmn code: 0x37 [ 13.895768] ath: Country alpha2 being used: DE [ 13.895777] ath: Regpair used: 0x37 [ 13.912568] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 13.918275] ieee80211 phy0: Atheros AR9300 Rev:4 mem=0xbc000000, irq=144 [ 13.965520] kmodloader: done loading kernel modules from /etc/modules.d/* [ 42.232024] br-lan: port 1(eth0.1) entered blocking state [ 42.236251] br-lan: port 1(eth0.1) entered disabled state [ 42.242198] device eth0.1 entered promiscuous mode [ 42.246341] device eth0 entered promiscuous mode [ 44.275111] lantiq,xrx200-net 1e108000.eth eth0: port 1 got link [ 44.279797] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 44.293633] br-lan: port 1(eth0.1) entered blocking state [ 44.297752] br-lan: port 1(eth0.1) entered forwarding state [ 44.307747] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready