Нужен дамп флеш памяти от TP-LINK TD-W8968_V1

Беспроводной маршрутизатор со встроенным модемом ADSL2+ серии Lite N, до 150Мбит/с
andrey030990
Сообщения: 15
Зарегистрирован: 30 дек 2012, 16:41
Страна: Казахстан

Нужен дамп флеш памяти от TP-LINK TD-W8968_V1

Сообщение andrey030990 » 26 окт 2016, 15:14

Название темы: Нужен дамп флеш памяти от TP-LINK TD-W8968_V1
Аппаратная версия устройства: ver 1.0
Версия встроенного ПО: 0.6.0 1.3 v0005.0 Build 131226 Rel.33881n
Провайдер: megaline
VPI, VCI по договору с провайдером: VPI-0, VCI-33
Логи оборудования: подключился через TX/RX, вот что на экране::
Invalid Power GPIO, just return and don't turn on Power LED


TC3162U at Tue Oct 15 16:25:32 HKT 2013 version 0.9

Memory size 32MB

Found SPI Flash 8MiB EN25Q64 at 0xb0000000

Press any key in 0.1 secs to enter boot command mode.
..

Decompress to 80020000 free_mem_ptr=80600000 free_mem_ptr_end=80700000
Uncompressing [LZMA] ... done.
Linux version 2.6.22.15 (root@localhost.localdomain) (gcc version 3.4.6) #3 Wed Nov 20 15:47:54 HKT 2013
TrendChip TC3162U SOC prom init
Enable IMEM addr=2e4000
Enable DMEM addr=361000
CPU revision is: 0000cd01
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
Built 1 zonelists. Total pages: 8128
Kernel command line: console=ttyS0 rootfstype=squashfs
Primary instruction cache 32kB, linesize 16 bytes.
Primary data cache 8kB, linesize 16 bytes.
Synthesized TLB refill handler (17 instructions).
Synthesized TLB load handler fastpath (31 instructions).
Synthesized TLB store handler fastpath (31 instructions).
Synthesized TLB modify handler fastpath (25 instructions).
PID hash table entries: 128 (order: 7, 512 bytes)
console handover: boot [early0] -> real [ttyS0]
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 28740k/32768k available (2864k kernel code, 4028k reserved, 475k data, 140k init, 0k highmem)
SLUB: Genslabs=17, HWalign=16, Order=0-1, MinObjects=4, CPUs=1, Nodes=1
Mount-cache hash table entries: 512
NET: Registered protocol family 16
tc3162_pcie_init
registering PCI controller with io_map_base unset
tc3162: system has PCI BIOS
registering PCI controller with io_map_base unset
PCI: Bridge: 0000:00:00.0
IO window: disabled.
MEM window: disabled.
PREFETCH window: disabled.
NET: Registered protocol family 8
NET: Registered protocol family 20
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
TC3162 hardware watchdog module loaded.
squashfs: version 3.0 (2006/03/15) Phillip Lougher
fuse init (API version 7.8)
io scheduler noop registered
io scheduler deadline registered (default)
ttyS0 at I/O 0xbfbf0003 (irq = 0) is a TC3162
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
PPP generic driver version 2.4.2
NET: Registered protocol family 24
Register flash device:flash0
tc3162: flash device 0x01000000 at 0x10000000
tc3162: Found SPIFLASH 8MiB EN25Q64
Creating 6 MTD partitions on "tc3162":
0x00000000-0x00020000 : "boot"
0x00020000-0x00130000 : "kernel"
0x00130000-0x007d0000 : "rootfs"
0x007d0000-0x007e0000 : "romfile"
0x007e0000-0x007f0000 : "config"
0x007f0000-0x00800000 : "radio"
Mirror/redirect action on
u32 classifier
Actions configured
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (256 buckets, 5120 max)
ctnetlink v0.93: registering with nfnetlink.
IPv4 over IPv4 tunneling driver
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 10
ip6_tables: (C) 2000-2006 Netfilter Core Team
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
NET: Registered protocol family 15
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>
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 140k freed
starting pid 106, tty '': '/etc/init.d/rcS'
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Enabling device 0000:02:03.3 (0000 -> 0002)
ehci_hcd 0000:02:03.3: EHCI Host Controller
ehci_hcd 0000:02:03.3: new USB bus registered, assigned bus number 1
ehci_hcd 0000:02:03.3: irq 24, io mem 0x1fba1000
ehci_hcd 0000:02:03.3: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
hotplug, args:usb
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
hotplug, args:usb
.....pid 142: wait the running hotplug to end itself.......
PCI: Enabling device 0000:02:03.0 (0000 -> 0002)
ohci_hcd 0000:02:03.0: OHCI Host Controller
ohci_hcd 0000:02:03.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:02:03.0: irq 25, io mem 0x1fba0000
hotplug, args:usb
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
hotplug, args:usb
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
tcledctrl: module license 'unspecified' taints kernel.
TC3162 LED Manager 0.1 init

tcledctrl version: tcledctrl V1.1.0.0 (Nov 20 2013-15:48:19).
tccicmd V1.1.0.0 (Oct 15 2013-16:29:49)
/etc/init.d/rcS: line 58: ftpd: not found
.....pid 142: wait the running hotplug to end itself.......
TC3162 Ethernet Driver NAPI version 1.5

