1

Temat: TP-Link TL-WDR4300 U-Boot 1.1.4 pepe2k - reanimacja

Witam router TL-WDR4300 U-Boot 1.1.4 pepe2k z Gargoyle na pokładzie leżał sprawny w kartonie dłuższy czas. Dziś chciałem zainstalować LEDE lecz nie pamiętałem adresu IP jaki miałem ostatnio (trochę zmian było wrrr).
Próbowałem Tryb failsafe, oraz tryb ratunkowy U-Boota 1.1.4
"możliwość przerwania ładowania systemu i uruchomienia trybu www lub konsoli i konsoli sieciowej przy pomocy przycisku “reset” dostępnego w routerach, wystarczy przed podłączeniem zasilania wcisnąć przycisk i trzymać po włączeniu przez około (czas można zliczyć - dioda(y) LED zapalają się co sekundę kiedy przycisk jest wciśnięty):
    3 sekundy żeby uruchomić tryb www
    5 sekund żeby uruchomić konsolę U-Boot
    7 sekund żeby uruchomić konsolę sieciową U-Boot"

Nie udaje mi się wejść w powyższe tryby, nie mogę przywrócić domyślnej konfiguracji routera z adresem 192.168.1.1. Nie wiem też czy router jest nadal sprawny?.

Podłączyłem serial, poniżej log. Jakieś pomysły co mogę jeszcze zrobić?


*****************************************
*      U-Boot 1.1.4  (Nov  1 2013)      *
*****************************************

DB120 (AR9344) U-Boot for TL-WDR3600/43x0

DRAM:  128 MB
FLASH: Winbond W25Q128 (16 MB)

LED on during eth initialization...

Hit any key to stop autobooting:  0

Booting image at: 0x9F020000

   Image name:   OpenWrt r49398
   Image type:   MIPS Linux Kernel Image (lzma compressed)
   Data size:    1181612 Bytes = 1.1 MB
   Load address: 0x80060000
   Entry point:  0x80060000

Uncompressing kernel image... OK!
Starting kernel...

