Skip to content
Snippets Groups Projects
  1. Mar 28, 2017
  2. Mar 27, 2017
  3. Mar 26, 2017
  4. Mar 25, 2017
  5. Mar 24, 2017
  6. Mar 23, 2017
    • Piotr Dymacz's avatar
      ar71xx: image: fix indentation · 597c9f0b
      Piotr Dymacz authored
      
      Signed-off-by: default avatarPiotr Dymacz <pepe2k@gmail.com>
      597c9f0b
    • Piotr Dymacz's avatar
      ar71xx: add support for P&W R602N and CPE505N · 4436979c
      Piotr Dymacz authored
      
      P&W (full name: Shenzhen Progress&Win Technologies) R602N (could be also
      labeled as R602F, R602, etc.) is a simple N300 router with 5-port
      10/100 Mbps switch, non-detachable antennas and USB.
      
      CPE505 is an outdoor CPE with PoE support and detachable antennas.
      
      Both devices are based on Qualcomm/Atheros QCA9531 v2.
      
      Common specification:
      
      - 650/597/216 MHz (CPU/DDR/AHB)
      - 64 MB of RAM (DDR2)
      - 16 MB of FLASH
      - UART (J2) header on PCB
      
      R602N specification:
      
      - 5x 10/100 Mbps Ethernet
      - 1x USB 2.0
      - 2T2R 2.4 GHz with external LNA and PA (SE2576L), up to 28 dBm
      - 2x external, non-detachable antennas
      - 7x LED, 1x button
      
      CPE505N specification:
      
      - 2x 10/100 Mbps Ethernet (both ports support passive PoE 12-24 V)
      - 2T2R 2.4 GHz with external LNA and PA (SKY65174-21), up to 30 dBm
      - 2x external, detachable antennas (RP-SMA connectors)
      - 1x RGB LED, 2x LEDs (in RJ45 sockets), 1x button
      
      Flash instructions:
      
      It seems that there are many different versions of the firmware which
      these devices are shipped with. The generic/standard one is based on
      some modified OpenWrt and LEDE firmware can be flashed directly from
      vendor's webgui or with sysupgrade (root password is "admin123").
      
      Before flashing, make sure (use "fw_printenv") that the kernel load
      address in your device is set to "0x9f050000" (bootcmd variable is
      "bootm 0x9f050000"). If your device uses different load address, you
      should first change it, under vendor's firmware, with command:
      
      fw_setenv bootcmd "bootm 0x9f050000 || bootm OLD_ADDRESS"
      
      Where OLD_ADDRESS is previous kernel load address (in CPE505 version
      I got access to, it was "0x9fe80000"). This will allow you to use
      both the vendor's and LEDE firmware.
      
      If version of your device contains empty U-Boot environment (you will
      get information about this after issuing "fw_printenv"), you should
      use U-Boot, serial line access and TFTP to perform firmware upgrade:
      
      1. tftp 0x80060000 lede-ar71xx-generic-...-squashfs-sysupgrade.bin
      2. erase 0x9f050000 +$filesize
      3. cp.b $fileaddr 0x9f050000 $filesize
      4. setenv bootcmd "bootm 0x9f050000 || bootm OLD_ADDRESS"
      5. saveenv && reset
      
      These devices contain also web recovery mode inside U-Boot. It can be
      started with pressing the reset button for around 3 seconds just after
      the device powerup. Web recovery panel is available on "192.168.10.9"
      and to be able to use it, IP on your PC must be set to "192.168.10.10".
      
      Make sure to change kernel load address before using recovery mode or
      the U-Boot will not be able to load LEDE firmware.
      
      Signed-off-by: default avatarPiotr Dymacz <pepe2k@gmail.com>
      4436979c
    • Vaclav Svoboda's avatar
      ar71xx: add support for TP-LINK TL-WR840N v2 and v3 · 0d9adb48
      Vaclav Svoboda authored
      
      This patch adds support for the TP-LINK TL-WR840N v2 and v3.
      
      - SoC: Qualcomm QCA9533-BL3A (650 MHz)
      - RAM: 32 MiB (Zentel A3S56D40GTP)
      - Flash: 4 MiB
         (v2: Macronix MX 25L323F)
         (v3: Winbond 25Q32FVSIG)
      - LAN: 4x 100M
      - WAN: 1x 100M
      
      Signed-off-by: default avatarVaclav Svoboda <svoboda@neng.cz>
      0d9adb48
    • Ryan Mounce's avatar
      ar71xx: add support for MikroTik hAP ac · 97899862
      Ryan Mounce authored
      
      This patch adds initial support for the MikroTik RouterBOARD hAP ac
      (RB962UiGS-5HacT2HnT).
      
      All functions are supported except:
      -SFP cage (eth1) is not working
      -WLAN LEDs are not working
      
      Signed-off-by: default avatarRyan Mounce <ryan@mounce.com.au>
      97899862
    • Ryan Mounce's avatar
      ar71xx: add support for MikroTik hAP ac lite · 540edf70
      Ryan Mounce authored
      
      This patch adds support for the MikroTik RouterBOARD hAP ac lite
      (RB952Ui-5ac2nD).
      
      The hAP ac lite is nearly identical to the hAP, with an added QCA9887
      5GHz radio. The 2.4GHz radio ID is also changed in the hAP ac lite.
      
      Signed-off-by: default avatarRyan Mounce <ryan@mounce.com.au>
      540edf70
    • John Crispin's avatar
      ramips: fix mt7621 boot on v4.9 · dce3b005
      John Crispin authored
      
      v4.9 CM code has a few bugs on this HW. Disable the GCR register access
      during boot. This caused a cpu stall.
      
      Signed-off-by: default avatarJohn Crispin <john@phrozen.org>
      dce3b005
    • John Crispin's avatar
      Revert "ipq806x: make the dwc3 driver and required phy drivers built-in" · 666bfc6f
      John Crispin authored
      
      This reverts commit d5b10bb5.
      
      This caused boot errors on some ipq8 boards
      
      Signed-off-by: default avatarJohn Crispin <john@phrozen.org>
      666bfc6f
  7. Mar 22, 2017
    • Hans Dedecker's avatar
      odhcp6c: update to git HEAD version · 4d5b5c82
      Hans Dedecker authored
      
      0463b05 dhcpv6: rebind capability support in reconfigure message (rfc6644)
      53767fc dhcpv6: respect renew end point when handling reconfigure message
      dd892e2 dhcpv6: calculate T1, T2 and T3 in a more sane manner
      8a6ca6e md5: use libubox md5 library as local implementation
      89822de dhcpv6: don't return renew msg in case of invalid msg type in reconfigure msg
      4160c0e treewide: align coding style
      
      Signed-off-by: default avatarHans Dedecker <dedeckeh@gmail.com>
      4d5b5c82
    • Felix Fietkau's avatar
      ath9k: fix power limits on init · 09ae540c
      Felix Fietkau authored
      
      The tx power applied by set_txpower is limited by the CTL (conformance
      test limit) entries in the EEPROM. These can change based on the user
      configured regulatory domain.
      Depending on the EEPROM data this can cause the tx power to become too
      limited, if the original regdomain CTLs impose lowr limits than the CTLs
      of the user configured regdomain.
      
      To fix this issue, set the initial channel limits without any CTL
      restrictions and only apply the CTL at run time when setting the channel
      and the real tx power.
      
      Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
      09ae540c
    • Felix Fietkau's avatar
      ath: do not apply broken power limits with ATH_USER_REGD · 79a768a9
      Felix Fietkau authored
      
      If a device uses the default EEPROM code, typically only the main CTLs
      are valid, and they do not apply properly when switching to a different
      regulatory domain. If the regdomain deviates from the EEPROM one, force
      the world roaming regdomain to ensure that power limits are sane
      
      Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
      79a768a9
Loading