Permalink
Commits on Sep 7, 2018
  1. kernel: bump 4.14 to 4.14.68

    xback committed Sep 6, 2018
    Refreshed all patches.
    
    Remove upstream accepted:
    - 330-Revert-MIPS-BCM47XX-Enable-74K-Core-ExternalSync-for.patch
    
    Altered:
    - 303-v4.16-netfilter-nf_tables-remove-multihook-chains-and-fami.patch
    - 308-mips32r2_tune.patch
    
    Compile-tested on: cns3xxx, imx6
    Runtime-tested on: cns3xxx, imx6
    
    Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
  2. kernel: bump 4.9 to 4.9.125

    xback committed Sep 6, 2018
    Refreshed all patches.
    
    Compile-tested on: ar71xx
    Runtime-tested on: ar71xx
    
    Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Commits on Sep 6, 2018
  1. dnsmasq: allow dnsmasq variants to be included in image

    hmh authored and dedeckeh committed Aug 27, 2018
    The dnsmasq variants should provide dnsmasq, otherwise it is impossible
    to include them in the image.
    
    This change allows one to have CONFIG_PACKAGE_dnsmasq=m and
    CONFIG_PACKAGE_dnsmasq-full=y, e.g. because you want DNSSEC support, or
    IPSETs suport on your 3000-devices fleet ;-)
    
    Signed-off-by: Henrique de Moraes Holschuh <henrique@nic.br>
Commits on Sep 4, 2018
  1. mpc85xx: add migration script for TP-Link TL-WDR4900 v1 WLAN PCI paths

    NeoRaider committed Sep 4, 2018
    PCI paths of the WLAN devices have changed between kernel 4.4 and 4.9;
    migrate config so existing wifi-iface definitions don't break.
    
    This is implemented as a hotplug handler rather than a uci-defaults script
    as the migration script must run before the 10-wifi-detect hotplug handler.
    
    Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
    (cherry picked from commit b452af2)
Commits on Sep 3, 2018
  1. libubox: set RPATH for host build

    jow- authored and NeoRaider committed Aug 14, 2018
    This is required for programs that indirectly link libjson-c through the
    libubox blobmsg_json library.
    
    Signed-off-by: Jo-Philipp Wich <jo@mein.io>
    (cherry picked from commit 5762efd)
  2. libubox: set HOST_BUILD_PREFIX

    dangowrt authored and NeoRaider committed Aug 6, 2018
    Install into STAGING_DIR_HOST rather than STAGING_DIR_HOSTPKG to make
    bundle-libraries.sh happy.
    
    Signed-off-by: Daniel Golle <daniel@makrotopia.org>
    (cherry picked from commit 7310002)
  3. libubox: make sure blobmsg-json is included in host-build

    dangowrt authored and NeoRaider committed Jun 14, 2018
    Signed-off-by: Daniel Golle <daniel@makrotopia.org>
    (cherry picked from commit 56e3a19)
    [While nothing in 18.06 needs the blobmsg-json host build, this prevents
    builds failing due to incompatible json-c versions installed on the host
    system]
    Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
  4. libjson-c: set HOST_BUILD_PREFIX

    dangowrt authored and NeoRaider committed Aug 6, 2018
    Install into STAGING_DIR_HOST rather than STAGING_DIR_HOSTPKG to make
    bundle-libraries.sh happy.
    
    Signed-off-by: Daniel Golle <daniel@makrotopia.org>
    (cherry picked from commit a5368dc)
  5. libjson-c: Update package URL

    neheb authored and NeoRaider committed Jul 29, 2018
    Found through UScan.
    
    Signed-off-by: Rosen Penev <rosenp@gmail.com>
    (cherry picked from commit 31f87eb)
  6. libjson-c: fix host-build

    dangowrt authored and NeoRaider committed Jun 14, 2018
    Add -Wno-implicit-fallthrough to HOST_CFLAGS.
    
    Signed-off-by: Daniel Golle <daniel@makrotopia.org>
    (cherry picked from commit 5e9470a)
  7. libjson-c: add host build (for libblobmsg-json)

    dangowrt authored and NeoRaider committed Jun 14, 2018
    Signed-off-by: Daniel Golle <daniel@makrotopia.org>
    (cherry picked from commit 6fc8e06)
  8. ar71xx: allow to override at803x sgmii aneg status

    blocktrron authored and NeoRaider committed Aug 6, 2018
    When checking the outcome of the PHY autonegotiation status, at803x
    currently returns false in case the SGMII side is not established.
    
    Due to a hardware-bug, ag71xx needs to fixup the SoCs SGMII side, which
    it can't as it is not aware of the link-establishment.
    
    This commit allows to ignore the SGMII side autonegotiation status to
    allow ag71xx to do the fixup work.
    
    Signed-off-by: David Bauer <mail@david-bauer.net>
    (cherry picked from commit 4e39e21)
  9. ar71xx: fix QCA955X SGMII link loss

    blocktrron authored and NeoRaider committed Aug 6, 2018
    The QCA955X is affected by a hardware bug which causes link-loss of the
    SGMII link between SoC and PHY. This happens on change of link-state or
    speed.
    
    It is not really known what causes this bug. It definitely occurs when
    using a AR8033 Gigabit Ethernet PHY.
    
    Qualcomm solves this Bug in a similar fashion. We need to apply the fix
    on a per-device base via platform-data as performing the fixup work will
    break connectivity in case the SGMII interface is connected to a Switch.
    
    This bug was first proposed to be fixed by Sven Eckelmann in 2016.
     https://patchwork.ozlabs.org/patch/604782/
    
    Based-on-patch-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
    Signed-off-by: David Bauer <mail@david-bauer.net>
    (cherry picked from commit f4f99ec)
