Skip to content
Snippets Groups Projects
  1. Feb 22, 2020
  2. Feb 21, 2020
    • Daniel Golle's avatar
      ath79: add support for Teltonika RUT955 · d1130ad2
      Daniel Golle authored
      
      Specification:
      
      - 550/400/200 MHz (CPU/DDR/AHB)
      - 128 MB of RAM (DDR2)
      - 16 MB of FLASH (SPI NOR)
      - 4x 10/100 Mbps Ethernet, with passive PoE support on LAN1
      - 2T2R 2,4 GHz (AR9344)
      - built-in 4G/3G module (example: Quectel EC-25EU)
      - internal microSD slot (spi-mmc, buggy and disabled for now)
      - RS232 on D-Sub9 port (Cypress ACM via USB, /dev/ttyACM0)
      - RS422/RS485 (AR934x high speed UART, /dev/ttyATH1)
      - analog 0-24V input (MCP3221)
      - various digital inputs and outputs incl. a relay
      - 11x LED (4 are driven by AR9344, 7 by 74HC595)
      - 2x miniSIM slot (can be swapped via GPIO)
      - 2x RP-SMA/F (Wi-Fi), 3x SMA/F (2x WWAN, GPS)
      - 1x button (reset)
      - DC jack for main power input (9-30 V)
      - debugging UART available on PCB edge connector
      
      Serial console (/dev/ttyS0) pinout:
      
      - RX: pin1 (square) on top side of the main PCB (AR9344 is on top)
      - TX: pin1 (square) on bottom side
      
      Flash instruction:
      
      Vendor firmware is based on OpenWrt CC release. Use the "factory" image
      directly in GUI (make sure to uncheck "keep settings") or in U-Boot web
      based recovery. To avoid any problems, make sure to first update vendor
      firmware to latest version - "factory" image was successfully tested on
      device running "RUT9XX_R_00.06.051" firmware and U-Boot "3.0.2".
      
      Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
      d1130ad2
    • Daniel Golle's avatar
      serial: ar933x_uart: add rs485 support · e5e461b6
      Daniel Golle authored
      
      Add support for RS485 tranceiver with transmit/receive switch hooked
      to a RTS GPIO pin.
      Use the 'rts-gpios' and 'rs485-rts-active-low' properties as described
      in devicetree/bindings/serial/rs485.yaml.
      
      Signed-off-by: default avatarDaniel Golle <daniel@makrotopia.org>
      e5e461b6
    • Adrian Schmutzler's avatar
      ath79: add support for TP-Link TL-WA701ND/730RE/801ND/901ND v1 · 2f1cc5c3
      Adrian Schmutzler authored
      
      This adds support for the various clones of the TL-WA830RE recently
      supported in fb99ac68 ("ath79: add support for TP-Link TL-WA830RE v1"):
      
      - tplink,tl-wa701nd-v1
      - tplink,tl-wa730re-v1
      - tplink,tl-wa801nd-v1
      - tplink,tl-wa830re-v1 (already supported)
      - tplink,tl-wa901nd-v1
      
      Since these devices are 100%-clones in ar71xx, this patch adds all
      of them without run-testing (as this has been done for TL-WA830RE v1).
      
      Specifications:
      - SOC: Atheros AR7240
      - CPU: 400MHz
      - Flash: 4 MiB (Spansion S25FL032P)
      - RAM: 32 MiB (Zentel A3S56D40FTP-G5)
      - WLAN: Atheros AR9280 bgn 2x2
      - Ethernet: 1 port (100M)
      
      Flash instructions:
      - install from u-boot with tftp (requires serial access)
        > setenv ipaddr a.b.c.d
        > setenv serverip e.f.g.h
        > tftpboot 0x80000000 \
            openwrt-ath79-tiny-tplink_tl-waxxxxx-v1-squashfs-factory.bin
        > erase 0x9f020000 +0x3c0000
        > cp.b 0x80000000 0x9f020000 0x3c0000
        > bootm 0x9f020000
      - flash factory image from OEM WebUI
      - sysupgrade from ar71xx image
      
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      2f1cc5c3
    • DENG Qingfang's avatar
      ramips: fix HiWiFi HC5761A USB port · 1df4f5cf
      DENG Qingfang authored
      
      Export GPIO 41 to power USB port
      
      Signed-off-by: default avatarDENG Qingfang <dengqf6@mail2.sysu.edu.cn>
      1df4f5cf
  3. Feb 20, 2020
  4. Feb 19, 2020
    • Adrian Schmutzler's avatar
      ath79: add label MAC address for Ubiquiti Picostation M (XM) · 060b58fd
      Adrian Schmutzler authored
      
      This adds the label MAC address for the Ubiquiti Picostation M (XM).
      This was overlooked when adding support in the previous patch.
      
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      060b58fd
    • Adrian Schmutzler's avatar
      ath79: add support for Ubiquiti Picostation M (XM) · 6fdaf16d
      Adrian Schmutzler authored
      
      This adds support for the Ubiquiti Picostation M (XM), which has the
      same board/LEDs as the Bullet M XM, but different case and antennas.
      
      Specifications:
      - AR7241 SoC @ 400 MHz
      - 32 MB RAM
      - 8 MB SPI flash
      - 1x 10/100 Mbps Ethernet, 24 Vdc PoE-in
      - External antenna: 5 dBi (USA), 2 dBi (EU)
      - POWER/LAN green LEDs
      - 4x RSSI LEDs (red, orange, green, green)
      - UART (115200 8N1) on PCB
      
      Flashing via WebUI:
        Upload the factory image via the stock firmware web UI.
      
        Attention: airOS firmware versions >= 5.6 have a new bootloader with
        an incompatible partition table!
      
        Please downgrade to <= 5.5 _before_ flashing OpenWrt!
        Refer to the device's Wiki page for further information.
      
      Flashing via TFTP:
        Same procedure as other NanoStation M boards.
      
      - Use a pointy tool (e.g., pen cap, paper clip) and keep the reset
        button on the device or on the PoE supply pressed
      - Power on the device via PoE (keep reset button pressed)
      - Keep pressing until LEDs flash alternatively LED1+LED3 =>
        LED2+LED4 => LED1+LED3, etc.
      - Release reset button
      - The device starts a TFTP server at 192.168.1.20
      - Set a static IP on the computer (e.g., 192.168.1.21/24)
      - Upload via tftp the factory image:
        $ tftp 192.168.1.20
        tftp> bin
        tftp> trace
        tftp> put openwrt-ath79-generic-xxxxx-ubnt_picostation-m-squashfs-factory.bin
      
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      6fdaf16d
    • Sven Roederer's avatar
      ath79: add support for Ubiquiti Nanostation Loco M (XM) · b56bcfe3
      Sven Roederer authored
      
      This adds support for the Ubiquiti Nanostation Loco M (XM), which
      has the same board/LEDs as the Bullet M XM, but different case and
      antennas.
      
      Specifications:
      - AR7241 SoC @ 400 MHz
      - 32 MB RAM
      - 8 MB SPI flash
      - 1x 10/100 Mbps Ethernet, 24 Vdc PoE-in
      - NS Loco M2: built-in antenna: 8 dBi; AR9287
      - NS Loco M5: built-in antenna: 13 dBi; 2T2R 5 GHz radio
      - POWER/LAN green LEDs
      - 4x RSSI LEDs (red, orange, green, green)
      - UART (115200 8N1) on PCB
      
      Flashing via WebUI:
        Upload the factory image via the stock firmware web UI.
        Note that only certain firmware versions accept unsigned
        images. Refer to the device's Wiki page for further information.
      
      Flashing via TFTP:
        Same procedure as other NanoStation M boards.
      
      - Use a pointy tool (e.g., pen cap, paper clip) and keep the reset
        button on the device or on the PoE supply pressed
      - Power on the device via PoE (keep reset button pressed)
      - Keep pressing until LEDs flash alternatively LED1+LED3 =>
        LED2+LED4 => LED1+LED3, etc.
      - Release reset button
      - The device starts a TFTP server at 192.168.1.20
      - Set a static IP on the computer (e.g., 192.168.1.21/24)
      - Upload via tftp the factory image:
        $ tftp 192.168.1.20
        tftp> bin
        tftp> trace
        tftp> put openwrt-ath79-generic-xxxxx-ubnt_nanostation-loco-m-squashfs-factory.bin
      
      Tested on NanoStation Loco M2.
      
      Signed-off-by: default avatarSven Roederer <freifunk@it-solutions.geroedel.de>
      Co-developed-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      b56bcfe3
    • Adrian Schmutzler's avatar
      ath79: move TPLINK_HWID/_HWREV to parent for tplink-safeloader · 98fbf2ed
      Adrian Schmutzler authored
      
      Several devices with tplink-safeloader contain default values (0x0)
      for TPLINK_HWID and TPLINK_HWREV in their device definitions.
      Move those to common tplink-safeloader definition so they do not
      have to be repeated each time.
      
      While at it, set default value for tplink-v1 and tplink-v2 as well.
      
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      98fbf2ed
    • Felix Fietkau's avatar
      mt76: update to the latest version · 69a9a083
      Felix Fietkau authored
      
      bd0df1b017a8 mt76: avoid extra RCU synchronization on station removal
      d5a5e97b67c7 mt76: mt76x2: avoid starting the MAC too early
      a67e42990d8a mt76: mt7615: fix msdu_id endianness in mt7615_write_hw_txp
      d3af8bd3c722 mt76: mt7615: set proper length in strncmp
      9c43417db17c mt76: mt7615: fix max_nss in mt7615_eeprom_parse_hw_cap
      764e1d208a06 mt76: mt7615: fix tx power reporting
      1881241c7ee5 mt76: fix rounding issues on converting per-chain and combined txpower
      fa14e7f33199 mt76: mt7615: rework rx phy index handling
      a205ce3e3e2d mt76: mt7615: fix ext_phy flag for stations
      457a93203690 mt76: mt7615: fix MT_TX_HW_QUEUE_EXT_PHY to deal with mac80211 changes
      c75cf513c674 mt76: do not set HOST_BROADCAST_PS_BUFFERING for mt7615
      cc56c400167c mt76: fix LED link time failure
      4dbd56b86970 mt76: mt76x0u: add support to TP-Link T2UHP
      e226309c4bc4 mt76: mt7615: rely on mt76_queues_read for mt7622
      c6a025318075 mt76: mt76u: extend RX scatter gather number
      dfc24bc504e3 mt76: mt76u: rename stat_wq in wq
      2bbffd2cb37b mt76: mt7615: remove rx_mask in mt7615_eeprom_parse_hw_cap
      f408a2b7566c mt76: Introduce mt76_mcu data structure
      17ecf0762542 mt76: mt76x02: fix handling MCU timeouts during hw restart
      284e9fd72912 mt76: mt7615: fix monitor injection of beacon frames
      8f8e9161b355 mt76: fix array overflow on receiving too many fragments for a packet
      
      Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
      69a9a083
    • Eneas U de Queiroz's avatar
      kernel: avoid underscore in *6lowpan package names · 07e1d88d
      Eneas U de Queiroz authored
      
      Packages kmod-bluetooth_6lowpan and kmod-ieee802154_6lowpan contain an
      underscore in the package name.  This causes problems in package/install
      because when building a list of package files to install offline using
      opkg, it uses a wildcard of the form $(dir)/$(pkg)_*.ipk.
      
      If you were to select kmod-bluetooth=y, but kmod-bluetooth_6lowpan=m,
      the latter would be picked up by that wildcard, and make package/install
      would fail:
      
      Collected errors:
       * satisfy_dependencies_for: Cannot satisfy the following dependencies
       * for kmod-bluetooth_6lowpan:
       *      kmod-6lowpan
       * opkg_install_cmd: Cannot install package kmod-bluetooth_6lowpan.
      
      Changing the wildcard pattern is not trivial, and there may be other
      places in the build system making this assumption about the package name
      format.
      
      Using a dash in place of the underscore avoids the issue.
      
      Signed-off-by: default avatarEneas U de Queiroz <cotequeiroz@gmail.com>
      07e1d88d
    • Russell Senior's avatar
      dnsmasq: fix uci-defaults script to exit 0 so it is cleaned up · 731f7ea4
      Russell Senior authored
      
      A file, package/network/services/dnsmasq/files/50-dnsmasq-migrate-resolv-conf-auto.sh,
      was added in commit 6a285521, but it
      does not exit in a way that tells the uci-defaults mechanism that it
      succeeded, and so it is not cleaned up after running successfully. Add
      an exit 0 to the end to correct that.
      
      Signed-off-by: default avatarRussell Senior <russell@personaltelco.net>
      731f7ea4
    • Daniel Engberg's avatar
      tools/bison: Update to 3.5.1 · b0a3f1e8
      Daniel Engberg authored
      
      Update bison to 3.5.1
      Use POSIX threads as the previous option is no longer valid
      Disable NLS support to be consistent with other tools such as e2fsprogs and sed
      
      Signed-off-by: default avatarDaniel Engberg <daniel.engberg.lists@pyret.net>
      b0a3f1e8
  5. Feb 18, 2020
Loading