router doesn’t boot normally,
So I have tried to write firmware using reset button on update webpage,
I tried so many times, it doesn’t get better.
So I connect serial console
below is result.
there is some kind of mmc error in it
What should I do?
Blockquote
F0: 102B 0000
FA: 1040 0000
FA: 1040 0000 [0200]
F9: 103F 0000
F3: 1006 0033 [0200]
F3: 4001 00E0 [0200]
F3: 0000 0000
V0: 0000 0000 [0001]
00: 0000 0000
BP: 2400 0041 [0000]
G0: 1190 0000
EC: 0000 0000 [2000]
T0: 0000 0257 [010F]
Jump to BL
dump toprgu registers data:
1001c000 | 00000000 0000ffe0 00000000 00000000
1001c010 | 00000fff 00000000 00f00000 00000000
1001c020 | 00000000 00000000 00000000 00000000
1001c030 | 003c0003 003c0003 00000000 00000000
1001c040 | 00000000 00000000 00000000 00000000
1001c050 | 00000000 00000000 00000000 00000000
1001c060 | 00000000 00000000 00000000 00000000
1001c070 | 00000000 00000000 00000000 00000000
1001c080 | 00000000 00000000 00000000 00000000
dump drm registers data:
1001d000 | 00000000 00000000 00000000 00000000
1001d010 | 00000000 00000000 00000000 00000000
1001d020 | 00000000 00000000 00000000 00000000
1001d030 | 00a003f1 000000ff 00100000 00000000
1001d040 | 00027e71 000200a0 00020303 000000ff
1001d050 | 00000000 00000000 00000000 00000000
1001d060 | 00000002 00000000 00000000 00000000
drm: 500 = 0xc
[DDR Reserve] ddr reserve mode not be enabled yet
DDR RESERVE Success 0
[EMI] ComboMCP not ready, using default setting
BYTE_swap:0
BYTE_swap:0
Window Sum 560, worse bit 1, min window 68
Window Sum 548, worse bit 9, min window 68
[TxChooseVref] Worse bit 15, Min win 25, Win sum 435, Final Vref 22
Window Sum 312, worse bit 1, min window 38
Window Sum 294, worse bit 10, min window 32
Window Sum 330, worse bit 2, min window 40
Window Sum 312, worse bit 10, min window 34
Window Sum 346, worse bit 2, min window 42
Window Sum 328, worse bit 10, min window 36
Window Sum 358, worse bit 1, min window 44
Window Sum 340, worse bit 10, min window 38
Window Sum 374, worse bit 1, min window 46
Window Sum 356, worse bit 8, min window 42
Window Sum 386, worse bit 1, min window 46
Window Sum 368, worse bit 10, min window 42
Window Sum 398, worse bit 4, min window 48
Window Sum 378, worse bit 10, min window 44
Window Sum 404, worse bit 2, min window 48
Window Sum 394, worse bit 8, min window 46
Window Sum 414, worse bit 4, min window 50
Window Sum 400, worse bit 10, min window 46
Window Sum 420, worse bit 1, min window 52
Window Sum 418, worse bit 10, min window 50
Window Sum 432, worse bit 1, min window 52
Window Sum 422, worse bit 10, min window 50
Window Sum 434, worse bit 4, min window 52
Window Sum 436, worse bit 11, min window 50
Window Sum 438, worse bit 1, min window 54
Window Sum 444, worse bit 10, min window 52
Window Sum 442, worse bit 1, min window 54
Window Sum 456, worse bit 11, min window 52
Window Sum 444, worse bit 3, min window 54
Window Sum 448, worse bit 11, min window 54
Window Sum 448, worse bit 8, min window 56
U-Boot 2022.07-rc3 (Sep 12 2022 - 19:58:08 -0700)
CPU: MediaTek MT7981
Model: mt7981-rfb
DRAM: 1 GiB
Core: 43 devices, 20 uclasses, devicetree: embed
MMC: mmc@11230000: 0
Loading Environment from MMC… *** Warning - bad CRC, using default environment
In: serial@11002000
Out: serial@11002000
Err: serial@11002000
Net:
Warning: ethernet@15100000 (eth0) using random MAC address - 6a:5d:34:89:15:c9
eth0: ethernet@15100000
gpio: pin 12 (gpio 12) value is 0
Enter “gl” to stop autoboot in 2 seconds
*** Upgrading Firmware ***
ethernet@15100000 Waiting for PHY auto negotiation to complete… TIMEOUT !
*** TFTP client failure: -110 ***
*** Operation Aborted! ***
Reading from 0x880000 to 0x46000000, size 0x200 … OK
Reading from 0x880000 to 0x46000000, size 0x363be7 … OK
Loading kernel from FIT Image at 46000000 …
Using ‘config-1’ configuration
Trying ‘kernel-1’ kernel subimage
Description: ARM64 OpenWrt Linux-5.4.211
Type: Kernel Image
Compression: lzma compressed
Data Start: 0x460000e8
Data Size: 3535592 Bytes = 3.4 MiB
Architecture: AArch64
OS: Linux
Load Address: 0x48080000
Entry Point: 0x48080000
Hash algo: crc32
Hash value: 0d83e852
Hash algo: sha1
Hash value: b4cfc6224066e676e641e5ce8290d732e864ea50
Verifying Hash Integrity … crc32+ sha1+ OK
Loading fdt from FIT Image at 46000000 …
Using ‘config-1’ configuration
Trying ‘fdt-1’ fdt subimage
Description: ARM64 OpenWrt glinet_gl-mt2500 device tree blob
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x4635f510
Data Size: 16640 Bytes = 16.3 KiB
Architecture: AArch64
Hash algo: crc32
Hash value: 52bad9c0
Hash algo: sha1
Hash value: 4b85b3fa6f54bcdeb8fb048f91007bb5c3e233ee
Verifying Hash Integrity … crc32+ sha1+ OK
Booting using the fdt blob at 0x4635f510
Uncompressing Kernel Image
Loading Device Tree to 000000007f7f4000, end 000000007f7fb0ff … OK
Starting kernel …
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.4.211 (glinet@glinet) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r15812+885-46b6ee7ffc)) #0 SMP Tue Jan 23 10:12:58 2024
[ 0.000000] Machine model: GL.iNet GL-MT2500
[ 0.000000] earlycon: uart8250 at MMIO32 0x0000000011002000 (options ‘’)
[ 0.000000] printk: bootconsole [uart8250] enabled
[ 0.000000] On node 0 totalpages: 261200
[ 0.000000] DMA32 zone: 4096 pages used for memmap
[ 0.000000] DMA32 zone: 0 pages reserved
[ 0.000000] DMA32 zone: 261200 pages, LIFO batch:63
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.0
[ 0.000000] percpu: Embedded 20 pages/cpu s44120 r8192 d29608 u81920
[ 0.000000] pcpu-alloc: s44120 r8192 d29608 u81920 alloc=20*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: GIC system register CPU interface
[ 0.000000] CPU features: kernel page table isolation disabled by kernel configuration
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 257104
[ 0.000000] Kernel command line: console=ttyS0,115200n1 loglevel=8 earlycon=uart8250,mmio32,0x11002000 root=PARTLABEL=rootfs rootwait rootfstype=squashfs,f2fs block2mtd.block2mtd=/dev/mmcblk0p1,65536,log
[ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 1013932K/1044800K available (7294K kernel code, 466K rwdata, 2072K rodata, 448K init, 302K bss, 30868K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: CONFIG_RCU_FANOUT set to non-default value of 32.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[ 0.000000] GICv3: 640 SPIs implemented
[ 0.000000] GICv3: 0 Extended SPIs implemented
[ 0.000000] GICv3: Distributor has no Range Selector support
[ 0.000000] GICv3: 16 PPIs implemented
[ 0.000000] GICv3: no VLPI support, no direct LPI support
[ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x000000000c080000
[ 0.000000] arch_timer: cp15 timer(s) running at 13.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2ff89eacb, max_idle_ns: 440795202429 ns
[ 0.000003] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns
[ 0.008183] Calibrating delay loop (skipped), value calculated using timer frequency… 26.00 BogoMIPS (lpj=52000)
[ 0.018505] pid_max: default: 32768 minimum: 301
[ 0.023239] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.030679] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.039455] ASID allocator initialised with 65536 entries
[ 0.044959] rcu: Hierarchical SRCU implementation.
[ 0.050064] smp: Bringing up secondary CPUs …
[ 0.054936] Detected VIPT I-cache on CPU1
[ 0.054957] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000
[ 0.054980] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.055044] smp: Brought up 1 node, 2 CPUs
[ 0.076659] SMP: Total of 2 processors activated.
[ 0.081384] CPU features: detected: 32-bit EL0 Support
[ 0.086547] CPU features: detected: CRC32 instructions
[ 0.091817] CPU: All CPU(s) started at EL2
[ 0.095940] alternatives: patching kernel code
[ 0.102640] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.112453] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[ 0.119354] pinctrl core: initialized pinctrl subsystem
[ 0.125344] NET: Registered protocol family 16
[ 0.130071] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.152674] SCSI subsystem initialized
[ 0.156618] libata version 3.00 loaded.
[ 0.160750] usbcore: registered new interface driver usbfs
[ 0.166336] usbcore: registered new interface driver hub
[ 0.171716] usbcore: registered new device driver usb
[ 0.176814] videodev: Linux video capture interface: v2.00
[ 0.183130] Bluetooth: Core ver 2.22
[ 0.186785] NET: Registered protocol family 31
[ 0.191254] Bluetooth: HCI device and connection manager initialized
[ 0.197645] Bluetooth: HCI socket layer initialized
[ 0.202546] Bluetooth: L2CAP socket layer initialized
[ 0.207628] Bluetooth: SCO socket layer initialized
[ 0.212761] rbus 18000000.wbsys: PCI host bridge to bus 0000:00
[ 0.218721] pci_bus 0000:00: root bus resource [mem 0x18000000-0x18ffffff]
[ 0.225632] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.231145] pci_bus 0000:00: scanning bus
[ 0.235185] pci 0000:00:00.0: [14c3:7981] type 00 class 0x000280
[ 0.241230] pci 0000:00:00.0: reg 0x10: [mem 0x18000000-0x1800000f 64bit]
[ 0.248054] pci 0000:00:00.0: reg 0x18: [mem 0x00000000-0x0000000f]
[ 0.254353] pci 0000:00:00.0: reg 0x1c: [mem 0x00000000-0x0000000f]
[ 0.260652] pci 0000:00:00.0: reg 0x20: [mem 0x00000000-0x0000000f]
[ 0.266951] pci 0000:00:00.0: reg 0x24: [mem 0x00000000-0x0000000f]
[ 0.273922] pci_bus 0000:00: fixups for bus
[ 0.278131] pci_bus 0000:00: bus scan returning with max=00
[ 0.284787] clocksource: Switched to clocksource arch_sys_counter
[ 0.291504] thermal_sys: Registered thermal governor ‘fair_share’
[ 0.291507] thermal_sys: Registered thermal governor ‘bang_bang’
[ 0.297651] thermal_sys: Registered thermal governor ‘step_wise’
[ 0.303691] thermal_sys: Registered thermal governor ‘user_space’
[ 0.309726] thermal_sys: Registered thermal governor ‘power_allocator’
[ 0.316087] NET: Registered protocol family 2
[ 0.327148] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.335118] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[ 0.343558] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.351392] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[ 0.358742] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.365217] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.371884] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.379089] NET: Registered protocol family 1
[ 0.383489] PCI: CLS 0 bytes, default 64
[ 0.388214] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[ 0.397626] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.403509] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.425785] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 0.433791] phy phy-usb-phy@11e10000.1: type_sw - reg 0x218, index 0
[ 0.440552] gpio-export gpio-export: 1 gpio(s) exported
[ 0.454889] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.463190] printk: console [ttyS0] disabled
[ 0.487613] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 12, base_baud = 2500000) is a ST16650V2
[ 0.496827] printk: console [ttyS0] enabled
[ 0.496827] printk: console [ttyS0] enabled
[ 0.505186] printk: bootconsole [uart8250] disabled
[ 0.505186] printk: bootconsole [uart8250] disabled
[ 0.515502] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 0.523965] loop: module loaded
[ 0.527252] mediatek,mt2701-ice_debug ice_debug: get dbg_sel clock fail: -2
[ 0.534218] mediatek,mt2701-ice_debug: probe of ice_debug failed with error -2
[ 0.541461] Loading iSCSI transport class v2.0-870.
[ 0.548333] [mtk_hw_init] reset_lock:0, force:0
[ 0.552921] [mtk_hw_init] execute fe cold reset
[ 0.634411] mtk_soc_eth 15100000.ethernet: generated random MAC address f6:81:73:36:61:97
[ 0.642902] mtk_soc_eth 15100000.ethernet eth0: mediatek frame engine at 0xffffffc011b00000, irq 75
[ 0.651989] mtk_soc_eth 15100000.ethernet: generated random MAC address e6:e2:31:d6:4e:d5
[ 0.660445] mtk_soc_eth 15100000.ethernet eth1: mediatek frame engine at 0xffffffc011b00000, irq 75
[ 0.669490] (unnamed net_device) (dummy): netif_napi_add() called with weight 256
[ 0.677308] xhci-mtk 11200000.xhci: 11200000.xhci supply vbus not found, using dummy regulator
[ 0.685973] xhci-mtk 11200000.xhci: 11200000.xhci supply vusb33 not found, using dummy regulator
[ 0.694860] phy phy-usb-phy@11e10000.0: try to get sw efuse
[ 0.700432] phy phy-usb-phy@11e10000.1: try to get sw efuse
[ 0.705996] phy phy-usb-phy@11e10000.1: try to get sw efuse+
[ 0.711668] phy phy-usb-phy@11e10000.1: u3 efuse - intr 2a, rx_imp 11, tx_imp 11
[ 0.719091] phy_efuse_set set efuse, tx_imp 11, rx_imp 11 intr 2a
[ 0.725262] xhci-mtk 11200000.xhci: xHCI Host Controller
[ 0.730582] xhci-mtk 11200000.xhci: new USB bus registered, assigned bus number 1
[ 0.741050] xhci-mtk 11200000.xhci: hcc params 0x01403f99 hci version 0x110 quirks 0x0000000000210010
[ 0.750292] xhci-mtk 11200000.xhci: irq 84, io mem 0x11200000
[ 0.756494] hub 1-0:1.0: USB hub found
[ 0.760284] hub 1-0:1.0: 1 port detected
[ 0.764455] xhci-mtk 11200000.xhci: xHCI Host Controller
[ 0.769785] xhci-mtk 11200000.xhci: new USB bus registered, assigned bus number 2
[ 0.777273] xhci-mtk 11200000.xhci: Host supports USB 3.2 Enhanced SuperSpeed
[ 0.784457] usb usb2: We don’t know the algorithms for LPM for this host, disabling LPM.
[ 0.792901] hub 2-0:1.0: USB hub found
[ 0.796667] hub 2-0:1.0: 1 port detected
[ 0.801088] usbcore: registered new interface driver uas
[ 0.806475] usbcore: registered new interface driver usb-storage
[ 0.812578] i2c /dev entries driver
[ 0.817014] mtk-wdt 1001c000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[ 0.825023] device-mapper: ioctl: 4.41.0-ioctl (2019-09-16) initialised: dm-devel@redhat.com
[ 0.833584] Bluetooth: HCI UART driver ver 2.3
[ 0.838047] Bluetooth: HCI UART protocol H4 registered
[ 0.843175] Bluetooth: HCI UART protocol BCSP registered
[ 0.848475] Bluetooth: HCI UART protocol ATH3K registered
[ 0.853955] Bluetooth: HCI UART protocol Broadcom registered
[ 0.859624] Bluetooth: HCI UART protocol QCA registered
[ 0.891364] NET: Registered protocol family 10
[ 0.896464] Segment Routing with IPv6
[ 0.900180] NET: Registered protocol family 17
[ 0.904676] Bridge firewalling registered
[ 0.908830] 8021q: 802.1Q VLAN Support v1.8
[ 0.976759] mmc0: switch to bus width 8 failed
[ 0.981328] mmc0: switch to bus width 4 failed
[ 0.985874] mmc0: new high speed MMC card at address 0001
[ 0.992303] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB
[ 0.997569] mmcblk0boot0: mmc0:0001 8GTF4R partition 1 4.00 MiB
[ 1.004206] mmcblk0boot1: mmc0:0001 8GTF4R partition 2 4.00 MiB
[ 1.010197] mmcblk0rpmb: mmc0:0001 8GTF4R partition 3 512 KiB, chardev (249:0)
[ 1.019142] GPT:Primary header thinks Alt. header is not at the end of the disk.
[ 1.026541] GPT:1 != 15269887
[ 1.029499] GPT:Alternate GPT header not at the end of the disk.
[ 1.035495] GPT:1 != 15269887
[ 1.038452] GPT: Use GNU Parted to correct GPT errors.
[ 1.043605] mmcblk0: p1 p2 p3 p4 p5 p6
[ 1.093267] mmc0: switch to bus width 8 failed
[ 1.098059] blk_update_request: I/O error, dev mmcblk0, sector 82944 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 1.108802] blk_update_request: I/O error, dev mmcblk0, sector 82945 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 1.119542] blk_update_request: I/O error, dev mmcblk0, sector 82946 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 1.130282] blk_update_request: I/O error, dev mmcblk0, sector 82947 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 1.141027] blk_update_request: I/O error, dev mmcblk0, sector 82948 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 1.151772] blk_update_request: I/O error, dev mmcblk0, sector 82949 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 1.162519] blk_update_request: I/O error, dev mmcblk0, sector 82950 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 1.173268] blk_update_request: I/O error, dev mmcblk0, sector 82951 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 1.183780] Buffer I/O error on dev mmcblk0, logical block 10368, async page read
[ 1.191259] failed to get super
[ 1.957373] block2mtd: mtd0: [log] erase_size = 64KiB [65536]
[ 1.963290] hctosys: unable to open rtc device (rtc0)
[ 1.969562] blk_update_request: I/O error, dev mmcblk0, sector 82944 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 1.980314] blk_update_request: I/O error, dev mmcblk0, sector 82945 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 1.990835] SQUASHFS error: squashfs_read_data failed to read block 0x0
[ 1.997448] unable to read squashfs_super_block
[ 2.002015] VFS: Cannot open root device “PARTLABEL=rootfs” or unknown-block(179,6): error -5
[ 2.010526] Please append a correct “root=” boot option; here are the available partitions:
[ 2.018872] b300 7634944 mmcblk0
[ 2.018874] driver: mmcblk
[ 2.025662] b301 2048 mmcblk0p1 f8a2819e-2e86-11ed-bfe7-1fb0721adcb3
[ 2.025663]
[ 2.034613] b302 512 mmcblk0p2 19a4763a-6b19-4a4b-a0c4-8cc34f4c2ab9
[ 2.034614]
[ 2.043563] b303 2048 mmcblk0p3 8142c1b2-1697-41d9-b1bf-a88d76c7213f
[ 2.043564]
[ 2.052514] b304 2048 mmcblk0p4 18de6587-4f17-4e08-a6c9-d9d3d424f4c5
[ 2.052515]
[ 2.061469] b305 32768 mmcblk0p5 971f7556-ef1a-44cd-8b28-0cf8100b9c7e
[ 2.061469]
[ 2.070418] b306 7593472 mmcblk0p6 309a3e76-270b-41b2-b5d5-ed8154e7542b
[ 2.070419]
[ 2.079372] 1f00 2048 mtdblock0
[ 2.079374] (driver?)
[ 2.085900] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,6)
[ 2.094320] SMP: stopping secondary CPUs
[ 2.098229] Kernel Offset: disabled
[ 2.101705] CPU features: 0x00002,20002008
[ 2.105787] Memory Limit: none
[ 2.108830] Rebooting in 1 seconds…