26

Odp: Brak kontaktu z tp link tl-wr740n

Możesz tak samo, możesz przez gui/sysupgrade, byle by bez zachowania konfiguracji. Linka już dostałeś.

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

27

Odp: Brak kontaktu z tp link tl-wr740n

Napiszę tak. Jesteś NAJLEPSZY NA ŚWIECIE. Nie wiem jak Ci dziękować.

28

Odp: Brak kontaktu z tp link tl-wr740n

czesc. mam takowy router. kiedys mi wyskoczylo z niego zasilanie przy flashu... wlaczam. swiesi sie tylko dioda power.
da sie go jakos odratowac? rs232?

ZyXEL NBG6716 (Gargoyle by obsy)

29

Odp: Brak kontaktu z tp link tl-wr740n

Tak, konwerter szeregowy. Jeszcze zależy który to 740, bo niektóre wersje musisz lutować żeby w ogóle dostać się do seriala a jest tak to małe czasami szkoda zachodu.

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

30

Odp: Brak kontaktu z tp link tl-wr740n

[    8.050000] VFS: Cannot open root device "(null)" or unknown-block(31,2)
[    8.060000] Please append a correct "root=" boot option; here are the available partitions:
[    8.060000] 1f00             128 mtdblock0  (driver?)
[    8.070000] 1f01             955 mtdblock1  (driver?)
[    8.070000] 1f02            2948 mtdblock2  (driver?)
[    8.080000] 1f03             512 mtdblock3  (driver?)
[    8.080000] 1f04              64 mtdblock4  (driver?)
[    8.090000] 1f05            3904 mtdblock5  (driver?)
[    8.090000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2)

co dalej trzeba zdziałać? jak kliknę 'f' to nie wchodzi dalej. czy jakos to inaczej sie robiło?

ZyXEL NBG6716 (Gargoyle by obsy)

31

Odp: Brak kontaktu z tp link tl-wr740n

Zaraz na samym początku masz wpisać tpl w odpowiednim momencie jak sie "Autobooting..." wyświetla. I masz 1s tylko na to.

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

32

Odp: Brak kontaktu z tp link tl-wr740n

poszło. ktory obraz sysupgrade czy factory wgrywamy?
obraz LANem sie podsylalo? ostani raz to robiłem 4 lata temu chyba.. :

ZyXEL NBG6716 (Gargoyle by obsy)

33

Odp: Brak kontaktu z tp link tl-wr740n

factory, może być lan.

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

34 (edytowany przez COVERek 2015-12-12 14:46:31)

Odp: Brak kontaktu z tp link tl-wr740n

$ atftp --trace --option "timeout 1" --option "mode octet" --put --local-file g.bin 192.168.1.111 (lub 192.168.1.100)
Trace mode on.
Option timeout = 1
Option mode = octet
sent WRQ <file: g.bin, mode: octet <timeout: 1>>
timeout: retrying...

na routerze mam

hornet> printenv
bootargs=console=ttyS0,115200 root=31:02 rootfstype=squashfs init=/sbin/init mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),2752k(rootfs),896k(uImage),64k(NVRAM),64k(ART)
bootcmd=bootm 0x9f020000
bootdelay=1
baudrate=115200
ethaddr=0xba:0xbe:0xfa:0xce:0x07:0x41
ipaddr=192.168.1.111
serverip=192.168.1.100
stdin=serial
stdout=serial
stderr=serial
ethact=eth1

Environment size: 362/65532 bytes

czego jeszcze brakuje? ;/

ZyXEL NBG6716 (Gargoyle by obsy)

35

Odp: Brak kontaktu z tp link tl-wr740n

Ty masz serwer atftpd zainstalować, to z poziomu uboota ładujesz obraz z serwera tftp. Weź na eko1 lub wiki openwrt, opisane jest to, większość tplinków robi sie w identyczny sposób.

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

36

Odp: Brak kontaktu z tp link tl-wr740n

hornet> tftpboot 0x80000000 code.bin
dup 1 speed 1000
Using eth1 device
TFTP from server 192.168.1.100; our IP address is 192.168.1.111
Filename 'code.bin'.
Load address: 0x80000000
Loading: #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     #################################################################
     ######################################################
done
Bytes transferred = 3932160 (3c0000 hex)
hornet> erase 0x9f020000 +0x3c0000

First 0x2 last 0x3d sector size 0x10000
  61
Erased 60 sectors
hornet> cp.b 0x81000000 0x9f020000 0x3c0000
Copy to Flash... write addr: 9f020000
done
hornet> bootm 9f020000
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 3.3.8 (cezary@eko.one.pl) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #62 Sat Sep 27 08:30:21 CEST 2014
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR9330 rev 1
[    0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00002000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00002000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  board=TL-WR741ND-v4 console=ttyATH0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    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] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 28936k/32768k available (2256k kernel code, 3832k reserved, 425k data, 220k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 512
[    0.090000] NET: Registered protocol family 16
[    0.090000] gpiochip_add: registered GPIOs 0 to 29 on device: ath79
[    0.100000] MIPS: machine is TP-LINK TL-WR741ND v4
[    0.520000] bio: create slab <bio-0> at 0
[    0.530000] Switching to clocksource MIPS
[    0.530000] NET: Registered protocol family 2
[    0.540000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.540000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.540000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.550000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.560000] TCP reno registered
[    0.560000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.570000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.570000] NET: Registered protocol family 1
[    0.590000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.600000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.610000] msgmni has been set to 56
[    0.610000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[    0.620000] io scheduler noop registered
[    0.620000] io scheduler deadline registered (default)
[    0.630000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.640000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART
[    0.650000] console [ttyATH0] enabled, bootconsole disabled
[    0.650000] console [ttyATH0] enabled, bootconsole disabled
[    0.660000] m25p80 spi0.0: found s25sl032a, expected m25p80
[    0.660000] m25p80 spi0.0: s25sl032a (4096 Kbytes)
[    0.670000] spi0.0: no TP-Link header found
[    0.690000] ag71xx_mdio: probed
[    0.700000] eth0: Atheros AG71xx at 0xba000000, irq 5
[    1.250000] eth0: Found an AR7240/AR9330 built-in switch
[    2.280000] eth1: Atheros AG71xx at 0xb9000000, irq 4
[    2.830000] ag71xx ag71xx.0: eth1: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[    2.840000] TCP cubic registered
[    2.840000] NET: Registered protocol family 17
[    2.850000] Bridge firewalling registered
[    2.850000] Ebtables v2.0 registered
[    2.850000] 8021q: 802.1Q VLAN Support v1.8
[    2.860000] VFS: Cannot open root device "(null)" or unknown-block(0,0)
[    2.860000] Please append a correct "root=" boot option; here are the available partitions:
[    2.870000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

o co chodzi? ;/

ZyXEL NBG6716 (Gargoyle by obsy)

37

Odp: Brak kontaktu z tp link tl-wr740n

Właściwe to którą wersję tego 740 masz?

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

38

Odp: Brak kontaktu z tp link tl-wr740n

@COVERek
Podczas ładowania po tftp pomyliłeś się, wpisałeś:

tftpboot 0x80000000 code.bin

A powinieneś:

tftpboot 0x81000000 code.bin

skoro później zapisujesz do flash spod 0x81000000
Zrób jeszcze raz poprawnie.

39

Odp: Brak kontaktu z tp link tl-wr740n

Dobre oko smile

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