Skip to content
Snippets Groups Projects
  1. Mar 21, 2022
    • Sven Eckelmann's avatar
      ath79-generic: Add support for OpenMesh OM2P-HS v4 · 03d894f3
      Sven Eckelmann authored
      Device specifications:
      ======================
      
      * Qualcomm/Atheros QCA9533 v2
      * 650/600/217 MHz (CPU/DDR/AHB)
      * 64 MB of RAM
      * 16 MB of SPI NOR flash
        - 2x 7 MB available; but one of the 7 MB regions is the recovery image
      * 2x 10/100 Mbps Ethernet
      * 2T2R 2.4 GHz Wi-Fi
      * 6x GPIO-LEDs (3x wifi, 2x ethernet, 1x power)
      * 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 fast ethernet
        - eth0
          + 24V passive POE (mode B)
          + used as WAN interface
        - eth1
          + 802.3af POE
          + builtin switch port 1
          + used as LAN interface
      * 12-24V 1A DC
      * 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
      
      Gluon image name change
      =======================
      
      The device had the image name "openmesh-om2phsv4" in older versions of Gluon.
      This had to be changed with the new name in the device trees of the ath79
      device tree.
      03d894f3
    • Sven Eckelmann's avatar
      ath79-generic: add support for OpenMesh OM2P-HS v3 · eed91a9b
      Sven Eckelmann authored
      Device specifications:
      ======================
      
      * Qualcomm/Atheros AR9341 rev 1
      * 535/400/200 MHz (CPU/DDR/AHB)
      * 64 MB of RAM
      * 16 MB of SPI NOR flash
        - 2x 7 MB available; but one of the 7 MB regions is the recovery image
      * 2x 10/100 Mbps Ethernet
      * 2T2R 2.4 GHz Wi-Fi
      * 6x GPIO-LEDs (3x wifi, 2x ethernet, 1x power)
      * 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 fast ethernet
        - eth0
          + 802.3af POE
          + builtin switch port 1
          + used as LAN interface
        - eth1
          + 18-24V passive POE (mode B)
          + used as WAN interface
      * 12-24V 1A DC
      * 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
      
      Gluon image name change
      =======================
      
      The device had the image name "openmesh-om2phsv3" in older versions of Gluon.
      This had to be changed with the new name in the device trees of the ath79
      device tree.
      eed91a9b
    • Sven Eckelmann's avatar
      ath79-generic: add support for OpenMesh OM2P-HS v2 · ce324d11
      Sven Eckelmann authored
      Device specifications:
      ======================
      
      * Qualcomm/Atheros AR9341 rev 1
      * 535/400/200 MHz (CPU/DDR/AHB)
      * 64 MB of RAM
      * 16 MB of SPI NOR flash
        - 2x 7 MB available; but one of the 7 MB regions is the recovery image
      * 2x 10/100 Mbps Ethernet
      * 2T2R 2.4 GHz Wi-Fi
      * 6x GPIO-LEDs (3x wifi, 2x ethernet, 1x power)
      * 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 fast ethernet
        - eth0
          + 802.3af POE
          + builtin switch port 1
          + used as LAN interface
        - eth1
          + 18-24V passive POE (mode B)
          + used as WAN interface
      * 12-24V 1A DC
      * 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
      
      Gluon image name change
      =======================
      
      The device had the image name "openmesh-om2phsv2" in older versions of Gluon.
      This had to be changed with the new name in the device trees of the ath79
      device tree.
      ce324d11
    • Sven Eckelmann's avatar
      ath79-generic: add support for OpenMesh OM2P-HS v1 · 19026314
      Sven Eckelmann authored
      Device specifications:
      ======================
      
      * Qualcomm/Atheros AR9341 rev 1
      * 535/400/200 MHz (CPU/DDR/AHB)
      * 64 MB of RAM
      * 16 MB of SPI NOR flash
        - 2x 7 MB available; but one of the 7 MB regions is the recovery image
      * 2x 10/100 Mbps Ethernet
      * 2T2R 2.4 GHz Wi-Fi
      * 6x GPIO-LEDs (3x wifi, 2x ethernet, 1x power)
      * 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 fast ethernet
        - eth0
          + 802.3af POE
          + builtin switch port 1
          + used as LAN interface
        - eth1
          + 18-24V passive POE (mode B)
          + used as WAN interface
      * 12-24V 1A DC
      * 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
      
      Gluon image name change
      =======================
      
      The device had the image name "openmesh-om2phs" in older versions of Gluon.
      This had to be changed with the new name in the device trees of the ath79
      device tree.
      19026314
    • Sven Eckelmann's avatar
      ath79-generic: Add support for OpenMesh OM2P v4 · 0cca0f5e
      Sven Eckelmann authored
      Device specifications:
      ======================
      
      * Qualcomm/Atheros QCA9533 v2
      * 650/600/217 MHz (CPU/DDR/AHB)
      * 64 MB of RAM
      * 16 MB of SPI NOR flash
        - 2x 7 MB available; but one of the 7 MB regions is the recovery image
      * 2x 10/100 Mbps Ethernet
      * 1T1R 2.4 GHz Wi-Fi
      * 6x GPIO-LEDs (3x wifi, 2x ethernet, 1x power)
      * 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 fast ethernet
        - eth0
          + Label: Ethernet 1
          + 24V passive POE (mode B)
        - eth1
          + Label: Ethernet 2
          + 802.3af POE
          + builtin switch port 1
      * 12-24V 1A DC
      * external antenna
      
      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
      
      Gluon image name change
      =======================
      
      The device had the image name "openmesh-om2pv4" in older versions of Gluon.
      This had to be changed with the new name in the device trees of the ath79
      device tree.
      0cca0f5e
    • Sven Eckelmann's avatar
      ath79-generic: Add support for OpenMesh OM2P v2 · 5a64deec
      Sven Eckelmann authored
      Device specifications:
      ======================
      
      * Qualcomm/Atheros AR9330 rev 1
      * 400/400/200 MHz (CPU/DDR/AHB)
      * 64 MB of RAM
      * 16 MB of SPI NOR flash
        - 2x 7 MB available; but one of the 7 MB regions is the recovery image
      * 2x 10/100 Mbps Ethernet
      * 1T1R 2.4 GHz Wi-Fi
      * 6x GPIO-LEDs (3x wifi, 2x ethernet, 1x power)
      * 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 fast ethernet
        - eth0
          + builtin switch port 1
          + used as LAN interface
        - eth1
          + 18-24V passive POE (mode B)
          + used as WAN interface
      * 12-24V 1A DC
      * external antenna
      
      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
      
      Gluon image name change
      =======================
      
      The device had the image name "openmesh-om2pv2" in older versions of Gluon.
      This had to be changed with the new name in the device trees of the ath79
      device tree.
      5a64deec
    • Sven Eckelmann's avatar
      ath79-generic: Add support for OpenMesh OM2P v1 · 47eda6a5
      Sven Eckelmann authored
      Device specifications:
      ======================
      
      * Qualcomm/Atheros AR7240 rev 2
      * 350/350/175 MHz (CPU/DDR/AHB)
      * 32 MB of RAM
      * 16 MB of SPI NOR flash
        - 2x 7 MB available; but one of the 7 MB regions is the recovery image
      * 2x 10/100 Mbps Ethernet
      * 1T1R 2.4 GHz Wi-Fi
      * 6x GPIO-LEDs (3x wifi, 2x ethernet, 1x power)
      * 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 fast ethernet
        - eth0
          + 18-24V passive POE (mode B)
          + used as WAN interface
        - eth1
          + builtin switch port 4
          + used as LAN interface
      * 12-24V 1A DC
      * external antenna
      
      The device itself requires the mtdparts from the uboot arguments to
      properly boot the flashed image and to support dual-boot (primary +
      recovery image). Unfortunately, the name of the mtd device in mtdparts is
      still using the legacy name "ar7240-nor0" which must be supplied using the
      Linux-specfic DT parameter linux,mtd-name to overwrite the generic name
      "spi0.0".
      
      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
      
      Gluon image name change
      =======================
      
      The device had the image name "openmesh-om2p" in older versions of Gluon.
      This had to be changed with the new name in the device trees of the ath79
      device tree.
      47eda6a5
    • Sven Eckelmann's avatar
      ath79-generic: Add support for OpenMesh MR1750 v2 · bc71c915
      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)
      * 6x GPIO-LEDs (2x wifi, 2x status, 1x lan, 1x power)
      * 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)
      * 1x ethernet
        - AR8035 ethernet PHY (RGMII)
        - 10/100/1000 Mbps Ethernet
        - 802.3af POE
        - used as LAN interface
      * 12-24V 1A DC
      * 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
      
      Gluon image name change
      =======================
      
      The device had the image name "openmesh-mr1750v2" in older versions of Gluon.
      This had to be changed with the new name in the device trees of the ath79
      device tree.
      bc71c915
    • Sven Eckelmann's avatar
      ath79-generic: Add support for OpenMesh MR1750 v1 · 39750f19
      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)
      * 6x GPIO-LEDs (2x wifi, 2x status, 1x lan, 1x power)
      * 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)
      * 1x ethernet
        - AR8035 ethernet PHY (RGMII)
        - 10/100/1000 Mbps Ethernet
        - 802.3af POE
        - used as LAN interface
      * 12-24V 1A DC
      * 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
      
      Gluon image name change
      =======================
      
      The device had the image name "openmesh-mr1750" in older versions of Gluon.
      This had to be changed with the new name in the device trees of the ath79
      device tree.
      39750f19
    • Sven Eckelmann's avatar
      ath79-generic: Add support for OpenMesh MR900 v2 · 0de095fe
      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
      * 3T3R 5 GHz Wi-Fi
      * 6x GPIO-LEDs (2x wifi, 2x status, 1x lan, 1x power)
      * 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)
      * 1x ethernet
        - AR8035 ethernet PHY (RGMII)
        - 10/100/1000 Mbps Ethernet
        - 802.3af POE
        - used as LAN interface
      * 12-24V 1A DC
      * 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
      
      Gluon image name change
      =======================
      
      The device had the image name "openmesh-mr900v2" in older versions of Gluon.
      This had to be changed with the new name in the device trees of the ath79
      device tree.
      0de095fe
    • Sven Eckelmann's avatar
      ath79-generic: Add support for OpenMesh MR900 v1 · 9d794294
      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
      * 3T3R 5 GHz Wi-Fi
      * 6x GPIO-LEDs (2x wifi, 2x status, 1x lan, 1x power)
      * 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)
      * 1x ethernet
        - AR8035 ethernet PHY (RGMII)
        - 10/100/1000 Mbps Ethernet
        - 802.3af POE
        - used as LAN interface
      * 12-24V 1A DC
      * 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
      
      Gluon image name change
      =======================
      
      The device had the image name "openmesh-mr900" in older versions of Gluon.
      This had to be changed with the new name in the device trees of the ath79
      device tree.
      9d794294
    • Sven Eckelmann's avatar
      ath79-generic: Add support for OpenMesh MR600 v2 · dd7eac7e
      Sven Eckelmann authored
      Device specifications:
      ======================
      
      * Qualcomm/Atheros AR9344 rev 2
      * 560/450/225 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
      * 2T2R 2.4 GHz Wi-Fi
      * 2T2R 5 GHz Wi-Fi
      * 8x GPIO-LEDs (6x wifi, 1x wps, 1x power)
      * 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)
      * 1x ethernet
        - AR8035 ethernet PHY (RGMII)
        - 10/100/1000 Mbps Ethernet
        - 802.3af POE
        - used as LAN interface
      * 12-24V 1A DC
      * 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
      
      Gluon image name change
      =======================
      
      The device had the image name "openmesh-mr600v2" in older versions of Gluon.
      This had to be changed with the new name in the device trees of the ath79
      device tree.
      dd7eac7e
    • Sven Eckelmann's avatar
      ath79-generic: Add support for OpenMesh MR600 v1 · e2ccf753
      Sven Eckelmann authored
      Device specifications:
      ======================
      
      * Qualcomm/Atheros AR9344 rev 2
      * 560/450/225 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
      * 2T2R 2.4 GHz Wi-Fi
      * 2T2R 5 GHz Wi-Fi
      * 4x GPIO-LEDs (2x wifi, 1x wps, 1x power)
      * 1x GPIO-button (reset)
      * TTL pins are on board (arrow points to VCC, then follows: GND, TX, RX)
      * 1x ethernet
        - AR8035 ethernet PHY (RGMII)
        - 10/100/1000 Mbps Ethernet
        - 802.3af POE
        - used as LAN interface
      * 12-24V 1A DC
      * 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
      
      Gluon image name change
      =======================
      
      The device had the image name "openmesh-mr600" in older versions of Gluon.
      This had to be changed with the new name in the device trees of the ath79
      device tree.
      e2ccf753
    • Sven Eckelmann's avatar
      ath79-generic: Add support for OpenMesh A40 · 767b4123
      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
      * 2T2R 2.4 GHz Wi-Fi (11n)
      * 2T2R 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
          + AR8035 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
      767b4123
    • 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. Feb 22, 2022
  4. Feb 20, 2022
  5. Feb 13, 2022
    • Matthias Schiffer's avatar
      gluon-web-osm: update OpenLayers default URL to 5.3.0 · 62b24ed7
      Matthias Schiffer authored
      The OpenLayers JS/CSS download URL is dead. Update it to make the map
      work again:
      
      - Update from OpenLayers 5.2.0 to 5.3.0
      - Switch from the obsolete rawgit.com URL to jsdelivr.net (rawgit.com
        was only redirecting to jsdelivr.net for the last few years anyways)
      - Set a fixed commit in the URL, so the URL doesn't become outdated again
      62b24ed7
  6. Feb 08, 2022
    • Matthias Schiffer's avatar
      docs: update Mesh VPN documentation · a8c76762
      Matthias Schiffer authored
      
      - Restructure page
      - Add information on how to add L2TPv3 offloading support to a build
        using configurable ciphers. The null method is not reocmmended anymore.
      - Add notes and pointers regarding the gateway configuration to provide
        gateway admins with hints on how to modify their configuration to
        accommodate this new feature.
      - Mention wireguard support
      
      Based-on-patch-by: default avatarFelix Kaechele <felix@kaechele.ca>
      a8c76762
  7. Jan 14, 2022
  8. Dec 31, 2021
  9. Dec 24, 2021
  10. Dec 21, 2021
    • Martin Weinelt's avatar
      Add helper to run a containerized build environment (#2292) · 6728c4a1
      Martin Weinelt authored
      Using `make container` or, if you don't have automake/gmake on your host
      system, `./scripts/container.sh` will build an image for the current
      branch your are on and drop you into a shell running inside a container
      using that image.
      
      From there all tooling required to work on Gluon is available.
      
      Supports both podman (preferred) and docker.
      6728c4a1
  11. Dec 18, 2021
  12. Oct 31, 2021
  13. Oct 07, 2021
  14. 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
  15. Sep 06, 2021
  16. Sep 04, 2021
  17. 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
  18. Aug 28, 2021
  19. Aug 27, 2021
  20. Aug 14, 2021
  21. Aug 12, 2021
Loading