tc3162mac V1.1.0.0 (Nov 20 2013-15:48:15)
eth0: TC3162 Ethernet address: A0:F3:C1:4F:CC:88
ADSL DMT initialization starting
Begin AdslTaskInit.....
End AdslTaskInit
Begin to request IRQ 19
DMT:Succeed to request IRQ 19
Initializing ADSL F/W 3.16.22.0 ......
Initializing ADSL F/W ........ done
.....pid 142: wait the running hotplug to end itself.......
TSARM: TC3162 ATM SAR driver 1.5 init

tc3162sar V1.2.0.0 (Nov 20 2013-15:48:17)
register autopvc cmd to sys
TSARM: TC3162 ATM SAR driver 1.5 done
dns_init
eth0: starting interface.
TC2104ME, TC2206,
.....pid 142: wait the running hotplug to end itself.......

Please press Enter to activate this console. [ dm_readFile ] 2042: can not open xml file /var/tmp/pc/reduced_data_model.xml!, about to open file /etc/reduced_data_model.xml
.....pid 142: wait the running hotplug to end itself.......
[ oal_sys_readCfgFlash ] 509: User config length is too long - ffffffff

[ dm_loadCfg ] 2278: Read config from flash failed. ret = 1
[ dm_readFile ] 2042: can not open xml file /var/tmp/pc/default_config.xml!, about to open file /etc/default_config.xml
[ parseConfigNode ] 522: Meet unrecognized object node "PhDDNSCfg", skip the node
[ parseConfigNode ] 527: Meet unrecognized parameter node "PhDDNSCfg", skip the node
[ parseConfigNode ] 522: Meet unrecognized object node "X_TP_L2TP_Connection", skip the node
[ parseConfigNode ] 522: Meet unrecognized object node "X_TP_PPTP_Connection", skip the node
[ parseConfigNode ] 522: Meet unrecognized object node "QueueManagement", skip the node
[ parseConfigNode ] 522: Meet unrecognized object node "VoiceService", skip the node
[ parseConfigNode ] 527: Meet unrecognized parameter node "VoiceService", skip the node
[ parseConfigNode ] 522: Meet unrecognized object node "X_TP_SpeedDialCfg", skip the node
[ parseConfigNode ] 522: Meet unrecognized object node "X_TP_MultiIspDialPlan", skip the node
[ parseConfigNode ] 522: Meet unrecognized object node "X_TP_CallLogCfg", skip the node
ioctl: No such device
device eth0 entered promiscuous mode
br0: port 1(eth0) entering learning state
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
[ rsl_initLanIgmpSnoopObj ] 181: We need vlan if we want igmp snooping
device eth0 left promiscuous mode
br0: port 1(eth0) entering disabled state
br0: port 1(eth0.2) entering learning state
br0: topology change detected, propagating
br0: port 1(eth0.2) entering forwarding state
br0: port 2(eth0.3) entering learning state
br0: topology change detected, propagating
br0: port 2(eth0.3) entering forwarding state
br0: port 3(eth0.4) entering learning state
br0: topology change detected, propagating
br0: port 3(eth0.4) entering forwarding state
br0: port 4(eth0.5) entering learning state
br0: topology change detected, propagating
br0: port 4(eth0.5) entering forwarding state
.....pid 142: wait the running hotplug to end itself.......
[ wlan_getBrNamebyIfName ] 4532: Can't find the bridge for ra0

eth0.2: dev_set_promiscuity(master, 1)
device eth0 entered promiscuous mode
WLAN-Start wlNetlinkTool
Waiting for Wireless Events from interfaces...
.....pid 142: wait the running hotplug to end itself.......
SRAON
US bitswap on,DS bitswap on
ANNEXAIJLM
.....pid 142: wait the running hotplug to end itself.......
set try multimode number to 3 (dropmode try num 3)
iptables: Bad rule (does a matching rule exist in that chain?)
radvd starting
br2684_ioctl cmd: ATM_NEWBACKENDIF
RFC1483/2684 bridge: Interface "nas0" created sucessfully

RFC1483/2684 bridge: Communicating over ATM 0.8.35, encapsulation: LLC

qos.txtp.traffic_class = 1
br2684_ioctl cmd: ATM_SETBACKEND
RFC1483/2684 bridge: Interface configured
RFC1483/2684 bridge: RFC 1483/2684 bridge daemon started

br2684_ioctl cmd: ATM_EXTBACKENDIF
RFC1483/2684 bridge: Interface "nas0_1" created sucessfully

RFC1483/2684 bridge: RFC 1483/2684 bridge daemon started

RFC1483/2684 bridge: Daemon terminated

device nas0_1 entered promiscuous mode
br0: port 5(nas0_1) entering learning state
br0: topology change detected, propagating
br0: port 5(nas0_1) entering forwarding state
iptables: Bad rule (does a matching rule exist in that chain?)
iptables: Bad rule (does a matching rule exist in that chain?)
[ getPidFromPidFile ] 112: Cann't open file: /var/run/zebra.pid.
[ getPidFromPidFile ] 112: Cann't open file: /var/run/ripd.pid.
iptables: Bad rule (does a matching rule exist in that chain?)
.....pid 142: wait the running hotplug to end itself.......
iptables: Bad rule (does a matching rule exist in that chain?)
iptables: Bad rule (does a matching rule exist in that chain?)
........pid 139: pPlugDevId[0]=, plugDevClass[0]=, plugAction[0]=.........
ip6tables: Bad rule (does a matching rule exist in that chain?)
[ rsl_initDslIptvCfgObj ] 1828: DSL IPTV not enable or not firstInit.
[ rsl_setStorageServiceObj ] 1140: mountFlag is 3,We start usb server

