Skip to content
Snippets Groups Projects
  1. Feb 11, 2020
    • Sungbo Eo's avatar
      ramips: append tail to WF2881 initramfs image · be3e98ce
      Sungbo Eo authored
      
      Stock firmware has a vendor-defined tail at the end of uImage for image
      validation. This patch enables OpenWrt installation from stock firmware
      without having to access the UART console.
      
      Installation via web interface:
      1.  Flash **initramfs** image through the stock web interface.
      2.  Boot into OpenWrt and perform sysupgrade with sysupgrade image.
      
      Signed-off-by: default avatarSungbo Eo <mans0n@gorani.run>
      be3e98ce
    • Christian Buschau's avatar
      ath79: add support for TP-Link TL-WA830RE v1 · fb99ac68
      Christian Buschau authored
      
      This ports support for the TL-WA830RE v1 range extender from ar71xx to
      ath79.
      
      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-wa830re-v1-squashfs-factory.bin
        > erase 0x9f020000 +0x3c0000
        > cp.b 0x80000000 0x9f020000 0x3c0000
        > bootm 0x9f020000
      - flash factory image from OEM WebUI
      - sysupgrade from ar71xx image
      
      The device seems to be a clone of the following devices not yet
      added to ath79:
      - tl-wa701nd-v1
      - tl-wa730re-v1
      - tl-wa801nd-v1
      - tl-wa901nd-v1
      
      Signed-off-by: default avatarChristian Buschau <christian.buschau@mailbox.org>
      [make use of ar7240_tplink.dtsi, add note about clones]
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      fb99ac68
    • Adrian Schmutzler's avatar
      ath79: reorganize DTSI for ar7240 TP-Link devices · 273e00c4
      Adrian Schmutzler authored
      
      The current set of TP-Link devices with ar7240 SoC all share
      the same DTSI file. As the latter is very similar to the
      definition required for the to-be-supported TP-Link TL-WA devices
      with ar7240, this patch splits the definitions into a shared part
      for all TP-Link devices (ar7240_tplink.dtsi) and a file containing
      the specific setup for the present TL-WR devices
      (ar7240_tplink_tl-wr.dtsi), equivalent to the former
      ar7240_tplink_tl-wr74xn-v1.dtsi.
      
      While at it, remove unused firmware partition label and rename
      pinmux_switch_led_pins.
      
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      273e00c4
  2. Feb 10, 2020
  3. Feb 09, 2020
    • Hans Dedecker's avatar
      uci: fix PKG_SOURCE_VERSION value · 7df120b1
      Hans Dedecker authored
      
      Fixes PKG_SOURCE_VERSION value which was wrongly set in commit f6e07c82
      
      Signed-off-by: default avatarHans Dedecker <dedeckeh@gmail.com>
      7df120b1
    • Jason A. Donenfeld's avatar
      wireguard-tools: bump to 1.0.20200206 · cb17d7ae
      Jason A. Donenfeld authored
      
      * wg-quick: android: split uids into multiple commands
      
      Newer android's ndc implementations have limits on uid size, so we have to
      break these into several lists.
      
      * man: document dynamic debug trick for Linux
      
      This comes up occasionally, so it may be useful to mention its
      possibility in the man page. At least the Arch Linux and Ubuntu kernels
      support dynamic debugging, so this advice will at least help somebody. So that
      you don't have to go digging into the commit, this adds this helpful tidbit
      to the man page for getting debug logs on Linux:
      
       # modprobe wireguard && echo module wireguard +p > /sys/kernel/debug/dynamic_debug/control
      
      * extract-{handshakes,keys}: rework for upstream kernel
      
      These tools will now use the source code from the running kernel instead of
      from the old monolithic repo. Essential for the functioning of Wireshark.
      
      * netlink: remove libmnl requirement
      
      We no longer require libmnl. It turns out that inlining the small subset of
      libmnl that we actually use results in a smaller binary than the overhead of
      linking to the external library. And we intend to gradually morph this code
      into something domain specific as a libwg emerges. Performance has also
      increased, thanks to the inliner. On all platforms, wg(8) only needs a normal
      libc. Compile time on my system is still less than one second. So all in all
      we have: smaller binary, zero dependencies, faster performance.
      
      Packagers should no longer have their wireguard-tools package depend on
      libmnl.
      
      * embeddable-wg-library: use newer string_list
      * netlink: don't pretend that sysconf isn't a function
      
      Small cleanups.
      
      Signed-off-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
      cb17d7ae
    • Hans Dedecker's avatar
      procd: update to latest git HEAD · 39a49c2d
      Hans Dedecker authored
      
      Fixes c0c988e1
      
      bcb8655 instance: add 'requirejail' attribute
      
      Signed-off-by: default avatarHans Dedecker <dedeckeh@gmail.com>
      39a49c2d
  4. Feb 08, 2020
  5. Feb 07, 2020
  6. Feb 06, 2020
  7. 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
  8. Feb 04, 2020
Loading