恩山无线论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
 迅雷TV版在当贝应用市场独家首发恩山
查看: 586|回复: 9

JCG-Q20 刷机变砖,ttl救砖无法进uboot

[复制链接]
发表于 2022-8-15 20:53 | 显示全部楼层 |阅读模式
ttl输入如下,好像是进入刷机固件的引导了。但是分区错误或者有坏块,导致读失败。也无法进入Upgrade bootloader


Automatic boot ofimage at addr 0x82000000 ...
## Booting kernelfrom Legacy Image at 82000000 ...
   Image Name:          JCG-Q20
   Image Type:  MIPS Linux Kernel Image (uncompressed)
   Data Size:   22317919 Bytes = 21.3 MiB
   Load Address: 80001000
   Entry Point: 8058b9a0
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

INUX started...
Linux version3.4.113 (root@lzy) (gcc version 7.4.0 (crosstool-NG 1.24.0) ) #2 SMP Sun Aug 1416:13:36 UTC 2022

MediaTek SoC:MT7621A, RevID: 0103, RAM: DDR3, XTAL: 40MHz
CPU/OCP/SYSfrequency: 880/293/220 MHz
prom memory:256MB
CPU revision is:0001992f (MIPS 1004Kc)
Determined physicalRAM map:
memory: 10000000 @ 00000000 (usable)
Zone PFN ranges:
  Normal  0x00000000 -> 0x00010000
Movable zone startPFN for each node
Early memory PFNranges
    0: 0x00000000 -> 0x00010000
