Meco Eleverde AC60 - Openwrt support

Good morning, I have recently given me a Meco Eleverde AC60 repeater that did not work. So try to install OpenWRT from the serial port and with half success. Since it enters "FAIL SAFE" mode.

Hardware:
PCB: JRT1200K_V02
CPU: Ralink MT7620a + MT7610e evaluation board
ROM: BH25Q64BS 8MB
RAM: 64MB DDR2

Photos Motherboard:

Uboot info

U-Boot 1.1.3 (May 23 2019 - 15:08:54)

Board: Ralink APSoC DRAM:  64 MB
relocate_code Pointer at: 83fa0000
enable ephy clock...done. rf reg 29 = 5
SSC disabled.
spi_wait_nsec: 29
spi device id: 68 40 17 68 40 (40176840)
find flash: BH25Q64BS
raspi_read: from:30000 len:1000
raspi_read: from:30000 len:1000
============================================
Ralink UBoot Version: 5.0.0.0
--------------------------------------------
ASIC 7620_MP (Port5<->Phy)
DRAM component: 512 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 64 MBytes
Flash component: SPI Flash
Date:May 23 2019  Time:15:08:54
============================================
icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768

 ##### The CPU freq = 580 MHZ ####
 estimate memory size =64 Mbytes

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

The version that I have tried has been: openwrt-ramips-mt7620-ralink_mt7620a-evb-initramfs-kernel.bin

Log OpenWRT:

 U-Boot 1.1.3 (May 23 2019 - 15:08:54)

Board: Ralink APSoC DRAM:  64 MB
relocate_code Pointer at: 83fa0000
enable ephy clock...done. rf reg 29 = 5
SSC disabled.
spi_wait_nsec: 29
spi device id: 68 40 17 68 40 (40176840)
find flash: BH25Q64BS
raspi_read: from:30000 len:1000
raspi_read: from:30000 len:1000
============================================
Ralink UBoot Version: 5.0.0.0
--------------------------------------------
ASIC 7620_MP (Port5<->Phy)
DRAM component: 512 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 64 MBytes
Flash component: SPI Flash
Date:May 23 2019  Time:15:08:54
============================================
icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768

 ##### The CPU freq = 580 MHZ ####
 estimate memory size =64 Mbytes

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

3: System Boot system code via Flash.
## Booting image at bc050000 ...
raspi_read: from:50000 len:40
   Image Name:   MIPS OpenWrt Linux-5.4.109
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    4668478 Bytes =  4.5 MB
   Load Address: 80000000
   Entry Point:  80000000
raspi_read: from:50040 len:473c3e
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 64

Starting kernel ...

