51

(45 odpowiedzi, napisanych Oprogramowanie / Software)

1. gargoyle-1.11.0.1-ar71xx-generic-tl-wr710n-v1-squashfs-sysupgrade
2. hmmm, to jestem trochę do tyłu, sprawdzę dzisiaj jeszcze raz, kiedyś jak robiłem exroota to wszystko robiło się z konsoli big_smile

52

(45 odpowiedzi, napisanych Oprogramowanie / Software)

Nie zrozumieliśmy się, na chwilę obecną mam zainstalowane Luci, bo na gargoye nie dało się zainstalować mkf2fs. Z powodu braku miejsca. Gołe gargoyle bez niczego wgranego zajmuje tyle miejsca (500KB wolnego było). I nic nie pozwalał zainstalować.

53

(45 odpowiedzi, napisanych Oprogramowanie / Software)

WR710n v1.2 wesja z 8Mb Flash


root@OpenWrt:~# mount
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
/dev/mtdblock3 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/up                            per,workdir=/overlay/work)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
root@OpenWrt:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 4.8M      4.8M         0 100% /rom
tmpfs                    13.6M    928.0K     12.7M   7% /tmp
/dev/mtdblock3            1.8M      1.0M    752.0K  58% /overlay
overlayfs:/overlay        1.8M      1.0M    752.0K  58% /
tmpfs                   512.0K         0    512.0K   0% /dev
root@OpenWrt:~#

54

(45 odpowiedzi, napisanych Oprogramowanie / Software)

udało mi się wgrać gargoyle z tftp, jednak okazało się, że nie ma już miejsca na dodatkowy plugin, i niestety wróciłem do luci, a i chyba nawet było za mało miejsca na zrobienie extrota, bo nie pozwalał zainstalować mkf2fs.

55

(45 odpowiedzi, napisanych Oprogramowanie / Software)

jak podam mu plik sysupgrade z gargoile to i tak wstaje mi z luci, a jak próbowałem programatorem plikiem factory to stawał mi podczas przenoszenia z ramu do flash i wisiał.

56

(45 odpowiedzi, napisanych Oprogramowanie / Software)

Hmmm, tak naprawdę to  wszystko działa, z tym, ze nie pozwala mi zainstalować gargoyle, luci działa, problemem był kabel włożony w 1 port Lan/Wan

57

(45 odpowiedzi, napisanych Oprogramowanie / Software)

Co robię, źle?

t 1.1.4 (Apr 19 2013 - 15:56:20)

AP121 (ar9330) U-boot

DRAM:  32 MB
led turning on for 1s...
id read 0x100000ff
flash size 8388608, sector count = 128
Flash:  8 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7240_enet_initialize...
No valid address in Flash. Using fixed address
No valid address in Flash. Using fixed address
: cfg1 0x5 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
ag7240_phy_setup
eth0 up
: cfg1 0xf cfg2 0x7214
eth1: 00:03:7f:09:0b:ad
athrs26_reg_init_lan
ATHRS26: resetting s26
ATHRS26: s26 reset done
ag7240_phy_setup
eth1 up
eth0, eth1
Autobooting in 1 seconds
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... Stream with EOS marker is not supportedLZMA ERROR 1 - must RESET

U-Boot 1.1.4 (Apr 19 2013 - 15:56:20)

AP121 (ar9330) U-boot

DRAM:  32 MB
led turning on for 1s...
id read 0x100000ff
flash size 8388608, sector count = 128
Flash:  8 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7240_enet_initialize...
No valid address in Flash. Using fixed address
No valid address in Flash. Using fixed address
: cfg1 0x5 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
ag7240_phy_setup
eth0 up
: cfg1 0xf cfg2 0x7214
eth1: 00:03:7f:09:0b:ad
athrs26_reg_init_lan
ATHRS26: resetting s26
ATHRS26: s26 reset done
ag7240_phy_setup
eth1 up
eth0, eth1
Autobooting in 1 seconds
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... Stream with EOS marker is not supportedLZMA ERROR 1 - must RESET