Commits on Aug 30, 2018
  1. grub2: rebase patches

    jow- committed Aug 23, 2018
    Patch 300-CVE-2015-8370.patch was added without proper rebasing on the
    version used by OpenWrt, make it apply and refresh the patch to fix
    compilation.
    
    Fixes: 7e73e91 ("grub2: Fix CVE-2015-8370")
    Signed-off-by: Jo-Philipp Wich <jo@mein.io>
    (cherry picked from commit 9ffbe84)
  2. grub2: Fix CVE-2015-8370

    neheb authored and jow- committed Aug 23, 2018
    This CVE is a culmination of multiple integer overflow issues that cause
    multiple issues like Denial of Service and authentication bypass.
    
    More info: https://nvd.nist.gov/vuln/detail/CVE-2015-8370
    
    Taken from Fedora.
    
    Signed-off-by: Rosen Penev <rosenp@gmail.com>
    (cherry picked from commit 7e73e91)
  3. bzip2: Fix CVE-2016-3189

    neheb authored and jow- committed Aug 23, 2018
    Issue causes a crash with specially crafted bzip2 files.
    
    More info: https://nvd.nist.gov/vuln/detail/CVE-2016-3189
    
    Taken from Fedora.
    
    Signed-off-by: Rosen Penev <rosenp@gmail.com>
    (cherry picked from commit f9469ef)
  4. scripts: bundle-libraries: fix logic flaw

    jow- committed Aug 29, 2018
    Previous refactoring of the script moved the LDSO detection into a
    file-not-exists condition, causing onyl the very first executable to
    get bundled.
    
    Solve the problem by unconditionally checking for LDSO again.
    
    Fixes: 9030a78 ("scripts: bundle-libraries: prevent loading host locales")
    Signed-off-by: Jo-Philipp Wich <jo@mein.io>
    (cherry picked from commit 5ebcd32)
  5. scripts: bundle-libraries: prevent loading host locales (FS#1803)

    jow- committed Aug 25, 2018
    Binary patch the bundled glibc library to inhibit loading of host locale
    archives in order to avoid triggering internal libc assertions when
    invoking shipped, bundled executables.
    
    The problem has been solved with upstream Glibc commit
    0062ace229 ("Gracefully handle incompatible locale data") but we still
    need to deal with older Glibc binaries for some time to come.
    
    Fixes FS#1803
    Signed-off-by: Jo-Philipp Wich <jo@mein.io>
    (cherry picked from commit 9030a78)
  6. ramips: only limit lzma dictionary size on mt7621

    jow- committed Aug 30, 2018
    The changed dictionary size leads to a different LZMA header which breaks
    sysupgrade image magic checkibng on at least some RT288x boards.
    
    Since the commit message only mentions testing on MT7621 and since the
    change appears to break at least one other ramips subtarget, do not take
    any chances and restrict the size limitation to only MT7621.
    
    Fixes FS#1797
    Fixes 09b6755 ("ramips: limit dictionary size for lzma compression")
    Signed-off-by: Jo-Philipp Wich <jo@mein.io>
    (cherry picked from commit 77e2bcc)
  7. uqmi: wait for the control device too

    tequeter authored and xback committed Aug 16, 2018
    The control device /dev/cdc-wdm0 is not available immediately on the
    D-Link DWR-921 Rev.C3, therefore the wwan interface fails to start at
    boot with a "The specified control device does not exist" error.
    
    This patch alters /lib/netifd/proto/qmi.sh to wait for
    network.wwan.delay earlier, before checking for the control device,
    instead of just before interacting with the modem.
    
    One still has to use network.wwan.proto='qmi', as the "wwan" proto
    performs that sort of check before any delay is possible, failing with a
    "No valid device was found" error.
    
    Signed-off-by: Thomas Equeter <tequeter@users.noreply.github.com>
Commits on Aug 29, 2018
  1. comgt: increase timeout on runcommands

    fid0did0 authored and blogic committed Aug 26, 2018
    Some combination of modem/wireless operator requires more time to
    execute the commands.
    Tested on DWR-512 embedded wwan modem and italian operator iliad (new
    virtual operator).
    
    Signed-off-by: Giuseppe Lippolis <giu.lippolis@gmail.com>
    (cherry picked from commit 774d7fc)
  2. ugps: Update to fix position calculation

    br101 authored and blogic committed Aug 24, 2018
    This is necessary to get my position right.
    Without this my longitude is incorrecty -15.85xxxx instead of -16.52yyyy
    
    Signed-off-by: Bruno Randolf <br1@einfach.org>
    (cherry picked from commit fe960ce)
  3. ugps: Add option disabled

    br101 authored and blogic committed Aug 23, 2018
    Like many other packages, an option to disable can be practical.
    
    Signed-off-by: Bruno Randolf <br1@einfach.org>
    (cherry picked from commit 6b14a73)
Commits on Aug 28, 2018
  1. kernel: bump 4.14 to 4.14.67

    xback committed Aug 24, 2018
    Refreshed all patches.
    
    Removed upstreamed patches:
    - 037-v4.18-0008-ARM-dts-BCM5301x-Fix-i2c-controller-interrupt-type.patch
    
    Compile-tested on: cns3xxx, imx6
    Runtime-tested on: cns3xxx, imx6
    
    Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
  2. kernel: bump 4.9 to 4.9.124

    xback committed Aug 24, 2018
    Refreshed all patches.
    
    Compile-tested on: ar71xx
    Runtime-tested on: ar71xx
    
    Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
  3. ar71xx: WNR612v2: fix kernel panic due to wrong Wifi LED init

    realmicu authored and mkresin committed Aug 27, 2018
    Netgear WNR612v2 flashed with recent OpenWrt builds suffers from kernel
    panic at boot during wireless chip initialization, making device
    unusable:
    
     ath: phy0: Ignoring endianness difference in EEPROM magic bytes.
     ath: phy0: Enable LNA combining
     CPU 0 Unable to handle kernel paging request at virtual address 1000fee1, epc == 801d08f0, ra == 801d0d90
     Oops[#1]:
     CPU: 0 PID: 469 Comm: kmodloader Not tainted 4.9.120 #0
     [ ... register dump etc ... ]
     Kernel panic - not syncing: Fatal exception
     Rebooting in 1 seconds..
    
    This simple patch fixes above error. It keeps LED table in memory after
    kernel init phase for ath9k driver to operate correctly (__initdata
    removed).
    
    Also, another bug is fixed - correct array size is provided to function
    that adds platform LEDs (this device has only 1 connected to Wifi chip)
    preventing code from going outside array bounds.
    
    Fixes: 1f5ea4e ("ar71xx: add correct named default wireless led by using platform leds")
    
    Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
    [trimmed commit message]
    Signed-off-by: Mathias Kresin <dev@kresin.me>
Commits on Aug 27, 2018
  1. ar71xx/generic: enable Zyxel NBG6616 in kernel config again

    NeoRaider committed Aug 27, 2018
    The NBG6616 shares a config symbol with the NBG6716. It was accidentally
    removed from the config when the ar71xx-tiny target was split off.
    
    Fixes: 0cd5e85 ("ar71xx: create new ar71xx/tiny subtarget for 4MB flash devices")
    Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
    (cherry picked from commit a4f4ddb)
  2. mac80211: mwl8k: Expand non-DFS 5G channels

    Menion2k authored and hauke committed Aug 10, 2018
    Add non-DFS 5G upper channels (149-165) besides existed 4 lower channels
    (36, 40, 44, 48).
    
    Signed-off-by: Antonio Silverio <menion@gmail.com>
Commits on Aug 25, 2018
  1. mt76: update to the latest version

    nbd168 committed Aug 22, 2018
    7daf962 mt7603: add survey support
    980c606 mt7603: add fix for CCA signal configuration
    30b8371 mt7603: fix BAR rate
    
    Signed-off-by: Felix Fietkau <nbd@nbd.name>
Commits on Aug 24, 2018
  1. dropbear: backport upstream fix for CVE-2018-15599

    dedeckeh committed Aug 24, 2018
    CVE description :
    The recv_msg_userauth_request function in svr-auth.c in Dropbear through
    2018.76 is prone to a user enumeration vulnerability because username
    validity affects how fields in SSH_MSG_USERAUTH messages are handled,
    a similar issue to CVE-2018-15473 in an unrelated codebase.
    
    Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Commits on Aug 23, 2018
  1. ramips: mt7620: add dir-810l network config

    rogerpueyo authored and mkresin committed Aug 23, 2018
    The device was not included in the /etc/board.d/02_network file, so
    the network wouldn't be properly set up on boot.
    
    Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
  2. ramips: fix compatibles in SoC dtsi

    mkresin committed Aug 22, 2018
    The former used compatibles aren't defined anywhere and aren't used by
    the devicetree source files including them.
    
    Signed-off-by: Mathias Kresin <dev@kresin.me>
  3. ramips: fix GL-MT300N-V2 SoC compatible

    mkresin committed Aug 22, 2018
    According to abbfcc8 ("ramips: add support for GL-inet
    GL-MT300N-V2") the board has a MediaTek MT7628AN. Change the SoC
    compatible to match the used hardware.
    
    Signed-off-by: Mathias Kresin <dev@kresin.me>
  4. ramips: drop not existing groups from pinmux

    mkresin committed Aug 22, 2018
    RT5350 neither have rgmii nor a mdio pinmux group. MT7628an doesn't
    have a jtag group. Having these groups defined might cause a boot
    panic.
    
    The pin controller fails to initialise for kernels > 4.9 if invalid
    groups are used. If a subsystem references a pin controller
    configuration node, it can not find this node and errors out. In worst
    case it's the SPI driver which errors out and we have no root
    filesystem to mount.
    
    Signed-off-by: Mathias Kresin <dev@kresin.me>
  5. generic: revert workarounds for AR8337 switch

    mkresin committed Aug 15, 2018
    The intention of 967b6be ("ar8327: Add workarounds for AR8337
    switch") was to remove the register fixups for AR8337. But instead they
    were removed for AR8327.
    
    The RGMII RX delay is forced even if the port is used as phy instead of
    mac, which results in no package flow at least for one board.
    
    Fixes: FS#1664
    
    Signed-off-by: Mathias Kresin <dev@kresin.me>