重新编译了,mi-router-4a-gigabit还是不启动,
反馈bug/问题模板,提建议请删除
1.关于你要提交的问题
Q:是否搜索了issue (使用 "x" 选择)
- [ ] 没有类似的issue
2. 详细叙述
(1) 具体问题
更新了源码编译了,还是一样不启动,是不是不适合5.4内核?
(2) 路由器型号和固件版本
小米4A千兆版
(3) 详细日志
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.190 (bbb@ubuntu) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r4479-2a91c7245)) #0 SMP Fri Apr 22 14:50:56 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=00042e00 [ 0.000000] Readback ErrCtl register=00042e00 [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 120324K/131072K available (6144K kernel code, 254K 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.000010] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns [ 0.007818] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688) [ 0.073993] pid_max: default: 32768 minimum: 301 [ 0.078802] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.086002] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.096837] rcu: Hierarchical SRCU implementation. [ 0.102249] smp: Bringing up secondary CPUs ... [ 3.533929] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 3.533940] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 3.533953] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 3.534068] CPU1 revision is: 0001992f (MIPS 1004Kc) [ 0.167093] Synchronize counters for CPU 1: done. [ 3.245060] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 3.245068] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 3.245076] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 3.245134] CPU2 revision is: 0001992f (MIPS 1004Kc) [ 0.257935] Synchronize counters for CPU 2: done. [ 3.334283] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 3.334291] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 3.334299] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 3.334367] CPU3 revision is: 0001992f (MIPS 1004Kc) [ 0.343120] Synchronize counters for CPU 3: done. [ 0.372994] smp: Brought up 1 node, 4 CPUs [ 0.381632] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.391405] futex hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.398498] pinctrl core: initialized pinctrl subsystem [ 0.405410] NET: Registered protocol family 16 [ 0.441929] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512 [ 0.453550] clocksource: Switched to clocksource GIC [ 0.460476] NET: Registered protocol family 2 [ 0.465022] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.472724] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 0.481091] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.488697] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.495677] TCP: Hash tables configured (established 1024 bind 1024) [ 0.502132] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.508627] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.515803] NET: Registered protocol family 1 [ 0.520093] PCI: CLS 0 bytes, default 32 [ 0.763492] 4 CPUs re-calibrate udelay(lpj = 2924544) [ 0.769705] random: fast init done [ 0.773458] workingset: timestamp_bits=14 max_order=15 bucket_order=1 [ 0.792179] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.797992] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.811020] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 0.816941] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 0.822708] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 0.829270] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled [ 0.837010] printk: console [ttyS0] disabled [ 0.841277] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A [ 0.850266] printk: console [ttyS0] enabled [ 0.850266] printk: console [ttyS0] enabled [ 0.858516] printk: bootconsole [early0] disabled [ 0.858516] printk: bootconsole [early0] disabled [ 0.870731] spi-mt7621 1e000b00.spi: sys_freq: 220000000 [ 0.879010] spi-nor spi0.0: gd25q128 (16384 Kbytes) [ 0.884029] 8 fixed-partitions partitions found on MTD device spi0.0 [ 0.890352] Creating 8 MTD partitions on "spi0.0": [ 0.895152] 0x000000000000-0x000000030000 : "u-boot" [ 0.901487] 0x000000030000-0x000000040000 : "u-boot-env" [ 0.908042] 0x000000040000-0x000000050000 : "Bdata" [ 0.914363] 0x000000050000-0x000000060000 : "factory" [ 0.920671] 0x000000060000-0x000000070000 : "crash" [ 0.926873] 0x000000070000-0x000000080000 : "cfg_bak" [ 0.933135] 0x000000080000-0x000000180000 : "overlay" [ 0.939460] 0x000000180000-0x000001000000 : "firmware" [ 0.994240] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module [ 1.003093] mtk_soc_eth 1e100000.ethernet: generated random MAC address c6:dc:98:77:2d:cf [ 1.012175] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 22 [ 1.023058] mt7621-pci 1e140000.pcie: Parsing DT failed [ 1.030924] NET: Registered protocol family 10 [ 1.036979] Segment Routing with IPv6 [ 1.040741] NET: Registered protocol family 17 [ 1.045568] 8021q: 802.1Q VLAN Support v1.8 [ 1.053401] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module [ 1.070728] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY] [ 1.080645] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY] [ 1.090514] mt7530 mdio-bus:1f wan (uninitialized): PHY [dsa-0.0:04] driver [Generic PHY] [ 1.100255] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode [ 1.111484] DSA: tree 0 setup [ 1.114844] rt2880-pinmux pinctrl: pcie is already enabled [ 1.120458] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1) [ 1.128061] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0) [ 1.235420] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz [ 1.240983] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz [ 1.346447] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK) [ 1.353380] mt7621-pci 1e140000.pcie: PCIE0 enabled [ 1.358245] mt7621-pci 1e140000.pcie: PCIE1 enabled [ 1.363106] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002 [ 1.372574] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00 [ 1.378939] pci_bus 0000:00: root bus resource [io 0x1e160000-0x1e16ffff] [ 1.385798] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff] [ 1.392643] pci_bus 0000:00: root bus resource [bus 00-ff] [ 1.398157] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400 [ 1.404186] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff] [ 1.410427] pci 0000:00:00.0: reg 0x14: [mem 0x60400000-0x6040ffff] [ 1.416751] pci 0000:00:00.0: supports D1 [ 1.420742] pci 0000:00:00.0: PME# supported from D0 D1 D3hot [ 1.426869] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400 [ 1.432880] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff] [ 1.439145] pci 0000:00:01.0: reg 0x14: [mem 0x60410000-0x6041ffff] [ 1.445471] pci 0000:00:01.0: supports D1 [ 1.449461] pci 0000:00:01.0: PME# supported from D0 D1 D3hot [ 1.456804] pci 0000:01:00.0: [14c3:7662] type 00 class 0x028000 [ 1.462844] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit] [ 1.469664] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref] [ 1.476455] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold [ 1.484016] pci 0000:00:00.0: PCI bridge to [bus 01-ff] [ 1.489228] pci 0000:00:00.0: bridge window [io 0x0000-0x0fff] [ 1.495309] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff] [ 1.502067] pci 0000:00:00.0: bridge window [mem 0x60100000-0x601fffff pref] [ 1.509285] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 1.516101] pci 0000:02:00.0: [14c3:7603] type 00 class 0x028000 [ 1.522126] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff] [ 1.528523] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold [ 1.536052] pci 0000:00:01.0: PCI bridge to [bus 02-ff] [ 1.541262] pci 0000:00:01.0: bridge window [io 0x0000-0x0fff] [ 1.547349] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff] [ 1.554123] pci 0000:00:01.0: bridge window [mem 0x60300000-0x603fffff pref] [ 1.561317] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02 [ 1.567982] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000] [ 1.574582] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000] [ 1.581514] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000] [ 1.588110] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000] [ 1.595058] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff] [ 1.601817] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref] [ 1.609022] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff] [ 1.615797] pci 0000:00:01.0: BAR 9: assigned [mem 0x60300000-0x603fffff pref] [ 1.622987] pci 0000:00:00.0: BAR 1: assigned [mem 0x60400000-0x6040ffff] [ 1.629765] pci 0000:00:01.0: BAR 1: assigned [mem 0x60410000-0x6041ffff] [ 1.636546] pci 0000:00:00.0: BAR 7: assigned [io 0x1e160000-0x1e160fff] [ 1.643304] pci 0000:00:01.0: BAR 7: assigned [io 0x1e161000-0x1e161fff] [ 1.650089] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit] [ 1.657393] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref] [ 1.664598] pci 0000:00:00.0: PCI bridge to [bus 01] [ 1.669540] pci 0000:00:00.0: bridge window [io 0x1e160000-0x1e160fff] [ 1.676310] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff] [ 1.683067] pci 0000:00:00.0: bridge window [mem 0x60100000-0x601fffff pref] [ 1.690277] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff] [ 1.697051] pci 0000:00:01.0: PCI bridge to [bus 02] [ 1.701993] pci 0000:00:01.0: bridge window [io 0x1e161000-0x1e161fff] [ 1.708762] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff] [ 1.715534] pci 0000:00:01.0: bridge window [mem 0x60300000-0x603fffff pref] [ 1.723295] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control off [ 1.723802] hctosys: unable to open rtc device (rtc0) [ 1.736194] /dev/root: Can't open blockdev [ 1.740287] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6 [ 1.747755] Please append a correct "root=" boot option; here are the available partitions: [ 1.756091] 1f00 192 mtdblock0 [ 1.756095] (driver?) [ 1.762598] 1f01 64 mtdblock1 [ 1.762601] (driver?) [ 1.769116] 1f02 64 mtdblock2 [ 1.769119] (driver?) [ 1.775633] 1f03 64 mtdblock3 [ 1.775636] (driver?) [ 1.782137] 1f04 64 mtdblock4 [ 1.782140] (driver?) [ 1.788654] 1f05 64 mtdblock5 [ 1.788657] (driver?) [ 1.795171] 1f06 1024 mtdblock6 [ 1.795174] (driver?) [ 1.801676] 1f07 14848 mtdblock7 [ 1.801678] (driver?) [ 1.808192] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 1.816457] 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.190 Data Size: 2538176 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.190 (bbb@ubuntu) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r4479-2a91c7245)) #0 SMP Fri Apr 22 14:50:56 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=00042e0c [ 0.000000] Readback ErrCtl register=00042e0c [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 120324K/131072K available (6144K kernel code, 254K 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.000010] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns [ 0.007818] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688) [ 0.073991] pid_max: default: 32768 minimum: 301 [ 0.078800] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.086000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.096831] rcu: Hierarchical SRCU implementation. [ 0.102243] smp: Bringing up secondary CPUs ... [ 3.502683] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 3.502694] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 3.502708] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 3.502824] CPU1 revision is: 0001992f (MIPS 1004Kc) [ 0.167087] Synchronize counters for CPU 1: done. [ 3.226534] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 3.226542] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 3.226550] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 3.226608] CPU2 revision is: 0001992f (MIPS 1004Kc) [ 0.257930] Synchronize counters for CPU 2: done. [ 3.315761] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 3.315769] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 3.315777] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 3.315845] CPU3 revision is: 0001992f (MIPS 1004Kc) [ 0.343115] Synchronize counters for CPU 3: done. [ 0.372986] smp: Brought up 1 node, 4 CPUs [ 0.381623] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.391394] futex hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.398485] pinctrl core: initialized pinctrl subsystem [ 0.405423] NET: Registered protocol family 16 [ 0.442026] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512 [ 0.453584] clocksource: Switched to clocksource GIC [ 0.460210] random: fast init done [ 0.460560] NET: Registered protocol family 2 [ 0.468061] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.476033] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 0.484403] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.491984] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.499000] TCP: Hash tables configured (established 1024 bind 1024) [ 0.505461] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.511916] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.519112] NET: Registered protocol family 1 [ 0.523405] PCI: CLS 0 bytes, default 32 [ 0.763522] 4 CPUs re-calibrate udelay(lpj = 2924544) [ 0.770262] workingset: timestamp_bits=14 max_order=15 bucket_order=1 [ 0.788880] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.794661] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.807634] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 0.813463] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 0.819408] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 0.825885] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled [ 0.833731] printk: console [ttyS0] disabled [ 0.837999] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A [ 0.846991] printk: console [ttyS0] enabled [ 0.846991] printk: console [ttyS0] enabled [ 0.855247] printk: bootconsole [early0] disabled [ 0.855247] printk: bootconsole [early0] disabled [ 0.867548] spi-mt7621 1e000b00.spi: sys_freq: 220000000 [ 0.875752] spi-nor spi0.0: gd25q128 (16384 Kbytes) [ 0.880710] 8 fixed-partitions partitions found on MTD device spi0.0 [ 0.887115] Creating 8 MTD partitions on "spi0.0": [ 0.891897] 0x000000000000-0x000000030000 : "u-boot" [ 0.898186] 0x000000030000-0x000000040000 : "u-boot-env" [ 0.904940] 0x000000040000-0x000000050000 : "Bdata" [ 0.911164] 0x000000050000-0x000000060000 : "factory" [ 0.917627] 0x000000060000-0x000000070000 : "crash" [ 0.924028] 0x000000070000-0x000000080000 : "cfg_bak" [ 0.930444] 0x000000080000-0x000000180000 : "overlay" [ 0.936930] 0x000000180000-0x000001000000 : "firmware" [ 0.994329] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module [ 1.003381] mtk_soc_eth 1e100000.ethernet: generated random MAC address 4a:23:ac:70:02:2e [ 1.012621] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 22 [ 1.023804] mt7621-pci 1e140000.pcie: Parsing DT failed [ 1.031749] NET: Registered protocol family 10 [ 1.037795] Segment Routing with IPv6 [ 1.041547] NET: Registered protocol family 17 [ 1.046397] 8021q: 802.1Q VLAN Support v1.8 [ 1.054285] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module [ 1.070794] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY] [ 1.080724] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY] [ 1.090655] mt7530 mdio-bus:1f wan (uninitialized): PHY [dsa-0.0:04] driver [Generic PHY] [ 1.100468] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode [ 1.111700] DSA: tree 0 setup [ 1.115110] rt2880-pinmux pinctrl: pcie is already enabled [ 1.120729] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1) [ 1.128338] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0) [ 1.235796] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz [ 1.241360] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz [ 1.346881] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK) [ 1.353832] mt7621-pci 1e140000.pcie: PCIE0 enabled [ 1.358685] mt7621-pci 1e140000.pcie: PCIE1 enabled [ 1.363572] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002 [ 1.373019] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00 [ 1.379388] pci_bus 0000:00: root bus resource [io 0x1e160000-0x1e16ffff] [ 1.386253] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff] [ 1.393098] pci_bus 0000:00: root bus resource [bus 00-ff] [ 1.398625] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400 [ 1.404659] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff] [ 1.410900] pci 0000:00:00.0: reg 0x14: [mem 0x60400000-0x6040ffff] [ 1.417235] pci 0000:00:00.0: supports D1 [ 1.421227] pci 0000:00:00.0: PME# supported from D0 D1 D3hot [ 1.427406] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400 [ 1.433420] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff] [ 1.439697] pci 0000:00:01.0: reg 0x14: [mem 0x60410000-0x6041ffff] [ 1.446017] pci 0000:00:01.0: supports D1 [ 1.450007] pci 0000:00:01.0: PME# supported from D0 D1 D3hot [ 1.457460] pci 0000:01:00.0: [14c3:7662] type 00 class 0x028000 [ 1.463510] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit] [ 1.470362] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref] [ 1.477157] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold [ 1.484763] pci 0000:00:00.0: PCI bridge to [bus 01-ff] [ 1.489977] pci 0000:00:00.0: bridge window [io 0x0000-0x0fff] [ 1.496072] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff] [ 1.502831] pci 0000:00:00.0: bridge window [mem 0x60100000-0x601fffff pref] [ 1.510043] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 1.516900] pci 0000:02:00.0: [14c3:7603] type 00 class 0x028000 [ 1.522937] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff] [ 1.529344] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold [ 1.536922] pci 0000:00:01.0: PCI bridge to [bus 02-ff] [ 1.542132] pci 0000:00:01.0: bridge window [io 0x0000-0x0fff] [ 1.548228] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff] [ 1.555013] pci 0000:00:01.0: bridge window [mem 0x60300000-0x603fffff pref] [ 1.562208] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02 [ 1.568861] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000] [ 1.575469] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000] [ 1.582403] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000] [ 1.589009] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000] [ 1.595968] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff] [ 1.602728] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref] [ 1.609938] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff] [ 1.616722] pci 0000:00:01.0: BAR 9: assigned [mem 0x60300000-0x603fffff pref] [ 1.623935] pci 0000:00:00.0: BAR 1: assigned [mem 0x60400000-0x6040ffff] [ 1.630696] pci 0000:00:01.0: BAR 1: assigned [mem 0x60410000-0x6041ffff] [ 1.637480] pci 0000:00:00.0: BAR 7: assigned [io 0x1e160000-0x1e160fff] [ 1.644260] pci 0000:00:01.0: BAR 7: assigned [io 0x1e161000-0x1e161fff] [ 1.651025] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit] [ 1.658336] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref] [ 1.665546] pci 0000:00:00.0: PCI bridge to [bus 01] [ 1.670489] pci 0000:00:00.0: bridge window [io 0x1e160000-0x1e160fff] [ 1.677270] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff] [ 1.684048] pci 0000:00:00.0: bridge window [mem 0x60100000-0x601fffff pref] [ 1.691245] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff] [ 1.698027] pci 0000:00:01.0: PCI bridge to [bus 02] [ 1.702970] pci 0000:00:01.0: bridge window [io 0x1e161000-0x1e161fff] [ 1.709745] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff] [ 1.716531] pci 0000:00:01.0: bridge window [mem 0x60300000-0x603fffff pref] [ 1.724331] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control off [ 1.731757] hctosys: unable to open rtc device (rtc0) [ 1.737694] /dev/root: Can't open blockdev [ 1.741785] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6 [ 1.749252] Please append a correct "root=" boot option; here are the available partitions: [ 1.757596] 1f00 192 mtdblock0 [ 1.757601] (driver?) [ 1.764119] 1f01 64 mtdblock1 [ 1.764122] (driver?) [ 1.770623] 1f02 64 mtdblock2 [ 1.770625] (driver?) [ 1.777146] 1f03 64 mtdblock3 [ 1.777150] (driver?) [ 1.783675] 1f04 64 mtdblock4 [ 1.783678] (driver?) [ 1.790179] 1f05 64 mtdblock5 [ 1.790181] (driver?) [ 1.796701] 1f06 1024 mtdblock6 [ 1.796704] (driver?) [ 1.803205] 1f07 14848 mtdblock7 [ 1.803207] (driver?) [ 1.809722] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 1.817988] 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 ... 4
应该是Breed和flash芯片品牌兼容的问题,参照下面的链接修改breed的环境变量参数,即可不用修改内存布局文件,直接使用编译出来的固件了 https://github.com/openwrt/openwrt/issues/9442#issuecomment-1073452013
应该是Breed和flash芯片品牌的修改,修改了下面的环境变量参数,可以根据布局文件链接,直接编译使用 openwrt/openwrt#9442(comment)的问题固件 试过了,修改环境变量也是不行
应该是Breed和flash芯片品牌兼容的问题,参照下面的链接修改breed的环境变量参数,即可不用修改内存布局文件,直接使用编译出来的固件了 openwrt/openwrt#9442 (comment)
我换了华邦闪存还是不行啊,也修改了环境变量
应该是Breed和flash芯片品牌兼容的问题,参照下面的链接修改breed的环境变量参数,即可不用修改内存布局文件,直接使用编译出来的固件了 openwrt/openwrt#9442 (comment)
我换了华邦闪存还是不行啊,也修改了环境变量
你去我仓库看一下吧,修改breed参数和不修改直刷的两种方式都详细说明了,具体可以参考scripts/diy-part1.sh和src修改dtsi文件,如果还不行那我也没办法了,因为我这边两种方式都试过是可以的 仓库地址:https://github.com/zys91/Actions-OpenWrt