Temat: tplink 841n v13, tftp

Napiszę bo już mnie szlag trafia wink
jak na tym modelu wrać fw przez tftp ?
sieć konfiguruje jako 192.168.0.66
próbowałem z poziomu windows z tftp2, tftpd64
z poziomu debiana przez atftp. 0 odpowiedzi.

wciśnięty reset + Poweron, zapala się dioda zasilania i czybko miga podpięty lan, po kilkunastu sekundach zapalają się wszystkie diody w tym jedna na pomarańczowo i normalnie bootuje mi firmware tplinka...

2

Odp: tplink 841n v13, tftp

Używasz obrazu tftp-recovery, prawda?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: tplink 841n v13, tftp

Cezary napisał/a:

Używasz obrazu tftp-recovery, prawda?

tak, ze zmieniona nazwa na tp_recovery.bin

4

Odp: tplink 841n v13, tftp

Rozbierz, podłącz serial i zobacz. Bo może masz jakąś nowszą wersję i coś w nagłówkach się nie zgadza.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5 (edytowany przez chemik89 2021-05-23 14:09:15)

Odp: tplink 841n v13, tftp

wygląda normalnie

TFTP from server 192.168.0.66; our IP address is 192.168.0.2

Filename 'tp_recovery.bin'.

[04040C0D][04040C0A]

DDR Calibration DQS reg = 00008788



U-Boot 1.1.3 (Oct 28 2016 - 10:13:49)


Board: Ralink APSoC DRAM:  64 MB

relocate_code Pointer at: 83fb8000

gpiomode1 55054404.

gpiomode2 05540554.

gpiomode2 00000000.

gpiomode2 05550555.

flash manufacture id: c8, device id 40 17

find flash: GD25Q64B

============================================ 

Ralink UBoot Version: 4.3.0.0

-------------------------------------------- 

ASIC 7628_MP (Port5<->None)

DRAM component: 512 Mbits DDR, width 16

DRAM bus: 16 bit

Total memory: 64 MBytes

Flash component: SPI Flash

Date:Oct 28 2016  Time:10:13:49

============================================ 

icache: sets:512, ways:4, linesz:32 ,total:65536

dcache: sets:256, ways:4, linesz:32 ,total:32768 


 ##### The CPU freq = 575 MHZ #### 

 estimate memory size =64 Mbytes

RESET MT7628 PHY!!!!!!..................................................

starting recovery...

TODO, Read MAC Address from Flash



 netboot_common, argc= 3 


 NetTxPacket = 0x83FE7480 


 KSEG1ADDR(NetTxPacket) = 0xA3FE7480 


 NetLoop,call eth_halt ! 


 NetLoop,call eth_init ! 

Trying Eth0 (10/100-M)


 Waitting for RX_DMA_BUSY status Start... done



 ETH_STATE_ACTIVE!! 

TFTP from server 192.168.0.66; our IP address is 192.168.0.2

Filename 'tp_recovery.bin'.


 TIMEOUT_COUNT=10,Load address: 0x80060000

Loading: *T T T T T T T T T T 

Retry count exceeded; starting again

do_bootm:argc=2, addr=0xbc020000

## Booting image at bc020000 ...

   Uncompressing Kernel Image ... OK

No initrd

## Transferring control to Linux (at address 8000c150) ...

## Giving linux memsize in MB, 64


Starting kernel ...


怘€ŕ˜†˜ř˜fff˜ř~†ř~fxř†ř†ř†ć€˜€ć€˜€ f€˜†˜f˜ć˜˜ ć˜f˜f€˜€Linux version 2.6.36 (tomcat@buildserver) (gcc version 4.6.3 (Buildroot 2012.11.1) ) #1 Fri Oct 28 10:20:27 CST 2016

 The CPU feqenuce set to 580 MHz

 MIPS CPU sleep mode enabled.