Detected 3 availablesecondary CPU(s)
Primary instructioncache 32kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache32kB, 4-way, PIPT, no aliases, linesize 32 bytes
MIPS secondary cache256kB, 8-way, linesize 32 bytes.
PERCPU: Embedded 7pages/cpu @81203000 s5984 r8192 d14496 u32768
Built 1 zonelists inZone order, mobility grouping on.  Totalpages: 65024
Kernel command line:console=ttyS0,115200n8 root=/dev/mtdblock5 rootfstype=squashfs
PID hash tableentries: 1024 (order: 0, 4096 bytes)
Dentry cache hashtable entries: 32768 (order: 5, 131072 bytes)
Inode-cache hashtable entries: 16384 (order: 4, 65536 bytes)
Writing ErrCtlregister=00060022
Readback ErrCtlregister=00060022
Memory:248748k/262144k available (5730k kernel code, 13396k reserved, 4931k data, 212kinit, 0k highmem)
Hierarchical RCUimplementation.
NR_IRQS:72
MIPS GIC RevID: 3.0
Setting up vectoredinterrupts
console [ttyS0]enabled
Calibrating delayloop... 577.53 BogoMIPS (lpj=1155072)
pid_max: default:32768 minimum: 301
Mount-cache hashtable entries: 512
Primary instructioncache 32kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache32kB, 4-way, PIPT, no aliases, linesize 32 bytes
MIPS secondary cache256kB, 8-way, linesize 32 bytes.
CPU revision is:0001992f (MIPS 1004Kc)
Synchronize countersfor CPU 1: done.
Primary instructioncache 32kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache32kB, 4-way, PIPT, no aliases, linesize 32 bytes
MIPS secondary cache256kB, 8-way, linesize 32 bytes.
CPU revision is:0001992f (MIPS 1004Kc)
Synchronize countersfor CPU 2: done.
Primary instructioncache 32kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache32kB, 4-way, PIPT, no aliases, linesize 32 bytes
MIPS secondary cache256kB, 8-way, linesize 32 bytes.
CPU revision is:0001992f (MIPS 1004Kc)
Synchronize countersfor CPU 3: done.
Brought up 4 CPUs
NET: Registeredprotocol family 16
bio: create slab<bio-0> at 0
PCI host bridge tobus 0000:00
pci_bus 0000:00:root bus resource [mem 0x60000000-0x6fffffff]
pci_bus 0000:00:root bus resource [io 0x1e160000-0x1e16ffff]
pci 0000:00:00.0:bridge configuration invalid ([bus 00-00]), reconfiguring
pci 0000:00:01.0:bridge configuration invalid ([bus 00-00]), reconfiguring
pci 0000:00:00.0:BAR 0: can't assign mem (size 0x80000000)
pci 0000:00:01.0:BAR 0: can't assign mem (size 0x80000000)
pci 0000:00:00.0:BAR 9: assigned [mem 0x60000000-0x601fffff pref]
pci 0000:00:01.0:BAR 9: assigned [mem 0x60200000-0x603fffff pref]
pci 0000:01:00.0:BAR 0: assigned [mem 0x60000000-0x600fffff 64bit pref]
pci 0000:01:00.0:BAR 2: assigned [mem 0x60100000-0x60103fff 64bit pref]
pci 0000:01:00.0:BAR 4: assigned [mem 0x60104000-0x60104fff 64bit pref]
pci 0000:00:00.0CI bridge to [bus 01-01]
pci0000:00:00.0:   bridge window [mem0x60000000-0x601fffff pref]
pci 0000:02:00.0:BAR 0: assigned [mem 0x60200000-0x602fffff 64bit pref]
pci 0000:02:00.0:BAR 2: assigned [mem 0x60300000-0x60303fff 64bit pref]
pci 0000:02:00.0:BAR 4: assigned [mem 0x60304000-0x60304fff 64bit pref]
pci 0000:00:01.0CI bridge to [bus 02-02]
pci0000:00:01.0:   bridge window [mem0x60200000-0x603fffff pref]
PCI: Enabling device0000:00:00.0 (0000 -> 0002)
PCI: Enabling device0000:00:01.0 (0000 -> 0002)
Switching toclocksource MIPS
NET: Registeredprotocol family 2
IP route cache hashtable entries: 2048 (order: 1, 8192 bytes)
TCP established hashtable entries: 8192 (order: 4, 65536 bytes)
TCP bind hash tableentries: 8192 (order: 4, 65536 bytes)
TCP: Hash tablesconfigured (established 8192 bind 8192)
TCP: reno registered
UDP hash tableentries: 128 (order: 0, 4096 bytes)
NET: Registeredprotocol family 1
4 CPUs re-calibrateudelay (lpj = 1167360)
squashfs: version4.0 (2009/01/31) Phillip Lougher
msgmni has been setto 485
io scheduler noopregistered (default)
Serial: 8250/16550driver, 1 ports, IRQ sharing disabled
serial8250: ttyS0 atMMIO 0x1e000c00 (irq = 34) is a 16550A
Ralink GPIO driverinitialized. Number of GPIO: 64, GPIO mode: 000A05AC
loop: module loaded
MediaTek NAND driverinit, version v2.1
MTK NFI: NAND ID [98F1, 80 15 F2 16]
MTK NFI: NAND chipwith device ID 98f1 is not found in MTK table!
MTK NFI: try detectNAND chip from bootstrap mode (01)
NAND device:Manufacturer ID: 0x98, Chip ID: 0xf1 (Toshiba NAND 128MiB 3,3V 8-bit), 128MiB,page size: 2048, OOB size: 64
Scanning device forbad blocks
Bad eraseblock 768at 0x000006000000
Creating 11 MTDpartitions on "MT7621-NAND":
0x000000000000-0x000000080000: "Bootloader"
0x000000080000-0x000000100000: "CFG_Bdata"
0x000000100000-0x000000180000: "Factory"
0x000000180000-0x000000200000: "Reserved"
0x000000200000-0x0000e51f0010: "Kernel"
mtd: partition"Kernel" extends beyond the end of device "MT7621-NAND" --size truncated to 0x7d80000
0x000007f80000-0xffffffff2478fff0: "RootFS"
mtd: partition"RootFS" is out of reach -- disabled
0x000000000000-0x000000080000: "Config"
0x000000080000-0x000000480000: "Storage"
0x000000480000-0x000006580000: "RWFS"
0x000000200000-0x000001a00000: "Firmware_Stub"
0x000000000000-0x000007f80000: "ALL"
tun: UniversalTUN/TAP device driver, 1.6
tun: (C) 1999-2004Max Krasnyansky <maxk@qualcomm.com>
Ralink APSoCEthernet Driver v3.2.4 (raeth)
raeth: PDMA RX ring512, QDMA TX pool 1024. Max packet size 1536
raeth: NAPI &GRO support, weight 64
raeth: Byte QueueLimits (BQL) support
PPP generic driverversion 2.4.2
PPP MPPE Compressionmodule registered
NET: Registeredprotocol family 24
PPTP driver version0.8.5
register mt_drv
PCI: Enabling device0000:01:00.0 (0000 -> 0002)
<--mt7916_hif_init()
Rx[0] Ring: total24576 bytes allocated
Rx[1] Ring: total16384 bytes allocated
<--pci_alloc_tx_rx_ring_mem, Status=0
PCI: Enabling device0000:02:00.0 (0000 -> 0002)


