Reduce number of drivers for RTL8367S

There are currently three drivers for the RTL8367S:

mediatek,rtk-gsw (target/linux/mediatek/files/drivers/net/phy/rtk)
realtek,rtl8367b (target/linux/generic/files/drivers/net/phy/rtl8367b.c)
realtek,rtl8365mb (DSA) (kernel: drivers/net/dsa/realtek/rtl8365mb.c)

I think it should be reduced.

The discussion on this topic started at https://github.com/openwrt/openwrt/pull/19473#issuecomment-3099688954

I have collected information about the use of rtl8367s in openwrt:

router chip family chip extif cpu_port interface driver realtek, rtl8367b driver realtek, rtl8365mb driver mediatek, rtk-gsw
tplink,archer-c5-v4 c RTL8367S 2 7 RGMII :white_check_mark: :white_check_mark: https://github.com/openwrt/openwrt/pull/19397
tplink,archer-c5-v4 d RTL8367S-VB 1 7 RGMII :white_check_mark: :check_box_with_check: possible
tplink,ec220-g5-v2 c RTL8367S 2 7 RGMII :white_check_mark: :white_check_mark: https://github.com/openwrt/openwrt/pull/19397
tplink,ec220-g5-v2 d RTL8367S-VB 1 7 RGMII :white_check_mark: :check_box_with_check: possible
totolink,a8000ru c RTL8367S 1,2 6,7 (logical_6,5) HSGMII, RGMII :check_box_with_check: possible :white_check_mark:
elecom,wrc-2533gent c RTL8337C 1,2 6,7 (logical_6,5) SGMII, RGMII :check_box_with_check: possible :white_check_mark:
buffalo,wsr-2533dhp2 c RTL8367S 1 6 HSGMII :check_box_with_check: possible :white_check_mark:
mercusys,mr85x c RTL8367S 1 6 HSGMII :white_check_mark: https://github.com/openwrt/openwrt/pull/19445 :white_check_mark: https://github.com/openwrt/openwrt/pull/19187
The goal is to move routers to realtek,rtl8365mb and remove unnecessary drivers. Additionally, I ask @981213 and @blogic to look into the possibility of switching to the realtek,rtl8365mb driver for totolink,a8000ru and elecom,wrc-2533gent.
1 Like

I think the code with two cpu_ports should look like this:

&eth {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&eth_pins>;

	gmac0: mac@0 {
		compatible = "mediatek,eth-mac";
		reg = <0>;

		nvmem-cells = <&macaddr_factory_d81c 0>;
		nvmem-cell-names = "mac-address";
		phy-mode = "2500base-x";

		fixed-link {
			speed = <2500>;
			full-duplex;
			pause;
		};
	};

	gmac1: mac@1 {
		compatible = "mediatek,eth-mac";
		reg = <1>;
		phy-mode = "rgmii";

		fixed-link {
			speed = <1000>;
			full-duplex;
			pause;
		};
	};

	mdio: mdio-bus {
		#address-cells = <1>;
		#size-cells = <0>;

		switch@1d {
			compatible = "realtek,rtl8365mb";
			reg = <29>;
			reset-gpios = <&pio 54 GPIO_ACTIVE_LOW>;

			realtek,ext-int = <1>;          /* EXTINT1 - port 6 */
			realtek,trap-port = <&port6>;   /* trap frames to port 6 */

			switch_mdio: mdio {
				#address-cells = <1>;
				#size-cells = <0>;

				phy1: ethernet-phy@1 {
					reg = <1>;
				};

				phy2: ethernet-phy@2 {
					reg = <2>;
				};

				phy3: ethernet-phy@3 {
					reg = <3>;
				};
			};

			switch_ports: ports {
				#address-cells = <1>;
				#size-cells = <0>;

				port@1 {
					reg = <1>;
					phy-handle = <&phy1>;
				};

				port@2 {
					reg = <2>;
					phy-handle = <&phy2>;
				};

				port@3 {
					reg = <3>;
					phy-handle = <&phy3>;
				};

				port6: port@6 {
					reg = <6>;
					label = "cpu_hsgmii";
					ethernet = <&gmac0>;
					phy-mode = "2500base-x";

					fixed-link {
						speed = <2500>;
						full-duplex;
						pause;
					};

				port@7 {
					reg = <7>;
					label = "cpu_rgmii";
					ethernet = <&gmac1>;
					phy-mode = "rgmii";

					fixed-link {
						speed = <1000>;
						full-duplex;
						pause;
					};
				};
			};
		};
	};
};

I am able to update the configuration of the totolink-a8000ru, elecom-wrc-2533gent and buffalo-wsr-2533dhp2 routers for the realtek,rtl8365mb driver but I am not able to test them in any way.

Test PR (for totolink,a8000ru, elecom,wrc-2533gent and buffalo,wsr-2533dhp2): https://github.com/namiltd/openwrt/pull/93

2 Likes

I can test the Totolink when I have the chance.

Anything special I should try?

Thanks for this.

Prepare for a possible recovery.
If the router starts, attach the kernel log

1 Like

The Totolink boots, switch port led lights up doesn't flash, when I connect a cable, but I can't access it and it doesn't respond to ping.

I can't attach serial at the moment unfortunately to get the boot log.

Replace mt7622-totolink-a8000ru.dts with the file https://github.com/user-attachments/files/21455470/mt7622-totolink-a8000ru.dts.txt

File not found in the link

1 Like

With the latest dts changes I get the same exact results as before. Ports are live with connected cable but no traffic is passed.

Unfortunately, without logs I can't find the cause.

I'll try to hook up a serial connexion.

Thanks for the effort improving the rtl8365mb driver!

Here is another example of an OpenWrt hardware that uses the RTL8367S chip. This project will also benefit from your work!

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.12.40 (asim@Asus-Vivobook) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 14.3.0 r29818+30-9ed1278cf7) 14.3.0, GNU ld (GNU Binutils) 2.42) #0 SMP Sat Aug  2 06:03:11 2025
[    0.000000] Machine model: TOTOLINK A8000RU
[    0.000000] earlycon: uart8250 at MMIO32 0x0000000011002000 (options '')
[    0.000000] printk: legacy bootconsole [uart8250] enabled
[    0.000000] OF: reserved mem: 0x0000000042ff0000..0x0000000042ffffff (64 KiB) map non-reusable ramoops@42ff0000
[    0.000000] OF: reserved mem: 0x0000000043000000..0x000000004302ffff (192 KiB) nomap non-reusable secmon@43000000
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x000000005fffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x0000000042ffffff]
[    0.000000]   node   0: [mem 0x0000000043000000-0x000000004302ffff]
[    0.000000]   node   0: [mem 0x0000000043030000-0x000000005fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000005fffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv0.2 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] percpu: Embedded 20 pages/cpu s42520 r8192 d31208 u81920
[    0.000000] pcpu-alloc: s42520 r8192 d31208 u81920 alloc=20*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: kernel page table isolation disabled by kernel configuration
[    0.000000] CPU features: detected: ARM erratum 843419
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: earlycon=uart8250,mmio32,0x11002000 swiotlb=512
[    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 131072
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: area num 2.
[    0.000000] software IO TLB: mapped [mem 0x000000005f4c0000-0x000000005f5c0000] (1MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=2.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 12.50MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049cda, max_idle_ns: 440795202628 ns
[    0.000000] sched_clock: 56 bits at 13MHz, resolution 80ns, wraps every 4398046511080ns
[    0.008274] Calibrating delay loop (skipped), value calculated using timer frequency.. 25.00 BogoMIPS (lpj=125000)
[    0.018673] pid_max: default: 32768 minimum: 301
[    0.026137] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.033483] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.044205] rcu: Hierarchical SRCU implementation.
[    0.049020] rcu:     Max phase no-delay instances is 1000.
[    0.054436] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
[    0.062777] smp: Bringing up secondary CPUs ...
[    0.067728] Detected VIPT I-cache on CPU1
[    0.067806] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.067882] smp: Brought up 1 node, 2 CPUs
[    0.082565] SMP: Total of 2 processors activated.
[    0.087282] CPU: All CPU(s) started at EL2
[    0.091391] CPU features: detected: 32-bit EL0 Support
[    0.096545] CPU features: detected: CRC32 instructions
[    0.101724] alternatives: applying system-wide alternatives
[    0.107453] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.115955] Memory: 497120K/524288K available (9216K kernel code, 916K rwdata, 2664K rodata, 448K init, 301K bss, 25328K reserved, 0K cma-reserved)
[    0.132931] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.142838] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.149716] 29344 pages in range for non-PLT usage
[    0.149720] 520864 pages in range for PLT usage
[    0.155967] pinctrl core: initialized pinctrl subsystem
[    0.166882] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.173102] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.180207] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.187996] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.196349] thermal_sys: Registered thermal governor 'fair_share'
[    0.196354] thermal_sys: Registered thermal governor 'bang_bang'
[    0.202466] thermal_sys: Registered thermal governor 'step_wise'
[    0.208498] thermal_sys: Registered thermal governor 'user_space'
[    0.214581] ASID allocator initialised with 65536 entries
[    0.226477] pstore: Using crash dump compression: deflate
[    0.231904] pstore: Registered ramoops as persistent store backend
[    0.238104] ramoops: using 0x10000@0x42ff0000, ecc: 0
[    0.250390] /pcie@1a143000: Fixed dependency cycle(s) with /pcie@1a143000/interrupt-controller
[    0.259368] /pcie@1a145000: Fixed dependency cycle(s) with /pcie@1a145000/interrupt-controller
[    0.280178] cryptd: max_cpu_qlen set to 1000
[    0.286540] SCSI subsystem initialized
[    0.290470] libata version 3.00 loaded.
[    0.295708] clocksource: Switched to clocksource arch_sys_counter
[    0.304009] NET: Registered PF_INET protocol family
[    0.309021] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.317435] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.325835] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.333614] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.341417] TCP bind hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.348770] TCP: Hash tables configured (established 4096 bind 4096)
[    0.355448] MPTCP token hash table entries: 512 (order: 1, 12288 bytes, linear)
[    0.362892] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.369465] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.376628] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.382327] PCI: CLS 0 bytes, default 64
[    0.387372] workingset: timestamp_bits=46 max_order=17 bucket_order=0
[    0.398623] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.404479] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.477354] mt-pmic-pwrap 10001000.pwrap: unexpected interrupt int=0x1
[    0.497214] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.504715] printk: legacy console [ttyS0] disabled
[    0.530036] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 118, base_baud = 1562500) is a ST16650V2
[    0.539356] printk: legacy console [ttyS0] enabled
[    0.548947] printk: legacy bootconsole [uart8250] disabled
[    0.560817] mtk_rng 1020f000.rng: registered RNG driver
[    0.560963] random: crng init done
[    0.571899] loop: module loaded
[    0.575472] mtk-ecc 1100e000.ecc: probed
[    0.580810] spi-nand spi0.0: Macronix SPI NAND was found.
[    0.586244] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[    0.594413] mtk-snand 1100d000.spi: ECC strength: 4 bits per 512 bytes
[    0.603379] [BBT] BMT.v2 is found at 0x3ff
[    0.607770] 8 fixed-partitions partitions found on MTD device spi0.0
[    0.614122] Creating 8 MTD partitions on "spi0.0":
[    0.618935] 0x000000000000-0x000000080000 : "Preloader"
[    0.625042] 0x000000080000-0x0000000c0000 : "ATF"
[    0.630277] 0x0000000c0000-0x000000140000 : "u-boot"
[    0.636111] 0x000000140000-0x0000001c0000 : "u-boot-env"
[    0.642175] 0x0000001c0000-0x000000200000 : "factory"
[    0.647760] OF: Bad cell count for /spi@1100d000/flash@0/partitions
[    0.654197] 0x000000200000-0x000006600000 : "ubi"
[    0.766619] 0x000006600000-0x000006700000 : "User_data"
[    0.773123] 0x000006700000-0x0000075c0000 : "reserved"
[    0.919417] mtk_soc_eth 1b100000.ethernet eth0: mediatek frame engine at 0xffffffc081240000, irq 123
[    0.929503] rtc_mt7622 10212800.rtc: registered as rtc0
[    0.934754] rtc_mt7622 10212800.rtc: setting system clock to 2000-01-01T00:00:00 UTC (946684800)
[    0.943715] i2c_dev: i2c /dev entries driver
[    0.949318] mtk-wdt 10212000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[    0.958969] NET: Registered PF_INET6 protocol family
[    0.964587] Segment Routing with IPv6
[    0.968293] In-situ OAM (IOAM) with IPv6
[    0.972254] NET: Registered PF_PACKET protocol family
[    0.977479] 8021q: 802.1Q VLAN Support v1.8
[    1.001601] mtk-pcie 1a143000.pcie: host bridge /pcie@1a143000 ranges:
[    1.008207] mtk-pcie 1a143000.pcie: Parsing ranges property...
[    1.014044] mtk-pcie 1a143000.pcie:      MEM 0x0020000000..0x0027ffffff -> 0x0020000000
[    1.262287] mtk-pcie 1a143000.pcie: PCI host bridge to bus 0000:00
[    1.268520] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.274005] pci_bus 0000:00: root bus resource [mem 0x20000000-0x27ffffff]
[    1.280886] pci_bus 0000:00: scanning bus
[    1.285129] pci 0000:00:00.0: [14c3:3258] type 01 class 0x060400 PCIe Root Port
[    1.292623] pci 0000:00:00.0: BAR 0 [mem 0x00000000-0x1ffffffff 64bit pref]
[    1.299664] pci 0000:00:00.0: PCI bridge to [bus 00]
[    1.304695] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff]
[    1.314198] pci_bus 0000:00: fixups for bus
[    1.318400] pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass 0
[    1.325098] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.333179] pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass 1
[    1.340252] pci_bus 0000:01: scanning bus
[    1.344460] pci 0000:01:00.0: [14c3:7615] type 00 class 0x000280 PCIe Endpoint
[    1.351864] pci 0000:01:00.0: BAR 0 [mem 0x00000000-0x000fffff 64bit]
[    1.359305] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:00.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    1.385840] pci_bus 0000:01: fixups for bus
[    1.390022] pci_bus 0000:01: bus scan returning with max=01
[    1.395591] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.402232] pci_bus 0000:00: bus scan returning with max=01
[    1.407826] pci 0000:00:00.0: BAR 0 [mem size 0x200000000 64bit pref]: can't assign; no space
[    1.416359] pci 0000:00:00.0: BAR 0 [mem size 0x200000000 64bit pref]: failed to assign
[    1.424364] pci 0000:00:00.0: bridge window [mem 0x20000000-0x200fffff]: assigned
[    1.431849] pci 0000:01:00.0: BAR 0 [mem 0x20000000-0x200fffff 64bit]: assigned
[    1.439243] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.444206] pci 0000:00:00.0:   bridge window [mem 0x20000000-0x200fffff]
[    1.451000] pci_bus 0000:00: Some PCI device resources are unassigned, try booting with pci=realloc
[    1.460045] pci_bus 0000:00: resource 4 [mem 0x20000000-0x27ffffff]
[    1.466310] pci_bus 0000:01: resource 1 [mem 0x20000000-0x200fffff]
[    1.472692] pcieport 0000:00:00.0: assign IRQ: got 128
[    1.477838] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[    1.483943] pcieport 0000:00:00.0: enabling bus mastering
[    1.489422] mtk-pcie 1a143000.pcie: msi#0 address_hi 0x0 address_lo 0x450050c0
[    1.496815] pcieport 0000:00:00.0: PME: Signaling with IRQ 128
[    1.502711] pcieport 0000:00:00.0: save config 0x00: 0x325814c3
[    1.508636] pcieport 0000:00:00.0: save config 0x04: 0x00100006
[    1.514551] pcieport 0000:00:00.0: save config 0x08: 0x06040000
[    1.520473] pcieport 0000:00:00.0: save config 0x0c: 0x00010000
[    1.526391] pcieport 0000:00:00.0: save config 0x10: 0x0000000c
[    1.532305] pcieport 0000:00:00.0: save config 0x14: 0x00000000
[    1.538224] pcieport 0000:00:00.0: save config 0x18: 0x40010100
[    1.544138] pcieport 0000:00:00.0: save config 0x1c: 0x04200000
[    1.550057] pcieport 0000:00:00.0: save config 0x20: 0x20002000
[    1.555975] pcieport 0000:00:00.0: save config 0x24: 0x00000000
[    1.561889] pcieport 0000:00:00.0: save config 0x28: 0x00000000
[    1.567807] pcieport 0000:00:00.0: save config 0x2c: 0x00000000
[    1.573721] pcieport 0000:00:00.0: save config 0x30: 0x00000000
[    1.579642] pcieport 0000:00:00.0: save config 0x34: 0x00000050
[    1.585555] pcieport 0000:00:00.0: save config 0x38: 0x00000000
[    1.591474] pcieport 0000:00:00.0: save config 0x3c: 0x00020180
[    1.597803] mtk-pcie 1a145000.pcie: host bridge /pcie@1a145000 ranges:
[    1.604333] mtk-pcie 1a145000.pcie: Parsing ranges property...
[    1.610171] mtk-pcie 1a145000.pcie:      MEM 0x0028000000..0x002fffffff -> 0x0028000000
[    1.852412] mtk-pcie 1a145000.pcie: PCI host bridge to bus 0001:00
[    1.858627] pci_bus 0001:00: root bus resource [bus 00-ff]
[    1.864111] pci_bus 0001:00: root bus resource [mem 0x28000000-0x2fffffff]
[    1.870989] pci_bus 0001:00: scanning bus
[    1.875337] pci 0001:00:01.0: [14c3:3258] type 01 class 0x060400 PCIe Root Port
[    1.882834] pci 0001:00:01.0: BAR 0 [mem 0x00000000-0x1ffffffff 64bit pref]
[    1.889870] pci 0001:00:01.0: PCI bridge to [bus 00]
[    1.894900] pci 0001:00:01.0:   bridge window [mem 0x00000000-0x000fffff]
[    1.904175] pci_bus 0001:00: fixups for bus
[    1.908373] pci 0001:00:01.0: scanning [bus 00-00] behind bridge, pass 0
[    1.915070] pci 0001:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.923148] pci 0001:00:01.0: scanning [bus 00-00] behind bridge, pass 1
[    1.930218] pci_bus 0001:01: scanning bus
[    1.934419] pci 0001:01:00.0: [14c3:7615] type 00 class 0x000280 PCIe Endpoint
[    1.941821] pci 0001:01:00.0: BAR 0 [mem 0x00000000-0x000fffff 64bit]
[    1.949258] pci 0001:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0001:00:01.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    1.975794] pci_bus 0001:01: fixups for bus
[    1.979979] pci_bus 0001:01: bus scan returning with max=01
[    1.985550] pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 01
[    1.992190] pci_bus 0001:00: bus scan returning with max=01
[    1.997786] pci 0001:00:01.0: BAR 0 [mem size 0x200000000 64bit pref]: can't assign; no space
[    2.006319] pci 0001:00:01.0: BAR 0 [mem size 0x200000000 64bit pref]: failed to assign
[    2.014324] pci 0001:00:01.0: bridge window [mem 0x28000000-0x280fffff]: assigned
[    2.021808] pci 0001:01:00.0: BAR 0 [mem 0x28000000-0x280fffff 64bit]: assigned
[    2.029202] pci 0001:00:01.0: PCI bridge to [bus 01]
[    2.034164] pci 0001:00:01.0:   bridge window [mem 0x28000000-0x280fffff]
[    2.040964] pci_bus 0001:00: Some PCI device resources are unassigned, try booting with pci=realloc
[    2.050006] pci_bus 0001:00: resource 4 [mem 0x28000000-0x2fffffff]
[    2.056270] pci_bus 0001:01: resource 1 [mem 0x28000000-0x280fffff]
[    2.062648] pcieport 0001:00:01.0: assign IRQ: got 130
[    2.067794] pcieport 0001:00:01.0: enabling device (0000 -> 0002)
[    2.073898] pcieport 0001:00:01.0: enabling bus mastering
[    2.079359] mtk-pcie 1a145000.pcie: msi#0 address_hi 0x0 address_lo 0x450150c0
[    2.086745] pcieport 0001:00:01.0: PME: Signaling with IRQ 130
[    2.092644] pcieport 0001:00:01.0: save config 0x00: 0x325814c3
[    2.098570] pcieport 0001:00:01.0: save config 0x04: 0x00100006
[    2.104485] pcieport 0001:00:01.0: save config 0x08: 0x06040000
[    2.110404] pcieport 0001:00:01.0: save config 0x0c: 0x00010000
[    2.116322] pcieport 0001:00:01.0: save config 0x10: 0x0000000c
[    2.122236] pcieport 0001:00:01.0: save config 0x14: 0x00000000
[    2.128157] pcieport 0001:00:01.0: save config 0x18: 0x40010100
[    2.134071] pcieport 0001:00:01.0: save config 0x1c: 0x04200000
[    2.139991] pcieport 0001:00:01.0: save config 0x20: 0x28002800
[    2.145909] pcieport 0001:00:01.0: save config 0x24: 0x00000000
[    2.151823] pcieport 0001:00:01.0: save config 0x28: 0x00000000
[    2.157744] pcieport 0001:00:01.0: save config 0x2c: 0x00000000
[    2.163657] pcieport 0001:00:01.0: save config 0x30: 0x00000000
[    2.169576] pcieport 0001:00:01.0: save config 0x34: 0x00000050
[    2.175490] pcieport 0001:00:01.0: save config 0x38: 0x00000000
[    2.181408] pcieport 0001:00:01.0: save config 0x3c: 0x00020182
[    2.187978] mtk_hsdma 1b007000.dma-controller: MediaTek HSDMA driver registered
[    2.195730] UBI: auto-attach mtd5
[    2.199048] ubi0: default fastmap pool size: 40
[    2.203570] ubi0: default fastmap WL pool size: 20
[    2.208369] ubi0: attaching mtd5
[    2.515552] ubi0: scanning is finished
[    2.524047] ubi0: attached mtd5 (name "ubi", size 100 MiB)
[    2.529555] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    2.536433] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    2.543216] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    2.550176] ubi0: good PEBs: 800, bad PEBs: 0, corrupted PEBs: 0
[    2.556178] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
[    2.563393] ubi0: max/mean erase counter: 72/20, WL threshold: 4096, image sequence number: 0
[    2.571914] ubi0: available PEBs: 0, total reserved PEBs: 800, PEBs reserved for bad PEB handling: 19
[    2.581138] ubi0: background thread "ubi_bgt0d" started, PID 576
[    2.587720] block ubiblock0_1: created from ubi0:1(rootfs)
[    2.593203] ubiblock: device ubiblock0_1 (rootfs) set to be root filesystem
[    2.600280] clk: Disabling unused clocks
[    2.604499] PM: genpd: Disabling unused power domains
[    2.612945] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    2.620316] Freeing unused kernel memory: 448K
[    2.624794] Run /sbin/init as init process
[    2.628889]   with arguments:
[    2.631847]     /sbin/init
[    2.634544]   with environment:
[    2.637685]     HOME=/
[    2.640036]     TERM=linux
[    2.819192] init: Console is alive
[    2.822694] init: - watchdog -
[    3.370265] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.393105] usbcore: registered new interface driver usbfs
[    3.398675] usbcore: registered new interface driver hub
[    3.404018] usbcore: registered new device driver usb
[    3.410027] gpio_button_hotplug: loading out-of-tree module taints kernel.
[    3.566213] rtl8365mb-mdio mdio-bus:1d: found an RTL8367S switch
[    3.748821] rtl8365mb-mdio mdio-bus:1d: missing child interrupt-controller node
[    3.756179] rtl8365mb-mdio mdio-bus:1d: no interrupt support
[    3.931204] rtl8365mb-mdio mdio-bus:1d: configuring for fixed/2500base-x link mode
[    4.081353] rtl8365mb-mdio mdio-bus:1d: Link is Up - 2.5Gbps/Full - flow control rx/tx
[    4.082037] rtl8365mb-mdio mdio-bus:1d (unnamed net_device) (uninitialized): PHY [mdio-bus:1d:user_mii:00] driver [RTL8365MB-VC Gigabit Ethernet] (irq=POLL)
[    4.105354] rtl8365mb-mdio mdio-bus:1d (unnamed net_device) (uninitialized): PHY [mdio-bus:1d:user_mii:01] driver [RTL8365MB-VC Gigabit Ethernet] (irq=POLL)
[    4.121200] rtl8365mb-mdio mdio-bus:1d (unnamed net_device) (uninitialized): PHY [mdio-bus:1d:user_mii:02] driver [RTL8365MB-VC Gigabit Ethernet] (irq=POLL)
[    4.137031] rtl8365mb-mdio mdio-bus:1d (unnamed net_device) (uninitialized): PHY [mdio-bus:1d:user_mii:03] driver [RTL8365MB-VC Gigabit Ethernet] (irq=POLL)
[    4.152538] mtk_soc_eth 1b100000.ethernet eth0: entered promiscuous mode
[    4.159274] DSA: tree 0 setup
[    4.167483] xhci-mtk 1a0c0000.usb: xHCI Host Controller
[    4.172732] xhci-mtk 1a0c0000.usb: new USB bus registered, assigned bus number 1
[    4.181812] xhci-mtk 1a0c0000.usb: hcc params 0x01403198 hci version 0x96 quirks 0x0000000000200010
[    4.190910] xhci-mtk 1a0c0000.usb: irq 132, io mem 0x1a0c0000
[    4.196788] xhci-mtk 1a0c0000.usb: xHCI Host Controller
[    4.202013] xhci-mtk 1a0c0000.usb: new USB bus registered, assigned bus number 2
[    4.209419] xhci-mtk 1a0c0000.usb: Host supports USB 3.0 SuperSpeed
[    4.216135] hub 1-0:1.0: USB hub found
[    4.219903] hub 1-0:1.0: 2 ports detected
[    4.224215] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.232752] hub 2-0:1.0: USB hub found
[    4.236544] hub 2-0:1.0: 1 port detected
[    4.247527] usbcore: registered new interface driver usb-storage
[    4.254670] usbcore: registered new interface driver uas
[    4.260246] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.277770] init: - preinit -
[    4.773231] mtk_soc_eth 1b100000.ethernet eth0: configuring for fixed/2500base-x link mode
[    4.781745] mtk_soc_eth 1b100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[    9.058796] UBIFS (ubi0:2): default file-system created
[    9.064328] UBIFS (ubi0:2): Mounting in unauthenticated mode
[    9.070161] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 755
[    9.107611] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "rootfs_data"
[    9.115450] UBIFS (ubi0:2): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    9.125378] UBIFS (ubi0:2): FS size: 70598656 bytes (67 MiB, 556 LEBs), max 566 LEBs, journal size 3555328 bytes (3 MiB, 28 LEBs)
[    9.137044] UBIFS (ubi0:2): reserved for root: 3334548 bytes (3256 KiB)
[    9.143654] UBIFS (ubi0:2): media format: w5/r0 (latest is w5/r0), UUID 3913A613-4B6B-4262-B49F-2F824443A70F, small LPT model
[    9.156221] mount_root: overlay filesystem has not been fully initialized yet
[    9.163552] mount_root: switching to ubifs overlay
[    9.170276] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off.
[    9.183504] urandom-seed: Seed file not found (/etc/urandom.seed)
[    9.234463] procd: - early -
[    9.237470] procd: - watchdog -
[    9.796454] procd: - watchdog -
[    9.817655] procd: - ubus -
[    9.978884] procd: - init -
[   10.290877] kmodloader: loading kernel modules from /etc/modules.d/*
[   10.315344] netfs: FS-Cache loaded
[   10.320417] Key type dns_resolver registered
[   10.336936] Key type cifs.idmap registered
[   10.343459] GACT probability on
[   10.347685] Mirror/redirect action on
[   10.356956] u32 classifier
[   10.359673]     input device check on
[   10.363326]     Actions configured
[   10.374396] fuse: init (API version 7.41)
[   10.384708] Loading modules backported from Linux version v6.14.11-0-gb9d5d463c216
[   10.392371] Backport generated by backports.git v6.1.110-1-43-g2e32643b84e8
[   10.406189] usbcore: registered new interface driver ums-alauda
[   10.413059] usbcore: registered new interface driver ums-cypress
[   10.420499] usbcore: registered new interface driver ums-datafab
[   10.427381] usbcore: registered new interface driver ums-freecom
[   10.434101] usbcore: registered new interface driver ums-isd200
[   10.440889] usbcore: registered new interface driver ums-jumpshot
[   10.447796] usbcore: registered new interface driver ums-karma
[   10.454457] usbcore: registered new interface driver ums-sddr09
[   10.461723] usbcore: registered new interface driver ums-sddr55
[   10.468678] usbcore: registered new interface driver ums-usbat
[   10.522190] mt7615e 0000:01:00.0: assign IRQ: got 128
[   10.527333] mt7615e 0000:01:00.0: enabling device (0000 -> 0002)
[   10.533239] urngd: v1.0.2 started.
[   10.533416] mt7615e 0000:01:00.0: enabling bus mastering
[   10.542179] mtk-pcie 1a143000.pcie: msi#0 address_hi 0x0 address_lo 0x450050c0
[   10.559386] mt7615e 0000:01:00.0: registering led 'mt76-phy0'
[   10.616396] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   10.623200] ieee80211 phy0: copying sband (band 1) due to VHT EXT NSS BW flag
[   10.657650] mt7615e 0001:01:00.0: assign IRQ: got 130
[   10.662755] mt7615e 0001:01:00.0: enabling device (0000 -> 0002)
[   10.668867] mt7615e 0001:01:00.0: enabling bus mastering
[   10.674309] mtk-pcie 1a145000.pcie: msi#0 address_hi 0x0 address_lo 0x450150c0
[   10.701431] mt7615e 0001:01:00.0: registering led 'mt76-phy1'
[   10.759883] mt7615e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20180518100604a
[   10.759883]
[   10.766191] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   10.776298] ieee80211 phy1: copying sband (band 1) due to VHT EXT NSS BW flag
[   10.795968] mt7615e 0001:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20180518100604a
[   10.795968]
[   10.810420] mt7622-wmac 18000000.wmac: registering led 'mt76-phy2'
[   10.846426] ieee80211 phy2: Selected rate control algorithm 'minstrel_ht'
[   10.850769] mt7615e 0000:01:00.0: N9 Firmware Version: _reserved_, Build Time: 20200814163649
[   10.853764] mt7615e 0001:01:00.0: N9 Firmware Version: _reserved_, Build Time: 20200814163649
[   10.873611] mt7615e 0000:01:00.0: CR4 Firmware Version: _reserved_, Build Time: 20190415154149
[   10.909458] PPP generic driver version 2.4.2
[   10.914627] NET: Registered PF_PPPOX protocol family
[   10.916165] mt7615e 0001:01:00.0: CR4 Firmware Version: _reserved_, Build Time: 20190415154149
[   10.930455] kmodloader: done loading kernel modules from /etc/modules.d/*
[   10.940535] mt7622-wmac 18000000.wmac: HW/SW Version: 0x8a108a10, Build Time: 20190801210006a
[   10.940535]
[   11.030012] mt7622-wmac 18000000.wmac: N9 Firmware Version: _reserved_, Build Time: 20220630094834
root@OpenWrt:~#

Please update source from https://github.com/namiltd/openwrt/pull/94 and try again.

1 Like

Latest PR won't build for me.

Error: ../dts/mt7622-buffalo-wsr-2533dhp2.dts:19.6-7 syntax error
FATAL ERROR: Unable to parse input tree

Change line 19 to &mdio {
or download new code from Github tree.

1 Like

Built now. Thx

Latest build now gives out a IP and lets me access the device over LAN.

Latest log

root@OpenWrt:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.12.40 (asim@Asus-Vivobook) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 14.3.0 r29818+30-9ed1278cf7) 14.3.0, GNU ld (GNU Binutils) 2.42) #0 SMP Sun Aug  3 06:06:49 2025
[    0.000000] Machine model: TOTOLINK A8000RU
[    0.000000] earlycon: uart8250 at MMIO32 0x0000000011002000 (options '')
[    0.000000] printk: legacy bootconsole [uart8250] enabled
[    0.000000] OF: reserved mem: 0x0000000042ff0000..0x0000000042ffffff (64 KiB) map non-reusable ramoops@42ff0000
[    0.000000] OF: reserved mem: 0x0000000043000000..0x000000004302ffff (192 KiB) nomap non-reusable secmon@43000000
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x000000005fffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x0000000042ffffff]
[    0.000000]   node   0: [mem 0x0000000043000000-0x000000004302ffff]
[    0.000000]   node   0: [mem 0x0000000043030000-0x000000005fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000005fffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv0.2 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] percpu: Embedded 20 pages/cpu s42520 r8192 d31208 u81920
[    0.000000] pcpu-alloc: s42520 r8192 d31208 u81920 alloc=20*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: kernel page table isolation disabled by kernel configuration
[    0.000000] CPU features: detected: ARM erratum 843419
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: earlycon=uart8250,mmio32,0x11002000 swiotlb=512
[    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 131072
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: area num 2.
[    0.000000] software IO TLB: mapped [mem 0x000000005f4c0000-0x000000005f5c0000] (1MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=2.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 12.50MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049cda, max_idle_ns: 440795202628 ns
[    0.000000] sched_clock: 56 bits at 13MHz, resolution 80ns, wraps every 4398046511080ns
[    0.008274] Calibrating delay loop (skipped), value calculated using timer frequency.. 25.00 BogoMIPS (lpj=125000)
[    0.018674] pid_max: default: 32768 minimum: 301
[    0.026155] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.033501] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.044223] rcu: Hierarchical SRCU implementation.
[    0.049038] rcu:     Max phase no-delay instances is 1000.
[    0.054454] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
[    0.062797] smp: Bringing up secondary CPUs ...
[    0.067748] Detected VIPT I-cache on CPU1
[    0.067827] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.067902] smp: Brought up 1 node, 2 CPUs
[    0.082584] SMP: Total of 2 processors activated.
[    0.087301] CPU: All CPU(s) started at EL2
[    0.091410] CPU features: detected: 32-bit EL0 Support
[    0.096564] CPU features: detected: CRC32 instructions
[    0.101741] alternatives: applying system-wide alternatives
[    0.107465] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.115966] Memory: 497120K/524288K available (9216K kernel code, 916K rwdata, 2664K rodata, 448K init, 301K bss, 25328K reserved, 0K cma-reserved)
[    0.132961] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.142867] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.149745] 29344 pages in range for non-PLT usage
[    0.149749] 520864 pages in range for PLT usage
[    0.155996] pinctrl core: initialized pinctrl subsystem
[    0.166901] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.173118] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.180228] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.188017] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.196371] thermal_sys: Registered thermal governor 'fair_share'
[    0.196376] thermal_sys: Registered thermal governor 'bang_bang'
[    0.202489] thermal_sys: Registered thermal governor 'step_wise'
[    0.208521] thermal_sys: Registered thermal governor 'user_space'
[    0.214605] ASID allocator initialised with 65536 entries
[    0.226499] pstore: Using crash dump compression: deflate
[    0.231927] pstore: Registered ramoops as persistent store backend
[    0.238127] ramoops: using 0x10000@0x42ff0000, ecc: 0
[    0.250397] /pcie@1a143000: Fixed dependency cycle(s) with /pcie@1a143000/interrupt-controller
[    0.259405] /pcie@1a145000: Fixed dependency cycle(s) with /pcie@1a145000/interrupt-controller
[    0.280219] cryptd: max_cpu_qlen set to 1000
[    0.286573] SCSI subsystem initialized
[    0.290504] libata version 3.00 loaded.
[    0.295734] clocksource: Switched to clocksource arch_sys_counter
[    0.304042] NET: Registered PF_INET protocol family
[    0.309052] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.317470] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.325869] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.333648] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.341451] TCP bind hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.348803] TCP: Hash tables configured (established 4096 bind 4096)
[    0.355478] MPTCP token hash table entries: 512 (order: 1, 12288 bytes, linear)
[    0.362923] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.369497] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.376661] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.382360] PCI: CLS 0 bytes, default 64
[    0.387406] workingset: timestamp_bits=46 max_order=17 bucket_order=0
[    0.398662] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.404517] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.477351] mt-pmic-pwrap 10001000.pwrap: unexpected interrupt int=0x1
[    0.497202] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.504696] printk: legacy console [ttyS0] disabled
[    0.530015] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 118, base_baud = 1562500) is a ST16650V2
[    0.539334] printk: legacy console [ttyS0] enabled
[    0.548926] printk: legacy bootconsole [uart8250] disabled
[    0.560822] mtk_rng 1020f000.rng: registered RNG driver
[    0.560969] random: crng init done
[    0.571857] loop: module loaded
[    0.575435] mtk-ecc 1100e000.ecc: probed
[    0.580761] spi-nand spi0.0: Macronix SPI NAND was found.
[    0.586194] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[    0.594364] mtk-snand 1100d000.spi: ECC strength: 4 bits per 512 bytes
[    0.603327] [BBT] BMT.v2 is found at 0x3ff
[    0.607717] 8 fixed-partitions partitions found on MTD device spi0.0
[    0.614069] Creating 8 MTD partitions on "spi0.0":
[    0.618957] 0x000000000000-0x000000080000 : "Preloader"
[    0.625074] 0x000000080000-0x0000000c0000 : "ATF"
[    0.630313] 0x0000000c0000-0x000000140000 : "u-boot"
[    0.636138] 0x000000140000-0x0000001c0000 : "u-boot-env"
[    0.642187] 0x0000001c0000-0x000000200000 : "factory"
[    0.647778] OF: Bad cell count for /spi@1100d000/flash@0/partitions
[    0.654214] 0x000000200000-0x000006600000 : "ubi"
[    0.766406] 0x000006600000-0x000006700000 : "User_data"
[    0.772964] 0x000006700000-0x0000075c0000 : "reserved"
[    0.919417] mtk_soc_eth 1b100000.ethernet eth0: mediatek frame engine at 0xffffffc0812e0000, irq 123
[    0.929511] rtc_mt7622 10212800.rtc: registered as rtc0
[    0.934766] rtc_mt7622 10212800.rtc: setting system clock to 2000-01-01T00:00:00 UTC (946684800)
[    0.943734] i2c_dev: i2c /dev entries driver
[    0.949323] mtk-wdt 10212000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[    0.959134] NET: Registered PF_INET6 protocol family
[    0.964746] Segment Routing with IPv6
[    0.968469] In-situ OAM (IOAM) with IPv6
[    0.972429] NET: Registered PF_PACKET protocol family
[    0.977610] 8021q: 802.1Q VLAN Support v1.8
[    1.001677] mtk-pcie 1a143000.pcie: host bridge /pcie@1a143000 ranges:
[    1.008275] mtk-pcie 1a143000.pcie: Parsing ranges property...
[    1.014116] mtk-pcie 1a143000.pcie:      MEM 0x0020000000..0x0027ffffff -> 0x0020000000
[    1.262270] mtk-pcie 1a143000.pcie: PCI host bridge to bus 0000:00
[    1.268487] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.273973] pci_bus 0000:00: root bus resource [mem 0x20000000-0x27ffffff]
[    1.280857] pci_bus 0000:00: scanning bus
[    1.285100] pci 0000:00:00.0: [14c3:3258] type 01 class 0x060400 PCIe Root Port
[    1.292600] pci 0000:00:00.0: BAR 0 [mem 0x00000000-0x1ffffffff 64bit pref]
[    1.299641] pci 0000:00:00.0: PCI bridge to [bus 00]
[    1.304673] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff]
[    1.314176] pci_bus 0000:00: fixups for bus
[    1.318378] pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass 0
[    1.325076] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.333152] pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass 1
[    1.340233] pci_bus 0000:01: scanning bus
[    1.344440] pci 0000:01:00.0: [14c3:7615] type 00 class 0x000280 PCIe Endpoint
[    1.351847] pci 0000:01:00.0: BAR 0 [mem 0x00000000-0x000fffff 64bit]
[    1.359294] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:00.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    1.385828] pci_bus 0000:01: fixups for bus
[    1.390012] pci_bus 0000:01: bus scan returning with max=01
[    1.395584] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.402223] pci_bus 0000:00: bus scan returning with max=01
[    1.407817] pci 0000:00:00.0: BAR 0 [mem size 0x200000000 64bit pref]: can't assign; no space
[    1.416362] pci 0000:00:00.0: BAR 0 [mem size 0x200000000 64bit pref]: failed to assign
[    1.424370] pci 0000:00:00.0: bridge window [mem 0x20000000-0x200fffff]: assigned
[    1.431865] pci 0000:01:00.0: BAR 0 [mem 0x20000000-0x200fffff 64bit]: assigned
[    1.439269] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.444238] pci 0000:00:00.0:   bridge window [mem 0x20000000-0x200fffff]
[    1.451044] pci_bus 0000:00: Some PCI device resources are unassigned, try booting with pci=realloc
[    1.460094] pci_bus 0000:00: resource 4 [mem 0x20000000-0x27ffffff]
[    1.466368] pci_bus 0000:01: resource 1 [mem 0x20000000-0x200fffff]
[    1.472789] pcieport 0000:00:00.0: assign IRQ: got 128
[    1.477951] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[    1.484064] pcieport 0000:00:00.0: enabling bus mastering
[    1.489568] mtk-pcie 1a143000.pcie: msi#0 address_hi 0x0 address_lo 0x450050c0
[    1.497022] pcieport 0000:00:00.0: PME: Signaling with IRQ 128
[    1.502955] pcieport 0000:00:00.0: save config 0x00: 0x325814c3
[    1.508888] pcieport 0000:00:00.0: save config 0x04: 0x00100006
[    1.514809] pcieport 0000:00:00.0: save config 0x08: 0x06040000
[    1.520738] pcieport 0000:00:00.0: save config 0x0c: 0x00010000
[    1.526665] pcieport 0000:00:00.0: save config 0x10: 0x0000000c
[    1.532585] pcieport 0000:00:00.0: save config 0x14: 0x00000000
[    1.538517] pcieport 0000:00:00.0: save config 0x18: 0x40010100
[    1.544437] pcieport 0000:00:00.0: save config 0x1c: 0x04200000
[    1.550365] pcieport 0000:00:00.0: save config 0x20: 0x20002000
[    1.556292] pcieport 0000:00:00.0: save config 0x24: 0x00000000
[    1.562212] pcieport 0000:00:00.0: save config 0x28: 0x00000000
[    1.568142] pcieport 0000:00:00.0: save config 0x2c: 0x00000000
[    1.574062] pcieport 0000:00:00.0: save config 0x30: 0x00000000
[    1.579990] pcieport 0000:00:00.0: save config 0x34: 0x00000050
[    1.585918] pcieport 0000:00:00.0: save config 0x38: 0x00000000
[    1.591838] pcieport 0000:00:00.0: save config 0x3c: 0x00020180
[    1.598312] mtk-pcie 1a145000.pcie: host bridge /pcie@1a145000 ranges:
[    1.604854] mtk-pcie 1a145000.pcie: Parsing ranges property...
[    1.610703] mtk-pcie 1a145000.pcie:      MEM 0x0028000000..0x002fffffff -> 0x0028000000
[    1.852427] mtk-pcie 1a145000.pcie: PCI host bridge to bus 0001:00
[    1.858646] pci_bus 0001:00: root bus resource [bus 00-ff]
[    1.864130] pci_bus 0001:00: root bus resource [mem 0x28000000-0x2fffffff]
[    1.871008] pci_bus 0001:00: scanning bus
[    1.875360] pci 0001:00:01.0: [14c3:3258] type 01 class 0x060400 PCIe Root Port
[    1.882859] pci 0001:00:01.0: BAR 0 [mem 0x00000000-0x1ffffffff 64bit pref]
[    1.889893] pci 0001:00:01.0: PCI bridge to [bus 00]
[    1.894923] pci 0001:00:01.0:   bridge window [mem 0x00000000-0x000fffff]
[    1.904216] pci_bus 0001:00: fixups for bus
[    1.908415] pci 0001:00:01.0: scanning [bus 00-00] behind bridge, pass 0
[    1.915112] pci 0001:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.923186] pci 0001:00:01.0: scanning [bus 00-00] behind bridge, pass 1
[    1.930251] pci_bus 0001:01: scanning bus
[    1.934454] pci 0001:01:00.0: [14c3:7615] type 00 class 0x000280 PCIe Endpoint
[    1.941856] pci 0001:01:00.0: BAR 0 [mem 0x00000000-0x000fffff 64bit]
[    1.949292] pci 0001:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0001:00:01.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    1.975828] pci_bus 0001:01: fixups for bus
[    1.980012] pci_bus 0001:01: bus scan returning with max=01
[    1.985584] pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 01
[    1.992223] pci_bus 0001:00: bus scan returning with max=01
[    1.997816] pci 0001:00:01.0: BAR 0 [mem size 0x200000000 64bit pref]: can't assign; no space
[    2.006355] pci 0001:00:01.0: BAR 0 [mem size 0x200000000 64bit pref]: failed to assign
[    2.014362] pci 0001:00:01.0: bridge window [mem 0x28000000-0x280fffff]: assigned
[    2.021863] pci 0001:01:00.0: BAR 0 [mem 0x28000000-0x280fffff 64bit]: assigned
[    2.029266] pci 0001:00:01.0: PCI bridge to [bus 01]
[    2.034235] pci 0001:00:01.0:   bridge window [mem 0x28000000-0x280fffff]
[    2.041040] pci_bus 0001:00: Some PCI device resources are unassigned, try booting with pci=realloc
[    2.050090] pci_bus 0001:00: resource 4 [mem 0x28000000-0x2fffffff]
[    2.056363] pci_bus 0001:01: resource 1 [mem 0x28000000-0x280fffff]
[    2.062782] pcieport 0001:00:01.0: assign IRQ: got 130
[    2.067941] pcieport 0001:00:01.0: enabling device (0000 -> 0002)
[    2.074053] pcieport 0001:00:01.0: enabling bus mastering
[    2.079546] mtk-pcie 1a145000.pcie: msi#0 address_hi 0x0 address_lo 0x450150c0
[    2.086989] pcieport 0001:00:01.0: PME: Signaling with IRQ 130
[    2.092922] pcieport 0001:00:01.0: save config 0x00: 0x325814c3
[    2.098855] pcieport 0001:00:01.0: save config 0x04: 0x00100006
[    2.104776] pcieport 0001:00:01.0: save config 0x08: 0x06040000
[    2.110704] pcieport 0001:00:01.0: save config 0x0c: 0x00010000
[    2.116631] pcieport 0001:00:01.0: save config 0x10: 0x0000000c
[    2.122551] pcieport 0001:00:01.0: save config 0x14: 0x00000000
[    2.128482] pcieport 0001:00:01.0: save config 0x18: 0x40010100
[    2.134402] pcieport 0001:00:01.0: save config 0x1c: 0x04200000
[    2.140336] pcieport 0001:00:01.0: save config 0x20: 0x28002800
[    2.146264] pcieport 0001:00:01.0: save config 0x24: 0x00000000
[    2.152184] pcieport 0001:00:01.0: save config 0x28: 0x00000000
[    2.158110] pcieport 0001:00:01.0: save config 0x2c: 0x00000000
[    2.164030] pcieport 0001:00:01.0: save config 0x30: 0x00000000
[    2.169956] pcieport 0001:00:01.0: save config 0x34: 0x00000050
[    2.175883] pcieport 0001:00:01.0: save config 0x38: 0x00000000
[    2.181803] pcieport 0001:00:01.0: save config 0x3c: 0x00020182
[    2.188603] mtk_hsdma 1b007000.dma-controller: MediaTek HSDMA driver registered
[    2.196853] UBI: auto-attach mtd5
[    2.200178] ubi0: default fastmap pool size: 40
[    2.204703] ubi0: default fastmap WL pool size: 20
[    2.209526] ubi0: attaching mtd5
[    2.507542] ubi0: scanning is finished
[    2.515463] ubi0 warning: ubi_eba_init: cannot reserve enough PEBs for bad PEB handling, reserved 6, need 19
[    2.526133] ubi0: attached mtd5 (name "ubi", size 100 MiB)
[    2.531633] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    2.538519] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    2.545306] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    2.552271] ubi0: good PEBs: 800, bad PEBs: 0, corrupted PEBs: 0
[    2.558281] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
[    2.565501] ubi0: max/mean erase counter: 81/20, WL threshold: 4096, image sequence number: 0
[    2.574033] ubi0: available PEBs: 0, total reserved PEBs: 800, PEBs reserved for bad PEB handling: 6
[    2.583183] ubi0: background thread "ubi_bgt0d" started, PID 579
[    2.589774] block ubiblock0_1: created from ubi0:1(rootfs)
[    2.595258] ubiblock: device ubiblock0_1 (rootfs) set to be root filesystem
[    2.602320] clk: Disabling unused clocks
[    2.606533] PM: genpd: Disabling unused power domains
[    2.614907] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    2.622275] Freeing unused kernel memory: 448K
[    2.626760] Run /sbin/init as init process
[    2.630849]   with arguments:
[    2.633806]     /sbin/init
[    2.636515]   with environment:
[    2.639647]     HOME=/
[    2.641997]     TERM=linux
[    2.819893] init: Console is alive
[    2.823395] init: - watchdog -
[    3.367701] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.389895] usbcore: registered new interface driver usbfs
[    3.395418] usbcore: registered new interface driver hub
[    3.400782] usbcore: registered new device driver usb
[    3.406820] gpio_button_hotplug: loading out-of-tree module taints kernel.
[    3.566222] rtl8365mb-mdio mdio-bus:1d: found an RTL8367S switch
[    3.748858] rtl8365mb-mdio mdio-bus:1d: missing child interrupt-controller node
[    3.756216] rtl8365mb-mdio mdio-bus:1d: no interrupt support
[    3.972785] rtl8365mb-mdio mdio-bus:1d: configuring for fixed/2500base-x link mode
[    4.123074] rtl8365mb-mdio mdio-bus:1d: Link is Up - 2.5Gbps/Full - flow control rx/tx
[    4.123758] rtl8365mb-mdio mdio-bus:1d lan0 (uninitialized): PHY [mdio-bus:1d:user_mii:00] driver [RTL8365MB-VC Gigabit Ethernet] (irq=POLL)
[    4.145696] rtl8365mb-mdio mdio-bus:1d lan1 (uninitialized): PHY [mdio-bus:1d:user_mii:01] driver [RTL8365MB-VC Gigabit Ethernet] (irq=POLL)
[    4.160142] rtl8365mb-mdio mdio-bus:1d lan2 (uninitialized): PHY [mdio-bus:1d:user_mii:02] driver [RTL8365MB-VC Gigabit Ethernet] (irq=POLL)
[    4.174595] rtl8365mb-mdio mdio-bus:1d lan3 (uninitialized): PHY [mdio-bus:1d:user_mii:03] driver [RTL8365MB-VC Gigabit Ethernet] (irq=POLL)
[    4.189022] rtl8365mb-mdio mdio-bus:1d wan (uninitialized): PHY [mdio-bus:1d:user_mii:04] driver [RTL8365MB-VC Gigabit Ethernet] (irq=POLL)
[    4.202809] mtk_soc_eth 1b100000.ethernet eth0: entered promiscuous mode
[    4.209556] DSA: tree 0 setup
[    4.217777] xhci-mtk 1a0c0000.usb: xHCI Host Controller
[    4.223024] xhci-mtk 1a0c0000.usb: new USB bus registered, assigned bus number 1
[    4.232099] xhci-mtk 1a0c0000.usb: hcc params 0x01403198 hci version 0x96 quirks 0x0000000000200010
[    4.241202] xhci-mtk 1a0c0000.usb: irq 132, io mem 0x1a0c0000
[    4.247076] xhci-mtk 1a0c0000.usb: xHCI Host Controller
[    4.252301] xhci-mtk 1a0c0000.usb: new USB bus registered, assigned bus number 2
[    4.259706] xhci-mtk 1a0c0000.usb: Host supports USB 3.0 SuperSpeed
[    4.266422] hub 1-0:1.0: USB hub found
[    4.270188] hub 1-0:1.0: 2 ports detected
[    4.274498] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.282871] hub 2-0:1.0: USB hub found
[    4.286647] hub 2-0:1.0: 1 port detected
[    4.296386] usbcore: registered new interface driver usb-storage
[    4.303404] usbcore: registered new interface driver uas
[    4.308983] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.319036] init: - preinit -
[    4.820326] mtk_soc_eth 1b100000.ethernet eth0: configuring for fixed/2500base-x link mode
[    4.828823] mtk_soc_eth 1b100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[    4.849656] rtl8365mb-mdio mdio-bus:1d lan1: configuring for phy/gmii link mode
[    9.169409] UBIFS (ubi0:2): default file-system created
[    9.174940] UBIFS (ubi0:2): Mounting in unauthenticated mode
[    9.180796] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 765
[    9.210587] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "rootfs_data"
[    9.218449] UBIFS (ubi0:2): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    9.228372] UBIFS (ubi0:2): FS size: 72249344 bytes (68 MiB, 569 LEBs), max 579 LEBs, journal size 3555328 bytes (3 MiB, 28 LEBs)
[    9.240024] UBIFS (ubi0:2): reserved for root: 3412514 bytes (3332 KiB)
[    9.246652] UBIFS (ubi0:2): media format: w5/r0 (latest is w5/r0), UUID 0E60E0A0-B40E-4ECE-868A-79D0E7AC9F7A, small LPT model
[    9.259186] mount_root: overlay filesystem has not been fully initialized yet
[    9.266534] mount_root: switching to ubifs overlay
[    9.273228] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off.
[    9.286464] urandom-seed: Seed file not found (/etc/urandom.seed)
[    9.345549] procd: - early -
[    9.348536] procd: - watchdog -
[    9.903606] procd: - watchdog -
[    9.921230] procd: - ubus -
[   10.083307] procd: - init -
[   10.402267] kmodloader: loading kernel modules from /etc/modules.d/*
[   10.428813] netfs: FS-Cache loaded
[   10.433671] Key type dns_resolver registered
[   10.450268] Key type cifs.idmap registered
[   10.456881] GACT probability on
[   10.461010] Mirror/redirect action on
[   10.470259] u32 classifier
[   10.472978]     input device check on
[   10.476683]     Actions configured
[   10.487513] fuse: init (API version 7.41)
[   10.498199] Loading modules backported from Linux version v6.14.11-0-gb9d5d463c216
[   10.505794] Backport generated by backports.git v6.1.110-1-43-g2e32643b84e8
[   10.519022] usbcore: registered new interface driver ums-alauda
[   10.525598] usbcore: registered new interface driver ums-cypress
[   10.533020] usbcore: registered new interface driver ums-datafab
[   10.539857] usbcore: registered new interface driver ums-freecom
[   10.546616] usbcore: registered new interface driver ums-isd200
[   10.553136] usbcore: registered new interface driver ums-jumpshot
[   10.560012] usbcore: registered new interface driver ums-karma
[   10.567106] usbcore: registered new interface driver ums-sddr09
[   10.573838] usbcore: registered new interface driver ums-sddr55
[   10.580684] usbcore: registered new interface driver ums-usbat
[   10.642261] mt7615e 0000:01:00.0: assign IRQ: got 128
[   10.647409] mt7615e 0000:01:00.0: enabling device (0000 -> 0002)
[   10.653491] mt7615e 0000:01:00.0: enabling bus mastering
[   10.658947] mtk-pcie 1a143000.pcie: msi#0 address_hi 0x0 address_lo 0x450050c0
[   10.667408] urngd: v1.0.2 started.
[   10.676093] mt7615e 0000:01:00.0: registering led 'mt76-phy0'
[   10.716261] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   10.723069] ieee80211 phy0: copying sband (band 1) due to VHT EXT NSS BW flag
[   10.746274] mt7615e 0001:01:00.0: assign IRQ: got 130
[   10.751379] mt7615e 0001:01:00.0: enabling device (0000 -> 0002)
[   10.757494] mt7615e 0001:01:00.0: enabling bus mastering
[   10.762950] mtk-pcie 1a145000.pcie: msi#0 address_hi 0x0 address_lo 0x450150c0
[   10.839746] mt7615e 0001:01:00.0: registering led 'mt76-phy1'
[   10.845555] mt7615e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20180518100604a
[   10.845555]
[   10.928537] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   10.935342] ieee80211 phy1: copying sband (band 1) due to VHT EXT NSS BW flag
[   10.971924] mt7615e 0001:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20180518100604a
[   10.971924]
[   10.972884] mt7615e 0000:01:00.0: N9 Firmware Version: _reserved_, Build Time: 20200814163649
[   10.993374] mt7622-wmac 18000000.wmac: registering led 'mt76-phy2'
[   11.002222] mt7615e 0001:01:00.0: N9 Firmware Version: _reserved_, Build Time: 20200814163649
[   11.056405] ieee80211 phy2: Selected rate control algorithm 'minstrel_ht'
[   11.056779] mt7615e 0000:01:00.0: CR4 Firmware Version: _reserved_, Build Time: 20190415154149
[   11.063744] mt7615e 0001:01:00.0: CR4 Firmware Version: _reserved_, Build Time: 20190415154149
[   11.120511] PPP generic driver version 2.4.2
[   11.126587] NET: Registered PF_PPPOX protocol family
[   11.136296] kmodloader: done loading kernel modules from /etc/modules.d/*
[   11.143214] mt7622-wmac 18000000.wmac: HW/SW Version: 0x8a108a10, Build Time: 20190801210006a
[   11.143214]
[   11.238228] mt7622-wmac 18000000.wmac: N9 Firmware Version: _reserved_, Build Time: 20220630094834
[   17.871343] mtk_soc_eth 1b100000.ethernet eth0: Link is Down
[   17.892096] mtk_soc_eth 1b100000.ethernet eth0: configuring for fixed/2500base-x link mode
[   17.903351] mtk_soc_eth 1b100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[   17.912019] rtl8365mb-mdio mdio-bus:1d lan1: configuring for phy/gmii link mode
[   17.939879] br-lan: port 1(lan1) entered blocking state
[   17.945129] br-lan: port 1(lan1) entered disabled state
[   17.950470] rtl8365mb-mdio mdio-bus:1d lan1: entered allmulticast mode
[   17.957076] mtk_soc_eth 1b100000.ethernet eth0: entered allmulticast mode
[   17.989092] rtl8365mb-mdio mdio-bus:1d lan1: entered promiscuous mode
[   18.034735] rtl8365mb-mdio mdio-bus:1d lan2: configuring for phy/gmii link mode
[   18.049688] br-lan: port 2(lan2) entered blocking state
[   18.054927] br-lan: port 2(lan2) entered disabled state
[   18.060250] rtl8365mb-mdio mdio-bus:1d lan2: entered allmulticast mode
[   18.068257] rtl8365mb-mdio mdio-bus:1d lan2: entered promiscuous mode
[   18.088806] rtl8365mb-mdio mdio-bus:1d lan3: configuring for phy/gmii link mode
[   18.103611] br-lan: port 3(lan3) entered blocking state
[   18.108944] br-lan: port 3(lan3) entered disabled state
[   18.114210] rtl8365mb-mdio mdio-bus:1d lan3: entered allmulticast mode
[   18.122225] rtl8365mb-mdio mdio-bus:1d lan3: entered promiscuous mode
[   18.150722] rtl8365mb-mdio mdio-bus:1d wan: configuring for phy/gmii link mode
[   21.250620] rtl8365mb-mdio mdio-bus:1d lan3: Link is Up - 1Gbps/Full - flow control rx/tx
[   21.250653] br-lan: port 3(lan3) entered blocking state
[   21.264083] br-lan: port 3(lan3) entered forwarding state
[   71.168576] rtl8365mb-mdio mdio-bus:1d lan3: Link is Down
[   71.174123] br-lan: port 3(lan3) entered disabled state
[   75.330627] rtl8365mb-mdio mdio-bus:1d lan3: Link is Up - 1Gbps/Full - flow control rx/tx
[   75.330666] br-lan: port 3(lan3) entered blocking state
[   75.344088] br-lan: port 3(lan3) entered forwarding state
1 Like
root@OpenWrt:~# ifconfig
br-lan    Link encap:Ethernet  HWaddr 14:4D:67:6D:B2:A0
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fd80:5a67:735b::1/60 Scope:Global
          inet6 addr: fe80::164d:67ff:fe6d:b2a0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3280 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2666 errors:0 dropped:9 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:584251 (570.5 KiB)  TX bytes:1088260 (1.0 MiB)

eth0      Link encap:Ethernet  HWaddr 14:4D:67:6D:B2:A0
          inet6 addr: fe80::164d:67ff:fe6d:b2a0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1508  Metric:1
          RX packets:3461 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2957 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:680892 (664.9 KiB)  TX bytes:1140408 (1.0 MiB)
          Interrupt:123

lan1      Link encap:Ethernet  HWaddr 14:4D:67:6D:B2:A0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:4 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lan2      Link encap:Ethernet  HWaddr 14:4D:67:6D:B2:A0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lan3      Link encap:Ethernet  HWaddr 14:4D:67:6D:B2:A0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3471 errors:0 dropped:122 overruns:0 frame:0
          TX packets:2941 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:654503 (639.1 KiB)  TX bytes:1105955 (1.0 MiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:410 errors:0 dropped:0 overruns:0 frame:0
          TX packets:410 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:32335 (31.5 KiB)  TX bytes:32335 (31.5 KiB)

wan       Link encap:Ethernet  HWaddr 14:4D:67:6D:B2:A0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@OpenWrt:~# cat /etc/config/network

config interface 'loopback'
        option device 'lo'
        option proto 'static'
        list ipaddr '127.0.0.1/8'

config globals 'globals'
        option ula_prefix 'fd80:5a67:735b::/48'

config device
        option name 'br-lan'
        option type 'bridge'
        list ports 'lan1'
        list ports 'lan2'
        list ports 'lan3'
        list ports 'lan4'

config interface 'lan'
        option device 'br-lan'
        option proto 'static'
        list ipaddr '192.168.1.1/24'
        option ip6assign '60'

config interface 'wan'
        option device 'wan'
        option proto 'dhcp'

config interface 'wan6'
        option device 'wan'
        option proto 'dhcpv6'