[    0.000000] Linux version 3.18.36 (cezary@eko.one.pl) (gcc version 4.8.3 (Ope                                                                                                 nWrt/Linaro GCC 4.8-2014.04 unknown) ) #15 Sun Jul 10 09:20:44 CEST 2016
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[    0.000000] SoC: Atheros AR9344 rev 2
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x07ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x07ffffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x07ffffff]
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32                                                                                                  bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pag                                                                                                 es: 32512
[    0.000000] Kernel command line:  board=TL-WDR4300  console=ttyS0,115200 root                                                                                                 fstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 125788K/131072K available (2595K kernel code, 130K rwdata                                                                                                 , 544K rodata, 240K init, 193K bss, 5284K reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Clocks: CPU:700.000MHz, DDR:450.000MHz, AHB:225.000MHz, Ref:40.00                                                                                                 0MHz
[    0.000000] Calibrating delay loop... 348.97 BogoMIPS (lpj=1744896)
[    0.060000] pid_max: default: 32768 minimum: 301
[    0.060000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.080000] NET: Registered protocol family 16
[    0.080000] MIPS: machine is TP-LINK TL-WDR3600/4300/4310
[    0.090000] registering PCI controller with io_map_base unset
[    0.320000] PCI host bridge to bus 0000:00
[    0.320000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[    0.330000] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.330000] pci_bus 0000:00: No busn resource found for root bus, will use [b                                                                                                 us 00-ff]
[    0.340000] pci 0000:00:00.0: invalid calibration data
[    0.340000] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1001ffff 64bi                                                                                                 t]
[    0.350000] pci 0000:00:00.0: BAR 6: assigned [mem 0x10020000-0x1002ffff pref                                                                                                 ]
[    0.350000] pci 0000:00:00.0: using irq 40 for pin 1
[    0.360000] Switched to clocksource MIPS
[    0.360000] NET: Registered protocol family 2
[    0.370000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.370000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.380000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.390000] TCP: reno registered
[    0.390000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.400000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.400000] NET: Registered protocol family 1
[    0.410000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.420000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.430000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORIT                                                                                                 Y) (c) 2001-2006 Red Hat, Inc.
[    0.440000] msgmni has been set to 245
[    0.440000] io scheduler noop registered
[    0.450000] io scheduler deadline registered (default)
[    0.450000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.460000] console [ttyS0] disabled
[    0.490000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 250                                                                                                 0000) is a 16550A
[    0.500000] console [ttyS0] enabled
[    0.500000] console [ttyS0] enabled
[    0.500000] bootconsole [early0] disabled
[    0.500000] bootconsole [early0] disabled
[    0.510000] m25p80 spi0.0: found w25q128, expected m25p80
[    0.520000] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    0.520000] 5 tp-link partitions found on MTD device spi0.0
[    0.530000] Creating 5 MTD partitions on "spi0.0":
[    0.530000] 0x000000000000-0x000000020000 : "u-boot"
[    0.540000] 0x000000020000-0x0000001409ac : "kernel"
[    0.550000] 0x0000001409ac-0x000000ff0000 : "rootfs"
[    0.550000] mtd: device 2 (rootfs) set to be root filesystem
[    0.560000] 1 squashfs-split partitions found on MTD device rootfs
[    0.560000] 0x000000700000-0x000000ff0000 : "rootfs_data"
[    0.570000] 0x000000ff0000-0x000001000000 : "art"
[    0.570000] 0x000000020000-0x000000ff0000 : "firmware"
[    0.600000] switch0: Atheros AR8327 rev. 2 switch registered on ag71xx-mdio.0
[    0.670000] libphy: ag71xx_mdio: probed
[    1.260000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd0                                                                                                 33, driver=Atheros AR8216/AR8236/AR8316]
[    1.270000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[    1.280000] TCP: cubic registered
[    1.280000] NET: Registered protocol family 17
[    1.280000] bridge: automatic filtering via arp/ip/ip6tables has been depreca                                                                                                 ted. Update your scripts to load br_netfilter if you need this.
[    1.300000] Bridge firewalling registered
[    1.300000] 8021q: 802.1Q VLAN Support v1.8
[    1.310000] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    1.320000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    1.320000] Freeing unused kernel memory: 240K (80394000 - 803d0000)
[    1.850000] SQUASHFS error: xz decompression failed, data probably corrupt
[    1.850000] SQUASHFS error: squashfs_read_data failed to read block 0x83a86
[    1.880000] SQUASHFS error: xz decompression failed, data probably corrupt
[    1.880000] SQUASHFS error: squashfs_read_data failed to read block 0x83a86
[    1.890000] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00                                                                                                 00000a
[    1.890000]
[    1.890000] ---[ end Kernel panic - not syncing: Attempted to kill init! exit                                                                                                 code=0x0000000a
[    1.890000]
[   82.550000] random: nonblocking pool is initialized
TP-Link TL-WDR4300 Mod, CPU 700MHz, Flash 16 MB, Gargoyle 1.5.11.4, extroot + dysk zewnętrzny Samsung (S2), kamerka MS LifeCam HD-5000
TP-Link TL-WR1043ND Mod, RAM 64 MB, chłodzenie pasywne, Gargoyle 1.5.10.14, extroot, kamerka Logitech HD Webcam C270

2

Odp: TP-Link TL-WDR4300 U-Boot 1.1.4 pepe2k - reanimacja

Masz błąd systemu squashfs. Wgraj jeszcze raz skoro masz serial, jeżeli się nie uda uruchomić po wgraniu to poleciał flash.

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

3

Odp: TP-Link TL-WDR4300 U-Boot 1.1.4 pepe2k - reanimacja

Ok serial mam, ale jak wgrać? czytałem że powinienem przerwać komendą tpl, ale u mnie to co widzę w Putty chyba jakoś inaczej wygląda jak na poradniku yotube

TP-Link TL-WDR4300 Mod, CPU 700MHz, Flash 16 MB, Gargoyle 1.5.11.4, extroot + dysk zewnętrzny Samsung (S2), kamerka MS LifeCam HD-5000
TP-Link TL-WR1043ND Mod, RAM 64 MB, chłodzenie pasywne, Gargoyle 1.5.10.14, extroot, kamerka Logitech HD Webcam C270

4

Odp: TP-Link TL-WDR4300 U-Boot 1.1.4 pepe2k - reanimacja

krynio napisał/a:

Ok serial mam, ale jak wgrać? czytałem że powinienem przerwać komendą tpl, ale u mnie to co widzę w Putty chyba jakoś inaczej wygląda jak na poradniku yotube

Skoro masz tam mój kod, to nie żadne "tpl" tylko zgodnie z tym, co na ekranie "Hit any key to stop autobooting:"... dowolny klawisz. Potem "httpd" i odwiedź w przeglądarce 192.168.1.1.

5

Odp: TP-Link TL-WDR4300 U-Boot 1.1.4 pepe2k - reanimacja

Ok, poradziłem sobie :-), mega zadowolony. Mając podłączony serial / Putty (stosując wciśnięcie przycisku reset zgodnie z instrukcją) ładnie widać odliczanie w sekundach i to co się dzieje. Tryb httpd zadziałał. Powiedz mi na przyszłość, bez względu na to jaki adres IP będzie ustawiony na routerze to tryb ratunkowy U-Boot zawsze będzie 192.168.1.1 ?

