找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 3939|回复: 19

求助,TP-WDR7800千兆版不能进管理界面,想TTL刷原厂固件,刷机步骤有些地方请指教

[复制链接]
本帖最后由 yangsongliu1683 于 2019-6-8 16:02 编辑

想TTL刷原厂固件,刷机步骤有些地方请指教。本人的TP-WDR7800千兆版各种方法都不能进入管理界面(详情请移步之前求助贴https://www.right.com.cn/FORUM/thread-701319-1-1.html),现在想TTL刷入官网下载的原厂固件,但由于是菜鸟,不太懂相关的TTL命令含义,之前刷过阿鲁巴的路由器,不过命令都是网上现成的复制下来,每次都能刷成功,现在WDR7800网上没有现成命令可以参考,想请教大神,我这个机器刷机时候,如何写相关的命令?比如步骤
1,接好TTL,启动输入TPL,进入UBOOT(这个我应该会)
2,setenv ipaddr 192.168.1.2(设置IP地址,我会)
3,setenv serverip 192.168.1.10(设置服务器地址,我会)
4,tftpboot (这个命令后面怎么写不会?直接tptpboot wdr7800.bin 行不行?我看有些是tftpboot 0x8000000 wdr7800.bin,不懂这里的0x780000000是什么地址)
5,erase (擦除命令后面地址不会写,不敢乱写)
6,cp.b(写入命令后面地址也不会写,不敢乱写)
7,bootm(这个命令也不会写,看有些人有这个命令,有些人又不需要这个命令)
8,断电重启
以上的刷机步骤不知道有没有什么问题,上面命令的内存地址应该怎么写呢(我知道每台机器不同内存大小地址应该都不同的,菜鸟不敢乱来),还请高手指教,十分感谢。以下提供我的机器TTL启动时候的信息,应该有参考数据吧
U-Boot 1.1.4-g700ba887-dirty (Oct 12 2016 - 15:46:21)(COMPRESSED)

ap152 - Dragonfly 1.0

DRAM:  64 MB
Top of RAM usable for U-Boot at: 84000000
Reserving 220k for U-Boot at: 83fc8000
Reserving 132k for malloc() at: 83fa7000
Reserving 44 Bytes for Board Info at: 83fa6fd4
Reserving 36 Bytes for Global Data at: 83fa6fb0
Reserving 128k for boot params() at: 83f86fb0
Stack Pointer at: 83f86f98
Now running in RAM - U-Boot at: 83fc8000
Flash Manuf Id 0xc8, DeviceId0 0x40, DeviceId1 0x17
flash size 8MB, sector count = 2048
Flash:  8 MB
Using default environment

Autobooting in 1 seconds
verifying uboot partition...
ok
verifying kernel and romfs partition...
ok
Now starting to boot from uboot2!
▒

U-Boot 1.1.4-dirty (Sep 15 2017 - 18:47:35)

ap152 - Dragonfly 1.0

DRAM:  64 MB
Top of RAM usable for U-Boot at: 84000000
Reserving 144k for U-Boot at: 83fd8000
Reserving 132k for malloc() at: 83fb7000
Reserving 44 Bytes for Board Info at: 83fb6fd4
Reserving 36 Bytes for Global Data at: 83fb6fb0
Reserving 128k for boot params() at: 83f96fb0
Stack Pointer at: 83f96f98
Now running in RAM - U-Boot at: 83fd8000
Flash Manuf Id 0xc8, DeviceId0 0x40, DeviceId1 0x17
flash size 8MB, sector count = 2048
Flash:  8 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
athr_mgmt_init ::done
Dragonfly  ----> S17 PHY *
rtk_vlan_init has done
---rtl_init_switch--- done
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Setting 0x181162c0 to 0x5ebc2100
Autobooting in 1 seconds
## Booting image at 9f040000 ...
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 67108864

Starting kernel ...
我的恩山、我的无线 The best wifi forum is right here.
如果你TTL不能阻止Autoboot,那么请直接上编程器。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
青烟 发表于 2019-6-8 18:08
如果你TTL不能阻止Autoboot,那么请直接上编程器。

上编程器对我来说太高端了。。。。希望ttl能解决问题吧
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

yangsongliu1683 发表于 2019-6-8 21:47
上编程器对我来说太高端了。。。。希望ttl能解决问题吧

如果不能中断Autoboot,那么只能上编程器,不是你想不想的问题。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
青烟 发表于 2019-6-8 21:48
如果不能中断Autoboot,那么只能上编程器,不是你想不想的问题。

你所说的autoboot中断是不是输入tpl中断?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

yangsongliu1683 发表于 2019-6-8 21:52
你所说的autoboot中断是不是输入tpl中断?

tpk,ctrl+c……whatever,能中断就行。

点评

测试过,能成功中断进入ath>命令行,如下;接着怎么刷入原厂固件呢?? U-Boot 1.1.4-g700ba887-dirty (Oct 12 2016 - 15:46:21)(COMPRESSED) ap152 - Dragonfly 1.0 DRAM: 64 MB Top of RAM usable for U-B  详情 回复 发表于 2019-6-9 18:26
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
青烟 发表于 2019-6-8 22:08
tpk,ctrl+c……whatever,能中断就行。

测试过,能成功中断进入ath>命令行,如下;接着怎么刷入原厂固件呢??
U-Boot 1.1.4-g700ba887-dirty (Oct 12 2016 - 15:46:21)(COMPRESSED)

ap152 - Dragonfly 1.0

DRAM:  64 MB
Top of RAM usable for U-Boot at: 84000000
Reserving 220k for U-Boot at: 83fc8000
Reserving 132k for malloc() at: 83fa7000
Reserving 44 Bytes for Board Info at: 83fa6fd4
Reserving 36 Bytes for Global Data at: 83fa6fb0
Reserving 128k for boot params() at: 83f86fb0
Stack Pointer at: 83f86f98
Now running in RAM - U-Boot at: 83fc8000
Flash Manuf Id 0xc8, DeviceId0 0x40, DeviceId1 0x17
flash size 8MB, sector count = 2048
Flash:  8 MB
Using default environment

Autobooting in 1 seconds
In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
athr_mgmt_init ::done
Dragonfly  ----> S17 PHY *
rtk_vlan_init has done
---rtl_init_switch--- done
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Setting 0x181162c0 to 0x4b962100
Autobooting in 1 seconds
ath>
ath> slp
Unknown command 'slp' - try 'help'
ath>
ath> slp
Unknown command 'slp' - try 'help'
ath> help
?       - alias for 'help'
bootm   - boot application image from memory
cp      - memory copy
erase   - erase FLASH memory
help    - print online help
httpd   - start www server for firmware recovery
jmpaddr   - jump to a address
mct   - simple RAM test
md      - memory display
mm      - memory modify (auto-incrementing)
mtest   - simple RAM test
mw      - memory write (fill)
nm      - memory modify (constant address)
printenv- print environment variables
progmac - Set ethernet MAC addresses
progmac2 - Set ethernet MAC addresses
reset   - Perform RESET of the CPU
setenv  - set environment variables
tftpboot- boot image via network using TFTP protocol
version - print monitor version
ath> U-Boot 1.1.4-g700ba887-dirty (Oct 12 2016 - 15:46:21)(COMPRESSED)
Unknown command 'U-Boot' - try 'help'
ath> ap152 - Dragonfly 1.0
Unknown command 'ap152' - try 'help'
ath>

点评

TTL刷机咯,百度下。  详情 回复 发表于 2019-6-9 18:47
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

yangsongliu1683 发表于 2019-6-9 18:26
测试过,能成功中断进入ath>命令行,如下;接着怎么刷入原厂固件呢??
U-Boot 1.1.4-g700ba887-dirty (O ...

TTL刷机咯,百度下。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
青烟 发表于 2019-6-9 18:47
TTL刷机咯,百度下。

刷机过程我知道,主要是不知道我的路由器的内存地址
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
本帖最后由 yangsongliu1683 于 2019-6-10 17:41 编辑

输入printenv命令,得到以下的环境变量:
ath> printenv
bootargs=console=ttyS0,115200 root=31:02 rootfstype=jffs2 init=/sbin/init mtdparts=ath-nor0:32k(u-boot1),32k(u-boot2),3008k(rootfs),896k(uImage),64k(mib0),64k(ART)
bootcmd=jmpaddr 0x9f030000
bootdelay=1
baudrate=115200
ethaddr=0x00:0xaa:0xbb:0xcc:0xdd:0xee
ipaddr=192.168.1.1
serverip=192.168.1.10
loadaddr=0x82000000
dir=
lu=tftp 0x80060000 ${dir}tuboot.bin&&erase 0x9f000000 +$filesize&&cp.b $fileaddr 0x9f000000 $filesize
lf=tftp 0x80060000 ${dir}ap152${bc}-jffs2&&erase 0x9f010000 +$filesize&&cp.b $fileaddr 0x9f010000 $filesize
lk=tftp 0x80060000 ${dir}vmlinux${bc}.lzma.uImage&&erase 0x9f300000 +$filesize&&cp.b $fileaddr 0x9f300000 $filesize
stdin=serial
stdout=serial
stderr=serial
ethact=eth0

Environment size: 702/4092 bytes
ath>

我需要的真相是不是越来越近了呢?还是不懂上面这些句子的具体含义,还在研究刷机怎么写命令。。。。不断探索中。。。。。。。没有引路人,只能度娘再度娘了。。。。。太祖说要自力更生,越努力,越幸运。。。。加油!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

编程器复制一下就行了,多简单
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
15013223927 发表于 2019-6-10 19:50
编程器复制一下就行了,多简单

没有也不会用编程器,只有ttl,有办法么?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

土豪金就是编程器,下载固件直接刷写进去就行了,就行u盘拷贝资料一样
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
15013223927 发表于 2019-6-11 15:49
土豪金就是编程器,下载固件直接刷写进去就行了,就行u盘拷贝资料一样


编程器是不是要把内存焊下来的?如果是的话,就麻烦了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

yangsongliu1683 发表于 2019-6-11 22:19
编程器是不是要把内存焊下来的?如果是的话,就麻烦了

可以用夹子,不要连接8号脚,插电源,直接编程
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-27 12:39

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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