Skip to content
Snippets Groups Projects
  1. Dec 31, 2021
  2. Dec 24, 2021
  3. 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.
      Unverified
      6728c4a1
  4. Dec 18, 2021
  5. Oct 31, 2021
  6. Oct 07, 2021
  7. 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
  8. Sep 06, 2021
  9. Sep 04, 2021
  10. 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)
      Unverified
      a492e629
  11. Aug 28, 2021
  12. Aug 27, 2021
  13. Aug 14, 2021
  14. Aug 12, 2021
  15. Aug 11, 2021
  16. Aug 10, 2021
  17. Aug 08, 2021
  18. Jul 30, 2021
  19. 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.
      Unverified
      9fb00d13
  20. Jul 23, 2021
    • lemoer's avatar
      contrib: add push_pkg.sh to enhance package development workflow (v2) (#2023) · d4dee692
      lemoer authored
      v2: In contrast to the last patches, this is now built on top of ssh
          only, without using e.g. 9pfs. Furthermore it works also with
          arbitary remote hosts on any target/architecture. Also the
          scripts were renamed and moved to /scripts.
      
      The aim of this commit is to allow fast rebuild cycles during the
      development of gluon packages.
      
      Currently the following workflow can be used:
      
      	# start a local qemu instance
      	scripts/run_qemu.sh output/images/factory/[...].img
      
      	# do your changes in the file you want to patch
      	vi package/gluon-ebtables/files/etc/init.d/gluon-ebtables
      
      	# rebuild and update the package
      	scripts/push_pkg.sh package/gluon-ebtables/
      
      	# test your changes
      	...
      
      	# do more changes
      	...
      
      	# rebuild and update the package
      	scripts/push_pkg.sh package/gluon-ebtables/
      
      	# test your changes
      	...
      
      	(and so on...)
      
      Implementation details:
      - Currently this is based on ssh/scp.
      - Opkg is used to install/update the packages in the remote machine.
      
      Benefits:
      - This works with compiled and non-compiled packages.
      - This works with native OpenWrt and Gluon packages.
      - This even performs the check_site.lua checks as they are integrated
        as post_install scripts into the openwrt package.
      - It works for all architectures/targets.
      Unverified
      d4dee692
  21. Jul 18, 2021
  22. 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
  23. Jul 06, 2021
  24. 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
  25. Jun 28, 2021
  26. Jun 26, 2021
  27. Jun 21, 2021
  28. Jun 15, 2021
Loading