本帖最后由 yumeimm 于 2019-2-24 17:29 编辑
1. 前言
前一段时间入手了矿渣歌华链路由器,并成功刷入官方OpenWrt.
内容详见帖子: https://www.right.com.cn/forum/thread-397417-1-1.html
但是坛子里很多网友刷机的过程则一波三折,有成功有失败。
今天从朋友手上拿到了一台歌华链,固件版本1.25.
刷机后情况有不同,因此记在这里,供大家参考。
2. 奇怪现象
因为时间紧,手头没有更多工具,因此刷机用的都是12-29的歌华链breed文件。
1) 歌华链原版固件1.25及以下应该是能直接telnet登录,备份,并降级的。(至少我手头这个1.25固件是可以的)
2) 刷入breed(2018-12-29版本)后, 刷入官方OpenWrt可以启动,但是软重启有问题。 如果刷入修改软重启补丁的官方OpenWrt版本,
则有线网络反复出现如下提示,无法登录路由(其它网友应该也有这种情况):
以太网
正在识别...
网络电缆被拔出
(然而我的前一台歌华链刷入软重启补丁的OP固件,启动使用完全正常~~)
3) 官方固件为1.26, 需要伪升级固件为1.26带telnet功能, 我原先的那天歌华链(固件1.26)伪升级正常,然而很多网友伪升级变砖~~
4) 长久停留breed界面2.4G/5G芯片发热, 接USB进行pt下载死机等~~
5) 其它, 歌华链路由,插拔电源接口处经常闪火花(应该不算问题?~~)
关于复现故障现象: (不能确定,好像是下面命令, -n 和 -p加不加忘记了~~)
# sysupgrade -n -p 打过补丁的固件.bin
看来,歌华链路由,各种情况都能出现,而且是随机的(变砖/软重启等)
买歌华链真的是拼人品吗?
2019-01-25 更新:
好像歌华链有不同的硬件版本,不知道是不是这个原因导致的,具体见此贴:
https://www.right.com.cn/forum/thread-426128-1-1.html
实测:同样的v0.4硬件版本,一台刷软重启补丁固件正常工作,另一台刷此固件则反复重启~~
2019-01-22 更新:
手上一台变砖的歌华链,(变砖的具体原因未知,原先breed正常,刷官方OP软重启有问题,然后莫名砖~~), 无法按菊花进breed, 也不能启动进OP。
今天突然想想,可以接TTL观察看看。
TTL只需要3颗杜邦线, 一头接USB转TTL转接头, 一头裸线直接插TTL接口即可(焊接也行,用东西压紧也行,比吹FLASH简单多了)
刚开始TTL口无输出,之后有乱码,重启以后,TTL口终于有输出。
按任意键中断TTL后,终于进入breed界面。从Web重新刷breed(12-29), 然后重新刷OP固件。
然后一切正常了~~
附不能启动的TTL输出:(和正常启动相比,缺少了创建"kernel", "rootfs", "roots_data" 的mtd区块操作!!)
=================================================
- Boot and Recovery Environment for Embedded Devices
- Copyright (C) 2018 HackPascal <hackpascal@gmail.com>
- Build date 2018-12-29 [git-135bed9]
- Version 1.1 (r1266)
- DRAM: 512MB
- Platform: MediaTek MT7621A ver 1, eco 3
- Board: GeHua GHL-R-001
- Clocks: CPU: 880MHz, DDR: 1066MHz, Bus: 293MHz, Ref: 40MHz
- Flash: Macronix MX25L25635E (32MB) 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-4.14.93
- Data Size: 1921925 Bytes
- Load Address: 80001000
- Entry Point: 80001000
- Uncompressing data (LZMA) ... done.
- Flushing cache ... done.
- Starting kernel at 0x80001000...
- [ 0.000000] Linux version 4.14.93 (wang@ArchLinux) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r8707+155-6abc14c017)) #0 SMP Mon Jan 21 08:46:06 2019
- [ 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 GeHua GHL-R-001
- [ 0.000000] Determined physical RAM map:
- [ 0.000000] memory: 1c000000 @ 00000000 (usable)
- [ 0.000000] memory: 04000000 @ 20000000 (usable)
- [ 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-0x000000000fffffff]
- [ 0.000000] HighMem [mem 0x0000000010000000-0x0000000023ffffff]
- [ 0.000000] Movable zone start for each node
- [ 0.000000] Early memory node ranges
- [ 0.000000] node 0: [mem 0x0000000000000000-0x000000001bffffff]
- [ 0.000000] node 0: [mem 0x0000000020000000-0x0000000023ffffff]
- [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000023ffffff]
- [ 0.000000] random: get_random_bytes called from start_kernel+0x90/0x4ac with crng_init=0
- [ 0.000000] percpu: Embedded 14 pages/cpu @81490000 s26192 r8192 d22960 u57344
- [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 130560
- [ 0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
- [ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
- [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
- [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
- [ 0.000000] Writing ErrCtl register=000594f0
- [ 0.000000] Readback ErrCtl register=000594f0
- [ 0.000000] Memory: 512884K/524288K available (4534K kernel code, 233K rwdata, 1008K rodata, 228K init, 248K bss, 11404K reserved, 0K cma-reserved, 262144K highmem)
- [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
- [ 0.000000] Hierarchical RCU implementation.
- [ 0.000000] NR_IRQS: 256
- [ 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.015510] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
- [ 0.087825] pid_max: default: 32768 minimum: 301
- [ 0.097147] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
- [ 0.110167] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
- [ 0.125993] Hierarchical SRCU implementation.
- [ 0.135473] smp: Bringing up secondary CPUs ...
- [ 6.648547] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
- [ 6.648556] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
- [ 6.648568] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
- [ 6.648708] CPU1 revision is: 0001992f (MIPS 1004Kc)
- [ 0.204832] Synchronize counters for CPU 1: done.
- [ 6.391841] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
- [ 6.391850] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
- [ 6.391858] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
- [ 6.391931] CPU2 revision is: 0001992f (MIPS 1004Kc)
- [ 0.325512] Synchronize counters for CPU 2: done.
- [ 6.511057] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
- [ 6.511064] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
- [ 6.511072] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
- [ 6.511170] CPU3 revision is: 0001992f (MIPS 1004Kc)
- [ 0.445079] Synchronize counters for CPU 3: done.
- [ 0.504683] smp: Brought up 1 node, 4 CPUs
- [ 0.516437] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
- [ 0.535910] futex hash table entries: 1024 (order: 3, 32768 bytes)
- [ 0.548366] pinctrl core: initialized pinctrl subsystem
- [ 0.560204] NET: Registered protocol family 16
- [ 0.580043] pull PCIe RST: RALINK_RSTCTRL = 0
- [ 0.888856] release PCIe RST: RALINK_RSTCTRL = 7000000
- [ 0.898921] ***** Xtal 40MHz *****
- [ 0.905651] release PCIe RST: RALINK_RSTCTRL = 7000000
- [ 0.915856] Port 0 N_FTS = 1b105000
- [ 0.922756] Port 1 N_FTS = 1b105000
- [ 0.929680] Port 2 N_FTS = 1b102800
- [ 2.087667] PCIE2 no card, disable it(RST&CLK)
- [ 2.096355] -> 21007f2
- [ 2.101177] PCIE0 enabled
- [ 2.106374] PCIE1 enabled
- [ 2.111557] PCI host bridge /pcie@1e140000 ranges:
- [ 2.121081] MEM 0x0000000060000000..0x000000006fffffff
- [ 2.131438] IO 0x000000001e160000..0x000000001e16ffff
- [ 2.141810] PCI coherence region base: 0xbfbf8000, mask/settings: 0x60000000
- [ 2.164370] mt7621_gpio 1e000600.gpio: registering 32 gpios
- [ 2.175660] mt7621_gpio 1e000600.gpio: registering 32 gpios
- [ 2.186869] mt7621_gpio 1e000600.gpio: registering 32 gpios
- [ 2.199305] PCI host bridge to bus 0000:00
- [ 2.207330] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
- [ 2.221000] pci_bus 0000:00: root bus resource [io 0xffffffff]
- [ 2.232725] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
- [ 2.246227] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
- [ 2.263875] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
- [ 2.276928] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
- [ 2.290725] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
- [ 2.303848] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
- [ 2.317680] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
- [ 2.331153] pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
- [ 2.344641] pci 0000:00:01.0: BAR 9: assigned [mem 0x60200000-0x602fffff pref]
- [ 2.358974] pci 0000:00:00.0: BAR 1: assigned [mem 0x60300000-0x6030ffff]
- [ 2.372458] pci 0000:00:01.0: BAR 1: assigned [mem 0x60310000-0x6031ffff]
- [ 2.385948] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff]
- [ 2.399410] pci 0000:00:00.0: PCI bridge to [bus 01]
- [ 2.409242] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff]
- [ 2.422753] pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit]
- [ 2.437271] pci 0000:02:00.0: BAR 6: assigned [mem 0x60200000-0x6020ffff pref]
- [ 2.451596] pci 0000:00:01.0: PCI bridge to [bus 02]
- [ 2.461427] pci 0000:00:01.0: bridge window [mem 0x60100000-0x601fffff]
- [ 2.474921] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff pref]
- [ 2.490654] clocksource: Switched to clocksource GIC
- [ 2.501971] NET: Registered protocol family 2
- [ 2.511244] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
- [ 2.524998] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
- [ 2.537784] TCP: Hash tables configured (established 2048 bind 2048)
- [ 2.550499] UDP hash table entries: 256 (order: 1, 8192 bytes)
- [ 2.562009] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
- [ 2.574682] NET: Registered protocol family 1
- [ 2.820608] 4 CPUs re-calibrate udelay(lpj = 2924544)
- [ 2.831905] Crashlog allocated RAM at address 0x3f00000
- [ 2.842595] workingset: timestamp_bits=30 max_order=17 bucket_order=0
- [ 2.861697] squashfs: version 4.0 (2009/01/31) Phillip Lougher
- [ 2.873177] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
- [ 2.895247] random: fast init done
- [ 2.902677] bounce: pool size: 64 pages
- [ 2.910153] io scheduler noop registered
- [ 2.917960] io scheduler deadline registered (default)
- [ 2.929113] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
- [ 2.943072] console [ttyS0] disabled
- [ 2.950082] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 18, base_baud = 3125000) is a 16550A
- [ 2.968087] console [ttyS0] enabled
- [ 2.968087] console [ttyS0] enabled
- [ 2.981851] bootconsole [early0] disabled
- [ 2.981851] bootconsole [early0] disabled
- [ 2.998452] 1e000e00.uartlite3: ttyS1 at MMIO 0x1e000e00 (irq = 19, base_baud = 3125000) is a 16550A
- [ 3.017215] cacheinfo: Unable to detect cache hierarchy for CPU 0
- [ 3.030050] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
- [ 3.044326] spi-mt7621 1e000b00.spi: sys_freq: 220000000
- [ 3.055883] m25p80 spi0.0: mx25l25635e (32768 Kbytes)
- [ 3.066046] 4 fixed-partitions partitions found on MTD device spi0.0
- [ 3.078724] Creating 4 MTD partitions on "spi0.0":
- [ 3.088270] 0x000000000000-0x000000030000 : "u-boot"
- [ 3.099140] 0x000000030000-0x000000040000 : "u-boot-env"
- [ 3.110732] 0x000000040000-0x000000050000 : "factory"
- [ 3.121696] 0x000000050000-0x000002000000 : "firmware"
- [ 3.165130] libphy: Fixed MDIO Bus: probed
- [ 3.242494] mtk_soc_eth 1e100000.ethernet: generated random MAC address 5e:21:1c:d7:46:0a
- [ 3.258969] libphy: mdio: probed
- [ 4.665004] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
- [ 4.677472] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21
- [ 4.696260] NET: Registered protocol family 10
- [ 4.706534] Segment Routing with IPv6
- [ 4.713934] NET: Registered protocol family 17
- [ 4.722830] 8021q: 802.1Q VLAN Support v1.8
- [ 4.733690] hctosys: unable to open rtc device (rtc0)
- [ 4.744613] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
- [ 4.759524] Please append a correct "root=" boot option; here are the available partitions:
- [ 4.776161] 1f00 192 mtdblock0
- [ 4.776168] (driver?)
- [ 4.789171] 1f01 64 mtdblock1
- [ 4.789176] (driver?)
- [ 4.802188] 1f02 64 mtdblock2
- [ 4.802193] (driver?)
- [ 4.815188] 1f03 32448 mtdblock3
- [ 4.815193] (driver?)
- [ 4.828194] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
- [ 4.846320] Rebooting in 1 seconds..
- Boot and Recovery Environment for Embedded Devices
- Copyright (C) 2018 HackPascal <hackpascal@gmail.com>
- Build date 2018-12-29 [git-135bed9]
- Version 1.1 (r1266)
- DRAM: 512MB
- Platform: MediaTek MT7621A ver 1, eco 3
- Board: GeHua GHL-R-001
- Clocks: CPU: 880MHz, DDR: 1066MHz, Bus: 293MHz, Ref: 40MHz
- Flash: Macronix MX25L25635E (32MB) 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 ... 2
- Autoboot aborted due to key press.
- Starting breed built-in shell
- breed>
复制代码
正常启动信息(同一个固件):
- BusyBox v1.30.0 () built-in shell (ash)
- _______ ________ __
- | |.-----.-----.-----.| | | |.----.| |_
- | - || _ | -__| || | | || _|| _|
- |_______|| __|_____|__|__||________||__| |____|
- |__| W I R E L E S S F R E E D O M
- -----------------------------------------------------
- OpenWrt SNAPSHOT, r9108+7-bdd8318dd7
- -----------------------------------------------------
- root@OpenWrt:~# dmesg
- [ 0.000000] Linux version 4.14.93 (wang@ArchLinux) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r8707+155-6abc14c017)) #0 SMP Mon Jan 21 08:46:06 2019
- [ 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 GeHua GHL-R-001
- [ 0.000000] Determined physical RAM map:
- [ 0.000000] memory: 1c000000 @ 00000000 (usable)
- [ 0.000000] memory: 04000000 @ 20000000 (usable)
- [ 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-0x000000000fffffff]
- [ 0.000000] HighMem [mem 0x0000000010000000-0x0000000023ffffff]
- [ 0.000000] Movable zone start for each node
- [ 0.000000] Early memory node ranges
- [ 0.000000] node 0: [mem 0x0000000000000000-0x000000001bffffff]
- [ 0.000000] node 0: [mem 0x0000000020000000-0x0000000023ffffff]
- [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000023ffffff]
- [ 0.000000] On node 0 totalpages: 131072
- [ 0.000000] free_area_init_node: node 0, pgdat 805a44a0, node_mem_map 81003000
- [ 0.000000] Normal zone: 512 pages used for memmap
- [ 0.000000] Normal zone: 0 pages reserved
- [ 0.000000] Normal zone: 65536 pages, LIFO batch:15
- [ 0.000000] HighMem zone: 65536 pages, LIFO batch:15
- [ 0.000000] random: get_random_bytes called from start_kernel+0x90/0x4ac with crng_init=0
- [ 0.000000] percpu: Embedded 14 pages/cpu @81490000 s26192 r8192 d22960 u57344
- [ 0.000000] pcpu-alloc: s26192 r8192 d22960 u57344 alloc=14*4096
- [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
- [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 130560
- [ 0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
- [ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
- [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
- [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
- [ 0.000000] Writing ErrCtl register=00046c60
- [ 0.000000] Readback ErrCtl register=00046c60
- [ 0.000000] Memory: 512884K/524288K available (4534K kernel code, 233K rwdata, 1008K rodata, 228K init, 248K bss, 11404K reserved, 0K cma-reserved, 262144K highmem)
- [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
- [ 0.000000] Hierarchical RCU implementation.
- [ 0.000000] NR_IRQS: 256
- [ 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.015511] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
- [ 0.087827] pid_max: default: 32768 minimum: 301
- [ 0.097150] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
- [ 0.110170] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
- [ 0.126014] Hierarchical SRCU implementation.
- [ 0.135500] smp: Bringing up secondary CPUs ...
- [ 5.436387] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
- [ 5.436395] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
- [ 5.436408] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
- [ 5.436549] CPU1 revision is: 0001992f (MIPS 1004Kc)
- [ 0.204862] Synchronize counters for CPU 1: done.
- [ 5.181972] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
- [ 5.181981] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
- [ 5.181989] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
- [ 5.182064] CPU2 revision is: 0001992f (MIPS 1004Kc)
- [ 0.325581] Synchronize counters for CPU 2: done.
- [ 5.301159] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
- [ 5.301166] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
- [ 5.301174] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
- [ 5.301273] CPU3 revision is: 0001992f (MIPS 1004Kc)
- [ 0.445149] Synchronize counters for CPU 3: done.
- [ 0.504753] smp: Brought up 1 node, 4 CPUs
- [ 0.516532] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
- [ 0.536007] futex hash table entries: 1024 (order: 3, 32768 bytes)
- [ 0.548465] pinctrl core: initialized pinctrl subsystem
- [ 0.560246] NET: Registered protocol family 16
- [ 0.579399] FPU Affinity set after 11720 emulations
- [ 0.580166] pull PCIe RST: RALINK_RSTCTRL = 0
- [ 0.888973] release PCIe RST: RALINK_RSTCTRL = 7000000
- [ 0.899037] ***** Xtal 40MHz *****
- [ 0.905768] release PCIe RST: RALINK_RSTCTRL = 7000000
- [ 0.915977] Port 0 N_FTS = 1b105000
- [ 0.922873] Port 1 N_FTS = 1b105000
- [ 0.929796] Port 2 N_FTS = 1b102800
- [ 2.087788] PCIE2 no card, disable it(RST&CLK)
- [ 2.096482] -> 21007f2
- [ 2.101300] PCIE0 enabled
- [ 2.106498] PCIE1 enabled
- [ 2.111684] PCI host bridge /pcie@1e140000 ranges:
- [ 2.121207] MEM 0x0000000060000000..0x000000006fffffff
- [ 2.131561] IO 0x000000001e160000..0x000000001e16ffff
- [ 2.141930] PCI coherence region base: 0xbfbf8000, mask/settings: 0x60000000
- [ 2.165251] mt7621_gpio 1e000600.gpio: registering 32 gpios
- [ 2.176549] mt7621_gpio 1e000600.gpio: registering 32 gpios
- [ 2.187757] mt7621_gpio 1e000600.gpio: registering 32 gpios
- [ 2.200290] PCI host bridge to bus 0000:00
- [ 2.208313] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
- [ 2.221985] pci_bus 0000:00: root bus resource [io 0xffffffff]
- [ 2.233708] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
- [ 2.247201] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
- [ 2.262963] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
- [ 2.263005] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
- [ 2.263017] pci 0000:00:00.0: reg 0x14: [mem 0x60300000-0x6030ffff]
- [ 2.263082] pci 0000:00:00.0: supports D1
- [ 2.263091] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
- [ 2.263354] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
- [ 2.263382] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
- [ 2.263398] pci 0000:00:01.0: reg 0x14: [mem 0x60310000-0x6031ffff]
- [ 2.263450] pci 0000:00:01.0: supports D1
- [ 2.263459] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
- [ 2.263872] pci 0000:01:00.0: [14c3:7603] type 00 class 0x028000
- [ 2.263917] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
- [ 2.264046] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
- [ 2.264230] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
- [ 2.264426] pci 0000:02:00.0: [14c3:7662] type 00 class 0x028000
- [ 2.264482] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
- [ 2.264527] pci 0000:02:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
- [ 2.264621] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
- [ 2.264815] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
- [ 2.264833] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 02
- [ 2.264896] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
- [ 2.277936] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
- [ 2.291738] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
- [ 2.304876] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
- [ 2.318696] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
- [ 2.332173] pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
- [ 2.345662] pci 0000:00:01.0: BAR 9: assigned [mem 0x60200000-0x602fffff pref]
- [ 2.359994] pci 0000:00:00.0: BAR 1: assigned [mem 0x60300000-0x6030ffff]
- [ 2.373478] pci 0000:00:01.0: BAR 1: assigned [mem 0x60310000-0x6031ffff]
- [ 2.386968] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff]
- [ 2.400431] pci 0000:00:00.0: PCI bridge to [bus 01]
- [ 2.410262] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff]
- [ 2.423774] pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit]
- [ 2.438289] pci 0000:02:00.0: BAR 6: assigned [mem 0x60200000-0x6020ffff pref]
- [ 2.452614] pci 0000:00:01.0: PCI bridge to [bus 02]
- [ 2.462452] pci 0000:00:01.0: bridge window [mem 0x60100000-0x601fffff]
- [ 2.475941] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff pref]
- [ 2.491619] clocksource: Switched to clocksource GIC
- [ 2.502934] NET: Registered protocol family 2
- [ 2.512232] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
- [ 2.525983] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
- [ 2.538772] TCP: Hash tables configured (established 2048 bind 2048)
- [ 2.551489] UDP hash table entries: 256 (order: 1, 8192 bytes)
- [ 2.563001] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
- [ 2.575665] NET: Registered protocol family 1
- [ 2.584257] PCI: CLS 0 bytes, default 32
- [ 2.821574] 4 CPUs re-calibrate udelay(lpj = 2924544)
- [ 2.832886] Crashlog allocated RAM at address 0x3f00000
- [ 2.843430] workingset: timestamp_bits=30 max_order=17 bucket_order=0
- [ 2.862629] squashfs: version 4.0 (2009/01/31) Phillip Lougher
- [ 2.874124] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
- [ 2.895672] random: fast init done
- [ 2.903947] bounce: pool size: 64 pages
- [ 2.911432] io scheduler noop registered
- [ 2.919229] io scheduler deadline registered (default)
- [ 2.930633] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
- [ 2.944791] console [ttyS0] disabled
- [ 2.951874] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 18, base_baud = 3125000) is a 16550A
- [ 2.969777] console [ttyS0] enabled
- [ 2.983568] bootconsole [early0] disabled
- [ 3.000240] 1e000e00.uartlite3: ttyS1 at MMIO 0x1e000e00 (irq = 19, base_baud = 3125000) is a 16550A
- [ 3.019112] cacheinfo: Unable to detect cache hierarchy for CPU 0
- [ 3.032025] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
- [ 3.046341] spi-mt7621 1e000b00.spi: sys_freq: 220000000
- [ 3.057939] m25p80 spi0.0: mx25l25635e (32768 Kbytes)
- [ 3.068108] 4 fixed-partitions partitions found on MTD device spi0.0
- [ 3.080781] Creating 4 MTD partitions on "spi0.0":
- [ 3.090328] 0x000000000000-0x000000030000 : "u-boot"
- [ 3.101395] 0x000000030000-0x000000040000 : "u-boot-env"
- [ 3.113135] 0x000000040000-0x000000050000 : "factory"
- [ 3.124290] 0x000000050000-0x000002000000 : "firmware"
- [ 3.135848] 2 uimage-fw partitions found on MTD device firmware
- [ 3.147661] Creating 2 MTD partitions on "firmware":
- [ 3.157553] 0x000000000000-0x0000001d5420 : "kernel"
- [ 3.168554] 0x0000001d5420-0x000001fb0000 : "rootfs"
- [ 3.179484] mtd: device 5 (rootfs) set to be root filesystem
- [ 3.190873] 1 squashfs-split partitions found on MTD device rootfs
- [ 3.203223] 0x000000640000-0x000001fb0000 : "rootfs_data"
- [ 3.215721] libphy: Fixed MDIO Bus: probed
- [ 3.293621] libphy: mdio: probed
- [ 4.699654] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
- [ 4.712160] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21
- [ 4.730954] NET: Registered protocol family 10
- [ 4.741219] Segment Routing with IPv6
- [ 4.748617] NET: Registered protocol family 17
- [ 4.757508] 8021q: 802.1Q VLAN Support v1.8
- [ 4.768427] hctosys: unable to open rtc device (rtc0)
- [ 4.784030] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
- [ 4.798616] Freeing unused kernel memory: 228K
- [ 4.807513] This architecture does not have kernel memory protection.
- [ 5.021963] mtk_soc_eth 1e100000.ethernet eth0: port 4 link up
- [ 5.313255] random: crng init done
- [ 5.623741] init: Console is alive
- [ 5.630726] init: - watchdog -
- [ 6.157879] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
- [ 6.433867] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
- [ 6.509396] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
- [ 6.580018] mtk_soc_eth 1e100000.ethernet eth0: port 0 link up
- [ 8.313263] kmodloader: loading kernel modules from /etc/modules-boot.d/*
- [ 8.481372] usbcore: registered new interface driver usbfs
- [ 8.492447] usbcore: registered new interface driver hub
- [ 8.503215] usbcore: registered new device driver usb
- [ 8.541547] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
- [ 8.561685] SCSI subsystem initialized
- [ 8.573168] ehci-platform: EHCI generic platform driver
- [ 8.593400] libata version 3.00 loaded.
- [ 8.619829] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vbus not found, using dummy regulator
- [ 8.637141] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vusb33 not found, using dummy regulator
- [ 8.654821] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
- [ 8.665433] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
- [ 8.691797] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000210010
- [ 8.710109] xhci-mtk 1e1c0000.xhci: irq 20, io mem 0x1e1c0000
- [ 8.722670] hub 1-0:1.0: USB hub found
- [ 8.730221] hub 1-0:1.0: 2 ports detected
- [ 8.738930] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
- [ 8.749546] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
- [ 8.764472] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0 SuperSpeed
- [ 8.777492] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
- [ 8.794570] hub 2-0:1.0: USB hub found
- [ 8.802142] hub 2-0:1.0: 1 port detected
- [ 8.816121] usbcore: registered new interface driver usb-storage
- [ 8.828529] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
- [ 8.851955] init: - preinit -
- [ 9.546243] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
- [ 9.897699] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
- [ 9.913615] mtk_soc_eth 1e100000.ethernet: PPE started
- [ 13.041232] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
- [ 13.149941] mount_root: loading kmods from internal overlay
- [ 13.193177] kmodloader: loading kernel modules from //etc/modules-boot.d/*
- [ 13.209121] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
- [ 13.392782] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
- [ 13.715759] jffs2: notice: (503) jffs2_build_xattr_subsystem: complete building xattr subsystem, 12 of xdatum (3 unchecked, 9 orphan) and 30 of xref (9 dead, 0 orphan) found.
- [ 13.747522] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
- [ 13.768993] block: extroot: not configured
- [ 13.989128] jffs2: notice: (501) jffs2_build_xattr_subsystem: complete building xattr subsystem, 12 of xdatum (3 unchecked, 9 orphan) and 30 of xref (9 dead, 0 orphan) found.
- [ 14.265770] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
- [ 14.286621] block: extroot: not configured
- [ 14.342850] mount_root: switching to jffs2 overlay
- [ 14.481560] overlayfs: upper fs does not support tmpfile.
- [ 14.549042] urandom-seed: Seeding with /etc/urandom.seed
- [ 14.639814] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
- [ 14.663210] procd: - early -
- [ 14.669051] procd: - watchdog -
- [ 15.381795] procd: - watchdog -
- [ 15.388367] procd: - ubus -
- [ 15.507086] procd: - init -
- [ 16.052047] kmodloader: loading kernel modules from /etc/modules.d/*
- [ 16.090507] FS-Cache: Loaded
- [ 16.097940] Key type dns_resolver registered
- [ 16.126487] RPC: Registered named UNIX socket transport module.
- [ 16.138333] RPC: Registered udp transport module.
- [ 16.147718] RPC: Registered tcp transport module.
- [ 16.157080] RPC: Registered tcp NFSv4.1 backchannel transport module.
- [ 16.178825] ntfs: driver 2.1.32 [Flags: R/O MODULE].
- [ 16.207604] loop: module loaded
- [ 16.250075] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
- [ 16.278672] NFS: Registering the id_resolver key type
- [ 16.288906] Key type id_resolver registered
- [ 16.297281] Key type id_legacy registered
- [ 16.310414] ip6_tables: (C) 2000-2006 Netfilter Core Team
- [ 16.332030] Netfilter messages via NETLINK v0.30.
- [ 16.344229] ip_set: protocol 6
- [ 16.385609] usbcore: registered new interface driver cdc_wdm
- [ 16.398686] Loading modules backported from Linux version v4.19.7-0-g61c68f2a2af0
- [ 16.413635] Backport generated by backports.git v4.19.7-1-0-g148b072d
- [ 16.429473] ip_tables: (C) 2000-2006 Netfilter Core Team
- [ 16.454883] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
- [ 16.469756] ctnetlink v0.93: registering with nfnetlink.
- [ 16.542700] usbcore: registered new interface driver ums-alauda
- [ 16.556222] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
- [ 16.556293] usbcore: registered new interface driver ums-cypress
- [ 16.582171] usbcore: registered new interface driver ums-datafab
- [ 16.595864] usbcore: registered new interface driver ums-freecom
- [ 16.609704] usbcore: registered new interface driver ums-isd200
- [ 16.623448] usbcore: registered new interface driver ums-jumpshot
- [ 16.637364] usbcore: registered new interface driver ums-karma
- [ 16.651201] usbcore: registered new interface driver ums-sddr09
- [ 16.665247] usbcore: registered new interface driver ums-sddr55
- [ 16.679180] usbcore: registered new interface driver ums-usbat
- [ 16.693332] usbcore: registered new interface driver usblp
- [ 16.739173] xt_time: kernel timezone is -0000
- [ 16.808226] bus=0x1, slot = 0x0, irq=0xff
- [ 16.816509] mt7603e 0000:01:00.0: ASIC revision: 76030010
- [ 16.833677] mt7603e 0000:01:00.0: Firmware Version: ap_pcie
- [ 16.844833] mt7603e 0000:01:00.0: Build Time: 20160107100755
- [ 16.891626] mt7603e 0000:01:00.0: firmware init done
- [ 16.907660] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
- [ 17.064202] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
- [ 17.080166] bus=0x2, slot = 0x1, irq=0xff
- [ 17.088445] mt76x2e 0000:02:00.0: ASIC revision: 76120044
- [ 17.799341] mt76x2e 0000:02:00.0: ROM patch build: 20141115060606a
- [ 17.815283] mt76x2e 0000:02:00.0: Firmware Version: 0.0.00
- [ 17.826287] mt76x2e 0000:02:00.0: Build: 1
- [ 17.834450] mt76x2e 0000:02:00.0: Build Time: 201507311614____
- [ 17.861629] mt76x2e 0000:02:00.0: Firmware running!
- [ 17.874346] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
- [ 17.883198] PPP generic driver version 2.4.2
- [ 17.894248] NET: Registered protocol family 24
- [ 17.907032] kmodloader: done loading kernel modules from /etc/modules.d/*
- [ 20.217848] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
- [ 20.569284] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
- [ 23.626231] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
- [ 23.977680] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
- [ 25.212055] mtk_soc_eth 1e100000.ethernet: PPE started
- [ 25.230180] br-lan: port 1(eth0.1) entered blocking state
- [ 25.241125] br-lan: port 1(eth0.1) entered disabled state
- [ 25.253034] device eth0.1 entered promiscuous mode
- [ 25.262658] device eth0 entered promiscuous mode
- [ 25.275759] br-lan: port 1(eth0.1) entered blocking state
- [ 25.286614] br-lan: port 1(eth0.1) entered forwarding state
- [ 25.298340] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
- [ 26.227306] pppoe-WANUNICOM: renamed from ppp0
- [ 26.283310] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
- [ 27.001237] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
- [ 27.352670] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
- [ 28.859325] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
- [ 28.877354] br-lan: port 2(wlan1) entered blocking state
- [ 28.888125] br-lan: port 2(wlan1) entered disabled state
- [ 28.899697] device wlan1 entered promiscuous mode
- [ 30.376203] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
- [ 45.369214] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
- [ 45.382440] br-lan: port 2(wlan1) entered blocking state
- [ 45.393075] br-lan: port 2(wlan1) entered forwarding state
- [ 843.835398] mtk_soc_eth 1e100000.ethernet eth0: port 0 link down
复制代码
部分比较信息:
正常启动信息(另外一个编译,未打软重启补丁):
- Boot and Recovery Environment for Embedded Devices
- Copyright (C) 2018 HackPascal <hackpascal@gmail.com>
- Build date 2018-12-29 [git-135bed9]
- Version 1.1 (r1266)
- DRAM: 512MB
- Platform: MediaTek MT7621A ver 1, eco 3
- Board: GeHua GHL-R-001
- Clocks: CPU: 880MHz, DDR: 1066MHz, Bus: 293MHz, Ref: 40MHz
- Flash: Macronix MX25L25635E (32MB) 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-4.14.93
- Data Size: 1922015 Bytes
- Load Address: 80001000
- Entry Point: 80001000
- Uncompressing data (LZMA) ... done.
- Flushing cache ... done.
- Starting kernel at 0x80001000...
- [ 0.000000] Linux version 4.14.93 (wang@ArchLinux) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r8707+155-6abc14c017)) #0 SMP Mon Jan 21 08:18:06 2019
- [ 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 GeHua GHL-R-001
- [ 0.000000] Determined physical RAM map:
- [ 0.000000] memory: 1c000000 @ 00000000 (usable)
- [ 0.000000] memory: 04000000 @ 20000000 (usable)
- [ 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-0x000000000fffffff]
- [ 0.000000] HighMem [mem 0x0000000010000000-0x0000000023ffffff]
- [ 0.000000] Movable zone start for each node
- [ 0.000000] Early memory node ranges
- [ 0.000000] node 0: [mem 0x0000000000000000-0x000000001bffffff]
- [ 0.000000] node 0: [mem 0x0000000020000000-0x0000000023ffffff]
- [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000023ffffff]
- [ 0.000000] random: get_random_bytes called from start_kernel+0x90/0x4ac with crng_init=0
- [ 0.000000] percpu: Embedded 14 pages/cpu @81490000 s26192 r8192 d22960 u57344
- [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 130560
- [ 0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
- [ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
- [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
- [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
- [ 0.000000] Writing ErrCtl register=000594f1
- [ 0.000000] Readback ErrCtl register=000594f1
- [ 0.000000] Memory: 512884K/524288K available (4534K kernel code, 233K rwdata, 1008K rodata, 228K init, 248K bss, 11404K reserved, 0K cma-reserved, 262144K highmem)
- [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
- [ 0.000000] Hierarchical RCU implementation.
- [ 0.000000] NR_IRQS: 256
- [ 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.015511] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
- [ 0.087827] pid_max: default: 32768 minimum: 301
- [ 0.097150] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
- [ 0.110169] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
- [ 0.126017] Hierarchical SRCU implementation.
- [ 0.135505] smp: Bringing up secondary CPUs ...
- [ 1.204901] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
- [ 1.204910] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
- [ 1.204922] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
- [ 1.205064] CPU1 revision is: 0001992f (MIPS 1004Kc)
- [ 0.204867] Synchronize counters for CPU 1: done.
- [ 0.572890] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
- [ 0.572898] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
- [ 0.572906] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
- [ 0.572981] CPU2 revision is: 0001992f (MIPS 1004Kc)
- [ 0.325579] Synchronize counters for CPU 2: done.
- [ 0.692075] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
- [ 0.692083] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
- [ 0.692090] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
- [ 0.692189] CPU3 revision is: 0001992f (MIPS 1004Kc)
- [ 0.445146] Synchronize counters for CPU 3: done.
- [ 0.504752] smp: Brought up 1 node, 4 CPUs
- [ 0.516534] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
- [ 0.536009] futex hash table entries: 1024 (order: 3, 32768 bytes)
- [ 0.548466] pinctrl core: initialized pinctrl subsystem
- [ 0.560261] NET: Registered protocol family 16
- [ 0.579599] pull PCIe RST: RALINK_RSTCTRL = 0
- [ 0.888527] release PCIe RST: RALINK_RSTCTRL = 7000000
- [ 0.898593] ***** Xtal 40MHz *****
- [ 0.905326] release PCIe RST: RALINK_RSTCTRL = 7000000
- [ 0.915530] Port 0 N_FTS = 1b105000
- [ 0.922430] Port 1 N_FTS = 1b105000
- [ 0.929355] Port 2 N_FTS = 1b102800
- [ 2.087993] PCIE2 no card, disable it(RST&CLK)
- [ 2.096683] -> 21007f2
- [ 2.101504] PCIE0 enabled
- [ 2.106705] PCIE1 enabled
- [ 2.111888] PCI host bridge /pcie@1e140000 ranges:
- [ 2.121409] MEM 0x0000000060000000..0x000000006fffffff
- [ 2.131770] IO 0x000000001e160000..0x000000001e16ffff
- [ 2.142136] PCI coherence region base: 0xbfbf8000, mask/settings: 0x60000000
- [ 2.165599] mt7621_gpio 1e000600.gpio: registering 32 gpios
- [ 2.176936] mt7621_gpio 1e000600.gpio: registering 32 gpios
- [ 2.188136] mt7621_gpio 1e000600.gpio: registering 32 gpios
- [ 2.200848] PCI host bridge to bus 0000:00
- [ 2.208872] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
- [ 2.222532] pci_bus 0000:00: root bus resource [io 0xffffffff]
- [ 2.234274] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
- [ 2.247749] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
- [ 2.265717] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
- [ 2.278752] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
- [ 2.292561] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
- [ 2.305693] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
- [ 2.319523] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
- [ 2.332996] pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
- [ 2.346478] pci 0000:00:01.0: BAR 9: assigned [mem 0x60200000-0x602fffff pref]
- [ 2.360822] pci 0000:00:00.0: BAR 1: assigned [mem 0x60300000-0x6030ffff]
- [ 2.374299] pci 0000:00:01.0: BAR 1: assigned [mem 0x60310000-0x6031ffff]
- [ 2.387786] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff]
- [ 2.401260] pci 0000:00:00.0: PCI bridge to [bus 01]
- [ 2.411091] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff]
- [ 2.424598] pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit]
- [ 2.439111] pci 0000:02:00.0: BAR 6: assigned [mem 0x60200000-0x6020ffff pref]
- [ 2.453434] pci 0000:00:01.0: PCI bridge to [bus 02]
- [ 2.463277] pci 0000:00:01.0: bridge window [mem 0x60100000-0x601fffff]
- [ 2.476764] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff pref]
- [ 2.492574] clocksource: Switched to clocksource GIC
- [ 2.504173] NET: Registered protocol family 2
- [ 2.513438] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
- [ 2.527186] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
- [ 2.539965] TCP: Hash tables configured (established 2048 bind 2048)
- [ 2.552719] UDP hash table entries: 256 (order: 1, 8192 bytes)
- [ 2.564220] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
- [ 2.576875] NET: Registered protocol family 1
- [ 2.822515] 4 CPUs re-calibrate udelay(lpj = 2924544)
- [ 2.834086] Crashlog allocated RAM at address 0x3f00000
- [ 2.844833] workingset: timestamp_bits=30 max_order=17 bucket_order=0
- [ 2.864025] squashfs: version 4.0 (2009/01/31) Phillip Lougher
- [ 2.875569] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
- [ 2.883920] random: fast init done
- [ 2.899688] bounce: pool size: 64 pages
- [ 2.909269] io scheduler noop registered
- [ 2.916966] io scheduler deadline registered (default)
- [ 2.928363] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
- [ 2.942334] console [ttyS0] disabled
- [ 2.949407] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 18, base_baud = 3125000) is a 16550A
- [ 2.967327] console [ttyS0] enabled
- [ 2.967327] console [ttyS0] enabled
- [ 2.981113] bootconsole [early0] disabled
- [ 2.981113] bootconsole [early0] disabled
- [ 2.997809] 1e000e00.uartlite3: ttyS1 at MMIO 0x1e000e00 (irq = 19, base_baud = 3125000) is a 16550A
- [ 3.016695] cacheinfo: Unable to detect cache hierarchy for CPU 0
- [ 3.029566] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
- [ 3.043969] spi-mt7621 1e000b00.spi: sys_freq: 220000000
- [ 3.055631] m25p80 spi0.0: mx25l25635e (32768 Kbytes)
- [ 3.065795] 4 fixed-partitions partitions found on MTD device spi0.0
- [ 3.078449] Creating 4 MTD partitions on "spi0.0":
- [ 3.087998] 0x000000000000-0x000000030000 : "u-boot"
- [ 3.099067] 0x000000030000-0x000000040000 : "u-boot-env"
- [ 3.110787] 0x000000040000-0x000000050000 : "factory"
- [ 3.121964] 0x000000050000-0x000002000000 : "firmware"
- [ 3.133513] 2 uimage-fw partitions found on MTD device firmware
- [ 3.145362] Creating 2 MTD partitions on "firmware":
- [ 3.155268] 0x000000000000-0x0000001d541f : "kernel"
- [ 3.166138] 0x0000001d541f-0x000001fb0000 : "rootfs"
- [ 3.176919] mtd: device 5 (rootfs) set to be root filesystem
- [ 3.188356] 1 squashfs-split partitions found on MTD device rootfs
- [ 3.200685] 0x000000640000-0x000001fb0000 : "rootfs_data"
- [ 3.213244] libphy: Fixed MDIO Bus: probed
- [ 3.284574] libphy: mdio: probed
- [ 4.690636] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
- [ 4.703264] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21
- [ 4.722413] NET: Registered protocol family 10
- [ 4.732734] Segment Routing with IPv6
- [ 4.740105] NET: Registered protocol family 17
- [ 4.748993] 8021q: 802.1Q VLAN Support v1.8
- [ 4.760018] hctosys: unable to open rtc device (rtc0)
- [ 4.776320] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
- [ 4.790923] Freeing unused kernel memory: 228K
- [ 4.799798] This architecture does not have kernel memory protection.
- [ 5.294732] random: crng init done
- [ 5.607080] init: Console is alive
- [ 5.614133] init: - watchdog -
- [ 6.561193] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
- [ 8.116228] kmodloader: loading kernel modules from /etc/modules-boot.d/*
- [ 8.285261] usbcore: registered new interface driver usbfs
- [ 8.296371] usbcore: registered new interface driver hub
- [ 8.307138] usbcore: registered new device driver usb
- [ 8.345218] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
- [ 8.365402] SCSI subsystem initialized
- [ 8.376725] ehci-platform: EHCI generic platform driver
- [ 8.422988] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vbus not found, using dummy regulator
- [ 8.440282] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vusb33 not found, using dummy regulator
- [ 8.457993] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
- [ 8.468610] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
- [ 8.492725] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000210010
- [ 8.511053] xhci-mtk 1e1c0000.xhci: irq 20, io mem 0x1e1c0000
- [ 8.523565] hub 1-0:1.0: USB hub found
- [ 8.531108] hub 1-0:1.0: 2 ports detected
- [ 8.539773] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
- [ 8.550384] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
- [ 8.565309] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0 SuperSpeed
- [ 8.578337] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
- [ 8.595398] hub 2-0:1.0: USB hub found
- [ 8.602959] hub 2-0:1.0: 1 port detected
- [ 8.616625] usbcore: registered new interface driver usb-storage
- [ 8.628996] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
- [ 8.652914] init: - preinit -
- [ 9.703461] mtk_soc_eth 1e100000.ethernet: PPE started
- 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
- [ 12.928454] mount_root: loading kmods from internal overlay
- [ 12.971755] kmodloader: loading kernel modules from //etc/modules-boot.d/*
- [ 12.987713] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
- [ 13.281947] block: attempting to load /etc/config/fstab
- [ 13.292673] block: unable to load configuration (fstab: Entry not found)
- [ 13.306077] block: no usable configuration
- [ 13.315034] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
- [ 13.359565] urandom-seed: Seed file not found (/etc/urandom.seed)
- [ 13.443948] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
- [ 13.466276] procd: - early -
- [ 13.472114] procd: - watchdog -
- [ 14.152748] procd: - watchdog -
- [ 14.159315] procd: - ubus -
- [ 14.392507] procd: - init -
- Please press Enter to activate this console.
- [ 14.657630] kmodloader: loading kernel modules from /etc/modules.d/*
- [ 14.753594] FS-Cache: Loaded
- [ 14.760694] Key type dns_resolver registered
- [ 14.788801] RPC: Registered named UNIX socket transport module.
- [ 14.800642] RPC: Registered udp transport module.
- [ 14.810006] RPC: Registered tcp transport module.
- [ 14.819365] RPC: Registered tcp NFSv4.1 backchannel transport module.
- [ 14.840892] ntfs: driver 2.1.32 [Flags: R/O MODULE].
- [ 14.867636] loop: module loaded
- [ 14.911828] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
- [ 14.938574] NFS: Registering the id_resolver key type
- [ 14.948716] Key type id_resolver registered
- [ 14.957052] Key type id_legacy registered
- [ 14.970331] ip6_tables: (C) 2000-2006 Netfilter Core Team
- [ 14.991279] Netfilter messages via NETLINK v0.30.
- [ 15.003426] ip_set: protocol 6
- [ 15.045351] usbcore: registered new interface driver cdc_wdm
- [ 15.058384] Loading modules backported from Linux version v4.19.7-0-g61c68f2a2af0
- [ 15.073326] Backport generated by backports.git v4.19.7-1-0-g148b072d
- [ 15.089191] ip_tables: (C) 2000-2006 Netfilter Core Team
- [ 15.112495] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
- [ 15.127337] ctnetlink v0.93: registering with nfnetlink.
- [ 15.197004] usbcore: registered new interface driver ums-alauda
- [ 15.210562] usbcore: registered new interface driver ums-cypress
- [ 15.224835] usbcore: registered new interface driver ums-datafab
- [ 15.238480] usbcore: registered new interface driver ums-freecom
- [ 15.252258] usbcore: registered new interface driver ums-isd200
- [ 15.265898] usbcore: registered new interface driver ums-jumpshot
- [ 15.279867] usbcore: registered new interface driver ums-karma
- [ 15.293976] usbcore: registered new interface driver ums-sddr09
- [ 15.307694] usbcore: registered new interface driver ums-sddr55
- [ 15.321510] usbcore: registered new interface driver ums-usbat
- [ 15.336222] usbcore: registered new interface driver usblp
- [ 15.377226] xt_time: kernel timezone is -0000
- [ 15.445272] bus=0x1, slot = 0x0, irq=0xff
- [ 15.453421] PCI: Enabling device 0000:00:00.0 (0004 -> 0006)
- [ 15.464873] mt7603e 0000:01:00.0: ASIC revision: 76030010
- [ 15.484010] mt7603e 0000:01:00.0: Firmware Version: ap_pcie
- [ 15.495159] mt7603e 0000:01:00.0: Build Time: 20160107100755
- [ 15.542566] mt7603e 0000:01:00.0: firmware init done
- [ 15.730384] bus=0x2, slot = 0x1, irq=0xff
- [ 15.738476] PCI: Enabling device 0000:00:01.0 (0004 -> 0006)
- [ 15.750006] mt76x2e 0000:02:00.0: ASIC revision: 76120044
- [ 16.460183] mt76x2e 0000:02:00.0: ROM patch build: 20141115060606a
- [ 16.476207] mt76x2e 0000:02:00.0: Firmware Version: 0.0.00
- [ 16.487220] mt76x2e 0000:02:00.0: Build: 1
- [ 16.495382] mt76x2e 0000:02:00.0: Build Time: 201507311614____
- [ 16.522580] mt76x2e 0000:02:00.0: Firmware running!
- [ 16.544442] PPP generic driver version 2.4.2
- [ 16.555293] NET: Registered protocol family 24
- [ 16.567918] kmodloader: done loading kernel modules from /etc/modules.d/*
- [ 24.984274] mtk_soc_eth 1e100000.ethernet: PPE started
- [ 25.002126] br-lan: port 1(eth0.1) entered blocking state
- [ 25.013074] br-lan: port 1(eth0.1) entered disabled state
- [ 25.024621] device eth0.1 entered promiscuous mode
- [ 25.034270] device eth0 entered promiscuous mode
- [ 25.048048] br-lan: port 1(eth0.1) entered blocking state
- [ 25.058909] br-lan: port 1(eth0.1) entered forwarding state
- [ 25.070683] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
- [ 26.033645] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
- [ 26.386715] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
- [ 26.401195] jffs2_build_filesystem(): unlocking the mtd device...
- [ 26.401221] done.
- BusyBox v1.30.0 () built-in shell (ash)
- _______ ________ __
- | |.-----.-----.-----.| | | |.----.| |_
- | - || _ | -__| || | | || _|| _|
- |_______|| __|_____|__|__||________||__| |____|
- |__| W I R E L E S S F R E E D O M
- -----------------------------------------------------
- OpenWrt SNAPSHOT, r9108+5-bdd8318dd7
- -----------------------------------------------------
- === WARNING! =====================================
- There is no root password defined on this device!
- Use the "passwd" command to set up a new password
- in order to prevent unauthorized SSH logins.
- --------------------------------------------------
- root@OpenWrt:/#
复制代码
3. 总结
1) 歌华链的所有问题,猜测是FLASH的软件支持原因,出现各种奇怪问题。(不排除硬件设计有问题,如果用的没问题那是人品爆发,否则遇到奇怪问题也不要大惊小怪)
2) 顺利开启telnet后,立即备份rom, 并写入breed。
3) 如果上述两个步骤完成,还是变砖,接TTL应该能中断进入breed。
变砖的歌华链,接TTL有奇效~~(接TTL比吹FLASH简单多了)
接口为:GND---TX---RX 串口设置:设为57600, 8N1, NONE,NONE
【结束】
|