TP-Link TL-WDR4300 Mod, CPU 700MHz, Flash 16 MB, Gargoyle 1.5.11.4, extroot + dysk zewnętrzny Samsung (S2), kamerka MS LifeCam HD-5000
TP-Link TL-WR1043ND Mod, RAM 64 MB, chłodzenie pasywne, Gargoyle 1.5.10.14, extroot, kamerka Logitech HD Webcam C270

6

Odp: TP-Link TL-WDR4300 U-Boot 1.1.4 pepe2k - reanimacja

krynio napisał/a:

Ok, poradziłem sobie :-), mega zadowolony. Mając podłączony serial / Putty (stosując wciśnięcie przycisku reset zgodnie z instrukcją) ładnie widać odliczanie w sekundach i to co się dzieje. Tryb httpd zadziałał. Powiedz mi na przyszłość, bez względu na to jaki adres IP będzie ustawiony na routerze to tryb ratunkowy U-Boot zawsze będzie 192.168.1.1 ?

W U-Boot adres IP urządzenia ustawia się w zmiennych środowiskowych (IP urządzenia przechowywany jest w "ipaddr"), to co masz w systemie (OpenWrt/LEDE) nie ma znaczenia.

Tak w ogóle, to używasz bardzo starej wersji kodu, dobrze by było zrobić aktualizację. Tylko po www nie pójdzie, bo obrazy są większe, musiałbyś ręcznie z wykorzystaniem tftp, zgodnie z https://github.com/pepe2k/u-boot_mod#st … structions

7

Odp: TP-Link TL-WDR4300 U-Boot 1.1.4 pepe2k - reanimacja

Wczoraj chciałem zaktualizować oprogramowanie w swoim drugim ruterze  TP-Link TL-WDR4300v1, ale coś poszło nie tak i teraz mam tylko takie odczyty:

To z putty

DRAM:  128 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

PCIe Reset OK!!!!!!
In:    serial
Out:   serial
Err:   serial
Net:   ag934x_enet_initialize...
No valid address in Flash. Using fixed address
wasp  reset mask:c03300
WASP  ----> S17 PHY *
: cfg1 0x7 cfg2 0x7114
eth0: ba:be:fa:ce:08:41
athrs17_reg_init: complete
eth0 up
eth0
Autobooting in 1 seconds
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... Too big uncompressed streamLZMA ERROR 1 - must RESET board to recover

U-Boot 1.1.4 (Jun 17 2013 - 12:31:57)

U-boot DB120


DRAM:  128 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

PCIe Reset OK!!!!!!
In:    serial
Out:   serial
Err:   serial
Net:   ag934x_enet_initialize...
No valid address in Flash. Using fixed address
wasp  reset mask:c03300
WASP  ----> S17 PHY *
: cfg1 0x7 cfg2 0x7114
eth0: ba:be:fa:ce:08:41
athrs17_reg_init: complete
eth0 up
eth0
dup 1 speed 1000
Using eth0 device
TFTP from server 192.168.0.66; our IP address is 192.168.0.86
Filename 'wdr4300v1_tp_recovery.bin'.
Load address: 0x80060000
Loading: T #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ###############
done
Bytes transferred = 8060928 (7b0000 hex)
original_product_id = 2b313238
original_product_ver = 2b313238
recovery_product_id = 43000001
recovery_product_ver = 01
auto update firmware: product id verify fail!
Autobooting in 1 seconds
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... Too big uncompressed streamLZMA ERROR 1 - must RESET board to recover

