What to do after bricking the router but using UART to enter in openwrt shell?

From the serial terminal, let's see the following:

Please copy the output of the following commands and post it here using the "Preformatted text </> " button:
grafik
Remember to redact passwords, MAC addresses and any public IP addresses you may have:

ubus call system board
cat /etc/config/network
cat /etc/config/wireless
cat /etc/config/dhcp
cat /etc/config/firewall

i gonna , i will just log on the openwrtforum on the computer connected to the router to post

But i did the commands you posted here, and appears like a normal openwrt configs , i dont think the problem is there

that's not true, you're here ...

no internet inside the openwrt shell , i cant ping from it

Please post them so we can see what is there... it might be normal, it might not... but if we don't see them, we can't help determine anything there.

1 Like

network

config interface 'loopback'
        option device 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fde9:37c4:5dc1::/48'
        option packet_steering '1'

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'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
        option ip6assign '60'

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

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

dhcp

config dnsmasq
        option domainneeded '1'
        option boguspriv '1'
        option filterwin2k '0'
        option localise_queries '1'
        option rebind_protection '1'
        option rebind_localhost '1'
        option local '/lan/'
        option domain 'lan'
        option expandhosts '1'
        option nonegcache '0'
        option cachesize '1000'
        option authoritative '1'
        option readethers '1'
        option leasefile '/tmp/dhcp.leases'
        option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
        option nonwildcard '1'
        option localservice '1'
        option ednspacket_max '1232'
        option filter_aaaa '0'
        option filter_a '0'

config dhcp 'lan'
        option interface 'lan'
        option start '100'
        option limit '150'
        option leasetime '12h'
        option dhcpv4 'server'
        option dhcpv6 'server'
        option ra 'server'
        option ra_slaac '1'
        list ra_flags 'managed-config'
        list ra_flags 'other-config'

config dhcp 'wan'
        option interface 'wan'
        option ignore '1'

config odhcpd 'odhcpd'
        option maindhcp '0'
        option leasefile '/tmp/hosts/odhcpd'
        option leasetrigger '/usr/sbin/odhcpd-update'
        option loglevel '4'

firewall

config defaults
        option syn_flood        1
        option input            REJECT
        option output           ACCEPT
        option forward          REJECT
# Uncomment this line to disable ipv6 rules
#       option disable_ipv6     1

config zone
        option name             lan
        list   network          'lan'
        option input            ACCEPT
        option output           ACCEPT
        option forward          ACCEPT

config zone
        option name             wan
        list   network          'wan'
        list   network          'wan6'
        option input            REJECT
        option output           ACCEPT
        option forward          REJECT
        option masq             1
        option mtu_fix          1

config forwarding
        option src              lan
        option dest             wan

# We need to accept udp packets on port 68,
# see https://dev.openwrt.org/ticket/4108
config rule
        option name             Allow-DHCP-Renew
        option src              wan
        option proto            udp
        option dest_port        68
        option target           ACCEPT
        option family           ipv4

# Allow IPv4 ping
config rule
        option name             Allow-Ping
        option src              wan
        option proto            icmp
        option icmp_type        echo-request
        option family           ipv4
        option target           ACCEPT

config rule
        option name             Allow-IGMP
        option src              wan
        option proto            igmp
        option family           ipv4
        option target           ACCEPT

# Allow DHCPv6 replies
# see https://github.com/openwrt/openwrt/issues/5066
config rule
        option name             Allow-DHCPv6
        option src              wan
        option proto            udp
        option dest_port        546
        option family           ipv6
        option target           ACCEPT

config rule
        option name             Allow-MLD
        option src              wan
        option proto            icmp
        option src_ip           fe80::/10
        list icmp_type          '130/0'
        list icmp_type          '131/0'
        list icmp_type          '132/0'
        list icmp_type          '143/0'
        option family           ipv6
        option target           ACCEPT

# Allow essential incoming IPv6 ICMP traffic
config rule
        option name             Allow-ICMPv6-Input
        option src              wan
        option proto    icmp
        list icmp_type          echo-request
        list icmp_type          echo-reply
        list icmp_type          destination-unreachable
        list icmp_type          packet-too-big
        list icmp_type          time-exceeded
        list icmp_type          bad-header
        list icmp_type          unknown-header-type
        list icmp_type          router-solicitation
        list icmp_type          neighbour-solicitation
        list icmp_type          router-advertisement
        list icmp_type          neighbour-advertisement
        option limit            1000/sec
        option family           ipv6
        option target           ACCEPT

