This repository is a mirror of It is for reference only and is not active for check-ins or for reporting issues. Aug 29, 2014 Not sure how many signals you need, but you can take serial console pins to connect(tx, rx, gnd) and you can take +5v from usb port. You can turn off messages to console after boot. Could you please highlight tx, rx on board which you used?
The serial port of the router can be accessed using the TTL pins. A voltage level converter (such as a CP2102 TTL-USB dongle) is required.
Writing to the console is disabled in the factory U-Boot. Writing to the console in the factory firmware is only possible during first boot; afterwards it is disabled by the firmware. To enable writing to the console, you must use the following commands: nvram set uarten=1 nvram commit The communication settings are: TTL voltage, 115200 bps, 8N1. MTD output from stock firmware. Root@XiaoQiang:/# cat /proc/mtd dev: size erasesize name mtd0: 0800000 'ALL' mtd1: 0000000 'Bootloader' mtd2: 0000000 'Config' mtd3: 0000000 'Bdata' mtd4: 0000000 'Factory' mtd5: 0000000 'crash' mtd6: 0000000 'crashsyslog' mtd7: 0000000 'reserved0' mtd8: 0040000 'kernel0' mtd9: 0040000 'kernel1' mtd10: 0200000 'rootfs0' mtd11: 0200000 'rootfs1' mtd12: 0360000 'overlay' Bootlog.
![Comp Comp](/uploads/1/2/5/5/125564536/758789343.jpg)
U-Boot 1.1.3 (Apr 15 2016 - 17:46:32) Board: Ralink APSoC DRAM: 128 MB Power on memory test. Memory size= 128 MB.OK! Relocatecode Pointer at: 87fb8000 enable ephy clock.done. Rf reg 29 = 5 SSC disabled.!!!
Recommended downgrading to for this & a presumption that you understand the STOK bit otherwise read from STEPS. Access the PandoraBox OpenWrt by 192.168.1.1., default password is “admin”. This has english language, just select the auto in language option. You might need use Internet Explorer or Google Chrome Incognito window Revert to stock First, we have to flash our stock bootloader and kernel0 partition back to their initial state. But there is a catch, the bootloader partition is locked in pandorabox firmware or any other normal OpenWrt firmware. Good news is I have compiled a OpenWrt firmware with unlocked bootloader option for MIR3. You will find it in mega link.
Unfortunately, due to Xiaomi's restrictive bootloader which locks you out from the serial console (!) after first boot, if you totally brick every OS and Kernel partition on this device without enabling the serial console, and the bootloader doesn't pick up the recovery image off a thumb drive, there's no easy way to get the device back up and running again. However, it is possible to install an easily-programmable SPI flash module to bring your router back to life, by way of the SOIC-8 sized pad in the middle of the PCB, and a few configuration jumpers. The location of the pads should be fairly obvious (marked FN1 FN2), and there is a silkscreened white dot on the PCB to indicate the proper direction to install the SPI chip. Make sure you install a compatible bootloader on the SPI chip (such as the Xiaomi Mini version of the WRTNode or Breed bootloader, others may work but have not been tested) The MT7620A SoC used in the Xiaomi Router 3 uses hardware straps to encode a binary number, determining what device to boot from, as in the datasheet. Straps Configuration Description SPIMOSI, SPICLK, TXD2, GPIO0 CHIPMODE3:0 A vector to set chip function/test/debug modes. In non test/debug operation, 1: Normal mode (boot from ROM+NAND flash 4 cycle address/2 KB page size) 2: Normal mode (boot from SPI 3-byte Addr) 3: Normal mode (boot from SPI 4-byte Addr) By default, the Xiaomi Router 3 has the four straps configured as follows: SPIMOSI (R135) - 0 (tied to ground) SPICLK (R127) - 0 (tied to ground) TXD2 (R139) - 0 (tied to ground) GPIO0 (R124) - 1 (pulled up via 4.7kO resistor) To boot the router from an installed SPI flash chip, two modifications need to be performed:. Move the 4.7kO resistor, or short with a solder bridge, R124 to the adjacent R126 pads.
This sets GPIO0 to 0. The router's new boot configuration should be 0010 (binary 2), and should a compatible bootloader be installed on the SPI chip it should boot right up. If you have installed a 16MB SPI chip, the Xiaomi Mini firmware images should be compatible out of the box. Should you install a smaller or larger capacity chip, you may have to adjust the Device Tree definition for your device at target/linux/ramips/dts/MIWIFI-MINI.dts and recompile your kernel from source. Outside links.