CPU revision is: 00019655 (MIPS 24Kc)
Software DMA cache coherency
Determined physical RAM map:
 memory: 04000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00000000 -> 0x00004000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00004000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: console=ttyS1,115200 root=/dev/mtdblock2 rootfstype=squashfs init=/sbin/init
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Primary instruction cache 64kB, VIPT, , 4-waylinesize 32 bytes.
Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
Writing ErrCtl register=00072d82
Readback ErrCtl register=00072d82
Memory: 61260k/65536k available (2634k kernel code, 4248k reserved, 639k data, 164k init, 0k highmem)
NR_IRQS:128
console [ttyS1] enabled
Calibrating delay loop... 386.04 BogoMIPS (lpj=772096)
pid_max: default: 4096 minimum: 301
Mount-cache hash table entries: 512
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
Switching to clocksource Ralink Systick timer
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 4.0 (2009/01/31) Phillip Lougher
fuse init (API version 7.15)
msgmni has been set to 119
io scheduler noop registered
io scheduler deadline registered (default)
Ralink gpio driver initialized
i2cdrv_major = 218
Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled
serial8250: ttyS0 at MMIO 0x10000d00 (irq = 21) is a 16550A
serial8250: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A
brd: module loaded
flash manufacture id: c8, device id 40 17
GD25Q64B(c8 40170000) (8192 Kbytes)
mtd .name = raspi, .size = 0x00800000 (8M) .erasesize = 0x00010000 (64K) .numeraseregions = 0
Creating 7 MTD partitions on "raspi":
0x000000000000-0x000000020000 : "boot"
0x000000020000-0x000000160000 : "kernel"
0x000000160000-0x0000007c0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
0x0000007c0000-0x0000007d0000 : "config"
0x0000007d0000-0x0000007e0000 : "romfile"
0x0000007e0000-0x0000007f0000 : "rom"
0x0000007f0000-0x000000800000 : "radio"
Register flash device:flash0
PPP generic driver version 2.4.2
PPP MPPE Compression module registered
NET: Registered protocol family 24
Mirror/redirect action on
u32 classifier
    Actions configured
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (957 buckets, 3828 max)
ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Restricted Cone
TCP cubic registered
NET: Registered protocol family 10
ip6_tables: (C) 2000-2006 Netfilter Core Team
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
Ebtables v2.0 registered
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
SQUASHFS error: Xattrs in filesystem, these will be ignored
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 164k freed
resetCount ++ 0.
resetCount ++ 1.
resetCount ++ 2.

starting pid 678, tty '': '/etc/init.d/rcS'
resetCount ++ 3.
rdm_major = 253
spiflash_ioctl_read, Read from 0x007df100 length 0x6, ret 0, retlen 0x6
Read MAC from flash(0x7DF100) ffffffd4-6e-0e-26-ffffff8d-ffffffb0
GMAC1_MAC_ADRH -- : 0x0000d46e
GMAC1_MAC_ADRL -- : 0x0e268db0
Ralink APSoC Ethernet Driver Initilization. v3.1  256 rx/tx descriptors allocated, mtu = 1500!
spiflash_ioctl_read, Read from 0x007df100 length 0x6, ret 0, retlen 0x6
Read MAC from flash(0x7DF100) ffffffd4-6e-0e-26-ffffff8d-ffffffb0
GMAC1_MAC_ADRH -- : 0x0000d46e
GMAC1_MAC_ADRL -- : 0x0e268db0
PROC INIT OK!
resetCount ++ 4.
tp_domain init ok
L2TP core driver, V2.0
PPPoL2TP kernel driver, V2.0
Set: phy[0].reg[0] = 3900
Set: phy[1].reg[0] = 3900
Set: phy[2].reg[0] = 3900
Set: phy[3].reg[0] = 3900
Set: phy[4].reg[0] = 3900
Set: phy[0].reg[0] = 3300
Set: phy[1].reg[0] = 3300
Set: phy[2].reg[0] = 3300
Set: phy[3].reg[0] = 3300
Set: phy[4].reg[0] = 3300
resetMiiPortV over.

starting pid 725, tty '/dev/ttyS1': '/bin/sh'
~ # resetCount ++ 5.
resetCount ++ 6.
resetCount ++ 7.
[ util_execSystem ] 135:  ipt_init cmd is "/var/tmp/dconf/rc.router"