[    0.000000] Linux version 5.4.109 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16435-f2c8c62d98)) #0 Wed Apr 7 12:46:46 2021
[    0.000000] Board has DDR2
[    0.000000] Analog PMU set to hw control
[    0.000000] Digital PMU set to hw control
[    0.000000] SoC Type: MediaTek MT7620A ver:2 eco:6
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)
[    0.000000] MIPS: machine is Ralink MT7620a + MT7610e evaluation board
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16240
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] Writing ErrCtl register=00076ec1
[    0.000000] Readback ErrCtl register=00076ec1
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 54552K/65536K available (5042K kernel code, 208K rwdata, 1112K rodata, 3676K init, 213K bss, 10984K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 256
[    0.000000] random: get_random_bytes called from start_kernel+0x308/0x4fc with crng_init=0
[    0.000000] CPU Clock: 580MHz
[    0.000000] clocksource: systick: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 583261500 ns
[    0.000000] systick: enable autosleep mode
[    0.000000] systick: running - mult: 214748, shift: 32
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
[    0.000009] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
[    0.015486] Calibrating delay loop... 385.02 BogoMIPS (lpj=770048)
[    0.059570] pid_max: default: 32768 minimum: 301
[    0.068956] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.083364] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.105604] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.124909] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.138510] pinctrl core: initialized pinctrl subsystem
[    0.150347] NET: Registered protocol family 16
[    0.422349] PCI host bridge /pcie@10140000 ranges:
[    0.431753]  MEM 0x0000000020000000..0x000000002fffffff
[    0.442123]   IO 0x0000000010160000..0x000000001016ffff
[    0.475701] rt2880_gpio 10000600.gpio: registering 24 gpios
[    0.486748] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[    0.499949] PCI host bridge to bus 0000:00
[    0.508008] pci_bus 0000:00: root bus resource [mem 0x20000000-0x2fffffff]
[    0.521624] pci_bus 0000:00: root bus resource [io  0xffffffff]
[    0.533394] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.546892] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.562688] pci 0000:00:00.0: [1814:0801] type 01 class 0x060400
[    0.574617] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    0.587053] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    0.599588] pci 0000:00:00.0: supports D1
[    0.607470] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.621207] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.637256] pci 0000:01:00.0: [14c3:7662] type 00 class 0x028000
[    0.649153] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    0.662611] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    0.676004] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    0.690138] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.703190] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01
[    0.716346] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    0.729466] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    0.743316] pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x200fffff]
[    0.756815] pci 0000:00:00.0: BAR 9: assigned [mem 0x20100000-0x201fffff pref]
[    0.771178] pci 0000:00:00.0: BAR 1: assigned [mem 0x20200000-0x2020ffff]
[    0.784690] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff 64bit]
[    0.799233] pci 0000:01:00.0: BAR 6: assigned [mem 0x20100000-0x2010ffff pref]
[    0.813580] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.823448] pci 0000:00:00.0:   bridge window [mem 0x20000000-0x200fffff]
[    0.836945] pci 0000:00:00.0:   bridge window [mem 0x20100000-0x201fffff pref]
[    0.851422] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.875708] clocksource: Switched to clocksource systick
[    0.887612] NET: Registered protocol family 2
[    0.897262] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.913842] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.928997] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.943017] TCP: Hash tables configured (established 1024 bind 1024)
[    0.955822] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.968713] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.982878] NET: Registered protocol family 1
[    0.991501] PCI: CLS 0 bytes, default 32
[    1.483686] random: fast init done
[    5.749270] rt-timer 10000100.timer: maximum frequency is 1220Hz
[    5.763409] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[    5.784890] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    5.796401] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    5.832260] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    5.850022] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    5.865612] printk: console [ttyS0] disabled
[    5.874094] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103
[    5.893724] printk: console [ttyS0] enabled
[    5.893724] printk: console [ttyS0] enabled
[    5.910305] printk: bootconsole [early0] disabled
[    5.910305] printk: bootconsole [early0] disabled
[    5.938759] spi spi0.0: force spi mode3
[    5.947388] spi-nor spi0.0: unrecognized JEDEC id bytes: 68 40 17 68 40 17
[    5.961205] spi-nor: probe of spi0.0 failed with error -2
[    5.972857] libphy: Fixed MDIO Bus: probed
[    5.989855] gsw: setting port4 to gmac mode
[    5.998294] mtk_soc_eth 10100000.ethernet eth0 (uninitialized): port 0 link up (100Mbps/Full duplex)
[    6.016587] mtk_soc_eth 10100000.ethernet: generated random MAC address b6:6a:16:68:eb:25
[    6.033091] libphy: mdio: probed
[    6.039646] mdio_bus mdio-bus: MDIO device at address 4 is missing.
[    6.052210] mdio_bus mdio-bus: MDIO device at address 5 is missing.
[    6.064943] mtk_soc_eth 10100000.ethernet: loaded mt7620 driver
[    6.077492] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[    6.094563] rt2880_wdt 10000120.watchdog: Initialized
[    6.106376] NET: Registered protocol family 10
[    6.120290] Segment Routing with IPv6
[    6.127815] NET: Registered protocol family 17
[    6.136760] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    6.162591] 8021q: 802.1Q VLAN Support v1.8
[    6.193521] Freeing unused kernel memory: 3676K
[    6.202586] This architecture does not have kernel memory protection.
[    6.215422] Run /init as init process
[    6.637331] init: Console is alive
[    6.644542] init: - watchdog -
[    6.674740] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    6.693329] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    6.712620] init: - preinit -
[    6.862874] random: procd: uninitialized urandom read (4 bytes read)
strings: standard output: Broken pipe
[    7.006657] random: jshn: uninitialized urandom read (4 bytes read)
[    7.111264] random: jshn: uninitialized urandom read (4 bytes read)
[    7.682192] 8021q: adding VLAN 0 to HW filter on device eth0
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
- failsafe button BTN_0 was pressed -
- failsafe -
Waiting for kernel randomness to be initialised...
[   10.711991] random: crng init done
[   10.718792] random: 5 urandom warning(s) missed due to ratelimiting

BusyBox v1.33.0 () built-in shell (ash)

ash: can't access tty; job control turned off
  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r16435-f2c8c62d98
 -----------------------------------------------------
================= FAILSAFE MODE active ================
special commands:
* firstboot          reset settings to factory defaults
* mount_root     mount root-partition with config files

after mount_root:
* passwd                         change root's password
* /etc/config               directory with config files

for more help see:
https://openwrt.org/docs/guide-user/troubleshooting/
- failsafe_and_factory_reset
- root_password_reset
=======================================================

Edit: I have continued to do evidence and I have seen OpenWRT file / proc / mtd is blank:

root@(none):/# cat /proc/mtd
dev:    size   erasesize  name