sky272664 发表于 2024-3-12 21:37

红米AC2100救砖TTL输出信息报错无法完成启动有没有大佬看一下?

刷了假梅林固件,刷入时用的时uboot方式,后面发现这个梅林固件信号不好,想刷回官方,就在uboot里刷入了breed,问题就出现在这,我居然在breed刷了官方的bootloader-redmi-ac2100.bin,重启后发现梅林系统还在,但是想刷回第三方breed已经不行了,一顿操作猛如虎,又是在梅林系统里上传openwrt 底包刷不进,各种包都升级不了,最后整到梅林系统也无法进入了,现在开机就橙灯常亮,捅菊花橙灯闪,试过用官方恢复工具没用,卡在最后一步,关防火墙这些都试过了,最终买了CH341A土豪金,就有了下面的启动报错。。






===================================================================

                   MT7621   stage1 code Nov5 2019 00:23:11 (ASIC)

                   CPU=50000000 HZ BUS=16666666 HZ

==================================================================

RALINK_GPIOMODE = ad428

GPIO0~31 DIR = 40

GPIO0~31 DATA = fff41517

Set gpio_4,3 direction to input

Set gpio_10,6 direction to output

GPIO0~31 DIR = 440

GPIO0~31 DATA = fff41517

Set gpio_6 output value to 0

Set gpio_10 output value to 1

GPIO0~31 DATA = fff41517

Change MPLL source from XTAL to CR...

do MEMPLL setting..

MEMPLL Config : 0x11100000

3PLL mode + External loopback

=== XTAL-40Mhz ===dram_speed=:1200

=== DDR-1200Mhz ===

PLL3 FB_DL: 0xf, 1/0 = 572/452 3D000000

PLL4 FB_DL: 0xf, 1/0 = 547/477 3D000000

PLL2 FB_DL: 0x12, 1/0 = 659/365 49000000

do DDR setting..

Apply DDR3 Setting...(use customer AC)

          0    8   16   24   32   40   48   56   64   72   80   88   96104112120

      --------------------------------------------------------------------------------

0000:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0001:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0002:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0003:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0004:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0005:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0006:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0007:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0008:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0009:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

000A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

000B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

000C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

000D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

000E:|    0    0    0    0    0    0    0    0    0    0    1    1    1    1    1    1

000F:|    0    0    0    0    1    1    1    1    1    1    1    1    1    1    1    0

0010:|    1    1    1    1    1    1    1    1    1    0    0    0    0    0    0    0

0011:|    1    1    1    1    0    0    0    0    0    0    0    0    0    0    0    0

0012:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0013:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0014:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0015:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0016:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0017:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0018:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

0019:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

001A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

001B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

001C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

001D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

001E:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

001F:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0

DRAMC_DQSCTL1=13000000

DRAMC_DQSGCTL=80000033

rank 0 coarse = 15

rank 0 fine = 72

B:|    0    0    0    0    0    0    0    0    0    0    1    1    1    0    0    0

opt_dle value:11

DRAMC_DDR2CTL=C287223D

DRAMC_PADCTL4=000022B3

DRAMC_DQIDLY1=0909090A

DRAMC_DQIDLY2=090A0906

DRAMC_DQIDLY3=0A090905

DRAMC_DQIDLY4=09070C07

DRAMC_R0DELDLY=00002121

==================================================================

                RX        DQS perbit delay software calibration

==================================================================

1.0-15 bit dq delay value

==================================================================

bit|   0123456789

--------------------------------------

0 |    8 9 9 9 5 8 6 6 3 6

10 |    7 8 7 9 7 7

--------------------------------------



==================================================================

2.dqs window

x=pass dqs delay value (min~max)center

y=0-7bit DQ of every group

input delay:DQS0 =33 DQS1 = 33

==================================================================

bit        DQS0       bit      DQS1

0(1~62)318(1~61)31

1(1~65)339(1~60)30

2(2~65)3310(1~62)31

3(1~65)3311(1~62)31

4(1~64)3212(1~66)33

5(1~63)3213(1~60)30

6(0~58)2914(1~65)33

7(1~60)3015(1~62)31

==================================================================

3.dq delay value last

==================================================================

bit|    012345678   9

--------------------------------------

0 |    10 9 9 9 6 9 10 9 5 9

10 |    9 10 7 12 7 9

==================================================================

