『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 484|回复: 5

[技术探讨] M1S变砖

[复制链接]

3

主题

71

帖子

410

积分

中级会员

Rank: 3Rank: 3

积分
410
金钱
339
HASS币
0
发表于 2024-2-4 22:08:35 | 显示全部楼层 |阅读模式
m1s 2021版,刷机后卡在一个地方,然后过一会儿自动重启,又卡到同一个地方,请教一下是什么问题呢?


-▒uart ok
strap pin:0x412b8ae2
enable spi-nand
ROM ver:v1.1, sig:455cc27, time:2016.01.04-18:42+0800, CPU(400 MHz), DDR2(533 MH                                                                                                                                                                             z)
load efuse ok
init IP ok
rom_progress: 0x0600006d
load_data_from_storage(260): 0xbfe01540, 0x00000000, 0xbfd16f44
load_data_from_spi_nand_flash(70): 0xbfe01540, 0x00000000, 0xbfe03e18
check_image_header(72): h(69,72,61,6d), s(69,72,61,6d)
img sig ok
rom_progress: 0x0c00006d
load_data_from_spi_nand_flash(81) 0x00000004 0x000024ba
load_data_from_spi_nand_flash(86): 0xbfe01d40, 0x00000001, 0xbfe03e18
load_data_from_spi_nand_flash(86): 0xbfe02540, 0x00000002, 0xbfe03e18
load_data_from_spi_nand_flash(86): 0xbfe02d40, 0x00000003, 0xbfe03e18
load_data_from_spi_nand_flash(86): 0xbfe03540, 0x00000004, 0xbfe03e18
load_data_from_spi_nand_flash(90) read done (size:9402)
chksum ok
rom_progress: 0x0e00006d
load img ok
rom_progress: 0x1000006d
jump 0xbfe01550

Booting...
SPI NAND clock not enable

SPI Nand ID=00efaa21
SPI Nand die chipsize=0x08000000 byte
SPI Nand dienum=1,
SPI Nand blocksize=0x00020000 byte,
SPI Nand pagesize=0x00000800 byte,
SPI Nand oobsize=0x00000040 byte,
[rtkn_scan_bbt, line 1812], RBA=51, this->RBA_PERCENT = 5,block_v2r_num=1024
[rtkn_scan_bbt, line 1822] block_v2r_num 00000400
[rtk_scan_v2r_bbt]:678,RBA=00000033,2=00000400,
[rtk_scan_v2r_bbt]:684,block_v2r_num=000003cd
INFO: Stored BBT in Die 0: block=8 , block_status_p1=0x000000bb
load bbt v2r table:0 page:512
[rtk_scan_v2r_bbt] have created v2r bbt table:0 on block 8, just loads it !!
check v2r bbt table:0 OK
[rtk_nand_scan_bbt, line 393] mem_page_num=1 bbt_page 704
INFO: Stored BBT in Die 0: block=11 , block_status_p1=0x000000bb
load bbt table:0 page:704
[rtk_nand_scan_bbt] have created bbt table:0 on block 11, just loads it !!
check bbt table:0 OK
[dump_BBT] Nand BBT Content
[0] (00000000, 000002c5, 00000000, 000003ff)
[1] (00000000, 0000038d, 00000000, 000003fe)
[2] (00000000, 000002d9, 00000000, 000003fd)
=>CPU Wake-up interrupt happen! GISR=89000084

---Realtek RTL8197F boot code at 2020.04.13-19:18+0800 v3.4T-pre2.1 (993MHz)
Info: Load boot_info success!
== RTL8197 Aqara Gateway bootloader ==
boot_info: ver:0
kernel: newest:0, curr:0
rootfs: newest:0, curr:0
kernel[0]: sum:0x012b, size:2101252, fail:0
      [1]: sum:0x00a6, size:2101252, fail:0
rootfs[0]: sum:0x2509, size:14385156, fail:0
      [1]: sum:0xfcda, size:15482884, fail:0