U-Boot 1.1.4 (Jun 17 2013 - 12:31:57)

U-boot DB120


DRAM:  128 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

PCIe Reset OK!!!!!!
In:    serial
Out:   serial
Err:   serial
Net:   ag934x_enet_initialize...
No valid address in Flash. Using fixed address
wasp  reset mask:c03300
WASP  ----> S17 PHY *
: cfg1 0x7 cfg2 0x7114
eth0: ba:be:fa:ce:08:41
athrs17_reg_init: complete
eth0 up
eth0
Autobooting in 1 seconds
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... ERROR: LzmaDecode.c, 543

Decoding error = 1
LZMA ERROR 1 - must RESET board to recover

U-Boot 1.1.4 (Jun 17 2013 - 12:31:57)

U-boot DB120


DRAM:  128 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

PCIe Reset OK!!!!!!
In:    serial
Out:   serial
Err:   serial
Net:   ag934x_enet_initialize...
No valid address in Flash. Using fixed address
wasp  reset mask:c03300
WASP  ----> S17 PHY *
: cfg1 0x7 cfg2 0x7114
eth0: ba:be:fa:ce:08:41
athrs17_reg_init: complete
eth0 up
eth0
Autobooting in 1 seconds
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... ERROR: LzmaDecode.c, 543

Decoding error = 1
LZMA ERROR 1 - must RESET board to recover

U-Boot 1.1.4 (Jun 17 2013 - 12:31:57)

U-boot DB120


DRAM:  128 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

PCIe Reset OK!!!!!!
In:    serial
Out:   serial
Err:   serial
Net:   ag934x_enet_initialize...
No valid address in Flash. Using fixed address
wasp  reset mask:c03300
WASP  ----> S17 PHY *
: cfg1 0x7 cfg2 0x7114
eth0: ba:be:fa:ce:08:41
athrs17_reg_init: complete
eth0 up
eth0
Autobooting in 1 seconds
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... ERROR: LzmaDecode.c, 543

Decoding error = 1
LZMA ERROR 1 - must RESET board to recover

U-Boot 1.1.4 (Jun 17 2013 - 12:31:57)

U-boot DB120


DRAM:  128 MB
id read 0x100000ff
flash size 8MB, sector count = 128



to Log viewer z Tftd32


Connection received from 192.168.0.86 on port 1759 [07/05 09:43:07.078]
Read request for file <wdr4300v1_tp_recovery.bin>. Mode octet [07/05 09:43:07.078]
OACK: <timeout=5,> [07/05 09:43:07.078]
Using local port 1288 [07/05 09:43:07.078]
<wdr4300v1_tp_recovery.bin>: sent 15745 blks, 8060928 bytes in 3 s. 0 blk resent [07/05 09:43:10.312]
Connection received from 192.168.0.86 on port 2995 [07/05 09:43:51.750]
Read request for file <wdr4300v1_tp_recovery.bin>. Mode octet [07/05 09:43:51.750]
OACK: <timeout=5,> [07/05 09:43:51.750]
Using local port 1302 [07/05 09:43:51.750]
<wdr4300v1_tp_recovery.bin>: sent 15745 blks, 8060928 bytes in 4 s. 0 blk resent [07/05 09:43:55.031]



Będzie można go jeszcze zreanimować?

8

Odp: TP-Link TL-WDR4300 U-Boot 1.1.4 pepe2k - reanimacja

original_product_id = 2b313238
original_product_ver = 2b313238
recovery_product_id = 43000001
recovery_product_ver = 01
auto update firmware: product id verify fail!

Wygląda tak jak by zmienne uboota poleciały. Skoro masz konsolę szeregową to wgraj normalnie przez uboota: https://wiki.openwrt.org/toh/tp-link/tl … ial_method

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