=== pAd = c0301000,size = 11560896 ===

<--RTMPAllocAdapterBlock, Status=0
PCI CSRBaseAddress=0xc0200000, csr_addr=0xc0200000!
RTMPInitPCIeDevice():device_id=0x7915
mt7915_init()-->
Use the defaultiPAiLNA bin image!
<--mt7915_init()
RtmpOSFileOpen():Error 2 opening /etc_ro/Wireless/l1profile.dat
Rx[0] Ring: total24576 bytes allocated
Rx[1] Ring: total24576 bytes allocated
Rx[2] Ring: total8192 bytes allocated
Rx[3] Ring: total16384 bytes allocated
Rx[4] Ring: total8192 bytes allocated
<--pci_alloc_tx_rx_ring_mem, Status=0
nf_conntrack version0.5.0 (32768 buckets, 32768 max)
xt_time: kerneltimezone is -0000
Bridge firewallingregistered
gre: GRE over IPv4demultiplexor driver
ip_tables: (C)2000-2006 Netfilter Core Team
TCP: cubicregistered
NET: Registeredprotocol family 10
ip6_tables: (C)2000-2006 Netfilter Core Team
IPv6 over IPv4tunneling driver
NET: Registeredprotocol family 17
L2TP core driver,V2.0
PPPoL2TP kerneldriver, V2.0
8021q: 802.1Q VLANSupport v1.8
ASUS NVRAM, v0.08.Available space: 131072. Integrity: Signature FAILED!
end_request: I/Oerror, dev mtdblock5, sector 0
SQUASHFS error:squashfs_read_data failed to read block 0x0
SQUASHFS error:unable to read squashfs_super_block
VFS: Cannot openroot device "mtdblock5" or unknown-block(31,5): error -5
Please append acorrect "root=" boot option; here are the available partitions:
1f00             512 mtdblock0  (driver?)
1f01             512 mtdblock1  (driver?)
1f02             512 mtdblock2  (driver?)
1f03             512 mtdblock3  (driver?)
1f04          128512 mtdblock4  (driver?)
1f06             512 mtdblock6  (driver?)
1f07            4096 mtdblock7  (driver?)
1f08           99328 mtdblock8  (driver?)
1f09           24576 mtdblock9  (driver?)
1f0a          130560 mtdblock10  (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs onunknown-block(31,5)

我的恩山、我的无线 The best wifi forum is right here.
发表于 2022-8-15 21:43 | 显示全部楼层
看不懂,我两个救活了。没出现什么问题。。

点评

因为我之前刷进去的可以正常启动,所以默认是启动固件。需要最开始的时间,在未引导之前进入uboot,和电脑bios一样。现在可以正常进uboot了。  详情 回复 发表于 2022-8-15 22:18
我的恩山、我的无线 The best wifi forum is right here.
 楼主| 发表于 2022-8-15 22:18 | 显示全部楼层
zzlj 发表于 2022-8-15 21:43
看不懂,我两个救活了。没出现什么问题。。

因为我之前刷进去的可以正常启动,所以默认是启动固件。需要最开始的时间,在未引导之前进入uboot,和电脑bios一样。现在可以正常进uboot了。
我的恩山、我的无线 The best wifi forum is right here.
发表于 2022-8-15 22:39 | 显示全部楼层
0x000000200000-0x0000e51f0010: "Kernel"
mtd: partition"Kernel" extends beyond the end of device "MT7621-NAND" --size truncated to 0x7d80000
0x000007f80000-0xffffffff2478fff0: "RootFS"
这哪个智障写的分区表
我的恩山、我的无线 The best wifi forum is right here.
 楼主| 发表于 2022-8-16 15:16 | 显示全部楼层
折腾快一天了,总算是搞好了。一开始直接从原厂升级padavan固件的,用的是我自编译的固件,导致无法启动。自编译固件来自hanwckf,仅增加部分插件,没有改动代码,不知道怎么导致了分区表有问题。后续我又编译了几次,还是存在问题无法启动。现在用的固件是keke1023编译的。可以正常使用。如果需要用scutclient,只修改trunk/configs/templates下的文件该不够,在编译脚本里默认关闭了scutclient等插件,需要去注释一下。
另外还踩了几个坑,一个是进uboot时间很短,如果没有操作会从默认系统引导,我是路由器通电后,插上ttl,大概4-5s左右打开串口serial,然后疯狂按上下键,避免进入默认系统。就和电脑进bios一样。
还有一个坑是有些winpe里用tftp是不成功的,这个卡了我好几个小时。因为我笔记本没有网口,只有一台旧的无系统的笔记本有网口可以用,一开始以为用pe就可以了,反复尝试了几十次一直不行。最后逼得我用u盘装了一个完整的wintogo,一次就成功了。
还有一件事,这个路由器的底部螺丝也太深了,没有一把螺丝刀可以伸进去,还是找一把螺丝刀把把手磨细了才成功的。




我的恩山、我的无线 The best wifi forum is right here.
发表于 2022-8-18 23:01 | 显示全部楼层
看的怕怕,不敢刷

点评

找别人测试过没问题的固件刷一般不会有事,我是自己编译固件没改分区信息。最起码拆机ttl刷也能救。  详情 回复 发表于 2022-8-19 13:54
我的恩山、我的无线 The best wifi forum is right here.
 楼主| 发表于 2022-8-19 13:54 | 显示全部楼层
ShengX87 发表于 2022-8-18 23:01
看的怕怕,不敢刷

找别人测试过没问题的固件刷一般不会有事,我是自己编译固件没改分区信息。最起码拆机ttl刷也能救。

点评

太多坑,openwrt官方好像也支持的  详情 回复 发表于 2022-8-19 22:44
我的恩山、我的无线 The best wifi forum is right here.
发表于 2022-8-19 22:44 | 显示全部楼层
scutlzy 发表于 2022-8-19 13:54
找别人测试过没问题的固件刷一般不会有事,我是自己编译固件没改分区信息。最起码拆机ttl刷也能救。

太多坑,openwrt官方好像也支持的
我的恩山、我的无线 The best wifi forum is right here.
发表于 2022-9-2 11:28 | 显示全部楼层
AC88U  dd-wrt固件   ttl 和你一样进不去  咋搞
屏幕截图 2022-09-02 111853.png
屏幕截图 2022-09-02 111829.png
屏幕截图 2022-09-02 111654.png
我的恩山、我的无线 The best wifi forum is right here.
发表于 2022-9-23 12:04 来自手机 | 显示全部楼层
楼主,一样救救,昨晚也是一样的问题,同scuter
我的恩山、我的无线 The best wifi forum is right here.
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )|网站地图

GMT+8, 2022-9-27 16:27

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

| 江苏省互联网有害信息举报中心 举报信箱:js12377@jschina.com.cn 举报电话:025-88802724 | 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797
快速回复 返回顶部 返回列表