==================================================================

   TXperbyte calibration

==================================================================

DQS loop = 15, cmp_err_1 = ffff0000

dqs_perbyte_dly.last_dqsdly_pass=15,finish count=1

dqs_perbyte_dly.last_dqsdly_pass=15,finish count=2

DQ loop=15, cmp_err_1 = ffff0000

dqs_perbyte_dly.last_dqdly_pass=15,finish count=1

dqs_perbyte_dly.last_dqdly_pass=15,finish count=2

byte:0, (DQS,DQ)=(8,8)

byte:1, (DQS,DQ)=(8,8)

DRAMC_DQODLY1=88888888

DRAMC_DQODLY2=88888888

20,data:88

DRAMC calibration passed




===================================================================

                   MT7621   stage1 code done

                   CPU=50000000 HZ BUS=16666666 HZ

===================================================================



U-Boot 1.1.3 (Dec 26 2019 - 08:42:20)


Board: Ralink APSoC DRAM:128 MB

Power on memory test. Memory size= 128 MB...OK!

relocate_code Pointer at: 87fa4000


Config XHCI 40M PLL

Allocate 16 byte aligned buffer: 87fe0130

Enable NFI Clock

# MTK NAND # : Use HW ECC

NAND ID

Device found in MTK table, ID: 98f1, EXT_ID: 8015f2

Support this Device in MTK table! 98f1

select_chip

select ecc bit:4, sparesize :64 spare_per_sector=16

Signature matched and data read!

load_fact_bbt success 1023

load fact bbt success

probe successfully!

mtd->writesize=2048 mtd->oobsize=64,        mtd->erasesize=131072devinfo.iowidth=8

..============================================

Ralink UBoot Version: 5.0.0.0

--------------------------------------------

ASIC MT7621A DualCore (MAC to MT7530 Mode)

DRAM_CONF_FROM: Auto-Detection

DRAM_TYPE: DDR3

DRAM bus: 16 bit

Xtal Mode=3 OCP Ratio=1/3

Flash component: NAND Flash

Date:Dec 26 2019Time:08:42:20

============================================

icache: sets:256, ways:4, linesz:32 ,total:32768

dcache: sets:256, ways:4, linesz:32 ,total:32768


##### The CPU freq = 880 MHZ ####

estimate memory size =128 Mbytes

#Reset_MT7530

set LAN/WAN WLLLL


Please choose the operation:

   1: Load system code to SDRAM via TFTP.

   2: Load system code then write to Flash via TFTP.

   3: Boot system code via Flash (default).

   4: Entr boot command line interface.

   7: Load Boot Loader code then write to Flash via Serial.

   9: Load Boot Loader code then write to Flash via TFTP.



You choosed 3


 0

Booting System 2

..ranand_erase: start:80000, len:20000

..Done!

done



3: System Boot system code via Flash.

## Booting image at bc600000 ...

   Image Name:   

   Image Type:   MIPS Linux Kernel Image (lzma compressed)

   Data Size:    13954968 Bytes = 13.3 MB

   Load Address: 80001000

   Entry Point:803a6300

.....................................................................................................................................................................................................................   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

commandline uart_en=0 factory_mode=0

No initrd

## Transferring control to Linux (at address 803a6300) ...

## Giving linux memsize in MB, 128


Starting kernel ...



LINUX started...

THIS IS ASIC

SDK 5.0.S.0
Linux version 3.10.14 (root@ubuntu) (gcc version 4.6.3 (Buildroot 2012.11.1) ) #5 SMP Tue Nov 16 11:20:09 CET 2021