9 (edytowany przez okra 2018-05-07 10:37:53)

Odp: TP-Link TL-WDR4300 U-Boot 1.1.4 pepe2k - reanimacja

Dalej to samo, a akie oprogramowanie najlepiej pobrać do tej reaktywacji?


U-Boot 1.1.4 (Jun 17 2013 - 12:31:57)

U-boot DB120


DRAM:  128 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

PCIe Reset OK!!!!!!
In:    serial
Out:   serial
Err:   serial
Net:   ag934x_enet_initialize...
No valid address in Flash. Using fixed address
wasp  reset mask:c03300
WASP  ----> S17 PHY *
: cfg1 0x7 cfg2 0x7114
eth0: ba:be:fa:ce:08:41
athrs17_reg_init: complete
eth0 up
eth0
Autobooting in 1 seconds
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... ERROR: LzmaDecode.c, 543

Decoding error = 1
LZMA ERROR 1 - must RESET board to recover

U-Boot 1.1.4 (Jun 17 2013 - 12:31:57)

U-boot DB120


DRAM:  128 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

PCIe Reset OK!!!!!!
In:    serial
Out:   serial
Err:   serial
Net:   ag934x_enet_initialize...
No valid address in Flash. Using fixed address
wasp  reset mask:c03300
WASP  ----> S17 PHY *
: cfg1 0x7 cfg2 0x7114
eth0: ba:be:fa:ce:08:41
athrs17_reg_init: complete
eth0 up
eth0
Autobooting in 1 seconds
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... ERROR: LzmaDecode.c, 543

Decoding error = 1
LZMA ERROR 1 - must RESET board to recover

U-Boot 1.1.4 (Jun 17 2013 - 12:31:57)

U-boot DB120


DRAM:  128 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

PCIe Reset OK!!!!!!
In:    serial
Out:   serial
Err:   serial
Net:   ag934x_enet_initialize...
No valid address in Flash. Using fixed address
wasp  reset mask:c03300
WASP  ----> S17 PHY *
: cfg1 0x7 cfg2 0x7114
eth0: ba:be:fa:ce:08:41
athrs17_reg_init: complete
eth0 up
eth0
Autobooting in 1 seconds
db12x> tftpboot 0x81000000 openwrt.bin
dup 1 speed 1000
Using eth0 device
TFTP from server 192.168.1.100; our IP address is 192.168.1.111
Filename 'openwrt.bin'.
Load address: 0x81000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ###############
done
Bytes transferred = 8060928 (7b0000 hex)
db12x> erase 0x9f020000 + 7c0000
Usage:
erase   - erase FLASH memory

db12x> cp.b 0x81000000 0x9f020000 0x7c0000
Copy to Flash... write addr: 9f020000
done
db12x> reset

U-Boot 1.1.4 (Jun 17 2013 - 12:31:57)

U-boot DB120


DRAM:  128 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

PCIe Reset OK!!!!!!
In:    serial
Out:   serial
Err:   serial
Net:   ag934x_enet_initialize...
No valid address in Flash. Using fixed address
wasp  reset mask:c03300
WASP  ----> S17 PHY *
: cfg1 0x7 cfg2 0x7114
eth0: ba:be:fa:ce:08:41
athrs17_reg_init: complete
eth0 up
eth0
Autobooting in 1 seconds
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... ERROR: LzmaDecode.c, 543

Decoding error = 1
LZMA ERROR 1 - must RESET board to recover

U-Boot 1.1.4 (Jun 17 2013 - 12:31:57)

U-boot DB120


DRAM:  128 MB
id read 0x100000ff
flash size 8MB, sector count = 128
Flash:  8 MB
Using default environment

10

Odp: TP-Link TL-WDR4300 U-Boot 1.1.4 pepe2k - reanimacja

okra napisał/a:

Dalej to samo, a akie oprogramowanie najlepiej pobrać do tej reaktywacji?

Kombinowałeś z U-Bootem na tym routerze?

11

Odp: TP-Link TL-WDR4300 U-Boot 1.1.4 pepe2k - reanimacja

Pokaz pełny log z tego jak wgrywasz

