Cezary napisał/a:

PS przed wgraniem zobaczył byś czy pod 0x80100000 jest to samo co w pliku. Tam chyba było wyświetlanie pamięci, jakieś md czy coś podobnego.

MT7620 # md 80100000
80100000: 100000ff 00000000 00000000 00000000    ................
80100010: 00000000 00000000 00000000 00000000    ................
80100020: 00000000 00000000 00000000 00000000    ................
80100030: 00000000 00000000 00000000 00000000    ................
80100040: 00000000 00000000 00000000 00000000    ................
80100050: 00000000 00000000 00000000 00000000    ................
80100060: 00000000 00000000 00000000 00000000    ................
80100070: 00000000 00000000 00000000 00000000    ................
80100080: 00000000 00000000 00000000 00000000    ................
80100090: 00000000 00000000 00000000 00000000    ................
801000a0: 00000000 00000000 00000000 00000000    ................
801000b0: 00000000 00000000 00000000 00000000    ................
801000c0: 00000000 00000000 00000000 00000000    ................
801000d0: 00000000 00000000 00000000 00000000    ................
801000e0: 00000000 00000000 00000000 00000000    ................
801000f0: 00000000 00000000 00000000 00000000    ................

nic mi to nie mówi hmm

Cezary napisał/a:

Nie. cp.b. Bootm to uruchamia coś, a ty jak już to chcesz wgrać oryginalny bootloader.

cp ma jakąś składnię? bo samo nie działa

4: System Enter Boot Command Line Interface.

U-Boot 1.1.3 (Jan  3 2014 - 09:12:42)
MT7620 # tftpboot

 netboot_common, argc= 1

 NetTxPacket = 0x83FE4C80

 KSEG1ADDR(NetTxPacket) = 0xA3FE4C80

 NetLoop,call eth_halt !

 NetLoop,call eth_init !
Trying Eth0 (10/100-M)

 Waitting for RX_DMA_BUSY status Start... done


 ETH_STATE_ACTIVE!!
*** Warning: no boot file name; using 'test.bin'
TFTP from server 10.10.10.3; our IP address is 10.10.10.123
Filename 'test.bin'.

 TIMEOUT_COUNT=10,Load address: 0x80100000
Loading: Got ARP REPLY, set server/gtwy eth addr (00:00:00:00:00:89)
Got it
#######################################
done
Bytes transferred = 196608 (30000 hex)
NetBootFileXferSize= 00030000
MT7620 # cp test.bin
Usage:
cp          - memory copy

MT7620 #

i jeszcze jedno w zipie są dwie partycje mtd0 u-boot i mtd1 u-boot-env, zakładam, że tą pierwszą mam wgrać

mar_w napisał/a:

proszę bardzo
PS. to z nudów wink

bardzo dziękuję smile

Cezary napisał/a:

drugą ręką wgrywasz bootloader

bootm?

Czy ktoś mógłby mi przysłać taki bootloader?

Zapewne tak, ale router sam z siebie się nadal nie uruchamia.

Ten błąd o który pytałem jak trochę poguglowałem to wygląda jak błąd bootloadera. Czy możliwe jest, że "sam" uszkodził się bootloader?  Można taki bootloader jeszcze raz wgrać? Znalazłem na forum openwrt link do jakiegoś hackpascals. W menu jest opcja 9 'Load Boot Loader code then write to Flash via TFTP' tym się to robi?

Postanowiłem się dziś jeszcze pobawić tym routerem, za nim wyślę go do fajansu i właśnie odkryłem, że nie ważne co wgram (opcja 1) do pamięci RAM przez TFTP to zgłasza się OpenWRT 21.02 w Twoim wydaniu. Nie zauważyłem tego wcześniej, bo byłem zadowolony, że w ogóle coś ruszyło. Najpierw myślałem, że skopałem zmieniając nazwy, ale ściągnąłem obrazy jeszcze raz i zarówno Lede 17.01 jak i Openwrt 23.05 i za każdym razem zgłosił mi się Openwrt 21.02

Mifi 24.10 też zgłosiło się jako openwrt 21.02...

83

(7 odpowiedzi, napisanych Sprzęt / Hardware)

Kombinuję z wgraniem softu od 710N do 703N w różnych kombinacjach i kończy się zawsze tak samo tj. router się uruchamia, ale nie ma adresu 191.168.1.1, ani z DHCP ani ręcznie. Próbowałem wgrać soft od 710N zarówno syspupgrade jaki initframs czy factory kiedy na moim był LEDE 17.01 / Openwrt 19.07 / gargoyle 1.6.2.2 w wersji 8M-16M. Przetrenowałem chyba wszystkie kombinacje zarówno przez sysupgrade jak i przez uboot. Coś więc robię nie tak, a widziałem na tym forum, że się da smile

Routery są sprzętowo bardzo podobne (różni ich chyba tylko jeden port LAN) więc jaki obraz i jaką metodą powinien ruszyć?

żeby wylutować pamięć i wlutowałem następną? Tego nie potrafię i to dla mnie na poziomie lotów kosmicznych wink

A tak poważniej to jest jakiś programowy sposób, żeby sprawdzić, czy ten flash żyje?

drk napisał/a:

to co teraz?

Ja bym się nieśmiało przypomniał, bo router mam na pająka podłączony smile wiem, że to stary sprzęt, ale akurat na taki mam zastosowanie (jako most bezprzewodowy).

to co teraz?

wyciąłem zawartość między 0000200 a 0000320... czy potrzebna jest całość?

