Got stuck on ''system running in recovery (initramfs) mode" | Totolink X5000R

@frollic @d687r02j8g bro,If I have done any mistake please forgive me and correct me. i tried and got this...

 1
regValue=[0x0]
Port3 Link DOWN!

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.
   6: Load Flash code then burn to Flash via TFTP.
   7: Load Boot Loader code then write to Flash via Serial.
   9: Load Boot Loader code then write to Flash via TFTP.
default: 3

You choosed 2
                                                                              0


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 (192.168.1.1) ==:192.168.1.1
        Input server IP (192.168.1.2) ==:192.168.1.2
        Input Linux Kernel filename () ==:TOTOLINK_C8343R-1C_X5000R_IP04433_MT7621A_SPI_16M256M_V9.1.0u.6118_B20201102_ALL.web
Trying Eth0 (10/100-M)

 Waitting for RX_DMA_BUSY status Start... done


 ETH_STATE_ACTIVE!!
TFTP from server 192.168.1.2; our IP address is 192.168.1.1
Filename 'TOTOLINK_C8343R-1C_X5000R_IP04433_MT7621A_SPI_16M256M_V9.1.0u.6118_B20201102_ALL.web'.

 TIMEOUT_COUNT=10,Load address: 0x88000000
Loading: checksum bad!!!
checksum bad!!!
checksum bad!!!
checksum bad!!!
checksum bad!!!
checksum bad!!!
checksum bad!!!
Got ARP REPLY, set server/gtwy eth addr (04:42:1a:99:5d:9b)
Got it
#################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ####################
done
Bytes transferred = 9086104 (8aa498 hex)
LoadAddr=88000000 NetBootFileXferSize= 008aa498
upfile len = 0x8aa498
custom img - type 2
userdatabin erase+write
raspi_erase: offs:f00000 len:10000
.
orig web erase+write
Abort: image size larger than 2097152!

## Booting image at bfc50000 ...
   Image Name:   C8343R-9999
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    5763479 Bytes =  5.5 MB
   Load Address: 80001000
   Entry Point:  80001000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80001000) ...
## Giving linux memsize in MB, 256

Starting kernel ...

