MT7621: Adding support for Y2 Yinuo-link Y2 AX1800 traver

Hi, I would like to add support for this travel router. Got the itch of running these fun powerful openwrt devices after purchasing a glinet router and tinkering with it. Purchased this router from Amazon for $20usd. Runs on a custom LEDE 17.01 kernel 4.4.198. I was provided the original SDK by the manufacture and have gained telnet access. (thanks Helen from yinuo-link)

SOC MT7621

dmesg:

Specs:

https://www.amazon.com/Portable-Wireless-Multiple-Repeater-Indicator/dp/B0CJJG878S

I am a beginner so please excuse me if I left out anything. This might be over my head after reading the adding new device section, but at least I'll give it a shot.

Thanks in advance!

256M RAM
16MB Flash (less than 1MB in OEM partitions)
Show the link for firmware update, or connect router via SSH and dump all flash partitions?

I am connected via telnet and can do this....

I looked up a post by saladin for dump flash content:

How to Dump Flash Content:

  • list all the flash blocks using command # cat /proc/mtd, foe example:
root@router:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00080000 00020000 "boot"
mtd1: 001a0000 00020000 "nvram"
mtd2: 00020000 00020000 "POT"
mtd3: 00060000 00020000 "POT"
mtd4: 00020000 00020000 "ML"
mtd5: 00020000 00020000 "ML"
mtd6: 00020000 00020000 "ML"
mtd7: 00020000 00020000 "ML"
mtd8: 00020000 00020000 "ML"
mtd9: 00020000 00020000 "ML"
mtd10: 00020000 00020000 "ML"
mtd11: 07c80000 00020000 "firmware"
mtd12: 0041ffe4 00020000 "linux"
mtd13: 07860000 00020000 "ubi"
root@router:~#
  • Use the appropriate commands in OpenWrt to dump the flash content to a file. For example, to dump the entire flash to a file named flash_dump.bin, you can use the dd command:
dd if=/dev/mtd0 of=/tmp/flash_dump_00.bin

repeat the commend for other flash partitions, change the source flash partition name (mtd1, mtd2, etc.) and destinations as (flash_dump_01.bin, flash_dump_02.bin, etc.).

N.B:
for NAND; you may change ‘mtd’ to ‘mtdblock’:

dd if=/dev/mtdblock0 of=/tmp/flash_dump_00.bin

is this what you mean by dumping the flash partitions?

1 Like

Approximately, then drill blocks through binwalk , maybe it finds kernel config, likely badly formatted DTS etc.