Hello again. I have managed to boot OpenWRT up on the router, but I could not get ethernet working at all (and also the wifi and USB, but that's not the priority). I've used the ar10.dtsi from here and also added some of the patches from the above message. Can someone help me with writing the proper/working dts (as I don't really understand it)?
Here is what I have now:
ar10_tplink_archer-d2-v1.dts
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/dts-v1/;
#include "ar10.dtsi"
#include <dt-bindings/input/input.h>
#include <dt-bindings/mips/lantiq_rcu_gphy.h>
/ {
compatible = "tplink,archer-d2-v1", "lantiq,xway", "lantiq,ar10";
model = "TP-Link Archer D2 v1";
memory@0 {
device_type = "memory";
reg = <0x0 0x8000000>;
};
aliases {
led-boot = &led_power;
led-failsafe = &led_power;
led-running = &led_power;
led-upgrade = &led_power;
led-dsl = &led_dsl;
led-internet = &led_internet;
led-wifi = &led_wlan;
};
keys: keys {
compatible = "gpio-keys-polled";
poll-interval = <100>;
reset {
label = "reset";
gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>;
};
wifi {
label = "wifi";
gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
linux,code = <KEY_RFKILL>;
linux,input-type = <EV_SW>;
};
wps {
label = "wps";
gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>;
};
};
leds: leds {
compatible = "gpio-leds";
led_power: power {
label = "power";
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
default-state = "keep";
};
led_dsl: dsl {
label = "dsl";
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
};
led_internet: internet {
label = "internet";
gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
};
usb {
label = "usb";
gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
// trigger-sources = <&ehci_port1>, <&ehci_port2>;
linux,default-trigger = "usbport";
};
eth {
label = "lan";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
led_wlan: wlan {
label = "wlan";
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
wps {
label = "wps";
gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
};
};
usb_vbus: regulator-usb-vbus {
compatible = "regulator-fixed";
regulator-name = "USB_VBUS";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio 33 GPIO_ACTIVE_HIGH>;
enable-active-high;
};
};
&pcie0 {
pcie@0 {
status = "okay";
};
};
&pcie1 {
pcie@1 {
status = "okay";
};
};
&pcie2 {
pcie@2 {
status = "okay";
};
};
&spi {
status = "okay";
flash@0 {
compatible = "jedec,spi-nor";
reg = <1>;
spi-max-frequency = <25000000>;
//m25p,fast-read;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
reg = <0x0 0x20000>;
label = "u-boot";
read-only;
};
partition@20000 {
reg = <0x20000 0xf90000>;
label = "firmware";
};
partition@fb0000 {
reg = <0xfb0000 0x10000>;
label = "radioDECT";
read-only;
};
partition@fc0000 {
reg = <0xfc0000 0x10000>;
label = "config";
read-only;
};
romfile: partition@fd0000 {
reg = <0xfd0000 0x10000>;
label = "romfile";
read-only;
};
partition@fe0000 {
reg = <0xfe0000 0x10000>;
label = "rom";
read-only;
};
radio: partition@ff0000 {
reg = <0xff0000 0x10000>;
label = "radio";
read-only;
};
};
};
};
ð0 {
interface@0 {
compatible = "lantiq,xrx200-pdi";
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
mac-address = [ 00 11 22 33 44 55 ];
lantiq,switch;
ethernet@1 {
compatible = "lantiq,xrx200-pdi-port";
reg = <1>;
phy-mode = "gmii";
phy-handle = <&phy1>;
};
ethernet@2 {
compatible = "lantiq,xrx200-pdi-port";
reg = <2>;
phy-mode = "gmii";
phy-handle = <&phy2>;
};
ethernet@3 {
compatible = "lantiq,xrx200-pdi-port";
reg = <3>;
phy-mode = "gmii";
phy-handle = <&phy3>;
};
ethernet@4 {
compatible = "lantiq,xrx200-pdi-port";
reg = <4>;
phy-mode = "gmii";
phy-handle = <&phy3>;
};
};
mdio@0 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "lantiq,xrx200-mdio";
reg = <0>;
phy1: ethernet-phy@1 {
reg = <0x1>;
};
phy2: ethernet-phy@2 {
reg = <0x2>;
};
phy3: ethernet-phy@3 {
reg = <0x3>;
};
};
};
&usb_phy0 {
status = "okay";
};
&usb_phy1 {
status = "okay";
};
&usb0 {
status = "okay";
};
&usb1 {
status = "okay";
};
(GPIO LEDs/buttons and SPI Flash seem to be working properly)
ar10.dtsi
#include <dt-bindings/gpio/gpio.h>
/ {
#address-cells = <1>;
#size-cells = <1>;
compatible = "lantiq,xway", "lantiq,ar10";
aliases {
serial0 = &asc1;
};
chosen {
stdout-path = "serial0:115200n8";
};
cpus {
cpu@0 {
compatible = "mips,mips34Kc";
};
cpu@1 {
compatible = "mips,mips34Kc";
};
};
memory@0 {
device_type = "memory";
};
cputemp@0 {
compatible = "lantiq,cputemp";
};
biu@1f800000 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "lantiq,biu", "simple-bus";
reg = <0x1f800000 0x800000>;
ranges = <0x0 0x1f800000 0x7fffff>;
icu0: icu0@80200 {
#interrupt-cells = <1>;
interrupt-controller;
compatible = "lantiq,icu";
reg = <0x80200 0x28
0x80228 0x28
0x80250 0x28
0x80278 0x28
0x802a0 0x28>;
};
icu1: icu1@80300 {
#interrupt-cells = <1>;
interrupt-controller;
compatible = "lantiq,icu1";
reg = <0x80300 0x28
0x80328 0x28
0x80350 0x28
0x80378 0x28
0x803a0 0x28>;
};
watchdog@803f0 {
compatible = "lantiq,xrx100-wdt";
reg = <0x803f0 0x10>;
regmap = <&rcu0>;
};
};
sram@1f000000 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "lantiq,sram", "simple-bus";
reg = <0x1f000000 0x800000>;
ranges = <0x0 0x1f000000 0x7fffff>;
eiu0: eiu@101000 {
#interrupt-cells = <1>;
interrupt-controller;
compatible = "lantiq,eiu-xway";
reg = <0x101000 0x1000>;
interrupt-parent = <&icu0>;
lantiq,eiu-irqs = <166 135 66 40 41 42>;
};
pmu0: pmu@102000 {
compatible = "lantiq,pmu-xway";
reg = <0x102000 0x1000>;
};
cgu0: cgu@103000 {
compatible = "lantiq,cgu-xway";
reg = <0x103000 0x1000>;
};
ts: ts@106f00 {
compatible = "lantiq,ts-grx390"; /* to revisit */
reg = <0x106f00 0x10>;
interrupt-parent = <&icu0>;
interrupts = <143>;
lantiq,numofsensors = <0x1>;
};
dcdc@106a00 {
compatible = "lantiq,dcdc-xrx200";
reg = <0x106a00 0x200>;
};
vmmc: vmmc@103000 {
status = "disabled";
compatible = "lantiq,vmmc-xway";
reg = <0x103000 0x400>;
interrupt-parent = <&icu0>;
interrupts = <150 151 152 153 154 155>;
};
rcu0: rcu@203000 {
compatible = "lantiq,xrx200-rcu", "simple-mfd", "syscon";
reg = <0x203000 0x1000>;
// interrupt-parent = <&icu0>;
// interrupts = <115>;
ranges = <0x0 0x203000 0x100>;
big-endian;
gphy0: gphy@20 {
compatible = "lantiq,xrx300-gphy";
reg = <0x20 0x4>;
resets = <&reset0 31 30>, <&reset1 6 6>;
reset-names = "gphy", "gphy2";
};
gphy1: gphy@58 {
compatible = "lantiq,xrx300-gphy";
reg = <0x58 0x4>;
resets = <&reset0 29 28>, <&reset1 7 7>;
reset-names = "gphy", "gphy2";
};
gphy2: gphy@ac {
compatible = "lantiq,xrx300-gphy";
reg = <0xac 0x4>;
resets = <&reset0 27 26>, <&reset1 8 8>;
reset-names = "gphy", "gphy2";
};
reset0: reset-controller@10 {
compatible = "lantiq,xrx200-reset";
reg = <0x10 4>, <0x14 4>;
#reset-cells = <2>;
};
reset1: reset-controller@48 {
compatible = "lantiq,xrx200-reset";
reg = <0x48 4>, <0x24 4>;
#reset-cells = <2>;
};
usb_phy0: usb2-phy@18 {
compatible = "lantiq,xrx300-usb2-phy";
reg = <0x18 4>, <0x38 4>;
status = "disabled";
resets = <&reset1 4 4>, <&reset0 4 4>;
reset-names = "phy", "ctrl";
#phy-cells = <0>;
};
usb_phy1: usb2-phy@34 {
compatible = "lantiq,xrx300-usb2-phy";
reg = <0x34 4>, <0x3c 4>;
status = "disabled";
resets = <&reset1 5 4>, <&reset0 4 4>;
reset-names = "phy", "ctrl";
#phy-cells = <0>;
};
reboot@10 {
compatible = "syscon-reboot";
reg = <0x10 4>;
regmap = <&rcu0>;
offset = <0x10>;
mask = <0xe0000000>;
};
};
};
fpi@10000000 {
compatible = "lantiq,xrx200-fpi", "simple-bus";
ranges = <0x0 0x10000000 0xff00000>;
reg = <0x1f400000 0x1000>,
<0x10000000 0xf000000>;
regmap = <&rcu0>;
offset-endianness = <0x4c>; /* ?????????? */
#address-cells = <1>;
#size-cells = <1>;
localbus: localbus@0 {
#address-cells = <2>;
#size-cells = <1>;
ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
1 0 0x4000000 0x4000010>; /* addsel1 */
compatible = "lantiq,localbus", "simple-bus";
};
gptu@e100a00 {
compatible = "lantiq,gptu-xway";
reg = <0xe100a00 0x100>;
interrupt-parent = <&icu0>;
interrupts = <126 127 128 129 130 131>;
};
usif: usif@da00000 {
compatible = "lantiq,usif";
reg = <0xda00000 0x1000000>;
interrupt-parent = <&icu0>;
interrupts = <29 125 107 108 109 110>;
status = "disabled";
};
spi: spi@e100800 {
compatible = "lantiq,xrx200-spi", "lantiq,xrx100-spi";
reg = <0xe100800 0x100>;
interrupt-parent = <&icu0>;
interrupts = <22 23 24>;
interrupt-names = "spi_rx", "spi_tx", "spi_err",
"spi_frm";
#address-cells = <1>;
#size-cells = <1>;
status = "disabled";
};
asc1: serial@e100c00 {
compatible = "lantiq,asc";
reg = <0xe100c00 0x400>;
interrupt-parent = <&icu0>;
interrupts = <112 113 114>;
};
gpio: pinmux@e100b10 {
compatible = "lantiq,xrx300-pinctrl";
#gpio-cells = <2>;
gpio-controller;
reg = <0xe100b10 0xa0>;
};
stp: stp@e100bb0 {
status = "disabled";
compatible = "lantiq,gpio-stp-xway";
reg = <0xe100bb0 0x40>;
#gpio-cells = <2>;
gpio-controller;
lantiq,shadow = <0xffffff>;
lantiq,groups = <0x7>;
lantiq,dsl = <0x0>;
lantiq,phy1 = <0x0>;
lantiq,phy2 = <0x0>;
};
deu@e103100 {
status = "disabled";
compatible = "lantiq,deu-xrx200";
reg = <0xe103100 0xf00>;
/* supported by upstream? */
lantiq,algo = "aes", "des", "arc4", "sha1", "md5", "sha1-hmac", "md5-hmac";
lantiq,dma-mode = <0>;
lantiq,sync-mode = <1>;
};
dma0: dma@e104100 {
compatible = "lantiq,dma-xway";
reg = <0xe104100 0x800>;
interrupt-parent = <&icu0>;
interrupts = <72 73 74 75 76 77 78 79 80 81 82 83 97 98 99 100 101 70 88 93 136 137 138 139>;
lantiq,desc-num = <256>;
lantiq,dma-hw-poll = <1>;
lantiq,dma-pkt-arb = <0>;
};
ebu0: ebu@6000000 {
compatible = "lantiq,ebu-xway";
reg = <0x6000000 0x100>,
<0x6000100 0x100>;
};
usb0: usb@e101000 {
status = "disabled";
compatible = "lantiq,xrx200-usb";
reg = <0xe101000 0x1000
0xe120000 0x3f000>;
interrupt-parent = <&icu0>;
interrupts = <62 91>;
dr_mode = "host";
phys = <&usb_phy0>;
phy-names = "usb2-phy";
};
usb1: usb@e106000 {
status = "disabled";
compatible = "lantiq,xrx200-usb";
reg = <0xe106000 0x1000>;
interrupt-parent = <&icu0>;
interrupts = <91>;
dr_mode = "host";
phys = <&usb_phy1>;
phy-names = "usb2-phy";
};
eth0: eth@e108000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "lantiq,xrx200-net";
reg = < 0xe108000 0x3000 /* switch */
0xe10b100 0x70 /* mdio */
0xe10b1d8 0x30 /* mii */
0xe10b308 0x30 /* pmac */
>;
interrupt-parent = <&icu0>;
interrupts = <75 73 72>;
resets = <&reset0 21 16>, <&reset0 8 8>;
reset-names = "switch", "ppe";
lantiq,phys = <&gphy0>, <&gphy1>, <&gphy2>;
};
mei@e116000 {
compatible = "lantiq,mei-xrx300";
reg = <0xe116000 0x100>;
interrupt-parent = <&icu0>;
interrupts = <63 61>;
};
ppe@e234000 {
compatible = "lantiq,ppe-xrx200";
interrupt-parent = <&icu0>;
interrupts = <32 95 69>;
};
wlan@a000000 {
compatible ="lantiq,wlan-xrx330";
status = "okay";
interrupt-parent = <&icu0>;
interrupts = <26>;
};
pcie0: pcie@d900000 {
status = "disabled";
compatible = "lantiq,pcie-xrx330";
device_type = "pci";
#address-cells = <3>;
#size-cells = <2>;
reg = < 0xD900000 0x1000 /* RC controller */
0xD000000 0x800000 /* Cfg Space */
0xE100900 0x100 /* App logic */
0xF106800 0x200 /* PCIe PHY Reg */
0xF600000 0x100000 /* MSI addr space */
0xF700000 0x400 /* MSI PIC */
>;
reg-names = "csr", "cfg", "app", "phy", "msi", "pic";
interrupt-parent = <&icu0>;
interrupts = <163 164 165 38 161>;
interrupt-names = "msi0", "msi1", "msi2", "msi3", "ir";
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0x7>;
interrupt-map = <0 0 0 1 &icu0 144>,
<0 0 0 2 &icu0 145>,
<0 0 0 3 &icu0 146>,
<0 0 0 4 &icu0 147>;
ranges = <0x02000000 0 0x0C000000 0x0C000000 0 0x01000000 /* Non-pretechable memory 32bit */
0x01000000 0 0x0D800000 0x0D800000 0 0x00100000 /* Downsream I/O */
>;
resets = <&rcu0 12>,
<&rcu0 22>;
reset-names = "phy", "core";
lantiq,inbound-shift = <12>;
lantiq,outbound-shift = <4>;
};
pcie1: pcie@9900000 {
status = "disabled";
compatible = "lantiq,pcie-xrx330";
device_type = "pci";
#address-cells = <3>;
#size-cells = <2>;
reg = < 0x9900000 0x1000 /* RC controller */
0x9000000 0x800000 /* Cfg Space */
0xE100700 0x100 /* App logic */
0xF700400 0x200 /* PCIe PHY Reg */
0xF400000 0x100000 /* MSI addr space */
0xF500000 0x400 /* MSI PIC */
>;
reg-names = "csr", "cfg", "app", "phy", "msi", "pic";
interrupt-parent = <&icu0>;
interrupts = <49 50 51 52 57>;
interrupt-names = "msi0", "msi1", "msi2", "msi3", "ir";
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0x7>;
interrupt-map = <0 0 0 1 &icu0 17>,
<0 0 0 2 &icu0 18>,
<0 0 0 3 &icu0 19>,
<0 0 0 4 &icu0 20>;
bus-range = <0x00 0xff>;
ranges = < 0x02000000 0 0x08000000 0x08000000 0 0x01000000 /* Non-pretechable memory 32bit */
0x01000000 0 0x09800000 0x09800000 0 0x00100000 /* Downsream I/O */
>;
resets = <&rcu0 13>,
<&rcu0 27>;
reset-names = "phy", "core";
lantiq,inbound-shift = <13>;
lantiq,outbound-shift = <8>;
};
pcie2: pcie@9B00000 {
status = "disabled";
compatible = "lantiq,pcie-xrx330";
device_type = "pci";
#address-cells = <3>;
#size-cells = <2>;
reg = < 0x9B00000 0x1000 /* RC controller */
0xA800000 0x800000 /* Cfg Space */
0xE100400 0x100 /* App logic */
0xF106A00 0x200 /* PCIe PHY Reg */
0xF700A00 0x100000 /* MSI addr space */
0xF700600 0x400 /* MSI PIC */
>;
reg-names = "csr", "cfg", "app", "phy", "msi", "pic";
interrupt-parent = <&icu0>;
interrupts = <84 85 86 87 61>;
interrupt-names = "msi0", "msi1", "msi2", "msi3", "ir";
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0x7>;
interrupt-map = <0 0 0 1 &icu0 27>,
<0 0 0 2 &icu0 71>,
<0 0 0 3 &icu0 89>,
<0 0 0 4 &icu0 90>;
bus-range = <0x00 0xff>;
ranges = < 0x02000000 0 0x0B000000 0x0B000000 0 0x01000000 /* Non-pretechable memory 32bit */
0x01000000 0 0x09A00000 0x09A00000 0 0x00100000 /* Downsream I/O */
>;
resets = <&rcu0 60>,
<&rcu0 61>;
reset-names = "phy", "core";
lantiq,inbound-shift = <14>;
lantiq,outbound-shift = <17>;
};
};
};
OpenWRT bootlog:
[ 0.000000] Linux version 5.4.105 (misha@Ryzen-PC) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16249-9ac47ee469)) #0 SMP Thu Mar 18 09:53:26 2021
[ 0.000000] SoC: xRX300 rev 1.2
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019556 (MIPS 34Kc)
[ 0.000000] MIPS: machine is TP-Link Archer D2 v1
[ 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] percpu: Embedded 14 pages/cpu s26224 r8192 d22928 u57344
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32480
[ 0.000000] Kernel command line:
[ 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=00000048
[ 0.000000] Readback ErrCtl register=00000048
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 115992K/131072K available (5943K kernel code, 214K rwdata, 1532K rodata, 5732K init, 221K bss, 15080K 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+0x318/0x530 with crng_init=0
[ 0.000000] CPU Clock: 500MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041786 ns
[ 0.000010] sched_clock: 32 bits at 250MHz, resolution 4ns, wraps every 8589934590ns
[ 0.007902] Calibrating delay loop... 332.54 BogoMIPS (lpj=665088)
[ 0.045960] pid_max: default: 32768 minimum: 301
[ 0.050894] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.058085] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.069578] rcu: Hierarchical SRCU implementation.
[ 0.075192] smp: Bringing up secondary CPUs ...
[ 0.080919] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.080935] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.081080] CPU1 revision is: 00019556 (MIPS 34Kc)
[ 0.111854] Synchronize counters for CPU 1: done.
[ 0.136213] smp: Brought up 1 node, 2 CPUs
[ 0.145447] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.155108] futex hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.162153] pinctrl core: initialized pinctrl subsystem
[ 0.168955] NET: Registered protocol family 16
[ 0.188410] dcdc-xrx200 1f106a00.dcdc: Core Voltage : 0 mV
[ 0.203093] pinctrl-xway 1e100b10.pinmux: Init done
[ 0.209354] dma-xway 1e104100.dma: Init done - hw rev: 8, ports: 5, channels: 24
[ 0.261056] pinctrl-xway 1e100b10.pinmux: No GPIO function on pin33
[ 0.267499] pinctrl-xway 1e100b10.pinmux: request() failed for pin 33
[ 0.273833] pinctrl-xway 1e100b10.pinmux: pin-33 (XWAY GPIO:481) status -22
[ 0.280912] reg-fixed-voltage: probe of regulator-usb-vbus failed with error -22
[ 0.289458] usbcore: registered new interface driver usbfs
[ 0.295034] usbcore: registered new interface driver hub
[ 0.300409] usbcore: registered new device driver usb
[ 0.306178] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[ 0.318912] clocksource: Switched to clocksource MIPS
[ 0.325480] NET: Registered protocol family 2
[ 0.331647] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.339980] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.347667] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.354767] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.361367] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.367832] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.375244] NET: Registered protocol family 1
[ 0.379568] PCI: CLS 0 bytes, default 32
[ 0.502668] random: fast init done
[ 10.123263] gptu: totally 6 16-bit timers/counters
[ 10.128115] gptu: misc_register on minor 63
[ 10.132277] gptu: succeeded to request irq 126
[ 10.136762] gptu: succeeded to request irq 127
[ 10.141294] gptu: succeeded to request irq 128
[ 10.145823] gptu: succeeded to request irq 129
[ 10.150324] gptu: succeeded to request irq 130
[ 10.154848] gptu: succeeded to request irq 131
[ 10.159528] No VPEs reserved for AP/SP, not initialize VPE loader
[ 10.159528] Pass maxvpes=<n> argument as kernel argument
[ 10.170902] No TCs reserved for AP/SP, not initializing RTLX.
[ 10.170902] Pass maxtcs=<n> argument as kernel argument
[ 10.184311] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 10.209475] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 10.215240] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 10.237812] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc
[ 10.246730] printk: console [ttyLTQ0] enabled
[ 10.246730] printk: console [ttyLTQ0] enabled
[ 10.255453] printk: bootconsole [early0] disabled
[ 10.255453] printk: bootconsole [early0] disabled
[ 10.269827] spi-lantiq-ssc 1e100800.spi: Lantiq SSC SPI controller (Rev 9, TXFS 8, RXFS 8, DMA 1)
[ 10.279976] spi-nor spi0.1: s25fl128s1 (16384 Kbytes)
[ 10.283760] 7 fixed-partitions partitions found on MTD device spi0.1
[ 10.290053] Creating 7 MTD partitions on "spi0.1":
[ 10.294783] 0x000000000000-0x000000020000 : "u-boot"
[ 10.301168] 0x000000020000-0x000000fb0000 : "firmware"
[ 10.618866] random: crng init done
[ 10.680331] 2 tplink-fw partitions found on MTD device firmware
[ 10.684848] 0x000000020000-0x00000014dd47 : "kernel"
[ 10.691320] 0x000000160000-0x000000fb0000 : "rootfs"
[ 10.696285] mtd: device 3 (rootfs) set to be root filesystem
[ 10.703188] 1 squashfs-split partitions found on MTD device rootfs
[ 10.708003] 0x000000830000-0x000000fb0000 : "rootfs_data"
[ 10.715228] 0x000000fb0000-0x000000fc0000 : "radioDECT"
[ 10.721297] 0x000000fc0000-0x000000fd0000 : "config"
[ 10.727159] 0x000000fd0000-0x000000fe0000 : "romfile"
[ 10.733051] 0x000000fe0000-0x000000ff0000 : "rom"
[ 10.738579] 0x000000ff0000-0x000001000000 : "radio"
[ 10.745997] libphy: Fixed MDIO Bus: probed
[ 10.759616] NET: Registered protocol family 10
[ 10.767094] Segment Routing with IPv6
[ 10.769439] NET: Registered protocol family 17
[ 10.773944] 8021q: 802.1Q VLAN Support v1.8
[ 10.785669] xway-rcu-gphy 1f203020.gphy: Direct firmware load for lantiq/xrx300_phy11g_a21.bin failed with error -2
[ 10.794891] xway-rcu-gphy 1f203020.gphy: Falling back to sysfs fallback for: lantiq/xrx300_phy11g_a21.bin
[ 72.750856] xway-rcu-gphy 1f203020.gphy: failed to load firmware: lantiq/xrx300_phy11g_a21.bin, error: -11
[ 72.759207] xway-rcu-gphy: probe of 1f203020.gphy failed with error -11
[ 72.766183] xway-rcu-gphy 1f203058.gphy: Direct firmware load for lantiq/xrx300_phy11g_a21.bin failed with error -2
[ 72.776196] xway-rcu-gphy 1f203058.gphy: Falling back to sysfs fallback for: lantiq/xrx300_phy11g_a21.bin
[ 134.190857] xway-rcu-gphy 1f203058.gphy: failed to load firmware: lantiq/xrx300_phy11g_a21.bin, error: -11
[ 134.199202] xway-rcu-gphy: probe of 1f203058.gphy failed with error -11
[ 134.206180] xway-rcu-gphy 1f2030ac.gphy: Direct firmware load for lantiq/xrx300_phy11g_a21.bin failed with error -2
[ 134.216191] xway-rcu-gphy 1f2030ac.gphy: Falling back to sysfs fallback for: lantiq/xrx300_phy11g_a21.bin
[ 195.630852] xway-rcu-gphy 1f2030ac.gphy: failed to load firmware: lantiq/xrx300_phy11g_a21.bin, error: -11
[ 195.639197] xway-rcu-gphy: probe of 1f2030ac.gphy failed with error -11
[ 195.668694] Freeing unused kernel memory: 5732K
[ 195.671832] This architecture does not have kernel memory protection.
[ 195.678245] Run /init as init process
[ 196.729766] init: Console is alive
[ 196.732204] init: - watchdog -
[ 196.762359] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 196.779289] dwc2 1e101000.usb: 1e101000.usb supply vusb_d not found, using dummy regulator
[ 196.786306] dwc2 1e101000.usb: 1e101000.usb supply vusb_a not found, using dummy regulator
[ 196.897187] dwc2 1e101000.usb: DWC OTG Controller
[ 196.900618] dwc2 1e101000.usb: new USB bus registered, assigned bus number 1
[ 196.907617] dwc2 1e101000.usb: irq 62, io mem 0x1e101000
[ 196.914263] hub 1-0:1.0: USB hub found
[ 196.916842] hub 1-0:1.0: 1 port detected
[ 196.922052] dwc2 1e106000.usb: 1e106000.usb supply vusb_d not found, using dummy regulator
[ 196.929179] dwc2 1e106000.usb: 1e106000.usb supply vusb_a not found, using dummy regulator
[ 197.038933] dwc2 1e106000.usb: DWC OTG Controller
[ 197.042231] dwc2 1e106000.usb: new USB bus registered, assigned bus number 2
[ 197.049340] dwc2 1e106000.usb: irq 91, io mem 0x1e106000
[ 197.056024] hub 2-0:1.0: USB hub found
[ 197.058527] hub 2-0:1.0: 1 port detected
[ 197.065537] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 197.074492] init: - preinit -
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 201.442868] procd: - early -
[ 201.444498] procd: - watchdog -
[ 202.031712] procd: - watchdog -
[ 202.034128] procd: - ubus -
[ 202.095171] procd: - init -
Please press Enter to activate this console.
[ 202.784335] kmodloader: loading kernel modules from /etc/modules.d/*
[ 202.793116] IFXOS, Version 1.5.19 (c) Copyright 2009, Lantiq Deutschland GmbH
[ 202.803549] NET: Registered protocol family 8
[ 202.806449] NET: Registered protocol family 20
[ 202.818291] PPP generic driver version 2.4.2
[ 202.882269] Lantiq (VRX) DSL CPE MEI driver, version 1.5.17.6, (c) 2007-2015 Lantiq Beteiligungs-GmbH & Co. KG
[ 202.899011]
[ 202.899011]
[ 202.899011] Lantiq CPE API Driver version: DSL CPE API V4.17.18.6
[ 202.916701]
[ 202.916701] Predefined debug level: 3
[ 202.921792] Get BSP Driver Handle Fail!
[ 202.925621] Get BSP Driver NFC Handle Fail!
[ 202.936042] Loading modules backported from Linux version v5.10.16-0-gde53befa79cf
[ 202.942241] Backport generated by backports.git v5.10.16-1-0-g21d2a1d2
[ 202.996800] NET: Registered protocol family 24
[ 203.012614] xt_time: kernel timezone is -0000
[ 203.166439] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 203.257505] urngd: v1.0.2 started.
BusyBox v1.33.0 () built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt SNAPSHOT, r16249-9ac47ee469
-----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:/#