Skip to content
Snippets Groups Projects
  1. Feb 08, 2020
  2. Feb 07, 2020
  3. Feb 06, 2020
  4. Feb 05, 2020
    • Jason A. Donenfeld's avatar
      wireguard: bump to 0.0.20200205 · 71de48bd
      Jason A. Donenfeld authored
      
      * compat: support building for RHEL-8.2
      * compat: remove RHEL-7.6 workaround
      
      Bleeding edge RHEL users should be content now (which includes the actual
      RedHat employees I've been talking to about getting this into the RHEL kernel
      itself). Also, we remove old hacks for versions we no longer support anyway.
      
      * allowedips: remove previously added list item when OOM fail
      * noise: reject peers with low order public keys
      
      With this now being upstream, we benefit from increased fuzzing coverage of
      the code, uncovering these two bugs.
      
      * netns: ensure non-addition of peers with failed precomputation
      * netns: tie socket waiting to target pid
      
      An added test to our test suite for the above and a small fix for high-load CI
      scenarios.
      
      Signed-off-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
      71de48bd
    • INAGAKI Hiroshi's avatar
      ramips: add support for I-O DATA WN-AX1167GR2 · 867db0a2
      INAGAKI Hiroshi authored
      I-O DATA WN-AX1167GR2 is a 2.4/5 GHz band 11ac router, based on MediaTek
      MT7621A.
      
      Specification:
      
      - SoC		: MediaTek MT7621A
      - RAM		: DDR3 128 MiB
      - Flash		: NAND 128 MiB
      - WLAN		: MediaTek MT7615D (2.4/5 GHz, 2T2R)
      - Ethernet	: 5x 10/100/1000 Mbps
        - Switch	: MediaTek MT7621A (MT7530)
      - LEDs/Input	: 2x/3x (2x buttons, 1x slide-switch)
      - UART		: through-hole on PCB
        - J5: Vcc, TX, RX, NC, GND
        - 57600 bps
      
      Flash instruction using initramfs image:
      
      1. Boot WN-AX1167GR2 normally
      2. Access to "http://192.168.0.1/
      
      " and open firmware update page
      ("ファームウェア")
      3. Select the OpenWrt initramfs image and click update ("更新")
      button to perform firmware update
      4. On the initramfs image, perform sysupgrade with squashfs-sysupgrade
      image
      5. Wait ~120 seconds to complete flashing
      
      Notes:
      
      - configuration in DeviceTree of DBDC (Dual-Band-Dual-Concurrent) mode
      for MT7615D chip is not supported in mt76 driver
      - last 0x80000 (512 KiB) in NAND flash is not used on stock firmware
      - stock firmware requires "customized uImage header" by MSTC
      (MitraStar Technology Corp.), but U-Boot doesn't
        - uImage magic (0x0 - 0x3) : 0x434F4D42 (COMB)
        - header crc32 (0x4 - 0x7) : with data length and data crc32
        - image name (0x20 - 0x37) : model ID and firmware versions
        - data length (0x38 - 0x3b): kernel + rootfs
        - data crc32 (0x3c - 0x3f) : kernel + rootfs
      
      Signed-off-by: default avatarINAGAKI Hiroshi <musashino.open@gmail.com>
      Reviewed-by: default avatarSungbo Eo <mans0n@gorani.run>
      867db0a2
    • INAGAKI Hiroshi's avatar
      ramips: add support for I-O DATA WN-DX1167R · 3c0e2aa6
      INAGAKI Hiroshi authored
      I-O DATA WN-DX1167R is a 2.4/5 GHz band 11ac rotuer, based on MediaTek
      MT7621A.
      
      Specification:
      
      - SoC		: MediaTek MT7621A
      - RAM		: DDR3 128 MiB
      - Flash		: NAND 128 MiB
      - WLAN		: MediaTek MT7615D (2.4/5 GHz, 2T2R)
      - Ethernet	: 5x 10/100/1000 Mbps
        - Switch	: MediaTek MT7621A (MT7530)
      - LEDs/Input	: 2x/3x (2x buttons, 1x slide-switch)
      - UART		: through-hole on PCB
        - J5: Vcc, TX, RX, NC, GND
        - 57600 bps
      
      Flash instruction using initramfs image:
      
      1. Boot WN-DX1167R normally
      2. Access to "http://192.168.0.1/
      
      " and open firmware update page
      ("ファームウェア")
      3. Select the OpenWrt initramfs image and click update ("更新")
      button to perform firmware update
      4. On the initramfs image, perform sysupgrade with squashfs-sysupgrade
      image
      5. Wait ~120 seconds to complete flashing
      
      Notes:
      
      - configuration in DeviceTree of DBDC (Dual-Band-Dual-Concurrent) mode
      for MT7615D chip is not supported in mt76 driver
      - last 0x80000 (512 KiB) in NAND flash is not used on stock firmware
      - stock firmware requires "customized uImage header" by MSTC
      (MitraStar Technology Corp.), but U-Boot doesn't
        - uImage magic (0x0 - 0x3) : 0x434F4D43 (COMC)
        - header crc32 (0x4 - 0x7) : with data length and data crc32
        - image name (0x20 - 0x37) : model ID and firmware versions
        - data length (0x38 - 0x3b): kernel + rootfs
        - data crc32 (0x3c - 0x3f) : kernel + rootfs
      
      Signed-off-by: default avatarINAGAKI Hiroshi <musashino.open@gmail.com>
      Reviewed-by: default avatarSungbo Eo <mans0n@gorani.run>
      3c0e2aa6
    • INAGAKI Hiroshi's avatar
      ramips: extend and rename wr1201-factory-header · be4d53bf
      INAGAKI Hiroshi authored
      
      This commit adds the ability to set custom uImage magic to
      Build/wr1201-factory-header and renames it to
      "Build/custom-initramfs-uimage".
      
      Custom uImage header in initramfs image is required on following
      devices:
      
      - I-O DATA WN-AX1167GR2
      - I-O DATA WN-AX2033GR
      - I-O DATA WN-AX2033GR2
      - I-O DATA WN-DX1167R
      
      While at it, fix typo in comment.
      
      Signed-off-by: default avatarINAGAKI Hiroshi <musashino.open@gmail.com>
      Reviewed-by: default avatarSungbo Eo <mans0n@gorani.run>
      [shorten commit title, minor commit message adjustments]
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      be4d53bf
    • Jo-Philipp Wich's avatar
      Revert "iwinfo: update to latest Git HEAD" · 5f5ec766
      Jo-Philipp Wich authored
      
      This reverts commit 96424c14.
      
      The commit changed libiwinfo's internal ABI which breaks a number of
      downstream projects, including LuCI and rpcd-mod-iwinfo.
      
      Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
      5f5ec766
  5. Feb 04, 2020
  6. Feb 03, 2020
    • August Huber's avatar
      ath79: add support for COMFAST CF-E560AC · ae61d21c
      August Huber authored
      
      This commit adds support for the COMFAST CF-E560AC, an ap143 based
      in-wall access point.
      
      Specifications:
       - SoC: Qualcomm Atheros QCA9531
       - RAM: 128 MB DDR2 (Winbond W971GG6SB-25)
       - Storage: 16 MB NOR (Winbond 25Q128JVSO)
       - WAN: 1x 10/100 PoE ethernet (48v)
       - LAN: 4x 10/100 ethernet
       - WLAN1: QCA9531 - 802.11b/g/n - 2x SKY85303-21 FEM
       - WLAN2: QCA9886 - 802.11ac/n/a - 2x SKY85735-11 FEM
       - USB: one external USB2.0 port
       - UART: 3.3v, 2.54mm headers already populated on board
       - LED: 7x external
       - Button: 1x external
       - Boot: U-Boot 1.1.4 (pepe2k/u-boot_mod)
      
      MAC addressing:
      
      - stock
        LAN    *:40 (label)
        WAN    *:41
        5G     *:42
        2.4G   *:4a
      
      - flash (art partition)
        0x0    *:40 (label)
        0x6    *:42
        0x1002 *:41
        0x5006 *:43
      
      This device contains valid MAC addresses in art 0x0, 0x6, 0x1002 and
      0x5006, however the vendor firmware only reads from art:0x0 for the LAN
      interface and then increments in 02_network. They also jump 8 addresses
      for the second wifi interface (2.4 GHz). This behavior has been duplicated
      in the DTS and ath10k hotplug to align addresses with the vendor firmware
      v2.6.0.
      
      Recovery instructions:
      
      This device contains built-in u-boot tftp recovery.
      
      1. Configure PC with static IP 192.168.1.10/24 and tftp server.
      2. Place desired image at /firmware_auto.bin at tftp root.
      3. Connect device to PC, and power on.
      4. Device will fetch flash from tftp, flash and reboot into new image.
      
      Signed-off-by: default avatarAugust Huber <auh@google.com>
      [move jtag_disable_pins, remove unnecessary statuses in DTS, remove
      duplicate entry in 11-ath10k-caldata, remove hub_port0 label in DTS]
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      ae61d21c
Loading