The CPU feqenuce set to 880 MHz
GCMP present
CPU0 revision is: 0001992f (MIPS 1004Kc)
Software DMA cache coherency
Determined physical RAM map:
memory: 08000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone ranges:
Normal   
Movable zone start for each node
Early memory node ranges
node   0:
Detected 3 available secondary CPU(s)
Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
PERCPU: Embedded 7 pages/cpu @81103000 s6848 r8192 d13632 u32768
Built 1 zonelists in Zone order, mobility grouping on.Total pages: 32512
Kernel command line: console=ttyS1,115200n8 root=/dev/mtdblock5 rootfstype=squashfs noinitrd
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Writing ErrCtl register=000183f3
Readback ErrCtl register=000183f3
Memory: 124560k/131072k available (3771k kernel code, 6512k reserved, 1033k data, 244k init, 0k highmem)
Hierarchical RCU implementation.
NR_IRQS:128
console enabled
Calibrating delay loop... 577.53 BogoMIPS (lpj=1155072)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
launch: starting cpu1
launch: cpu1 gone!
CPU1 revision is: 0001992f (MIPS 1004Kc)
Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
Synchronize counters for CPU 1: done.
launch: starting cpu2
launch: cpu2 gone!
CPU2 revision is: 0001992f (MIPS 1004Kc)
Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
Synchronize counters for CPU 2: done.
launch: starting cpu3
launch: cpu3 gone!
CPU3 revision is: 0001992f (MIPS 1004Kc)
Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes.
Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
Synchronize counters for CPU 3: done.
Brought up 4 CPUs
NET: Registered protocol family 16
release PCIe RST: RALINK_RSTCTRL = 7000000
PCIE PHY initialize
***** Xtal 40MHz *****
start MT7621 PCIe register access
RALINK_RSTCTRL = 7000000
RALINK_CLKCFG1 = 73ffeff8

*************** MT7621 PCIe RC mode *************
pcie_link status = 0x3
RALINK_RSTCTRL= 7000000
*** Configure Device number setting of Virtual PCI-PCI bridge ***
RALINK_PCI_PCICFG_ADDR = 21007f2 -> 21007f2
PCIE0 enabled
PCIE1 enabled
interrupt enable status: 300000
Port 1 N_FTS = 1b105000
Port 0 N_FTS = 1b105000
config reg done
init_rt2880pci done
bio: create slab <bio-0> at 0
vgaarb: loaded
SCSI subsystem initialized
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource
pci_bus 0000:00: root bus resource
pci_bus 0000:00: No busn resource found for root bus, will use
pci 0000:00:00.0: bridge configuration invalid (), reconfiguring
pci 0000:00:01.0: bridge configuration invalid (), 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 8: assigned
pci 0000:00:01.0: BAR 8: assigned
pci 0000:00:00.0: BAR 1: assigned
pci 0000:00:01.0: BAR 1: assigned
pci 0000:01:00.0: BAR 0: assigned
pci 0000:00:00.0: PCI bridge to
pci 0000:00:00.0:   bridge window
pci 0000:02:00.0: BAR 0: assigned
pci 0000:00:01.0: PCI bridge to
pci 0000:00:01.0:   bridge window
PCI: Enabling device 0000:00:00.0 (0004 -> 0006)
PCI: Enabling device 0000:00:01.0 (0004 -> 0006)
BAR0 at slot 0 = 0
bus=0x0, slot = 0x0
res->start = 0
res->end = 0
res->start = 60200000
res->end = 6020ffff
res->start = 0
res->end = 0
res->start = 0
res->end = 0
res->start = 0
res->end = 0
res->start = 0
res->end = 0
BAR0 at slot 1 = 0
bus=0x0, slot = 0x1
res->start = 0
res->end = 0
res->start = 60210000
res->end = 6021ffff
res->start = 0
res->end = 0
res->start = 0
res->end = 0
res->start = 0
res->end = 0
res->start = 0
res->end = 0
bus=0x1, slot = 0x0, irq=0x4
res->start = 60000000
res->end = 600fffff
res->start = 0
res->end = 0
res->start = 0
res->end = 0
res->start = 0
res->end = 0
res->start = 0
res->end = 0
res->start = 0
res->end = 0
bus=0x2, slot = 0x1, irq=0x18
res->start = 60100000
res->end = 601fffff
res->start = 0
res->end = 0
res->start = 0
res->end = 0
res->start = 0
res->end = 0
res->start = 0
res->end = 0
res->start = 0
res->end = 0
Switching to clocksource MIPS
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP: reno registered
UDP hash table entries: 256 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
NET: Registered protocol family 1
4 CPUs re-calibrate udelay(lpj = 1167360)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
jffs2: version 2.2. (NAND) (ZLIB) (RTIME) (c) 2001-2006 Red Hat, Inc.
msgmni has been set to 243
alg: No test for stdrng (krng)
io scheduler noop registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x1e000d00 (irq = 27) is a 16550A
serial8250: ttyS1 at MMIO 0x1e000c00 (irq = 26) is a 16550A
Ralink gpio driver initialized
brd: module loaded
loop: module loaded
MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
Allocate 16 byte aligned buffer: 805019c0
Enable NFI Clock
# MTK NAND # : Use HW ECC
NAND ID
Device not found, ID: 98f1
Not Support this Device!

