|
本帖最后由 k9288k 于 2017-4-9 23:54 编辑
[20170402 更新]
问题已解决:原因是水星把 RX 那里的一个元器件(R23,猜测应该是一个限流电阻)给缩水掉了,后来直接短接就正常了。详细信息见 6 楼,里面有图片示例。
论坛中的大神帮我看看到底是哪里出问题了啊,无法通过串口进入交互式控制台。
设备:水星 MW305R V3.1
CPU:QCA9533
内存:64M
Flash:W25Q128
USB 转串口模块:Silicon Labs CP210x
固件下载地址:
https://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/
刷写固件名称:openwrt-ar71xx-generic-tl-wr841n-v9-squashfs-sysupgrade.bin
问题描述:
1. 连接串口后可以读取到启动信息,但是在启动完毕之后按回车无法进入交互式控制台。
2. 可以确定路由器工作一切正常也能通过 SSH 连接进入控制台,但是串口下始终无法进入控制台。
3. 尝试更换 USB 转串口模块,问题未解决。
4. 尝试拆掉 USB 转串口模块上 TX 和 RX 的状态指示 LED,问题未解决。
5. 尝试刷 OpenWrt CC 固件,问题未解决。
6. 断电重启启动几十次,问题未解决。
下面是启动时的输出信息:
- U-Boot 1.1.4 (Jun 10 2014 - 12:45:22)
- AP143 (QCA953x - Honey Bee 1.1) U-Boot
- DRAM: 64 MB
- Flash: Winbond W25Q128 (16 MB)
- Using default environment
- Clocks: CPU:550MHz, DDR:400MHz, AHB:200MHz, Ref:25MHz
- In: serial
- Out: serial
- Err: serial
- Net: ath_gmac_enet_initialize...
- Fetching MAC Address from 0xbf01fc00
- Fetching MAC Address from 0xbf01fc00
- Scorpion ----> S27 PHY*
- S27 reg init
- GMAC: cfg1 0x800c0000 cfg2 0x7114
- eth0: c0:3c:44:a5:66:01
- eth0 up
- Honey Bee ----> MAC 1 S27 PHY*
- S27 reg init
- ATHRS27: resetting s27
- ATHRS27: s27 reset done
- GMAC: cfg1 0x800c0000 cfg2 0x7214
- eth1: c0:3c:44:a5:66:02
- eth1 up
- eth0, eth1
- Hit any key to stop autoboot: 0
- ## Booting image at 9f020000 ...
- Image Name: Unknown board (08410009)
- Created: 1970-01-01 0:00:00 UTC
- Image Type: MIPS Linux Kernel Image (lzma compressed)
- Data Size: 3931648 Bytes = 3.7 MB
- Load Address: 80060000
- Entry Point: 80060000
- Uncompressing Kernel Image ... OK
- Starting kernel ...
- [ 0.000000] Linux version 3.10.49 (bb@builder1) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r42625) ) #3 Wed Oct 1 14:00:51 CEST 2014
- [ 0.000000] bootconsole [early0] enabled
- [ 0.000000] CPU revision is: 00019374 (MIPS 24Kc)
- [ 0.000000] SoC: Qualcomm Atheros QCA9533 rev 1
- [ 0.000000] Clocks: CPU:550.000MHz, DDR:423.535MHz, AHB:211.767MHz, Ref:25.000MHz
- [ 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, VIPT, cache aliases, linesize 32 bytes
- [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
- [ 0.000000] Kernel command line: board=TL-WR841N-v9 console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
- [ 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=00000000
- [ 0.000000] Readback ErrCtl register=00000000
- [ 0.000000] Memory: 61076k/65536k available (2369k kernel code, 4460k reserved, 621k data, 272k init, 0k highmem)
- [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
- [ 0.000000] NR_IRQS:51
- [ 0.000000] Calibrating delay loop... 366.18 BogoMIPS (lpj=1830912)
- [ 0.060000] pid_max: default: 32768 minimum: 301
- [ 0.060000] Mount-cache hash table entries: 512
- [ 0.070000] NET: Registered protocol family 16
- [ 0.070000] MIPS: machine is TP-LINK TL-WR841N/ND v9
- [ 0.490000] bio: create slab <bio-0> at 0
- [ 0.500000] Switching to clocksource MIPS
- [ 0.500000] NET: Registered protocol family 2
- [ 0.510000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
- [ 0.510000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
- [ 0.520000] TCP: Hash tables configured (established 512 bind 512)
- [ 0.520000] TCP: reno registered
- [ 0.530000] UDP hash table entries: 256 (order: 0, 4096 bytes)
- [ 0.530000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
- [ 0.540000] NET: Registered protocol family 1
- [ 0.560000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
- [ 0.570000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
- [ 0.580000] msgmni has been set to 119
- [ 0.580000] io scheduler noop registered
- [ 0.580000] io scheduler deadline registered (default)
- [ 0.590000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
- [ 0.620000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
- [ 0.630000] console [ttyS0] enabled, bootconsole disabled
- [ 0.630000] console [ttyS0] enabled, bootconsole disabled
- [ 0.640000] ath79-spi ath79-spi: master is unqueued, this is deprecated
- [ 0.650000] m25p80 spi0.0: found w25q128, expected m25p80
- [ 0.660000] m25p80 spi0.0: w25q128 (16384 Kbytes)
- [ 0.660000] 5 tp-link partitions found on MTD device spi0.0
- [ 0.670000] Creating 5 MTD partitions on "spi0.0":
- [ 0.670000] 0x000000000000-0x000000020000 : "u-boot"
- [ 0.680000] 0x000000020000-0x00000012e660 : "kernel"
- [ 0.680000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
- [ 0.700000] 0x00000012e660-0x000000ff0000 : "rootfs"
- [ 0.700000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
- [ 0.720000] mtd: device 2 (rootfs) set to be root filesystem
- [ 0.730000] 1 squashfs-split partitions found on MTD device rootfs
- [ 0.730000] 0x000000340000-0x000000ff0000 : "rootfs_data"
- [ 0.740000] 0x000000ff0000-0x000001000000 : "art"
- [ 0.750000] 0x000000020000-0x000000ff0000 : "firmware"
- [ 0.770000] libphy: ag71xx_mdio: probed
- [ 1.330000] ag71xx-mdio.1: Found an AR934X built-in switch
- [ 2.370000] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
- [ 2.930000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd042, driver=Generic PHY]
- [ 2.940000] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
- [ 2.950000] TCP: cubic registered
- [ 2.950000] NET: Registered protocol family 17
- [ 2.950000] Bridge firewalling registered
- [ 2.960000] 8021q: 802.1Q VLAN Support v1.8
- [ 2.970000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
- [ 2.980000] Freeing unused kernel memory: 272K (8034c000 - 80390000)
- procd: Console is alive
- procd: - watchdog -
- procd: - preinit -
- 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
- jffs2 is ready
- jffs2 is ready
- [ 9.970000] jffs2: notice: (321) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 16 of xref (0 dead, 2 orphan) found.
- switching to overlay
- procd: - early -
- procd: - watchdog -
- procd: - ubus -
- procd: - init -
- Please press Enter to activate this console.
- [ 11.460000] NET: Registered protocol family 10
- [ 11.470000] nf_conntrack version 0.5.0 (958 buckets, 3832 max)
- [ 11.490000] ip6_tables: (C) 2000-2006 Netfilter Core Team
- [ 11.500000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea
- [ 11.510000] Backport generated by backports.git backports-20140320-37-g5c33da0
- [ 11.520000] ip_tables: (C) 2000-2006 Netfilter Core Team
- [ 11.570000] xt_time: kernel timezone is -0000
- [ 11.620000] cfg80211: Calling CRDA to update world regulatory domain
- [ 11.640000] cfg80211: World regulatory domain updated:
- [ 11.640000] cfg80211: DFS Master region: unset
- [ 11.650000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
- [ 11.660000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
- [ 11.660000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
- [ 11.670000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
- [ 11.680000] cfg80211: (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A)
- [ 11.690000] cfg80211: (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
- [ 11.700000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
- [ 11.710000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
- [ 11.710000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
- [ 11.730000] PPP generic driver version 2.4.2
- [ 11.740000] NET: Registered protocol family 24
- [ 11.830000] ieee80211 phy0: Atheros AR9531 Rev:1 mem=0xb8100000, irq=2
- [ 11.840000] cfg80211: Calling CRDA for country: US
- [ 11.840000] cfg80211: Regulatory domain changed to country: US
- [ 11.850000] cfg80211: DFS Master region: FCC
- [ 11.850000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
- [ 11.860000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
- [ 11.870000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 1700 mBm), (N/A)
- [ 11.880000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2300 mBm), (0 s)
- [ 11.890000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
- [ 11.900000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
- procd: - init complete -
- [ 21.380000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
- [ 21.380000] device eth0 entered promiscuous mode
- [ 21.390000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
- [ 21.420000] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
复制代码
|
|