root_sum_check: off
watchdog_time: 0
boot_version: 1.0.0_0001
boot_magic: 0000917c
priv mode
Info: loading kernel 0 ...  Done
Info: checking kernel 0 ... Success
Info: select rootfs 0
cmdline:root=/dev/mtdblock5 console=ttyS0,38400
Info: booting...
Jump to image start=0x80a00000...
decompressing kernel:
Uncompressing Linux... done, booting the kernel.
done decompressing kernel.
start address: 0x804e2410
[    0.000000] Linux version 3.10.90 (luobo@embedded-compile20) (gcc version 4.9                                                                                                                                                                             .4 20151028 (prerelease) (Realtek MSDK-4.9.4p1 Build 2648) ) #1 Thu May 25 11:05                                                                                                                                                                             :12 CST 2023
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019385 (MIPS 24Kc)
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    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, PIPT, no aliases, linesize 32 byt                                                                                                                                                                             es
[    0.000000] Built 1 zonelists in Zone order, mobility grouping off.  Total pa                                                                                                                                                                             ges: 4088
[    0.000000] Kernel command line: root=/dev/mtdblock5 console=ttyS0,38400
[    0.000000] PID hash table entries: 256 (order: -4, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 1, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 0, 16384 bytes)
[    0.000000] Writing ErrCtl register=0000b27e
[    0.000000] Readback ErrCtl register=0000b27e
[    0.000000] Memory: 57808k/65536k available (5032k kernel code, 7728k reserve                                                                                                                                                                             d, 966k data, 208k init, 0k highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:192
[    0.000000] Realtek GPIO IRQ init
[    0.000000] Calibrating delay loop... 660.68 BogoMIPS (lpj=3303424)
[    0.070000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 2048
[    0.090000] NET: Registered protocol family 16
[    0.100000] <<<<<Register PCI Controller>>>>>
[    0.120000] Do MDIO_RESET
[    0.150000] 40MHz


回复

使用道具 举报

2

主题

26

帖子

179

积分

注册会员

Rank: 2

积分
179
金钱
153
HASS币
0
发表于 2024-2-5 10:23:38 | 显示全部楼层
你是用什么刷的?我之前用gw_global_tool.ttl也是和你一样的,后来换成aqaragateway刷机好了。我的是H1墙壁网关
回复

使用道具 举报

3

主题

71

帖子

410

积分

中级会员

Rank: 3Rank: 3

积分
410
金钱
339
HASS币
0
 楼主| 发表于 2024-2-5 11:14:02 | 显示全部楼层
gomee 发表于 2024-2-5 10:23
你是用什么刷的?我之前用gw_global_tool.ttl也是和你一样的,后来换成aqaragateway刷机好了。我的是H1墙壁 ...

https://github.com/niceboygithub/AqaraM1SM2fw,用的这里面的工具刷的,aqaragateway,刷的linux0t rooot0,刷新时也提示刷成功了,用putty看,启动就卡在这个地方,过一会儿又重新启动
回复

使用道具 举报

3

主题

71

帖子

410

积分

中级会员

Rank: 3Rank: 3

积分
410
金钱
339
HASS币
0
 楼主| 发表于 2024-2-5 11:19:42 | 显示全部楼层
gomee 发表于 2024-2-5 10:23
你是用什么刷的?我之前用gw_global_tool.ttl也是和你一样的,后来换成aqaragateway刷机好了。我的是H1墙壁 ...

你是刷了linux0和root0,还是只刷了一个?
回复

使用道具 举报

1

主题

6

帖子

82

积分

注册会员

Rank: 2

积分
82
金钱
76
HASS币
0
发表于 2024-3-25 20:57:34 | 显示全部楼层
我的也是这样,而且是突然就这样,之前刷过改版固件,重新配网的时候失败了就一直无法开机卡在这里 微信截图_20240325204524.png
回复

使用道具 举报

3

主题

71

帖子

410

积分

中级会员

Rank: 3Rank: 3

积分
410
金钱
339
HASS币
0
 楼主| 发表于 2024-3-26 21:23:29 | 显示全部楼层
和我的现象一模一样,你用手按着主芯片试试,看能不能进去,多半是这个螃蟹的主芯片脱焊,如果是,就用热风枪试试
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-4-28 06:19 , Processed in 0.056358 second(s), 30 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表