Skip to content
Snippets Groups Projects
  1. May 21, 2022
    • Martin Weinelt's avatar
      ramips-mt7621: add TP-Link RE650v1 (#2527) · 99bdce10
      Martin Weinelt authored
      - [x] Must be flashable from vendor firmware
        - [x] Web interface
        - [ ] TFTP (untested, but possible according to OpenWrt wiki)
        - [ ] Other: <specify>
      - [x] Must support upgrade mechanism
        - [x] Must have working sysupgrade
          - [x] Must keep/forget configuration (`sysupgrade [-n]`, `firstboot`)
        - [x] Gluon profile name matches autoupdater image name
              (`lua -e 'print(require("platform_info").get_image_name())'`)
      - [x] Reset/WPS/... button must return device into config mode
      - [x] Primary MAC address should match address on device label (or packaging)
            (https://gluon.readthedocs.io/en/latest/dev/hardware.html#notes)
        - When re-adding a device that was supported by an earlier version of Gluon, a
          factory reset must be performed before checking the primary MAC address, as
          the setting from the old version is not reset otherwise.
      - Wired network
        - [x] should support all network ports on the device
        - [x] must have correct port assignment (WAN/LAN)
          - On devices supplied via PoE, there is usually no explicit WAN/LAN labeling on the hardware.
            The PoE input should be the WAN port in this case.
      - Wireless network (if applicable)
        - [x] Association with AP must be possible on all radios
        - [x] Association with 802.11s mesh must work on all radios
        - [x] AP+mesh mode must work in parallel on all radios
      - LED mapping
        - Power/system LED
          - [x] Lit while the device is on
          - [x] Should display config mode blink sequence
                (https://gluon.readthedocs.io/en/latest/features/configmode.html)
        - Radio LEDs
          - [x] Should map to their respective radio
          - [x] Should show activity
        - Switch port LEDs
          - [x] Should map to their respective port (or switch, if only one led present)
          - [x] Should show link state and activity
      Unverified
      99bdce10
  2. 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.
      Unverified
      1eeca33c
  3. 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
  4. Jun 21, 2021
  5. Mar 09, 2020
  6. Jan 26, 2020
  7. Nov 10, 2019
  8. Nov 07, 2019
  9. Oct 29, 2019
  10. Aug 15, 2019
  11. Jul 13, 2019
  12. Jun 15, 2019
  13. Dec 28, 2018
  14. Dec 23, 2018
  15. Feb 04, 2018
  16. Jan 26, 2018
  17. Jan 19, 2018
  18. Nov 26, 2017
  19. Nov 23, 2017
  20. Jun 06, 2017
  21. Jan 18, 2017
  22. Jul 03, 2016
Loading