Skip to content
Snippets Groups Projects
  1. Oct 15, 2019
    • Koen Vandeputte's avatar
      kernel: bump 4.19 to 4.19.79 · e5445333
      Koen Vandeputte authored
      
      Refreshed all patches.
      
      Remove upstreamed (superseded):
      - 950-0726-can-mcp251x-Allow-more-time-after-a-reset.patch
      
      Compile-tested on: brcm2708, cns3xxx
      Runtime-tested on: cns3xxx
      
      Signed-off-by: default avatarKoen Vandeputte <koen.vandeputte@ncentric.com>
      e5445333
    • Koen Vandeputte's avatar
      kernel: bump 4.14 to 4.14.149 · 1cfe412d
      Koen Vandeputte authored
      
      Refreshed all patches.
      
      Altered patches:
      - 820-sec-support-layerscape.patch
      
      Compile-tested on: cns3xxx, layerscape
      Runtime-tested on: cns3xxx
      
      Signed-off-by: default avatarKoen Vandeputte <koen.vandeputte@ncentric.com>
      1cfe412d
    • Koen Vandeputte's avatar
      toolchain/musl: bump to version 1.1.24 · 4d5b6226
      Koen Vandeputte authored
      
      1.1.24 release notes
      
      new features:
      - GLOB_TILDE extension to glob
      - non-stub catgets localization API, using netbsd binary catalog format
      - posix_spawn file actions for [f]chdir (extension, pending future standard)
      - secure_getenv function (extension)
      - copy_file_range syscall wrapper (Linux extension)
      - header-level support for new linux features in 5.2
      
      performance:
      - new fast path for lrint (generic C version) on 32-bit archs
      
      major internal changes:
      - functions involving time are overhauled to be time64-ready in 32-bit archs
      - x32 uses the new time64 code paths to replace nasty hacks in syscall glue
      
      compatibility & conformance:
      - support for powerpc[64] unaligned relocation types
      - powerpc[64] and sh sys/user.h no longer clash with kernel asm/ptrace.h
      - select no longer modifies timeout on failure (or at all)
      - mips64 stat results are no longer limited to 32-bit time range
      - optreset (BSD extension) now has a public declaration
      - support for clang inconsistencies in wchar_t type vs some 32-bit archs
      - mips r6 syscall asm no longer has invalid lo/hi register clobbers
      - vestigial asm declarations of __tls_get_new are removed (broke some tooling)
      - riscv64 mcontext_t mismatch glibc's member naming is corrected
      
      bugs fixed:
      - glob failed to match broken symlinks consistently
      - invalid use of interposed calloc to allocate initial TLS
      - various dlsym symbol resolution logic errors
      - semctl with SEM_STAT_ANY didn't work
      - pthread_create with explicit scheduling was subject to priority inversion
      - pthread_create failure path had data race for thread count
      - timer_create with SIGEV_THREAD notification had data race getting timer id
      - wide printf family failed to support l modifier for float formats
      
      arch-specific bugs fixed:
      - x87 floating point stack imbalance in math asm (i386-only CVE-2019-14697)
      - x32 clock_adjtime, getrusage, wait3, wait4 produced junk (struct mismatches)
      - lseek broken on x32 and mipsn32 with large file offsets
      - riscv64 atomics weren't compiler barriers
      - riscv64 atomics had broken asm constraints (missing earlyclobber flag)
      - arm clone() was broken when compiled as thumb if start function returned
      - mipsr6 setjmp/longjmp did not preserve fpu register state correctly
      
      Refreshed all patches.
      Removed upstreamed.
      
      Signed-off-by: default avatarKoen Vandeputte <koen.vandeputte@ncentric.com>
      4d5b6226
    • Jo-Philipp Wich's avatar
      iwinfo: update to latest Git HEAD · 57b83428
      Jo-Philipp Wich authored
      
      a29b7d4 nl80211: align path to phy mapping logic with mac80211.sh
      
      Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
      57b83428
  2. Oct 14, 2019
  3. Oct 13, 2019
    • Adrian Schmutzler's avatar
      treewide: move calibration data extraction function to library · 5b6a8090
      Adrian Schmutzler authored
      
      This moves the almost identical calibration data extraction
      functions present multiple times in several targets to a single
      library file /lib/functions/caldata.sh.
      
      Functions are renamed with more generic names to merge different
      variants that only differ in their names.
      
      Most of the targets used find_mtd_chardev, while some used
      find_mtd_part inside the extraction code. To merge them, the more
      abundant version with find_mtd_chardev is used in the common code.
      
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      [rebase on latest master; add mpc85xx]
      Signed-off-by: default avatarDavid Bauer <mail@david-bauer.net>
      5b6a8090
    • Adrian Schmutzler's avatar
      base-files: move xor() from caldata extraction to functions.sh · c1388a2d
      Adrian Schmutzler authored
      
      The xor() function is defined in each of the caldata extraction
      scripts for several targets. Move it to functions.sh to reduce
      duplicate code.
      
      Signed-off-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
      c1388a2d
    • Roger Pueyo Centelles's avatar
      ath79: add support for COMFAST CF-E313AC · bba6646b
      Roger Pueyo Centelles authored
      This patch adds support for the COMFAST CF-E313AC, an  outdoor wireless
      CPE with two Ethernet ports and a 802.11ac radio.
      
      Specifications:
      
       - QCA9531 SoC
       - 650/400/216 MHz (CPU/DDR/AHB)
       - 1x 10/100 Mbps WAN Ethernet, 48V PoE-in
       - 1x 10/100 Mbps LAN Ethernet, pass-through 48V PoE-out
       - 1x manual pass-through PoE switch
       - 64 MB RAM (DDR2)
       - 16 MB FLASH
       - QCA9886 2T2R 5 GHz 802.11ac, 23 dBm
       - 12 dBi built-in antenna
       - POWER/LAN/WAN/WLAN green LEDs
       - 4x RSSI LEDs (2x red, 2x green)
       - UART (115200 8N1)
      
      Flashing instructions:
      
       The original firmware is based on OpenWrt so a sysupgrade image can be
       installed via the stock web GUI. Settings from the original firmware
       will be saved and restored on the new one, so a factory reset will be
       needed. To do so, once the new firmware is flashed, enter into failsafe
       mode by pressing the reset button several times during the boot
       process, while the WAN LED flashes, until it starts flashing faster.
       Once in failsafe mode, perform a factory reset as usual.
      
       Alternatively, the U-boot bootloader contains a recovery HTTP server
       to upload the  firmware. Push the reset button while powering the
       device on and keep it pressed for >10 seconds. The device's LEDs will
       blink several times and the recovery page will be at
       http://192.168.1.1;
      
       use it to upload the sysupgrade image.
      
      Note:
      
       Four MAC addresses are stored in the "art" partition (read-only):
        - 0x0000: 40:A5:EF:AA:AA:A0
        - 0x0006: 40:A5:EF:AA:AA:A2
        - 0x1002: 40:A5:EF:AA:AA:A1
        - 0x5006: 40:A5:EF:AA.AA:A3 (inside the 5 GHz calibration data)
      
       The stock firmware assigns MAC addresses to physical and virtual
       interfaces in a very particular way:
        - eth0 corresponds to the physical Ethernet port labeled as WAN
        - eth1 corresponds to the physical Ethernet port labeled as LAN
      
        - eth0 belongs to the bridge interface br-wan
        - eth1 belongs to the bridge interface br-lan
      
        - eth0 is assigned the MAC from 0x0 (*:A0)
        - eth1 is assigned the MAC from 0x1002 (*:A1)
      
        - br-wan is forced to use the MAC from 0x1002 (*:A1)
        - br-lan is forced to use the MAC from 0x0 (*:A0)
      
        - radio0 uses the calibration data from 0x5000 (which contains
          a valid MAC address, *:A3). However, it is overwritten by the
          one at 0x6 (*:A2)
      
       This commit preserves the LAN/WAN roles of the physical Ethernet
       ports (as labeled on the router) and the MAC addresses they expose
       by default (i.e., *:A0 on LAN, *:A1 on WAN), but swaps the position
       of the eth0/eth1 compared to the stock firmware:
        - eth0 corresponds to the physical Ethernet port labeled as LAN
        - eth1 corresponds to the physical Ethernet port labeled as WAN
      
        - eth0 belongs to the bridge interface br-lan
        - eth1 is the interface at @wan
      
        - eth0 is assigned the MAC from 0x0 (*:A0)
        - eth1 is assigned the MAC from 0x1002 (*:A1)
      
        - br-lan inherits the MAC from eth0 (*:A0)
        - @wan inherits the MAC from eth1 (*:A1)
      
        - radio0's MAC is overwritten to the one at 0x6
      
      This way, eth0/eth1's positions differ from the stock firmware, but
      the weird MAC ressignations in br-lan/br-wan are avoided while the
      external behaviour of the router is maintained. Additionally, WAN
      port is connected to the PHY gmac, allowing to monitor the link
      status (e.g., to restart DHCP negotiation when plugging a cable).
      
      Signed-off-by: default avatarRoger Pueyo Centelles <roger.pueyo@guifi.net>
      bba6646b
    • Roger Pueyo Centelles's avatar
      ramips: mt7621: Alternative name KE 2P for Phicomm K2P · ac36cca0
      Roger Pueyo Centelles authored
      
      The Phicomm KE 2P is identical to the already supported Phicomm K2P,
      renamed for the European market. Use the ALT0 buildroot tags to show
      both devices.
      
      Signed-off-by: default avatarRoger Pueyo Centelles <roger.pueyo@guifi.net>
      ac36cca0
    • Stijn Tintel's avatar
      kernel: add kmod-iio-bme680 · 4b9a0733
      Stijn Tintel authored
      
      This driver supports the Bosch Sensortec BME680 gas, humidity, pressure
      and temperature sensor.
      
      Tested I2C and SPI modes on a Raspberry Pi Zero W.
      
      Signed-off-by: default avatarStijn Tintel <stijn@linux-ipv6.be>
      4b9a0733
  4. Oct 12, 2019
  5. Oct 11, 2019
  6. Oct 10, 2019
    • Felix Fietkau's avatar
      mt76: update to the latest version · 7a8bcf36
      Felix Fietkau authored
      
      71c2ef0420b5 mt76: fix aggregation stop issue
      5b02a078d4a7 mt76: add missing locking around ampdu action
      7d8764d320cf mt76: avoid enabling interrupt if NAPI poll is still pending
      d94cc81d3980 mt76: drop rcu read lock in mt76_rx_aggr_stop
      c11a4ad06d9d mt76: mt76x0: eeprom: add support for MAC address from OF
      01642d8bed33 mt76: mt76x02: fix use-after-free in tx status code handling airtime
      391e1488f885 mt76: add sanity check for a-mpdu rx wcid index
      d3a589586d1b mt76: fix a-mpdu boundary detection issue for airtime reporting
      
      Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
      7a8bcf36
    • Hans Dedecker's avatar
      ppp: update to version 2.4.7.git-2019-10-04 · f8b58757
      Hans Dedecker authored
      
      0d004db Revert "pppd: Include time.h before using time_t"
      e400854 pppdump: Eliminate printf format warning by using %zd
      7f2f0de pppd: Refactor setjmp/longjmp with pipe pair in event wait loop
      4e71317 make: Avoid using host include for cross-compiling
      3202f89 pppoe: Remove the use of cdefs
      d8e8d7a pppd: Remove unused rcsid variables
      486f854 pppd: Fix GLIBC version test for non-glibc toolchains
      b6cd558 pppd: Include time.h before using time_t
      ef8ec11 radius: Fix compiler warning
      f6330ec magic: Remove K&R style of arguments
      347904e Add Submitting-patches.md
      
      Remove patches 130-no_cdefs_h.patch, 131-missing_prototype_macro.patch,
      132-fix_linux_includes.patch as fixed upstream
      Refresh patches
      
      Signed-off-by: default avatarHans Dedecker <dedeckeh@gmail.com>
      f8b58757
    • Felix Fietkau's avatar
  7. Oct 09, 2019
Loading