I have flashed the firmware back to 19.07.8
However, there are still problems:
The configuration cannot be saved. When the device is restarted, the configuration is lost
Start log:
root@OpenWrt:/# reboot
root@OpenWrt:/# [ 113.491784] br-lan: port 1(eth0.1) entered disabled state
[ 113.509025] device eth0.1 left promiscuous mode
[ 113.518392] br-lan: port 1(eth0.1) entered disabled state
[ 113.572786] IPv6: ADDRCONF(NETDEV_UP): eth0.1: link is not ready
[ 113.813617] device eth0 left promiscuous mode
[ 113.902205] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
[ 118.049607] reboot: Restarting system
===================================================================
MT7621 stage1 code 10:33:11 (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 ===
PLL4 FB_DL: 0xe, 1/0 = 546/478 39000000
PLL2 FB_DL: 0x12, 1/0 = 522/502 49000000
PLL3 FB_DL: 0x12, 1/0 = 772/252 49000000
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 1 1
000E:| 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
000F:| 0 0 0 0 1 1 1 1 1 1 1 1 1 0 0 0
0010:| 1 1 1 1 1 1 1 1 0 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
rank 0 coarse = 15
rank 0 fine = 64
B:| 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0
opt_dle value:9
DRAMC_R0DELDLY[018]=00001C1B
==================================================================
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 | 10 7 10 8 9 6 11 6 8 10
10 | 9 11 8 11 8 12
--------------------------------------
==================================================================
2.dqs window
x=pass dqs delay value (min~max)center
y=0-7bit DQ of every group
input delay:DQS0 =27 DQS1 = 28
==================================================================
bit DQS0 bit DQS1
0 (1~51)26 8 (3~52)27
1 (1~47)24 9 (2~51)26
2 (1~50)25 10 (3~54)28
3 (1~53)27 11 (2~53)27
4 (1~51)26 12 (2~54)28
5 (1~50)25 13 (3~52)27
6 (1~52)26 14 (2~54)28
7 (1~49)25 15 (3~53)28
==================================================================
3.dq delay value last
==================================================================
bit| 0 1 2 3 4 5 6 7 8 9
--------------------------------------
0 | 11 10 12 8 10 8 12 8 9 12
10 | 9 12 8 12 8 12
==================================================================
==================================================================
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 = ffff11aa
DQ loop=14, cmp_err_1 = ffff00aa
dqs_perbyte_dly.last_dqdly_pass[1]=14, finish count=1
DQ loop=13, cmp_err_1 = ffff00a0
DQ loop=12, cmp_err_1 = ffff0000
dqs_perbyte_dly.last_dqdly_pass[0]=12, finish count=2
byte:0, (DQS,DQ)=(9,8)
byte:1, (DQS,DQ)=(8,8)
20,data:89
[EMI] DRAMC calibration passed
===================================================================
MT7621 stage1 code done
CPU=50000000 HZ BUS=16666666 HZ
===================================================================
U-Boot 1.1.3 (Nov 2 2015 - 16:39:31)
Board: Ralink APSoC DRAM: 256 MB
relocate_code Pointer at: 8ffb0000
Config XHCI 40M PLL
******************************
Software System Reset Occurred
******************************
Allocate 16 byte aligned buffer: 8ffe1960
Enable NFI Clock
# MTK NAND # : Use HW ECC
NAND ID [01 DA 90 95 46]
Device found in MTK table, ID: 1da, EXT_ID: 909546
Support this Device in MTK table! 1da
select_chip
[NAND]select ecc bit:12, sparesize :112 spare_per_sector=28
Signature matched and data read!
load_fact_bbt success 2047
load fact bbt success
[mtk_nand] probe successfully!
mtd->writesize=2048 mtd->oobsize=112, mtd->erasesize=131072 devinfo.iowidth=8
..
UBNT e50 13-02079-19 788A200B76C8
UBNT BD type=e50, mac=788A200B76C8, s/n=788A200B76C8, mrev=19, k_idx=0
============================================
Ralink UBoot Version: 4.3.S.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:Nov 2 2015 Time:16:39:31
============================================
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 port isolation
Please choose the operation:
1: Load system code to SDRAM via TFTP.
2: Load system code then write to Flash via TFTP.
3: Boot system code via Flash (default).
4: Entr boot command line interface.
7: Load Boot Loader code then write to Flash via Serial.
9: Load Boot Loader code then write to Flash via TFTP.
default: 3 0
3: System Boot system code via Flash.
## Booting image at bfd40000 ...
Image Name: MIPS OpenWrt Linux-4.14.241
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 3554392 Bytes = 3.4 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 4.14.241 (builder@buildhost) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r11364-ef56c85848)) #0 SMP Thu Jul 29 19:50:28 2021
[ 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 UBNT-ERX
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 10000000 @ 00000000 (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 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] random: get_random_bytes called from 0x80579744 with crng_init=0
[ 0.000000] percpu: Embedded 14 pages/cpu s26224 r8192 d22928 u57344
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 65024
[ 0.000000] Kernel command line: console=ttyS0,57600 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=00009240
[ 0.000000] Readback ErrCtl register=00009240
[ 0.000000] Memory: 250800K/262144K available (4764K kernel code, 239K rwdata, 588K rodata, 2908K init, 255K bss, 11344K reserved, 0K cma-reserved, 0K 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.015512] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[ 0.087832] pid_max: default: 32768 minimum: 301
[ 0.097148] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.110171] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.125901] Hierarchical SRCU implementation.
[ 0.135364] smp: Bringing up secondary CPUs ...
[ 0.146286] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.146294] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.146306] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.146435] CPU1 revision is: 0001992f (MIPS 1004Kc)
[ 0.204731] Synchronize counters for CPU 1: done.
[ 0.270060] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.270068] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.270074] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.270142] CPU2 revision is: 0001992f (MIPS 1004Kc)
[ 0.325592] Synchronize counters for CPU 2: done.
[ 0.387128] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.387135] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.387141] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.387214] CPU3 revision is: 0001992f (MIPS 1004Kc)
[ 0.445156] Synchronize counters for CPU 3: done.
[ 0.504750] smp: Brought up 1 node, 4 CPUs
[ 0.516330] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.535798] futex hash table entries: 1024 (order: 3, 32768 bytes)
[ 0.548215] pinctrl core: initialized pinctrl subsystem
[ 0.559938] NET: Registered protocol family 16
[ 0.583362] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 0.594656] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 0.605881] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 0.619515] clocksource: Switched to clocksource GIC
[ 0.630897] NET: Registered protocol family 2
[ 0.639691] IP idents hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.653247] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.666999] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.679780] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.692500] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.704000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.716648] NET: Registered protocol family 1
[ 2.859502] 4 CPUs re-calibrate udelay(lpj = 2924544)
[ 2.870992] Crashlog allocated RAM at address 0x3f00000
[ 2.881532] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[ 2.901705] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 2.913206] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 2.933947] random: fast init done
[ 2.942683] io scheduler noop registered
[ 2.950377] io scheduler deadline registered (default)
[ 2.961647] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 2.977704] console [ttyS0] disabled
[ 2.984766] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[ 3.002694] console [ttyS0] enabled
[ 3.002694] console [ttyS0] enabled
[ 3.016487] bootconsole [early0] disabled
[ 3.016487] bootconsole [early0] disabled
[ 3.034669] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
[ 3.048733] Enable NFI Clock
[ 3.054478] # MTK NAND # : Use HW ECC
[ 3.061795] Device found in MTK table, ID: 1da, EXT_ID: 909546
[ 3.073408] Support this Device in MTK table! 1da
[ 3.083137] [NAND]select ecc bit:12, sparesize :112 spare_per_sector=28
[ 3.096355] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xda
[ 3.109006] nand: AMD/Spansion NAND 256MiB 3,3V 8-bit
[ 3.119065] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 3.134162] Scanning device for bad blocks
[ 3.780489] 6 fixed-partitions partitions found on MTD device MT7621-NAND
[ 3.794007] Creating 6 MTD partitions on "MT7621-NAND":
[ 3.804425] 0x000000000000-0x000000080000 : "u-boot"
[ 3.815351] 0x000000080000-0x0000000e0000 : "u-boot-env"
[ 3.826947] 0x0000000e0000-0x000000140000 : "factory"
[ 3.838025] 0x000000140000-0x000000440000 : "kernel1"
[ 3.849133] 0x000000440000-0x000000740000 : "kernel2"
[ 3.860264] 0x000000740000-0x00000ff00000 : "ubi"
[ 3.872562] [mtk_nand] probe successfully!
[ 3.881511] Signature matched and data read!
[ 3.890020] load_fact_bbt success 2047
[ 3.898218] libphy: Fixed MDIO Bus: probed
[ 3.972099] libphy: mdio: probed
[ 5.388035] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
[ 5.400586] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 20
[ 5.419916] NET: Registered protocol family 10
[ 5.430340] Segment Routing with IPv6
[ 5.437714] NET: Registered protocol family 17
[ 5.446643] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 5.472451] 8021q: 802.1Q VLAN Support v1.8
[ 5.483725] UBI: auto-attach mtd5
[ 5.490372] ubi0: attaching mtd5
[ 7.389972] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[ 7.427455] mtk_soc_eth 1e100000.ethernet eth0: port 0 link up
[ 7.844681] ubi0: scanning is finished
[ 7.869437] ubi0: attached mtd5 (name "ubi", size 247 MiB)
[ 7.880389] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 7.894069] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 7.907581] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 7.921439] ubi0: good PEBs: 1982, bad PEBs: 0, corrupted PEBs: 0
[ 7.933563] ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128
[ 7.947937] ubi0: max/mean erase counter: 5/2, WL threshold: 4096, image sequence number: 1364794905
[ 7.966113] ubi0: available PEBs: 1938, total reserved PEBs: 44, PEBs reserved for bad PEB handling: 40
[ 7.984833] ubi0: background thread "ubi_bgt0d" started, PID 364
[ 7.984860] hctosys: unable to open rtc device (rtc0)
[ 8.017168] Freeing unused kernel memory: 2908K
[ 8.026213] This architecture does not have kernel memory protection.
[ 8.050718] init: Console is alive
[ 8.057714] init: - watchdog -
[ 8.074108] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 8.090511] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 8.119828] init: - preinit -
[ 8.265331] mtk_soc_eth 1e100000.ethernet: PPE started
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
[ 11.392034] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
[ 11.413366] procd: - early -
[ 11.419195] procd: - watchdog -
[ 12.039661] procd: - watchdog -
[ 12.046253] procd: - ubus -
[ 12.056566] random: ubusd: uninitialized urandom read (4 bytes read)
[ 12.110054] random: ubusd: uninitialized urandom read (4 bytes read)
[ 12.123071] random: ubusd: uninitialized urandom read (4 bytes read)
[ 12.136608] procd: - init -
Please press Enter to activate this console.
[ 12.369978] kmodloader: loading kernel modules from /etc/modules.d/*
[ 12.386378] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 12.402710] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 12.418995] nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
[ 12.460614] xt_time: kernel timezone is -0000
[ 12.474484] PPP generic driver version 2.4.2
[ 12.484200] NET: Registered protocol family 24
[ 12.495344] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 12.540687] urngd: v1.0.2 started.
[ 12.685092] random: crng init done
[ 12.691881] random: 7 urandom warning(s) missed due to ratelimiting
[ 24.115586] mtk_soc_eth 1e100000.ethernet: PPE started
[ 24.132423] br-lan: port 1(eth0.1) entered blocking state
[ 24.143248] br-lan: port 1(eth0.1) entered disabled state
[ 24.154897] device eth0.1 entered promiscuous mode
[ 24.164548] device eth0 entered promiscuous mode
[ 24.177744] br-lan: port 1(eth0.1) entered blocking state
[ 24.188557] br-lan: port 1(eth0.1) entered forwarding state
[ 24.200211] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 25.150266] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
BusyBox v1.30.1 () built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt 19.07.8, r11364-ef56c85848
-----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:/#