killall: ushare: no process killed
uShare (version 1.1a), a lightweight UPnP A/V and DLNA Media Server.
Benjamin Zores (C) 2005-2007, for GeeXboX Team.
See http://ushare.geexbox.org/ for updates.
iptables: Bad rule (does a matching rule exist in that chain?)
........pid 142: pPlugDevId[0]=, plugDevClass[0]=, plugAction[0]=.........
iptables: Bad rule (does a matching rule exist in that chain?)
insmod: can't insert '/lib/modules/GPL_NetUSB.ko': No such file or directory
Symbol usb_register_driver is being used by a non-GPL module, which will not be allowed in the future
Please see the file Documentation/feature-removal-schedule.txt in the kernel source tree for more details.
Symbol usb_deregister is being used by a non-GPL module, which will not be allowed in the future
Please see the file Documentation/feature-removal-schedule.txt in the kernel source tree for more details.
kc 86 : run_telnetDBGDServer start
kc 223 : init_DebugD end
INFO1758: NetUSB 1.182, 00020616 : Apr 27 2012 18:31:55
INFO175A: AUTH ISOC
INFO175B:
usbcore: registered new interface driver KC NetUSB General Driver
INFO0076: init proc : PAGE_SIZE 4096
INFO17B4: Check mac address
INFO162C: infomap c0185ff8
INFO162F: sleep to wait br0 to wake up
INFO02D0: use dev Name br0
INFO1638: sleep to wait br0 end.
INFO1651: UDP_BROAD 7437 tcpPort:625868800
INFO02D0: use dev Name br0
INFO1538: tcpConnector() started...
INFO1415: Bind to br0
Описание проблемы: Не работает, wi-fi, да и при подключении роутера к интернету через WAN входит в ступор и начинает что то писать в память:
INFO1415: Bind to br0
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: Bad rule (does a matching rule exist in that chain?)
iptables: Bad rule (does a matching rule exist in that chain?)
Erase from 7e0000 with 6e56 bytes .
Write flash to 7e0000, len is 6e56
Erase from 7e0000 with 6e56 bytes .
Write flash to 7e0000, len is 6e56

Экран после нажатия tpl, установки IP, запуска WEB, загрузки через IE на модем файла tclinux.bin (переименован с TD-W8968v1_0.6.0_1.3_up_boot(131226)_2013-12-27_10.37.56.bin):
Invalid Power GPIO, just return and don't turn on Power LED


TC3162U at Tue Oct 15 16:25:32 HKT 2013 version 0.9

Memory size 32MB

Found SPI Flash 8MiB EN25Q64 at 0xb0000000


Press any key in 0.1 secs to enter boot command mode.

bldr> l
bldr> ipaddr 192.168.2.100
ipaddr 192.168.2.100
Change IP address to 192.168.2.100
bldr> httpd
httpd
PBUF_POOL_BUFSIZE = 256
tcp_bind()
Local Port = 0
tcp_bind: bind to port 80
bldr> START TO RECEIVE the FILE
............................................................................................................................................................................................................................................
И на этом все, кто в этом разбирается дайте совет что с ним не так и если у кого то есть дамп на данный модем, поделитесь пожалуйста.

vovan26
OpenWrt разработчик
OpenWrt разработчик
Сообщения: 2439
Зарегистрирован: 12 мар 2014, 17:20
Страна: Узбкистан
Откуда: Узбекистан

Re: Нужен дамп флеш памяти от TP-LINK TD-W8968_V1

Сообщение vovan26 » 27 окт 2016, 12:18

Готовый дамп я не нашел, видать снес когда чистил ЯД. Но это не беда, можно собрать, но для этого мне надо лог загрузки, снятый по UART и убитый дамп, слитый с флешки. Но уверен ли ты 100% что проблема в дампе?
Разработка ПО для роутеров на базе OpenWrt.
Желание получить ответ, предполагает умение сформулировать вопрос. (И.В. Сталин)
На общие вопросы в личке не отвечаю, задайте его на форуме.

andrey030990
Сообщения: 15
Зарегистрирован: 30 дек 2012, 16:41
Страна: Казахстан

Re: Нужен дамп флеш памяти от TP-LINK TD-W8968_V1

Сообщение andrey030990 » 28 окт 2016, 21:28

vovan26 писал(а):Готовый дамп я не нашел, видать снес когда чистил ЯД. Но это не беда, можно собрать, но для этого мне надо лог загрузки, снятый по UART и убитый дамп, слитый с флешки. Но уверен ли ты 100% что проблема в дампе?
Лог загрузки я выложил, открой спойлер Системный журнал, ну на сколько я понимаю из выложенного мною лога, проблема в разделе config и radio, в понедельник сниму битый дамп и выложу.

vovan26
OpenWrt разработчик
OpenWrt разработчик
Сообщения: 2439
Зарегистрирован: 12 мар 2014, 17:20
Страна: Узбкистан
Откуда: Узбекистан

Re: Нужен дамп флеш памяти от TP-LINK TD-W8968_V1

Сообщение vovan26 » 28 окт 2016, 23:24

Ok!
Разработка ПО для роутеров на базе OpenWrt.
Желание получить ответ, предполагает умение сформулировать вопрос. (И.В. Сталин)
На общие вопросы в личке не отвечаю, задайте его на форуме.

andrey030990
Сообщения: 15
Зарегистрирован: 30 дек 2012, 16:41
Страна: Казахстан

Re: Нужен дамп флеш памяти от TP-LINK TD-W8968_V1

Сообщение andrey030990 » 01 ноя 2016, 10:38

