找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
楼主: zhouruixi

关于WNDR3700V4/4300V1使用128M空间固件后刷回原厂开机巨慢的解决办法

  [复制链接]
 楼主| 发表于 2017-8-7 12:16 | 显示全部楼层
cooles 发表于 2017-8-7 12:05
root@LEDE:~# mtd erase /dev/mtd12
Could not open mtd device: /dev/mtd12
Could not open mtd device: ...

没有成功,你没有把数据写入mtd11 ,可以尝试备份mtd2后用nandwrite写入mtd11

点评

请问能否不编译固件实现扩容?编译好麻烦学 linux思路,比如插个U盘,然后 mount,dd,fdisk,mkdir之类的,腾挪一下数据重新分区?我不懂nand啊,请教一下。  详情 回复 发表于 2018-1-8 13:14
目录中没有 mtd12 教程命令中是mtd2还是mtd12?  详情 回复 发表于 2017-8-7 13:15
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-8-7 13:15 | 显示全部楼层
zhouruixi 发表于 2017-8-7 12:16
没有成功,你没有把数据写入mtd11 ,可以尝试备份mtd2后用nandwrite写入mtd11

目录中没有 mtd12

教程命令中是mtd2还是mtd12?

点评

你要先刷回官方的 lede才有,完全使用128m的固件没有mtd12  详情 回复 发表于 2017-8-7 17:04
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2017-8-7 17:04 | 显示全部楼层
cooles 发表于 2017-8-7 13:15
目录中没有 mtd12

教程命令中是mtd2还是mtd12?

你要先刷回官方的 lede才有,完全使用128m的固件没有mtd12

点评

BusyBox v1.25.1 () built-in shell (ash) _________ / /\ _ ___ ___ ___ / LE / \ | | | __| \| __| / DE / \ | |__| _|| |) | _| /________/ LE \  详情 回复 发表于 2017-8-7 19:04
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-8-7 19:04 | 显示全部楼层
本帖最后由 cooles 于 2017-8-7 19:06 编辑
zhouruixi 发表于 2017-8-7 17:04
你要先刷回官方的 lede才有,完全使用128m的固件没有mtd12


BusyBox v1.25.1 () built-in shell (ash)

     _________
    /        /\      _    ___ ___  ___
   /  LE    /  \    | |  | __|   \| __|
  /    DE  /    \   | |__| _|| |) | _|
/________/  LE  \  |____|___|___/|___|                      lede-project.org
\        \   DE /
  \    LE  \    /  -----------------------------------------------------------
   \  DE    \  /    Reboot (17.01.0, r3205-59508e3)
    \________\/    -----------------------------------------------------------

=== 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@LEDE:~# mtd erase /dev/mtd12
Could not open mtd device: /dev/mtd12
Could not open mtd device: /dev/mtd12
root@LEDE:~# mtd erase /dev/mtd11
Unlocking /dev/mtd11 ...
Erasing /dev/mtd11 ...
root@LEDE:~# dd if=/dev/mtd2 of=/dev/mtd11
dd: writing '/dev/mtd11': Invalid argument
1+0 records in
0+0 records out
root@LEDE:~# sync && reboot
root@LEDE:~#


直接在lede官网下了17.01.0, r3205-59508e3,还是如此。。。。。。

点评

机器不在我身边,没法看,别那么死板,换个官方的openwrt试试,看看/proc/mtd的和/proc/partation信息,结合原理试着弄就行了(千万别把bl和art搞没了)  详情 回复 发表于 2017-8-8 10:47
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2017-8-8 10:47 | 显示全部楼层
本帖最后由 zhouruixi 于 2017-8-8 10:48 编辑
cooles 发表于 2017-8-7 19:04
BusyBox v1.25.1 () built-in shell (ash)

     _________

我重新看了下分区信息,确实写错了,已更正。sorry

点评

BusyBox v1.25.1 () built-in shell (ash) _________ / /\ _ ___ ___ ___ / LE / \ | | | __| \| __| / DE / \ | |__| _|| |) | _| /________/ LE \  详情 回复 发表于 2017-8-8 16:23
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-8-8 16:23 | 显示全部楼层
zhouruixi 发表于 2017-8-8 10:47
我重新看了下分区信息,确实写错了,已更正。sorry

BusyBox v1.25.1 () built-in shell (ash)

     _________
    /        /\      _    ___ ___  ___
   /  LE    /  \    | |  | __|   \| __|
  /    DE  /    \   | |__| _|| |) | _|
/________/  LE  \  |____|___|___/|___|                      lede-project.org
\        \   DE /
  \    LE  \    /  -----------------------------------------------------------
   \  DE    \  /    Reboot (17.01.2, r3435-65eec8bd5f)
    \________\/    -----------------------------------------------------------

