Support for Xiaomi Wifi R3P Pro?

Reverting from OpenWRT to Stock Xiaomi firmware then installed Pandorabox.

1 Like

I have install official 4-14-146 version with open source driver, but wifi does not work. In web interface i see: wireless not associated. In log i see: Could not find PHY for device 'radio1', Variable 'data' does not exist or is not an array/object for both wireless. May be anyone know how to fix it?

Try disable software offloading or hardware offloading

is this an upgrade from a previous openwrt installation, or is this a clean install? there was a rather large commit to mt76 a few days ago and it might have some bugs... or there might be an incompatibility with previous installations and you might need to reconfigure your wifi. the answer will depend on whether it's a fresh/clean install or an upgrade.

This is clear installation from stock. Now wifi is worked fine, but after reboot every time need press restart wireless devises in web interface. In log same errors on boot, but then after restart wifi devices no errors.

@krolik have you tried this:

Yes. Its works. Thanks. Now oficial firmware works well. Wifi is stable. Speed on 5g around 300 mbit/s.

1 Like

I am thinking about getting a R3P Pro. However my fiber internet is 1Gigabit symmetric and I can't find data on the WAN-LAN throughput.
Maybe someone here did measure this?

I just had a power outage and now my router is showing the orange light (blinks black then teal every few minutes) after working flawlessly for close to two months. No bad sectors.
Should I assume it's bricked and get an UART or is there a way to reset it?

EDIT: Ethernet actually comes up and down again based on ipconfig.
EDIT2: When pinged it times out 75 percent of the time, and gives "destination host unreachable" the remaining time.

This is exactly what happened to my router after sysupgrading. Same symptoms. I got a UART and fix the problem.

1 Like

Alright, going to solder it tomorrow. :sweat_smile: Thanks!

1 Like

@muhammed

i haven't run across this problem, but maybe it would be good to explain how you fixed the problem?

1 Like

I'm going to reflash using debricking guide, and report progress.
Luckily there's through holes so soldering pins won't be difficult. :clap:t2:

1 Like

Hi all, after long time. I am still using openwrt and update my box every 1-2 weeks with the latest snapshot (nightly).
Everything pretty much works without problems except Wifi.

  1. My 1st problem was that the wifi interfaces never autostart on boot, if only I restart them. Luckily I read here the "async" remove trick and everything is fine now.

  2. I have high Wifi "latency" after 1-2 days of router continuous usage. Even web pages need 10-20 seconds to load using Wifi but no problem when using ethernet.
    The last days I am experimenting with the various Wireless interface options and the below seems to made some difference. My Wifi is now far more stable and without the slow down problems.
    A) Set 5Ghz Interface @ Channel 44
    B) Disable "WMM Mode", for me at least for the 2.4Ghz interface. I use the 5Ghz for media streams. (Interface Configuration -> General Setup -> WMM Mode)
    C) Disable "Disassociate On Low Acknowledgement" (Interface Configuration -> Advanced Setting -> Disassociate On Low Acknowledgement)
    D) Enable Disable Inactivity Polling (Interface Configuration -> Advanced Setting -> Inactivity Polling)

I am not really 100% what are these values, except the obvious meaning I get when I read them, although for me my devices and "especially" my smart home device modules now seems to behave better without any disconnections. Give it a try.

2 Likes

Bootlog of a randomly bricked router. Hopefully it'll help in development.

## Booting image at bc600000 ...
   Image Name:   MIPS OpenWrt Linux-4.14.132
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1938221 Bytes =  1.8 MB
   Load Address: 80001000
   Entry Point:  80001000
..............................   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
commandline uart_en=0 factory_mode=0 usb_u3=0
No initrd
## Transferring control to Linux (at address 80001000) ...
## Giving linux memsize in MB, 256

Starting kernel ...

