I'm Gabriel from Colombia.
I bought a router H3S R01 4G LTE (H3S.com.co), then I noticed that it runs OpenWRT. I got ssh acces and I tried to upgrade but I choosed the wrong bin, there is a MT7628NN inside and I used a MT7628AN image.
There isnt much information about the device. Its made by Shangai Notion Information Technology https://www.notioni.com/ .I've tried to contact H3S and Notion to info or tools but they dont response. Same that H3S there's a mark that use that oem device, Ergo r0516.
I have serial access and I got this:
[05010C07][05010C0A]
DDR Calibration DQS reg = 00008988
U-Boot 1.1.3 (Jul 14 2020 - 16:23:39)
Board: Ralink APSoC DRAM: 64 MB
relocate_code Pointer at: 83fb8000
flash manufacture id: 20, device id 70 18
find flash: XM25QH128A
============================================
Ralink UBoot Version: 4.3.0.0
--------------------------------------------
ASIC 7628_MP (Port5<->None)
DRAM component: 512 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 64 MBytes
Flash component: SPI Flash
Date:Jul 14 2020 Time:16:23:39
============================================
icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768
##### The CPU freq = 575 MHZ ####
estimate memory size =64 Mbytes
RESET MT7628 PHY!!!!!!xiehj: forcegrade = restore
xiehj:key pressed
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: spi flash mcp test.
7: Load Boot Loader code then write to Flash via Serial.
9: Load Boot Loader code then write to Flash via TFTP. 0
3: System Boot system code via Flash.
## Booting image at bc800000 ...
Image Name: MIPS OpenWrt Linux-5.4.108
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1984719 Bytes = 1.9 MB
Load Address: 80000000
Entry Point: 80000000
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.108 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r15952-6090337679)) #0 Sat Apr 3 15:06:39 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 MT7628AN ver:1 eco:2
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019655 (MIPS 24KEc)
[ 0.000000] MIPS: machine is Mediatek MT7628AN 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=000690d6
[ 0.000000] Readback ErrCtl register=000690d6
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 57512K/65536K available (5052K kernel code, 203K rwdata, 632K rodata, 1208K init, 205K bss, 8024K 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] intc: using register map from devicetree
[ 0.000000] random: get_random_bytes called from 0x805c2984 with crng_init=0
[ 0.000000] CPU Clock: 575MHz
[ 0.000000] timer_probe: no matching timers found
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6647862422 ns
[ 0.000010] sched_clock: 32 bits at 287MHz, resolution 3ns, wraps every 7469508094ns
[ 0.015390] Calibrating delay loop... 382.46 BogoMIPS (lpj=764928)
[ 0.055425] pid_max: default: 32768 minimum: 301
[ 0.064762] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.079095] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.100574] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.119780] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.133289] pinctrl core: initialized pinctrl subsystem
[ 0.146465] NET: Registered protocol family 16
[ 0.181722] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[ 0.204693] clocksource: Switched to clocksource MIPS
[ 0.215981] NET: Registered protocol family 2
[ 0.225670] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.242154] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.257224] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.271148] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.283863] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.296720] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.310781] NET: Registered protocol family 1
[ 0.319320] PCI: CLS 0 bytes, default 32
[ 0.331678] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[ 0.353037] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.364470] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.399216] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.417086] mt7621_gpio 10000600.gpio: registering 32 gpios
[ 0.428340] mt7621_gpio 10000600.gpio: registering 32 gpios
[ 0.439583] mt7621_gpio 10000600.gpio: registering 32 gpios
[ 0.450822] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.466384] printk: console [ttyS0] disabled
[ 0.474820] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
[ 0.492618] printk: console [ttyS0] enabled
[ 0.492618] printk: console [ttyS0] enabled
[ 0.509106] printk: bootconsole [early0] disabled
[ 0.509106] printk: bootconsole [early0] disabled
[ 0.529232] spi-mt7621 10000b00.spi: sys_freq: 191666666
[ 0.549324] spi-nor spi0.0: XM25QH128A (16384 Kbytes)
[ 0.559435] 4 fixed-partitions partitions found on MTD device spi0.0
[ 0.572018] Creating 4 MTD partitions on "spi0.0":
[ 0.581516] 0x000000000000-0x000000030000 : "u-boot"
[ 0.592531] 0x000000030000-0x000000040000 : "u-boot-env"
[ 0.604283] 0x000000040000-0x000000050000 : "factory"
[ 0.615502] 0x000000050000-0x000000800000 : "firmware"
[ 0.630724] 2 uimage-fw partitions found on MTD device firmware
[ 0.642515] Creating 2 MTD partitions on "firmware":
[ 0.652362] 0x000000000000-0x00000014aef0 : "kernel"
[ 0.663373] 0x00000014aef0-0x0000007b0000 : "rootfs"
[ 0.674370] mtd: device 5 (rootfs) set to be root filesystem
[ 0.687653] 1 squashfs-split partitions found on MTD device rootfs
[ 0.699985] 0x000000650000-0x0000007b0000 : "rootfs_data"
[ 0.712758] libphy: Fixed MDIO Bus: probed
[ 0.732377] rt3050-esw 10110000.esw: link changed 0x00
[ 0.743791] mtk_soc_eth 10100000.ethernet: generated random MAC address 62:f7:a8:cf:58:3b
[ 0.760860] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[ 0.779382] NET: Registered protocol family 10
[ 0.792773] Segment Routing with IPv6
[ 0.800187] NET: Registered protocol family 17
[ 0.809070] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 0.834737] 8021q: 802.1Q VLAN Support v1.8
[ 0.846750] squashfs image failed sanity check
[ 0.856023] VFS: Cannot open root device "(null)" or unknown-block(31,5): error -5
[ 0.871074] Please append a correct "root=" boot option; here are the available partitions:
[ 0.887625] 1f00 192 mtdblock0
[ 0.887628] (driver?)
[ 0.900575] 1f01 64 mtdblock1
[ 0.900577] (driver?)
[ 0.913526] 1f02 64 mtdblock2
[ 0.913529] (driver?)
[ 0.926474] 1f03 7872 mtdblock3
[ 0.926477] (driver?)
[ 0.939422] 1f04 1323 mtdblock4
[ 0.939425] (driver?)
[ 0.952370] 1f05 6548 mtdblock5
[ 0.952373] (driver?)
[ 0.965319] 1f06 1408 mtdblock6
[ 0.965321] (driver?)
[ 0.978267] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,5)
[ 0.994797] Rebooting in 1 seconds..
[05010C07][05010C0A]
I thanks a lot if you can help me.