|
本帖最后由 longone 于 2018-4-5 09:05 编辑
不知道什么原因,wan口和lan口插电脑都是红X,上编程器刷了breed和固件,还是老样子,上TTL,出来的都是不认识的方块字。不知道怎么救了。
坛友chanwah2009
提醒后,试了57600波特率,现在可以看到输出信息,大家帮分析一下。
Boot and Recovery Environment for Embedded Devices
Copyright (C) 2018 HackPascal <hackpascal@gmail.com>
Build date 2018-03-23 [git-994feec]
Version 1.1 (r1211)
DRAM: 128MB
Platform: MediaTek MT7621A ver 1, eco 3
Board: Phicomm K2P
Clocks: CPU: 880MHz, DDR: 1200MHz, Bus: 293MHz, Ref: 40MHz
Flash: GigaDevice GD25Q128 (16MB) on rt6855a-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-3.18.45
Data Size: 2732653 Bytes
Load Address: 80001000
Entry Point: 80001000
Uncompressing data (LZMA) ... done.
Flushing cache ... done.
Starting kernel at 0x80001000...
[ 0.000000] Linux version 3.18.45 (mleaf@ubuntu) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r49389) ) #1 SMP Tue Mar 6 01:44:14 PST 2018
[ 0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[ 0.000000] MIPS: machine is PHICOMM-K2P
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x07ffffff]
[ 0.000000] HighMem empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x07ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x00000000-0x07ffffff]
[ 0.000000] Detected 3 available secondary CPU(s)
[ 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] PERCPU: Embedded 9 pages/cpu @81109000 s5760 r8192 d22912 u36864
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Writing ErrCtl register=00001319
[ 0.000000] Readback ErrCtl register=00001319
[ 0.000000] Memory: 122224K/131072K available (4401K kernel code, 1145K rwdata, 940K rodata, 220K init, 774K bss, 8848K reserved, 0K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:256
[ 0.000000] gic: revision 3.0
[ 0.000000] CPU Clock: 880MHz
[ 0.000000] Calibrating delay loop... 577.53 BogoMIPS (lpj=2887680)
[ 0.060000] pid_max: default: 32768 minimum: 301
[ 0.070000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.080000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.090000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.090000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.090000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.090000] CPU1 revision is: 0001992f (MIPS 1004Kc)
[ 0.180000] Synchronize counters for CPU 1: done.
[ 0.190000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.190000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.190000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.200000] CPU2 revision is: 0001992f (MIPS 1004Kc)
[ 0.290000] Synchronize counters for CPU 2: done.
[ 0.300000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.300000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.300000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.300000] CPU3 revision is: 0001992f (MIPS 1004Kc)
[ 0.390000] Synchronize counters for CPU 3: done.
[ 0.400000] Brought up 4 CPUs
[ 0.410000] pinctrl core: initialized pinctrl subsystem
[ 0.420000] NET: Registered protocol family 16
[ 0.430000] pull PCIe RST: RALINK_RSTCTRL = 0
[ 0.730000] release PCIe RST: RALINK_RSTCTRL = 7000000
[ 0.740000] ***** Xtal 40MHz *****
[ 0.740000] release PCIe RST: RALINK_RSTCTRL = 7000000
[ 0.750000] Port 0 N_FTS = 1b102800
[ 0.750000] Port 1 N_FTS = 1b102800
[ 0.760000] Port 2 N_FTS = 1b102800
[ 1.890000] PCIE1 no card, disable it(RST&CLK)
[ 1.900000] PCIE2 no card, disable it(RST&CLK)
[ 1.900000] -> 21007f2
[ 1.910000] PCIE0 enabled
[ 1.910000] PCI host bridge /pcie@1e140000 ranges:
[ 1.920000] MEM 0x0000000060000000..0x000000006fffffff
[ 1.930000] IO 0x000000001e160000..0x000000001e16ffff
[ 1.970000] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 1.980000] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 1.990000] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 2.000000] PCI host bridge to bus 0000:00
[ 2.010000] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[ 2.020000] pci_bus 0000:00: root bus resource [io 0xffffffff]
[ 2.030000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 2.050000] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 2.070000] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[ 2.080000] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[ 2.090000] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[ 2.110000] pci 0000:00:00.0: BAR 1: assigned [mem 0x60100000-0x6010ffff]
[ 2.120000] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[ 2.130000] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 2.140000] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff]
[ 2.160000] BAR0 at slot 0 = 0
[ 2.160000] bus=0x0, slot = 0x0
[ 2.170000] bus=0x1, slot = 0x0, irq=0x0
[ 2.180000] Switched to clocksource MIPS
[ 2.190000] NET: Registered protocol family 2
[ 2.190000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 2.210000] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[ 2.220000] TCP: Hash tables configured (established 1024 bind 1024)
[ 2.230000] TCP: reno registered
[ 2.240000] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 2.250000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 2.260000] NET: Registered protocol family 1
[ 2.270000] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 2.290000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 2.310000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 2.330000] msgmni has been set to 238
[ 2.330000] io scheduler noop registered
[ 2.340000] io scheduler deadline registered (default)
[ 2.350000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 2.370000] console [ttyS0] disabled
[ 2.370000] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 34, base_baud = 3125000) is a 16550A
[ 2.390000] console [ttyS0] enabled
[ 2.390000] console [ttyS0] enabled
[ 2.400000] bootconsole [early0] disabled
[ 2.400000] bootconsole [early0] disabled
[ 2.420000] spi-mt7621 1e000b00.spi: sys_freq: 50000000
[ 2.430000] m25p80 spi32766.0: found gd25q128, expected w25q128
[ 2.440000] m25p80 spi32766.0: gd25q128 (16384 Kbytes)
[ 2.460000] m25p80 spi32766.0: using chunked io
[ 2.460000] 4 ofpart partitions found on MTD device spi32766.0
[ 2.480000] Creating 4 MTD partitions on "spi32766.0":
[ 2.490000] 0x000000000000-0x000000030000 : "u-boot"
[ 2.500000] 0x000000030000-0x000000040000 : "u-boot-env"
[ 2.510000] 0x000000040000-0x000000050000 : "factory"
[ 2.520000] 0x000000050000-0x000001000000 : "firmware"
[ 2.580000] 2 uimage-fw partitions found on MTD device firmware
[ 2.590000] 0x000000050000-0x0000002eb2ad : "kernel"
[ 2.600000] 0x0000002eb2ad-0x000001000000 : "rootfs"
[ 2.610000] mtd: device 5 (rootfs) set to be root filesystem
[ 2.620000] 1 squashfs-split partitions found on MTD device rootfs
[ 2.640000] 0x000000e30000-0x000001000000 : "rootfs_data"
[ 2.650000] register mt_drv
[ 2.670000]
[ 2.670000]
[ 2.670000] === pAd = c0181000, size = 3629168 ===
[ 2.670000]
[ 2.690000] <-- RTMPAllocAdapterBlock, Status=0
[ 2.700000] get_wdev_by_idx: invalid idx(0)
[ 2.710000] pAd->PciHif.CSRBaseAddress =0xc0080000, csr_addr=0xc0080000!
[ 2.720000] get_wdev_by_idx: invalid idx(0)
[ 2.730000] RTMPInitPCIeDevice():device_id=0x7615
[ 2.740000] DriverOwn()::Try to Clear FW Own...
[ 3.040000] DriverOwn()::Success to clear FW Own
[ 3.050000] mt_pci_chip_cfg(): HWVer=0x8a10, FWVer=0x8a10, pAd->ChipID=0x7615
[ 3.060000] mt_pci_chip_cfg(): HIF_SYS_REV=0x76150001
[ 3.070000] RtmpChipOpsHook(493): Not support for HIF_MT yet! MACVersion=0x0
[ 3.090000] mt7615_init()-->
[ 3.090000] Use the default ePAeLNA bin image!
[ 3.100000] Use the default /etc/wireless/mt7615e/mt7615e.eeprom.bin bin image!
[ 3.120000] <--mt7615_init()
[ 3.120000] ChipOpsMCUHook
[ 3.130000] cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
[ 3.150000] cut_through_token_list_init(): 87b3cf88,87b3cf88
[ 3.160000] cut_through_token_list_init(): TokenList inited done!id_head/tail=0/4096
[ 3.180000] cut_through_token_list_init(): 87b3cf98,87b3cf98
[ 3.190000] <-- RTMPAllocTxRxRingMemory, Status=0
[ 3.200000] get_wdev_by_idx: invalid idx(0)
[ 3.210000] get_wdev_by_idx: invalid idx(0)
[ 3.220000] get_wdev_by_idx: invalid idx(0)
[ 3.220000] get_wdev_by_idx: invalid idx(0)
[ 3.230000] get_wdev_by_idx: invalid idx(0)
[ 3.240000] get_wdev_by_idx: invalid idx(0)
[ 3.250000] get_wdev_by_idx: invalid idx(0)
[ 3.260000] pci probe count=1
[ 3.260000] PROC INIT OK!
[ 3.270000] mt7621_wdt 1e000100.wdt: Initialized
[ 3.280000] TCP: cubic registered
[ 3.290000] NET: Registered protocol family 17
[ 3.300000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 3.320000] Bridge firewalling registered
[ 3.330000] 8021q: 802.1Q VLAN Support v1.8
[ 3.350000] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[ 3.360000] Freeing unused kernel memory: 220K (80659000 - 80690000)
[ 3.370000] SQUASHFS error: squashfs_read_data failed to read block 0xb32cc4
[ 3.390000] SQUASHFS error: Unable to read metadata cache entry [b32cc4]
[ 3.400000] SQUASHFS error: Unable to read directory block [b32cc4:17a0]
[ 3.410000] Starting init: /etc/preinit exists but couldn't execute it (error -5)
[ 3.430000] SQUASHFS error: Unable to read metadata cache entry [b32cc4]
[ 3.440000] SQUASHFS error: Unable to read directory block [b32cc4:17a0]
[ 3.460000] Starting init: /sbin/init exists but couldn't execute it (error -5)
[ 3.470000] SQUASHFS error: Unable to read metadata cache entry [b32cc4]
[ 3.480000] SQUASHFS error: Unable to read directory block [b32cc4:17a0]
[ 3.500000] Starting init: /etc/init exists but couldn't execute it (error -5)
[ 3.510000] SQUASHFS error: Unable to read metadata cache entry [b32cc4]
[ 3.520000] SQUASHFS error: Unable to read directory block [b32cc4:17a0]
[ 3.540000] Starting init: /bin/init exists but couldn't execute it (error -5)
[ 3.550000] SQUASHFS error: Unable to read metadata cache entry [b32cc4]
[ 3.570000] SQUASHFS error: Unable to read directory block [b32cc4:17a0]
[ 3.580000] Starting init: /bin/sh exists but couldn't execute it (error -5)
[ 3.590000] Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
[ 3.620000] ---[ end Kernel panic - not syncing: No working init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
[ 9.660000] random: nonblocking pool is initialized
|
|