vovan26 писал(а):Ok!
Вот снятый дамп с флешки http://my-files.ru/i55270

vovan26
OpenWrt разработчик
OpenWrt разработчик
Сообщения: 2439
Зарегистрирован: 12 мар 2014, 17:20
Страна: Узбкистан
Откуда: Узбекистан

Re: Нужен дамп флеш памяти от TP-LINK TD-W8968_V1

Сообщение vovan26 » 01 ноя 2016, 16:57

https://yadi.sk/d/Ur6BZq_XxwJnR
Раздела art в дампе нету (wi-fi), это позже, меня интересует как заведется, если не пойдет выложи лог загрузки по UART.
Разработка ПО для роутеров на базе OpenWrt.
Желание получить ответ, предполагает умение сформулировать вопрос. (И.В. Сталин)
На общие вопросы в личке не отвечаю, задайте его на форуме.

andrey030990
Сообщения: 15
Зарегистрирован: 30 дек 2012, 16:41
Страна: Казахстан

Re: Нужен дамп флеш памяти от TP-LINK TD-W8968_V1

Сообщение andrey030990 » 02 ноя 2016, 10:02

vovan26 писал(а):https://yadi.sk/d/Ur6BZq_XxwJnR
Раздела art в дампе нету (wi-fi), это позже, меня интересует как заведется, если не пойдет выложи лог загрузки по UART.
В общем прошил я флеш Вашим дампом, по моему ситуация не изменилась, вот лог:
Invalid Power GPIO, just return and don't turn on Power LED


TC3162U at Tue Oct 15 16:25:32 HKT 2013 version 0.9

Memory size 32MB

Found SPI Flash 8MiB EN25Q64 at 0xb0000000

Press any key in 0.1 secs to enter boot command mode.
..

Decompress to 80020000 free_mem_ptr=80600000 free_mem_ptr_end=80700000
Uncompressing [LZMA] ... done.
Linux version 2.6.22.15 (root@localhost.localdomain) (gcc version 3.4.6) #3 Wed Nov 20 15:47:54 HKT 2013
TrendChip TC3162U SOC prom init
Enable IMEM addr=2e4000
Enable DMEM addr=361000
CPU revision is: 0000cd01
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
Built 1 zonelists. Total pages: 8128
Kernel command line: console=ttyS0 rootfstype=squashfs
Primary instruction cache 32kB, linesize 16 bytes.
Primary data cache 8kB, linesize 16 bytes.
Synthesized TLB refill handler (17 instructions).
Synthesized TLB load handler fastpath (31 instructions).
Synthesized TLB store handler fastpath (31 instructions).
Synthesized TLB modify handler fastpath (25 instructions).
PID hash table entries: 128 (order: 7, 512 bytes)
console handover: boot [early0] -> real [ttyS0]
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 28740k/32768k available (2864k kernel code, 4028k reserved, 475k data, 140k init, 0k highmem)
SLUB: Genslabs=17, HWalign=16, Order=0-1, MinObjects=4, CPUs=1, Nodes=1
Mount-cache hash table entries: 512
NET: Registered protocol family 16
tc3162_pcie_init
registering PCI controller with io_map_base unset
tc3162: system has PCI BIOS
registering PCI controller with io_map_base unset
PCI: Bridge: 0000:00:00.0
IO window: disabled.
MEM window: disabled.
PREFETCH window: disabled.
NET: Registered protocol family 8
NET: Registered protocol family 20
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
TC3162 hardware watchdog module loaded.
squashfs: version 3.0 (2006/03/15) Phillip Lougher
fuse init (API version 7.8)
io scheduler noop registered
io scheduler deadline registered (default)
ttyS0 at I/O 0xbfbf0003 (irq = 0) is a TC3162
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
PPP generic driver version 2.4.2
NET: Registered protocol family 24
Register flash device:flash0
tc3162: flash device 0x01000000 at 0x10000000
tc3162: Found SPIFLASH 8MiB EN25Q64
Creating 6 MTD partitions on "tc3162":
0x00000000-0x00020000 : "boot"
0x00020000-0x00130000 : "kernel"
0x00130000-0x007d0000 : "rootfs"
0x007d0000-0x007e0000 : "romfile"
0x007e0000-0x007f0000 : "config"
0x007f0000-0x00800000 : "radio"
Mirror/redirect action on
u32 classifier
Actions configured
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (256 buckets, 5120 max)
ctnetlink v0.93: registering with nfnetlink.
IPv4 over IPv4 tunneling driver
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 10
ip6_tables: (C) 2000-2006 Netfilter Core Team
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
NET: Registered protocol family 15
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>
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 140k freed
starting pid 106, tty '': '/etc/init.d/rcS'
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Enabling device 0000:02:03.3 (0000 -> 0002)
ehci_hcd 0000:02:03.3: EHCI Host Controller
ehci_hcd 0000:02:03.3: new USB bus registered, assigned bus number 1
ehci_hcd 0000:02:03.3: irq 24, io mem 0x1fba1000
ehci_hcd 0000:02:03.3: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
hotplug, args:usb
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
hotplug, args:usb
.....pid 142: wait the running hotplug to end itself.......
PCI: Enabling device 0000:02:03.0 (0000 -> 0002)
ohci_hcd 0000:02:03.0: OHCI Host Controller
ohci_hcd 0000:02:03.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:02:03.0: irq 25, io mem 0x1fba0000
hotplug, args:usb
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
hotplug, args:usb
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
tcledctrl: module license 'unspecified' taints kernel.
TC3162 LED Manager 0.1 init

