Skip to content
Snippets Groups Projects
  1. Feb 19, 2020
    • Eneas U de Queiroz's avatar
      kernel: avoid underscore in *6lowpan package names · 07e1d88d
      Eneas U de Queiroz authored
      
      Packages kmod-bluetooth_6lowpan and kmod-ieee802154_6lowpan contain an
      underscore in the package name.  This causes problems in package/install
      because when building a list of package files to install offline using
      opkg, it uses a wildcard of the form $(dir)/$(pkg)_*.ipk.
      
      If you were to select kmod-bluetooth=y, but kmod-bluetooth_6lowpan=m,
      the latter would be picked up by that wildcard, and make package/install
      would fail:
      
      Collected errors:
       * satisfy_dependencies_for: Cannot satisfy the following dependencies
       * for kmod-bluetooth_6lowpan:
       *      kmod-6lowpan
       * opkg_install_cmd: Cannot install package kmod-bluetooth_6lowpan.
      
      Changing the wildcard pattern is not trivial, and there may be other
      places in the build system making this assumption about the package name
      format.
      
      Using a dash in place of the underscore avoids the issue.
      
      Signed-off-by: default avatarEneas U de Queiroz <cotequeiroz@gmail.com>
      07e1d88d
    • Russell Senior's avatar
      dnsmasq: fix uci-defaults script to exit 0 so it is cleaned up · 731f7ea4
      Russell Senior authored
      
      A file, package/network/services/dnsmasq/files/50-dnsmasq-migrate-resolv-conf-auto.sh,
      was added in commit 6a285521, but it
      does not exit in a way that tells the uci-defaults mechanism that it
      succeeded, and so it is not cleaned up after running successfully. Add
      an exit 0 to the end to correct that.
      
      Signed-off-by: default avatarRussell Senior <russell@personaltelco.net>
      731f7ea4
    • Daniel Engberg's avatar
      tools/bison: Update to 3.5.1 · b0a3f1e8
      Daniel Engberg authored
      
      Update bison to 3.5.1
      Use POSIX threads as the previous option is no longer valid
      Disable NLS support to be consistent with other tools such as e2fsprogs and sed
      
      Signed-off-by: default avatarDaniel Engberg <daniel.engberg.lists@pyret.net>
      b0a3f1e8
  2. Feb 18, 2020
  3. Feb 17, 2020
    • Adrian Schmutzler's avatar
      ath79: move mikrotik-caldata.sh to target base-files · dc145de4
      Adrian Schmutzler authored
      
      Mikrotik devices will be found in both generic and nand subtargets.
      
      The file mikrotik-caldata.sh, currently used in generic, contains
      a few lines of code that would need to be duplicated for nand
      support. Instead of duplicating it, move it to target base-files,
      as size impact is small and the maintenance gain should outweigh it.
      
      This is changed separately to make life easier for the people
      currently working on Mikrotik NAND support.
      
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      dc145de4
  4. Feb 16, 2020
    • David Bauer's avatar
      ath79: add support for Siemens WS-AP3610 · d2b8ccb1
      David Bauer authored
      
      Hardware
      --------
      SoC:  Atheros AR7161
      RAM:  Samsung K4H511638D-UCCC
            2x 64M DDR1
      SPI:  Micron M25P128 (16M)
      WiFi: Atheros AR9160 bgn
            Atheros AR9160 an
      ETH:  Broadcom BCM5481
      LED:  Power (Green/Red)
            ETH (Green / Blue / Yellow)
                (PHY-controlled)
            WiFi 5 (Green / Blue)
            WiFi 2 (Green / Blue)
      BTN:  Reset
      
      Serial: Cisco-Style RJ45 - 115200 8N1
      
      Installation
      ------------
      
      1. Download the OpenWrt initramfs-image. Place it into a TFTP server
         root directory and rename it to 1401A8C0.img. Configure the TFTP
         server to listen at 192.168.1.66/24.
      
      2. Connect the TFTP server to the access point.
      
      3. Connect to the serial console of the access point. Attach power and
         interrupt the boot procedure when prompted (bootdelay is 1 second).
      
      4. Configure the U-Boot environment for booting OpenWrt from Ram and
         flash:
      
         $ setenv boot_openwrt 'setenv bootargs; bootm 0xbf080000'
         $ setenv ramboot_openwrt 'setenv serverip 192.168.1.66;
           tftpboot; bootm'
         $ saveenv
      
      5. Load OpenWrt into memory:
      
         $ run ramboot_openwrt
      
         Wait for the image to boot.
      
      6. Transfer the OpenWrt sysupgrade image to the device. Write the image
         to flash using sysupgrade:
      
         $ sysupgrade -n /path/to/openwrt-sysuograde.bin
      
      Signed-off-by: default avatarDavid Bauer <mail@david-bauer.net>
      d2b8ccb1
    • David Bauer's avatar
      ath79: backport phy reset-controller patches · ae35ff57
      David Bauer authored
      
      The Siemens WS-AP3610 asserts reset to the ethernet PHY with the
      reset-register. Backport the necessary patches to de-assert reset
      when probing the PHY.
      
      These patches can be dropped when using kernel 5.4.
      
      Signed-off-by: default avatarDavid Bauer <mail@david-bauer.net>
      ae35ff57
  5. Feb 15, 2020
  6. Feb 14, 2020
  7. Feb 13, 2020
  8. 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
  9. 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
  10. Feb 10, 2020
  11. 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
  12. Feb 08, 2020
Loading