Hi, I got this "bricked" router from one of my friends, the router won't accept firmware from MiWiFi Repair Tool, at the end, the terminal says this:
Not R4 package.
Header check error!
Image verify failed!
========Upgrade fail!========
Complete bootloader log
===================================================================
MT7621 stage1 code May 28 2018 14:51:28 (ASIC)
CPU=50000000 HZ BUS=16666666 HZ
==================================================================
Change MPLL source from XTAL to CR...
do MEMPLL setting..
MEMPLL Config : 0x11100000
3PLL mode + External loopback
=== XTAL-40Mhz === DDR-1200Mhz ===
PLL2 FB_DL: 0x12, 1/0 = 548/476 49000000
PLL3 FB_DL: 0x12, 1/0 = 521/503 49000000
PLL4 FB_DL: 0x14, 1/0 = 562/462 51000000
do DDR setting..[00320381]
Apply DDR3 Setting...(use customer AC)
0 8 16 24 32 40 48 56 64 72 80 88 96 104 112 120
--------------------------------------------------------------------------------
0000:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0001:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0002:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0003:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0004:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0005:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0006:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0007:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0008:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0009:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
000A:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
000B:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
000C:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
000D:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
000E:| 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1
000F:| 0 0 0 0 1 1 1 1 1 1 1 1 1 1 0 0
0010:| 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0
0011:| 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0
0012:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0013:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0014:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0015:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0016:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0017:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0018:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0019:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
001A:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
001B:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
001C:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
001D:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
001E:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
001F:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
DRAMC_DQSCTL1[0e0]=13000000
DRAMC_DQSGCTL[124]=80000033
rank 0 coarse = 15
rank 0 fine = 72
B:| 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0
opt_dle value:11
DRAMC_DDR2CTL[07c]=C287223D
DRAMC_PADCTL4[0e4]=000044B3
DRAMC_DQIDLY1[210]=0A0A0809
DRAMC_DQIDLY2[214]=05080709
DRAMC_DQIDLY3[218]=0B090807
DRAMC_DQIDLY4[21c]=09060A09
DRAMC_R0DELDLY[018]=00001F20
==================================================================
RX DQS perbit delay software calibration
==================================================================
1.0-15 bit dq delay value
==================================================================
bit| 0 1 2 3 4 5 6 7 8 9
--------------------------------------
0 | 7 6 6 9 7 6 7 5 5 5
10 | 7 8 7 9 6 7
--------------------------------------
==================================================================
2.dqs window
x=pass dqs delay value (min~max)center
y=0-7bit DQ of every group
input delay:DQS0 =32 DQS1 = 31
==================================================================
bit DQS0 bit DQS1
0 (1~60)30 8 (1~57)29
1 (1~59)30 9 (0~57)28
2 (1~56)28 10 (1~57)29
3 (1~62)31 11 (1~56)28
4 (1~60)30 12 (1~58)29
5 (1~62)31 13 (1~59)30
6 (1~61)31 14 (1~61)31
7 (1~64)32 15 (1~58)29
==================================================================
3.dq delay value last
==================================================================
bit| 0 1 2 3 4 5 6 7 8 9
--------------------------------------
0 | 9 8 10 10 9 7 8 5 7 8
10 | 9 11 9 10 6 9
==================================================================
==================================================================
TX perbyte calibration
==================================================================
DQS loop = 15, cmp_err_1 = ffff0000
dqs_perbyte_dly.last_dqsdly_pass[0]=15, finish count=1
dqs_perbyte_dly.last_dqsdly_pass[1]=15, finish count=2
DQ loop=15, cmp_err_1 = ffff0000
dqs_perbyte_dly.last_dqdly_pass[0]=15, finish count=1
dqs_perbyte_dly.last_dqdly_pass[1]=15, finish count=2
byte:0, (DQS,DQ)=(8,8)
byte:1, (DQS,DQ)=(8,8)
DRAMC_DQODLY1[200]=88888888
DRAMC_DQODLY2[204]=88888888
20,data:88
[EMI] DRAMC calibration passed
===================================================================
MT7621 stage1 code done
CPU=50000000 HZ BUS=16666666 HZ
===================================================================
U-Boot 1.1.3 (Aug 26 2019 - 12:47:18)
Board: Ralink APSoC DRAM: 128 MB
Power on memory test. Memory size= 128 MB...OK!
relocate_code Pointer at: 87fa4000
Config XHCI 40M PLL
Allocate 16 byte aligned buffer: 87fe0130
Enable NFI Clock
# MTK NAND # : Use HW ECC
NAND ID [C8 D1 80 95 40]
Device found in MTK table, ID: c8d1, EXT_ID: 809540
Support this Device in MTK table! c8d1
select_chip
[NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
Signature matched and data read!
load_fact_bbt success 1023
load fact bbt success
[mtk_nand] probe successfully!
mtd->writesize=2048 mtd->oobsize=64, mtd->erasesize=131072 devinfo.iowidth=8
..============================================
Ralink UBoot Version: 5.0.0.0
--------------------------------------------
ASIC MT7621A DualCore (MAC to MT7530 Mode)
DRAM_CONF_FROM: Auto-Detection
DRAM_TYPE: DDR3
DRAM bus: 16 bit
Xtal Mode=3 OCP Ratio=1/3
Flash component: NAND Flash
Date:Aug 26 2019 Time:12:47:18
============================================
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:256, ways:4, linesz:32 ,total:32768
##### The CPU freq = 880 MHZ ####
estimate memory size =128 Mbytes
#Reset_MT7530
set LAN/WAN WLLLL
NetTxPacket = 0x87FE4200
KSEG1ADDR(NetTxPacket) = 0xA7FE4200
NetLoop,call eth_halt !
NetLoop,call eth_init !
Trying Eth0 (10/100-M)
Waitting for RX_DMA_BUSY status Start... done
ETH_STATE_ACTIVE!!
BOOTP broadcast 1
NetOurIP
checksum bad
NetOurIP
checksum bad
NetOurIP
NetOurIP
checksum bad
DHCPHandler: got packet: (src=5353, dst=5353, len=35) state: 3
Filtering pkt = -1
DHCPHandler: got packet: (src=5353, dst=5353, len=35) state: 3
Filtering pkt = -1
DHCPHandler: got packet: (src=62950, dst=1900, len=172) state: 3
Filtering pkt = -1
DHCPHandler: got packet: (src=5353, dst=5353, len=73) state: 3
Filtering pkt = -1
DHCPHandler: got packet: (src=5353, dst=5353, len=73) state: 3
Filtering pkt = -1
checksum bad
DHCPHandler: got packet: (src=52528, dst=1900, len=137) state: 3
Filtering pkt = -1
checksum bad
DHCPHandler: got packet: (src=67, dst=68, len=306) state: 3
Filtering pkt = 0
DHCPHandler: got DHCP packet: (src=67, dst=68, len=306) state: 3
DHCP: state=SELECTING bp_file: "miwifi.bin"
TRANSITIONING TO REQUESTING STATE
*** Unhandled DHCP Option in OFFER/ACK: 7
*** Unhandled DHCP Option in OFFER/ACK: 13
*** Unhandled DHCP Option in OFFER/ACK: 66
Bootfile: miwifi.bin
DhcpSendRequestPkt: Sending DHCPREQUEST
Transmitting DHCPREQUEST packet: len = 343
Got ARP REQUEST, return our IP
DHCPHandler: got packet: (src=67, dst=68, len=306) state: 4
Filtering pkt = 0
DHCPHandler: got DHCP packet: (src=67, dst=68, len=306) state: 4
DHCP State: REQUESTING
*** Unhandled DHCP Option in OFFER/ACK: 7
*** Unhandled DHCP Option in OFFER/ACK: 13
*** Unhandled DHCP Option in OFFER/ACK: 66
Bootfile: miwifi.bin
DHCP client bound to address 192.168.31.101
TFTP from server 192.168.31.100; our IP address is 192.168.31.101
Filename 'miwifi.bin'.
TIMEOUT_COUNT=10,Load address: 0x82000000
Loading: Got ARP REPLY, set server/gtwy eth addr (68:f7:28:11:4d:2f)
Got it
#################################################################
#################################################################
#################################################################
#################################################################
#####################################checksum bad
#checksum bad
###########################
###################################################checksum bad
##############
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
############
done
Bytes transferred = 13370296 (cc03b8 hex)
LoadAddr=82000000 NetBootFileXferSize= 00cc03b8
Not R4 package.
Header check error!
Image verify failed!
========Upgrade fail!========
He said that he tried to install openwrt before, openwrt won't boot either, because of kernel panic:
OpenWrt kernel panic log
Boot failure detected on both systems
Verifying kernel1 uImage CRC, addr: 0xbc200000
Image Name: MIPS OpenWrt Linux-4.14.176
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 6786201 Bytes = 6.5 MB
Load Address: 80001000
Entry Point: 80001000
........................................................................................................ Verifying Checksum ... Bad Data CRC
Verifying kernel2 uImage CRC, addr: 0xbc600000
Image Name: MIPS OpenWrt Linux-5.4.72
Image Type: MIPS Linux Kernel Image (uncompressed)
Data Size: 2471340 Bytes = 2.4 MB
Load Address: 80001000
Entry Point: 80001000
...................................... Verifying Checksum ... OK
Booting System 2
..ranand_erase: start:80000, len:20000
..Done!
done
3: System Boot system code via Flash.
## Booting image at bc600000 ...
Image Name: MIPS OpenWrt Linux-5.4.72
Image Type: MIPS Linux Kernel Image (uncompressed)
Data Size: 2471340 Bytes = 2.4 MB
Load Address: 80001000
Entry Point: 80001000
...................................... Verifying Checksum ... OK
OK
commandline uart_en=1 factory_mode=0
No initrd
## Transferring control to Linux (at address 80001000) ...
## Giving linux memsize in MB, 128
Starting kernel ...
OpenWrt kernel loader for MIPS based SoC
Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
Decompressing kernel... done!
Starting kernel at 80001000...
[ 0.000000] Linux version 5.4.72 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r14793-9f1927173a)) #0 SMP Wed Oct 28 02:25:25 2020
[ 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 Xiaomi Redmi Router AC2100
[ 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-0x0000000007ffffff]
[ 0.000000] HighMem empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] percpu: Embedded 14 pages/cpu s26768 r8192 d22384 u57344
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32480
[ 0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000] Writing ErrCtl register=0003c80a
[ 0.000000] Readback ErrCtl register=0003c80a
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 120584K/131072K available (5944K kernel code, 212K rwdata, 1272K rodata, 1264K init, 238K bss, 10488K 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] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] NR_IRQS: 256
[ 0.000000] random: get_random_bytes called from start_kernel+0x340/0x558 with crng_init=0
[ 0.000000] CPU Clock: 880MHz
[ 0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[ 0.000008] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
[ 0.007806] Calibrating delay loop... 583.68 BogoMIPS (lpj=1167360)
[ 0.042005] pid_max: default: 32768 minimum: 301
[ 0.046778] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.054003] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.064419] rcu: Hierarchical SRCU implementation.
[ 0.069859] smp: Bringing up secondary CPUs ...
[ 6.041021] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 6.041033] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 6.041045] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 6.041148] CPU1 revision is: 0001992f (MIPS 1004Kc)
[ 0.102634] Synchronize counters for CPU 1: done.
[ 6.102342] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 6.102350] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 6.102357] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 6.102414] CPU2 revision is: 0001992f (MIPS 1004Kc)
[ 0.167340] Synchronize counters for CPU 2: done.
[ 6.163724] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 6.163732] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 6.163740] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 6.163799] CPU3 revision is: 0001992f (MIPS 1004Kc)
[ 0.225205] Synchronize counters for CPU 3: done.
[ 0.255080] smp: Brought up 1 node, 4 CPUs
[ 0.263478] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.273169] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 0.280242] pinctrl core: initialized pinctrl subsystem
[ 0.287150] NET: Registered protocol family 16
[ 0.319235] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[ 0.330560] clocksource: Switched to clocksource GIC
[ 0.337345] NET: Registered protocol family 2
[ 0.342870] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.351235] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.358821] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.365813] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.372269] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.378759] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.385933] NET: Registered protocol family 1
[ 0.390253] PCI: CLS 0 bytes, default 32
[ 0.486537] 4 CPUs re-calibrate udelay(lpj = 1163264)
[ 0.493112] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 0.500708] random: fast init done
[ 0.514423] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.520196] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.531704] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 0.540870] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 0.546797] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 0.552596] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 0.559048] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.569100] printk: console [ttyS0] disabled
[ 0.573400] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[ 0.582384] printk: console [ttyS0] enabled
[ 0.582384] printk: console [ttyS0] enabled
[ 0.590647] printk: bootconsole [early0] disabled
[ 0.590647] printk: bootconsole [early0] disabled
[ 0.602458] mt7621-nand 1e003000.nand: Using programmed access timing: 31c07388
[ 0.610040] nand: device found, Manufacturer ID: 0xc8, Chip ID: 0xd1
[ 0.616384] nand: ESMT PSU1GA30DT
[ 0.619699] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 0.627256] mt7621-nand 1e003000.nand: ECC strength adjusted to 4 bits
[ 0.633799] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134
[ 0.641098] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134
[ 0.648393] Scanning device for bad blocks
[ 2.630335] 10 fixed-partitions partitions found on MTD device mt7621-nand
[ 2.637199] Creating 10 MTD partitions on "mt7621-nand":
[ 2.642530] 0x000000000000-0x000000080000 : "Bootloader"
[ 2.649314] 0x000000080000-0x0000000c0000 : "Config"
[ 2.655596] 0x0000000c0000-0x000000100000 : "Bdata"
[ 2.661877] 0x000000100000-0x000000140000 : "factory"
[ 2.668244] 0x000000140000-0x000000180000 : "crash"
[ 2.674623] 0x000000180000-0x0000001c0000 : "crash_syslog"
[ 2.681361] 0x0000001c0000-0x000000200000 : "reserved0"
[ 2.688041] 0x000000200000-0x000000600000 : "kernel_stock"
[ 2.694888] 0x000000600000-0x000000a00000 : "kernel"
[ 2.701294] 0x000000a00000-0x000007f80000 : "ubi"
[ 2.709266] libphy: Fixed MDIO Bus: probed
[ 2.740943] libphy: mdio: probed
[ 2.744462] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[ 2.754688] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21
[ 2.765101] mt7621-pci 1e140000.pcie: Parsing DT failed
[ 2.773028] NET: Registered protocol family 10
[ 2.779245] Segment Routing with IPv6
[ 2.783041] NET: Registered protocol family 17
[ 2.787573] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 2.800772] 8021q: 802.1Q VLAN Support v1.8
[ 2.807062] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[ 2.825682] libphy: dsa slave smi: probed
[ 2.830132] mt7530 mdio-bus:1f wan (uninitialized): PHY [dsa-0.0:00] driver [Generic PHY]
[ 2.839971] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY]
[ 2.849680] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY]
[ 2.859432] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [dsa-0.0:04] driver [Generic PHY]
[ 2.869184] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[ 2.880408] DSA: tree 0 setup
[ 2.883731] rt2880-pinmux pinctrl: pcie is already enabled
[ 2.889228] mt7621-pci 1e140000.pcie: Error applying setting, reverse things back
[ 2.896841] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1)
[ 2.904426] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0)
[ 3.011549] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[ 3.017128] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz
[ 3.122338] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[ 3.129290] mt7621-pci 1e140000.pcie: PCIE0 enabled
[ 3.134162] mt7621-pci 1e140000.pcie: PCIE1 enabled
[ 3.139043] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[ 3.148500] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[ 3.154871] pci_bus 0000:00: root bus resource [io 0x1e160000-0x1e16ffff]
[ 3.161736] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[ 3.168603] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 3.174132] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[ 3.180166] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[ 3.186427] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[ 3.192760] pci 0000:00:00.0: supports D1
[ 3.196770] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 3.202951] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[ 3.208987] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[ 3.215252] pci 0000:00:01.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[ 3.221571] pci 0000:00:01.0: supports D1
[ 3.225580] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[ 3.232586] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 3.240597] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 3.248821] pci 0000:01:00.0: [14c3:7615] type 00 class 0x000280
[ 3.254886] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[ 3.261831] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x1 link at 0000:00:00.0 (capable of 4.000 Gb/s with 5 GT/s x1 link)
[ 3.276880] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[ 3.282121] pci 0000:00:00.0: bridge window [io 0x0000-0x0fff]
[ 3.288208] pci 0000:00:00.0: bridge window [mem 0x00000000-0x000fffff]
[ 3.294988] pci 0000:00:00.0: bridge window [mem 0x00000000-0x000fffff pref]
[ 3.302202] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 3.309034] pci 0000:02:00.0: [14c3:7603] type 00 class 0x028000
[ 3.315089] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[ 3.321483] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
[ 3.328856] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[ 3.334092] pci 0000:00:01.0: bridge window [io 0x0000-0x0fff]
[ 3.340180] pci 0000:00:01.0: bridge window [mem 0x00000000-0x000fffff]
[ 3.346961] pci 0000:00:01.0: bridge window [mem 0x00000000-0x000fffff pref]
[ 3.354174] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[ 3.360833] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[ 3.367441] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[ 3.374391] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[ 3.380994] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[ 3.387947] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[ 3.394730] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[ 3.401940] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff]
[ 3.408720] pci 0000:00:01.0: BAR 9: assigned [mem 0x60300000-0x603fffff pref]
[ 3.415934] pci 0000:00:00.0: BAR 1: assigned [mem 0x60400000-0x6040ffff]
[ 3.422720] pci 0000:00:01.0: BAR 1: assigned [mem 0x60410000-0x6041ffff]
[ 3.429501] pci 0000:00:00.0: BAR 7: assigned [io 0x1e160000-0x1e160fff]
[ 3.436279] pci 0000:00:01.0: BAR 7: assigned [io 0x1e161000-0x1e161fff]
[ 3.443071] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[ 3.450378] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 3.455342] pci 0000:00:00.0: bridge window [io 0x1e160000-0x1e160fff]
[ 3.462118] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff]
[ 3.468896] pci 0000:00:00.0: bridge window [mem 0x60100000-0x601fffff pref]
[ 3.476115] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff]
[ 3.482898] pci 0000:00:01.0: PCI bridge to [bus 02]
[ 3.487859] pci 0000:00:01.0: bridge window [io 0x1e161000-0x1e161fff]
[ 3.494637] pci 0000:00:01.0: bridge window [mem 0x60200000-0x602fffff]
[ 3.501412] pci 0000:00:01.0: bridge window [mem 0x60300000-0x603fffff pref]
[ 3.509197] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control off
[ 3.517167] UBI: auto-attach mtd9
[ 3.520524] ubi0: attaching mtd9
[ 3.978869] ubi0 error: ubi_attach: bad image sequence number 2062784029 in PEB 352, expected 1319179798
[ 3.988325] Erase counter header dump:
[ 3.992067] magic 0x55424923
[ 3.995807] version 1
[ 3.998769] ec 3
[ 4.001717] vid_hdr_offset 2048
[ 4.004936] data_offset 4096
[ 4.008158] image_seq 2062784029
[ 4.011898] hdr_crc 0x540896fa
[ 4.015637] erase counter header hexdump:
[ 4.019824] ubi0 error: ubi_attach_mtd_dev: failed to attach mtd9, error -22
[ 4.026895] UBI error: cannot attach mtd9
[ 4.030935] hctosys: unable to open rtc device (rtc0)
[ 4.036808] /dev/root: Can't open blockdev
[ 4.040936] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[ 4.048400] Please append a correct "root=" boot option; here are the available partitions:
[ 4.056738] 1f00 512 mtdblock0
[ 4.056742] (driver?)
[ 4.063272] 1f01 256 mtdblock1
[ 4.063275] (driver?)
[ 4.069791] 1f02 256 mtdblock2
[ 4.069794] (driver?)
[ 4.076321] 1f03 256 mtdblock3
[ 4.076324] (driver?)
[ 4.082859] 1f04 256 mtdblock4
[ 4.082863] (driver?)
[ 4.089380] 1f05 256 mtdblock5
[ 4.089383] (driver?)
[ 4.095911] 1f06 256 mtdblock6
[ 4.095914] (driver?)
[ 4.102429] 1f07 4096 mtdblock7
[ 4.102433] (driver?)
[ 4.108953] 1f08 4096 mtdblock8
[ 4.108956] (driver?)
[ 4.115484] 1f09 120320 mtdblock9
[ 4.115487] (driver?)
[ 4.122003] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 4.130260] Rebooting in 1 seconds..
Is there anything that I can do? I don't have TSOP48 programmer, so that's out of the question.