tcledctrl version: tcledctrl V1.1.0.0 (Nov 20 2013-15:48:19).
tccicmd V1.1.0.0 (Oct 15 2013-16:29:49)
/etc/init.d/rcS: line 58: ftpd: not found
.....pid 142: wait the running hotplug to end itself.......
TC3162 Ethernet Driver NAPI version 1.5

tc3162mac V1.1.0.0 (Nov 20 2013-15:48:15)
The MAC address in flash is null!
eth0: TC3162 Ethernet address: 00:00:AA:BB:CC:FF
ADSL DMT initialization starting
Begin AdslTaskInit.....
End AdslTaskInit
Begin to request IRQ 19
DMT:Succeed to request IRQ 19
Initializing ADSL F/W 3.16.22.0 ......
Initializing ADSL F/W ........ done
.....pid 142: wait the running hotplug to end itself.......
TSARM: TC3162 ATM SAR driver 1.5 init

tc3162sar V1.2.0.0 (Nov 20 2013-15:48:17)
register autopvc cmd to sys
TSARM: TC3162 ATM SAR driver 1.5 done
dns_init
eth0: starting interface.
TC2104ME, TC2206,
.....pid 142: wait the running hotplug to end itself.......

Please press Enter to activate this console. [ dm_readFile ] 2042: can not open xml file /var/tmp/pc/reduced_data_model.xml!, about to open file /etc/reduced_data_model.xml
.....pid 142: wait the running hotplug to end itself.......
[ dm_loadCfg ] 2254: software version is not match, in config, version = 0
[ dm_readFile ] 2042: can not open xml file /var/tmp/pc/default_config.xml!, about to open file /etc/default_config.xml
[ parseConfigNode ] 522: Meet unrecognized object node "PhDDNSCfg", skip the node
[ parseConfigNode ] 527: Meet unrecognized parameter node "PhDDNSCfg", skip the node
[ parseConfigNode ] 522: Meet unrecognized object node "X_TP_L2TP_Connection", skip the node
[ parseConfigNode ] 522: Meet unrecognized object node "X_TP_PPTP_Connection", skip the node
[ parseConfigNode ] 522: Meet unrecognized object node "QueueManagement", skip the node
[ parseConfigNode ] 522: Meet unrecognized object node "VoiceService", skip the node
[ parseConfigNode ] 527: Meet unrecognized parameter node "VoiceService", skip the node
[ parseConfigNode ] 522: Meet unrecognized object node "X_TP_SpeedDialCfg", skip the node
[ parseConfigNode ] 522: Meet unrecognized object node "X_TP_MultiIspDialPlan", skip the node
[ parseConfigNode ] 522: Meet unrecognized object node "X_TP_CallLogCfg", skip the node
ioctl: No such device
device eth0 entered promiscuous mode
br0: port 1(eth0) entering learning state
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
[ rsl_initLanIgmpSnoopObj ] 181: We need vlan if we want igmp snooping
device eth0 left promiscuous mode
br0: port 1(eth0) entering disabled state
br0: port 1(eth0.2) entering learning state
br0: topology change detected, propagating
br0: port 1(eth0.2) entering forwarding state
br0: port 2(eth0.3) entering learning state
br0: topology change detected, propagating
br0: port 2(eth0.3) entering forwarding state
br0: port 3(eth0.4) entering learning state
br0: topology change detected, propagating
br0: port 3(eth0.4) entering forwarding state
br0: port 4(eth0.5) entering learning state
br0: topology change detected, propagating
br0: port 4(eth0.5) entering forwarding state
.....pid 142: wait the running hotplug to end itself.......
eth0.2: dev_set_promiscuity(master, 1)
device eth0 entered promiscuous mode
[ wlan_getBrNamebyIfName ] 4532: Can't find the bridge for ra0

WLAN-Start wlNetlinkTool
Waiting for Wireless Events from interfaces...
.....pid 142: wait the running hotplug to end itself.......
SRAON
US bitswap on,DS bitswap on
ANNEXAIJLM
.....pid 142: wait the running hotplug to end itself.......
set try multimode number to 3 (dropmode try num 3)
iptables: Bad rule (does a matching rule exist in that chain?)
radvd starting
br2684_ioctl cmd: ATM_NEWBACKENDIF
RFC1483/2684 bridge: Interface "nas0" created sucessfully

RFC1483/2684 bridge: Communicating over ATM 0.8.35, encapsulation: LLC

qos.txtp.traffic_class = 1
br2684_ioctl cmd: ATM_SETBACKEND
RFC1483/2684 bridge: Interface configured
RFC1483/2684 bridge: RFC 1483/2684 bridge daemon started

br2684_ioctl cmd: ATM_EXTBACKENDIF
RFC1483/2684 bridge: Interface "nas0_1" created sucessfully

RFC1483/2684 bridge: RFC 1483/2684 bridge daemon started

RFC1483/2684 bridge: Daemon terminated

device nas0_1 entered promiscuous mode
br0: port 5(nas0_1) entering learning state
br0: topology change detected, propagating
br0: port 5(nas0_1) entering forwarding state
iptables: Bad rule (does a matching rule exist in that chain?)
iptables: Bad rule (does a matching rule exist in that chain?)
[ getPidFromPidFile ] 112: Cann't open file: /var/run/zebra.pid.
[ getPidFromPidFile ] 112: Cann't open file: /var/run/ripd.pid.
iptables: Bad rule (does a matching rule exist in that chain?)
iptables: Bad rule (does a matching rule exist in that chain?)
.....pid 142: wait the running hotplug to end itself.......
iptables: Bad rule (does a matching rule exist in that chain?)
........pid 139: pPlugDevId[0]=, plugDevClass[0]=, plugAction[0]=.........
ip6tables: Bad rule (does a matching rule exist in that chain?)
[ rsl_initDslIptvCfgObj ] 1828: DSL IPTV not enable or not firstInit.
[ rsl_setStorageServiceObj ] 1140: mountFlag is 3,We start usb server

