|
本帖最后由 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 ...
|
|