[    0.000000] Linux version 4.14.132 (ilyas@fish) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r9514+3-302f7d57a9)) #0 SMP Thu Aug 1 22:56:38 2019
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is Xiaomi Mi Router 3 Pro
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 1c000000 @ 00000000 (usable)
[    0.000000]  memory: 04000000 @ 20000000 (usable)
[    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  [mem 0x0000000010000000-0x0000000023ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000001bffffff]
[    0.000000]   node   0: [mem 0x0000000020000000-0x0000000023ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000023ffffff]
[    0.000000] random: get_random_bytes called from start_kernel+0x94/0x4a8 with crng_init=0
[    0.000000] percpu: Embedded 14 pages/cpu s26192 r8192 d22960 u57344
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 130560
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Writing ErrCtl register=0006e6a0
[    0.000000] Readback ErrCtl register=0006e6a0
[    0.000000] Memory: 511792K/524288K available (4583K kernel code, 232K rwdata, 1016K rodata, 1260K init, 248K bss, 12496K reserved, 0K cma-reserved, 262144K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    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.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[    0.000009] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
[    0.007812] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.073980] pid_max: default: 32768 minimum: 301
[    0.078752] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.085261] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.094081] Hierarchical SRCU implementation.
[    0.099249] smp: Bringing up secondary CPUs ...
[    0.119508] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.119517] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.119529] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.119668] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.164002] Synchronize counters for CPU 1: done.
[    0.213430] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.213437] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.213445] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.213521] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.255182] Synchronize counters for CPU 2: done.
[    0.300695] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.300703] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.300709] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.300786] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.340360] Synchronize counters for CPU 3: done.
[    0.370222] smp: Brought up 1 node, 4 CPUs
[    0.378103] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.387898] futex hash table entries: 1024 (order: 3, 32768 bytes)
[    0.394201] pinctrl core: initialized pinctrl subsystem
[    0.400777] NET: Registered protocol family 16
[    0.415475] pull PCIe RST: RALINK_RSTCTRL = 4000000
[    0.720676] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.725725] ***** Xtal 40MHz *****
[    0.729081] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.734178] Port 0 N_FTS = 1b105000
[    0.737645] Port 1 N_FTS = 1b105000
[    0.741092] Port 2 N_FTS = 1b102800
[    1.896269] PCIE2 no card, disable it(RST&CLK)
[    1.900629]  -> 21007f2
[    1.903036] PCIE0 enabled
[    1.905624] PCIE1 enabled
[    1.908229] PCI host bridge /pcie@1e140000 ranges:
[    1.913004]  MEM 0x0000000060000000..0x000000006fffffff
[    1.918158]   IO 0x000000001e160000..0x000000001e16ffff
[    1.923361] PCI coherence region base: 0xbfbf8000, mask/settings: 0x60000000
[    1.939010] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    1.944826] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    1.950509] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    1.958107] PCI host bridge to bus 0000:00
[    1.962138] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    1.969002] pci_bus 0000:00: root bus resource [io  0xffffffff]
[    1.974827] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    1.981585] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    1.991300] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    1.997852] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.004726] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    2.011307] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.018211] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    2.024963] pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
[    2.031681] pci 0000:00:00.0: BAR 1: assigned [mem 0x60200000-0x6020ffff]
[    2.038447] pci 0000:00:01.0: BAR 1: assigned [mem 0x60210000-0x6021ffff]
[    2.045176] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[    2.052451] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.057345] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    2.064112] pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit]
[    2.071352] pci 0000:00:01.0: PCI bridge to [bus 02]
[    2.076282] pci 0000:00:01.0:   bridge window [mem 0x60100000-0x601fffff]
[    2.084272] clocksource: Switched to clocksource GIC
[    2.090683] NET: Registered protocol family 2
[    2.095707] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    2.102600] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    2.109052] TCP: Hash tables configured (established 2048 bind 2048)
[    2.115464] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    2.121234] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    2.127723] NET: Registered protocol family 1
[    2.364229] 4 CPUs re-calibrate udelay(lpj = 2924544)
[    2.370399] Crashlog allocated RAM at address 0x3f00000
[    2.376190] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    2.388782] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.394573] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    2.407157] random: fast init done
[    2.411045] bounce: pool size: 64 pages
[    2.414849] io scheduler noop registered
[    2.418674] io scheduler deadline registered (default)
[    2.425050] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    2.432473] console [ttyS0] disabled
[    2.436108] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[    2.445104] console [ttyS0] enabled
[    2.445104] console [ttyS0] enabled
[    2.451958] bootconsole [early0] disabled
[    2.451958] bootconsole [early0] disabled
[    2.460526] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    2.467271] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
[    2.474407] Enable NFI Clock
[    2.477282] # MTK NAND # : Use HW ECC
[    2.480942] Device found in MTK table, ID: 2cda, EXT_ID: 909506
[    2.486853] Support this Device in MTK table! 2cda
[    2.491800] [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
[    2.498280] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
[    2.504620] nand: Micron NAND 256MiB 3,3V 8-bit
[    2.509129] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    2.516701] Scanning device for bad blocks
[    3.041143] 10 fixed-partitions partitions found on MTD device MT7621-NAND
[    3.048003] Creating 10 MTD partitions on "MT7621-NAND":
[    3.053297] 0x000000000000-0x000000040000 : "Bootloader"
[    3.059551] 0x000000040000-0x000000080000 : "Config"
[    3.065383] 0x000000080000-0x0000000c0000 : "Bdata"
[    3.071108] 0x0000000c0000-0x000000100000 : "factory"
[    3.077072] 0x000000100000-0x000000140000 : "crash"
[    3.082750] 0x000000140000-0x0000001c0000 : "crash_syslog"
[    3.089117] 0x0000001c0000-0x000000200000 : "reserved0"
[    3.095267] 0x000000200000-0x000000600000 : "kernel_stock"
[    3.101644] 0x000000600000-0x000000a00000 : "kernel"
[    3.107552] 0x000000a00000-0x00000ff80000 : "ubi"
[    3.115130] [mtk_nand] probe successfully!
[    3.119926] Signature matched and data read!
[    3.124170] load_fact_bbt success 2047
[    3.128554] libphy: Fixed MDIO Bus: probed
[    3.196842] libphy: mdio: probed
[    4.600522] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
[    4.607222] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21
[    4.617788] NET: Registered protocol family 10
[    4.623810] Segment Routing with IPv6
[    4.627617] NET: Registered protocol family 17
[    4.632102] 8021q: 802.1Q VLAN Support v1.8
[    4.639297] UBI: auto-attach mtd9
[    4.642625] ubi0: attaching mtd9
[    6.988614] ubi0: scanning is finished
[    7.010722] ubi0: attached mtd9 (name "ubi", size 245 MiB)
[    7.016229] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    7.023069] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    7.029836] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    7.036778] ubi0: good PEBs: 1964, bad PEBs: 0, corrupted PEBs: 0
[    7.042841] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    7.050042] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 1490452602
[    7.059144] ubi0: available PEBs: 0, total reserved PEBs: 1964, PEBs reserved for bad PEB handling: 40
[    7.068451] ubi0: background thread "ubi_bgt0d" started, PID 375
[    7.070480] block ubiblock0_0: created from ubi0:0(rootfs)
[    7.079964] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    7.086915] hctosys: unable to open rtc device (rtc0)
[    7.092197] usb_vbus: disabling
[    7.100544] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    7.112019] Freeing unused kernel memory: 1260K
[    7.116600] This architecture does not have kernel memory protection.
[    7.271193] mtk_soc_eth 1e100000.ethernet eth0: port 4 link up
[    7.569282] ubi0 warning: ubi_io_read: error -77 (ECC error) while reading 24576 bytes from PEB 6:4096, read only 24576 bytes, retry
[    7.588066] ubi0 warning: ubi_io_read: error -77 (ECC error) while reading 24576 bytes from PEB 6:4096, read only 24576 bytes, retry
[    7.606822] ubi0 warning: ubi_io_read: error -77 (ECC error) while reading 24576 bytes from PEB 6:4096, read only 24576 bytes, retry
[    7.625577] ubi0 error: ubi_io_read: error -77 (ECC error) while reading 24576 bytes from PEB 6:4096, read 24576 bytes
[    7.636245] CPU: 1 PID: 15 Comm: kworker/1:0 Not tainted 4.14.132 #0
[    7.642583] Workqueue: ubiblock0_0 ubiblock_do_work
[    7.647439] Stack : 8051a34c 8fc73c64 80590000 8fc21180 8051a3e0 00000000 000c1000 00000000
[    7.655776]         00001000 800726a0 8fc3edbc 00000000 80590000 00000001 8fc73c28 1cc28264
[    7.664108]         00000000 00000000 00000000 00003eb8 00000000 000000d2 00000007 00000000
[    7.672439]         00000000 80590000 0009ce17 00000000 00000000 00000000 805b0000 00000000
[    7.680773]         000c1000 00000000 00001000 00000006 00000002 8029ec78 00000004 806f0004
[    7.689108]         ...
[    7.691546] Call Trace:
[    7.694001] [<8000c7b0>] show_stack+0x58/0x100
[    7.698444] [<8045bddc>] dump_stack+0x9c/0xe0
[    7.702781] [<802f2118>] ubi_io_read+0x248/0x330
[    7.707379] [<802efb1c>] ubi_eba_read_leb+0x2ec/0x464
[    7.712406] [<802efd94>] ubi_eba_read_leb_sg+0x100/0x180
[    7.717696] [<802ee64c>] ubi_leb_read_sg+0x88/0x100
[    7.722551] [<802faab4>] ubiblock_do_work+0xcc/0x130
[    7.727501] [<80046c48>] process_one_work+0x290/0x438
[    7.732529] [<80047140>] worker_thread+0x350/0x5b4
[    7.737314] [<8004d2c8>] kthread+0x130/0x144
[    7.741566] [<80007078>] ret_from_kernel_thread+0x14/0x1c
[    7.747026] print_req_error: I/O error, dev ubiblock0_0, sector 950
[    7.753324] SQUASHFS error: squashfs_read_data failed to read block 0x76bae
[    7.760288] SQUASHFS error: Unable to read fragment cache entry [76bae]
[    7.766888] SQUASHFS error: Unable to read page, block 76bae, size 11334
[    7.773585] SQUASHFS error: Unable to read fragment cache entry [76bae]
[    7.780181] SQUASHFS error: Unable to read page, block 76bae, size 11334
[    7.786878] SQUASHFS error: Unable to read fragment cache entry [76bae]
[    7.793458] SQUASHFS error: Unable to read page, block 76bae, size 11334
[    7.800158] SQUASHFS error: Unable to read fragment cache entry [76bae]
[    7.806757] SQUASHFS error: Unable to read page, block 76bae, size 11334
Error loading sh[    7.813798] SQUASHFS error: Unable to read fragment cache entry [76bae]
ared library lib[    7.821570] SQUASHFS error: Unable to read page, block 76bae, size 11334
blobmsg_json.so:[    7.829616] SQUASHFS error: Unable to read fragment cache entry [76bae]
 I/O error (need[    7.837564] SQUASHFS error: Unable to read page, block 76bae, size 11334
ed by /sbin/init[    7.845636] SQUASHFS error: Unable to read fragment cache entry [76bae]
)
[    7.853569] SQUASHFS error: Unable to read page, block 76bae, size 11334
[    7.860512] SQUASHFS error: Unable to read fragment cache entry [76bae]
[    7.867117] SQUASHFS error: Unable to read page, block 76bae, size 11334
Error loading sh[    7.873987] SQUASHFS error: Unable to read fragment cache entry [76bae]
ared library lib[    7.881858] SQUASHFS error: Unable to read page, block 76bae, size 11334
json_script.so: [    7.889921] SQUASHFS error: Unable to read fragment cache entry [76bae]
I/O error (neede[    7.897859] SQUASHFS error: Unable to read page, block 76bae, size 11334
d by /sbin/init)[    7.905936] SQUASHFS error: Unable to read fragment cache entry [76bae]

