1. 08 May, 2018 1 commit
  2. 07 May, 2018 23 commits
    • Davide Ammirata's avatar
      ramips: add support for mqmaker witi 512mb version · 004cc22e
      Davide Ammirata authored
      
      
      Splitted out the dts file and create the new dts for the 256 MByte RAM and
      the 512 MB RAM version.
      
      Migrate both versions to the common board detection.
      
      The install the 512 MByte Version on a board running the 256 MByte image,
      a forceful sysupgrade with the -F flag is required.
      Signed-off-by: default avatarDavide Ammirata <list@davidea.it>
      004cc22e
    • Matthias Badaire's avatar
      ramips: add support for Ravpower WD03 · 5ef79af4
      Matthias Badaire authored
      
      
      The RavPower WD03 is a battery powered SD card reader and a USB port.
      
      Specifications:
      SOC:     MediaTek MT7620N
      BATTERY: 6000mah
      WLAN:    802.11bgn
      LAN:     1x 10/100 Mbps Ethernet
      USB:     1x USB 2.0 (Type-A)
      RAM:     PM Tech PMD708416CTR-5CN 32 MB
      FLASH:   Holtek HT66F40 - 8 MB Flash
      LED:     Power button and 4 leds to indicate power level of the
               battery (could not get control of that)
      INPUT:   Power, reset button
      OTHER:   USB SD-Card reader with card detect on GPIO#42
      
      Tested and working:
       - Ethernet
       - 2.4 GHz WiFi (Correct MAC-address)
       - installation from tftp
       - OpenWRT sysupgrade (Preserving and non-preserving)
       - LEDs
       - Buttons
      
      Installation:
       - Download the sysupgrade image
       - Place it in the root of a clean TFTP server running on your computer.
       - Rename the image to "kernel" — be sure there is no file extension.
       - Plug the WD03 into your computer via ethernet.
       - Set your computer to use 10.10.10.254 as its IP address.
       - With your WD03 shut down, hold down the power button until the first
         white LED lights up.
       - Push and hold the reset button and release the power button. Continue
         holding the reset button for 30 seconds or until it begins searching
         for files on your TFTP server, whichever comes first.
       - The WD03 (10.10.10.128) will look for your computer at 10.10.10.254
         and install the kernel file. Once it has finished installation of the
         kernel file, it will search for a (nonexistent) rootfs file — when it
         begins searching for this file, shut down the WD03 by holding the
         power button normally.
       - Start up your WD03 normally.
      Signed-off-by: default avatarMatthias Badaire <mbadaire@gmail.com>
      5ef79af4
    • Mathias Kresin's avatar
      lantiq: kernel 4.14: Remove reboot/remove reset asserts · ef19747b
      Mathias Kresin authored
      
      
      Backport patch accepted upstream which removes the reset asserts of the
      xrx200 gphy driver on reboot/remove.
      
      While doing a global software reset, these bits are not cleared and let
      some bootloader fail to initialise the GPHYs. The bootloader don't expect
      these bits to be set, as they aren't during power on.
      
      The asserts were a workaround for a wrong syscon-reboot mask. With a mask
      set which includes the GPHY resets of the first reset register, the
      resets of the second reset register arn't required any more.
      Signed-off-by: default avatarMathias Kresin <dev@kresin.me>
      ef19747b
    • John Crispin's avatar
      ath79: drop dts/Makefile · 99f10b19
      John Crispin authored
      
      Signed-off-by: default avatarJohn Crispin <john@phrozen.org>
      99f10b19
    • Russell Senior's avatar
      ath79: u-boot partitions should be read-only in dts · 4aacd638
      Russell Senior authored
      
      
      Some of the new ath79 device trees were missing read-only tags on the
      u-boot partitions.  This adds the tags where previously missing.
      Signed-off-by: default avatarRussell Senior <russell@personaltelco.net>
      4aacd638
    • Rafał Miłecki's avatar
      ath79: use the new DT fixed partitions syntax · 4edd4cb2
      Rafał Miłecki authored
      
      
      This new syntax is slightly better designed & uses "compatible" string.
      For details see Documentation/devicetree/bindings/mtd/partition.txt .
      Signed-off-by: default avatarRafał Miłecki <rafal@milecki.pl>
      4edd4cb2
    • John Crispin's avatar
      7fe77a59
    • Kevin Darbyshire-Bryant's avatar
      igmpproxy: bump to 0.2.1 · 247055cb
      Kevin Darbyshire-Bryant authored
      
      
      The sender domain has a DMARC Reject/Quarantine policy which disallows
      sending mailing list messages using the original "From" header.
      
      To mitigate this problem, the original message has been wrapped
      automatically by the mailing list software.
      Point at github which is new, maintained location for igmpproxy.
      Remove all patches as all have been upstreamed.
      
      Closes FS#1456
      Signed-off-by: default avatarKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
      247055cb
    • Jaap Buurman's avatar
      igmpproxy: fix creation of firewall rules · 0b049264
      Jaap Buurman authored
      
      
      The init sccript for igmpproxy uses the option 'network' both as an interface name for fetching the l3_device name and for creating the firewall rules. This only works if the name of the network and firewall zone are identical.
      
      This commit introduces a new option 'zone' for configuring the upstream and downstream firewall zones in order for the init script to create the required firewall rules automatically. When no such options are given, the init script falls back to not creating the firewall rules and the user can opt to create these manually.
      Signed-off-by: default avatarJaap Buurman <jaapbuurman@gmail.com>
      0b049264
    • Nick Hainke's avatar
      hostapd: add channel utilization as config option · 0a7657c3
      Nick Hainke authored
      
      
      Add the channel utilization as hostapd configuration option.
      Signed-off-by: default avatarNick Hainke <vincent@systemli.org>
      0a7657c3
    • David Bauer's avatar
      ar71xx: add support for Fritz!Box 4020 · b6a4c674
      David Bauer authored
      
      
      This commit adds support for the AVM Fritz!Box 4020 WiFi-router.
      
      SoC:   Qualcomm Atheros QCA9561 (Dragonfly) 750MHz
      RAM:   Winbond W971GG6KB-25
      FLASH: Macronix MX25L12835F
      WiFi:  QCA9561 b/g/n 3x3 450Mbit/s
      USB:   1x USB 2.0
      IN:    WPS button, WiFi button
      OUT:   Power LED green, Internet LED green, WLAN LED green,
             LAN LED green, INFO LED green, INFO LED red
      UART:  Header Next to Black metal shield
             Pinout is 3.3V - RX - TX - GND (Square Pad is 3.3V)
             The Serial setting is 115200-8-N-1.
      
      Tested and working:
       - Ethernet (LAN + WAN)
       - WiFi (correct MAC)
       - Installation via EVA bootloader
       - OpenWRT sysupgrade
       - Buttons
       - LEDs
      
      Not working:
       - USB port
      
      Installation via EVA:
      In the first seconds after Power is connected, the bootloader will
      listen for FTP connections on 169.254.157.1 (Might also be 192.168.178.1). Firmware can be uploaded
      like following:
      
        ftp> quote USER adam2
        ftp> quote PASS adam2
        ftp> binary
        ftp> debug
        ftp> passive
        ftp> quote MEDIA FLSH
        ftp> put openwrt-sysupgrade.bin mtd1
      
      Note that this procedure might take up to two minutes. After transfer is
      complete you need to powercycle the device to boot OpenWRT.
      Signed-off-by: default avatarDavid Bauer <mail@david-bauer.net>
      b6a4c674
    • Rafał Miłecki's avatar
      ath79: relicense DTS files to the GPL 2.0+ / MIT · 66c8afd1
      Rafał Miłecki authored
      
      
      Some maintainers prefer DTS files licensed under permissive license like
      MIT / BSD. As all DT bindings should be OS independent and DTS files are
      pretty separated from Linux code it probably makes sense to share them
      across projects.
      
      The safest solution is to use dual licensing: that way it stays clear
      these files can be used in GPL projects without depending on current
      belief of licenses compatibility.
      Signed-off-by: default avatarRafał Miłecki <rafal@milecki.pl>
      Acked-by: default avatarJohn Crispin <john@phrozen.org>
      66c8afd1
    • Sandeep Sheriker Mallikarjun's avatar
      kernel: fix build error for external kernel. · 441c26da
      Sandeep Sheriker Mallikarjun authored
      
      
      fixed build error when external kernel is selected from menuconfig.
      The patches present in target/linux/generic does not gets applied
      to external kernel and build fails while compiling mac82011 &
      regmap-core kernel modules. as a fix added check in Makefile for
      CONFIG_EXTERNAL_KERNEL_TREE present or not.
      Signed-off-by: default avatarSandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
      441c26da
    • Etienne Champetier's avatar
      build: log time taken by each packages/steps · ff6e62b2
      Etienne Champetier authored
      
      
      The idea is to easily get the list of packages taking the most time to build,
      and see if we can improve them
      
      v1: Use SetupHostCommand as recommended by John
      v2: add space after 'time:', remove useless /usr/bin/time from SetupHostCommand
      Signed-off-by: default avatarEtienne Champetier <champetier.etienne@gmail.com>
      ff6e62b2
    • Yousong Zhou's avatar
      flock: enable alternatives support · f87dff8f
      Yousong Zhou authored
      
      
      Fixes FS#1510
      Signed-off-by: default avatarYousong Zhou <yszhou4tech@gmail.com>
      f87dff8f
    • Yousong Zhou's avatar
      46a2c0d9
    • Kevin Darbyshire-Bryant's avatar
      cake: bump to 20180504 bake · c451434b
      Kevin Darbyshire-Bryant authored
      
      
      The sender domain has a DMARC Reject/Quarantine policy which disallows
      sending mailing list messages using the original "From" header.
      
      To mitigate this problem, the original message has been wrapped
      automatically by the mailing list software.
      Cake is bearing fruits of kernel upstreaming efforts.
      
      diffserv-llt dropped. DSCP mapping paper died and no one using it.
      
      ack-filter re-written & simplified
      
      tc userspace & cake kmod netlink interface usage changed in non
      backwards compatible way, thus this once requires tc & cake to be
      in-step.  Change due to upstream requirements.
      Signed-off-by: default avatarKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
      c451434b
    • Kevin Darbyshire-Bryant's avatar
      iproute2: import latest cake · 080fb7a3
      Kevin Darbyshire-Bryant authored
      
      
      The sender domain has a DMARC Reject/Quarantine policy which disallows
      sending mailing list messages using the original "From" header.
      
      To mitigate this problem, the original message has been wrapped
      automatically by the mailing list software.
      Bearing fruits of the latest upstreaming efforts on cake.
      
      Changes: diffserv-llt dropped.  The paper describing this DSCP
      allocation has gone stale and doesn't appear used.
      
      The userspace to kernel netlink messages for cake have been reworked in
      a backwards incompatible way, so tc & cake must be bumped together this
      once.
      Signed-off-by: default avatarKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
      080fb7a3
    • Kevin Darbyshire-Bryant's avatar
      iproute2: backport json_print-fix-hidden-64-bit-type-promotion · ad5af37c
      Kevin Darbyshire-Bryant authored
      
      
      The sender domain has a DMARC Reject/Quarantine policy which disallows
      sending mailing list messages using the original "From" header.
      
      To mitigate this problem, the original message has been wrapped
      automatically by the mailing list software.
      print_uint() will silently promote its variable type to uint64_t, but there
      is nothing that ensures that the format string specifier passed along with
      it fits (and the function name suggest to pass "%u").
      
      Fix this by changing print_uint() to use a native 'unsigned int' type, and
      introduce a separate print_u64() function for printing 64-bit values. All
      call sites that were actually printing 64-bit values using print_uint() are
      converted to use print_u64() instead.
      
      Since print_int() was already using native int types, just add a
      print_s64() to match, but don't convert any call sites.
      
      Fixes wonkyness in some stats from some qdiscs under tc
      Signed-off-by: default avatarKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
      ad5af37c
    • John Crispin's avatar
      ath79: add new OF only target for QCA MIPS silicon · 53c474ab
      John Crispin authored
      
      
      This target aims to replace ar71xx mid-term. The big part that is still
      missing is making the MMIO/AHB wifi work using OF. NAND and mikrotik
      subtargets will follow.
      Signed-off-by: default avatarJohn Crispin <john@phrozen.org>
      53c474ab
    • John Crispin's avatar
      kernel: add OF support to rtl8355 driver · 3dc523f2
      John Crispin authored
      
      Signed-off-by: default avatarJohn Crispin <john@phrozen.org>
      3dc523f2
    • Rafał Miłecki's avatar
      bcm53xx: switch to the new/alternative SPI controller driver · ed00387d
      Rafał Miłecki authored
      
      
      This switches bcm53xx from spi-bcm53xx to the spi-bcm-qspi driver. The
      later one was developed by Broadcom and is more advanced one. It
      supports more modes, setting a speed, setting bits per word and uses
      IRQs instead of polling.
      
      This increases kernel size from 1808120 B to the 1811160 B (by 3040 B).
      Signed-off-by: default avatarRafał Miłecki <rafal@milecki.pl>
      ed00387d
    • Yousong Zhou's avatar
      toolchain: gccgo: fix building gccgo compiler · f172456e
      Yousong Zhou authored
      
      
      Fixes FS#1498.  "gccgo -static" can fail for missing linker flag
      -lgcc_eh caused by patch 850-use_shared_libgcc.patch
      Signed-off-by: default avatarYousong Zhou <yszhou4tech@gmail.com>
      f172456e
  3. 05 May, 2018 16 commits