# Allow essential forwarded IPv6 ICMP traffic
config rule
        option name             Allow-ICMPv6-Forward
        option src              wan
        option dest             *
        option proto            icmp
        list icmp_type          echo-request
        list icmp_type          echo-reply
        list icmp_type          destination-unreachable
        list icmp_type          packet-too-big
        list icmp_type          time-exceeded
        list icmp_type          bad-header
        list icmp_type          unknown-header-type
        option limit            1000/sec
        option family           ipv6
        option target           ACCEPT

config rule
        option name             Allow-IPSec-ESP
        option src              wan
        option dest             lan
        option proto            esp
        option target           ACCEPT

config rule
        option name             Allow-ISAKMP
        option src              wan
        option dest             lan
        option dest_port        500
        option proto            udp
        option target           ACCEPT


### EXAMPLE CONFIG SECTIONS
# do not allow a specific ip to access wan
#config rule
#       option src              lan
#       option src_ip   192.168.45.2
#       option dest             wan
#       option proto    tcp
#       option target   REJECT

# block a specific mac on wan
#config rule
#       option dest             wan
#       option src_mac  00:11:22:33:44:66
#       option target   REJECT

# block incoming ICMP traffic on a zone
#config rule
#       option src              lan
#       option proto    ICMP
#       option target   DROP

# port redirect port coming in on wan to lan
#config redirect
#       option src                      wan
#       option src_dport        80
#       option dest                     lan
#       option dest_ip          192.168.16.235
#       option dest_port        80
#       option proto            tcp

# port redirect of remapped ssh port (22001) on wan
#config redirect
#       option src              wan
#       option src_dport        22001
#       option dest             lan
#       option dest_port        22
#       option proto            tcp

### FULL CONFIG SECTIONS
#config rule
#       option src              lan
#       option src_ip   192.168.45.2
#       option src_mac  00:11:22:33:44:55
#       option src_port 80
#       option dest             wan
#       option dest_ip  194.25.2.129
#       option dest_port        120
#       option proto    tcp
#       option target   REJECT

#config redirect
#       option src              lan
#       option src_ip   192.168.45.2
#       option src_mac  00:11:22:33:44:55
#       option src_port         1024
#       option src_dport        80
#       option dest_ip  194.25.2.129
#       option dest_port        120
#       option proto    tcp

wireless


config wifi-device 'radio0'
        option type 'mac80211'
        option path '1e140000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
        option band '2g'
        option channel '1'
        option htmode 'HT20'
        option disabled '1'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid 'OpenWrt'
        option encryption 'none'

config wifi-device 'radio1'
        option type 'mac80211'
        option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0'
        option band '5g'
        option channel '36'
        option htmode 'VHT80'
        option disabled '1'

config wifi-iface 'default_radio1'
        option device 'radio1'
        option network 'lan'
        option mode 'ap'
        option ssid 'OpenWrt'
        option encryption 'none'

Ok... this does indeed look like the default state... but there is one thing you left out:

ubus call system board

Please also post a picture of the info panel on your device (often on the bottom/back; it'll have the model info).

the other thing to do is try using another ethernet cable between your computer and the OpenWrt lan port (in case the cable is bad). If that doesn't work, try the other lan ports. And if that still doesn't work, try another computer.

sorry

{
        "kernel": "6.6.73",
        "hostname": "OpenWrt",
        "system": "MediaTek MT7621 ver:1 eco:3",
        "model": "TP-Link Archer C6 v3",
        "board_name": "tplink,archer-c6-v3",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "24.10.0",
                "revision": "r28427-6df0e3d02a",
                "target": "ramips/mt7621",
                "description": "OpenWrt 24.10.0 r28427-6df0e3d02a",
                "builddate": "1738624177"
        }
}

archer c6 3.2 US

Already tried all these, but still same problem

Can you guide me to install the openwrt 23.05.05 on it, i think is the only way out or default vendor firmware for me to do the jump to openwrt from web gui

I already have this openwrt image downladed but dont know how to load on the router

