I have created an experimental build based on current trunk that incorporates all that andyboeh mentioned to do. It also adds a tool in the build tools section that downloads the avm firmware, extracts it and places the vdsl, usb firmware and the wasp stage 1 firmware into /lib/firmware. bspatch is required, since ADSL firmware is extracted, but I removed the copy to keep the images small.
wasp_uploader is the package that does it in the makefile. I automated it as best as I could, such that you follow the instructions from the README, there is nothing more to build or transfer.
What does not work:
- USB3, although the renesas patch to load the firmware is applied and it initializes
- LAN3 and LAN4 do not work, these are the AR 8035 based phy's. They work with a 4.x based kernel or using one of the images for 3490 or 7362sl.
- I have not tried sysupgrade. So I don't know if the nand handling is correct and the sysupgrade process works.
- If the lantiq image gets bigger than 11-13MB, eva bootloader is stuck in boot. I suspect, that its because the rootfs (initramfs) is part of the kernel. The AVM firmware appends the rootfs after the kernel.
The modifications are here.
Kernel Log from WASP SoC
[ 0.000000] Linux version 5.4.83 (kestrel@ubuntu) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r15242-2ca365938e)) #0 Sat Dec 19 18:03:17 2020
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[ 0.000000] MIPS: machine is AVM FRITZ!Box 7490 WASP Board
[ 0.000000] SoC: Qualcomm Atheros QCA9558 ver 1 rev 0
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Primary instruction cache 64kB, 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] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32480
[ 0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[ 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=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 112600K/131072K available (4819K kernel code, 185K rwdata, 1108K rodata, 10840K init, 196K bss, 18472K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 51
[ 0.000000] random: get_random_bytes called from start_kernel+0x32c/0x520 with crng_init=0
[ 0.000000] CPU clock: 720.000 MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5309056796 ns
[ 0.000007] sched_clock: 32 bits at 360MHz, resolution 2ns, wraps every 5965232126ns
[ 0.008291] Calibrating delay loop... 359.42 BogoMIPS (lpj=718848)
[ 0.042885] pid_max: default: 32768 minimum: 301
[ 0.047929] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.055719] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.067344] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.077753] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.085091] pinctrl core: initialized pinctrl subsystem
[ 0.091481] NET: Registered protocol family 16
[ 0.119563] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[ 0.132505] clocksource: Switched to clocksource MIPS
[ 0.138896] NET: Registered protocol family 2
[ 0.144204] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.153164] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.161333] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.168847] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.175725] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.182724] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.190409] NET: Registered protocol family 1
[ 0.195104] PCI: CLS 0 bytes, default 32
[ 0.356982] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 0.369564] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.375807] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.400102] pinctrl-single 1804002c.pinmux: 544 pins, size 68
[ 0.407125] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.414525] printk: console [ttyS0] disabled
[ 0.419152] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 2500000) is a 16550A
[ 0.428343] printk: console [ttyS0] enabled
[ 0.437242] printk: bootconsole [early0] disabled
[ 0.449738] libphy: Fixed MDIO Bus: probed
[ 0.456612] ag71xx 19000000.eth: invalid MAC address, using random address
[ 0.793541] ag71xx 19000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
[ 0.803183] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: rgmii
[ 0.809633] i2c /dev entries driver
[ 0.814558] NET: Registered protocol family 10
[ 0.822874] Segment Routing with IPv6
[ 0.826731] NET: Registered protocol family 17
[ 0.831309] 8021q: 802.1Q VLAN Support v1.8
[ 0.836307] PCI host bridge /ahb/pcie-controller@180c0000 ranges:
[ 0.842547] MEM 0x0000000010000000..0x0000000011ffffff
[ 0.847864] IO 0x0000000000000000..0x0000000000000000
[ 0.853328] PCI host bridge to bus 0000:00
[ 0.857519] pci_bus 0000:00: root bus resource [mem 0x10000000-0x11ffffff]
[ 0.864504] pci_bus 0000:00: root bus resource [io 0x0000]
[ 0.870166] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.877057] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.885126] pci 0000:00:00.0: [168c:003c] type 00 class 0x028000
[ 0.891274] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[ 0.898217] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[ 0.905095] pci 0000:00:00.0: supports D1
[ 0.909170] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 0.915802] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 0.922553] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x101fffff 64bit]
[ 0.929997] pci 0000:00:00.0: BAR 6: assigned [mem 0x10200000-0x1020ffff pref]
[ 0.980999] Freeing unused kernel memory: 10840K
[ 0.985702] This architecture does not have kernel memory protection.
[ 0.992235] Run /init as init process
[ 1.160535] random: fast init done
[ 1.425326] init: Console is alive
[ 1.429047] init: - watchdog -
[ 1.448062] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 1.457050] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 1.475443] init: - preinit -
[ 1.701370] random: jshn: uninitialized urandom read (4 bytes read)
[ 1.813300] random: jshn: uninitialized urandom read (4 bytes read)
[ 1.855825] random: jshn: uninitialized urandom read (4 bytes read)
[ 2.024051] eth0: link up (1000Mbps/Full duplex)
[ 2.034461] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 6.146364] device eth0 entered promiscuous mode
[ 6.389186] eth0: link down
[ 6.402310] procd: - early -
[ 6.405368] procd: - watchdog -
[ 6.929443] procd: - watchdog -
[ 6.932987] procd: - ubus -
[ 6.943067] urandom_read: 4 callbacks suppressed
[ 6.943074] random: ubusd: uninitialized urandom read (4 bytes read)
[ 6.986424] random: ubusd: uninitialized urandom read (4 bytes read)
[ 6.993303] random: ubusd: uninitialized urandom read (4 bytes read)
[ 7.000726] procd: - init -
[ 7.530141] kmodloader: loading kernel modules from /etc/modules.d/*
[ 7.569515] Loading modules backported from Linux version v5.8.18-0-gab435ce49bd1
[ 7.577154] Backport generated by backports.git v5.8.18-1-0-ga630fd46
[ 7.629126] xt_time: kernel timezone is -0000
[ 7.807307] urngd: v1.0.2 started.
[ 7.816686] ath10k 5.8 driver, optimized for CT firmware, probing pci device: 0x3c.
[ 7.837268] ath10k_pci 0000:00:00.0: enabling device (0000 -> 0002)
[ 7.843833] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[ 8.016363] random: crng init done
[ 9.535229] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[ 9.544628] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[ 9.557067] ath10k_pci 0000:00:00.0: firmware ver 10.1-ct-8x-__fH-022-538f0906 api 2 features wmi-10.x,mfp,txstatus-noack,wmi-10.x-CT,ratemask-CT,txrate-CT,get-temp-CT,tx-rc-CT,cust-stats-CT,retry-gt2-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT crc32 d870ee1d
[ 9.975668] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[ 10.953508] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16 peers: 127 tid: 256
[ 10.970940] ath10k_pci 0000:00:00.0: wmi print 'P 128 V 8 T 410'
[ 10.977262] ath10k_pci 0000:00:00.0: wmi print 'msdu-desc: 1424 sw-crypt: 0 ct-sta: 0'
[ 10.985417] ath10k_pci 0000:00:00.0: wmi print 'alloc rem: 21000 iram: 25960'
[ 11.039106] ath10k_pci 0000:00:00.0: htt-ver 2.2 wmi-op 2 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
[ 11.053353] ath10k_pci 0000:00:00.0: NOTE: Firmware DBGLOG output disabled in debug_mask: 0x10000000
[ 11.163689] ath: EEPROM regdomain: 0x8114
[ 11.163695] ath: EEPROM indicates we should expect a country code
[ 11.163701] ath: doing EEPROM country->regdmn map search
[ 11.163705] ath: country maps to regdmn code: 0x37
[ 11.163710] ath: Country alpha2 being used: DE
[ 11.163713] ath: Regpair used: 0x37
[ 11.231473] ath: EEPROM regdomain sanitized
[ 11.231483] ath: EEPROM regdomain: 0x64
[ 11.231486] ath: EEPROM indicates we should expect a direct regpair map
[ 11.231504] ath: Country alpha2 being used: 00
[ 11.231507] ath: Regpair used: 0x64
[ 11.248694] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[ 11.250423] ieee80211 phy1: Atheros AR9550 Rev:0 mem=0xb8100000, irq=13
[ 11.291917] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 77.266577] eth0: link up (1000Mbps/Full duplex)
[ 77.276780] br-lan: port 1(eth0) entered blocking state
[ 77.282122] br-lan: port 1(eth0) entered disabled state
[ 77.300085] br-lan: port 1(eth0) entered blocking state
[ 77.305427] br-lan: port 1(eth0) entered forwarding state
[ 78.284583] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 80.903276] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16 peers: 127 tid: 256
[ 80.920782] ath10k_pci 0000:00:00.0: wmi print 'P 128 V 8 T 410'
[ 80.927123] ath10k_pci 0000:00:00.0: wmi print 'msdu-desc: 1424 sw-crypt: 0 ct-sta: 0'
[ 80.935287] ath10k_pci 0000:00:00.0: wmi print 'alloc rem: 21000 iram: 25960'
[ 81.003447] ath10k_pci 0000:00:00.0: pdev param 0 not supported by firmware
[ 81.023451] br-lan: port 2(wlan0) entered blocking state
[ 81.028890] br-lan: port 2(wlan0) entered disabled state
[ 81.034556] device wlan0 entered promiscuous mode
[ 81.115196] br-lan: port 3(wlan1) entered blocking state
[ 81.120637] br-lan: port 3(wlan1) entered disabled state
[ 81.126302] device wlan1 entered promiscuous mode
[ 81.131209] br-lan: port 3(wlan1) entered blocking state
[ 81.136645] br-lan: port 3(wlan1) entered forwarding state
[ 81.535895] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[ 84.234604] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 84.241239] br-lan: port 2(wlan0) entered blocking state
[ 84.246675] br-lan: port 2(wlan0) entered forwarding state
Kernel Log from Lantiq SoC
[ 0.000000] Linux version 5.4.83 (kestrel@ubuntu) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r15242-2ca365938e)) #0 SMP Sat Dec 19 18:03:17 2020
[ 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 7490
[ 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-0x000000000fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000001fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000001fffffff]
[ 0.000000] On node 0 totalpages: 65536
[ 0.000000] Normal zone: 576 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 65536 pages, LIFO batch:15
[ 0.000000] percpu: Embedded 14 pages/cpu s26224 r8192 d22928 u57344
[ 0.000000] pcpu-alloc: s26224 r8192 d22928 u57344 alloc=14*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 64960
[ 0.000000] Kernel command line: console=ttyLTQ0,115200
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000] Writing ErrCtl register=00062cc4
[ 0.000000] Readback ErrCtl register=00062cc4
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 242480K/262144K available (5822K kernel code, 214K rwdata, 1512K rodata, 9204K init, 221K bss, 19664K 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 25 jiffies.
[ 0.000000] NR_IRQS: 256
[ 0.000000] random: get_random_bytes called from start_kernel+0x33c/0x554 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.007911] Calibrating delay loop... 332.54 BogoMIPS (lpj=665088)
[ 0.046001] pid_max: default: 32768 minimum: 301
[ 0.050951] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.058152] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.069521] rcu: Hierarchical SRCU implementation.
[ 0.075123] smp: Bringing up secondary CPUs ...
[ 0.080883] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.080902] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.081003] CPU1 revision is: 00019556 (MIPS 34Kc)
[ 0.111828] Synchronize counters for CPU 1: done.
[ 0.136237] smp: Brought up 1 node, 2 CPUs
[ 0.146802] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.156465] futex hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.163612] pinctrl core: initialized pinctrl subsystem
[ 0.170893] NET: Registered protocol family 16
[ 0.189807] dcdc-xrx200 1f106a00.dcdc: Core Voltage : 1016 mV
[ 0.202759] GPIO line 484 (pcie-rst-dev) hogged as output/low
[ 0.208456] GPIO line 467 (usb0-vbus) hogged as output/high
[ 0.214077] GPIO line 476 (usb1-vbus) hogged as output/high
[ 0.220142] pinctrl-xway 1e100b10.pinmux: Init done
[ 0.226714] dma-xway 1e104100.dma: Init done - hw rev: 7, ports: 7, channels: 28
[ 0.238001] PCI host bridge /fpi@10000000/pci@e105400 ranges:
[ 0.243837] MEM 0x0000000018000000..0x0000000019ffffff
[ 0.249081] IO 0x000000001ae00000..0x000000001affffff
[ 0.300331] usbcore: registered new interface driver usbfs
[ 0.305908] usbcore: registered new interface driver hub
[ 0.311358] usbcore: registered new device driver usb
[ 0.317219] PCI host bridge to bus 0000:00
[ 0.321245] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff]
[ 0.328173] pci_bus 0000:00: root bus resource [io 0x1ae00000-0x1affffff]
[ 0.335097] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.341969] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.352436] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 0.359094] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[ 0.368785] random: fast init done
[ 0.375008] clocksource: Switched to clocksource MIPS
[ 0.382969] NET: Registered protocol family 2
[ 0.388300] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.396609] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.404340] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.411530] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.418104] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.424580] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.431921] NET: Registered protocol family 1
[ 0.436229] PCI: CLS 0 bytes, default 32
[ 15.521278] gptu: totally 6 16-bit timers/counters
[ 15.526163] gptu: misc_register on minor 63
[ 15.530387] gptu: succeeded to request irq 126
[ 15.534898] gptu: succeeded to request irq 127
[ 15.539337] gptu: succeeded to request irq 128
[ 15.543848] gptu: succeeded to request irq 129
[ 15.548369] gptu: succeeded to request irq 130
[ 15.552863] gptu: succeeded to request irq 131
[ 15.557558] No VPEs reserved for AP/SP, not initialize VPE loader
[ 15.557558] Pass maxvpes=<n> argument as kernel argument
[ 15.568933] No TCs reserved for AP/SP, not initializing RTLX.
[ 15.568933] Pass maxtcs=<n> argument as kernel argument
[ 15.582516] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[ 15.608275] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 15.614049] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 15.633222] gpio-export gpio-export: 1 gpio(s) exported
[ 15.642184] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc
[ 15.651124] printk: console [ttyLTQ0] enabled
[ 15.659842] printk: bootconsole [early0] disabled
[ 15.674247] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xdc
[ 15.679161] nand: Micron MT29F4G08ABADAWP
[ 15.683158] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 15.690985] Scanning device for bad blocks
[ 15.980560] 2 fixed-partitions partitions found on MTD device 14000000.flash
[ 15.986212] Creating 2 MTD partitions on "14000000.flash":
[ 15.991717] 0x000000000000-0x000000400000 : "kernel"
[ 15.999047] 0x000000400000-0x000020000000 : "ubi"
[ 16.011880] spi-lantiq-ssc 1e100800.spi: Lantiq SSC SPI controller (Rev 8, TXFS 8, RXFS 8, DMA 1)
[ 16.022142] spi-nor spi0.4: mx25l8005 (1024 Kbytes)
[ 16.025720] 3 fixed-partitions partitions found on MTD device spi0.4
[ 16.031971] Creating 3 MTD partitions on "spi0.4":
[ 16.036793] 0x000000000000-0x000000040000 : "urlader"
[ 16.044259] 0x000000040000-0x0000000a0000 : "tffs (1)"
[ 16.050283] 0x0000000a0000-0x000000100000 : "tffs (2)"
[ 16.058072] libphy: Fixed MDIO Bus: probed
[ 16.071745] NET: Registered protocol family 10
[ 16.080297] Segment Routing with IPv6
[ 16.082654] NET: Registered protocol family 17
[ 16.087258] 8021q: 802.1Q VLAN Support v1.8
[ 16.098273] pcie-xrx200 1d900000.pcie: failed to get the PCIe PHY
[ 16.209574] libphy: lantiq,xrx200-mdio: probed
[ 16.321447] Static link. Port <0>!
[ 16.349285] Registered fixed-link
[ 16.351483] Atheros 8035 ethernet 0:00: attached PHY driver [Atheros 8035 ethernet] (mii_bus:phy_addr=0:00, irq=POLL)
[ 16.362146] Atheros 8035 ethernet 0:01: attached PHY driver [Atheros 8035 ethernet] (mii_bus:phy_addr=0:01, irq=POLL)
[ 16.373124] 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)
[ 16.386888] 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)
[ 16.400096] lantiq,xrx200-net 1e108000.eth eth0 (uninitialized): Connect as fixed link.
[ 16.408159] Generic PHY fixed-0:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=fixed-0:00, irq=POLL)
[ 16.554606] PCI host bridge /fpi@10000000/pcie@d900000 ranges:
[ 16.559291] PCI host bridge to bus 0000:01
[ 16.563179] pci_bus 0000:01: root bus resource [mem 0x1c000000-0x1cffffff]
[ 16.570023] pci_bus 0000:01: root bus resource [io 0x1d800000-0x1d8fffff]
[ 16.576910] pci_bus 0000:01: root bus resource [??? 0x00000000 flags 0x0]
[ 16.583689] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
[ 16.591667] pci 0000:01:00.0: [1bef:0011] type 01 class 0x060000
[ 16.597640] ifx_pcie_rc_class_early_fixup: fixed pcie host bridge to pci-pci bridge
[ 16.615422] pci 0000:01:00.0: ifx_pcie_rc_class_early_fixup+0x0/0x7c took 17329 usecs
[ 16.622017] pci 0000:01:00.0: PME# supported from D0 D3hot
[ 16.630379] pci 0000:01:00.0: bridge configuration invalid ([bus 02-00]), reconfiguring
[ 16.637388] pci 0000:02:00.0: [1912:0015] type 00 class 0x0c0330
[ 16.643115] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x00001fff 64bit]
[ 16.650036] pci 0000:02:00.0: PME# supported from D0 D3hot
[ 16.655339] pci 0000:02:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x1 link at 0000:01:00.0 (capable of 4.000 Gb/s with 5 GT/s x1 link)
[ 16.672134] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[ 16.677388] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 02
[ 16.684024] pci 0000:01:00.0: BAR 8: assigned [mem 0x1c000000-0x1c0fffff]
[ 16.690821] pci 0000:02:00.0: BAR 0: assigned [mem 0x1c000000-0x1c001fff 64bit]
[ 16.698117] pci 0000:01:00.0: PCI bridge to [bus 02]
[ 16.703054] pci 0000:01:00.0: bridge window [mem 0x1c000000-0x1c0fffff]
[ 16.710010] ifx_pcie_bios_map_irq port 0 dev 0000:01:00.0 slot 0 pin 1
[ 16.716440] ifx_pcie_bios_map_irq dev 0000:01:00.0 irq 144 assigned
[ 16.722754] pcieport 0000:01:00.0: enabling device (0000 -> 0002)
[ 16.729466] pci 0000:02:00.0: enabling device (0000 -> 0002)
[ 22.525064] pci 0000:02:00.0: xHCI HW not ready after 5 sec (HC bug?) status = 0x801
[ 22.531454] pci 0000:02:00.0: quirk_usb_early_handoff+0x0/0x7f8 took 5666018 usecs
[ 22.540500] UBI error: no valid UBI magic found inside mtd1
[ 22.558974] Freeing unused kernel memory: 9204K
[ 22.562082] This architecture does not have kernel memory protection.
[ 22.568552] Run /init as init process
[ 23.580259] init: Console is alive
[ 23.582612] init: - watchdog -
[ 23.612152] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 23.631638] ifx_pcie_bios_map_irq port 0 dev 0000:02:00.0 slot 0 pin 1
[ 23.637030] ifx_pcie_bios_map_irq dev 0000:02:00.0 irq 144 assigned
[ 23.643329] xhci_hcd 0000:02:00.0: xHCI Host Controller
[ 23.648446] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 1
[ 25.642995] random: crng init done
[ 33.655832] xhci_hcd 0000:02:00.0: can't setup: -145
[ 33.659424] xhci_hcd 0000:02:00.0: USB bus 1 deregistered
[ 33.664876] xhci_hcd 0000:02:00.0: init 0000:02:00.0 fail, -145
[ 33.670773] xhci_hcd: probe of 0000:02:00.0 failed with error -145
[ 33.679684] ifx_pcie_bios_map_irq port 0 dev 0000:02:00.0 slot 0 pin 1
[ 33.685009] ifx_pcie_bios_map_irq dev 0000:02:00.0 irq 144 assigned
[ 33.698073] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 33.706388] init: - preinit -
[ 34.033239] lantiq,xrx200-net 1e108000.eth eth0: port 5 got link
[ 34.038196] lantiq,xrx200-net 1e108000.eth eth0: port 2 got link
[ 34.051170] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 34.157140] renesas xhci 0000:02:00.0: xHCI Host Controller
[ 34.161472] renesas xhci 0000:02:00.0: new USB bus registered, assigned bus number 1
[ 34.174680] renesas xhci 0000:02:00.0: hcc params 0x014051cf hci version 0x100 quirks 0x0000000101000090
[ 34.186604] hub 1-0:1.0: USB hub found
[ 34.189689] hub 1-0:1.0: 2 ports detected
[ 34.195326] renesas xhci 0000:02:00.0: xHCI Host Controller
[ 34.199612] renesas xhci 0000:02:00.0: new USB bus registered, assigned bus number 2
[ 34.207355] renesas xhci 0000:02:00.0: Host supports USB 3.0 SuperSpeed
[ 34.214964] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 34.223954] hub 2-0:1.0: USB hub found
[ 34.226433] hub 2-0:1.0: 2 ports detected
[ 37.319472] lantiq,xrx200-net 1e108000.eth eth0: port 2 lost link
[ 37.324353] lantiq,xrx200-net 1e108000.eth eth0: port 5 lost link
[ 37.345224] procd: - early -
[ 37.347055] procd: - watchdog -
[ 37.922435] procd: - watchdog -
[ 37.925035] procd: - ubus -
[ 37.981116] procd: - init -
[ 38.720090] kmodloader: loading kernel modules from /etc/modules.d/*
[ 38.742036] IFXOS, Version 1.5.19 (c) Copyright 2009, Lantiq Deutschland GmbH
[ 38.764547] NET: Registered protocol family 8
[ 38.767572] NET: Registered protocol family 20
[ 38.783897] PPP generic driver version 2.4.2
[ 38.829882] Lantiq (VRX) DSL CPE MEI driver, version 1.5.17.6, (c) 2007-2015 Lantiq Beteiligungs-GmbH & Co. KG
[ 38.856925]
[ 38.856925]
[ 38.856925] Lantiq CPE API Driver version: DSL CPE API V4.17.18.6
[ 38.874616]
[ 38.874616] Predefined debug level: 3
[ 38.897907] Infineon Technologies DEU driver version 2.0.0
[ 38.906371] IFX DEU DES initialized (multiblock).
[ 38.912618] IFX DEU AES initialized (multiblock).
[ 38.917201] IFX DEU ARC4 initialized (multiblock).
[ 38.921336] IFX DEU SHA1 initialized.
[ 38.925149] IFX DEU MD5 initialized.
[ 38.928603] IFX DEU SHA1_HMAC initialized.
[ 38.932679] IFX DEU MD5_HMAC initialized.
[ 38.951642] NET: Registered protocol family 24
[ 38.973042] xt_time: kernel timezone is -0000
[ 39.028985] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 39.193128] urngd: v1.0.2 started.
[ 87.281520] lantiq,xrx200-net 1e108000.eth eth0: port 5 got link
[ 87.286325] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 87.325544] device eth0 entered promiscuous mode
[ 87.340701] br-lan: port 1(eth0.1) entered blocking state
[ 87.344837] br-lan: port 1(eth0.1) entered disabled state
[ 87.351042] device eth0.1 entered promiscuous mode
[ 87.368883] br-lan: port 1(eth0.1) entered blocking state
[ 87.373024] br-lan: port 1(eth0.1) entered forwarding state
[ 88.291947] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 89.315227] lantiq,xrx200-net 1e108000.eth eth0: port 2 got link
VDSL Status
ATU-C Vendor ID: Broadcom 176.199
ATU-C System Vendor ID: Broadcom
Chipset: Lantiq-VRX200
Firmware Version: 5.9.1.4.0.7
API Version: 4.17.18.6
XTSE Capabilities: 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2
Annex: B
Line Mode: G.993.5 (VDSL2 with down- and upstream vectoring)
Profile: 17a
Line State: UP [0x801: showtime_tc_sync]
Forward Error Correction Seconds (FECS): Near: 139 / Far: 19041
Errored seconds (ES): Near: 0 / Far: 8667
Severely Errored Seconds (SES): Near: 0 / Far: 110
Loss of Signal Seconds (LOSS): Near: 0 / Far: 0
Unavailable Seconds (UAS): Near: 51522786 / Far: 51522786
Header Error Code Errors (HEC): Near: 0 / Far: 0
Non Pre-emtive CRC errors (CRC_P): Near: 0 / Far: 0
Pre-emtive CRC errors (CRCP_P): Near: 0 / Far: 0
Power Management Mode: L0 - Synchronized
Latency [Interleave Delay]: 10.0 ms [Interleave] 0.0 ms [Fast]
Data Rate: Down: 74.908 Mb/s / Up: 18.947 Mb/s
Line Attenuation (LATN): Down: 21.5 dB / Up: 28.4 dB
Signal Attenuation (SATN): Down: 21.2 dB / Up: 28.1 dB
Noise Margin (SNR): Down: 6.1 dB / Up: 6.0 dB
Aggregate Transmit Power (ACTATP): Down: 7.6 dB / Up: 12.4 dB
Max. Attainable Data Rate (ATTNDR): Down: 75.218 Mb/s / Up: 18.947 Mb/s
Line Uptime Seconds: 214
Line Uptime: 3m 34s
Happy testing. I had the box running with both images for a day and it worked. In the current configuration, I could use it either as DSL Router with Wifi or just connect it to a switch and use it just as a wifi hotspot (while I am not sure, why I got an ip address from the switch connected network and not from openwrt lantiq instance). Booting it up takes about 90-120s for the initramfs Lantiq and after that another 90-120s for the WASP to boot and make networking available. The SSIDs for wireless are OpenWrt and OpenWrt-5G and the key is extracted from urlader partition as printed on the sticker on the back of the device, similar to how the mac addresses are extracted.
For now I am running out of ideas for USB3 and the AR 8035 ethernet ports and cannot spend more time.