lede icon indicating copy to clipboard operation
lede copied to clipboard

编译mi-router-4a-gigabit固件成功,但刷了不启动,附上TTL

Open yuzhe1129 opened this issue 2 years ago • 3 comments

反馈bug/问题模板,提建议请删除

1.关于你要提交的问题

Q:是否搜索了issue (使用 "x" 选择)

  • [ ] 没有类似的issue

2. 详细叙述

(1) 具体问题

A:

(2) 路由器型号和固件版本

A:小米4A千兆版,编译固件已成功 ,刷了不启动,看下是什么问题引起的

(3) 详细日志

Boot and Recovery Environment for Embedded Devices Copyright (C) 2021 HackPascal [email protected] Build date 2021-12-15 [git-f9b74d0] Version 1.1 (r1337)

DRAM: 128MB Platform: MediaTek MT7621A ver 1, eco 3 Board: PandoraBox PBR-M1 / Newifi Y2S Clocks: CPU: 880MHz, DDR: 1040MHz, Bus: 220MHz, Ref: 40MHz Flash: GigaDevice GD25Q128 (16MB) on mt7621-spi.0 rt2880-eth: MAC address from EEPROM is invalid, using default settings. rt2880-eth: Using MAC address 00:0c:43:00:00:01 eth0: MediaTek MT7530 Gigabit switch

Network started on eth0, inet addr 192.168.1.1, netmask 255.255.255.0

Press any key to interrupt autoboot ... 0

Trying to boot firmware from 0x00050000 in flash bank 0 ... Reading data into memory ... U-Boot firmware image header detected. Image Name: MIPS OpenWrt Linux-5.4.188 Data Size: 2538031 Bytes Load Address: 80001000 Entry Point: 80001000 Flushing cache ... done.

Starting kernel at 0x80001000...

OpenWrt kernel loader for MIPS based SoC Copyright (C) 2011 Gabor Juhos [email protected] Decompressing kernel... done! Starting kernel at 80001000...