killall: ushare: no process killed
uShare (version 1.1a), a lightweight UPnP A/V and DLNA Media Server.
Benjamin Zores (C) 2005-2007, for GeeXboX Team.
See http://ushare.geexbox.org/ for updates.
iptables: Bad rule (does a matching rule exist in that chain?)
iptables: Bad rule (does a matching rule exist in that chain?)
........pid 142: pPlugDevId[0]=, plugDevClass[0]=, plugAction[0]=.........
insmod: can't insert '/lib/modules/GPL_NetUSB.ko': No such file or directory
Symbol usb_register_driver is being used by a non-GPL module, which will not be allowed in the future
Please see the file Documentation/feature-removal-schedule.txt in the kernel source tree for more details.
Symbol usb_deregister is being used by a non-GPL module, which will not be allowed in the future
Please see the file Documentation/feature-removal-schedule.txt in the kernel source tree for more details.
kc 86 : run_telnetDBGDServer start
kc 223 : init_DebugD end
INFO1758: NetUSB 1.182, 00020616 : Apr 27 2012 18:31:55
INFO175A: AUTH ISOC
INFO175B:
usbcore: registered new interface driver KC NetUSB General Driver
INFO0076: init proc : PAGE_SIZE 4096
INFO17B4: Check mac address
INFO162C: infomap c0185ff8
INFO162F: sleep to wait br0 to wake up
INFO02D0: use dev Name br0
INFO1638: sleep to wait br0 end.
INFO1651: UDP_BROAD 7437 tcpPort:625868800
INFO02D0: use dev Name br0
INFO1538: tcpConnector() started...
INFO1415: Bind to br0
Erase from 7e0000 with 6cda bytes .
Write flash to 7e0000, len is 6cda
[ rsl_setLanWlanTaskScheduleObj ] 677: user control!
Erase from 7e0000 with 6d31 bytes .
Write flash to 7e0000, len is 6d31
Erase from 7e0000 with 6d84 bytes .
Write flash to 7e0000, len is 6d84
[ rsl_setLanWlanTaskScheduleObj ] 677: user control!
Erase from 7e0000 with 6d84 bytes .
Write flash to 7e0000, len is 6d84

vovan26
OpenWrt разработчик
OpenWrt разработчик
Сообщения: 2439
Зарегистрирован: 12 мар 2014, 17:20
Страна: Узбкистан
Откуда: Узбекистан

Re: Нужен дамп флеш памяти от TP-LINK TD-W8968_V1

Сообщение vovan26 » 02 ноя 2016, 12:23

Добавил раздел "config", проверь, проверь флешку, запиши и сравни с буфером.
В моем дампе boot и прошивка от производителя.
Если не пойдет, то это уже проблема не дампа.
Выход в WEB есть?
https://yadi.sk/d/dMazey1bxxnCa
Разработка ПО для роутеров на базе OpenWrt.
Желание получить ответ, предполагает умение сформулировать вопрос. (И.В. Сталин)
На общие вопросы в личке не отвечаю, задайте его на форуме.

andrey030990
Сообщения: 15
Зарегистрирован: 30 дек 2012, 16:41
Страна: Казахстан

Re: Нужен дамп флеш памяти от TP-LINK TD-W8968_V1

Сообщение andrey030990 » 03 ноя 2016, 12:40

vovan26 писал(а):Добавил раздел "config", проверь, проверь флешку, запиши и сравни с буфером.
В моем дампе boot и прошивка от производителя.
Если не пойдет, то это уже проблема не дампа.
Выход в WEB есть?
https://yadi.sk/d/dMazey1bxxnCa
В общем, подведу итог, когда прошил дампом 11.bin, единственное что не работало это WI-FI, веб интерфейс доступен по адресу 192.168.1.1.
Когда прошил дампом 12.bin веб интерфейс не доступен, WI-FI не работает.
Вот лог из консоли:
Invalid Power GPIO, just return and don't turn on Power LED


TC3162U at Tue Oct 15 16:25:32 HKT 2013 version 0.9

Memory size 32MB

Found SPI Flash 8MiB EN25Q64 at 0xb0000000

Press any key in 0.1 secs to enter boot command mode.
..