[    7.913865] SQUASHFS error: Unable to read page, block 76bae, size 11334
[    7.920722] SQUASHFS error: Unable to read fragment cache entry [76bae]
[    7.927326] SQUASHFS error: Unable to read page, block 76bae, size 11334
[    7.934006] SQUASHFS error: Unable to read fragment cache entry [76bae]
[    7.940602] SQUASHFS error: Unable to read page, block 76bae, size 11334
Error loading sh[    7.947449] SQUASHFS error: Unable to read fragment cache entry [76bae]
ared library lib[    7.955354] SQUASHFS error: Unable to read page, block 76bae, size 11334
gcc_s.so.1: I/O [    7.963487] SQUASHFS error: Unable to read fragment cache entry [76bae]
error (needed by[    7.971356] SQUASHFS error: Unable to read page, block 76bae, size 11334
 /sbin/init)
Er[    7.979510] SQUASHFS error: Unable to read fragment cache entry [76bae]
ror loading shar[    7.987378] SQUASHFS error: Unable to read page, block 76bae, size 11334
ed library libgcc_s.so.1: I/O error (needed by /lib/libubox.so)
Error loading shared library libgcc_s.so.1: I/O error (needed by /lib/libubus.so)
Error loading shared library libgcc_s.so.1: I/O error (needed by /usr/lib/libjson-c.so.4)
Error relocating /lib/libubox.so: __ashldi3: symbol not found
Error relocating /usr/lib/libjson-c.so.4: __nedf2: symbol not found
Error relocating /usr/lib/libjson-c.so.4: __unorddf2: symbol not found
Error relocating /usr/lib/libjson-c.so.4: __floatdidf: symbol not found
Error relocating /usr/lib/libjson-c.so.4: __fixdfsi: symbol not found
Error relocating /usr/lib/libjson-c.so.4: __ledf2: symbol not found
Error relocating /usr/lib/libjson-c.so.4: __ltdf2: symbol not found
Error relocating /usr/lib/libjson-c.so.4: __muldf3: symbol not found
Error relocating /usr/lib/libjson-c.so.4: __floatsidf: symbol not found
Error relocating /usr/lib/libjson-c.so.4: __eqdf2: symbol not found
Error relocating /usr/lib/libjson-c.so.4: __gtdf2: symbol not found
Error relocating /usr/lib/libjson-c.so.4: __fixdfdi: symbol not found
Error relocating /usr/lib/libjson-c.so.4: __sync_val_compare_and_swap_4: symbol not found
Error relocating /usr/lib/libjson-c.so.4: __gedf2: symbol not found
[    8.124378] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
[    8.124378]
[    8.135730] Rebooting in 1 seconds..