[    0.000000] Linux version 5.10.176 (builder@buildhost) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 11.2.0 r20134-5f15225c1e) 11.2.0, GNU ld (GNU Binutils) 2.37) #0 SMP Thu Apr 27 20:28:15 2023
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is TOTOLINK X5000R
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] VPE topology {2,2} total 4
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] percpu: Embedded 15 pages/cpu s30480 r8192 d22768 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Writing ErrCtl register=00004014
[    0.000000] Readback ErrCtl register=00004014
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 246356K/262144K available (7064K kernel code, 631K rwdata, 832K rodata, 4196K init, 243K bss, 15788K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 256
[    0.000000] CPU Clock: 880MHz
[    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[    0.000012] sched_clock: 64 bits at 880MHz, resolution 1ns, wraps every 4398046511103ns
[    0.007941] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[    0.017000] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.083161] pid_max: default: 32768 minimum: 301
[    0.087922] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.095125] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.105749] rcu: Hierarchical SRCU implementation.
[    0.110798] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[    0.118911] smp: Bringing up secondary CPUs ...
[    0.124198] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.124209] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.124220] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.124295] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.178697] Synchronize counters for CPU 1: done.
[    0.211144] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.211153] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.211161] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.211207] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.270109] Synchronize counters for CPU 2: done.
[    0.300716] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.300725] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.300733] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.300781] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.355296] Synchronize counters for CPU 3: done.
[    0.385162] smp: Brought up 1 node, 4 CPUs
[    0.393127] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.402949] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.409964] pinctrl core: initialized pinctrl subsystem
[    0.417588] NET: Registered protocol family 16
[    0.423190] thermal_sys: Registered thermal governor 'step_wise'
[    0.424525] cpuidle: using governor teo
[    0.473158] clocksource: Switched to clocksource GIC
[    0.479882] NET: Registered protocol family 2
[    0.484722] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.493400] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.501708] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.509375] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.516461] TCP: Hash tables configured (established 2048 bind 2048)
[    0.522894] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.529372] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.536608] NET: Registered protocol family 1
[    0.540909] PCI: CLS 0 bytes, default 32
[    4.216508] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    4.226993] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    4.232739] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    4.243418] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    4.252608] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    4.258540] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    4.264484] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    4.270947] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    4.281464] printk: console [ttyS0] disabled
[    4.285792] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[    4.294795] printk: console [ttyS0] enabled
[    4.294795] printk: console [ttyS0] enabled
[    4.303034] printk: bootconsole [early0] disabled
[    4.303034] printk: bootconsole [early0] disabled
[    4.315754] spi-mt7621 1e000b00.spi: sys_freq: 220000000
[    4.322375] spi-nor spi0.0: unrecognized JEDEC id bytes: 5e 40 18 5e 40 18
[    4.329301] spi-nor: probe of spi0.0 failed with error -2
[    4.375065] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    4.383763] mtk_soc_eth 1e100000.ethernet: generated random MAC address ca:7a:9a:31:94:74
[    4.392777] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21
[    4.401971] i2c /dev entries driver
[    4.408016] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
[    4.414759] mt7621-pci 1e140000.pcie:   No bus range found for /pcie@1e140000, using [bus 00-ff]
[    4.423558] mt7621-pci 1e140000.pcie:      MEM 0x0060000000..0x006fffffff -> 0x0000000000
[    4.431710] mt7621-pci 1e140000.pcie:       IO 0x001e160000..0x001e16ffff -> 0x0000000000
[    4.439968] mt7621-pci 1e140000.pcie: Parsing DT failed
[    4.447613] NET: Registered protocol family 10
[    4.453896] Segment Routing with IPv6
[    4.457654] NET: Registered protocol family 17
[    4.462151] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    4.475442] 8021q: 802.1Q VLAN Support v1.8
[    4.482990] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    4.566154] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [mt7530-0:00] driver [MediaTek MT7530 PHY] (irq=26)
[    4.578404] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7530 PHY] (irq=27)
[    4.590660] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7530 PHY] (irq=28)
[    4.602881] mt7530 mdio-bus:1f lan4 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7530 PHY] (irq=29)
[    4.615156] mt7530 mdio-bus:1f wan (uninitialized): PHY [mt7530-0:04] driver [MediaTek MT7530 PHY] (irq=30)
[    4.627584] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[    4.637997] DSA: tree 0 setup
[    4.641258] rt2880-pinmux pinctrl: pcie is already enabled
[    4.646828] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
[    4.653535] mt7621-pci 1e140000.pcie:   No bus range found for /pcie@1e140000, using [bus 00-ff]
[    4.662311] mt7621-pci 1e140000.pcie:      MEM 0x0060000000..0x006fffffff -> 0x0000000000
[    4.670478] mt7621-pci 1e140000.pcie:       IO 0x001e160000..0x001e16ffff -> 0x0000000000
[    4.678744] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1)
[    4.686480] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0)
[    4.694097] mt7621-pci 1e140000.pcie: failed to parse bus ranges property: -22
[    4.801480] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[    4.807069] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz
[    4.912761] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[    4.919712] mt7621-pci 1e140000.pcie: PCIE0 enabled
[    4.924590] mt7621-pci 1e140000.pcie: PCIE1 enabled
[    4.929451] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    4.938887] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    4.945251] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
[    4.952102] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    4.958965] pci_bus 0000:00: root bus resource [bus 00-ff]
[    4.964447] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff] (bus address [0x00000000-0x0fffffff])
[    4.974655] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    4.980654] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    4.986921] pci 0000:00:00.0: reg 0x14: initial BAR value 0x00000000 invalid
[    4.993955] pci 0000:00:00.0: reg 0x14: [mem size 0x00010000]
[    4.999744] pci 0000:00:00.0: supports D1
[    5.003751] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    5.010004] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    5.016052] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    5.022296] pci 0000:00:01.0: reg 0x14: initial BAR value 0x00000000 invalid
[    5.029328] pci 0000:00:01.0: reg 0x14: [mem size 0x00010000]
[    5.035128] pci 0000:00:01.0: supports D1
[    5.039122] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    5.046249] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    5.054264] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    5.062470] pci 0000:01:00.0: [14c3:7916] type 00 class 0x000280
[    5.068516] pci 0000:01:00.0: reg 0x10: initial BAR value 0x00000000 invalid
[    5.075560] pci 0000:01:00.0: reg 0x10: [mem size 0x00100000 64bit pref]
[    5.082245] pci 0000:01:00.0: reg 0x18: initial BAR value 0x00000000 invalid
[    5.089277] pci 0000:01:00.0: reg 0x18: [mem size 0x00004000 64bit pref]
[    5.095987] pci 0000:01:00.0: reg 0x20: initial BAR value 0x00000000 invalid
[    5.103006] pci 0000:01:00.0: reg 0x20: [mem size 0x00001000 64bit pref]
[    5.109819] pci 0000:01:00.0: supports D1 D2
[    5.114088] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    5.120716] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:00.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    5.136716] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    5.141938] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    5.148028] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    5.154806] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff pref]
[    5.162003] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    5.168884] pci 0000:02:00.0: [14c3:7915] type 00 class 0x000280
[    5.174943] pci 0000:02:00.0: reg 0x10: initial BAR value 0x00000000 invalid
[    5.181970] pci 0000:02:00.0: reg 0x10: [mem size 0x00100000 64bit pref]
[    5.188670] pci 0000:02:00.0: reg 0x18: initial BAR value 0x00000000 invalid
[    5.195704] pci 0000:02:00.0: reg 0x18: [mem size 0x00004000 64bit pref]
[    5.202390] pci 0000:02:00.0: reg 0x20: initial BAR value 0x00000000 invalid
[    5.209422] pci 0000:02:00.0: reg 0x20: [mem size 0x00001000 64bit pref]
[    5.216231] pci 0000:02:00.0: supports D1 D2
[    5.220483] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    5.227133] pci 0000:02:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    5.243368] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[    5.248593] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    5.254677] pci 0000:00:01.0:   bridge window [mem 0x60000000-0x600fffff]
[    5.261436] pci 0000:00:01.0:   bridge window [mem 0x60000000-0x600fffff pref]
[    5.268646] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    5.275297] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    5.281882] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    5.288841] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    5.295442] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    5.302378] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    5.309156] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x602fffff pref]
[    5.316367] pci 0000:00:01.0: BAR 8: assigned [mem 0x60300000-0x603fffff]
[    5.323148] pci 0000:00:01.0: BAR 9: assigned [mem 0x60400000-0x605fffff pref]
[    5.330340] pci 0000:00:00.0: BAR 1: assigned [mem 0x60600000-0x6060ffff]
[    5.337123] pci 0000:00:01.0: BAR 1: assigned [mem 0x60610000-0x6061ffff]
[    5.343910] pci 0000:00:00.0: BAR 7: assigned [io  0x1e160000-0x1e160fff]
[    5.350671] pci 0000:00:01.0: BAR 7: assigned [io  0x1e161000-0x1e161fff]
[    5.357457] pci 0000:01:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit pref]
[    5.365198] pci 0000:01:00.0: BAR 2: assigned [mem 0x60200000-0x60203fff 64bit pref]
[    5.372920] pci 0000:01:00.0: BAR 4: assigned [mem 0x60204000-0x60204fff 64bit pref]
[    5.380655] pci 0000:00:00.0: PCI bridge to [bus 01]
[    5.385618] pci 0000:00:00.0:   bridge window [io  0x1e160000-0x1e160fff]
[    5.392377] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    5.399151] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x602fffff pref]
[    5.406377] pci 0000:02:00.0: BAR 0: assigned [mem 0x60400000-0x604fffff 64bit pref]
[    5.414119] pci 0000:02:00.0: BAR 2: assigned [mem 0x60500000-0x60503fff 64bit pref]
[    5.421840] pci 0000:02:00.0: BAR 4: assigned [mem 0x60504000-0x60504fff 64bit pref]
[    5.429575] pci 0000:00:01.0: PCI bridge to [bus 02]
[    5.434535] pci 0000:00:01.0:   bridge window [io  0x1e161000-0x1e161fff]
[    5.441295] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x603fffff]
[    5.448068] pci 0000:00:01.0:   bridge window [mem 0x60400000-0x605fffff pref]
[    5.472068] Freeing unused kernel memory: 4196K
[    5.476660] This architecture does not have kernel memory protection.
[    5.483116] Run /init as init process
[    5.487153] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control rx/tx
[    5.941325] init: Console is alive
[    5.945155] init: - watchdog -
[    5.959366] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.973318] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.983576] init: - preinit -
[    6.180747] random: jshn: uninitialized urandom read (4 bytes read)
[    6.259326] random: jshn: uninitialized urandom read (4 bytes read)
[    6.299298] random: jshn: uninitialized urandom read (4 bytes read)
[    6.550735] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[    6.559570] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    6.563406] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[    6.574991] 8021q: adding VLAN 0 to HW filter on device lan1
[    6.583314] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
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.677953] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[    9.685510] IPv6: ADDRCONF(NETDEV_CHANGE): lan1: link becomes ready
[   10.730444] mt7530 mdio-bus:1f lan1: Link is Down
[   10.744766] procd: - early -
[   10.747879] procd: - watchdog -
[   11.303404] procd: - watchdog -
[   11.307558] procd: - ubus -
[   11.317786] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.363933] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.370757] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.380570] procd: - init -
Please press Enter to activate this console.
[   11.735102] kmodloader: loading kernel modules from /etc/modules.d/*
[   11.796595] PPP generic driver version 2.4.2
[   11.802461] NET: Registered protocol family 24
[   11.814468] kmodloader: done loading kernel modules from /etc/modules.d/*
[   11.954147] urngd: v1.0.2 started.
[   12.128710] random: crng init done
[   12.132105] random: 30 urandom warning(s) missed due to ratelimiting
[   30.817354] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[   30.833932] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[   30.843600] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   30.846182] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[   30.859343] 8021q: adding VLAN 0 to HW filter on device lan1
[   30.868196] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   30.875752] br-lan: port 1(lan1) entered blocking state
[   30.881047] br-lan: port 1(lan1) entered disabled state
[   30.888612] device lan1 entered promiscuous mode
[   30.893380] device eth0 entered promiscuous mode
[   30.929862] mt7530 mdio-bus:1f lan2: configuring for phy/gmii link mode
[   30.937208] 8021q: adding VLAN 0 to HW filter on device lan2
[   30.946783] br-lan: port 2(lan2) entered blocking state
[   30.952093] br-lan: port 2(lan2) entered disabled state
[   30.959385] device lan2 entered promiscuous mode
[   30.980602] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[   30.988070] 8021q: adding VLAN 0 to HW filter on device lan3
[   30.998326] br-lan: port 3(lan3) entered blocking state
[   31.003672] br-lan: port 3(lan3) entered disabled state
[   31.011753] device lan3 entered promiscuous mode
[   31.030660] mt7530 mdio-bus:1f lan4: configuring for phy/gmii link mode
[   31.038029] 8021q: adding VLAN 0 to HW filter on device lan4
[   31.048523] br-lan: port 4(lan4) entered blocking state
[   31.054075] br-lan: port 4(lan4) entered disabled state
[   31.060926] device lan4 entered promiscuous mode
[   31.087701] mt7530 mdio-bus:1f wan: configuring for phy/gmii link mode
[   31.094918] 8021q: adding VLAN 0 to HW filter on device wan
[   33.820643] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[   33.828215] br-lan: port 1(lan1) entered blocking state
[   33.833469] br-lan: port 1(lan1) entered forwarding state
[   33.840084] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready


This is probably an issue ....

Tried the FWs at https://www.totolink.net/home/menu/detail/menu_listtpl/download/id/218/ids/36.html ?

Just once, do option 4, and post the output of the printenv command.

@frollic bro, okay bro.I will try it and let you know.

@frollic bro, Did you tell me to try this option 4 ?

Yes. Use that option once then on the prompt type

printenv

Provide the output

1 Like

@frollic @d687r02j8g bro, here it is...

 1
regValue=[0x0]
Port3 Link DOWN!

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.
   6: Load Flash code then burn to Flash via TFTP.
   7: Load Boot Loader code then write to Flash via Serial.
   9: Load Boot Loader code then write to Flash via TFTP.
default: 3

You choosed 4
                                                                              0


4: System Enter Boot Command Line Interface.

U-Boot 1.1.3 (Jun 29 2020 - 14:15:59)
MT7621 # printenv
bootcmd=tftp
bootdelay=1
baudrate=115200
ethaddr="00:AA:BB:CC:DD:10"
ipaddr=192.168.1.1
serverip=192.168.1.2
stdin=serial
stdout=serial
stderr=serial
BootType=3

Environment size: 161/4092 bytes
MT7621 #

@frollic yes bro, I tried these firmwares.

Try using option 1 with kernel.bin from the zip file. Please post the output. We should hopefully see the error regarding the memory disappear.

1 Like

@d687r02j8g sorry bro I am not sure which zip file you are talking about.Did you mean this zip file ?

That's the one

1 Like

@d687r02j8g bro, here is the output.

 1
regValue=[0x0]
Port3 Link DOWN!

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.
   6: Load Flash code then burn to Flash via TFTP.
   7: Load Boot Loader code then write to Flash via Serial.
   9: Load Boot Loader code then write to Flash via TFTP.
default: 3

You choosed 1
                                                                              0


1: System Load Linux to SDRAM via TFTP.
 Please Input new ones /or Ctrl-C to discard
        Input device IP (192.168.1.1) ==:192.168.1.1
        Input server IP (192.168.1.2) ==:192.168.1.2
        Input Linux Kernel filename () ==:openwrt-ramips-mt7621-totolink_x5000r-                                                                                                                                                                                                                                                                     initramfs-kernel.bin
Trying Eth0 (10/100-M)

 Waitting for RX_DMA_BUSY status Start... done


 ETH_STATE_ACTIVE!!
TFTP from server 192.168.1.2; our IP address is 192.168.1.1
Filename 'openwrt-ramips-mt7621-totolink_x5000r-initramfs-kernel.bin'.

 TIMEOUT_COUNT=10,Load address: 0x88000000
Loading: checksum bad!!!
checksum bad!!!
checksum bad!!!
checksum bad!!!
checksum bad!!!
Got ARP REPLY, set server/gtwy eth addr (04:42:1a:99:5d:9b)
Got it
#################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##################################################
done
Bytes transferred = 7574937 (739599 hex)
LoadAddr=88000000 NetBootFileXferSize= 00739599
Erasing SPI Flash...
raspi_erase: offs:30000 len:10000
.
Writing to SPI Flash...
.
done
Automatic boot of image at addr 0x88000000 ...
## Booting image at 88000000 ...
   Image Name:   C8343R-9999
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    7574873 Bytes =  7.2 MB
   Load Address: 80001000
   Entry Point:  80001000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80001000) ...
## Giving linux memsize in MB, 256

Starting kernel ...

[    0.000000] Linux version 5.10.176 (curious@curious-virtualbox) (mipsel-openw                                                                                                                                                                                                                                                                     rt-linux-musl-gcc (OpenWrt GCC 11.2.0 r20134-5f15225c1e) 11.2.0, GNU ld (GNU Bin                                                                                                                                                                                                                                                                     utils) 2.37) #0 SMP Thu Apr 27 20:28:15 2023
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is TOTOLINK X5000R
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] VPE topology {2,2} total 4
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 byt                                                                                                                                                                                                                                                                     es
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] percpu: Embedded 15 pages/cpu s30224 r8192 d23024 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,j                                                                                                                                                                                                                                                                     ffs2
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, l                                                                                                                                                                                                                                                                     inear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, lin                                                                                                                                                                                                                                                                     ear)
[    0.000000] Writing ErrCtl register=00004004
[    0.000000] Readback ErrCtl register=00004004
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 244380K/262144K available (6830K kernel code, 629K rwdata                                                                                                                                                                                                                                                                     , 1384K rodata, 5864K init, 235K bss, 17764K reserved, 0K cma-reserved, 0K highm                                                                                                                                                                                                                                                                     em)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jif                                                                                                                                                                                                                                                                     fies.
[    0.000000] NR_IRQS: 256
[    0.000000] CPU Clock: 880MHz
[    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478ab                                                                                                                                                                                                                                                                     b4, max_idle_ns: 440795247997 ns
[    0.000013] sched_clock: 64 bits at 880MHz, resolution 1ns, wraps every 43980                                                                                                                                                                                                                                                                     46511103ns
[    0.007941] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_i                                                                                                                                                                                                                                                                     dle_ns: 4343773742 ns
[    0.016993] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.083162] pid_max: default: 32768 minimum: 301
[    0.087929] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linea                                                                                                                                                                                                                                                                     r)
[    0.095131] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes,                                                                                                                                                                                                                                                                      linear)
[    0.105792] rcu: Hierarchical SRCU implementation.
[    0.110846] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE                                                                                                                                                                                                                                                                      build
[    0.118961] smp: Bringing up secondary CPUs ...
[    0.124251] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.124263] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 byt                                                                                                                                                                                                                                                                     es
[    0.124274] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.124349] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.178756] Synchronize counters for CPU 1: done.
[    0.211272] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.211281] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 byt                                                                                                                                                                                                                                                                     es
[    0.211288] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.211337] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.270207] Synchronize counters for CPU 2: done.
[    0.300819] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.300829] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 byt                                                                                                                                                                                                                                                                     es
[    0.300837] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.300886] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.355397] Synchronize counters for CPU 3: done.
[    0.385262] smp: Brought up 1 node, 4 CPUs
[    0.393572] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma                                                                                                                                                                                                                                                                     x_idle_ns: 19112604462750000 ns
[    0.403397] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.410412] pinctrl core: initialized pinctrl subsystem
[    0.417948] NET: Registered protocol family 16
[    0.423594] thermal_sys: Registered thermal governor 'step_wise'
[    0.424718] cpuidle: using governor teo
[    0.478920] clocksource: Switched to clocksource GIC
[    0.485798] NET: Registered protocol family 2
[    0.490420] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear                                                                                                                                                                                                                                                                     )
[    0.498461] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144                                                                                                                                                                                                                                                                      bytes, linear)
[    0.506873] TCP established hash table entries: 2048 (order: 1, 8192 bytes, l                                                                                                                                                                                                                                                                     inear)
[    0.514471] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.521557] TCP: Hash tables configured (established 2048 bind 2048)
[    0.527979] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.534460] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.541644] NET: Registered protocol family 1
[    0.545940] PCI: CLS 0 bytes, default 32
[    6.390774] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    6.401798] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    6.407541] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORIT                                                                                                                                                                                                                                                                     Y) (c) 2001-2006 Red Hat, Inc.
[    6.420220] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    6.426045] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    6.431981] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    6.438455] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    6.446432] printk: console [ttyS0] disabled
[    6.450784] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud                                                                                                                                                                                                                                                                      = 3125000) is a 16550A
[    6.459782] printk: console [ttyS0] enabled
[    6.459782] printk: console [ttyS0] enabled
[    6.468019] printk: bootconsole [early0] disabled
[    6.468019] printk: bootconsole [early0] disabled
[    6.480478] spi-mt7621 1e000b00.spi: sys_freq: 220000000
[    6.487443] spi-nor spi0.0: zb25vq128 (16384 Kbytes)
[    6.492533] 4 fixed-partitions partitions found on MTD device spi0.0
[    6.498996] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitio                                                                                                                                                                                                                                                                     ns
[    6.506304] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitio                                                                                                                                                                                                                                                                     ns
[    6.514477] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitio                                                                                                                                                                                                                                                                     ns
[    6.521833] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitio                                                                                                                                                                                                                                                                     ns
[    6.529420] Creating 4 MTD partitions on "spi0.0":
[    6.534218] 0x000000000000-0x000000030000 : "u-boot"
[    6.540437] 0x000000030000-0x000000040000 : "u-boot-env"
[    6.546988] 0x000000040000-0x000000050000 : "factory"
[    6.553242] 0x000000050000-0x000001000000 : "firmware"
[    6.610655] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    6.620430] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe                                                                                                                                                                                                                                                                     100000, irq 21
[    6.629974] i2c /dev entries driver
[    6.636362] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
[    6.643129] mt7621-pci 1e140000.pcie:   No bus range found for /pcie@1e140000                                                                                                                                                                                                                                                                     , using [bus 00-ff]
[    6.651933] mt7621-pci 1e140000.pcie:      MEM 0x0060000000..0x006fffffff ->                                                                                                                                                                                                                                                                      0x0000000000
[    6.660114] mt7621-pci 1e140000.pcie:       IO 0x001e160000..0x001e16ffff ->                                                                                                                                                                                                                                                                      0x0000000000
[    6.668346] mt7621-pci 1e140000.pcie: Parsing DT failed
[    6.675911] NET: Registered protocol family 10
[    6.682184] Segment Routing with IPv6
[    6.685945] NET: Registered protocol family 17
[    6.690914] 8021q: 802.1Q VLAN Support v1.8
[    6.698622] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    6.833538] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [mt7530-0:00] driver                                                                                                                                                                                                                                                                      [MediaTek MT7530 PHY] (irq=26)
[    6.845889] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [mt7530-0:01] driver                                                                                                                                                                                                                                                                      [MediaTek MT7530 PHY] (irq=27)
[    6.858184] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [mt7530-0:02] driver                                                                                                                                                                                                                                                                      [MediaTek MT7530 PHY] (irq=28)
[    6.870583] mt7530 mdio-bus:1f lan4 (uninitialized): PHY [mt7530-0:03] driver                                                                                                                                                                                                                                                                      [MediaTek MT7530 PHY] (irq=29)
[    6.882995] mt7530 mdio-bus:1f wan (uninitialized): PHY [mt7530-0:04] driver                                                                                                                                                                                                                                                                      [MediaTek MT7530 PHY] (irq=30)
[    6.895527] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[    6.905990] DSA: tree 0 setup
[    6.909502] rt2880-pinmux pinctrl: pcie is already enabled
[    6.915089] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
[    6.921824] mt7621-pci 1e140000.pcie:   No bus range found for /pcie@1e140000                                                                                                                                                                                                                                                                     , using [bus 00-ff]
[    6.930625] mt7621-pci 1e140000.pcie:      MEM 0x0060000000..0x006fffffff ->                                                                                                                                                                                                                                                                      0x0000000000
[    6.938774] mt7621-pci 1e140000.pcie:       IO 0x001e160000..0x001e16ffff ->                                                                                                                                                                                                                                                                      0x0000000000
[    6.947037] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port =                                                                                                                                                                                                                                                                      1)
[    6.954879] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port =                                                                                                                                                                                                                                                                      0)
[    6.962608] mt7621-pci 1e140000.pcie: failed to parse bus ranges property: -2                                                                                                                                                                                                                                                                     2
[    7.070093] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[    7.075662] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz
[    7.181456] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[    7.188392] mt7621-pci 1e140000.pcie: PCIE0 enabled
[    7.193275] mt7621-pci 1e140000.pcie: PCIE1 enabled
[    7.198136] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000,                                                                                                                                                                                                                                                                      mask/settings: 0xf0000002
[    7.207606] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    7.213994] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
[    7.220876] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    7.227723] pci_bus 0000:00: root bus resource [bus 00-ff]
[    7.233210] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff] (b                                                                                                                                                                                                                                                                     us address [0x00000000-0x0fffffff])
[    7.243419] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    7.249450] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    7.255691] pci 0000:00:00.0: reg 0x14: initial BAR value 0x00000000 invalid
[    7.262734] pci 0000:00:00.0: reg 0x14: [mem size 0x00010000]
[    7.268524] pci 0000:00:00.0: supports D1
[    7.272536] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    7.278743] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    7.284805] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    7.291076] pci 0000:00:01.0: reg 0x14: initial BAR value 0x00000000 invalid
[    7.298094] pci 0000:00:01.0: reg 0x14: [mem size 0x00010000]
[    7.303900] pci 0000:00:01.0: supports D1
[    7.307893] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    7.315006] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), rec                                                                                                                                                                                                                                                                     onfiguring


[    7.323037] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), rec                                                                                                                                                                                                                                                                     onfiguring
[    7.331296] pci 0000:01:00.0: [14c3:7916] type 00 class 0x000280
[    7.337338] pci 0000:01:00.0: reg 0x10: initial BAR value 0x00000000 invalid
[    7.344404] pci 0000:01:00.0: reg 0x10: [mem size 0x00100000 64bit pref]
[    7.351114] pci 0000:01:00.0: reg 0x18: initial BAR value 0x00000000 invalid
[    7.358132] pci 0000:01:00.0: reg 0x18: [mem size 0x00004000 64bit pref]
[    7.364843] pci 0000:01:00.0: reg 0x20: initial BAR value 0x00000000 invalid
[    7.371893] pci 0000:01:00.0: reg 0x20: [mem size 0x00001000 64bit pref]
[    7.378697] pci 0000:01:00.0: supports D1 D2
[    7.382973] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    7.389625] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by                                                                                                                                                                                                                                                                      2.5 GT/s PCIe x1 link at 0000:00:00.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe                                                                                                                                                                                                                                                                      x1 link)
[    7.405742] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    7.411001] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    7.417070] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    7.423856] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff pref                                                                                                                                                                                                                                                                     ]
[    7.431087] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    7.437949] pci 0000:02:00.0: [14c3:7915] type 00 class 0x000280
[    7.444021] pci 0000:02:00.0: reg 0x10: initial BAR value 0x00000000 invalid
[    7.451070] pci 0000:02:00.0: reg 0x10: [mem size 0x00100000 64bit pref]
[    7.457755] pci 0000:02:00.0: reg 0x18: initial BAR value 0x00000000 invalid
[    7.464798] pci 0000:02:00.0: reg 0x18: [mem size 0x00004000 64bit pref]
[    7.471507] pci 0000:02:00.0: reg 0x20: initial BAR value 0x00000000 invalid
[    7.478524] pci 0000:02:00.0: reg 0x20: [mem size 0x00001000 64bit pref]
[    7.485339] pci 0000:02:00.0: supports D1 D2
[    7.489622] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    7.496251] pci 0000:02:00.0: 2.000 Gb/s available PCIe bandwidth, limited by                                                                                                                                                                                                                                                                      2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe                                                                                                                                                                                                                                                                      x1 link)
[    7.512421] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[    7.517644] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    7.523751] pci 0000:00:01.0:   bridge window [mem 0x60000000-0x600fffff]
[    7.530536] pci 0000:00:01.0:   bridge window [mem 0x60000000-0x600fffff pref                                                                                                                                                                                                                                                                     ]
[    7.537732] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    7.544395] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    7.551015] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    7.557948] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    7.564559] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    7.571518] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    7.578277] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x602fffff pref                                                                                                                                                                                                                                                                     ]
[    7.585496] pci 0000:00:01.0: BAR 8: assigned [mem 0x60300000-0x603fffff]
[    7.592282] pci 0000:00:01.0: BAR 9: assigned [mem 0x60400000-0x605fffff pref                                                                                                                                                                                                                                                                     ]
[    7.599504] pci 0000:00:00.0: BAR 1: assigned [mem 0x60600000-0x6060ffff]
[    7.606269] pci 0000:00:01.0: BAR 1: assigned [mem 0x60610000-0x6061ffff]
[    7.613061] pci 0000:00:00.0: BAR 7: assigned [io  0x1e160000-0x1e160fff]
[    7.619852] pci 0000:00:01.0: BAR 7: assigned [io  0x1e161000-0x1e161fff]
[    7.626622] pci 0000:01:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bi                                                                                                                                                                                                                                                                     t pref]
[    7.634368] pci 0000:01:00.0: BAR 2: assigned [mem 0x60200000-0x60203fff 64bi                                                                                                                                                                                                                                                                     t pref]
[    7.642120] pci 0000:01:00.0: BAR 4: assigned [mem 0x60204000-0x60204fff 64bi                                                                                                                                                                                                                                                                     t pref]
[    7.649864] pci 0000:00:00.0: PCI bridge to [bus 01]
[    7.654809] pci 0000:00:00.0:   bridge window [io  0x1e160000-0x1e160fff]
[    7.661594] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    7.668353] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x602fffff pref                                                                                                                                                                                                                                                                     ]
[    7.675581] pci 0000:02:00.0: BAR 0: assigned [mem 0x60400000-0x604fffff 64bi                                                                                                                                                                                                                                                                     t pref]
[    7.683334] pci 0000:02:00.0: BAR 2: assigned [mem 0x60500000-0x60503fff 64bi                                                                                                                                                                                                                                                                     t pref]
[    7.691081] pci 0000:02:00.0: BAR 4: assigned [mem 0x60504000-0x60504fff 64bi                                                                                                                                                                                                                                                                     t pref]
[    7.698801] pci 0000:00:01.0: PCI bridge to [bus 02]
[    7.703769] pci 0000:00:01.0:   bridge window [io  0x1e161000-0x1e161fff]
[    7.710552] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x603fffff]
[    7.717310] pci 0000:00:01.0:   bridge window [mem 0x60400000-0x605fffff pref                                                                                                                                                                                                                                                                     ]
[    7.746077] Freeing unused kernel memory: 5864K
[    7.750675] This architecture does not have kernel memory protection.
[    7.757102] Run /init as init process
[    7.761227] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control rx/tx
[    8.366675] init: Console is alive
[    8.370473] init: - watchdog -
[    8.393356] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    8.408020] kmodloader: done loading kernel modules from /etc/modules-boot.d/                                                                                                                                                                                                                                                                     *
[    8.429349] init: - preinit -
[    8.627212] random: jshn: uninitialized urandom read (4 bytes read)
[    8.706378] random: jshn: uninitialized urandom read (4 bytes read)
[    8.746298] random: jshn: uninitialized urandom read (4 bytes read)
[    8.998615] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii l                                                                                                                                                                                                                                                                     ink mode
[    9.007069] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flo                                                                                                                                                                                                                                                                     w control rx/tx
[    9.009449] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[    9.022468] 8021q: adding VLAN 0 to HW filter on device lan1
[    9.030763] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
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
[   12.135219] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control r                                                                                                                                                                                                                                                                     x/tx
[   12.142781] IPv6: ADDRCONF(NETDEV_CHANGE): lan1: link becomes ready
[   13.176601] mt7530 mdio-bus:1f lan1: Link is Down
[   13.191270] procd: - early -
[   13.194394] procd: - watchdog -
[   13.749183] procd: - watchdog -
[   13.753371] procd: - ubus -
[   13.763665] random: ubusd: uninitialized urandom read (4 bytes read)
[   13.809682] random: ubusd: uninitialized urandom read (4 bytes read)
[   13.816515] random: ubusd: uninitialized urandom read (4 bytes read)
[   13.826351] procd: - init -
Please press Enter to activate this console.
[   14.198441] kmodloader: loading kernel modules from /etc/modules.d/*
[   14.389993] GACT probability on
[   14.394605] Mirror/redirect action on
[   14.394696] urngd: v1.0.2 started.
[   14.409096] u32 classifier
[   14.411821]     input device check on
[   14.415459]     Actions configured
[   14.431717] Loading modules backported from Linux version v5.15.92-0-ge515b99                                                                                                                                                                                                                                                                     02f5f
[   14.439352] Backport generated by backports.git v5.15.92-1-0-gdfe0f60c
[   14.483359] xt_time: kernel timezone is -0000
[   14.551343] mt7621-pci 1e140000.pcie: bus=1 slot=0 irq=22
[   14.556769] pci 0000:00:00.0: enabling device (0004 -> 0007)
[   14.562481] mt7915e_hif 0000:01:00.0: enabling device (0000 -> 0002)
[   14.569361] mt7621-pci 1e140000.pcie: bus=2 slot=1 irq=23
[   14.574816] pci 0000:00:01.0: enabling device (0004 -> 0007)
[   14.580496] mt7915e 0000:02:00.0: enabling device (0000 -> 0002)
[   14.596293] random: crng init done
[   14.599737] random: 30 urandom warning(s) missed due to ratelimiting
[   14.740427] mt7915e 0000:02:00.0: HW/SW Version: 0x8a108a10, Build Time: 2021                                                                                                                                                                                                                                                                     1222184017a
[   14.740427]
[   14.767362] mt7915e 0000:02:00.0: WM Firmware Version: ____000000, Build Time                                                                                                                                                                                                                                                                     : 20211222184052
[   14.804220] mt7915e 0000:02:00.0: WA Firmware Version: DEV_000000, Build Time                                                                                                                                                                                                                                                                     : 20211222184111
[   20.247010] PPP generic driver version 2.4.2
[   20.253552] NET: Registered protocol family 24
[   20.267680] kmodloader: done loading kernel modules from /etc/modules.d/*
[   35.366013] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[   35.388820] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii l                                                                                                                                                                                                                                                                     ink mode
[   35.397225] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flo                                                                                                                                                                                                                                                                     w control rx/tx
[   35.401196] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[   35.412820] 8021q: adding VLAN 0 to HW filter on device lan1
[   35.422105] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   35.433364] br-lan: port 1(lan1) entered blocking state
[   35.438646] br-lan: port 1(lan1) entered disabled state
[   35.445907] device lan1 entered promiscuous mode
[   35.450676] device eth0 entered promiscuous mode
[   35.488818] mt7530 mdio-bus:1f lan2: configuring for phy/gmii link mode
[   35.496125] 8021q: adding VLAN 0 to HW filter on device lan2
[   35.505722] br-lan: port 2(lan2) entered blocking state
[   35.511089] br-lan: port 2(lan2) entered disabled state
[   35.517638] device lan2 entered promiscuous mode
[   35.538072] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[   35.545555] 8021q: adding VLAN 0 to HW filter on device lan3
[   35.555835] br-lan: port 3(lan3) entered blocking state
[   35.561240] br-lan: port 3(lan3) entered disabled state
[   35.569233] device lan3 entered promiscuous mode
[   35.589647] mt7530 mdio-bus:1f lan4: configuring for phy/gmii link mode
[   35.596915] 8021q: adding VLAN 0 to HW filter on device lan4
[   35.607163] br-lan: port 4(lan4) entered blocking state
[   35.612603] br-lan: port 4(lan4) entered disabled state
[   35.619718] device lan4 entered promiscuous mode
[   35.648465] mt7530 mdio-bus:1f wan: configuring for phy/gmii link mode
[   35.655736] 8021q: adding VLAN 0 to HW filter on device wan
[   38.390663] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control r                                                                                                                                                                                                                                                                     x/tx
[   38.398191] br-lan: port 1(lan1) entered blocking state
[   38.403464] br-lan: port 1(lan1) entered forwarding state
[   38.410058] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready

Excellent. Now flash the sysupgrade from the zip in luci

1 Like

@d687r02j8g bro, i flashed with the sysupgrade file in luci.it was showing flashing .after reboot i logged in and saw the result was same .


Thats annoying. Can you use option 2 and flash the sysupgrade that way? Please provide the output.

1 Like

@d687r02j8g bro...

 1
regValue=[0x0]
Port3 Link DOWN!

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.
   6: Load Flash code then burn to Flash via TFTP.
   7: Load Boot Loader code then write to Flash via Serial.
   9: Load Boot Loader code then write to Flash via TFTP.
default: 3

You choosed 2
                                                                              0


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 (192.168.1.1) ==:192.168.1.1
        Input server IP (192.168.1.2) ==:192.168.1.2
        Input Linux Kernel filename (openwrt-ramips-mt7621-totolink_x5000r-initr                                                                                                                                                                                                                                                                     amfs-kernel.bin) ==:openwrt-ramips-mt7621-totolink_x5000r-squashfs-sysupgrade.bi                                                                                                                                                                                                                                                                     n
Trying Eth0 (10/100-M)

 Waitting for RX_DMA_BUSY status Start... done


 ETH_STATE_ACTIVE!!
TFTP from server 192.168.1.2; our IP address is 192.168.1.1
Filename 'openwrt-ramips-mt7621-totolink_x5000r-squashfs-sysupgrade.bin'.

 TIMEOUT_COUNT=10,Load address: 0x88000000
Loading: checksum bad!!!
checksum bad!!!
checksum bad!!!
checksum bad!!!
checksum bad!!!
Got ARP REPLY, set server/gtwy eth addr (04:42:1a:99:5d:9b)
Got it
#################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##########################################
done
Bytes transferred = 7865406 (78043e hex)
LoadAddr=88000000 NetBootFileXferSize= 0078043e
upfile len = 0x78043e
orig web erase+write
Abort: image size larger than 2097152!

## Booting image at bfc50000 ...
   Image Name:   C8343R-9999
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    5763479 Bytes =  5.5 MB
   Load Address: 80001000
   Entry Point:  80001000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80001000) ...
## Giving linux memsize in MB, 256

Starting kernel ...

[    0.000000] Linux version 5.10.176 (builder@buildhost) (mipsel-openwrt-linux-                                                                                                                                                                                                                                                                     musl-gcc (OpenWrt GCC 11.2.0 r20134-5f15225c1e) 11.2.0, GNU ld (GNU Binutils) 2.                                                                                                                                                                                                                                                                     37) #0 SMP Thu Apr 27 20:28:15 2023
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is TOTOLINK X5000R
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] VPE topology {2,2} total 4
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 byt                                                                                                                                                                                                                                                                     es
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] percpu: Embedded 15 pages/cpu s30480 r8192 d22768 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,j                                                                                                                                                                                                                                                                     ffs2
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, l                                                                                                                                                                                                                                                                     inear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, lin                                                                                                                                                                                                                                                                     ear)
[    0.000000] Writing ErrCtl register=00004000
[    0.000000] Readback ErrCtl register=00004000
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 246356K/262144K available (7064K kernel code, 631K rwdata                                                                                                                                                                                                                                                                     , 832K rodata, 4196K init, 243K bss, 15788K reserved, 0K cma-reserved, 0K highme                                                                                                                                                                                                                                                                     m)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jif                                                                                                                                                                                                                                                                     fies.
[    0.000000] NR_IRQS: 256
[    0.000000] CPU Clock: 880MHz
[    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478ab                                                                                                                                                                                                                                                                     b4, max_idle_ns: 440795247997 ns
[    0.000012] sched_clock: 64 bits at 880MHz, resolution 1ns, wraps every 43980                                                                                                                                                                                                                                                                     46511103ns
[    0.007941] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_i                                                                                                                                                                                                                                                                     dle_ns: 4343773742 ns
[    0.017003] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.083164] pid_max: default: 32768 minimum: 301
[    0.087927] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linea                                                                                                                                                                                                                                                                     r)
[    0.095130] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes,                                                                                                                                                                                                                                                                      linear)
[    0.105779] rcu: Hierarchical SRCU implementation.
[    0.110833] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE                                                                                                                                                                                                                                                                      build
[    0.118950] smp: Bringing up secondary CPUs ...
[    0.124245] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.124255] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 byt                                                                                                                                                                                                                                                                     es
[    0.124267] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.124342] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.178739] Synchronize counters for CPU 1: done.
[    0.211243] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.211253] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 byt                                                                                                                                                                                                                                                                     es
[    0.211260] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.211307] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.270181] Synchronize counters for CPU 2: done.
[    0.300790] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.300799] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 byt                                                                                                                                                                                                                                                                     es
[    0.300807] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.300855] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.355369] Synchronize counters for CPU 3: done.
[    0.385237] smp: Brought up 1 node, 4 CPUs
[    0.393219] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma                                                                                                                                                                                                                                                                     x_idle_ns: 19112604462750000 ns
[    0.403045] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.410062] pinctrl core: initialized pinctrl subsystem
[    0.417732] NET: Registered protocol family 16
[    0.423410] thermal_sys: Registered thermal governor 'step_wise'
[    0.424366] cpuidle: using governor teo
[    0.472949] clocksource: Switched to clocksource GIC
[    0.479652] NET: Registered protocol family 2
[    0.484447] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear                                                                                                                                                                                                                                                                     )
[    0.493097] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144                                                                                                                                                                                                                                                                      bytes, linear)
[    0.501419] TCP established hash table entries: 2048 (order: 1, 8192 bytes, l                                                                                                                                                                                                                                                                     inear)
[    0.509059] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.516241] TCP: Hash tables configured (established 2048 bind 2048)
[    0.522763] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.529228] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.536479] NET: Registered protocol family 1
[    0.540775] PCI: CLS 0 bytes, default 32
[    4.218860] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    4.229250] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    4.235043] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORIT                                                                                                                                                                                                                                                                     Y) (c) 2001-2006 Red Hat, Inc.
[    4.245678] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2                                                                                                                                                                                                                                                                     51)
[    4.254951] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    4.260777] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    4.266724] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    4.273297] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    4.283961] printk: console [ttyS0] disabled
[    4.288254] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud                                                                                                                                                                                                                                                                      = 3125000) is a 16550A
[    4.297255] printk: console [ttyS0] enabled
[    4.297255] printk: console [ttyS0] enabled
[    4.305509] printk: bootconsole [early0] disabled
[    4.305509] printk: bootconsole [early0] disabled
[    4.318416] spi-mt7621 1e000b00.spi: sys_freq: 220000000
[    4.325094] spi-nor spi0.0: unrecognized JEDEC id bytes: 5e 40 18 5e 40 18
[    4.331987] spi-nor: probe of spi0.0 failed with error -2
[    4.374575] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    4.383422] mtk_soc_eth 1e100000.ethernet: generated random MAC address a6:3d                                                                                                                                                                                                                                                                     :21:2d:89:11
[    4.392422] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe                                                                                                                                                                                                                                                                     100000, irq 21
[    4.401735] i2c /dev entries driver
[    4.408030] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
[    4.414798] mt7621-pci 1e140000.pcie:   No bus range found for /pcie@1e140000                                                                                                                                                                                                                                                                     , using [bus 00-ff]
[    4.423615] mt7621-pci 1e140000.pcie:      MEM 0x0060000000..0x006fffffff ->                                                                                                                                                                                                                                                                      0x0000000000
[    4.431766] mt7621-pci 1e140000.pcie:       IO 0x001e160000..0x001e16ffff ->                                                                                                                                                                                                                                                                      0x0000000000
[    4.440038] mt7621-pci 1e140000.pcie: Parsing DT failed
[    4.447599] NET: Registered protocol family 10
[    4.453870] Segment Routing with IPv6
[    4.457631] NET: Registered protocol family 17
[    4.462129] bridge: filtering via arp/ip/ip6tables is no longer available by                                                                                                                                                                                                                                                                      default. Update your scripts to load br_netfilter if you need this.
[    4.475490] 8021q: 802.1Q VLAN Support v1.8
[    4.483227] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    4.565682] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [mt7530-0:00] driver                                                                                                                                                                                                                                                                      [MediaTek MT7530 PHY] (irq=26)
[    4.578022] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [mt7530-0:01] driver                                                                                                                                                                                                                                                                      [MediaTek MT7530 PHY] (irq=27)
[    4.590255] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [mt7530-0:02] driver                                                                                                                                                                                                                                                                      [MediaTek MT7530 PHY] (irq=28)
[    4.602521] mt7530 mdio-bus:1f lan4 (uninitialized): PHY [mt7530-0:03] driver                                                                                                                                                                                                                                                                      [MediaTek MT7530 PHY] (irq=29)
[    4.614899] mt7530 mdio-bus:1f wan (uninitialized): PHY [mt7530-0:04] driver                                                                                                                                                                                                                                                                      [MediaTek MT7530 PHY] (irq=30)
[    4.627420] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[    4.637867] DSA: tree 0 setup
[    4.641127] rt2880-pinmux pinctrl: pcie is already enabled
[    4.646732] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
[    4.653447] mt7621-pci 1e140000.pcie:   No bus range found for /pcie@1e140000                                                                                                                                                                                                                                                                     , using [bus 00-ff]
[    4.662223] mt7621-pci 1e140000.pcie:      MEM 0x0060000000..0x006fffffff ->                                                                                                                                                                                                                                                                      0x0000000000
[    4.670397] mt7621-pci 1e140000.pcie:       IO 0x001e160000..0x001e16ffff ->                                                                                                                                                                                                                                                                      0x0000000000
[    4.678664] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port =                                                                                                                                                                                                                                                                      1)
[    4.686422] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port =                                                                                                                                                                                                                                                                      0)
[    4.694045] mt7621-pci 1e140000.pcie: failed to parse bus ranges property: -2                                                                                                                                                                                                                                                                     2
[    4.801461] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[    4.807060] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz
[    4.912809] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[    4.919745] mt7621-pci 1e140000.pcie: PCIE0 enabled
[    4.924628] mt7621-pci 1e140000.pcie: PCIE1 enabled
[    4.929489] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000,                                                                                                                                                                                                                                                                      

mask/settings: 0xf0000002
[    4.938946] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    4.945321] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
[    4.952171] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    4.959039] pci_bus 0000:00: root bus resource [bus 00-ff]
[    4.964528] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff] (b                                                                                                                                                                                                                                                                     us address [0x00000000-0x0fffffff])
[    4.974740] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    4.980737] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    4.987011] pci 0000:00:00.0: reg 0x14: initial BAR value 0x00000000 invalid
[    4.994051] pci 0000:00:00.0: reg 0x14: [mem size 0x00010000]
[    4.999840] pci 0000:00:00.0: supports D1
[    5.003853] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    5.010099] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    5.016156] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    5.022402] pci 0000:00:01.0: reg 0x14: initial BAR value 0x00000000 invalid
[    5.029441] pci 0000:00:01.0: reg 0x14: [mem size 0x00010000]
[    5.035259] pci 0000:00:01.0: supports D1
[    5.039252] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    5.046382] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), rec                                                                                                                                                                                                                                                                     onfiguring
[    5.054412] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), rec                                                                                                                                                                                                                                                                     onfiguring
[    5.062620] pci 0000:01:00.0: [14c3:7916] type 00 class 0x000280
[    5.068695] pci 0000:01:00.0: reg 0x10: initial BAR value 0x00000000 invalid
[    5.075746] pci 0000:01:00.0: reg 0x10: [mem size 0x00100000 64bit pref]
[    5.082431] pci 0000:01:00.0: reg 0x18: initial BAR value 0x00000000 invalid
[    5.089477] pci 0000:01:00.0: reg 0x18: [mem size 0x00004000 64bit pref]
[    5.096186] pci 0000:01:00.0: reg 0x20: initial BAR value 0x00000000 invalid
[    5.103243] pci 0000:01:00.0: reg 0x20: [mem size 0x00001000 64bit pref]
[    5.110040] pci 0000:01:00.0: supports D1 D2
[    5.114311] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    5.120939] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by                                                                                                                                                                                                                                                                      2.5 GT/s PCIe x1 link at 0000:00:00.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe                                                                                                                                                                                                                                                                      x1 link)
[    5.136963] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    5.142183] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    5.148287] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    5.155071] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff pref                                                                                                                                                                                                                                                                     ]
[    5.162268] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    5.169137] pci 0000:02:00.0: [14c3:7915] type 00 class 0x000280
[    5.175209] pci 0000:02:00.0: reg 0x10: initial BAR value 0x00000000 invalid
[    5.182234] pci 0000:02:00.0: reg 0x10: [mem size 0x00100000 64bit pref]
[    5.188942] pci 0000:02:00.0: reg 0x18: initial BAR value 0x00000000 invalid
[    5.195990] pci 0000:02:00.0: reg 0x18: [mem size 0x00004000 64bit pref]
[    5.202706] pci 0000:02:00.0: reg 0x20: initial BAR value 0x00000000 invalid
[    5.209725] pci 0000:02:00.0: reg 0x20: [mem size 0x00001000 64bit pref]
[    5.216537] pci 0000:02:00.0: supports D1 D2
[    5.220789] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    5.227444] pci 0000:02:00.0: 2.000 Gb/s available PCIe bandwidth, limited by                                                                                                                                                                                                                                                                      2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe                                                                                                                                                                                                                                                                      x1 link)
[    5.243691] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[    5.248916] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    5.255009] pci 0000:00:01.0:   bridge window [mem 0x60000000-0x600fffff]
[    5.261770] pci 0000:00:01.0:   bridge window [mem 0x60000000-0x600fffff pref                                                                                                                                                                                                                                                                     ]
[    5.268985] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    5.275655] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    5.282240] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    5.289205] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    5.295813] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    5.302780] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    5.309540] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x602fffff pref                                                                                                                                                                                                                                                                     ]
[    5.316756] pci 0000:00:01.0: BAR 8: assigned [mem 0x60300000-0x603fffff]
[    5.323541] pci 0000:00:01.0: BAR 9: assigned [mem 0x60400000-0x605fffff pref                                                                                                                                                                                                                                                                     ]
[    5.330733] pci 0000:00:00.0: BAR 1: assigned [mem 0x60600000-0x6060ffff]
[    5.337521] pci 0000:00:01.0: BAR 1: assigned [mem 0x60610000-0x6061ffff]
[    5.344315] pci 0000:00:00.0: BAR 7: assigned [io  0x1e160000-0x1e160fff]
[    5.351075] pci 0000:00:01.0: BAR 7: assigned [io  0x1e161000-0x1e161fff]
[    5.357870] pci 0000:01:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bi                                                                                                                                                                                                                                                                     t pref]
[    5.365618] pci 0000:01:00.0: BAR 2: assigned [mem 0x60200000-0x60203fff 64bi                                                                                                                                                                                                                                                                     t pref]
[    5.373366] pci 0000:01:00.0: BAR 4: assigned [mem 0x60204000-0x60204fff 64bi                                                                                                                                                                                                                                                                     t pref]
[    5.381086] pci 0000:00:00.0: PCI bridge to [bus 01]
[    5.386052] pci 0000:00:00.0:   bridge window [io  0x1e160000-0x1e160fff]
[    5.392834] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    5.399592] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x602fffff pref                                                                                                                                                                                                                                                                     ]
[    5.406822] pci 0000:02:00.0: BAR 0: assigned [mem 0x60400000-0x604fffff 64bi                                                                                                                                                                                                                                                                     t pref]
[    5.414577] pci 0000:02:00.0: BAR 2: assigned [mem 0x60500000-0x60503fff 64bi                                                                                                                                                                                                                                                                     t pref]
[    5.422299] pci 0000:02:00.0: BAR 4: assigned [mem 0x60504000-0x60504fff 64bi                                                                                                                                                                                                                                                                     t pref]
[    5.430041] pci 0000:00:01.0: PCI bridge to [bus 02]
[    5.435008] pci 0000:00:01.0:   bridge window [io  0x1e161000-0x1e161fff]
[    5.441766] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x603fffff]
[    5.448545] pci 0000:00:01.0:   bridge window [mem 0x60400000-0x605fffff pref                                                                                                                                                                                                                                                                     ]
[    5.472715] Freeing unused kernel memory: 4196K
[    5.477393] This architecture does not have kernel memory protection.
[    5.483847] Run /init as init process
[    5.487877] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control rx/tx
[    5.943893] init: Console is alive
[    5.947633] init: - watchdog -
[    5.961943] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.975803] kmodloader: done loading kernel modules from /etc/modules-boot.d/                                                                                                                                                                                                                                                                     *
[    6.003172] init: - preinit -
[    6.201974] random: jshn: uninitialized urandom read (4 bytes read)
[    6.280753] random: jshn: uninitialized urandom read (4 bytes read)
[    6.320758] random: jshn: uninitialized urandom read (4 bytes read)
[    6.572278] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii l                                                                                                                                                                                                                                                                     ink mode
[    6.580717] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flo                                                                                                                                                                                                                                                                     w control rx/tx
[    6.583281] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[    6.596095] 8021q: adding VLAN 0 to HW filter on device lan1
[    6.604381] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
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.764893] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control r                                                                                                                                                                                                                                                                     x/tx
[    9.772405] IPv6: ADDRCONF(NETDEV_CHANGE): lan1: link becomes ready
[   10.750707] mt7530 mdio-bus:1f lan1: Link is Down
[   10.765286] procd: - early -
[   10.768403] procd: - watchdog -
[   11.322995] procd: - watchdog -
[   11.327163] procd: - ubus -
[   11.337426] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.383546] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.390372] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.400177] procd: - init -
Please press Enter to activate this console.
[   11.756857] kmodloader: loading kernel modules from /etc/modules.d/*
[   11.823308] PPP generic driver version 2.4.2
[   11.829401] NET: Registered protocol family 24
[   11.841062] kmodloader: done loading kernel modules from /etc/modules.d/*
[   11.971431] urngd: v1.0.2 started.
[   12.149277] random: crng init done
[   12.152733] random: 30 urandom warning(s) missed due to ratelimiting
[   53.597067] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[   53.614175] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii l                                                                                                                                                                                                                                                                     ink mode
[   53.622339] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flo                                                                                                                                                                                                                                                                     w control rx/tx
[   53.626070] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[   53.638038] 8021q: adding VLAN 0 to HW filter on device lan1
[   53.647340] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   53.654662] br-lan: port 1(lan1) entered blocking state
[   53.659941] br-lan: port 1(lan1) entered disabled state
[   53.666197] device lan1 entered promiscuous mode
[   53.670870] device eth0 entered promiscuous mode
[   53.706286] mt7530 mdio-bus:1f lan2: configuring for phy/gmii link mode
[   53.713824] 8021q: adding VLAN 0 to HW filter on device lan2
[   53.723803] br-lan: port 2(lan2) entered blocking state
[   53.729098] br-lan: port 2(lan2) entered disabled state
[   53.736314] device lan2 entered promiscuous mode
[   53.755854] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[   53.763992] 8021q: adding VLAN 0 to HW filter on device lan3
[   53.773096] br-lan: port 3(lan3) entered blocking state
[   53.778501] br-lan: port 3(lan3) entered disabled state
[   53.785273] device lan3 entered promiscuous mode
[   53.806929] mt7530 mdio-bus:1f lan4: configuring for phy/gmii link mode
[   53.814286] 8021q: adding VLAN 0 to HW filter on device lan4
[   53.824846] br-lan: port 4(lan4) entered blocking state
[   53.830141] br-lan: port 4(lan4) entered disabled state
[   53.837903] device lan4 entered promiscuous mode
[   53.867374] mt7530 mdio-bus:1f wan: configuring for phy/gmii link mode
[   53.874737] 8021q: adding VLAN 0 to HW filter on device wan
[   56.642611] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control r                                                                                                                                                                                                                                                                     x/tx
[   56.650181] br-lan: port 1(lan1) entered blocking state
[   56.655427] br-lan: port 1(lan1) entered forwarding state
[   56.661883] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready

Hmmm that didn't work, still have the memory issue in the log

[    4.325094] spi-nor spi0.0: unrecognized JEDEC id bytes: 5e 40 18 5e 40 18
[    4.331987] spi-nor: probe of spi0.0 failed with error -2

But strange that it works with the kernel.bin file.

[    6.480478] spi-mt7621 1e000b00.spi: sys_freq: 220000000
[    6.487443] spi-nor spi0.0: zb25vq128 (16384 Kbytes)
[    6.492533] 4 fixed-partitions partitions found on MTD device spi0.0

:cry: :sob: What to do now bro?

Can you try to flash a snapshot image please?

https://firmware-selector.openwrt.org/?version=SNAPSHOT&target=ramips%2Fmt7621&id=totolink_x5000r

Use option 2 and the sysupgrade image. Post the output as usual.

If this doesn't work, I'll try to build a custom image from the patch mentioned earlier.

2 Likes