[ 0.000000] Linux version 5.4.188 (bbb@ubuntu) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r4464-c015f9b54)) #0 SMP Wed Apr 20 07:32:30 2022 [ 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 Xiaomi Mi Router 4A Gigabit Edition [ 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] HighMem empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] percpu: Embedded 14 pages/cpu s26992 r8192 d22160 u57344 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32480 [ 0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2 [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear) [ 0.000000] Writing ErrCtl register=00000e0c [ 0.000000] Readback ErrCtl register=00000e0c [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 120324K/131072K available (6141K kernel code, 256K rwdata, 1288K rodata, 1260K init, 238K bss, 10748K reserved, 0K cma-reserved, 0K highmem) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] NR_IRQS: 256 [ 0.000000] random: get_random_bytes called from start_kernel+0x36c/0x584 with crng_init=0 [ 0.000000] CPU Clock: 880MHz [ 0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns [ 0.000009] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns [ 0.007810] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688) [ 0.073973] pid_max: default: 32768 minimum: 301 [ 0.078772] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.085972] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.096636] rcu: Hierarchical SRCU implementation. [ 0.101997] smp: Bringing up secondary CPUs ... [ 3.505517] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 3.505527] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 3.505540] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 3.505651] CPU1 revision is: 0001992f (MIPS 1004Kc) [ 0.166782] Synchronize counters for CPU 1: done. [ 3.228298] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 3.228307] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 3.228314] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 3.228372] CPU2 revision is: 0001992f (MIPS 1004Kc) [ 0.257554] Synchronize counters for CPU 2: done. [ 3.317839] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 3.317848] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 3.317856] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 3.317925] CPU3 revision is: 0001992f (MIPS 1004Kc) [ 0.342741] Synchronize counters for CPU 3: done. [ 0.372609] smp: Brought up 1 node, 4 CPUs [ 0.381271] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.391066] futex hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.398090] pinctrl core: initialized pinctrl subsystem [ 0.404987] NET: Registered protocol family 16 [ 0.439649] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512 [ 0.451076] clocksource: Switched to clocksource GIC [ 0.457731] NET: Registered protocol family 2 [ 0.462294] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.469988] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 0.478511] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.486101] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.493110] TCP: Hash tables configured (established 1024 bind 1024) [ 0.499543] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.506028] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.513210] NET: Registered protocol family 1 [ 0.517503] PCI: CLS 0 bytes, default 32 [ 0.761013] 4 CPUs re-calibrate udelay(lpj = 2924544) [ 0.767746] workingset: timestamp_bits=14 max_order=15 bucket_order=1 [ 0.779562] random: fast init done [ 0.786761] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.792538] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.805276] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 0.811018] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 0.816916] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 0.823290] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled [ 0.831188] printk: console [ttyS0] disabled [ 0.835458] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A [ 0.844451] printk: console [ttyS0] enabled [ 0.844451] printk: console [ttyS0] enabled [ 0.852706] printk: bootconsole [early0] disabled [ 0.852706] printk: bootconsole [early0] disabled [ 0.864993] spi-mt7621 1e000b00.spi: sys_freq: 220000000 [ 0.873015] spi-nor spi0.0: gd25q128 (16384 Kbytes) [ 0.877958] 8 fixed-partitions partitions found on MTD device spi0.0 [ 0.884338] Creating 8 MTD partitions on "spi0.0": [ 0.889116] 0x000000000000-0x000000030000 : "u-boot" [ 0.895478] 0x000000030000-0x000000040000 : "u-boot-env" [ 0.902185] 0x000000040000-0x000000050000 : "Bdata" [ 0.908407] 0x000000050000-0x000000060000 : "factory" [ 0.914866] 0x000000060000-0x000000070000 : "crash" [ 0.921181] 0x000000070000-0x000000080000 : "cfg_bak" [ 0.927580] 0x000000080000-0x000000180000 : "overlay" [ 0.934055] 0x000000180000-0x000001000000 : "firmware" [ 0.981727] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module [ 0.990911] mtk_soc_eth 1e100000.ethernet: generated random MAC address 96:07:aa:70:8f:df [ 1.000035] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 22 [ 1.011011] mt7621-pci 1e140000.pcie: Parsing DT failed [ 1.018860] NET: Registered protocol family 10 [ 1.024849] Segment Routing with IPv6 [ 1.028602] NET: Registered protocol family 17 [ 1.033385] 8021q: 802.1Q VLAN Support v1.8 [ 1.041174] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module [ 1.058229] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY] [ 1.068149] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY] [ 1.078133] mt7530 mdio-bus:1f wan (uninitialized): PHY [dsa-0.0:04] driver [Generic PHY] [ 1.087975] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode [ 1.099202] DSA: tree 0 setup [ 1.102544] rt2880-pinmux pinctrl: pcie is already enabled [ 1.108153] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1) [ 1.115757] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0) [ 1.223141] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz [ 1.228704] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz [ 1.334175] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK) [ 1.341126] mt7621-pci 1e140000.pcie: PCIE0 enabled [ 1.345979] mt7621-pci 1e140000.pcie: PCIE1 enabled [ 1.350838] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002 [ 1.360301] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00 [ 1.366668] pci_bus 0000:00: root bus resource [io 0x1e160000-0x1e16ffff] [ 1.373533] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff] [ 1.380376] pci_bus 0000:00: root bus resource [bus 00-ff] [ 1.385897] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400 [ 1.391929] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff] [ 1.398170] pci 0000:00:00.0: reg 0x14: [mem 0x60400000-0x6040ffff] [ 1.404495] pci 0000:00:00.0: supports D1 [ 1.408485] pci 0000:00:00.0: PME# supported from D0 D1 D3hot [ 1.414617] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400 [ 1.420625] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff] [ 1.426902] pci 0000:00:01.0: reg 0x14: [mem 0x60410000-0x6041ffff] [ 1.433216] pci 0000:00:01.0: supports D1 [ 1.437207] pci 0000:00:01.0: PME# supported from D0 D1 D3hot [ 1.444514] pci 0000:01:00.0: [14c3:7662] type 00 class 0x028000 [ 1.450554] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit] [ 1.457390] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref] [ 1.464181] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold [ 1.471683] pci 0000:00:00.0: PCI bridge to [bus 01-ff] [ 1.476894] pci 0000:00:00.0: bridge window [io 0x0000-0x0fff] [ 1.482978] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff] [ 1.489736] pci 0000:00:00.0: bridge window [mem 0x60100000-0x601fffff pref] [ 1.496947] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 1.503785] pci 0000:02:00.0: [14c3:7603] type 00 class 0x028000 [ 1.509808] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff] [ 1.516211] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold [ 1.523680] pci 0000:00:01.0: PCI bridge to [bus 02-ff] [ 1.528889] pci 0000:00:01.0: bridge window [io 0x0000-0x0fff] [ 1.534986] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff] [ 1.541765] pci 0000:00:01.0: bridge window [mem 0x60300000-0x603fffff pref] [ 1.548958] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02 [ 1.555611] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000] [ 1.562215] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000] [ 1.569146] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000] [ 1.575747] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000] [ 1.582705] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff] [ 1.589465] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref] [ 1.596674] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff] [ 1.603453] pci 0000:00:01.0: BAR 9: assigned [mem 0x60300000-0x603fffff pref] [ 1.610643] pci 0000:00:00.0: BAR 1: assigned [mem 0x60400000-0x6040ffff] [ 1.617425] pci 0000:00:01.0: BAR 1: assigned [mem 0x60410000-0x6041ffff] [ 1.624206] pci 0000:00:00.0: BAR 7: assigned [io 0x1e160000-0x1e160fff] [ 1.630964] pci 0000:00:01.0: BAR 7: assigned [io 0x1e161000-0x1e161fff] [ 1.637749] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit] [ 1.645058] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref] [ 1.652267] pci 0000:00:00.0: PCI bridge to [bus 01] [ 1.657210] pci 0000:00:00.0: bridge window [io 0x1e160000-0x1e160fff] [ 1.663985] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff] [ 1.670743] pci 0000:00:00.0: bridge window [mem 0x60100000-0x601fffff pref] [ 1.677956] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff] [ 1.684735] pci 0000:00:01.0: PCI bridge to [bus 02] [ 1.689677] pci 0000:00:01.0: bridge window [io 0x1e161000-0x1e161fff] [ 1.696452] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff] [ 1.703228] pci 0000:00:01.0: bridge window [mem 0x60300000-0x603fffff pref] [ 1.710988] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control off [ 1.711478] hctosys: unable to open rtc device (rtc0) [ 1.723889] /dev/root: Can't open blockdev [ 1.727981] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6 [ 1.735465] Please append a correct "root=" boot option; here are the available partitions: [ 1.743804] 1f00 192 mtdblock0 [ 1.743809] (driver?) [ 1.750310] 1f01 64 mtdblock1 [ 1.750312] (driver?) [ 1.756829] 1f02 64 mtdblock2 [ 1.756833] (driver?) [ 1.763347] 1f03 64 mtdblock3 [ 1.763351] (driver?) [ 1.769851] 1f04 64 mtdblock4 [ 1.769853] (driver?) [ 1.776369] 1f05 64 mtdblock5 [ 1.776373] (driver?) [ 1.782888] 1f06 1024 mtdblock6 [ 1.782891] (driver?) [ 1.789393] 1f07 14848 mtdblock7 [ 1.789396] (driver?) [ 1.795911] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 1.804172] Rebooting in 1 seconds..

