Dziękuję za szybki odzew.
Tak, z podłączonym konwerterem do routera, router nie chciał startować a z wypiętym startował i miał tego bootloopa.
Tak, waveshare ma zworkę do VCCIO, ale miałem ją wypiętą na wszelki wypadek i nie używałem tego wyjścia.
Na szybko spróbowałem odpalić router z wypiętymi tx i rx i podłączyć się nimi już po uruchomieniu routera i nagle wszystko było widać na putty... Także luty chyba ok.. podpinanie dopiero po uruchomieniu routera pomogło.
A z routerem oczywiście kernel panic, ale tu od razu tutoriale ze strony openwrt.org:
1 - debrick
Using Serial Interface for R3G
Use this if failsafe etc fail..
You need
usb 3.3v to serial adapter
tftp server (preferably on 192.168.31.100)
kernel0.bin (https://mega.nz/#!PI0VUKhA!OVoBm8rj6m9mMrpKfRDPzXEldGN8VzG8lLpjoMU9s3A)
stock firmware (cdn.cnbj1.fds.api.mi-img.com/xiaoqiang/rom/r3g/miwifi_r3g_firmware_12f97_2.25.124.bin) renamed to miwifi.bin on fat32 formatted usb stick
To debrick
Access serial console (use 3.3v adapter) and terminal emulator such as putty
Flash the kernel0.bin file using option 2 flash using TFTP option in the U-Boot menu. Note: when selecting the boot source (2 for firmware flashing), it may be necessary to not send any line ending.
Connect usb stick press reset button and router will flash itself with stock firmware. The progress will be shown in the serial console.
You can re-install openwrt as per original procedure
i instalacja Openwrt:
2 - instalacja
Installation using UART and a USB drive for R3G
Open the router and connect a 3.3 V UART adapter to the pins with the following settings: 115200 baud, 8 data bits, no parity, 1 stop bits
Power on the router and when it asks for the boot mode on the serial console, select 4: Enter boot command line interface. It may be necessary not to send any line ending after the number.
Enable UART console for the default firmware with the command setenv uart_en 1. You may also enable SSH for the default firmware using the command setenv ssh_en 1.
Save the changes with the command saveenv. Boot (or reboot?) the router to the default firmware using boot command.
The following steps are identical to installing over SSH, but are performed over the UART console.
Download the kernel1 and rootfs0 images to a FAT32 USB drive and connect the USB drive to the router. The following have been confirmed to work:
https://downloads.openwrt.org/releases/18.06.2/targets/ramips/mt7621/openwrt-18.06.2-ramips-mt7621-mir3g-squashfs-kernel1.bin
https://downloads.openwrt.org/releases/18.06.2/targets/ramips/mt7621/openwrt-18.06.2-ramips-mt7621-mir3g-squashfs-rootfs0.bin
On the firmware run:
cd /extdisks/sda1
mtd write mir3g-squashfs-kernel1.bin kernel1
mtd write mir3g-squashfs-rootfs0.bin rootfs0
nvram set flag_try_sys1_failed=1
nvram commit
reboot
The router should now boot to OpenWrt
Gdzieś mi umknęło że trzeba się podłączać dopiero po uruchomieniu.
Bardzo dziękuję za pomoc w przywróceniu do życia.