Decompress to 80020000 free_mem_ptr=80600000 free_mem_ptr_end=80700000
Uncompressing [LZMA] ... done.
Linux version 2.6.22.15 (root@localhost.localdomain) (gcc version 3.4.6) #3 Wed Nov 20 15:47:54 HKT 2013
TrendChip TC3162U SOC prom init
Enable IMEM addr=2e4000
Enable DMEM addr=361000
CPU revision is: 0000cd01
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
Built 1 zonelists. Total pages: 8128
Kernel command line: console=ttyS0 rootfstype=squashfs
Primary instruction cache 32kB, linesize 16 bytes.
Primary data cache 8kB, linesize 16 bytes.
Synthesized TLB refill handler (17 instructions).
Synthesized TLB load handler fastpath (31 instructions).
Synthesized TLB store handler fastpath (31 instructions).
Synthesized TLB modify handler fastpath (25 instructions).
PID hash table entries: 128 (order: 7, 512 bytes)
console handover: boot [early0] -> real [ttyS0]
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 28740k/32768k available (2864k kernel code, 4028k reserved, 475k data, 140k init, 0k highmem)
SLUB: Genslabs=17, HWalign=16, Order=0-1, MinObjects=4, CPUs=1, Nodes=1
Mount-cache hash table entries: 512
NET: Registered protocol family 16
tc3162_pcie_init
registering PCI controller with io_map_base unset
tc3162: system has PCI BIOS
registering PCI controller with io_map_base unset
PCI: Bridge: 0000:00:00.0
IO window: disabled.
MEM window: disabled.
PREFETCH window: disabled.
NET: Registered protocol family 8
NET: Registered protocol family 20
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
TC3162 hardware watchdog module loaded.
squashfs: version 3.0 (2006/03/15) Phillip Lougher
fuse init (API version 7.8)
io scheduler noop registered
io scheduler deadline registered (default)
ttyS0 at I/O 0xbfbf0003 (irq = 0) is a TC3162
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
PPP generic driver version 2.4.2
NET: Registered protocol family 24
Register flash device:flash0
tc3162: flash device 0x01000000 at 0x10000000
tc3162: Found SPIFLASH 8MiB EN25Q64
Creating 6 MTD partitions on "tc3162":
0x00000000-0x00020000 : "boot"
0x00020000-0x00130000 : "kernel"
0x00130000-0x007d0000 : "rootfs"
0x007d0000-0x007e0000 : "romfile"
0x007e0000-0x007f0000 : "config"
0x007f0000-0x00800000 : "radio"
Mirror/redirect action on
u32 classifier
Actions configured
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (256 buckets, 5120 max)
ctnetlink v0.93: registering with nfnetlink.
IPv4 over IPv4 tunneling driver
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 10
ip6_tables: (C) 2000-2006 Netfilter Core Team
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
NET: Registered protocol family 15
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>
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 140k freed
starting pid 106, tty '': '/etc/init.d/rcS'
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Enabling device 0000:02:03.3 (0000 -> 0002)
ehci_hcd 0000:02:03.3: EHCI Host Controller
ehci_hcd 0000:02:03.3: new USB bus registered, assigned bus number 1
ehci_hcd 0000:02:03.3: irq 24, io mem 0x1fba1000
ehci_hcd 0000:02:03.3: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
hotplug, args:usb
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
hotplug, args:usb
.....pid 142: wait the running hotplug to end itself.......
PCI: Enabling device 0000:02:03.0 (0000 -> 0002)
ohci_hcd 0000:02:03.0: OHCI Host Controller
ohci_hcd 0000:02:03.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:02:03.0: irq 25, io mem 0x1fba0000
hotplug, args:usb
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
hotplug, args:usb
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
tcledctrl: module license 'unspecified' taints kernel.
TC3162 LED Manager 0.1 init

tcledctrl version: tcledctrl V1.1.0.0 (Nov 20 2013-15:48:19).
tccicmd V1.1.0.0 (Oct 15 2013-16:29:49)
/etc/init.d/rcS: line 58: ftpd: not found
.....pid 142: wait the running hotplug to end itself.......
TC3162 Ethernet Driver NAPI version 1.5

tc3162mac V1.1.0.0 (Nov 20 2013-15:48:15)
eth0: TC3162 Ethernet address: FF:FF:FF:FF:FF:FF
ADSL DMT initialization starting
Begin AdslTaskInit.....
End AdslTaskInit
Begin to request IRQ 19
DMT:Succeed to request IRQ 19
Initializing ADSL F/W 3.16.22.0 ......
Initializing ADSL F/W ........ done
.....pid 142: wait the running hotplug to end itself.......
TSARM: TC3162 ATM SAR driver 1.5 init

tc3162sar V1.2.0.0 (Nov 20 2013-15:48:17)
register autopvc cmd to sys
TSARM: TC3162 ATM SAR driver 1.5 done
dns_init
eth0: starting interface.
TC2104ME, TC2206,
.....pid 142: wait the running hotplug to end itself.......

Please press Enter to activate this console. [ dm_readFile ] 2042: can not open xml file /var/tmp/pc/reduced_data_model.xml!, about to open file /etc/reduced_data_model.xml
.....pid 142: wait the running hotplug to end itself.......
[ oal_sys_readCfgFlash ] 509: User config length is too long - ffffffff

[ dm_loadCfg ] 2278: Read config from flash failed. ret = 1
[ dm_readFile ] 2042: can not open xml file /var/tmp/pc/default_config.xml!, about to open file /etc/default_config.xml
[ parseConfigNode ] 522: Meet unrecognized object node "PhDDNSCfg", skip the node
[ parseConfigNode ] 527: Meet unrecognized parameter node "PhDDNSCfg", skip the node
[ parseConfigNode ] 522: Meet unrecognized object node "X_TP_L2TP_Connection", skip the node
[ parseConfigNode ] 522: Meet unrecognized object node "X_TP_PPTP_Connection", skip the node
[ parseConfigNode ] 522: Meet unrecognized object node "QueueManagement", skip the node
[ parseConfigNode ] 522: Meet unrecognized object node "VoiceService", skip the node
[ parseConfigNode ] 527: Meet unrecognized parameter node "VoiceService", skip the node
[ parseConfigNode ] 522: Meet unrecognized object node "X_TP_SpeedDialCfg", skip the node
[ parseConfigNode ] 522: Meet unrecognized object node "X_TP_MultiIspDialPlan", skip the node
[ parseConfigNode ] 522: Meet unrecognized object node "X_TP_CallLogCfg", skip the node
ioctl: No such device
brctl: bridge br0: Invalid argument
[ rsl_initLanIgmpSnoopObj ] 181: We need vlan if we want igmp snooping
brctl: bridge br0: Invalid argument
brctl: bridge br0: Invalid argument
brctl: bridge br0: Invalid argument
brctl: bridge br0: Invalid argument
brctl: bridge br0: Invalid argument
.....pid 142: wait the running hotplug to end itself.......
[ wlan_getBrNamebyIfName ] 4532: Can't find the bridge for ra0