chip_mode=00000001
Support this Device in MTK table! 98f1

NAND device: Manufacturer ID: 0x98, Chip ID: 0xf1 (Toshiba NAND 128MiB 3,3V 8-bit), 128MiB, page size: 2048, OOB size: 64
select ecc bit:4, sparesize :64 spare_per_sector=16
Scanning device for bad blocks
Bad eraseblock 14 at 0x0000001c0000
Bad eraseblock 15 at 0x0000001e0000
Bad eraseblock 768 at 0x000006000000
Signature matched and data read!
load_fact_bbt success 1023
00 00 00 f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Line = 4973!
Line = 5731!
Line = 5737!
Line = 5742!
Line = 5744!
Line = 5747!
Line = 5762!
Line = 5769!
Line = 5782!
Line = 5784!
Line = 5791!
Line = 5800!
start find root file system!
Line = 5003hw2->major = 7e!
Line = 5006!
Line = 5003hw2->major = 4d!
Line = 5006!
Line = 5003hw2->major = fc!
Line = 5006!
Line = 5003hw2->major = 7f!
Line = 5006!
Line = 5003hw2->major = 7b!
Line = 5006!
Line = 5003hw2->major = 77!
Line = 5006!
Line = 5003hw2->major = a9!
Line = 5009!
Line = 5014!
Line = 5016 rfs_offset = 001AA8C0!
Line = 5003hw2->major = c0!
Line = 5006!
Line = 5020!
Line = 5026!
Line = 5032!
partition 4: 600000 3200000
partition 5: 7aa8c0 3055740
end find root file system!
Creating 8 MTD partitions on "MT7621-NAND":
0x000000000000-0x000000100000 : "Bootloader"
0x0000001e0000-0x000000200000 : "nvram"
Bad block detected at 0x3c0, oob_buf is 0x0
0x000000100000-0x000000120000 : "Factory"
0x000000120000-0x000000140000 : "Factory2"
0x000000600000-0x000003800000 : "linux"
0x0000007aa8c0-0x000003800000 : "RootFS"
0x000003800000-0x000006000000 : "jffs2"
0x000000000000-0x000007f80000 : "ALL"
Bad block detected at 0x380, oob_buf is 0x0
Bad block detected at 0x3c0, oob_buf is 0x0
Bad block detected at 0xc000, oob_buf is 0x0
probe successfully!
IMQ driver loaded successfully. (numdevs = 2, numqueues = 1)
        Hooking IMQ after NAT on PREROUTING.
        Hooking IMQ before NAT on POSTROUTING.
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
p p t p driver version 0.8.5
rdm_major = 253
GMAC1_MAC_ADRH -- : 0x00003ccd
GMAC1_MAC_ADRL -- : 0x577b6a23
Ralink APSoC Ethernet Driver Initilization. v3.11024 rx/tx descriptors allocated, mtu = 1500!
GMAC1_MAC_ADRH -- : 0x00003ccd
GMAC1_MAC_ADRL -- : 0x577b6a23
PROC INIT OK!
u32 classifier
    Performance counters on
nf_conntrack version 0.5.0 (1946 buckets, 7784 max)
xt_time: kernel timezone is -0000
gre: GRE over IPv4 demultiplexor driver
ip_tables: (C) 2000-2006 Netfilter Core Team
Type=Linux
arp_tables: (C) 2002 David S. Miller
TCP: cubic registered
NET: Registered protocol family 10
i

串口最终报错:

No filesystem could mount root, tried:squashfs
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,5)





sky272664 发表于 2024-3-12 21:39

大家帮忙看看还有没有救

lgx7091709 发表于 2024-3-12 22:09

这个路由器最好救砖了,拆芯片,全片擦除,直接烧breed进去开机,至于mac这类,自己解决

1562004423 发表于 2024-3-12 22:10

别慌还有救,看日志uboot能进,问题不大

航校门口二楼修 发表于 2024-3-12 22:33

官方救砖工具试试

corecool 发表于 2024-3-13 18:27

你把闪存拆下写个固件不就好了
页: [1]
查看完整版本: 红米AC2100救砖TTL输出信息报错无法完成启动有没有大佬看一下?