well, you might try to use tftp to flash the vendor firmware... if it still doesn't work when running the vendor firmware (or if you're unable to get the ethernet ports to activate for the tftp process), you've got a hardware problem.

i tried from ethernet way , but since ethernet from router is not working i though would have a way to copy to it from my computer, using serial

I'm suggesting tftp because that is a boot loader function... it happens before OpenWrt loads at all. And if it doesn't work, there's something wrong that is more fundamental than any OpenWrt version or configuration.

I doubt, because it was working properly but when i flashed the openwrt image i got this problem, think something was corrupted on the process, but need to find a way to pass the firmware to it without lan cable

Try the tftp process -- see if it works. Like I said, if the link doesn't come up for that process, it doesn't matter what firmware you load on, it won't work because there is a bigger foundational issue.

trough ethernet cable ? dont work, tried before, computer dont even recognize the cable are connected

Yes, via ethernet.

Let me explain more specifically...

  • by its nature, the bootloader runs before the real operating system firmware is loaded (i.e. OpenWrt or a vendor firmware, etc.).
  • the bootloader contains a tftp 'recovery' routine to flash the firmware.
  • in order to load the firmware from a computer, the bootloader's tftp routine is a tftp client that looks for a tftp server at address 192.168.0.5 and it looks for a file called test.bin. If it finds it, it will load that into memory and then you can boot from this newly loaded image.
  • Obviously, the bootloader needs to initialize the ethernet ports and bring up at least a very basic network stack to be able to use tftp.
  • Therefore, if the link never starts, that means that there is something seriously wrong with the ethernet ports... and if that's the case, there is no value in even trying to do anything else because even if you get firmware loaded, it also won't be able to start the ethernet ports.

So... the best way to do this is to insert a basic unmanaged switch between the router and the computer. Make sure you have a connection (LED indicator) on the unmanaged switch and computer. Then connect the C6v3 to that same switch and see if it gets a link light... it should light up briefly during a normal boot up, but if it doesn't, that's probably an indicator that the hardware isn't working. You can still try the tftp method, but it would be doubtful to work if you never see even a flash on the port LEDs.

thanks for the information , and do you think openwrt firmware upgrade could have damaged the port ? asking because it was working before

will try here do these stuffs

I don't think that it is likely that installing OpenWrt would have damaged the hardware, but if the process somehow overwrote some critical data (such as the MAC addresses), then yes, that's certainly possible.

boot process from serial , maybe you find something relevant there


U-Boot 1.1.3 (May 13 2020 - 19:39:06)

Board: Ralink APSoC DRAM:  128 MB
relocate_code Pointer at: 87f58000

Config XHCI 40M PLL
flash manufacture id: ef, device id 40 18
find flash: W25Q128BV
*** Warning - bad CRC, using default environment

============================================
Ralink UBoot Version: 5.0.0.0
--------------------------------------------
ASIC MT7621A DualCore (MAC to MT7530 Mode)
DRAM_CONF_FROM: Auto-Detection
DRAM_TYPE: DDR3
DRAM bus: 16 bit
Xtal Mode=3 OCP Ratio=1/3
Flash component: SPI Flash
Date:May 13 2020  Time:19:39:06
============================================
THIS IS uboot
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:256, ways:4, linesz:32 ,total:32768

 ##### The CPU freq = 880 MHZ ####
 estimate memory size =128 Mbytes

Press '4' or 't' to break the booting process

Press 'x' to enter recovery web server                                                                                              0
nm_init:791
nm_initFwupPtnStruct:276
nm_lib_readPtnTable:738
[NM_Debug](nm_lib_readPtnTable) 00743: NM_PTN_TABLE_BASE = 0xfe0000
[NM_Debug](nm_lib_readPtnFromNvram) 00569: partition_used_len = 1054, requried len = 8192
[NM_Debug](nm_lib_readPtnTable) 00751: Reading Partition Table from NVRAM ... OK

[NM_Debug](nm_lib_readPtnTable) 00759: Parsing Partition Table ... OK

[NM_Debug](nm_lib_readPtnFromNvram) 00569: partition_used_len = 2, requried len = 2
factory boot check integer ok.


3: System Boot system code via Flash.
## Booting image at bc040000 ...
   Image Name:   MIPS OpenWrt Linux-6.6.73
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    3175189 Bytes =  3 MB
   Load Address: 80001000
   Entry Point:  80001000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80001000) ...
