forum.gl-inet.cn

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
查看: 15670|回复: 4

[问题反馈] MT3000变砖u-boot恢复固件

[复制链接]

1

主题

6

帖子

47

积分

新手上路

Rank: 1

积分
47
 楼主| 发表于 2025-5-28 14:37:19 | 显示全部楼层 |阅读模式
本帖最后由 peterwillcn 于 2025-6-21 21:46 编辑

MT3000 刷了openwrt 官方snapshots 固件就无法启动,进 u-boot 刷回原厂固件恢复固件
==============================================
修复方法  mtd erase spi-nand0 0xfc00000 0x400000
即可修复无法刷入固件的问题
==============================================
Screenshot 2025-05-28 at 14.36.09.png


U-Boot 2022.07-rc3 (Nov 23 2022 - 11:02:05 +0800)

CPU:   MediaTek MT7981
Model: mt7981-rfb
DRAM:  512 MiB
Core:  28 devices, 15 uclasses, devicetree: embed

Initializing NMBM ...
spi-nand: spi_nand spi_nand@0: Macronix SPI NAND was found.
spi-nand: spi_nand spi_nand@0: 256 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
Could not find a valid device for nmbm0
Signature found at block 2047 [0x0ffe0000]
First info table with writecount 26 found in block 2016
Second info table with writecount 26 found in block 2019
No spare unmapped blocks. Device is now read-only
NMBM has been successfully attached

Loading Environment from MTD... Failure while reading at offset 0x100000
*** Warning - bad CRC, using default environment

In:    serial@11002000
Out:   serial@11002000
Err:   serial@11002000
Net:
Warning: ethernet@15100000 (eth0) using random MAC address - 8a:7c:74:b1:3c:fa
eth0: ethernet@15100000
gpio: pin 12 (gpio 12) value is 0
Enter "gl" to stop autoboot in 2 seconds

*** Upgrading Firmware ***

ethernet@15100000 Waiting for PHY auto negotiation to complete..... TIMEOUT !

*** TFTP client failure: -110 ***
*** Operation Aborted! ***
ubi0: attaching mtd7
ubi0 warning: ubi_io_read: error -30 while reading 64 bytes from PEB 0:0, read only 0 bytes, retry
ubi0 warning: ubi_io_read: error -30 while reading 64 bytes from PEB 0:0, read only 0 bytes, retry
ubi0 warning: ubi_io_read: error -30 while reading 64 bytes from PEB 0:0, read only 0 bytes, retry
ubi0 error: ubi_io_read: error -30 while reading 64 bytes from PEB 0:0, read 0 bytes
ubi0 error: ubi_attach_mtd_dev: failed to attach mtd7, error -30
UBI error: cannot attach mtd7
UBI error: cannot initialize UBI, error -30
*** Failed to attach UBI ***
*** Rebuilding UBI ***
Erasing from 0x0 to 0xf63ffff, size 0xf640000 ... Fail
----
T T T T T T T T T T T T T T T T POST /upload
    Content-Length: 15084118
T T T T GET /flashing.html
GET /index.js
GET /version
GET /result
GET /undefined
ubi0: attaching mtd7
ubi0 warning: ubi_io_read: error -30 while reading 64 bytes from PEB 0:0, read only 0 bytes, retry
ubi0 warning: ubi_io_read: error -30 while reading 64 bytes from PEB 0:0, read only 0 bytes, retry
ubi0 warning: ubi_io_read: error -30 while reading 64 bytes from PEB 0:0, read only 0 bytes, retry
ubi0 error: ubi_io_read: error -30 while reading 64 bytes from PEB 0:0, read 0 bytes
ubi0 error: ubi_attach_mtd_dev: failed to attach mtd7, error -30
UBI error: cannot attach mtd7
UBI error: cannot initialize UBI, error -30
*** Failed to attach UBI ***
*** Rebuilding UBI ***
Erasing from 0x0 to 0xf63ffff, size 0xf640000 ... Fail
*** Image not supported! ***
GET /fail.html
GET /style.css
GET /index.js
GET /version
MT7981> nmbm nmbm0 state
Physical blocks:

Legends:
  -     Good data block
  +     Good management block
  B     Bad block
  I     Main info table
  i     Backup info table
  M     Remapped spare block
  S     Signature block

    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    -----------------------------B----------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    --------------------------------I++i+MBBBBBBBBBBBBBBBBBBBBBBBBBS

Logical blocks:

Legends:
  -     Good block
  +     Initially remapped block
  M     Remapped block
  B     Bad/Unmapped block

    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    -----------------------------M----------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    --------------------------------












回复

使用道具 举报

0

主题

22

帖子

204

积分

中级会员

Rank: 3Rank: 3

积分
204
发表于 2025-5-28 20:02:18 | 显示全部楼层
在这之前 你都做了哪些操作呢 怎么会变砖呢?
悟空的小号
https://tvhelper.cpolar.cn
https://github.com/wukongdaily
回复

使用道具 举报

1

主题

6

帖子

47

积分

新手上路

Rank: 1

积分
47
 楼主| 发表于 2025-5-28 22:08:22 | 显示全部楼层
本帖最后由 peterwillcn 于 2025-5-29 10:29 编辑

  各位大佬,求如何重刷回原厂固件呢?
回复

使用道具 举报

1

主题

4

帖子

35

积分

新手上路

Rank: 1

积分
35
发表于 2025-5-30 19:38:46 | 显示全部楼层
我也出现了这种情况,是自己编译的固件。正在找解决方案
回复

使用道具 举报

0

主题

132

帖子

1154

积分

超级版主

Rank: 8Rank: 8

积分
1154
发表于 2025-6-5 18:28:39 | 显示全部楼层
uboot回原厂也会这样吗?https://dl.gl-inet.cn/router/mt3000/stable
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|gl-inet.cn ( 粤ICP备18130956号 )

GMT+8, 2026-1-30 16:19 , Processed in 0.023015 second(s), 26 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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