resetCount ++ 8.
resetCount ++ 9.
resetCount ++ 10.
[ dm_readFile ] 2061:  can not open xml file /var/tmp/pc/reduced_data_model.xml!, about to open file /etc/reduced_data_model.xml
resetCount ++ 11.
spiflash_ioctl_read, Read from 0x007c0000 length 0x10000, ret 0, retlen 0x10000
spiflash_ioctl_read, Read from 0x007c0000 length 0x3020, ret 0, retlen 0x3020
[ dm_loadCfg ] 2278:  software version is not match, in config, version = 271585328
[ dm_readFile ] 2061:  can not open xml file /var/tmp/pc/default_config.xml!, about to open file /etc/default_config.xml
resetCount ++ 12.
[ parseConfigNode ] 525:  Meet unrecognized object node "PhDDNSCfg", skip the node
[ parseConfigNode ] 530:  Meet unrecognized parameter node "PhDDNSCfg", skip the node
[ parseConfigNode ] 525:  Meet unrecognized object node "SnmpCfg", skspiflash_ioctl_read, Read from 0x007df100 length 0x6, ret 0, retlen 0x6
ip the node
[ pspiflash_ioctl_read, Read from 0x007df200 length 0x4, ret 0, retlen 0x4
arseConfigNode ] 525:  Meet unrecognized object node "ACL", skip the node
[ parseConfigNode ] 530:  Meet unrecognized parameter node "ACL", skip the node
[ parseConfigNode ] 525:  Meet unrecognized object node "X_TP_WANUSB3gLinkConfig", skip the node
[ parseConfigNode ] 525:  Meet unrecognized object node "QueueManagement", skip the node
[ parseConfigNode ] 525:  Meet unrecognized object node "X_TP_IPTV", skip the node
[ parseConfigNode ] 525:  Meet unrecognized object node "VoiceService", skip the node
[ parseConfigNode ] 530:  Meet unrecognized parameter node "VoiceService", skip the node
[ parseConfigNode ]spiflash_ioctl_read, Read from 0x00020000 length 0x1d0, ret 0, retlen 0x1d0
 525:  Meet unrespiflash_ioctl_read, Read from 0x007df100 length 0x6, ret 0, retlen 0x6
cognized object node "StorageService", skip the node
[ parseConfigNode ] 525:  Meet unrecognized object node "X_TP_SpeedDialCfg", skip the node
[ parseConfigNode ] 525:  Meet unrecognized object node "X_TP_MultiIspDialPlan", skip the node
[ parseConfigNode ] 525:  Meet unrecognized object node "X_TP_CallLogCfg", skip the node
resetCount ++ 13.
sendto: No such file or directory
pid 724 send 2001 error
[ oal_sys_getOldTZInfo ] 401:  Open TZ file error!
[ util_execSystem ] 135:  oal_sys_unsetTZ cmd is "echo "" > /etc/TZ"

[ util_execSystem ] 135:  oal_sys_unsetTZ cmd is "echo "" > /etc/TZ"

[ util_execSystem ] 135:  oal_startDynDns cmd is "dyndns /var/tmp/dconf/dyndns.conf"

[ util_execSystem ] 135:  oal_startNoipDns cmd is "noipdns /var/tmp/dconf/noipdns.conf"

[ util_execSystem ] 135:  oal_startCmxDns cmd is "cmxdns /var/tmp/dconf/cmxdns.conf"

ioctl: No such device
[ util_execSystem ] 135:  oal_resetCount ++ 14.
br_addBridge cmd is "brctl addbr br0;brctl setfd br0 0;brctl stp br0 off"

[ util_execSystem ] 135:  oal_ipt_addLanRules cmd is "iptables -t filter -A INPUT -i br+ -j ACCEPT
"

[ util_execSystem ] 135:  oal_intf_setIntf cmd is "ifconfig br0 192.168.0.1 netmask 255.255.255.0 up"

[ util_execSystem ] 135:  oal_util_setProcLanAddr cmd is "echo "br0 16820416," > /proc/net/conRaeth v3.1 (ntract_LocalAddrTasklet"

[ util_exec,SkbRecycleSystem ] 135:  o)
al_intf_enableIn
phy_tx_ring = 0x030b7000, tx_ring = 0xa30b7000
tf cmd is "ifcon
phy_rx_ring0 = 0x030b8000, rx_ring0 = 0xa30b8000
fig eth0 up"