## Giving linux memsize in MB, 128

Starting kernel ...

[    0.000000] Linux version 6.6.73 (builder@buildhost) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 13.3.0 r28427-6df0e3d02a) 13.3.0, GNU ld (GNU Binutils) 2.42) #0 SMP Mon Feb  3 23:09:37 2025
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is TP-Link Archer C6 v3
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] VPE topology {2,2} total 4
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] MIPS secondary cache 256kB, 8-way, 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 12 pages/cpu s19136 r8192 d21824 u49152
[    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=00022398
[    0.000000] Readback ErrCtl register=00022398
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32480
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 117992K/131072K available (8363K kernel code, 653K rwdata, 1016K rodata, 1284K init, 229K bss, 13080K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, 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] NR_IRQS: 256
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[    0.000004] sched_clock: 64 bits at 880MHz, resolution 1ns, wraps every 4398046511103ns
[    0.008066] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.066222] pid_max: default: 32768 minimum: 301
[    0.079581] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.086819] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.103290] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[    0.113079] rcu: Hierarchical SRCU implementation.
[    0.117777] rcu:     Max phase no-delay instances is 1000.
[    0.123802] smp: Bringing up secondary CPUs ...
[    0.129161] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.129188] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.129203] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.129250] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.183250] Synchronize counters for CPU 1: done.
[    0.215282] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.215305] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.215317] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.215347] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.274524] Synchronize counters for CPU 2: done.
[    0.305215] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.305239] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.305251] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.305285] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.359724] Synchronize counters for CPU 3: done.
[    0.389586] smp: Brought up 1 node, 4 CPUs
[    0.400576] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.410385] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.421234] pinctrl core: initialized pinctrl subsystem
[    0.429630] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.436296] thermal_sys: Registered thermal governor 'step_wise'
[    0.438413] /pinctrl: Fixed dependency cycle(s) with /pinctrl/pinctrl0
[    0.465929] clocksource: Switched to clocksource GIC
[    0.480888] NET: Registered PF_INET protocol family
[    0.485982] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.494641] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.503001] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.510676] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.518278] TCP bind hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    0.525390] TCP: Hash tables configured (established 1024 bind 1024)
[    0.532667] MPTCP token hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.540164] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.546653] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.554502] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.560188] PCI: CLS 0 bytes, default 32
[    0.567839] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    0.575340] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.581115] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.596819] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.607973] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.613966] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.619949] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.626124] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
[    0.632766] mt7621-pci 1e140000.pcie:   No bus range found for /pcie@1e140000, using [bus 00-ff]
[    0.641540] mt7621-pci 1e140000.pcie:      MEM 0x0060000000..0x006fffffff -> 0x0060000000
[    0.649646] mt7621-pci 1e140000.pcie:       IO 0x001e160000..0x001e16ffff -> 0x0000000000
[    1.015951] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[    1.022853] mt7621-pci 1e140000.pcie: PCIE0 enabled
[    1.027733] mt7621-pci 1e140000.pcie: PCIE1 enabled
[    1.032693] PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    1.039835] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    1.046140] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.051547] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    1.058398] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    1.064607] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    1.070555] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.076779] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    1.083025] pci 0000:00:00.0: supports D1
[    1.086961] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    1.093467] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    1.099488] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.105675] pci 0000:00:01.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    1.111993] pci 0000:00:01.0: supports D1
[    1.115959] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    1.123590] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.131597] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.139809] pci 0000:01:00.0: [14c3:7603] type 00 class 0x028000
[    1.145760] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[    1.152139] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    1.158558] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    1.163716] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    1.169816] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff]
[    1.176535] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff pref]
[    1.183679] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.190520] pci 0000:02:00.0: [14c3:7663] type 00 class 0x000280
[    1.196534] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[    1.203681] pci 0000:02:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref]
[    1.210884] pci 0000:02:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
[    1.218157] pci 0000:02:00.0: supports D1 D2
[    1.222334] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.228965] pci 0000:02:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    1.244069] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[    1.249271] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    1.255279] pci 0000:00:01.0:   bridge window [mem 0x00000000-0x000fffff]
[    1.262058] pci 0000:00:01.0:   bridge window [mem 0x00000000-0x000fffff pref]
[    1.269222] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    1.275798] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    1.282350] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    1.289266] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    1.295799] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    1.302748] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    1.309483] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[    1.316661] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff]
[    1.323362] pci 0000:00:01.0: BAR 9: assigned [mem 0x60300000-0x604fffff pref]
[    1.330564] pci 0000:00:00.0: BAR 1: assigned [mem 0x60500000-0x6050ffff]
[    1.337308] pci 0000:00:01.0: BAR 1: assigned [mem 0x60510000-0x6051ffff]
[    1.344012] pci 0000:00:00.0: BAR 7: assigned [io  0x0000-0x0fff]
[    1.350098] pci 0000:00:01.0: BAR 7: assigned [io  0x1000-0x1fff]
[    1.356149] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff]
[    1.362850] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.367798] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    1.373821] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    1.380596] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    1.387768] pci 0000:02:00.0: BAR 0: assigned [mem 0x60300000-0x603fffff 64bit pref]
[    1.395431] pci 0000:02:00.0: BAR 2: assigned [mem 0x60400000-0x60403fff 64bit pref]
[    1.403152] pci 0000:02:00.0: BAR 4: assigned [mem 0x60404000-0x60404fff 64bit pref]
[    1.410840] pci 0000:00:01.0: PCI bridge to [bus 02]
[    1.415723] pci 0000:00:01.0:   bridge window [io  0x1000-0x1fff]
[    1.421801] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff]
[    1.428540] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x604fffff pref]
[    1.435683] pci_bus 0000:00: Some PCI device resources are unassigned, try booting with pci=realloc
[    1.444704] pci_bus 0000:00: resource 4 [mem 0x60000000-0x6fffffff]
[    1.450916] pci_bus 0000:00: resource 5 [io  0x0000-0xffff]
[    1.456451] pci_bus 0000:01: resource 0 [io  0x0000-0x0fff]
[    1.461946] pci_bus 0000:01: resource 1 [mem 0x60000000-0x600fffff]
[    1.468196] pci_bus 0000:01: resource 2 [mem 0x60100000-0x601fffff pref]
[    1.474820] pci_bus 0000:02: resource 0 [io  0x1000-0x1fff]
[    1.480378] pci_bus 0000:02: resource 1 [mem 0x60200000-0x602fffff]
[    1.486599] pci_bus 0000:02: resource 2 [mem 0x60300000-0x604fffff pref]
[    1.494834] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    1.510766] printk: console [ttyS0] disabled
[    1.515858] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 18, base_baud = 3125000) is a 16550A
[    1.524992] printk: console [ttyS0] enabled
[    1.524992] printk: console [ttyS0] enabled
[    1.533322] printk: bootconsole [early0] disabled
[    1.533322] printk: bootconsole [early0] disabled
[    1.547957] spi-mt7621 1e000b00.spi: sys_freq: 220000000
[    1.554781] spi-nor spi0.0: w25q128 (16384 Kbytes)
[    1.559796] 4 fixed-partitions partitions found on MTD device spi0.0
[    1.566213] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
[    1.573523] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
[    1.581128] Creating 4 MTD partitions on "spi0.0":
[    1.585979] 0x000000000000-0x000000040000 : "u-boot"
[    1.592619] 0x000000040000-0x000000fa0000 : "firmware"
[    1.599098] 2 uimage-fw partitions found on MTD device firmware
[    1.605030] Creating 2 MTD partitions on "firmware":
[    1.610036] 0x000000000000-0x000000310000 : "kernel"
[    1.616288] 0x000000310000-0x000000f60000 : "rootfs"
[    1.622338] mtd: setting mtd3 (rootfs) as root device
[    1.627522] 1 squashfs-split partitions found on MTD device rootfs
[    1.633687] 0x000000750000-0x000000f60000 : "rootfs_data"
[    1.640724] 0x000000fa0000-0x000000ff0000 : "config"
[    1.647042] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
[    1.654736] 0x000000ff0000-0x000001000000 : "radio"
[    1.660998] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
[    1.809136] mt7530-mdio mdio-bus:1f: MT7530 adapts as multi-chip module
[    1.824611] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 19
[    1.834570] i2c_dev: i2c /dev entries driver
[    1.843024] NET: Registered PF_INET6 protocol family
[    1.851075] Segment Routing with IPv6
[    1.854828] In-situ OAM (IOAM) with IPv6
[    1.858990] NET: Registered PF_PACKET protocol family
[    1.864119] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.877680] 8021q: 802.1Q VLAN Support v1.8
[    1.912076] mt7530-mdio mdio-bus:1f: MT7530 adapts as multi-chip module
[    2.924983] mt7530-mdio mdio-bus:1f: reset timeout
[    2.929869] mt7530-mdio: probe of mdio-bus:1f failed with error -145
[    2.936761] clk: Disabling unused clocks
[    2.946742] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    2.957994] Freeing unused kernel image (initmem) memory: 1284K
[    2.963938] This architecture does not have kernel memory protection.
[    2.970417] Run /sbin/init as init process
[    3.442103] init: Console is alive
[    3.445783] init: - watchdog -
[    4.214595] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.267080] gpio_button_hotplug: loading out-of-tree module taints kernel.
[    4.281173] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.290785] init: - preinit -
[    8.545945] random: crng init done
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
[   13.479058] jffs2: notice: (535) jffs2_build_xattr_subsystem: complete building xattr subsystem, 144 of xdatum (8 unchecked, 135 orphan) and 165 of xref (36 dead, 118 orphan) found.
[   13.497131] mount_root: switching to jffs2 overlay
[   13.507633] overlayfs: upper fs does not support tmpfile.
[   13.521405] urandom-seed: Seeding with /etc/urandom.seed
[   13.617581] procd: - early -
[   13.620678] procd: - watchdog -
[   14.231245] procd: - watchdog -
[   14.235661] procd: - ubus -
[   14.399698] procd: - init -
Please press Enter to activate this console.
[   15.093735] kmodloader: loading kernel modules from /etc/modules.d/*
[   15.161418] mtk-eip93 1e004000.crypto: EIP93 Crypto Engine Initialized.
[   15.625640] Loading modules backported from Linux version v6.12.6-0-ge9d65b48ce1a
[   15.633273] Backport generated by backports.git v6.1.110-1-35-g410656ef04d2
[   15.845508] pci 0000:00:00.0: enabling device (0000 -> 0003)
[   15.851275] mt7603e 0000:01:00.0: enabling device (0000 -> 0002)
[   15.857501] mt7603e 0000:01:00.0: ASIC revision: 76030010
[   15.867433] mt7603e 0000:01:00.0: Firmware Version: ap_pcie
[   15.873027] mt7603e 0000:01:00.0: Build Time: 20160107100755
[   15.915960] mt7603e 0000:01:00.0: firmware init done
[   16.086606] mt7603e 0000:01:00.0: registering led 'mt76-phy0'
[   16.215778] urngd: v1.0.2 started.
[   16.242332] pci 0000:00:01.0: enabling device (0000 -> 0003)
[   16.248152] mt7615e 0000:02:00.0: enabling device (0000 -> 0002)
[   16.269288] mt7615e 0000:02:00.0: registering led 'mt76-phy1'
[   16.493046] PPP generic driver version 2.4.2
[   16.500892] NET: Registered PF_PPPOX protocol family
[   16.516532] kmodloader: done loading kernel modules from /etc/modules.d/*
[   17.571333] mt7615e 0000:02:00.0: mediatek/mt7663pr2h.bin not found, switching to mediatek/mt7663pr2h_rebb.bin
[   17.726156] mt7615e 0000:02:00.0: HW/SW Version: 0x65322d31, Build Time: 2009041715da1a1
[   17.726156]
[   17.907834] mt7615e 0000:02:00.0: N9 Firmware Version: 7663mp1827, Build Time: 20200904171623
[   17.916456] mt7615e 0000:02:00.0: Region number: 0x3
[   17.921476] mt7615e 0000:02:00.0: Parsing tailer Region: 0
[   17.931005] mt7615e 0000:02:00.0: Region 0, override_addr = 0x00112c00
[   17.937809] mt7615e 0000:02:00.0: Parsing tailer Region: 1
[   17.944102] mt7615e 0000:02:00.0: Parsing tailer Region: 2
[   17.950056] mt7615e 0000:02:00.0: override_addr = 0x00112c00, option = 3