Dowolne, oryginalne lub openwrt z factory w nazwie.

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

12

Odp: TP-Link TL-WDR4300 U-Boot 1.1.4 pepe2k - reanimacja

pepe2k napisał/a:
okra napisał/a:

Dalej to samo, a akie oprogramowanie najlepiej pobrać do tej reaktywacji?

Kombinowałeś z U-Bootem na tym routerze?

Nie

13

Odp: TP-Link TL-WDR4300 U-Boot 1.1.4 pepe2k - reanimacja

okra napisał/a:
pepe2k napisał/a:
okra napisał/a:

Dalej to samo, a akie oprogramowanie najlepiej pobrać do tej reaktywacji?

Kombinowałeś z U-Bootem na tym routerze?

Nie

Bytes transferred = 8060928 (7b0000 hex)
db12x> erase 0x9f020000 + 7c0000
Usage:
erase   - erase FLASH memory

Widzisz swój błąd? Bez spacji po '+'.

14

Odp: TP-Link TL-WDR4300 U-Boot 1.1.4 pepe2k - reanimacja

Dzięki wszystkim za pomoc, ruterek już smiga smile

15 (edytowany przez okra 2018-05-09 10:30:43)

Odp: TP-Link TL-WDR4300 U-Boot 1.1.4 pepe2k - reanimacja

pepe2k napisał/a:
okra napisał/a:
pepe2k napisał/a:

Kombinowałeś z U-Bootem na tym routerze?

Nie

Bytes transferred = 8060928 (7b0000 hex)
db12x> erase 0x9f020000 + 7c0000
Usage:
erase   - erase FLASH memory

Widzisz swój błąd? Bez spacji po '+'.

Teraz wiem już dlaczego miałem ten błąd, w przeglądarce google przetłumaczyłem to na polski i wtedy robi spację na nietłumaczonym jest bez, ja robiłem na zasadzie kopiuj wklej smile

16

Odp: TP-Link TL-WDR4300 U-Boot 1.1.4 pepe2k - reanimacja

Router i U-Boot jak w temacie, z luci-17.01-snapshot-r3322-5feb4f0-ar71xx, bez extroot.

Po reboocie z poziomu konsoli nie włącza się. Led od zasilania pali się cały czas a pozostałe ledy w powtarzalnej sekwencji zapalają się i gasną. Mam wrażenie jakby był boot loop.
Nic nie zmieniałem, nie instalowałem lecz jedyne co mi przychodzi na myśl to brak miejsca. Nie pamiętam dokładnie, ale miejsca wolnego było mniej niż 1 MB.

Podłączę się przez serial, zakładam że się uda.
Proszę o przykładowe polecenia, co mogę sprawdzić, zrobić żeby naprawić i nie instalować wszystkiego od nowa? O ile to będzie możliwe.

TP-Link TL-WDR4300 Mod, CPU 700MHz, Flash 16 MB, Gargoyle 1.5.11.4, extroot + dysk zewnętrzny Samsung (S2), kamerka MS LifeCam HD-5000
TP-Link TL-WR1043ND Mod, RAM 64 MB, chłodzenie pasywne, Gargoyle 1.5.10.14, extroot, kamerka Logitech HD Webcam C270

17

Odp: TP-Link TL-WDR4300 U-Boot 1.1.4 pepe2k - reanimacja

Uruchom w failsafe, zrób mount_root i wywal coś jeżeli zapchałeś flash.

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

18

Odp: TP-Link TL-WDR4300 U-Boot 1.1.4 pepe2k - reanimacja

Podłączyłem serial lecz nie mogę dostać się na router.
Nie wiem czy aż tak padł czy zapomniałem jak to się robiło.

1. TX mam podłączyć do RX czy też do TX
2. w Putty wybieram Serial zmieniam na mój COM3 i speed 9600 i coś jeszcze?
3. Jaka jest kolejność czynności do wykonania?
4. Wystarczy zasilanie tylko z adaptera usb czy mam jeszcze podłączyć zasilanie 230V jeśli tak to w którym momencie?