0000000   ' 005 031   V 246   n 027 362   d   =   F   x  \0 036 250   q
0000010 200  \0  \0  \0 200  \0  \0  \0 245   c 026 315 005 005 002 003
0000020   M   I   P   S       O   p   e   n   W   r   t       L   i   n
0000030   u   x   -   5   .   4   .   2   3   8  \0  \0  \0  \0  \0  \0
0000040   m  \0  \0 200  \0 306 374   _  \0  \0  \0  \0  \0  \0  \0   o
0000050 375 377 377 243 267 177 240 264 232   R   K 346 332 200 222   g
0000060   , 202 345 320   0 320   " 203 203 232   ] 254  \t   * 230   N
0000070 325  \f   5 322 313   V 331   >   ~ 016   ,     305 260 361   b
0000080 027   a   & 334 207   3   ( 353     025 331 371 210 256 004 316
0000090 340 371 356   A 016 002   x       8 024 355 305 234 377 340 305
00000a0   & 241 243 200 244   y   Z 253  \a 274 353 240 022 270 376 350
00000b0 312   = 274   + 027   :   b 332   ) 363 306   o 364 366 225 316
00000c0 335 377 354 361   6 005 032   _ 273 306 350   e 367 023   G   q
00000d0   l 365   g   * 226 322 353 032 226 032 243 377   g   S   { 371
00000e0   p 024 252 315   B 262 235 310 232 220 212 004 317 245 334   F
00000f0 342 363 221 330   v   ~ 310   < 227 262   Q 324   z   Q   k 003
0000100 220   T  \r   r   & 003     254 253 377  \v 216 337  \b  \t   P
0000110 305   L 314 217 025 361   ) 313   T 273 306   $ 377   b   > 016
0000120 204   D 345   Q   l 264 254 254 262   r 350 370   b   = 037 256
0000130 037   1   @   Y 364   \ 235 004   x 271   $ 220 035 267 263   %
0000140   U   C 265   * 001  \0   p   s   H 311   l   Z   *   "   n   }
0000150 335 210   v 230   B 347   Y 375 213 020 353 177   # 202 035 262
0000160 205   s 213 322 231   K   = 203   s 020 321  \n 031   d  \f 030
0000170   ! 362   = 207   . 215 321   G 313 277 334 240   n   " 321  \b
0000180   | 306   G 266 033   J 253   q 206   u 024 200   y   x 335   b
0000190 024 224   r 030 214 307  \b   + 320 371 335 204   S   d 245   .
00001a0 233  \f 367 237 233  \n   * 221 234 245 304 021 021 274 300  \r
00001b0 321 347   / 230 346 247 331   \ 326 321  \n   c 366   u     227
00001c0 303   @ 336   }   T   1 331 245   [ 333 033 304 252   k   @  \n
00001d0 326   ( 324   I   r   R 254   g   2 307 034 036 226   S 232   3
00001e0   S  \f 201 210 246 036   G   J   X   W   N 203 200   [ 341 375
00001f0 341 254 334 240 036   E 313 275 212 037 257   1   \   = 345 037
0000200   f 033 374 350 364 321   i  \f   @ 252 177   +   q   b   4 270

0000320 206   { 260 237   _   d 314 360 355  \t   B   k   k 226   i 351
0000330 304   " 303 252 234   6 025  \f 377 270 345 375 255 312   H 310
0000340   W   1   m   U 235   8 215 177 231 274 214 016 264 177   _   2
0000350 337 274 020 001   V 324 355   f  \v   ; 304 325 336   5   4   ~
0000360   : 306 303 334   0 177   Z 037   a 030  \n   L 024   q   N   >
0000370 037   / 344 256 330 306 333 333   ^   W 275 034 320 213 031 236
0000380   +   1 177 324   r   l   b  \b   T  \b 232 257   > 035   W 033
0000390 221 362   D 227 346   _ 322 256   |   n 233   { 324 363 234   "
00003a0 364 242 214 375  \0   ~ 230 314   d 214 345 324 344 275   Y 210
00003b0 017   H   _   M 276 310   Z 030   X 266 362 377  \t   *   c 016

nie jestem pewien czy robię to dobrze, ale wychodzi mi coś takiego:

root@OpenWrt:/# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00030000 00001000 "u-boot"
mtd1: 00010000 00001000 "u-boot-env"
mtd2: 00010000 00001000 "factory"
mtd3: 007b0000 00001000 "firmware"
mtd4: 001ea8b1 00001000 "kernel"
mtd5: 005c574f 00001000 "rootfs"
mtd6: 001ee000 00001000 "rootfs_data"
root@OpenWrt:/# ls /dev/mtd4
/dev/mtd4

jak przez 2 wgram sysupgrade też jest to samo

dalej nic

U-Boot 1.1.3 (Jan  3 2014 - 09:12:42)

MAX Board: Ralink APSoC DRAM:  64 MB
relocate_code Pointer at: 83fb4000
enable ephy clock...done. rf reg 29 = 5
SSC disabled.
******************************
Software System Reset Occurred
******************************
spi_wait_nsec: 29
spi device id: ef 40 17 0 0 (40170000)
find flash: W25Q64BV
raspi_read: from:30000 len:1000
raspi_wait_ready: read_sr fail: fc
*** Warning - bad CRC, using default environment



============================================
Ralink UBoot Version: 4.1.1.0
--------------------------------------------
ASIC 7620_MP (Port5<->None)
DRAM component: 512 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 64 MBytes
Flash component: SPI Flash
Date:Jan  3 2014  Time:09:12:42
============================================
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

Please choose the operation:
   1: Load system code to SDRAM via TFTP.
   2: Load system code then write to Flash via TFTP.
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   7: Load Boot Loader code then write to Flash via Serial.
   9: Load Boot Loader code then write to Flash via TFTP.                            4
You choosed 1
                                                                                     0
raspi_read: from:40028 len:6
raspi_wait_ready: read_sr fail: fc


1: System Load Linux to SDRAM via TFTP.
 Please Input new ones /or Ctrl-C to discard
        Input device IP (10.10.10.123) ==:10.10.10.123
        Input server IP (10.10.10.3) ==:10.10.10.3
        Input Linux Kernel filename () ==:21ini.bin

 netboot_common, argc= 3

 NetTxPacket = 0x83FE4C80

 KSEG1ADDR(NetTxPacket) = 0xA3FE4C80

 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 10.10.10.3; our IP address is 10.10.10.123
Filename '21ini.bin'.

 TIMEOUT_COUNT=10,Load address: 0x80a00000
Loading: Got ARP REPLY, set server/gtwy eth addr (00:00:00:00:00:89)
Got it
#################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ######################################
done
Bytes transferred = 5850691 (594643 hex)
NetBootFileXferSize= 00594643
raspi_read: from:30000 len:10000
raspi_wait_ready: read_sr fail: fc
Automatic boot of image at addr 0x80A00000 ...
## Booting image at 80a00000 ...
   Image Name:   MIPS OpenWrt Linux-5.4.238
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    5850627 Bytes =  5.6 MB
   Load Address: 80000000
   Entry Point:  80000000
   Verifying Checksum ... OK
   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 5.4.238 (cezary@eko.one.pl) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16500-b99d7aecc8)) #0 Mon Apr 17 13:15:36 2023
[    0.000000] Board has DDR1
[    0.000000] Analog PMU set to hw control
[    0.000000] Digital PMU set to hw control
[    0.000000] SoC Type: MediaTek MT7620N ver:2 eco:6
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)
[    0.000000] MIPS: machine is Nexx WT3020 (8M)
[    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] Built 1 zonelists, mobility grouping on.  Total pages: 16240
[    0.000000] Kernel command line: console=ttyS0,57600 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=0007ea90
[    0.000000] Readback ErrCtl register=0007ea90
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 53732K/65536K available (5137K kernel code, 203K rwdata, 636K rodata, 4896K init, 212K bss, 11804K 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] CPU Clock: 580MHz
[    0.000000] clocksource: systick: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 583261500 ns
[    0.000000] systick: enable autosleep mode
[    0.000000] systick: running - mult: 214748, shift: 32
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
[    0.000011] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
[    0.015585] Calibrating delay loop... 385.02 BogoMIPS (lpj=770048)
[    0.059675] pid_max: default: 32768 minimum: 301
[    0.069060] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.083468] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.104937] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.124243] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.137844] pinctrl core: initialized pinctrl subsystem
[    0.150401] NET: Registered protocol family 16
[    0.189418] rt2880_gpio 10000600.gpio: registering 24 gpios
[    0.200457] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[    0.213067] rt2880_gpio 10000688.gpio: registering 1 gpios
[    0.223899] rt2880_gpio 10000688.gpio: registering 1 irq handlers
[    0.241909] clocksource: Switched to clocksource systick
[    0.253543] thermal_sys: Registered thermal governor 'step_wise'
[    0.254034] NET: Registered protocol family 2
[    0.274795] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.290139] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.306703] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.321873] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.335886] TCP: Hash tables configured (established 1024 bind 1024)
[    0.348663] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.361569] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.375758] NET: Registered protocol family 1
[    0.384349] PCI: CLS 0 bytes, default 32
[    7.543350] rt-timer 10000100.timer: maximum frequency is 1220Hz
[    7.557673] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[    7.579265] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    7.590770] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    7.628187] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    7.645988] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    7.661486] printk: console [ttyS0] disabled
[    7.669959] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103
[    7.689593] printk: console [ttyS0] enabled
[    7.689593] printk: console [ttyS0] enabled
[    7.706179] printk: bootconsole [early0] disabled
[    7.706179] printk: bootconsole [early0] disabled
[    7.735502] spi spi0.0: force spi mode3
[    7.753517] spi-nor spi0.0: s25fl064k (8192 Kbytes)
[    7.763309] 4 fixed-partitions partitions found on MTD device spi0.0
[    7.776019] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[    7.790614] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[    7.805443] Creating 4 MTD partitions on "spi0.0":
[    7.815026] 0x000000000000-0x000000030000 : "u-boot"
[    7.826093] 0x000000030000-0x000000040000 : "u-boot-env"
[    7.837784] 0x000000040000-0x000000050000 : "factory"
[    7.849051] 0x000000050000-0x000000800000 : "firmware"
[    7.865267] 2 uimage-fw partitions found on MTD device firmware
[    7.877140] Creating 2 MTD partitions on "firmware":
[    7.887049] 0x000000000000-0x00000017fc92 : "kernel"
[    7.898198] 0x00000017fc92-0x0000007b0000 : "rootfs"
[    7.909133] mtd: device 5 (rootfs) set to be root filesystem
[    7.922974] 1 squashfs-split partitions found on MTD device rootfs
[    7.935372] 0x000000461000-0x0000007b0000 : "rootfs_data"
[    7.958843] gsw: setting port4 to ephy mode
[    7.967522] mtk_soc_eth 10100000.ethernet: no mdio-bus child node found
[    7.980745] mtk_soc_eth 10100000.ethernet: mdio-bus disabled
[    7.992235] mtk_soc_eth 10100000.ethernet: loaded mt7620 driver
[    8.004800] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[    8.021891] rt2880_wdt 10000120.watchdog: Initialized
[    8.033761] NET: Registered protocol family 10
[    8.047996] Segment Routing with IPv6
[    8.055539] NET: Registered protocol family 17
[    8.064482] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    8.090313] 8021q: 802.1Q VLAN Support v1.8
[    8.128116] Freeing unused kernel memory: 4896K
[    8.137177] This architecture does not have kernel memory protection.
[    8.150009] Run /init as init process
[    8.676292] init: Console is alive
[    8.683465] init: - watchdog -
[    8.722285] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    8.814815] usbcore: registered new interface driver usbfs
[    8.825942] usbcore: registered new interface driver hub
[    8.836655] usbcore: registered new device driver usb
[    8.902941] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.924880] SCSI subsystem initialized
[    8.938440] fsl-ehci: Freescale EHCI Host controller driver
[    8.951290] ehci-platform: EHCI generic platform driver
[    8.972098] phy phy-usbphy.0: remote usb device wakeup disabled
[    8.983904] phy phy-usbphy.0: UTMI 16bit 30MHz
[    8.992764] ehci-platform 101c0000.ehci: EHCI Host Controller
[    9.004254] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[    9.020169] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[    9.037306] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[    9.050916] hub 1-0:1.0: USB hub found
[    9.058955] hub 1-0:1.0: 1 port detected
[    9.072418] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    9.086565] ohci-platform: OHCI generic platform driver
[    9.097378] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[    9.110963] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[    9.126891] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[    9.164211] hub 2-0:1.0: USB hub found
[    9.172278] hub 2-0:1.0: 1 port detected
[    9.188784] usbcore: registered new interface driver usb-storage
[    9.203558] usbcore: registered new interface driver uas
[    9.215187] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    9.233771] init: - preinit -
[    9.490811] random: jshn: uninitialized urandom read (4 bytes read)
[    9.591029] random: jshn: uninitialized urandom read (4 bytes read)
[    9.822843] random: jshn: uninitialized urandom read (4 bytes read)
[   10.189196] 8021q: adding VLAN 0 to HW filter on device eth0
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
[   10.866132] mtk_soc_eth 10100000.ethernet eth0: port 4 link up (100Mbps/Full duplex)
[   11.746694] procd: - early -
[   11.752708] procd: - watchdog -
[   12.263067] procd: - watchdog -
[   12.269795] procd: - ubus -
[   12.285038] random: ubusd: uninitialized urandom read (4 bytes read)
[   12.308866] random: ubusd: uninitialized urandom read (4 bytes read)
[   12.322215] random: ubusd: uninitialized urandom read (4 bytes read)
[   12.339290] procd: - init -
Please press Enter to activate this console.
[   13.057328] kmodloader: loading kernel modules from /etc/modules.d/*
[   13.148727] fuse: init (API version 7.31)
[   13.174028] Loading modules backported from Linux version v5.10.168-0-g707c48210a53
[   13.189363] Backport generated by backports.git v5.10.168-1-0-gd990acb2
[   13.277857] xt_time: kernel timezone is -0000
[   13.442559] PPP generic driver version 2.4.2
[   13.464470] NET: Registered protocol family 24
[   13.481326] urngd: jent-rng init failed, err: 2
[   13.535842] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device "factory"
[   13.550302] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 6352, rev 0500 detected
[   13.565778] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 7620 detected
[   13.615291] kmodloader: done loading kernel modules from /etc/modules.d/*
[   14.237414] random: jshn: uninitialized urandom read (4 bytes read)
[   14.337742] random: jshn: uninitialized urandom read (4 bytes read)
[   14.567382] random: jshn: uninitialized urandom read (4 bytes read)
[   15.347269] random: dd: uninitialized urandom read (1 bytes read)
[   19.620712] random: crng init done
[   19.627510] random: 68 urandom warning(s) missed due to ratelimiting



BusyBox v1.33.2 (2023-01-06 16:34:46 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------------------------------
 |                                                                           |
 | OpenWrt 21.02-SNAPSHOT, r16847-f8282da11e                                 |
 |                                                                           |
 | Build time: 2023-04-22 08:35 CEST                                         |
 | Cezary Jackiewicz, https://eko.one.pl                                     |
 |                                                                           |
 -----------------------------------------------------------------------------
 | Machine: Nexx WT3020 (8M)                                                 |
 | Uptime: 0d, 00:00:37                                                      |
 | Load: 0.62 0.16 0.05                                                      |
 | Flash:                                                                    |
 | Memory: total: 57.3MB, free: 48.9MB, used: 14%                            |
 | Leases: 0                                                                 |
 | lan: static, 192.168.1.1                                                  |
 | wan: dhcp, ?                                                              |
 | wan6: dhcpv6, ?                                                           |
 -----------------------------------------------------------------------------
 === WARNING! ================================================================
 There is no root password defined on this device!
 Use the "passwd" command to set up a new password
 in order to prevent unauthorized SSH logins.
 -----------------------------------------------------------------------------
root@OpenWrt:/# [   52.803833] 8021q: adding VLAN 0 to HW filter on device eth0
[   52.840342] br-lan: port 1(eth0.1) entered blocking state
[   52.851193] br-lan: port 1(eth0.1) entered disabled state
[   52.862370] device eth0.1 entered promiscuous mode
[   52.871975] device eth0 entered promiscuous mode
[   52.957722] br-lan: port 1(eth0.1) entered blocking state
[   52.968548] br-lan: port 1(eth0.1) entered forwarding state
[   53.829255] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   59.935209] mtk_soc_eth 10100000.ethernet eth0: port 0 link up (100Mbps/Full duplex)
^C
root@OpenWrt:/# ping eko.one.pl
PING eko.one.pl (2.57.137.5): 56 data bytes
64 bytes from 2.57.137.5: seq=0 ttl=57 time=9.000 ms
64 bytes from 2.57.137.5: seq=1 ttl=57 time=10.220 ms
64 bytes from 2.57.137.5: seq=2 ttl=57 time=7.860 ms
^C
--- eko.one.pl ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 7.860/9.026/10.220 ms
root@OpenWrt:/# wget -O /tmp/a.bin http://dl.eko.one.pl/openwrt-21.02/targets/ra
mips/mt7620/openwrt-21.02-snapshot-r16847-f8282da11e-ramips-mt7620-nexx_wt3020-8
m-squashfs-sysupgrade.bin
Downloading 'http://dl.eko.one.pl/openwrt-21.02/targets/ramips/mt7620/openwrt-21.02-snapshot-r16847-f8282da11e-ramips-mt7620-nexx_wt3020-8m-squashfs-sysupgrade.bin'
Connecting to 95.160.102.195:80
Writing to '/tmp/a.bin'
/tmp/a.bin           100% |*******************************|  6144k  0:00:00 ETA
Download completed (6291753 bytes)
root@OpenWrt:/# sysupgrade -n /tmp/a.bin
Sat Dec 28 17:02:40 CET 2024 upgrade: Commencing upgrade. Closing all shell sessions.
Watchdog handover: fd=3
- watchdog -
killall: telnetd: no process killed
Sat Dec 28 17:02:41 CET 2024 upgrade: Sending TERM to remaining processes ... logd hostapd wpa_supplicant netifd odhcpd ntpd dnsmasq ubusd
Sat Dec 28 17:02:44 CET 2024 upgrade: Sending KILL to remaining processes ...
[  165.574086] sh (2383): drop_caches: 3
Sat Dec 28 17:02:45 CET 2024 upgrade: Switching to ramdisk...
Sat Dec 28 16:02:48 UTC 2024 upgrade: Performing system upgrade...
[  168.121733] sh (2383): drop_caches: 3
Unlocking firmware ...

Writing from <stdin> to firmware ...
Sat Dec 28 16:03:54 UTC 2024 upgrade: Upgrade completed
Sat Dec 28 16:03:55 UTC 2024 upgrade: Rebooting system...
umount: can't unmount /dev: Resource [  235.009417] reboot: Restarting system
busy
umount: can't unmount /tmp: Resource busy


U-Boot 1.1.3 (Jan  3 2014 - 09:12:42)

MAX Board: Ralink APSoC DRAM:  64 MB
relocate_code Pointer at: 83fb4000
enable ephy clock...done. rf reg 29 = 5
SSC disabled.
******************************
Software System Reset Occurred
******************************
spi_wait_nsec: 29
spi device id: ef 40 17 0 0 (40170000)
find flash: W25Q64BV
raspi_read: from:30000 len:1000
raspi_wait_ready: read_sr fail: e0
*** Warning - bad CRC, using default environment

============================================
Ralink UBoot Version: 4.1.1.0
--------------------------------------------
ASIC 7620_MP (Port5<->None)
DRAM component: 512 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 64 MBytes
Flash component: SPI Flash
Date:Jan  3 2014  Time:09:12:42
============================================
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

Please choose the operation:
   1: Load system code to SDRAM via TFTP.
   2: Load system code then write to Flash via TFTP.
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   7: Load Boot Loader code then write to Flash via Serial.
   9: Load Boot Loader code then write to Flash via TFTP.                            0

3: System Boot system code via Flash.
## Booting image at bc050000 ...
raspi_read: from:50000 len:40
raspi_wait_ready: read_sr fail: e0
Bad Magic Number,00000000

initramfs przez 1 czy sysupgrade przez 2?

Przez 1 wgrałem czyste openwrt 23.05 (mifi 24.10 się nie zmieściło) i z zrobiłem aktualizację i dalej nic hmm

U-Boot 1.1.3 (Jan  3 2014 - 09:12:42)

MAX Board: Ralink APSoC DRAM:  64 MB
relocate_code Pointer at: 83fb4000
enable ephy clock...done. rf reg 29 = 5
SSC disabled.
spi_wait_nsec: 29
spi device id: ef 40 17 0 0 (40170000)
find flash: W25Q64BV
raspi_read: from:30000 len:1000
raspi_wait_ready: read_sr fail: fc
*** Warning - bad CRC, using default environment

============================================
Ralink UBoot Version: 4.1.1.0
--------------------------------------------
ASIC 7620_MP (Port5<->None)
DRAM component: 512 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 64 MBytes
Flash component: SPI Flash
Date:Jan  3 2014  Time:09:12:42
============================================
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

Please choose the operation:
   1: Load system code to SDRAM via TFTP.
   2: Load system code then write to Flash via TFTP.
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   7: Load Boot Loader code then write to Flash via Serial.
   9: Load Boot Loader code then write to Flash via TFTP.

You choosed 1
                                                                                     0
raspi_read: from:40028 len:6
raspi_wait_ready: read_sr fail: fc


1: System Load Linux to SDRAM via TFTP.
 Please Input new ones /or Ctrl-C to discard
        Input device IP (10.10.10.123) ==:10.10.10.123
        Input server IP (10.10.10.3) ==:10.10.10.3
        Input Linux Kernel filename () ==:ini.bin

 netboot_common, argc= 3

 NetTxPacket = 0x83FE4C80

 KSEG1ADDR(NetTxPacket) = 0xA3FE4C80

 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 10.10.10.3; our IP address is 10.10.10.123
Filename 'ini.bin'.

 TIMEOUT_COUNT=10,Load address: 0x80a00000
Loading: Got ARP REPLY, set server/gtwy eth addr (00:00:00:00:00:89)
Got it
#################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #######
done
Bytes transferred = 7024286 (6b2e9e hex)
NetBootFileXferSize= 006b2e9e
raspi_read: from:30000 len:10000
raspi_wait_ready: read_sr fail: fc
Automatic boot of image at addr 0x80A00000 ...
## Booting image at 80a00000 ...
   Image Name:   MIPS OpenWrt Linux-6.6.63
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    7024222 Bytes =  6.7 MB
   Load Address: 80000000
   Entry Point:  80000000
   Verifying Checksum ... OK
   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.63 (cezary@eko.one.pl) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 13.3.0 r28010-49d8f4b833) 13.3.0, GNU ld (GNU Binutils) 2.42) #0 Fri Dec  6 14:12:46 2024
[    0.000000] Board has DDR1
[    0.000000] Analog PMU set to hw control
[    0.000000] Digital PMU set to hw control
[    0.000000] SoC Type: MediaTek MT7620N ver:2 eco:6
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)
[    0.000000] MIPS: machine is Nexx WT3020 (8M)
[    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,57600 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=0007eadb
[    0.000000] Readback ErrCtl register=0007eadb
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16240
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 50948K/65536K available (6656K kernel code, 615K rwdata, 880K rodata, 5472K init, 241K bss, 14588K 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] CPU Clock: 580MHz
[    0.000000] clocksource: systick: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 583261500 ns
[    0.000000] systick: enable autosleep mode
[    0.000000] systick: running - mult: 214748, shift: 32
[    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.015546] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.087758] pid_max: default: 32768 minimum: 301
[    0.109656] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.124080] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.150673] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.
[    0.175350] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.194851] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.211635] pinctrl core: initialized pinctrl subsystem
[    0.226016] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.238551] thermal_sys: Registered thermal governor 'step_wise'
[    0.261006] clocksource: Switched to clocksource systick
[    0.297138] NET: Registered PF_INET protocol family
[    0.307060] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.323251] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.340005] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.355342] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.370583] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.384616] TCP: Hash tables configured (established 1024 bind 1024)
[    0.398086] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.412733] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.425627] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.440654] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.451885] PCI: CLS 0 bytes, default 32
[    0.459815] rt-timer 10000100.timer: maximum frequency is 1220Hz
[    1.181888] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[    1.196726] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.208243] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    1.236116] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.253191] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    1.272837] printk: console [ttyS0] disabled
[    1.281893] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103
[    1.301609] printk: console [ttyS0] enabled
[    1.301609] printk: console [ttyS0] enabled
[    1.318141] printk: bootconsole [early0] disabled
[    1.318141] printk: bootconsole [early0] disabled
[    1.353676] spi spi0.0: force spi mode3
[    1.362590] spi-nor spi0.0: s25fl064k (8192 Kbytes)
[    1.372552] 4 fixed-partitions partitions found on MTD device spi0.0
[    1.385298] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[    1.399904] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[    1.414840] Creating 4 MTD partitions on "spi0.0":
[    1.424449] 0x000000000000-0x000000030000 : "u-boot"
[    2.041493] 0x000000030000-0x000000040000 : "u-boot-env"
[    2.053081] 0x000000040000-0x000000050000 : "factory"
[    2.064313] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[    2.079286] 0x000000050000-0x000000800000 : "firmware"
[    2.090682] 2 uimage-fw partitions found on MTD device firmware
[    2.102569] Creating 2 MTD partitions on "firmware":
[    2.112472] 0x000000000000-0x00000017fc92 : "kernel"
[    2.122370] mtd: partition "kernel" doesn't end on an erase/write block -- force read-only
[    2.139824] 0x00000017fc92-0x0000007b0000 : "rootfs"
[    2.149804] mtd: partition "rootfs" doesn't start on an erase/write block boundary -- force read-only
[    2.169026] mtd: setting mtd5 (rootfs) as root device
[    2.179322] 1 squashfs-split partitions found on MTD device rootfs
[    2.191676] 0x000000470000-0x0000007b0000 : "rootfs_data"
[    2.222948] gsw: setting port4 to ephy mode
[    2.231569] mtk_soc_eth 10100000.ethernet: no mdio-bus child node found
[    2.244793] mtk_soc_eth 10100000.ethernet: mdio-bus disabled
[    2.256276] mtk_soc_eth 10100000.ethernet: loaded mt7620 driver
[    2.268968] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[    2.286199] rt2880_wdt 10000120.watchdog: Initialized
[    2.298999] NET: Registered PF_INET6 protocol family
[    2.315064] Segment Routing with IPv6
[    2.322555] In-situ OAM (IOAM) with IPv6
[    2.330615] NET: Registered PF_PACKET protocol family
[    2.340765] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    2.742438] 8021q: 802.1Q VLAN Support v1.8
[    2.777206] clk: Disabling unused clocks
[    6.319305] mtk_soc_eth 10100000.ethernet eth0: port 4 link up (100Mbps/Full duplex)
[   10.030522] Freeing unused kernel image (initmem) memory: 5472K
[   10.042377] This architecture does not have kernel memory protection.
[   10.055225] Run /init as init process
[   10.991714] cp invoked oom-killer: gfp_mask=0x140cca(GFP_HIGHUSER_MOVABLE|__GFP_COMP), order=0, oom_score_adj=0
[   11.011907] CPU: 0 PID: 272 Comm: cp Not tainted 6.6.63 #0
[   11.022843] Stack : 00000000 806ce024 00000000 00000840 00000000 00000000 00000000 00000000
[   11.039533]         00000000 00000000 00000000 00000000 00000000 00000001 82b25960 0c3ea12c
[   11.056212]         82b259f8 00000000 00000000 82b258a8 00000038 80678ae4 00000000 ffffffea
[   11.072893]         00000000 82b258b4 00000070 8076b8c8 80691bf4 82b25940 82b19a40 00000800
[   11.089573]         00000000 00000840 00000000 00000001 00000018 8036c92c 00000000 80d50000
[   11.106253]         ...
[   11.111119] Call Trace:
[   11.111133] [<80678ae4>] 0x80678ae4
[   11.122936] [<8036c92c>] 0x8036c92c
[   11.129878] [<80006244>] 0x80006244
[   11.136822] [<8000624c>] 0x8000624c
[   11.143764] [<8064f1c8>] 0x8064f1c8
[   11.150707] [<8012750c>] 0x8012750c
[   11.157652] [<80127e74>] 0x80127e74
[   11.164598] [<80128414>] 0x80128414
[   11.171541] [<80179ec8>] 0x80179ec8
[   11.178493] [<80143458>] 0x80143458
[   11.185447] [<801444dc>] 0x801444dc
[   11.192395] [<8011f508>] 0x8011f508
[   11.199343] [<801401e0>] 0x801401e0
[   11.206289] [<801a08a8>] 0x801a08a8
[   11.213231] [<801c4f20>] 0x801c4f20
[   11.220181] [<801a1850>] 0x801a1850
[   11.227124] [<8014f914>] 0x8014f914
[   11.234067] [<80131770>] 0x80131770
[   11.241010] [<801e0144>] 0x801e0144
[   11.247954] [<801b4de0>] 0x801b4de0
[   11.254907] [<801dec90>] 0x801dec90
[   11.261852] [<801df508>] 0x801df508
[   11.268801] [<801df7d8>] 0x801df7d8
[   11.275743] [<801dec5c>] 0x801dec5c
[   11.282686] [<801dec38>] 0x801dec38
[   11.289631] [<801a15ac>] 0x801a15ac
[   11.296581] [<801a3950>] 0x801a3950
[   11.303525] [<8019f66c>] 0x8019f66c
[   11.310470] [<8000d6e0>] 0x8000d6e0
[   11.317433]
[   11.320432] Mem-Info:
[   11.324975] active_anon:5116 inactive_anon:0 isolated_anon:0
[   11.324975]  active_file:0 inactive_file:0 isolated_file:0
[   11.324975]  unevictable:5918 dirty:0 writeback:0
[   11.324975]  slab_reclaimable:431 slab_unreclaimable:859
[   11.324975]  mapped:274 shmem:5059 pagetables:8
[   11.324975]  sec_pagetables:0 bounce:0
[   11.324975]  kernel_misc_reclaimable:0
[   11.324975]  free:1433 free_pcp:113 free_cma:0
[   11.399833] Node 0 active_anon:20464kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:23672kB isolated(anon):0kB isolated(file):0kB mapped:1096kB dirty:0kB writeback:0kB shmem:20236kB writeback_tmp:0kB kernel_stack:240kB pagetables:32kB sec_pagetables:0kB all_unreclaimable? yes
[   11.451827] Normal free:5732kB boost:8192kB min:9092kB low:9316kB high:9540kB reserved_highatomic:0KB active_anon:20464kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:23672kB writepending:0kB present:65536kB managed:56420kB mlocked:0kB bounce:0kB free_pcp:452kB local_pcp:452kB free_cma:0kB
[   11.506269] lowmem_reserve[]: 0 0
[   11.512887] Normal: 1*4kB (M) 0*8kB 14*16kB (U) 24*32kB (UM) 10*64kB (U) 6*128kB (UM) 5*256kB (UM) 2*512kB (U) 1*1024kB (M) 0*2048kB 0*4096kB 0*8192kB = 5732kB
[   11.541432] 10977 total pagecache pages
[   11.549065] 0 pages in swap cache
[   11.555664] Free swap  = 0kB
[   11.561401] Total swap = 0kB
[   11.567128] 16384 pages RAM
[   11.572684] 0 pages HighMem/MovableOnly
[   11.580314] 2279 pages reserved
[   11.586565] Tasks state (memory values in pages):
[   11.595935] [  pid  ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_adj name
[   11.613106] [    272]     0   272      384      287    16384        0             0 cp
[   11.628900] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),global_oom,task_memcg=/,task=cp,pid=272,uid=0
[   11.648707] Out of memory: Killed process 272 (cp) total-vm:1536kB, anon-rss:184kB, file-rss:964kB, shmem-rss:0kB, UID:0 pgtables:16kB oom_score_adj:0
Killed
[   11.677315] init invoked oom-killer: gfp_mask=0x40cc0(GFP_KERNEL|__GFP_COMP), order=0, oom_score_adj=0
[   11.696431] CPU: 0 PID: 1 Comm: init Not tainted 6.6.63 #0
[   11.707367] Stack : 00000000 806ce024 00000000 00000840 00000000 00000000 00000000 00000000
[   11.724056]         00000000 00000000 00000000 00000000 00000000 00000001 8182dc90 19a8d907
[   11.740734]         8182dd28 00000000 00000000 8182dbd8 00000038 80678ae4 00000000 ffffffea
[   11.757414]         00000000 8182dbe4 000000a9 8076b8c8 80691bf4 8182dc70 00000000 00000800
[   11.774095]         00000000 00000840 00000000 00000001 00000018 8036c92c 00000000 80d50000
[   11.790774]         ...
[   11.795641] Call Trace:
[   11.795655] [<80678ae4>] 0x80678ae4
[   11.807457] [<8036c92c>] 0x8036c92c
[   11.814401] [<80006244>] 0x80006244
[   11.821343] [<8000624c>] 0x8000624c
[   11.828285] [<8064f1c8>] 0x8064f1c8
[   11.835228] [<8012750c>] 0x8012750c
[   11.842173] [<8012864c>] 0x8012864c
[   11.849117] [<80179ec8>] 0x80179ec8
[   11.856070] [<80013508>] 0x80013508
[   11.863014] [<80021bc8>] 0x80021bc8
[   11.869959] [<8002228c>] 0x8002228c
[   11.876902] [<801ac3f0>] 0x801ac3f0
[   11.883849] [<801acad0>] 0x801acad0
[   11.890791] [<80035988>] 0x80035988
[   11.897736] [<801ad9e4>] 0x801ad9e4
[   11.904679] [<8000d6e0>] 0x8000d6e0
[   11.911625] [<80808080>] 0x80808080
[   11.918578]
[   11.921567] Mem-Info:
[   11.926085] active_anon:5071 inactive_anon:0 isolated_anon:0
[   11.926085]  active_file:0 inactive_file:0 isolated_file:0
[   11.926085]  unevictable:5918 dirty:0 writeback:0
[   11.926085]  slab_reclaimable:431 slab_unreclaimable:859
[   11.926085]  mapped:272 shmem:5060 pagetables:4
[   11.926085]  sec_pagetables:0 bounce:0
[   11.926085]  kernel_misc_reclaimable:0
[   11.926085]  free:1433 free_pcp:162 free_cma:0
[   12.000941] Node 0 active_anon:20284kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:23672kB isolated(anon):0kB isolated(file):0kB mapped:1088kB dirty:0kB writeback:0kB shmem:20240kB writeback_tmp:0kB kernel_stack:232kB pagetables:16kB sec_pagetables:0kB all_unreclaimable? yes
[   12.052939] Normal free:5732kB boost:8192kB min:9092kB low:9316kB high:9540kB reserved_highatomic:0KB active_anon:20284kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:23672kB writepending:0kB present:65536kB managed:56420kB mlocked:0kB bounce:0kB free_pcp:648kB local_pcp:648kB free_cma:0kB
[   12.107368] lowmem_reserve[]: 0 0
[   12.113985] Normal: 1*4kB (M) 0*8kB 14*16kB (U) 24*32kB (UM) 10*64kB (U) 6*128kB (UM) 5*256kB (UM) 2*512kB (U) 1*1024kB (M) 0*2048kB 0*4096kB 0*8192kB = 5732kB
[   12.142529] 10978 total pagecache pages
[   12.150160] 0 pages in swap cache
[   12.156758] Free swap  = 0kB
[   12.162495] Total swap = 0kB
[   12.168222] 16384 pages RAM
[   12.173779] 0 pages HighMem/MovableOnly
[   12.181426] 2279 pages reserved
[   12.187673] Tasks state (memory values in pages):
[   12.197043] [  pid  ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_adj name
[   12.214212] Out of memory and no killable processes...
[   12.224452] Kernel panic - not syncing: System is deadlocked on memory
[   12.237458] Rebooting in 1 seconds..


U-Boot 1.1.3 (Jan  3 2014 - 09:12:42)

MAX Board: Ralink APSoC DRAM:  64 MB
relocate_code Pointer at: 83fb4000
enable ephy clock...done. rf reg 29 = 5
SSC disabled.
******************************
Software System Reset Occurred
******************************
spi_wait_nsec: 29
spi device id: ef 40 17 0 0 (40170000)
find flash: W25Q64BV
raspi_read: from:30000 len:1000
raspi_wait_ready: read_sr fail: fc
*** Warning - bad CRC, using default environment

============================================
Ralink UBoot Version: 4.1.1.0
--------------------------------------------
ASIC 7620_MP (Port5<->None)
DRAM component: 512 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 64 MBytes
Flash component: SPI Flash
Date:Jan  3 2014  Time:09:12:42
============================================
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

Please choose the operation:
   1: Load system code to SDRAM via TFTP.
   2: Load system code then write to Flash via TFTP.
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   7: Load Boot Loader code then write to Flash via Serial.
   9: Load Boot Loader code then write to Flash via TFTP.                            2
You choosed 1
                                                                                     0
raspi_read: from:40028 len:6
raspi_wait_ready: read_sr fail: fc


1: System Load Linux to SDRAM via TFTP.
 Please Input new ones /or Ctrl-C to discard
        Input device IP (10.10.10.123) ==:10.10.10.123
        Input server IP (10.10.10.3) ==:10.10.10.3
        Input Linux Kernel filename () ==:23ini.bin

 netboot_common, argc= 3

 NetTxPacket = 0x83FE4C80

 KSEG1ADDR(NetTxPacket) = 0xA3FE4C80

 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 10.10.10.3; our IP address is 10.10.10.123
Filename '23ini.bin'.

 TIMEOUT_COUNT=10,Load address: 0x80a00000
Loading: Got ARP REPLY, set server/gtwy eth addr (00:00:00:00:00:89)
Got it
#################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ######
done
Bytes transferred = 5353374 (51af9e hex)
NetBootFileXferSize= 0051af9e
raspi_read: from:30000 len:10000
raspi_wait_ready: read_sr fail: fc
Automatic boot of image at addr 0x80A00000 ...
## Booting image at 80a00000 ...
   Image Name:   MIPS OpenWrt Linux-5.15.167
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    5353310 Bytes =  5.1 MB
   Load Address: 80000000
   Entry Point:  80000000
   Verifying Checksum ... OK
   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 5.15.167 (cezary@eko.one.pl) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r23004-7f0db09513) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 Wed Nov 6 10:43:07 2024
[    0.000000] Board has DDR1
[    0.000000] Analog PMU set to hw control
[    0.000000] Digital PMU set to hw control
[    0.000000] SoC Type: MediaTek MT7620N ver:2 eco:6
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)
[    0.000000] MIPS: machine is Nexx WT3020 (8M)
[    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] Built 1 zonelists, mobility grouping on.  Total pages: 16240
[    0.000000] Kernel command line: console=ttyS0,57600 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=0007ead0
[    0.000000] Readback ErrCtl register=0007ead0
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 53140K/65536K available (5949K kernel code, 611K rwdata, 744K rodata, 4144K init, 225K bss, 12396K 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] CPU Clock: 580MHz
[    0.000000] clocksource: systick: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 583261500 ns
[    0.000000] systick: enable autosleep mode
[    0.000000] systick: running - mult: 214748, shift: 32
[    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.015570] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.087794] pid_max: default: 32768 minimum: 301
[    0.098140] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.112568] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.136351] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.155853] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.169556] pinctrl core: initialized pinctrl subsystem
[    0.181588] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.194002] thermal_sys: Registered thermal governor 'step_wise'
[    0.209934] rt2880_gpio 10000600.gpio: registering 24 gpios
[    0.232889] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[    0.245679] rt2880_gpio 10000688.gpio: registering 1 gpios
[    0.256538] rt2880_gpio 10000688.gpio: registering 1 irq handlers
[    0.271408] clocksource: Switched to clocksource systick
[    0.283747] NET: Registered PF_INET protocol family
[    0.293648] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.309103] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.325862] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.341192] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.356432] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.370449] TCP: Hash tables configured (established 1024 bind 1024)
[    0.383260] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.396184] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.410453] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.421678] PCI: CLS 0 bytes, default 32
[    0.429639] rt-timer 10000100.timer: maximum frequency is 1220Hz
[    1.156205] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[    1.176467] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.187995] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    1.209235] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.226974] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    1.243182] printk: console [ttyS0] disabled
[    1.251692] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103
[    1.271334] printk: console [ttyS0] enabled
[    1.271334] printk: console [ttyS0] enabled
[    1.287916] printk: bootconsole [early0] disabled
[    1.287916] printk: bootconsole [early0] disabled
[    1.317328] spi spi0.0: force spi mode3
[    1.326558] spi-nor spi0.0: s25fl064k (8192 Kbytes)
[    1.336417] 4 fixed-partitions partitions found on MTD device spi0.0
[    1.349132] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[    1.363748] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[    1.378844] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[    1.393504] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[    1.408315] Creating 4 MTD partitions on "spi0.0":
[    1.417959] 0x000000000000-0x000000030000 : "u-boot"
[    1.429831] 0x000000030000-0x000000040000 : "u-boot-env"
[    1.442069] 0x000000040000-0x000000050000 : "factory"
[    1.453831] 0x000000050000-0x000000800000 : "firmware"
[    1.465732] 2 uimage-fw partitions found on MTD device firmware
[    1.477615] Creating 2 MTD partitions on "firmware":
[    1.487576] 0x000000000000-0x00000017fc92 : "kernel"
[    1.497482] mtd: partition "kernel" doesn't end on an erase/write block -- force read-only
[    1.515586] 0x00000017fc92-0x0000007b0000 : "rootfs"
[    1.525569] mtd: partition "rootfs" doesn't start on an erase/write block boundary -- force read-only
[    1.545235] mtd: setting mtd5 (rootfs) as root device
[    1.555670] 1 squashfs-split partitions found on MTD device rootfs
[    1.568094] 0x000000470000-0x0000007b0000 : "rootfs_data"
[    1.598274] gsw: setting port4 to ephy mode
[    1.621687] mtk_soc_eth 10100000.ethernet: no mdio-bus child node found
[    1.634933] mtk_soc_eth 10100000.ethernet: mdio-bus disabled
[    1.646438] mtk_soc_eth 10100000.ethernet: loaded mt7620 driver
[    1.659123] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[    1.676503] rt2880_wdt 10000120.watchdog: Initialized
[    1.688744] NET: Registered PF_INET6 protocol family
[    2.313070] Segment Routing with IPv6
[    2.320473] In-situ OAM (IOAM) with IPv6
[    2.328565] NET: Registered PF_PACKET protocol family
[    2.338736] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    2.364870] 8021q: 802.1Q VLAN Support v1.8
[    2.375413] clk: Disabling unused clocks
[    5.967251] mtk_soc_eth 10100000.ethernet eth0: port 4 link up (100Mbps/Full duplex)
[    7.238619] Freeing unused kernel image (initmem) memory: 4144K
[    7.250468] This architecture does not have kernel memory protection.
[    7.263316] Run /init as init process
[    7.847265] init: Console is alive
[    7.854805] init: - watchdog -
[    7.889341] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    7.913855] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    7.934223] init: - preinit -
[    8.254148] random: jshn: uninitialized urandom read (4 bytes read)
[    8.382979] random: jshn: uninitialized urandom read (4 bytes read)
[    8.613026] random: jshn: uninitialized urandom read (4 bytes read)
[    9.106022] 8021q: adding VLAN 0 to HW filter on device eth0
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
[   10.028922] procd: - early -
[   10.035818] procd: - watchdog -
[   10.365718] procd: - watchdog -
[   10.372462] procd: - ubus -
[   10.388964] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.412935] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.426306] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.443725] procd: - init -
Please press Enter to activate this console.
[   11.256857] kmodloader: loading kernel modules from /etc/modules.d/*
[   11.856075] Loading modules backported from Linux version v6.1.110-0-g5f55cad62cc9d
[   11.871441] Backport generated by backports.git v6.1.110-1-0-g965f73fc
[   12.168263] PPP generic driver version 2.4.2
[   12.192048] NET: Registered PF_PPPOX protocol family
[   12.281064] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device "factory"
[   12.295505] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 6352, rev 0500 detected
[   12.310980] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 7620 detected
[   12.421523] kmodloader: done loading kernel modules from /etc/modules.d/*
[   13.718035] random: jshn: uninitialized urandom read (4 bytes read)
[   13.979420] random: jshn: uninitialized urandom read (4 bytes read)
[   14.568112] random: jshn: uninitialized urandom read (4 bytes read)
[   14.799732] random: jshn: uninitialized urandom read (4 bytes read)
[   29.571068] random: crng init done
[   29.577868] random: 72 urandom warning(s) missed due to ratelimiting
[   99.238542] 8021q: adding VLAN 0 to HW filter on device eth0
[   99.318682] br-lan: port 1(eth0.1) entered blocking state
[   99.329535] br-lan: port 1(eth0.1) entered disabled state
[   99.340705] device eth0.1 entered promiscuous mode
[   99.350306] device eth0 entered promiscuous mode
[   99.541381] br-lan: port 1(eth0.1) entered blocking state
[   99.552218] br-lan: port 1(eth0.1) entered forwarding state
[  100.301536] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[  155.763015] urngd: v1.0.2 started.



BusyBox v1.36.1 (2024-11-04 16:27:52 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------------------------------
 |                                                                           |
 | OpenWrt 23.05-SNAPSHOT, r24133-33b45c0a0e                                 |
 |                                                                           |
 | Build time: 2024-11-09 09:04 CET                                          |
 | Cezary Jackiewicz, https://eko.one.pl                                     |
 |                                                                           |
 -----------------------------------------------------------------------------
 | Machine: Nexx WT3020 (8M)                                                 |
 | Uptime: 0d, 00:02:39                                                      |
 | Load: 3.36 2.57 1.09                                                      |
 | Flash:                                                                    |
 | Memory: total: 55.9MB, free: 40.8MB, used: 27%                            |
 | Leases: 0                                                                 |
 | lan: static, 192.168.1.1                                                  |
 | wan: dhcp, ?                                                              |
 | wan6: dhcpv6, ?                                                           |
 -----------------------------------------------------------------------------
 === WARNING! ================================================================
 There is no root password defined on this device!
 Use the "passwd" command to set up a new password
 in order to prevent unauthorized SSH logins.
 -----------------------------------------------------------------------------
root@OpenWrt:/# ping eko.one.pl
PING eko.one.pl (2.57.137.5): 56 data bytes
64 bytes from 2.57.137.5: seq=0 ttl=57 time=8.980 ms
64 bytes from 2.57.137.5: seq=1 ttl=57 time=8.540 ms
64 bytes from 2.57.137.5: seq=2 ttl=57 time=7.880 ms
64 bytes from 2.57.137.5: seq=3 ttl=57 time=8.700 ms
64 bytes from 2.57.137.5: seq=4 ttl=57 time=8.600 ms
64 bytes from 2.57.137.5: seq=5 ttl=57 time=9.340 ms
64 bytes from 2.57.137.5: seq=6 ttl=57 time=9.940 ms
64 bytes from 2.57.137.5: seq=7 ttl=57 time=9.740 ms
64 bytes from 2.57.137.5: seq=8 ttl=57 time=8.720 ms
64 bytes from 2.57.137.5: seq=9 ttl=57 time=8.180 ms
64 bytes from 2.57.137.5: seq=10 ttl=57 time=9.541 ms
64 bytes from 2.57.137.5: seq=11 ttl=57 time=8.740 ms
^C
--- eko.one.pl ping statistics ---
12 packets transmitted, 12 packets received, 0% packet loss
round-trip min/avg/max = 7.880/8.908/9.940 ms
root@OpenWrt:/# wget -O /tmp/a.bin http://dl.eko.one.pl/openwrt-23.05/targets/ra
mips/mt7620/openwrt-23.05-snapshot-r24133-33b45c0a0e-ramips-mt7620-nexx_wt3020-8
m-squashfs-sysupgrade.bin
Downloading 'http://dl.eko.one.pl/openwrt-23.05/targets/ramips/mt7620/openwrt-23.05-snapshot-r24133-33b45c0a0e-ramips-mt7620-nexx_wt3020-8m-squashfs-sysupgrade.bin'
Connecting to 95.160.102.195:80
Writing to '/tmp/a.bin'
/tmp/a.bin           100% |*******************************|  6656k  0:00:00 ETA
Download completed (6816041 bytes)
root@OpenWrt:/# sysupgrade -n /tmp/a.bin
Sat Dec 28 14:44:40 CET 2024 upgrade: Commencing upgrade. Closing all shell sessions.
Watchdog handover: fd=3
- watchdog -
Watchdog does not have CARDRESET support
Sat Dec 28 14:44:41 CET 2024 upgrade: Sending TERM to remaining processes ...
Sat Dec 28 14:44:45 CET 2024 upgrade: Sending KILL to remaining processes ...
[  527.924046] stage2 (2798): drop_caches: 3
Sat Dec 28 14:44:51 CET 2024 upgrade: Switching to ramdisk...
Sat Dec 28 13:44:54 UTC 2024 upgrade: Performing system upgrade...
[  530.678401] do_stage2 (2798): drop_caches: 3
Unlocking firmware ...

Writing from <stdin> to firmware ...
Sat Dec 28 13:45:09 UTC 2024 upgrade: Upgrade completed
Sat Dec 28 13:45:10 UTC 2024 upgrade: Rebooting system...
umount: can't unmount /dev: Resource busy
umoun[  545.533591] reboot: Restarting system
t: can't unmount /tmp: Resource busy


U-Boot 1.1.3 (Jan  3 2014 - 09:12:42)

MAX Board: Ralink APSoC DRAM:  64 MB
relocate_code Pointer at: 83fb4000
enable ephy clock...done. rf reg 29 = 5
SSC disabled.
******************************
Software System Reset Occurred
******************************
spi_wait_nsec: 29
spi device id: ef 40 17 0 0 (40170000)
find flash: W25Q64BV
raspi_read: from:30000 len:1000
raspi_wait_ready: read_sr fail: fc
*** Warning - bad CRC, using default environment

============================================
Ralink UBoot Version: 4.1.1.0
--------------------------------------------
ASIC 7620_MP (Port5<->None)
DRAM component: 512 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 64 MBytes
Flash component: SPI Flash
Date:Jan  3 2014  Time:09:12:42
============================================
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

Please choose the operation:
   1: Load system code to SDRAM via TFTP.
   2: Load system code then write to Flash via TFTP.
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   7: Load Boot Loader code then write to Flash via Serial.
   9: Load Boot Loader code then write to Flash via TFTP.                            0

3: System Boot system code via Flash.
## Booting image at bc050000 ...
raspi_read: from:50000 len:40
raspi_wait_ready: read_sr fail: fc
Bad Magic Number,00000000

93

(70 odpowiedzi, napisanych Sprzęt / Hardware)

a który sygnał jest który licząc od kwadratu?

94

(70 odpowiedzi, napisanych Sprzęt / Hardware)

wisipior napisał/a:

Zaaplikowane MiFi na tym "cacku".

Zakładam, że się wpiąłeś przez serial port. Gdzie on jest na płycie? To złącze X2 na krawędzi?

MF282

coś się obrazek nie chce wyświetlić. Zdjęcie jest tutaj:
https://paste.pics/387139493e4b674272f3618db923f4dd

Ja już wczoraj próbowałem wgrać sysupgrade (podobnie jak i factory czy initramfs), ale chwilę temu ściągnąłem jeszcze raz obrazy Mifi 24.10 i wgrałem najpierw sysupgrade i nie działa, później factory i initramfs i też nic.

Co oznacza ten błąd

 raspi_wait_ready: read_sr fail: fc 

przewija się i przy urchamianiu i przy flashowaniu?

96

(7 odpowiedzi, napisanych Sprzęt / Hardware)

Nie mogłem znaleźć momentu w którym TFTP zaskoczy, ale znalazłem jakiś filmik po chińsku, że jak włączę router z wciśniętym przyciskiem to router wejdzie w uboot i powinienem móc wgrać soft przez stronę www i to mi się udało. W stopce znalazłem link do githuba pepe2k, jak to czytasz to  dziękuję smile

Próbowałem w ten sam sposób wgrać soft od 710N, ale efekt był ten sam co poprzednio. Jak więc wgrać soft od 710N do tego mojego 703N?

Reanimuję Nexx WT3020, był tam któryś z Openwrt, ale przestał się uruchamiać. Rozebrałem go i podłączyłem przez port szeregowy do komputera. W Putty go widzę, uruchamiam w trybie 2, przeklikuję adresy i wpisuję ścieżkę do firmware (próbowałem w wersji initramfs i sysupgrade) i niby się aktualizuje soft, ale po restarcie nie wstaje. Co robię źle?

U-Boot 1.1.3 (Jan  3 2014 - 09:12:42)

MAX Board: Ralink APSoC DRAM:  64 MB
relocate_code Pointer at: 83fb4000
enable ephy clock...done. rf reg 29 = 5
SSC disabled.
******************************
Software System Reset Occurred
******************************
spi_wait_nsec: 29
spi device id: ef 40 17 0 0 (40170000)
find flash: W25Q64BV
raspi_read: from:30000 len:1000
raspi_wait_ready: read_sr fail: fc
*** Warning - bad CRC, using default environment

============================================
Ralink UBoot Version: 4.1.1.0
--------------------------------------------
ASIC 7620_MP (Port5<->None)
DRAM component: 512 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 64 MBytes
Flash component: SPI Flash
Date:Jan  3 2014  Time:09:12:42
============================================
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

Please choose the operation:
   1: Load system code to SDRAM via TFTP.
   2: Load system code then write to Flash via TFTP.
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   7: Load Boot Loader code then write to Flash via Serial.
   9: Load Boot Loader code then write to Flash via TFTP.

You choosed 2
                                                                              0
raspi_read: from:40028 len:6
raspi_wait_ready: read_sr fail: fc


2: System Load Linux Kernel then write to Flash via TFTP.
 Warning!! Erase Linux in Flash then burn new one. Are you sure?(Y/N)
 Please Input new ones /or Ctrl-C to discard
        Input device IP (10.10.10.123) ==:10.10.10.123
        Input server IP (10.10.10.3) ==:10.10.10.3
        Input Linux Kernel filename () ==:2305init.bin

 netboot_common, argc= 3

 NetTxPacket = 0x83FE4C80

 KSEG1ADDR(NetTxPacket) = 0xA3FE4C80

 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 10.10.10.3; our IP address is 10.10.10.123
Filename '2305init.bin'.

 TIMEOUT_COUNT=10,Load address: 0x80100000
Loading: Got ARP REPLY, set server/gtwy eth addr (00:00:00:00:00:89)
Got it
#################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##################
done
Bytes transferred = 6080923 (5cc99b hex)
NetBootFileXferSize= 005cc99b
raspi_erase_write: offs:50000, count:5cc99b
raspi_erase: offs:50000 len:5c0000
raspi_wait_ready: read_sr fail: fc
## Booting image at bc050000 ...
raspi_read: from:50000 len:40
raspi_wait_ready: read_sr fail: fc
Bad Magic Number,00000000


U-Boot 1.1.3 (Jan  3 2014 - 09:12:42)

MAX Board: Ralink APSoC DRAM:  64 MB
relocate_code Pointer at: 83fb4000
enable ephy clock...done. rf reg 29 = 5
SSC disabled.
******************************
Software System Reset Occurred
******************************
spi_wait_nsec: 29
spi device id: ef 40 17 0 0 (40170000)
find flash: W25Q64BV
raspi_read: from:30000 len:1000
raspi_wait_ready: read_sr fail: fc
*** Warning - bad CRC, using default environment

============================================
Ralink UBoot Version: 4.1.1.0
--------------------------------------------
ASIC 7620_MP (Port5<->None)
DRAM component: 512 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 64 MBytes
Flash component: SPI Flash
Date:Jan  3 2014  Time:09:12:42
============================================
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

Please choose the operation:
   1: Load system code to SDRAM via TFTP.
   2: Load system code then write to Flash via TFTP.
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   7: Load Boot Loader code then write to Flash via Serial.
   9: Load Boot Loader code then write to Flash via TFTP.                     3
You choosed 3
                                                                              0

3: System Boot system code via Flash.
## Booting image at bc050000 ...
raspi_read: from:50000 len:40
raspi_wait_ready: read_sr fail: fc
Bad Magic Number,00000000

98

(7 odpowiedzi, napisanych Sprzęt / Hardware)

Cezary napisał/a:

1. failsafe mode. Jeżeli nie działa

Poprawiłem wpis powyżej. Chyba failsafe nie działa hmm Już po fakcie mnie naszło czy nie powininem wgrać initframs zamiast sysupgrade?

Cezary napisał/a:

2. Wgranie softu normalnie przez bootloader

Normalnie to wgrywam przez sysupgrade, przez bootloader jeszcze tego nie robiłem. Znów na openwrt znalazłem, że robi się to przez TFTP/FTP z kombinacją klient/serwer w zależności od routera. Tylko nie znalazłem, przez co miałbym do tego 703N/710N wgrać. Wiesz może przez co i najlepiej jak krok po kroku?

Cezary napisał/a:

3. uart

Do tej pory udawało mi się nie korzystać z tej metody, bo i lutować może umiem, ale nie jestem fanem, więc zostawiam to jako ostateczną ostateczność wink

Tak przy okazji zapytam, bo mam jeszcze do reanimacji WT3020 i tam namierzyłem gdzie mam przylutować TX/RX, a masę z czego tam mogę najlepiej zrobić?

Do WR703N na sterydach czyli z 64MB RAM,16MB flash oraz MiFi 17.01 wgrałem openwrt-23.05-snapshot-r24133-33b45c0a0e-ath79-generic-tplink_tl-wr710n-v1-squashfs-sysupgrade z TP-Link WR710N z pomysłem doinstalowania easyconfig. Wgrałem po ssh przez sysupgrade -F -n ,bo bez -F było, że

Device tl-wr703n not supported by this image
Supported devices: tplink,tl-wr710n-v1 tl-wr710n
Image check 'fwtool_check_image' failed.

Upgrade się zrobił i było, że flash completed. Router wygląda, jakby startował normalnie, ale nie dostaję żadnego adresu z DHCP, ręczne jak ustawię IP na 192.168.1.10 to nie pinguje mi się 192.168.1.1 (a zakładam, że taki adres jest domyślnie), przez SSH oczywiście też się nie mogę połączyć. Nie wiem, czy żeby wejść w tryb failsafe to mam zrobić jak dla 703N czy 710N (na operwrt.org są różne sposoby dla tych routerów), ale wygląda, że działa mi ta wersja od 703N, bo dioda led zaczyna migać bardzo szybko co pokrywałoby się z opisem na operwrt.org. Ale do 192.168.1.1 też nie mogę się dobić.

już się nie mogę doczekać smile