Skip to content
Snippets Groups Projects
  1. Sep 14, 2021
    • Manu.WTF's avatar
      ramips-mt7621: add support for Ubiquiti UniFi 6 Lite (#2310) · 1eeca33c
      Manu.WTF authored
      Hardware
      --------
      MediaTek MT7621AT
      256M DDR3
      32M SPI-NOR
      MediaTek MT7603 2T2R 802.11n 2.4GHz
      MediaTek MT7915 2T2R 802.11ax 5GHz
      
      Not Working
      -----------
       - Bluetooth (connected to UART3)
      
      UART
      ----
      
      UART is located in the lower left corner of the board. Pinout is
      
      0 - 3V3 (don't connect)
      1 - RX
      2 - TX
      3 - GND
      
      Console is 115200 8N1.
      
      Boot
      ----
      
      1. Connect to the serial console and connect power.
      
      2. Double-press ESC when prompted
      
      3. Set the fdt address
      
         $ fdt addr $(fdtcontroladdr)
      
      4. Remove the signature node from the control FDT
      
         $ fdt rm /signature
      
      5. Transfer and boot the OpenWrt initramfs image to the device.
         Make sure to name the file C0A80114.img and have it reachable at
         192.168.1.1/24
      
         $ tftpboot; bootm
      
      Installation
      ------------
      
      1. Connect to the booted device at 192.168.1.20 using username/password
         "ubnt".
      
      2. Update the bootloader environment.
      
         $ fw_setenv devmode TRUE
         $ fw_setenv boot_openwrt "fdt addr \$(fdtcontroladdr);
           fdt rm /signature; bootubnt"
         $ fw_setenv bootcmd "run boot_openwrt"
      
      3. Transfer the OpenWrt sysupgrade image to the device using SCP.
      
      4. Check the mtd partition number for bs / kernel0 / kernel1
      
         $ cat /proc/mtd
      
      5. Set the bootselect flag to boot from kernel0
      
         $ dd if=/dev/zero bs=1 count=1 of=/dev/mtdblock4
      
      6. Write the OpenWrt sysupgrade image to both kernel0 as well as kernel1
      
         $ dd if=openwrt.bin of=/dev/mtdblock6
         $ dd if=openwrt.bin of=/dev/mtdblock7
      
      7. Reboot the device. It should boot into OpenWrt.
      1eeca33c
  2. Jun 29, 2021
    • Dark4MD's avatar
      ramips-mt7621: add Xiaomi Mi Router 4A (Gigabit Edition) · a5e085b5
      Dark4MD authored
      Specifications:
      
      - SoC:      MediaTek MT7621
      - Flash:    16 MiB NOR SPI
      - RAM:      128 MiB DDR3
      - Ethernet: 3x 10/100/1000 Mbps (switched, 2xLAN + WAN)
      - WIFI0:    MT7603E 2.4GHz 802.11b/g/n
      - WIFI1:    MT7612E 5GHz 802.11ac
      - Antennas: 4x external (2 per radio), non-detachable
      - LEDs:     Programmable "power" LED (two-coloured, yellow/blue)
                  Non-programmable "internet" LED (shows WAN activity)
      - Buttons:  Reset
      
      Installation:
      
      Bootloader won't accept any serial input unless "boot_wait" u-boot
      environment variable is changed to "on".
      
      Vendor firmware won't accept any serial input until "uart_en" is
      set to "1".
      
      Using the https://github.com/acecilia/OpenWRTInvasion exploit you
      can gain access to shell to enable these options:
      
      To enable uart keyboard actions - 'nvram set uart_en=1'
      To make uboot delay boot work - 'nvram set boot_wait=on'
      Set boot delay to 5 - 'nvram set bootdelay=5'
      
      Then run 'nvram commit' to make the changes permanent.
      
      Once in the shell (following the OpenWRTInvasion instructions) you
      can then run the following to flash OpenWrt and then reboot:
      
      'cd /tmp; curl https://downloads.openwrt.org/...-sysupgrade.bin
        --output firmware.bin; mtd -e OS1 -r write firmware.bin OS1'
      a5e085b5
  3. Jun 21, 2021
  4. Mar 09, 2020
  5. Jan 26, 2020
  6. Nov 10, 2019
  7. Nov 07, 2019
  8. Oct 29, 2019
  9. Aug 15, 2019
  10. Jul 13, 2019
  11. Jun 15, 2019
  12. Dec 28, 2018
  13. Dec 23, 2018
  14. Feb 04, 2018
  15. Jan 26, 2018
  16. Jan 19, 2018
  17. Nov 26, 2017
  18. Nov 23, 2017
  19. Jun 06, 2017
  20. Jan 18, 2017
  21. Jul 03, 2016
Loading