WLAN-Start wlNetlinkTool
Waiting for Wireless Events from interfaces...
SRAON
.....pid 142: wait the running hotplug to end itself.......
US bitswap on,DS bitswap on
ANNEXAIJLM
.....pid 142: wait the running hotplug to end itself.......
set try multimode number to 3 (dropmode try num 3)
iptables: Bad rule (does a matching rule exist in that chain?)
radvd starting
br2684_ioctl cmd: ATM_NEWBACKENDIF
RFC1483/2684 bridge: Interface "nas0" created sucessfully

RFC1483/2684 bridge: Communicating over ATM 0.8.35, encapsulation: LLC

qos.txtp.traffic_class = 1
br2684_ioctl cmd: ATM_SETBACKEND
RFC1483/2684 bridge: Interface configured
RFC1483/2684 bridge: RFC 1483/2684 bridge daemon started

br2684_ioctl cmd: ATM_EXTBACKENDIF
RFC1483/2684 bridge: Interface "nas0_1" created sucessfully

RFC1483/2684 bridge: RFC 1483/2684 bridge daemon started

RFC1483/2684 bridge: Daemon terminated

brctl: bridge br0: Invalid argument
iptables: Bad rule (does a matching rule exist in that chain?)
iptables: Bad rule (does a matching rule exist in that chain?)
[ getPidFromPidFile ] 112: Cann't open file: /var/run/zebra.pid.
[ getPidFromPidFile ] 112: Cann't open file: /var/run/ripd.pid.
iptables: Bad rule (does a matching rule exist in that chain?)
iptables: Bad rule (does a matching rule exist in that chain?)
iptables: Bad rule (does a matching rule exist in that chain?)
.....pid 142: wait the running hotplug to end itself.......
ip6tables: Bad rule (does a matching rule exist in that chain?)
[ rsl_initDslIptvCfgObj ] 1828: DSL IPTV not enable or not firstInit.
[ rsl_setStorageServiceObj ] 1140: mountFlag is 3,We start usb server

........pid 139: pPlugDevId[0]=, plugDevClass[0]=, plugAction[0]=.........
killall: ushare: no process killed
uShare (version 1.1a), a lightweight UPnP A/V and DLNA Media Server.
Benjamin Zores (C) 2005-2007, for GeeXboX Team.
See http://ushare.geexbox.org/ for updates.
iptables: Bad rule (does a matching rule exist in that chain?)
iptables: Bad rule (does a matching rule exist in that chain?)
........pid 142: pPlugDevId[0]=, plugDevClass[0]=, plugAction[0]=.........
insmod: can't insert '/lib/modules/GPL_NetUSB.ko': No such file or directory
Symbol usb_register_driver is being used by a non-GPL module, which will not be allowed in the future
Please see the file Documentation/feature-removal-schedule.txt in the kernel source tree for more details.
Symbol usb_deregister is being used by a non-GPL module, which will not be allowed in the future
Please see the file Documentation/feature-removal-schedule.txt in the kernel source tree for more details.
kc 86 : run_telnetDBGDServer start
kc 223 : init_DebugD end
INFO1758: NetUSB 1.182, 00020616 : Apr 27 2012 18:31:55
INFO175A: AUTH ISOC
INFO175B:
usbcore: registered new interface driver KC NetUSB General Driver
INFO0076: init proc : PAGE_SIZE 4096
INFO17B4: Check mac address
INFO162C: infomap c0185ff8
INFO162F: sleep to wait br0 to wake up
INFO02D0: use dev Name br0
INFO1638: sleep to wait br0 end.
INFO1651: UDP_BROAD 7437 tcpPort:625868800
INFO02D0: use dev Name br0
INFO1538: tcpConnector() started...
INFO1415: Bind to br0
На программаторе при чтении\стирании\сравнении с буфером пишет что все ОК.
На данный момент самый нормальный дамп 11.bin единственное на нем нету wi-fi, т.е. раздел radio он же art отсутствуют, где его взять ?

vovan26
OpenWrt разработчик
OpenWrt разработчик
Сообщения: 2439
Зарегистрирован: 12 мар 2014, 17:20
Страна: Узбкистан
Откуда: Узбекистан

Re: Нужен дамп флеш памяти от TP-LINK TD-W8968_V1

Сообщение vovan26 » 03 ноя 2016, 13:27

ЛАН работает, только wifi нет?
По какому IP входил раньше?
Прошей 11.bin, заведи роутер, сконфигурируй и сними дамп,выложи. Про art потом. Какой используется радиомодуль?
P.S.
Только давай быстрее закончим эту "филармонию", а то это отвлекает меня от основной работы, а я так распыляться не могу.
Разработка ПО для роутеров на базе OpenWrt.
Желание получить ответ, предполагает умение сформулировать вопрос. (И.В. Сталин)
На общие вопросы в личке не отвечаю, задайте его на форуме.

Ответить

Вернуться в «TD-W8951ND»