Boot and Recovery Environment for Embedded Devices Copyright (C) 2021 HackPascal [email protected] Build date 2021-12-15 [git-f9b74d0] Version 1.1 (r1337)

DRAM: 128MB Platform: MediaTek MT7621A ver 1, eco 3 Board: PandoraBox PBR-M1 / Newifi Y2S Clocks: CPU: 880MHz, DDR: 1040MHz, Bus: 220MHz, Ref: 40MHz Flash: GigaDevice GD25Q128 (16MB) on mt7621-spi.0 rt2880-eth: MAC address from EEPROM is invalid, using default settings. rt2880-eth: Using MAC address 00:0c:43:00:00:01 eth0: MediaTek MT7530 Gigabit switch

Network started on eth0, inet addr 192.168.1.1, netmask 255.255.255.0

Press any key to interrupt autoboot ... 0

Trying to boot firmware from 0x00050000 in flash bank 0 ... Reading data into memory ... U-Boot firmware image header detected. Image Name: MIPS OpenWrt Linux-5.4.188 Data Size: 2538031 Bytes Load Address: 80001000 Entry Point: 80001000 Flushing cache ... done.

Starting kernel at 0x80001000...

OpenWrt kernel loader for MIPS based SoC Copyright (C) 2011 Gabor Juhos [email protected] Decompressing kernel... done! Starting kernel at 80001000...