TP-Link TL-WDR4300 Mod, CPU 700MHz, Flash 16 MB, Gargoyle 1.5.11.4, extroot + dysk zewnętrzny Samsung (S2), kamerka MS LifeCam HD-5000
TP-Link TL-WR1043ND Mod, RAM 64 MB, chłodzenie pasywne, Gargoyle 1.5.10.14, extroot, kamerka Logitech HD Webcam C270

19

Odp: TP-Link TL-WDR4300 U-Boot 1.1.4 pepe2k - reanimacja

1. rx do tx, rx do rx, gnd do gnd
2. 115200 a nie 9600. I com taki jak masz w systemie
3. kolejność czego?
4. oczywiście że masz router podłączyć od prądu. Niby z czego miał by być zasilany?

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

20

Odp: TP-Link TL-WDR4300 U-Boot 1.1.4 pepe2k - reanimacja

hmm, podłączyłem także VCC do VCC mogłem go uwalić ?

TP-Link TL-WDR4300 Mod, CPU 700MHz, Flash 16 MB, Gargoyle 1.5.11.4, extroot + dysk zewnętrzny Samsung (S2), kamerka MS LifeCam HD-5000
TP-Link TL-WR1043ND Mod, RAM 64 MB, chłodzenie pasywne, Gargoyle 1.5.10.14, extroot, kamerka Logitech HD Webcam C270

21

Odp: TP-Link TL-WDR4300 U-Boot 1.1.4 pepe2k - reanimacja

krynio napisał/a:

hmm, podłączyłem także VCC do VCC mogłem go uwalić ?

Tak.

22

Odp: TP-Link TL-WDR4300 U-Boot 1.1.4 pepe2k - reanimacja

Wiec miałem trochę szczęścia, chyba wink
Poniżej log z uruchamiania, widać coś co może być nie tak?

*****************************************
*      U-Boot 1.1.4  (Nov  1 2013)      *
*****************************************

DB120 (AR9344) U-Boot for TL-WDR3600/43x0

DRAM:  128 MB
FLASH: Winbond W25Q128 (16 MB)

LED on during eth initialization...

Hit any key to stop autobooting:  0

Booting image at: 0x9F020000

   Image name:   OpenWrt r3566-98c003
   Image type:   MIPS Linux Kernel Image (lzma compressed)
   Data size:    1359296 Bytes = 1.3 MB
   Load address: 0x80060000
   Entry point:  0x80060000

Uncompressing kernel image... OK!
Starting kernel...