===================================================================
                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 ===
PLL3 FB_DL: 0xa, 1/0 = 758/266 29000000
PLL4 FB_DL: 0xf, 1/0 = 610/414 3D000000
PLL2 FB_DL: 0x13, 1/0 = 546/478 4D000000
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]=06030305
DRAMC_DQIDLY2[214]=02040305
DRAMC_DQIDLY3[218]=05040303
DRAMC_DQIDLY4[21c]=03010702
DRAMC_R0DELDLY[018]=00001919
==================================================================
                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 |    5 0 1 3 2 1 1 1 0 1
10 |    1 1 1 5 1 2
--------------------------------------

==================================================================
2.dqs window
x=pass dqs delay value (min~max)center
y=0-7bit DQ of every group
input delay:DQS0 =25 DQS1 = 25
==================================================================
bit     DQS0     bit      DQS1
0  (3~48)25  8  (0~44)22
1  (1~43)22  9  (1~45)23
2  (0~46)23  10  (0~45)22
3  (0~45)22  11  (0~43)21
4  (0~44)22  12  (0~49)24
5  (1~46)23  13  (1~46)23
6  (0~44)22  14  (1~49)25
7  (1~48)24  15  (0~48)24
==================================================================
3.dq delay value last
==================================================================
bit|    0  1  2  3  4  5  6  7  8   9
--------------------------------------
0 |    5 3 3 6 5 3 4 2 3 3
10 |    4 5 2 7 1 3
==================================================================
==================================================================
     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 = ffff0080