[ 0.000000] Linux version 5.4.188 (bbb@ubuntu) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r4464-c015f9b54)) #0 SMP Wed Apr 20 07:32:30 2022 [ 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 Xiaomi Mi Router 4A Gigabit Edition [ 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] HighMem empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] percpu: Embedded 14 pages/cpu s26992 r8192 d22160 u57344 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32480 [ 0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2 [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear) [ 0.000000] Writing ErrCtl register=00000e00 [ 0.000000] Readback ErrCtl register=00000e00 [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 120324K/131072K available (6141K kernel code, 256K rwdata, 1288K rodata, 1260K init, 238K bss, 10748K reserved, 0K cma-reserved, 0K highmem) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] NR_IRQS: 256 [ 0.000000] random: get_random_bytes called from start_kernel+0x36c/0x584 with crng_init=0 [ 0.000000] CPU Clock: 880MHz [ 0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns [ 0.000009] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns [ 0.007810] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688) [ 0.073971] pid_max: default: 32768 minimum: 301 [ 0.078770] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.085970] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.096630] rcu: Hierarchical SRCU implementation. [ 0.101991] smp: Bringing up secondary CPUs ... [ 3.489049] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 3.489059] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 3.489072] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 3.489184] CPU1 revision is: 0001992f (MIPS 1004Kc) [ 0.166776] Synchronize counters for CPU 1: done. [ 3.212518] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 3.212527] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 3.212534] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 3.212592] CPU2 revision is: 0001992f (MIPS 1004Kc) [ 0.257553] Synchronize counters for CPU 2: done. [ 3.302056] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 3.302064] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 3.302072] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 3.302142] CPU3 revision is: 0001992f (MIPS 1004Kc) [ 0.342739] Synchronize counters for CPU 3: done. [ 0.372607] smp: Brought up 1 node, 4 CPUs [ 0.381273] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.391069] futex hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.398124] pinctrl core: initialized pinctrl subsystem [ 0.405040] NET: Registered protocol family 16 [ 0.440481] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512 [ 0.451915] clocksource: Switched to clocksource GIC [ 0.458886] NET: Registered protocol family 2 [ 0.463469] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.471151] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 0.479534] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.487132] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.494121] TCP: Hash tables configured (established 1024 bind 1024) [ 0.500571] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.507057] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.514235] NET: Registered protocol family 1 [ 0.518526] PCI: CLS 0 bytes, default 32 [ 0.761853] 4 CPUs re-calibrate udelay(lpj = 2924544) [ 0.767866] random: fast init done [ 0.770350] workingset: timestamp_bits=14 max_order=15 bucket_order=1 [ 0.787120] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.792904] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.808421] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 0.814349] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 0.820047] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 0.826415] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled [ 0.834078] printk: console [ttyS0] disabled [ 0.838341] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A [ 0.847352] printk: console [ttyS0] enabled [ 0.847352] printk: console [ttyS0] enabled [ 0.855612] printk: bootconsole [early0] disabled [ 0.855612] printk: bootconsole [early0] disabled [ 0.867622] spi-mt7621 1e000b00.spi: sys_freq: 220000000 [ 0.875608] spi-nor spi0.0: gd25q128 (16384 Kbytes) [ 0.880546] 8 fixed-partitions partitions found on MTD device spi0.0 [ 0.886913] Creating 8 MTD partitions on "spi0.0": [ 0.891692] 0x000000000000-0x000000030000 : "u-boot" [ 0.897924] 0x000000030000-0x000000040000 : "u-boot-env" [ 0.904696] 0x000000040000-0x000000050000 : "Bdata" [ 0.910706] 0x000000050000-0x000000060000 : "factory" [ 0.917054] 0x000000060000-0x000000070000 : "crash" [ 0.923242] 0x000000070000-0x000000080000 : "cfg_bak" [ 0.929409] 0x000000080000-0x000000180000 : "overlay" [ 0.935665] 0x000000180000-0x000001000000 : "firmware" [ 0.982520] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module [ 0.991564] mtk_soc_eth 1e100000.ethernet: generated random MAC address 5a:d8:ef:5f:92:b6 [ 1.000648] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 22 [ 1.011335] mt7621-pci 1e140000.pcie: Parsing DT failed [ 1.019207] NET: Registered protocol family 10 [ 1.025157] Segment Routing with IPv6 [ 1.028912] NET: Registered protocol family 17 [ 1.033673] 8021q: 802.1Q VLAN Support v1.8 [ 1.041325] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module [ 1.059120] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY] [ 1.068987] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY] [ 1.078910] mt7530 mdio-bus:1f wan (uninitialized): PHY [dsa-0.0:04] driver [Generic PHY] [ 1.088669] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode [ 1.099891] DSA: tree 0 setup [ 1.103260] rt2880-pinmux pinctrl: pcie is already enabled [ 1.108882] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1) [ 1.116479] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0) [ 1.223913] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz [ 1.229476] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz [ 1.334994] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK) [ 1.341943] mt7621-pci 1e140000.pcie: PCIE0 enabled [ 1.346797] mt7621-pci 1e140000.pcie: PCIE1 enabled [ 1.351656] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002 [ 1.361117] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00 [ 1.367478] pci_bus 0000:00: root bus resource [io 0x1e160000-0x1e16ffff] [ 1.374343] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff] [ 1.381188] pci_bus 0000:00: root bus resource [bus 00-ff] [ 1.386704] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400 [ 1.392738] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff] [ 1.398979] pci 0000:00:00.0: reg 0x14: [mem 0x60400000-0x6040ffff] [ 1.405309] pci 0000:00:00.0: supports D1 [ 1.409302] pci 0000:00:00.0: PME# supported from D0 D1 D3hot [ 1.415478] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400 [ 1.421485] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff] [ 1.427749] pci 0000:00:01.0: reg 0x14: [mem 0x60410000-0x6041ffff] [ 1.434064] pci 0000:00:01.0: supports D1 [ 1.438056] pci 0000:00:01.0: PME# supported from D0 D1 D3hot [ 1.445451] pci 0000:01:00.0: [14c3:7662] type 00 class 0x028000 [ 1.451496] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit] [ 1.458319] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref] [ 1.465106] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold [ 1.472659] pci 0000:00:00.0: PCI bridge to [bus 01-ff] [ 1.477872] pci 0000:00:00.0: bridge window [io 0x0000-0x0fff] [ 1.483954] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff] [ 1.490713] pci 0000:00:00.0: bridge window [mem 0x60100000-0x601fffff pref] [ 1.497927] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 1.504763] pci 0000:02:00.0: [14c3:7603] type 00 class 0x028000 [ 1.510791] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff] [ 1.517190] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold [ 1.524693] pci 0000:00:01.0: PCI bridge to [bus 02-ff] [ 1.529906] pci 0000:00:01.0: bridge window [io 0x0000-0x0fff] [ 1.536007] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff] [ 1.542782] pci 0000:00:01.0: bridge window [mem 0x60300000-0x603fffff pref] [ 1.549976] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02 [ 1.556631] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000] [ 1.563230] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000] [ 1.570162] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000] [ 1.576764] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000] [ 1.583713] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff] [ 1.590472] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref] [ 1.597688] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff] [ 1.604465] pci 0000:00:01.0: BAR 9: assigned [mem 0x60300000-0x603fffff pref] [ 1.611655] pci 0000:00:00.0: BAR 1: assigned [mem 0x60400000-0x6040ffff] [ 1.618439] pci 0000:00:01.0: BAR 1: assigned [mem 0x60410000-0x6041ffff] [ 1.625216] pci 0000:00:00.0: BAR 7: assigned [io 0x1e160000-0x1e160fff] [ 1.631997] pci 0000:00:01.0: BAR 7: assigned [io 0x1e161000-0x1e161fff] [ 1.638765] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit] [ 1.646068] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref] [ 1.653279] pci 0000:00:00.0: PCI bridge to [bus 01] [ 1.658222] pci 0000:00:00.0: bridge window [io 0x1e160000-0x1e160fff] [ 1.664999] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff] [ 1.671758] pci 0000:00:00.0: bridge window [mem 0x60100000-0x601fffff pref] [ 1.678973] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff] [ 1.685749] pci 0000:00:01.0: PCI bridge to [bus 02] [ 1.690691] pci 0000:00:01.0: bridge window [io 0x1e161000-0x1e161fff] [ 1.697467] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff] [ 1.704240] pci 0000:00:01.0: bridge window [mem 0x60300000-0x603fffff pref] [ 1.712341] hctosys: unable to open rtc device (rtc0) [ 1.718201] /dev/root: Can't open blockdev [ 1.722333] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6 [ 1.729776] Please append a correct "root=" boot option; here are the available partitions: [ 1.738118] 1f00 192 mtdblock0 [ 1.738123] (driver?) [ 1.744643] 1f01 64 mtdblock1 [ 1.744647] (driver?) [ 1.751146] 1f02 64 mtdblock2 [ 1.751148] (driver?) [ 1.757670] 1f03 64 mtdblock3 [ 1.757673] (driver?) [ 1.764190] 1f04 64 mtdblock4 [ 1.764193] (driver?) [ 1.770694] 1f05 64 mtdblock5 [ 1.770697] (driver?) [ 1.777219] 1f06 1024 mtdblock6 [ 1.777222] (driver?) [ 1.783739] 1f07 14848 mtdblock7 [ 1.783742] (driver?) [ 1.790244] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 1.798509] Rebooting in 1 seconds..

Boot and Recovery Environment for Embedded Devices Copyright (C) 2021 HackPascal [email protected] Build date 2021-12-15 [git-f9b74d0] Version 1.1 (r1337)

DRAM: 128MB Platform: MediaTek MT7621A ver 1, eco 3 Board: PandoraBox PBR-M1 / Newifi Y2S Clocks: CPU: 880MHz, DDR: 1040MHz, Bus: 220MHz, Ref: 40MHz Flash: GigaDevice GD25Q128 (16MB) on mt7621-spi.0 rt2880-eth: MAC address from EEPROM is invalid, using default settings. rt2880-eth: Using MAC address 00:0c:43:00:00:01 eth0: MediaTek MT7530 Gigabit switch

Network started on eth0, inet addr 192.168.1.1, netmask 255.255.255.0

yuzhe1129 avatar Apr 20 '22 12:04 yuzhe1129

应该是dts有问题要更新eeprom都读取无效了

WYC-2020 avatar Apr 21 '22 01:04 WYC-2020

闪存问题,看这里https://github.com/openwrt/openwrt/issues/9442

chobitsos avatar May 16 '22 17:05 chobitsos

不死刷进去的要改分区布局

bigjunda avatar Jun 18 '22 02:06 bigjunda