[    0.000000] Linux version 4.4.93 (cezary@eko.one.pl) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3103-1b51a49) ) #0 Wed Oct 18 20:14:25 2017
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[    0.000000] SoC: Atheros AR9344 rev 2
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] No valid device tree found, continuing without
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line:  board=TL-WDR4300  console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 124944K/131072K available (3101K kernel code, 163K rwdata, 776K rodata, 304K init, 205K bss, 6128K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Clocks: CPU:700.000MHz, DDR:450.000MHz, AHB:225.000MHz, Ref:40.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5460744132 ns
[    0.000007] sched_clock: 32 bits at 350MHz, resolution 2ns, wraps every 6135667710ns
[    0.008288] Calibrating delay loop... 348.97 BogoMIPS (lpj=1744896)
[    0.071194] pid_max: default: 32768 minimum: 301
[    0.076210] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.083254] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.092894] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.103407] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.110992] NET: Registered protocol family 16
[    0.116969] MIPS: machine is TP-LINK TL-WDR3600/4300/4310
[    0.125257] registering PCI controller with io_map_base unset
[    0.364074] PCI host bridge to bus 0000:00
[    0.368441] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[    0.375792] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.381715] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.388949] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.397441] pci 0000:00:00.0: invalid calibration data
[    0.403306] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1001ffff 64bit]
[    0.411098] pci 0000:00:00.0: BAR 6: assigned [mem 0x10020000-0x1002ffff pref]
[    0.418816] pci 0000:00:00.0: using irq 40 for pin 1
[    0.424858] clocksource: Switched to clocksource MIPS
[    0.431359] NET: Registered protocol family 2
[    0.436779] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.444197] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.451006] TCP: Hash tables configured (established 1024 bind 1024)
[    0.457850] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.464074] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.471007] NET: Registered protocol family 1
[    0.479690] Crashlog allocated RAM at address 0x3f00000
[    0.498170] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.504380] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.517044] io scheduler noop registered
[    0.521221] io scheduler deadline registered (default)
[    0.526940] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.536062] console [ttyS0] disabled
[    0.559942] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 2500000) is a 16550A
[    0.569129] console [ttyS0] enabled
[    0.569129] console [ttyS0] enabled
[    0.576545] bootconsole [early0] disabled
[    0.576545] bootconsole [early0] disabled
[    0.589391] m25p80 spi0.0: found w25q128, expected m25p80
[    0.594931] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    0.600628] 5 tp-link partitions found on MTD device spi0.0
[    0.606320] Creating 5 MTD partitions on "spi0.0":
[    0.611179] 0x000000000000-0x000000020000 : "u-boot"
[    0.617448] 0x000000020000-0x00000016bfc0 : "kernel"
[    0.623851] 0x00000016bfc0-0x000000ff0000 : "rootfs"
[    0.630319] mtd: device 2 (rootfs) set to be root filesystem
[    0.636131] 1 squashfs-split partitions found on MTD device rootfs
[    0.642408] 0x0000003e0000-0x000000ff0000 : "rootfs_data"
[    0.649287] 0x000000ff0000-0x000001000000 : "art"
[    0.655528] 0x000000020000-0x000000ff0000 : "firmware"
[    0.669122] switch0: Atheros AR8327 rev. 2 switch registered on ag71xx-mdio.0
[    1.275797] libphy: ag71xx_mdio: probed
[    1.866242] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd033, driver=Atheros AR8216/AR8236/AR8316]
[    1.877605] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[    1.885735] NET: Registered protocol family 10
[    1.893450] NET: Registered protocol family 17
[    1.898084] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.910998] 8021q: 802.1Q VLAN Support v1.8
[    1.920377] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    1.928860] Freeing unused kernel memory: 304K
[    2.308206] SQUASHFS error: xz decompression failed, data probably corrupt
[    2.315214] SQUASHFS error: squashfs_read_data failed to read block 0x56efe
[    2.340551] SQUASHFS error: xz decompression failed, data probably corrupt
[    2.347553] SQUASHFS error: squashfs_read_data failed to read block 0x56efe
[    2.354683] Starting init: /etc/preinit exists but couldn't execute it (error -14)
[    2.362560] Starting init: /sbin/init exists but couldn't execute it (error -14)
[    2.370229] Starting init: /bin/sh exists but couldn't execute it (error -14)
[    2.377499] Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
[    2.391537] Rebooting in 1 seconds..
TP-Link TL-WDR4300 Mod, CPU 700MHz, Flash 16 MB, Gargoyle 1.5.11.4, extroot + dysk zewnętrzny Samsung (S2), kamerka MS LifeCam HD-5000
TP-Link TL-WR1043ND Mod, RAM 64 MB, chłodzenie pasywne, Gargoyle 1.5.10.14, extroot, kamerka Logitech HD Webcam C270

23

Odp: TP-Link TL-WDR4300 U-Boot 1.1.4 pepe2k - reanimacja

Rozwalony jest obraz we flash.

Wgraj jeszcze raz przez bootloader lub tryb awaryjny uboota.

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

24

Odp: TP-Link TL-WDR4300 U-Boot 1.1.4 pepe2k - reanimacja

Cezary napisał/a:

Rozwalony jest obraz we flash.

Wgraj jeszcze raz przez bootloader lub tryb awaryjny uboota.

Rozumiem że to się wiąże z instalacją i konfiguracją wszystkiego od nowa?

TP-Link TL-WDR4300 Mod, CPU 700MHz, Flash 16 MB, Gargoyle 1.5.11.4, extroot + dysk zewnętrzny Samsung (S2), kamerka MS LifeCam HD-5000
TP-Link TL-WR1043ND Mod, RAM 64 MB, chłodzenie pasywne, Gargoyle 1.5.10.14, extroot, kamerka Logitech HD Webcam C270

25

Odp: TP-Link TL-WDR4300 U-Boot 1.1.4 pepe2k - reanimacja

Tak.

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