Skip to content
Snippets Groups Projects
  1. Feb 14, 2020
  2. Feb 13, 2020
  3. Feb 12, 2020
    • Mathias Kresin's avatar
      kernel: swconfig: make compatible with kernel 5.2 · 35ab804e
      Mathias Kresin authored
      
      Since kernel 5.2 within netlink messages the NLA_F_NESTED nested flag is
      validated. But swconfig/swlib doesn't set the flag for
      SWITCH_ATTR_OP_VALUE_PORTS related netlink messages and assigning ports
      to vlans via
      
        swconfig dev switch0 vlan 1 set ports '0 1 2 3 4 6t'
      
      Errors put with "Failed to set attribute: Invalid input data or
      parameter".
      
      Relax the validation rules and use the deprecated functions, to use the
      same level of validation as it was till kernel 5.1. Depending on who has
      swconfig related netlink messages implemented, there might be more
      broken tools out there and we should keep backward compatibility if
      possible.
      
      Signed-off-by: default avatarMathias Kresin <dev@kresin.me>
      Tested-by: default avatarRafał Miłecki <rafal@milecki.pl>
      35ab804e
    • Jo-Philipp Wich's avatar
      uhttpd: update to latest Git HEAD · 04069fde
      Jo-Philipp Wich authored
      
      2ee323c file: poke ustream after starting deferred program
      
      Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
      04069fde
  4. Feb 11, 2020
    • Kevin Darbyshire-Bryant's avatar
      procd: seccomp: fix resource leak · dba431d8
      Kevin Darbyshire-Bryant authored
      
      Bump to latest commit:
      
      c30b23e seccomp: fix resource leak
      
      Signed-off-by: default avatarKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
      dba431d8
    • Rafał Miłecki's avatar
      kernel: rewrite run_parsers_by_type() to use add_mtd_partitions() · 15a0701c
      Rafał Miłecki authored
      
      Make run_parsers_by_type() more similar to the parse_mtd_partitions():
      1. Use struct mtd_partitions
      2. Use add_mtd_partitions()
      
      This change simplifies run_parsers_by_type() by:
      1. Dropping loop
      2. Dropping code getting partition properties (name, offset, size)
      
      Moreover this change allows passing more partitions details (e.g.
      mask_flags).
      
      One noticeable change introduced by this patch is adding parsed
      partitions as children. This results in printing their *relative*
      offsets which unifies this code with parse_mtd_partitions() behaviour.
      
      Before:
      [    1.785448] 0x00000018f800-0x000000fb0000 : "rootfs"
      [    1.791642] mtd: device 4 (rootfs) set to be root filesystem
      [    1.797537] 1 squashfs-split partitions found on MTD device rootfs
      [    1.804009] 0x0000004e0000-0x000000fb0000 : "rootfs_data"
      
      After:
      [    1.785376] 0x00000018f800-0x000000fb0000 : "rootfs"
      [    1.791601] mtd: device 4 (rootfs) set to be root filesystem
      [    1.797491] 1 squashfs-split partitions found on MTD device rootfs
      [    1.803936] Creating 1 MTD partitions on "rootfs":
      [    1.808910] 0x000000350800-0x000000e20800 : "rootfs_data"
      
      Signed-off-by: default avatarRafał Miłecki <rafal@milecki.pl>
      15a0701c
    • 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
  5. Feb 10, 2020
  6. 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
  7. Feb 08, 2020
  8. Feb 07, 2020
Loading