Skip to content
Snippets Groups Projects
Select Git revision
  • bc71c915d270bb8c455e0f800c62efc05961a12d
  • experimental default protected
  • v2023.2.5-ffs
  • nrb/ex400-remove-wps
  • nrb/airmax-test
  • v2023.2.4-ffs
  • nrb/ar9344-reset-sequence
  • autinerd/experimental-openwrt-24.10
  • v2023.2.3-ffs
  • v2023.2.2-ffs
  • v2023.2-ffs
  • v2023.1-ffs
  • v2022.1.4-ffs
  • feature/addMikrotikwAP
  • v2022.1.3-ffs
  • v2021.1.2-ffs
  • v2022.1.1-ffs
  • master protected
  • v2021.1.1-ffs
  • nrb/gluon-master-cpe510
  • v2021.1-ffs
  • experimental-2025-07-04
  • experimental-2025-07-04-base
  • experimental-2025-07-01
  • experimental-2025-07-01-base
  • experimental-2025-06-25
  • experimental-2025-06-25-base
  • experimental-2025-06-24
  • experimental-2025-06-24-base
  • experimental-2025-06-22
  • experimental-2025-06-22-base
  • v2023.2.5-ffs0.1
  • experimental-2025-06-08
  • experimental-2025-06-08-base
  • experimental-2025-06-06
  • experimental-2025-06-06-base
  • experimental-2025-05-27
  • experimental-2025-05-27-base
  • experimental-2025-05-18
  • experimental-2025-05-18-base
  • experimental-2025-05-15
41 results

ath79-generic

Blame
    • Sven Eckelmann's avatar
      bc71c915
      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
      History
      ath79-generic: Add support for OpenMesh MR1750 v2
      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.
    Makefile 15.78 KiB
    all:
    
    LC_ALL:=C
    LANG:=C
    export LC_ALL LANG
    
    empty:=
    space:= $(empty) $(empty)
    
    GLUONMAKE_EARLY = $(SUBMAKE) -C $(GLUON_ORIGOPENWRTDIR) -f $(GLUONDIR)/Makefile GLUON_TOOLS=0 QUILT=
    GLUONMAKE = $(SUBMAKE) -C $(GLUON_OPENWRTDIR) -f $(GLUONDIR)/Makefile
    
    ifneq ($(OPENWRT_BUILD),1)
    
    GLUONDIR:=${CURDIR}
    
    include $(GLUONDIR)/include/gluon.mk
    
    TOPDIR:=$(GLUON_ORIGOPENWRTDIR)
    export TOPDIR
    
    
    update: FORCE
    	$(GLUONDIR)/scripts/update.sh
    	$(GLUONDIR)/scripts/patch.sh
    
    patch: FORCE
    	$(GLUONDIR)/scripts/patch.sh
    
    unpatch: FORCE
    	$(GLUONDIR)/scripts/unpatch.sh
    
    update-patches: FORCE
    	$(GLUONDIR)/scripts/update.sh
    	$(GLUONDIR)/scripts/update-patches.sh
    	$(GLUONDIR)/scripts/patch.sh
    
    -include $(TOPDIR)/include/host.mk
    
    _SINGLE=export MAKEFLAGS=$(space);
    
    override OPENWRT_BUILD=1
    override GLUON_TOOLS=1
    GREP_OPTIONS=
    export OPENWRT_BUILD GLUON_TOOLS GREP_OPTIONS
    
    -include $(TOPDIR)/include/debug.mk
    -include $(TOPDIR)/include/depends.mk
    include $(GLUONDIR)/include/toplevel.mk
    
    
    include $(GLUONDIR)/targets/targets.mk
    
    
    CheckTarget := [ -n '$(GLUON_TARGET)' -a -n '$(GLUON_TARGET_$(GLUON_TARGET)_BOARD)' ] \
    	|| (echo -e 'Please set GLUON_TARGET to a valid target. Gluon supports the following targets:$(subst $(space),\n * ,$(GLUON_TARGETS))'; false)
    
    
    CheckExternal := test -d $(GLUON_ORIGOPENWRTDIR) || (echo 'You don'"'"'t seem to have obtained the external repositories needed by Gluon; please call `make update` first!'; false)
    
    
    create-key: FORCE
    	@$(CheckExternal)
    	+@$(GLUONMAKE_EARLY) create-key
    
    prepare-target: FORCE
    	@$(CheckExternal)
    	@$(CheckTarget)
    	+@$(GLUONMAKE_EARLY) prepare-target