Skip to content
Snippets Groups Projects
  1. Mar 01, 2022
  2. Feb 28, 2022
  3. Feb 27, 2022
    • Piotr Dymacz's avatar
      ath79: add support for TP-Link Archer A9 v6 · 9c335acc
      Piotr Dymacz authored
      TP-Link Archer A9 v6 (FCCID: TE7A9V6) is an AC1900 Wave-2 gigabit home
      router based on a combination of Qualcomm QCN5502 (most likely a 4x4:4
      version of the QCA9563 WiSOC), QCA9984 and QCA8337N.
      
      The vendor's firmware content reveals that the same device might be
      available on the US market under name 'Archer C90 v6'. Due to lack of
      access to such hardware, support introduced in this commit was tested
      only on the EU version (sold under 'Archer A9 v6' name).
      
      Based on the information on the PL version of the vendor website, this
      device has been already phased out and is no longer available.
      
      Specifications:
      
      - Qualcomm QCN5502 (775 MHz)
      - 128 MB of RAM (DDR2)
      - 16 MB of flash (SPI NOR)
      - 5x Gbps Ethernet (Qualcomm QCA8337N over SGMII)
      - Wi-Fi:
        - 802.11b/g/n on 2.4 GHz: Qualcomm QCN5502* in 4x4:4 mode
        - 802.11a/n/ac on 5 GHz: Qualcomm QCA9984 in 3x3:3 mode
        - 3x non-detachable, dual-band external antennas (~3.5 dBi for 5 GHz,
          ~2.2 dBi for 2.4 GHz, IPEX/U.FL connectors)
        - 1x internal PCB antenna for 2.4 GHz (~1.8 dBi)
      - 1x USB 2.0 Type-A
      - 11x LED (4x connected to QCA8337N, 7x connected to QCN5502)
      - 2x button (reset, WPS)
      - UART (4-pin, 2.54 mm pitch) header on PCB (not populated)
      - 1x mechanical power switch
      - 1x DC jack (12 V)
      
        *) unsupported due to missing support for QCN550x in ath9k
      
      UART system serial console notice:
      
      The RX signal of the main SOC's UART on this device is shared with the
      WPS button's GPIO. The first-stage U-Boot by default disables the RX,
      resulting in a non-functional UART input.
      If you press and keep 'ENTER' on the serial console during early
      boot-up, the first-stage U-Boot will enable RX input.
      
      Vendor firmware allows password-less access to the system over serial.
      
      Flash instruction (vendor GUI):
      
      1. It is recommended to first upgrade vendor firmware to the latest
         version (1.1.1 Build 20210315 rel.40637 at the time of writing).
      2. Use the 'factory' image directly in the vendor's GUI.
      
      Flash instruction (TFTP based recovery in second-stage U-Boot):
      
      1. Rename 'factory' image to 'ArcherA9v6_tp_recovery.bin'
      2. Setup a TFTP server on your PC with IP 192.168.0.66/24.
      3. Press and hold the reset button for ~5 sec while turning on power.
      4. The device will download image, flash it and reboot.
      
      Flash instruction (web based recovery in first-stage U-Boot):
      
      1. Use 'CTRL+C' during power-up to enable CLI in first-stage U-Boot.
      2. Connect a PC with IP set to 192.168.0.1 to one of the LAN ports.
      3. Issue 'httpd' command and visit http://192.168.0.1
      
       in browser.
      4. Use the 'factory' image.
      
      If you would like to restore vendor's firmware, follow one of the
      recovery methods described above.
      
      Signed-off-by: default avatarPiotr Dymacz <pepe2k@gmail.com>
      9c335acc
    • Piotr Dymacz's avatar
    • Piotr Dymacz's avatar
      ath79: add support for ALFA Network Tube-2HQ · 131671bc
      Piotr Dymacz authored
      
      ALFA Network Tube-2HQ is a successor of the Tube-2H/P series (EOL) which
      was based on the Atheros AR9331. The new version uses Qualcomm QCA9531.
      
      Specifications:
      
      - Qualcomm/Atheros QCA9531 v2
      - 650/400/200 MHz (CPU/DDR/AHB)
      - 64 or 128 MB of RAM (DDR2)
      - 16+ MB of flash (SPI NOR)
      - 1x 10/100 Mbps Ethernet with passive PoE input (24 V)
        (802.3at/af PoE support with optional module)
      - 1T1R 2.4 GHz Wi-Fi with external PA (SE2623L, up to 27 dBm) and LNA
      - 1x Type-N (male) antenna connector
      - 6x LED (5x driven by GPIO)
      - 1x button (reset)
      - external h/w watchdog (EM6324QYSP5B, enabled by default)
      - UART (4-pin, 2.00 mm pitch) header on PCB
      
      Flash instruction:
      
      You can use sysupgrade image directly in vendor firmware which is based
      on LEDE/OpenWrt. Alternatively, you can use web recovery mode in U-Boot:
      
      1. Configure PC with static IP 192.168.1.2/24.
      2. Connect PC with one of RJ45 ports, press the reset button, power up
         device, wait for first blink of all LEDs (indicates network setup),
         then keep button for 3 following blinks and release it.
      3. Open 192.168.1.1 address in your browser and upload sysupgrade image.
      
      Signed-off-by: default avatarPiotr Dymacz <pepe2k@gmail.com>
      131671bc
    • Piotr Dymacz's avatar
      ath79: utilize ath9k 'nvmem-cells' on ALFA Network boards · 53ac6ee5
      Piotr Dymacz authored
      
      Drop custom 'mtd-cal-data' and switch to 'nvmem-cells' based solution
      for fetching radio calibration data and its MAC address.
      
      Signed-off-by: default avatarPiotr Dymacz <pepe2k@gmail.com>
      53ac6ee5
    • Piotr Dymacz's avatar
      ath79: reduce 'nvmem-cells' definitions on ALFA Network QCA9531 boards · f645bacd
      Piotr Dymacz authored
      
      All the QCA9531 based boards from ALFA Network are based on the same
      design and share a common DTSI: 'qca9531_alfa-network_r36a.dtsi'.
      
      Instead of defining 'nvmem-cells' for the MAC address in every device's
      DTS, move definition to the common DTSI file.
      
      Signed-off-by: default avatarPiotr Dymacz <pepe2k@gmail.com>
      f645bacd
Loading