Skip to content
Snippets Groups Projects
  1. Mar 21, 2022
    • Sven Eckelmann's avatar
      ath79-generic: Add support for OpenMesh A60 · df114fae
      Sven Eckelmann authored
      Device specifications:
      ======================
      
      * Qualcomm/Atheros QCA9558 ver 1 rev 0
      * 720/600/240 MHz (CPU/DDR/AHB)
      * 128 MB of RAM
      * 16 MB of SPI NOR flash
        - 2x 7 MB available; but one of the 7 MB regions is the recovery image
      * 3T3R 2.4 GHz Wi-Fi (11n)
      * 3T3R 5 GHz Wi-Fi (11ac)
      * multi-color LED (controlled via red/green/blue GPIOs)
      * 1x GPIO-button (reset)
      * external h/w watchdog (enabled by default))
      * TTL pins are on board (arrow points to VCC, then follows: GND, TX, RX)
      * 2x ethernet
        - eth0
          + Label: Ethernet 1
          + AR8035 ethernet PHY (RGMII)
          + 10/100/1000 Mbps Ethernet
          + 802.3af POE
          + used as WAN interface
        - eth1
          + Label: Ethernet 2
          + AR8031 ethernet PHY (SGMII)
          + 10/100/1000 Mbps Ethernet
          + used as LAN interface
      * 1x USB
      * internal antennas
      
      Flashing instructions:
      ======================
      
      Various methods can be used to install the actual image on the flash.
      Two easy ones are:
      
      ap51-flash
      ----------
      
      The tool ap51-flash (https://github.com/ap51-flash/ap51-flash) should be
      used to transfer the image to the u-boot when the device boots up.
      
      initramfs from TFTP
      -------------------
      
      The serial console must be used to access the u-boot shell during bootup.
      It can then be used to first boot up the initramfs image from a TFTP server
      (here with the IP 192.168.1.21):
      
          setenv serverip 192.168.1.21
          setenv ipaddr 192.168.1.1
          tftpboot 0c00000 <filename-of-initramfs-kernel>.bin && bootm $fileaddr
      
      The actual sysupgrade image can then be transferred (on the LAN port) to the
      device via
      
          scp <filename-of-squashfs-sysupgrade>.bin root@192.168.1.1:/tmp/
      
      On the device, the sysupgrade must then be started using
      
          sysupgrade -n /tmp/<filename-of-squashfs-sysupgrade>.bin
      df114fae
  2. Mar 16, 2022
  3. Jan 14, 2022
  4. Oct 31, 2021
  5. 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
  6. Sep 04, 2021
  7. Sep 01, 2021
    • Björn Dobe's avatar
      ipq40xx: add support for Aruba AP-303H / Instant ON AP11D (#2302) · a492e629
      Björn Dobe authored
      - [x] must be flashable from vendor firmware
        - [ ] webinterface
        - [ ] tftp
        - [x] other: Console port available. Manufacturer specific cable required.
              Tutorial in OpenWRT commit message https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=c6e972c8772a628a1a2f2e5590d7c6f4acef9ab0
      - [x] must support upgrade mechanism
        - [x] must have working sysupgrade
          - [x] must keep/forget configuration (if applicable)
            *think `sysupgrade [-n]` or `firstboot`*
        - [x] must have working autoupdate
              root@Aruba-AP-303H:~# lua -e 'print(require("platform_info").get_image_name())'
              aruba-ap-303h
      - [x] reset/wps/phone button must return device into config mode
      - [x] primary mac should match address on device label (or packaging) (https://gluon.readthedocs.io/en/latest/dev/hardware.html#notes)
      - wired network
        - [x] should support all network ports on the device
        - [x] must have correct port assignment (WAN/LAN)
      - wifi (if applicable)
        - [x] association with AP must be possible on all radios
        - [x] association with 802.11s mesh must be working on all radios
        - [x] ap/mesh mode must work in parallel on all radios
      - led mapping
        - power/sys led (_critical, because led definitions are setup on firstboot only_)
          - [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
        - switchport leds
          - [x] should map to their respective port (or switch, if only one led present)
          - [x] should show link state and activity
      - outdoor devices only
        - [ ] added board name to `is_outdoor_device` function in `package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua`
      - ToDo (upstream):
        - enable PoE pass through on interface E3
              system.poe_passthrough=gpio_switch
              system.poe_passthrough.name='PoE Passthrough'
              system.poe_passthrough.gpio_pin='446'
              system.poe_passthrough.value='0' (0 is active)
      a492e629
  8. Aug 28, 2021
  9. Aug 27, 2021
  10. Aug 12, 2021
  11. Aug 11, 2021
  12. Aug 10, 2021
  13. Aug 08, 2021
  14. Jul 30, 2021
  15. Jul 29, 2021
    • Steffen Förster's avatar
      ramips-mt76x8: add support for TP-Link RE200 v2 (#2275) · 9fb00d13
      Steffen Förster authored
      TP-Link RE200 v2 is a wireless range extender with Ethernet and 2.4G and 5G
      WiFi with internal antennas. It's based on MediaTek MT7628AN+MT7610EN.
      
      Specifications
      --------------
      
      - MediaTek MT7628AN (580 Mhz)
      - 64 MB of RAM
      - 8 MB of FLASH
      - 2T2R 2.4 GHz and 1T1R 5 GHz
      - 1x 10/100 Mbps Ethernet
      - UART header on PCB (57600 8n1)
      - 8x LED (GPIO-controlled), 2x button
      
      There are 2.4G and 5G LEDs in red and green which are controlled
      separately.
      
      MAC addresses
      -------------
      
      The MAC address assignment matches stock firmware, i.e.:
      LAN : *:0D
      2.4G: *:0E
      5G  : *:0F
      
      Installation
      ------------
      
      Web Interface
      -------------
      
      It is possible to upgrade to OpenWrt via the web interface. Simply flash
      the -factory.bin from OEM. In contrast to a stock firmware, this will not
      overwrite U-Boot.
      9fb00d13
  16. Jul 18, 2021
  17. Jul 13, 2021
    • Matthias Schiffer's avatar
      ramips-rt305x: drop target · 09c9b78e
      Matthias Schiffer authored
      VoCores aren't exactly useful mesh nodes except for experimentation.
      They certainly aren't worth maintaining a whole target, in particular
      one that has a WLAN driver not used by any other target.
      09c9b78e
  18. Jul 06, 2021
  19. Jun 29, 2021
    • David Bauer's avatar
    • Dark4MD's avatar
      ramips-mt76x8: add Xiaomi Mi Router 4C · aab7d8ac
      Dark4MD authored
      Specifications:
      
      - CPU: MediaTek MT7628AN (580MHz)
      - Flash: 16MB
      - RAM: 64MB DDR2
      - 2.4 GHz: IEEE 802.11b/g/n with Integrated LNA and PA
      - Antennas: 4x external single band antennas
      - WAN: 1x 10/100M
      - LAN: 2x 10/100M
      - LEDs: 2x yellow/blue. Programmable (labelled as power on case)
                            - Non-programmable (shows WAN activity)
      - Button: Reset
      
      How to install:
      
      1- Use OpenWRTInvasion to gain telnet and ftp access.
      2- Push openwrt firmware to /tmp/ using ftp.
      3- Connect to router using telnet. (IP: 192.168.31.1 -
         Username: root - No password)
      4- Use command "mtd -r write /tmp/firmware.bin OS1" to flash into
         the router..
      5- It takes around 2 minutes. After that router will restart itself
         to OpenWrt.
      aab7d8ac
    • 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
  20. Jun 28, 2021
  21. Jun 26, 2021
  22. Jun 21, 2021
  23. Jun 15, 2021
  24. Jan 13, 2021
  25. Jan 10, 2021
  26. Oct 06, 2020
  27. Aug 29, 2020
  28. May 09, 2020
  29. Apr 27, 2020
  30. Apr 26, 2020
  31. Apr 25, 2020
Loading