U-Boot 1.1.4 (Apr 19 2013 - 15:56:20)

AP121 (ar9330) U-boot

DRAM:  32 MB
led turning on for 1s...
id read 0x100000ff
flash size 8388608, sector count = 128
Flash:  8 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7240_enet_initialize...
No valid address in Flash. Using fixed address
No valid address in Flash. Using fixed address
: cfg1 0x5 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
ag7240_phy_setup
eth0 up
: cfg1 0xf cfg2 0x7214
eth1: 00:03:7f:09:0b:ad
athrs26_reg_init_lan
ATHRS26: resetting s26
ATHRS26: s26 reset done
ag7240_phy_setup
eth1 up
eth0, eth1
Autobooting in 1 seconds
hornet> erase 09f020000 +0x7C0000

First 0x2 last 0x7d sector size 0x10000                                      125
Erased 124 sectors
hornet> tftpboot 0x81000000 code1.bin
eth1 link down
dup 1 speed 100
Using eth0 device
TFTP from server 192.168.1.100; our IP address is 192.168.1.111
Filename 'code1.bin'.
Load address: 0x81000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ############################
done
Bytes transferred = 8126464 (7c0000 hex)
hornet> cp.b 0x81000000 0x9f020000 0x7C0000
Copy to Flash... write addr: 9f020000
done
hornet> bootm 0x9f020000
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 4.9.152 (buildbot@builds-03.infra.lede-project.org) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7549-217219e) ) #0 Mon Jan 28 08:54:32 2019
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR9330 rev 1
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    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] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  board=TL-WR710N  console=ttyATH0,115200 rootfstype=squashfs 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] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 27540K/32768K available (3388K kernel code, 175K rwdata, 448K rodata, 268K init, 211K bss, 5228K 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:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000013] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.007580] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[    0.088748] pid_max: default: 32768 minimum: 301
[    0.093335] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.099504] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.110234] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.118273] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.125953] NET: Registered protocol family 16
[    0.130893] MIPS: machine is TP-LINK TL-WR710N v1
[    0.656523] Can't analyze schedule() prologue at 803ab684
[    0.678364] clocksource: Switched to clocksource MIPS
[    0.683315] NET: Registered protocol family 2
[    0.687516] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.692870] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.698929] TCP: Hash tables configured (established 1024 bind 1024)
[    0.705108] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.710595] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.716838] NET: Registered protocol family 1
[    0.725816] Crashlog allocated RAM at address 0x1f00000
[    0.731083] workingset: timestamp_bits=30 max_order=13 bucket_order=0
[    0.746257] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.750513] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.772985] io scheduler noop registered
[    0.775349] io scheduler deadline registered (default)
[    0.780899] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.790367] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a AR933X UART
[    0.798142] console [ttyATH0] enabled
[    0.798142] console [ttyATH0] enabled
[    0.805057] bootconsole [early0] disabled
[    0.805057] bootconsole [early0] disabled
[    0.821178] m25p80 spi0.0: found s25fl064k, expected m25p80
[    0.837075] m25p80 spi0.0: s25fl064k (8192 Kbytes)
[    0.840806] 5 tp-link partitions found on MTD device spi0.0
[    0.845961] Creating 5 MTD partitions on "spi0.0":
[    0.850796] 0x000000000000-0x000000020000 : "u-boot"
[    0.858452] 0x000000020000-0x000000170364 : "kernel"
[    0.864830] 0x000000170364-0x0000007f0000 : "rootfs"
[    0.870701] mtd: device 2 (rootfs) set to be root filesystem
[    0.874943] 1 squashfs-split partitions found on MTD device rootfs
[    0.881164] 0x0000003c0000-0x0000007f0000 : "rootfs_data"
[    0.889613] 0x0000007f0000-0x000000800000 : "art"
[    0.895757] 0x000000020000-0x0000007f0000 : "firmware"
[    0.903838] libphy: Fixed MDIO Bus: probed
[    0.926100] libphy: ag71xx_mdio: probed
[    1.560075] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[    1.568841] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    2.199847] ag71xx-mdio.1: Found an AR7240/AR9330 built-in switch
[    2.241936] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[    2.248836] NET: Registered protocol family 10
[    2.256638] NET: Registered protocol family 17
[    2.259787] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    2.272746] 8021q: 802.1Q VLAN Support v1.8
[    2.279106] hctosys: unable to open rtc device (rtc0)
[    2.289722] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    2.297357] Freeing unused kernel memory: 268K
[    2.300397] This architecture does not have kernel memory protection.
[    2.538378] random: fast init done
[    3.211744] init: Console is alive
[    3.213990] init: - watchdog -
[    4.480003] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.569334] usbcore: registered new interface driver usbfs
[    4.573484] usbcore: registered new interface driver hub
[    4.578859] usbcore: registered new device driver usb
[    4.591286] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.598577] ehci-platform: EHCI generic platform driver
[    4.602459] ehci-platform ehci-platform: EHCI Host Controller
[    4.608146] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[    4.618175] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[    4.648424] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[    4.654514] hub 1-0:1.0: USB hub found
[    4.657411] hub 1-0:1.0: 1 port detected
[    4.662127] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.678772] init: - preinit -
[    5.801968] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[    5.835590] random: procd: uninitialized urandom read (4 bytes read)
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    9.135676] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[    9.176806] urandom-seed: Seed file not found (/etc/urandom.seed)
[    9.462928] procd: - early -
[    9.464489] procd: - watchdog -
[   10.145137] procd: - watchdog -
[   10.147205] procd: - ubus -
[   10.287158] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.361659] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.367202] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.374340] procd: - init -
Please press Enter to activate this console.
[   10.848717] kmodloader: loading kernel modules from /etc/modules.d/*
[   10.860250] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   10.879876] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[   10.886429] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[   10.897340] ip_tables: (C) 2000-2006 Netfilter Core Team
[   10.913213] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[   10.997081] xt_time: kernel timezone is -0000
[   11.077322] PPP generic driver version 2.4.2
[   11.083783] NET: Registered protocol family 24
[   11.161872] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[   11.205031] kmodloader: done loading kernel modules from /etc/modules.d/*
[   12.571376] urandom_read: 5 callbacks suppressed
[   12.571388] random: jshn: uninitialized urandom read (4 bytes read)
[   31.624295] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   31.654609] jffs2_build_filesystem(): unlocking the mtd device... [   31.669485] done.
[   31.669972] jffs2_build_filesystem(): erasing all blocks after the end marker... [   32.673209] br-lan: port 1(eth1) entered blocking state
[   32.676994] br-lan: port 1(eth1) entered disabled state
[   32.682813] device eth1 entered promiscuous mode
[   32.745846] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   32.865455] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   34.969935] eth0: link up (100Mbps/Full duplex)
[   34.973056] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   54.288475] done.
[   54.289006] jffs2: notice: (1141) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[  128.638446] random: crng init done

58

(11 odpowiedzi, napisanych Sprzęt / Hardware)

To chyba muszę odpuścić temat, myślałem że da się to zrobić zwykłym kablem jtag wpinając się w piny bez lutowania.
Dziękuję za informację jestem troszkę bardziej w temacie.

59

(11 odpowiedzi, napisanych Sprzęt / Hardware)

Dzięki za informację. Na razie mam 710N, którego chciał bym wskrzesić, tam chyba nie trzeba wylutowywać żeby wgrać boot, chyba, że się mylę ?

60

(11 odpowiedzi, napisanych Sprzęt / Hardware)

Jak w temacie jaki kabel kupić do programowania routerów z uwalonym bootem, głównie będzie to TP-Link.

61

(153 odpowiedzi, napisanych Oprogramowanie / Software)

TL-WR841N v13
Wszystkie modele 841 mają anteny na stałe.

62

(7 odpowiedzi, napisanych Oprogramowanie / Software)

Luci Lede czy samo Lede?

63

(7 odpowiedzi, napisanych Oprogramowanie / Software)

Witam, A jest w ogóle jakaś alternatywa na ten router w wersji v13. Z tego co się orientuje to jest na procesorze Mediatek i 8mb Flash.

64

(7 odpowiedzi, napisanych Oprogramowanie / Software)

Będzie może soft Gargoile PL na router: TL-WR841N v13?

65

(35 odpowiedzi, napisanych Oprogramowanie / Software)

DjPiotrus napisał/a:

Witam

Masz tu fragment configu tftpd32

[DHCP]
00:0C:xx:xx:xx = 10.1.1.250         tu wpisz mac eth1 swojego mt
BootFile =lede.elf            tu nazwę pliku do pobrania
Lease_NumLeases=24
IP_Pool=33620234
PoolSize=24
DNS=0

karta sieciowa IP static   np. 10.1.1.1

Sprawdziłem na całej masie płytek

Dzięki za info, ale ja mam ten config jakoś inaczej skonstruowany sad
P.S. Instalujesz softy  na win 7?

66

(35 odpowiedzi, napisanych Oprogramowanie / Software)

Po serialu, ale w połowie kopiowania przerwało transmisje

67

(35 odpowiedzi, napisanych Oprogramowanie / Software)

Tak tylko nie wiem czym ( jakim programem mam mu podać na rs ).

68

(35 odpowiedzi, napisanych Oprogramowanie / Software)

Czyli jednak jest jakaś szansa na sukces? big_smile

69

(35 odpowiedzi, napisanych Oprogramowanie / Software)

Upgrade firmware options:
   e - upgrade firmware over ethernet
   s - upgrade firmware over serial port
your choice: e - upgrade firmware over ethernet


trying dhcp protocol...... OK
resolved mac address 6C:3B:6B:7D:F5:22
Gateway: 192.168.2.1
********************************************************************************                               ********************************************************************************                                      falling back to small packet size

70

(35 odpowiedzi, napisanych Oprogramowanie / Software)

To ja mam jakąś specyficzną sztukę bo za żadne skarby nie chce big_smile

71

(35 odpowiedzi, napisanych Oprogramowanie / Software)

A da się wgrać po serial porcie? Jeżeli tak to jakim programem jestem w stanie to zrobić w windowsie?

72

(35 odpowiedzi, napisanych Oprogramowanie / Software)

Odpaliłem sobie nawet na qnapie serwer tftp ma innym mikrotiku odpaliłem serwer dhcp, króremu pokazałem serwer tftp na qnapie, ale i tak mt nie pobrał softu do pamięci ram.

73

(35 odpowiedzi, napisanych Oprogramowanie / Software)

Kombinuję jak koń pod górę big_smile Udało mi sie odpalić jakieś tam openwrt jako metarouter, i chciałbym teraz w grać do flash na stałe obraz LEDE zamiast oryginalnego oprogramowania MT. Jestem w stanie to zrobić z poziomu metaroutera? Bo za żadne światy nie chce mi zassać softu w trybie serwisowym.

74

(9 odpowiedzi, napisanych Oprogramowanie / Software)

Nie wiem co mam uwalone stało sie to podczas downgrade z LEDE na luci do końca było zasilanie, tylkonie wiem czy jest sens wywalać kasę na kabel

75

(9 odpowiedzi, napisanych Oprogramowanie / Software)

Podpinając kebel RS-RJ45, jeżeli mam uwalonego boota, jestem w stanie cokolwiek zrobić, czy muszę kupić kabel i wlutować się w płytkę?