root@LEDE:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00040000 00020000 "u-boot"
mtd1: 00040000 00020000 "u-boot-env"
mtd2: 00040000 00020000 "caldata"
mtd3: 00080000 00020000 "pot"
mtd4: 00200000 00020000 "language"
mtd5: 00080000 00020000 "config"
mtd6: 00300000 00020000 "traffic_meter"
mtd7: 00200000 00020000 "kernel"
mtd8: 01700000 00020000 "ubi"
mtd9: 01900000 00020000 "firmware"
mtd10: 00040000 00020000 "caldata_backup"
mtd11: 06000000 00020000 "reserved"
root@LEDE:~# mtd erase /dev/mtd11
Unlocking /dev/mtd11 ...
Erasing /dev/mtd11 ...
root@LEDE:~# mtd erase /dev/mtd10
Unlocking /dev/mtd10 ...
Erasing /dev/mtd10 ...
root@LEDE:~# dd if=/dev/mtd2 of=/dev/mtd10
dd: writing '/dev/mtd10': Invalid argument
1+0 records in
0+0 records out
root@LEDE:~# sync && reboot
root@LEDE:~#

这样ok了吧,纯小白,见笑了。。。

点评

没有,dd: writing '/dev/mtd10': Invalid argument 写入没有成功,你可以尝试下 dd if=/dev/mtd2 of=/tmp/mtd2 nandwrite -p /dev/mtd10 /tmp/mtd2 由于当时具体测试的细节忘了········加上我暂时  详情 回复 发表于 2017-8-8 19:23
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2017-8-8 19:23 | 显示全部楼层
cooles 发表于 2017-8-8 16:23
BusyBox v1.25.1 () built-in shell (ash)

     _________

没有,dd: writing '/dev/mtd10': Invalid argument

写入没有成功,你可以尝试下
dd if=/dev/mtd2 of=/tmp/mtd2
nandwrite -p /dev/mtd10 /tmp/mtd2

由于当时具体测试的细节忘了········加上我暂时没法测试,所以。。。

点评

谢谢你,有机会,再完善下子,我先不折腾了,吉祥如意!  详情 回复 发表于 2017-8-10 15:14
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-8-9 10:05 | 显示全部楼层
xian没有成功,你没有把数据写入mtd11 ,可以尝试备份mtd2后用nandwrite写入mtd11  
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-8-10 11:04 | 显示全部楼层
可以试试,谢谢分享
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-8-10 15:14 | 显示全部楼层
zhouruixi 发表于 2017-8-8 19:23
没有,dd: writing '/dev/mtd10': Invalid argument

写入没有成功,你可以尝试下

谢谢你,有机会,再完善下子,我先不折腾了,吉祥如意!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-8-11 12:34 | 显示全部楼层
怎么弄,下面那一大堆也要写进去吗
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-8-11 22:16 | 显示全部楼层
本帖最后由 缥缈的孤鸿 于 2017-8-11 22:32 编辑

刚才亲测,刷这个固件:lede-17.01.2-ar71xx-nand-wndr4300-ubi-factory.img
命令如下:
opkg update
opkg install nand-utils
mtd erase /dev/mtd11
mtd erase /dev/mtd10
dd if=/dev/mtd2 of=/tmp/mtd2
nandwrite -p /dev/mtd10 /tmp/mtd2
sync && reboot




然后捅菊花 tftp -i 192.168.1.1 put "E:\下载\路由器\WNDR4300\WNDR4300-V1.0.1.64PRRU.img"
进官方固件还是挺慢的呀,从通电开始计时,ping 192.168.1.1 -t,等待1分11秒后,能ping通,但是打不开web界面,再过20秒可以打开web页面。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×

点评

官方固件好像就这速度吧?我隐约记得40多秒? 如果不做处理,开机就不止一两分钟的事了。。。  详情 回复 发表于 2017-8-12 22:02
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-8-12 10:02 | 显示全部楼层
老大按照你以前的教程写的这样是成功了吗!
还有lede的cat后门要空格  
root@LEDE:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00040000 00020000 "u-boot"
mtd1: 00040000 00020000 "u-boot-env"
mtd2: 00040000 00020000 "caldata"
mtd3: 00080000 00020000 "pot"
mtd4: 00200000 00020000 "language"
mtd5: 00080000 00020000 "config"
mtd6: 00300000 00020000 "traffic_meter"
mtd7: 00200000 00020000 "kernel"
mtd8: 01700000 00020000 "ubi"
mtd9: 01900000 00020000 "firmware"
mtd10: 00040000 00020000 "caldata_backup"
mtd11: 06000000 00020000 "reserved"

点评

看下27楼,你只是贴出来了分区信息而已  详情 回复 发表于 2017-8-12 22:03
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2017-8-12 22:02 | 显示全部楼层
缥缈的孤鸿 发表于 2017-8-11 22:16
刚才亲测,刷这个固件:lede-17.01.2-ar71xx-nand-wndr4300-ubi-factory.img
命令如下:
opkg update

官方固件好像就这速度吧?我隐约记得40多秒?

如果不做处理,开机就不止一两分钟的事了。。。

点评

我的4300吃灰好久了看到这个帖子才翻出来,好像是不作处理刷回来慢的要死。。。  详情 回复 发表于 2017-8-13 11:56
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2017-8-12 22:03 | 显示全部楼层
mxwz01 发表于 2017-8-12 10:02
老大按照你以前的教程写的这样是成功了吗!
还有lede的cat后门要空格  
root@LEDE:~# cat /proc/mtd

看下27楼,你只是贴出来了分区信息而已

点评

老大我是按照你以前的方法分区了的,固件是lede17.01.02官方稳定版(没有开128M的版本)。我等一下试一下看一下情况怎么样。  详情 回复 发表于 2017-8-13 08:28
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-3-29 02:42

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

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