dqs_perbyte_dly.last_dqdly_pass[1]=15,  finish count=1
DQ loop=14, cmp_err_1 = ffff0000
dqs_perbyte_dly.last_dqdly_pass[0]=14,  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 15 2018 - 06:54:56)

Board: Ralink APSoC DRAM:  256 MB
Power on memory test. Memory size= 256 MB...OK!
relocate_code Pointer at: 8ffac000

Config XHCI 40M PLL
******************************
Software System Reset Occurred
******************************
Allocate 16 byte aligned buffer: 8ffe0010
Enable NFI Clock
# MTK NAND # : Use HW ECC
NAND ID [2C DA 90 95 06]
Device found in MTK table, ID: 2cda, EXT_ID: 909506
Support this Device in MTK table! 2cda
select_chip
[NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
Signature matched and data read!
load_fact_bbt success 2047
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 15 2018  Time:06:54:56
============================================
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 =256 Mbytes
#Reset_MT7530
set LAN/WAN LLLLW

Fixed by doing sysupgrade over serial.
Tried powercycling to see if it'll brick again, but it didn't.
Figuring it out wasn't too difficult, but if anyone else needs help feel free to tag me.

2 Likes

I connected a UART and flashed the ROM by using option two in the boot menu. While doing this, I realized that if I used a normal metal paper clip cut into pieces, it perfectly fits the serial port connection holes in the router. Hence, I used the UART without any soldering (I'm not good at soldering). Hope this information will be helpful to others who may want to try it.

2 Likes

@KamuiX

Thanks for this information! I have got the same problems. I did this changers and now I will check if fix some problem.

Test performed, it is impossible to use without "WMM Mode". With this functionality disabled the connection does not reach 1MB after activation connects between 40mb and 50mb.

On stability improvement, can't see improvements with 2.4G. Continued disconnecting.

For the 5G connections, they remained satisfactory.

I'll wait another day to see if you have resolved the quality loss issue after more than one day without rebooting the router ...

Unfortunately, the problem persists! After 24 online, the connections are slow, increase the disconnect problem and only resolve after a restart.The problem is most evident when trying to access netflix and chorome cast.