Cos spaprałem, chciałem wgrać przerobiony plik binarny wiec skopiowałem wncsp plik.bin do /tmp potem komenda sysupgarde –F /temp/plik.bin i cos poszło nie tak niby się uruchamia ale świeci dioda power i ta od lanu jak jest kabel włączony. Brak dostępu do routera przez ssh i wincsp .
Próbuje wiec poprzez Tfptd wgrać plik (openwrt-ramips-mt76x8-tplink_tl-mr3020-v3-squashfs-tftp-recovery , openwrt-ramips-mt76x8-tplink_tl-mr3020-v3-squashfs-sysupgrade , openwrt-ramips-mt76x8-tplink_tl-mr3020-v3-initramfs-kernel ) zmieniając im uprzednio nazwę na tp_recovery.bin niestety aktualizacja nie idzie co robię źle?
Przy aktualizacji wpięty com z putty i komunikat
U-Boot 1.1.3 (Jun 28 2023 - 16:53:12)
Board: Ralink APSoC DRAM: 64 MB
relocate_code Pointer at: 83fb4000
gpiomode1 54050404.
gpiomode1 54150404.
gpiomode2 05540554.
gpiomode2 00000000.
gpiomode2 05550555.
######GPIO CTRL 0 for GPIO 0~32 OUTPUT tmp(0x0000000c)#####
##########Led gpio info: power(37),wps(2),lan(3),wan_green(43),wlan(44)#########
flash manufacture id: ef, device id 40 17
spi device id: ef 40 17 83 25 (40178325)
find flash: W25Q64BV
============================================
Ralink UBoot Version: 4.3.0.0
--------------------------------------------
ASIC 7628_MP (Port5<->None)
DRAM component: 512 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 64 MBytes
Flash component: SPI Flash
Date:Jun 28 2023 Time:16:53:12
============================================
icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768
##### The CPU freq = 580 MHZ ####
estimate memory size =64 Mbytes
RESET MT7628 PHY!!!!!!..................................................
starting recovery...
TODO, Read MAC Address from Flash
netboot_common, argc= 3
NetTxPacket = 0x83FE3FC0
KSEG1ADDR(NetTxPacket) = 0xA3FE3FC0
NetLoop,call eth_halt !
NetLoop,call eth_init !
Trying Eth0 (10/100-M)
Waitting for RX_DMA_BUSY status Start... done
ETH_STATE_ACTIVE!!
TFTP from server 192.168.0.225; our IP address is 192.168.0.2
Filename 'tp_recovery.bin'.
TIMEOUT_COUNT=10,Load address: 0x80060000
Loading: T Got ARP REPLY, set server/gtwy eth addr (8c:dc:d4:25:53:de)
Got it
checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
T checksum bad
checksum bad
checksum bad
T checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
T checksum bad
T T T T T T
Retry count exceeded; starting again
do_bootm:argc=2, addr=0xbc020000
## Booting image at bc020000 ...
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 64
Starting kernel ...
[ 0.000000] Linux version 6.6.79 (builder@buildhost) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 13.3.0 r28888-3a7467ffde) 13.3.0, GNU ld (GNU Binutils) 2.42) #0 Mon Feb 24 05:07:01 2025
[ 0.000000] Board has DDR2
[ 0.000000] Analog PMU set to hw control
[ 0.000000] Digital PMU set to hw control
[ 0.000000] SoC Type: MediaTek MT7628AN ver:1 eco:2
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019655 (MIPS 24KEc)
[ 0.000000] MIPS: machine is TP-Link TL-MR3020 v3
[ 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, PIPT, no aliases, linesize 32 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 0.000000] Writing ErrCtl register=000793ce
[ 0.000000] Readback ErrCtl register=000793ce
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 56288K/65536K available (4987K kernel code, 584K rwdata, 1564K rodata, 1240K init, 201K bss, 9248K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 256
[ 0.000000] intc: using register map from devicetree
[ 0.000000] CPU Clock: 580MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
[ 0.000002] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
[ 0.007623] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[ 0.073540] pid_max: default: 32768 minimum: 301
[ 0.086778] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.093829] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.111876] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.
[ 0.128763] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.138308] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.144931] pinctrl core: initialized pinctrl subsystem
[ 0.154054] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.160720] thermal_sys: Registered thermal governor 'step_wise'
[ 0.163976] /pinctrl: Fixed dependency cycle(s) with /pinctrl/pinctrl0
[ 0.191742] clocksource: Switched to clocksource MIPS
[ 0.210035] NET: Registered PF_INET protocol family
[ 0.215105] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.224127] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.232356] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.239799] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.247215] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.254033] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.260326] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.266728] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.274635] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.280125] PCI: CLS 0 bytes, default 32
[ 0.289876] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.296747] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.302379] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.320254] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 0.329144] mt7621_gpio 10000600.gpio: registering 32 gpios
[ 0.335040] mt7621_gpio 10000600.gpio: registering 32 gpios
[ 0.340758] mt7621_gpio 10000600.gpio: registering 32 gpios
[ 0.347013] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.360624] printk: console [ttyS0] disabled
[ 0.365596] 10000c00.uart0: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
[ 0.374179] printk: console [ttyS0] enabled
[ 0.374179] printk: console [ttyS0] enabled
[ 0.382606] printk: bootconsole [early0] disabled
[ 0.382606] printk: bootconsole [early0] disabled
[ 0.428453] spi-mt7621 10000b00.spi: sys_freq: 193333333
[ 0.441009] spi-nor spi0.0: s25fl064k (8192 Kbytes)
[ 0.446205] 4 fixed-partitions partitions found on MTD device spi0.0
[ 0.452733] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[ 0.460186] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[ 0.467964] Creating 4 MTD partitions on "spi0.0":
[ 0.472888] 0x000000000000-0x000000020000 : "boot"
[ 0.481794] 0x000000020000-0x0000007c0000 : "firmware"
[ 0.489881] 2 tplink-fw partitions found on MTD device firmware
[ 0.496000] Creating 2 MTD partitions on "firmware":
[ 0.501046] 0x000000000000-0x00000022457c : "kernel"
[ 0.506101] mtd: partition "kernel" doesn't end on an erase/write block -- force read-only
[ 0.517050] 0x00000022457c-0x0000007a0000 : "rootfs"
[ 0.522200] mtd: partition "rootfs" doesn't start on an erase/write block boundary -- force read-only
[ 0.533998] mtd: setting mtd3 (rootfs) as root device
[ 0.539229] 1 squashfs-split partitions found on MTD device rootfs
[ 0.545653] 0x000000570000-0x0000007a0000 : "rootfs_data"
[ 0.553809] 0x0000007c0000-0x0000007d0000 : "config"
[ 0.561457] 0x0000007d0000-0x000000800000 : "factory"
[ 0.569492] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[ 0.606462] rt3050-esw 10110000.esw: mediatek esw at 0xb0110000, irq 25 initialized
[ 0.615439] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[ 0.627493] NET: Registered PF_INET6 protocol family
[ 0.640481] Segment Routing with IPv6
[ 0.644466] In-situ OAM (IOAM) with IPv6
[ 0.648633] NET: Registered PF_PACKET protocol family
[ 0.653841] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 0.667376] 8021q: 802.1Q VLAN Support v1.8
[ 0.696370] gpio-export gpio_export: 1 gpio(s) exported
[ 0.723913] clk: Disabling unused clocks
[ 0.736160] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[ 0.750323] Freeing unused kernel image (initmem) memory: 1240K
[ 0.756387] This architecture does not have kernel memory protection.
[ 0.762948] Run /sbin/init as init process
[ 2.772882] init: Console is alive
[ 2.776905] init: - watchdog -
[ 4.491591] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 4.939004] usbcore: registered new interface driver usbfs
[ 4.944834] usbcore: registered new interface driver hub
[ 4.950392] usbcore: registered new device driver usb
[ 4.961558] gpio_button_hotplug: loading out-of-tree module taints kernel.
[ 4.981650] rt3050-esw 10110000.esw: port 0 link up
[ 5.003149] phy phy-10120000.usbphy.0: remote usb device wakeup disabled
[ 5.009989] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz
[ 5.015308] ehci-platform 101c0000.ehci: EHCI Host Controller
[ 5.021178] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[ 5.029447] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[ 5.061771] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[ 5.069647] hub 1-0:1.0: USB hub found
[ 5.074692] hub 1-0:1.0: 1 port detected
[ 5.093031] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[ 5.100036] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[ 5.108276] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[ 5.187714] hub 2-0:1.0: USB hub found
[ 5.192345] hub 2-0:1.0: 1 port detected
[ 5.209530] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 5.219043] init: - preinit -
[ 9.801780] random: crng init done
uci: Entry not found
[ 12.157223] rt3050-esw 10110000.esw: port 0 link down
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
[ 16.558621] rt3050-esw 10110000.esw: port 0 link up
[ 17.448746] jffs2: notice: (424) jffs2_build_xattr_subsystem: complete building xattr subsystem, 21 of xdatum (0 unchecked, 15 orphan) and 22 of xref (15 dead, 0 orphan) found.
[ 17.466732] mount_root: switching to jffs2 overlay
[ 17.476879] overlayfs: upper fs does not support tmpfile.
[ 17.491289] urandom-seed: Seeding with /etc/urandom.seed
[ 17.566278] procd: - early -
[ 17.569600] procd: - watchdog -
[ 18.808130] procd: - watchdog -
[ 18.813533] procd: - ubus -
[ 19.290984] procd: - init -
Please press Enter to activate this console.
[ 22.586294] kmodloader: loading kernel modules from /etc/modules.d/*
[ 23.696769] Loading modules backported from Linux version v6.12.6-0-ge9d65b48ce1a
[ 23.704469] Backport generated by backports.git v6.1.110-1-35-g410656ef04d2
[ 24.035961] mt76_wmac 10300000.wmac: ASIC revision: 76280001
[ 24.074786] mt76_wmac 10300000.wmac: Firmware Version: 20151201
[ 24.080839] mt76_wmac 10300000.wmac: Build Time: 20151201183641
[ 24.121761] mt76_wmac 10300000.wmac: firmware init done
[ 24.289754] mt76_wmac 10300000.wmac: registering led 'mt76-phy0'
[ 24.964679] PPP generic driver version 2.4.2
[ 24.970932] NET: Registered PF_PPPOX protocol family
[ 25.009033] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 25.420221] urngd: v1.0.2 started.
[ 52.979127] br-lan: port 1(eth0) entered blocking state
[ 52.984548] br-lan: port 1(eth0) entered disabled state
[ 52.989917] mtk_soc_eth 10100000.ethernet eth0: entered allmulticast mode
[ 52.997271] mtk_soc_eth 10100000.ethernet eth0: entered promiscuous mode
[ 53.041333] br-lan: port 1(eth0) entered blocking state
[ 53.046758] br-lan: port 1(eth0) entered forwarding state