[fe_sw_init:4892]rt305x_esw_init.
disable switch phyport...
GMAC1_MAC_ADRH -- : 0x0000d46e
GMAC1_MAC_ADRL -- : 0x0e268db0
RT305x_ESW: Link Status Changed
[ rsl_getUnusedVlan ] 929:  GET UNUSED VLAN TAG 1 : [3]
[ rsl_getUnusedVlan ] 929:  GET UNUSED VLAN TAG 2 : [4]
[ rsl_getUnusedVlan ] 929:  GET UNUSED VLAN TAG 3 : [5]
[ rsl_getUnusedVlan ] 929:  GET UNUSED VLAN TAG 4 : [6]
[ util_execSystem ] 135:  oal_addVlanTagIntf cmd is "vconfig add eth0 3"

[ util_execSystem ] 135:  oal_intf_enableIntf cmd is "ifconfig eth0.3 up"

set if eth0.3 to *not wan dev
[ util_execSystem ] 135:  oal_addVlanTagIntf cmd is "vconfig add eth0 4"

[ util_execSystem ] 135:  oal_intf_enableIntf cmd is "ifconfig eth0.4 up"

set if eth0.4 to *not wan dev
[ util_execSystem ] 135:  oal_addVlanTagIntf cmd is "vconfig add eth0 5"

[ util_execSystem ] 135:  oal_intf_enableIntf cmd is "ifconfig eth0.5 up"

set if eth0.5 to *not wan dev
[ util_execSystem ] 135:  oal_addVlanTagIntf cmd is "vconfig add eth0 6"

[ util_execSystem ] 135:  oal_intf_enableIntf cmd is "ifdevice eth0.3 entered promiscuous mode
config eth0.6 updevice eth0 entered promiscuous mode
"

set if eth0br0: port 1(eth0.3) entering forwarding state
.6 to *not wan dbr0: port 1(eth0.3) entering forwarding state
ev
[ util_execSystem ] 135:  oal_addVlanTagIntf cmd is "vconfig add eth0 2"

device eth0.4 entered promiscuous mode
[ util_execSysteFactory configuration restored..
m ] 135:  oal_intf_enableIntf cmd is "ifconfig eth0.2 up"

set if eth0.2 to wan dev
[ vlan_addLanPortsIntoBridge ] 491:  add lan Port 255 from br0
[ util_execSystem ] 135:  oal_br_addIntfIntoBridge cmd is "brctl addif br0 eth0.3"

[ util_execSystem ] 135:  oal_br_addIntfIntoBridge cmd is "brctl addif br0 eth0.4"

spiflash_ioctl_read, Read from 0x007c0000 length 0x10000, ret 0, retlen 0x10000
spiflash_ioctl_write, Write to 0x007c0000 length 0x10000, ret 0, retlen 0x10000
[04040C0C][04040C0A]

DDR Calibration DQS reg = 00008788



U-Boot 1.1.3 (Oct 28 2016 - 10:13:49)


Board: Ralink APSoC DRAM:  64 MB

relocate_code Pointer at: 83fb8000

******************************

Software System Reset Occurred

******************************

gpiomode1 55054404.

gpiomode2 05540554.

gpiomode2 00000000.

gpiomode2 05550555.

flash manufacture id: c8, device id 40 17

find flash: GD25Q64B

============================================ 

Ralink UBoot Version: 4.3.0.0

-------------------------------------------- 

ASIC 7628_MP (Port5<->None)

DRAM component: 512 Mbits DDR, width 16

DRAM bus: 16 bit

Total memory: 64 MBytes

Flash component: SPI Flash

Date:Oct 28 2016  Time:10:13:49

============================================ 

icache: sets:512, ways:4, linesz:32 ,total:65536

dcache: sets:256, ways:4, linesz:32 ,total:32768 


 ##### The CPU freq = 575 MHZ #### 

 estimate memory size =64 Mbytes

RESET MT7628 PHY!!!!!!......................

6

Odp: tplink 841n v13, tftp

No nie jest normalnie, nie może się dostać do serwera tftp, timeouty mu wyszły.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

7 (edytowany przez chemik89 2021-05-23 14:27:40)

Odp: tplink 841n v13, tftp

poszło przez tftpd64, wywalilem wifi na usb.

8

Odp: tplink 841n v13, tftp

z innej beczki, chciałem też zaktualizować WNDR4300 v1, co to za wersje w obrazach z dopiskiem SW/TN ?

9

Odp: tplink 841n v13, tftp

Specyficznych operatorów kablowych. Czyli nie dla Ciebie.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.