|
hi给位大神,从仓库上下载编译后openwrt。烧录固件启动后,内核初始化后半段跑飞了,不确定是文件系统出现问题,还是内核配置出现问题。
烧录官当的 openwrt-ramips-mt7620a-mt7620a-squashfs-sysupgrade.bin 就会出现跑飞的问题。打印信息在下面。
然而我烧录 openwrt-ramips-mt7620a-mt7620a_mt7530-squashfs-sysupgrade.bin 、openwrt-ramips-mt7620a-mt7620a_mt7610e-squashfs-sysupgrade.bin
这两个固件的时候竟然能启动成功,通过TTL能够顺利的进入命令行,不过网络是不通的,ping主机一直不通。
我想现在的问题是不是由于我的硬件电路与官方的不一致导致开启失败。我用的电路板上只有一个MT7620A cpu。
望各位大神赐教~!
Starting kernel ...
[ 0.000000] Linux version 3.10.49 (michael@michael) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r47068) ) #1 Mon Nov 2 13:01:36 HKT 2015
[ 0.000000] Board has DDR2
[ 0.000000] Analog PMU set to hw control
[ 0.000000] Digital PMU set to hw control
[ 0.000000] SoC Type: Ralink MT7620A ver:2 eco:6
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 00019650 (MIPS 24KEc)
[ 0.000000] MIPS: machine is Ralink MT7620a + MT7610e evaluation board
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x03ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x03ffffff]
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Writing ErrCtl register=000490cf
[ 0.000000] Readback ErrCtl register=000490cf
[ 0.000000] Memory: 61512k/65536k available (2380k kernel code, 4024k reserved, 592k data, 224k init, 0k highmem)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:256
[ 0.000000] CPU Clock: 580MHz
[ 0.000000] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[ 0.060000] pid_max: default: 32768 minimum: 301
[ 0.060000] Mount-cache hash table entries: 512
[ 0.070000] pinctrl core: initialized pinctrl subsystem
[ 0.080000] NET: Registered protocol family 16
[ 0.530000] PCIE0 no card, disable it(RST&CLK)
[ 0.540000] bio: create slab <bio-0> at 0
[ 0.550000] rt2880_gpio 10000600.gpio: registering 24 gpios
[ 0.560000] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[ 0.570000] PCI host bridge to bus 0000:00
[ 0.580000] pci_bus 0000:00: root bus resource [mem 0x20000000-0x2fffffff]
[ 0.590000] pci_bus 0000:00: root bus resource [io 0x10160000-0x1016ffff]
[ 0.600000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.610000] Switching to clocksource MIPS
[ 0.620000] NET: Registered protocol family 2
[ 0.620000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 0.630000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 0.640000] TCP: Hash tables configured (established 512 bind 512)
[ 0.660000] TCP: reno registered
[ 0.660000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.670000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.690000] NET: Registered protocol family 1
[ 0.700000] rt-timer 10000100.timer: maximum frequncy is 2441Hz
[ 0.730000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.740000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.760000] msgmni has been set to 120
[ 0.770000] io scheduler noop registered
[ 0.770000] io scheduler deadline registered (default)
[ 0.780000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.800000] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20) is a 16550A
[ 0.810000] console [ttyS0] enabled, bootconsole disabled
[ 0.810000] console [ttyS0] enabled, bootconsole disabled
[ 0.840000] m25p80 spi32766.0: found s25fl064k, expected en25q64
[ 0.850000] m25p80 spi32766.0: s25fl064k (8192 Kbytes)
[ 0.860000] 4 ofpart partitions found on MTD device spi32766.0
[ 0.870000] Creating 4 MTD partitions on "spi32766.0":
[ 0.880000] 0x000000000000-0x000000030000 : "u-boot"
[ 0.900000] 0x000000030000-0x000000040000 : "u-boot-env"
[ 0.910000] 0x000000040000-0x000000050000 : "factory"
[ 0.920000] 0x000000050000-0x000000800000 : "firmware"
[ 0.930000] 0x000000156bf5-0x000000800000 : "rootfs"
[ 0.940000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.970000] mtd: device 4 (rootfs) set to be root filesystem
[ 0.980000] mtd: partition "rootfs_data" created automatically, ofs=0x320000, len=0x4e0000
[ 1.000000] 0x000000320000-0x000000800000 : "rootfs_data"
[ 1.010000] libphy: mdio: probed
[ 1.020000] mdio_bus mdio-bus: cannot get PHY at address 5
[ 1.030000] ralink_soc_eth 10100000.ethernet: connected port 4 to PHY at mdio-bus:04 [uid=03a2940d, driver=Generic PHY]
[ 1.050000] ralink_soc_eth 10100000.ethernet: loaded mt7620 driver
[ 1.070000] ralink_soc_eth 10100000.ethernet eth0: ralink at 0xb0100000, irq 5
[ 1.080000] rt3xxx-usbphy usbphy.3: loaded
[ 1.090000] rt2880_wdt 10000120.watchdog: Initialized
[ 1.100000] TCP: cubic registered
[ 1.110000] NET: Registered protocol family 17
[ 1.120000] 8021q: 802.1Q VLAN Support v1.8
[ 1.140000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 1.160000] Freeing unused kernel memory: 224K (802e8000 - 80320000)
procd: Console is alive
procd: - watchdog -
[ 4.570000] usbcore: registered new interface driver usbfs
[ 4.580000] usbcore: registered new interface driver hub
[ 4.590000] usbcore: registered new device driver usb
[ 4.600000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 4.620000] ehci-platform: EHCI generic platform driver
[ 4.830000] rt3xxx-usbphy usbphy.3: remote usb device wakeup disabled
[ 4.840000] rt3xxx-usbphy usbphy.3: UTMI 16bit 30MHz
[ 4.850000] ehci-platform 101c0000.ehci: EHCI Host Controller
[ 4.860000] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[ 4.880000] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[ 4.910000] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[ 4.920000] hub 1-0:1.0: USB hub found
[ 4.930000] hub 1-0:1.0: 1 port detected
[ 4.940000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 4.950000] ohci-platform 101c1000.ohci: Generic Platform OHCI Controller
[ 4.960000] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[ 4.980000] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[ 5.050000] hub 2-0:1.0: USB hub found
[ 5.060000] hub 2-0:1.0: 1 port detected
procd: - preinit -
[ 5.330000] 8021q: adding VLAN 0 to HW filter on device eth0
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
4
jffs2 is not ready - marker found
procd: procd_state_next(90): Change state 0 -> 1
procd: - early -
procd: watchdog_init(103): Watchdog handover: fd=3
procd: - watchdog -
procd: watchdog_timeout(62): Set watchdog timeout: 30s
procd: watchdog_timeout_cb(37): Ping
procd: watchdog_init(120): Opened watchdog with timeout 30s
procd: procd_coldplug(65): Launched coldplug instance, pid=289
procd: hotplug_handler_debug(404): {{"ACTION":"add","DEVPATH":"\/devices\/101c0000.ehci\/usb1","SUBSYSTEM":"usb","MAJOR":"189","MINOR":"0","DEVNAME":"bus\/usb\/001\/001","DEVTYPE":"usb_device
[ 7.040000] CPU 0 Unable to handle kernel paging request at virtual address 0000010c, epc == 800d0510, ra == 8018fa38
[ 7.040000] Oops[#1]:
[ 7.040000] CPU: 0 PID: 97 Comm: kworker/0:1 Not tainted 3.10.49 #1
[ 7.040000] Workqueue: events phy_state_machine
[ 7.040000] task: 8382ae10 ti: 8389c000 task.ti: 8389c000
[ 7.040000] $ 0 : 00000000 00000000 00000000 00000000
[ 7.040000] $ 4 : 802e2ef4 00000000 00000000 00000014
[ 7.040000] $ 8 : 00000000 0000a400 00000000 0000001a
[ 7.040000] $12 : 00000014 0000000e 00000007 00000001
[ 7.040000] $16 : 00000005 8380a800 00000008 8380abc0
[ 7.040000] $20 : 8380abc0 00000001 00000064 000003e8
[ 7.040000] $24 : 802af00c 8009dcd0
[ 7.040000] $28 : 8389c000 8389de00 0000000a 8018fa38
[ 7.040000] Hi : 00000001
[ 7.040000] Lo : a39de000
[ 7.040000] epc : 800d0510 fe_phy_link_adjust+0x78/0x13c
[ 7.040000] Not tainted
[ 7.040000] ra : 8018fa38 phy_state_machine+0x298/0x40c
[ 7.040000] Status: 1100a402 KERNEL EXL
[ 7.040000] Cause : 00800008
[ 7.040000] BadVA : 0000010c
[ 7.040000] PrId : 00019650 (MIPS 24KEc)
[ 7.040000] Modules linked in: leds_gpio ohci_hcd ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[ 7.040000] Process kworker/0:1 (pid: 97, threadinfo=8389c000, task=8382ae10, tls=00000000)
[ 7.040000] Stack : 80342400 83aca81e 8388cc50 00000001 8392bf3c 00000000 802cf880 8392be00
8392bf74 00000000 00000000 802d0000 802cf890 8018fa38 802cfd70 80190350
8382ae10 8009dca4 8389a700 8392bf3c 802cf880 802d0000 81087600 801a5fa8
83911920 8000c408 802cfd70 802cf880 802d0000 802cf880 8389a700 8389a700
802cf880 802cf880 802d0000 00000001 802937e8 8389a718 802d0000 8024e398
...
[ 7.040000] Call Trace:
[ 7.040000] [<800d0510>] fe_phy_link_adjust+0x78/0x13c
[ 7.040000] [<8018fa38>] phy_state_machine+0x298/0x40c
[ 7.040000] [<801a5fa8>] process_one_work+0x268/0x3d4
[ 7.040000] [<8024e398>] worker_thread+0x278/0x400
[ 7.040000] [<801366f4>] kthread+0xb0/0xb8
[ 7.040000] [<80004878>] ret_from_kernel_thread+0x14/0x1c
[ 7.040000]
[ 7.040000]
Code: 10400025 00001021 8c830000 <8c66010c> 10c00008 8c6500fc 8c890060 8c680100 15280004
","DRIVER":"usb"[ 7.440000] ---[ end trace a742c80c3e4b011e ]---
,"PRODUCT":"1d6b\/2\/310","TYPE"[ 7.460000] CPU 0 Unable to handle kernel paging request at virtual address fffffff0, epc == 80136868, ra == 8024ed14
[ 7.460000] Oops[#2]:
[ 7.460000] CPU: 0 PID: 97 Comm: kworker/0:1 Tainted: G D 3.10.49 #1
[ 7.460000] task: 8382ae10 ti: 8389c000 task.ti: 8389c000
[ 7.460000] $ 0 : 00000000 00000001 00000000 00000001
[ 7.460000] $ 4 : 8382ae10 00000000 802cfd70 00000001
[ 7.460000] $ 8 : 0a7e5351 00000000 00000000 8387ed20
[ 7.460000] $12 : 00000014 00000001 800a0008 00000001
[ 7.460000] $16 : 00000000 00000001 802d0000 83828000
[ 7.460000] $20 : 802cfd70 8382af68 8382ae08 802cfd70
[ 7.460000] $24 : 802af00c 8009dcd0
[ 7.460000] $28 : 8389c000 8389dbc0 00000020 8024ed14
[ 7.460000] Hi : 00001130
[ 7.460000] Lo : 000044c0
[ 7.460000] epc : 80136868 kthread_data+0x4/0xc
[ 7.460000] Tainted: G D
[ 7.460000] ra : 8024ed14 wq_worker_sleeping+0x14/0xf4
[ 7.460000] Status: 1100a402 KERNEL EXL
[ 7.460000] Cause : 80800008
[ 7.460000] BadVA : fffffff0
[ 7.460000] PrId : 00019650 (MIPS 24KEc)
[ 7.460000] Modules linked in: leds_gpio ohci_hcd ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[ 7.460000] Process kworker/0:1 (pid: 97, threadinfo=8389c000, task=8382ae10, tls=00000000)
[ 7.460000] Stack : 00000001 802d0000 83828000 802cfd70 8382ae10 8000c0ac 00000000 00000000
8389dbe0 8389dbe0 8382ae10 00000001 8382ae08 83828000 8382aeec 00000001
8382ae08 00000000 00000020 800b101c 80344528 00000002 802d3c98 80340000
8389dc20 8389dc20 8382af34 800649a8 8389dc20 8389dc4c 8389dd50 80291688
0000000b 00000028 8380abc0 00000001 00000000 00000000 00800000 800a9be4
...
[ 7.460000] Call Trace:
[ 7.460000] [<80136868>] kthread_data+0x4/0xc
[ 7.460000] [<8024ed14>] wq_worker_sleeping+0x14/0xf4
[ 7.460000] [<8000c0ac>] __schedule+0x104/0x558
[ 7.460000] [<800b101c>] do_exit+0x818/0x830
[ 7.460000] [<800a9be4>] direct_splice_actor+0x0/0x30
[ 7.460000]
[ 7.460000]
Code: 03e00008 27bd0048 8c82012c <03e00008> 8c42fff0 080236bf 24840018 10800002 00000000
:"9\/0\/0","BUSN[ 7.840000] ---[ end trace a742c80c3e4b011f ]---
UM":"001","DEVNU[ 7.860000] Fixing recursive fault but reboot is needed!
M":"001","SEQNUM[ 7.870000] CPU 0 Unable to handle kernel paging request at virtual address fffffff0, epc == 80136868, ra == 8024ed14
[ 7.870000] Oops[#3]:
[ 7.870000] CPU: 0 PID: 97 Comm: kworker/0:1 Tainted: G D 3.10.49 #1
[ 7.870000] task: 8382ae10 ti: 8389c000 task.ti: 8389c000
[ 7.870000] $ 0 : 00000000 00000015 00000000 00000001
[ 7.870000] $ 4 : 8382ae10 00000000 802cfd70 00000001
[ 7.870000] $ 8 : 0a7e5351 00000000 00000000 746f6f62
[ 7.870000] $12 : 00000000 03bf0000 00000000 746c7561
[ 7.870000] $16 : 00000000 0000000b 802d0000 00000028
[ 7.870000] $20 : 802cfd70 8382af68 00000000 802cfd70
[ 7.870000] $24 : 00000003 8009dcd0
[ 7.870000] $28 : 8389c000 8389d980 00800000 8024ed14
[ 7.870000] Hi : 00000000
[ 7.870000] Lo : ec4e4000
[ 7.870000] epc : 80136868 kthread_data+0x4/0xc
[ 7.870000] Tainted: G D
[ 7.870000] ra : 8024ed14 wq_worker_sleeping+0x14/0xf4
[ 7.870000] Status: 1100a402 KERNEL EXL
[ 7.870000] Cause : 80800008
[ 7.870000] BadVA : fffffff0
[ 7.870000] PrId : 00019650 (MIPS 24KEc)
[ 7.870000] Modules linked in: leds_gpio ohci_hcd ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[ 7.870000] Process kworker/0:1 (pid: 97, threadinfo=8389c000, task=8382ae10, tls=00000000)
[ 7.870000] Stack : 0000000b 802d0000 00000028 802cfd70 8382ae10 8000c0ac 00000000 00000000
00800000 8023aab4 8382ae10 0000000b 0000000b 00000028 802cfd70 8382af68
00000000 00000000 00800000 800b08f4 80344528 00000038 80285ebb 00000000
80340000 801333ac 00000000 800649a8 802927f0 8389da0c 8389db10 80291688
0000000b 00000028 802cfd70 8382af68 00000000 00000000 00800000 800a9be4
...
[ 7.870000] Call Trace:
[ 7.870000] [<80136868>] kthread_data+0x4/0xc
[ 7.870000] [<8024ed14>] wq_worker_sleeping+0x14/0xf4
[ 7.870000] [<8000c0ac>] __schedule+0x104/0x558
[ 7.870000] [<800b08f4>] do_exit+0xf0/0x830
[ 7.870000] [<800a9be4>] direct_splice_actor+0x0/0x30
[ 7.870000]
[ 7.870000]
Code: 03e00008 27bd0048 8c82012c <03e00008> 8c42fff0 080236bf 24840018 10800002 00000000
":"222"}}
[ 8.250000] ---[ end trace a742c80c3e4b0120 ]---
[ 8.270000] Fixing recursive fault but reboot is needed!
[ 8.280000] CPU 0 Unable to handle kernel paging request at virtual address fffffff0, epc == 80136868, ra == 8024ed14
[ 8.280000] Oops[#4]:
[ 8.280000] CPU: 0 PID: 97 Comm: kworker/0:1 Tainted: G D 3.10.49 #1
[ 8.280000] task: 8382ae10 ti: 8389c000 task.ti: 8389c000
[ 8.280000] $ 0 : 00000000 00000015 00000000 00000001
[ 8.280000] $ 4 : 8382ae10 00000000 802cfd70 00000001
[ 8.280000] $ 8 : 0a7e5351 00000000 00000000 746f6f62
[ 8.280000] $12 : 00000000 03bf0000 00000000 746c7561
[ 8.280000] $16 : 00000000 0000000b 802d0000 00000028
[ 8.280000] $20 : 802cfd70 8382af68 00000000 802cfd70
[ 8.280000] $24 : 00000003 8009dcd0
[ 8.280000] $28 : 8389c000 8389d740 00800000 8024ed14
[ 8.280000] Hi : 00000000
[ 8.280000] Lo : ec4e4000
[ 8.280000] epc : 80136868 kthread_data+0x4/0xc
[ 8.280000] Tainted: G D
[ 8.280000] ra : 8024ed14 wq_worker_sleeping+0x14/0xf4
[ 8.280000] Status: 1100a402 KERNEL EXL
[ 8.280000] Cause : 80800008
[ 8.280000] BadVA : fffffff0
[ 8.280000] PrId : 00019650 (MIPS 24KEc)
[ 8.280000] Modules linked in: leds_gpio ohci_hcd ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[ 8.280000] Process kworker/0:1 (pid: 97, threadinfo=8389c000, task=8382ae10, tls=00000000)
[ 8.280000] Stack : 0000000b 802d0000 00000028 802cfd70 8382ae10 8000c0ac 00000000 00000000
00800000 8023aab4 8382ae10 0000000b 0000000b 00000028 802cfd70 8382af68
00000000 00000000 00800000 800b08f4 80344528 00000038 80285ebc 00000000
80340000 801333ac 00000000 800649a8 802927f0 8389d7cc 8389d8d0 80291688
0000000b 00000028 802cfd70 8382af68 00000000 00000000 00800000 800a9be4
...
|
|