1. 31 Oct, 2016 13 commits
    • Paul Wassi's avatar
      kernel: update kernel 4.4 to version 4.4.28 · a5693544
      Paul Wassi authored
      
      
      Refresh patches for all targets that support kernel 4.4.
      compile/run-tested on ar71xx, brcm47xx, kirkwood.
      Signed-off-by: default avatarPaul Wassi <p.wassi@gmx.at>
      Tested-by: default avatarKoen Vandeputte <koen.vandeputte@ncentric.com>
      a5693544
    • Petr Štetiar's avatar
      base-files: sysfixtime: Keep RTC time in UTC timezone · 9e8e8b72
      Petr Štetiar authored
      
      
      We need to tell hwclock with -u commandline option, that we would like
      to keep our RTC clock in UTC timezone. Linux kernel expects RTC in UTC
      timezone anyway.
      
      In current state of things, we don't tell hwclock to load/store time
      from/to RTC in UTC timezone so it uses the timezone from the system
      time. If it's set to different timezone then UTC, sysfixtime is going to
      screw the time in RTC.
      
      I've following in the setup script:
      
        uci set system.@system[0].timezone='CET-1CEST,M3.5.0,M10.5.0/3'
        uci set system.@system[0].zonename='Europe/Prague'
      
      I've this RTC setup (rtc1 is RTC on i.MX6 SoC, rtc0 is battery backed RTC mcp7941x):
      
        rtc-ds1307 3-006f: rtc core: registered mcp7941x as rtc0
        snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc1
      
      Then we can experience following (current time is 10:15am):
      
      	$ date
      	Fri Oct 21 10:15:07 CEST 2016
      
      	$ hwclock -r -f /dev/rtc0
      	Fri Oct 21 08:14:46 2016  0.000000 seconds
      
      	$ hwclock -u -r -f /dev/rtc0
      	Fri Oct 21 10:14:46 2016  0.000000 seconds
      
      And after current broken sysfixtime:
      
      	$ /etc/init.d/sysfixtime stop
      
      	$ date
      	Fri Oct 21 10:15:25 CEST 2016
      
      	$ hwclock -r -f /dev/rtc0
      	Fri Oct 21 10:15:31 2016  0.000000 seconds
      
      Now we've time in our battery backed RTC in CEST timezone instead of
      UTC.  Then once again, but with this patch applied to sysfixtime, where
      hwclock is using correctly the -u parameter:
      
      	$ /etc/init.d/sysfixtime stop
      
      	$ date
      	Fri Oct 21 10:15:53 CEST 2016
      
      	$ hwclock -r -f /dev/rtc0
      	Fri Oct 21 08:15:55 2016  0.000000 seconds
      Signed-off-by: default avatarPetr Štetiar <ynezz@true.cz>
      Acked-by: default avatarJo-Philipp Wich <jo@mein.io>
      9e8e8b72
    • Hauke Mehrtens's avatar
      kernel: deactivate CONFIG_QCOM_SPMI_TEMP_ALARM · 76847c7f
      Hauke Mehrtens authored
      
      
      This fixes the build of the ipq806x target.
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      76847c7f
    • Alexis Green's avatar
      hostapd: properly package wpa-supplicant-mesh · 12f0d540
      Alexis Green authored
      
      
      Ensure that selecting the wpa-supplicant-mesh package actually packages the
      wpa_supplicant binary with SAE support and add missing dependency on OpenSSL.
      Signed-off-by: default avatarAlexis Green <alexis@cessp.it>
      [Jo-Philipp Wich: slightly reword commit message for clarity]
      Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
      12f0d540
    • Petr Konecny's avatar
    • Daniel Dickinson's avatar
      uhttpd: Add Basic Auth config · 98c86e29
      Daniel Dickinson authored
      
      
      We add an 'httpauth' section type that contains the options:
      
      prefix: What virtual or real URL is being protected
      username: The username for the Basic Auth dialogue
      password: Hashed (crypt()) or plaintext password for the Basic Auth dialogue
      
      httpauth section names are given included as list
      items to the instances to which they are to be applied.
      
      Further any existing httpd.conf file (really whatever
      is configured in the instance, but default of
      /etc/httpd.conf) is appended to the per-instance httpd.conf
      Signed-off-by: default avatarDaniel Dickinson <lede@cshore.thecshore.com>
      98c86e29
    • Hannu Nyman's avatar
      musl: fix parsing of quoted time zone names · 671cb358
      Hannu Nyman authored
      fix parsing of the < > quoted time zone names. Compare the correct
      character instead of repeatedly comparing the first character.
      
      Patch has been submitted to upstream as
      http://www.openwall.com/lists/musl/2016/10/24/3
      
      Longer explanation in
      http://www.openwall.com/lists/musl/2016/10/19/1
      
      Signed-off-by: default avatarHannu Nyman <hannu.nyman@iki.fi>
      [Jo-Philipp Wich: move references into commit message, shorten title prefix]
      Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
      671cb358
    • Chris Blake's avatar
      ar71xx: Add net config for MR12 & MR16 · 53b43e65
      Chris Blake authored
      
      
      Both the MR12 and MR16 are single gigabit ethernet devices, similar to the
      MR18. This change gives them the correct network config on a fresh install.
      Signed-off-by: default avatarChris Blake <chrisrblake93@gmail.com>
      [Jo-Philipp Wich: adjust for alphabetical ordering, line wrap commit msg]
      Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
      53b43e65
    • Christian Mehlis's avatar
      ar71xx: fix ethernet on wpj344 board · 7cb82d4b
      Christian Mehlis authored
      In 814d70b2
      
       the member mac06_exchange_en of struct
      ar8327_pad_cfg was changed to mac06_exchange_dis,
      but wpj344 was not adopted to stay in sync.
      Signed-off-by: default avatarChristian Mehlis <christian@m3hlis.de>
      Reported-by: default avatarNick Dennis <ndennis@rapiduswireless.com>
      7cb82d4b
    • Alexandru Ardelean's avatar
      lldpd: freeze execution of lldpd during reload · b7fadb12
      Alexandru Ardelean authored
      
      
      During reload, we could send invalid information to the other
      side and confuse it.
      
      That's why, during reload we'll pause execution, do the reconfig
      and resume + update when reload is done.
      Signed-off-by: default avatarAlexandru Ardelean <ardeleanalex@gmail.com>
      b7fadb12
    • Alexandru Ardelean's avatar
      lldpd: fix reload function for when interfaces change · 909f0630
      Alexandru Ardelean authored
      
      
      The problem is that interfaces are specified at start as
      command line arguments, making them unchange-able via reload.
      
      That means, we have to move (since lldpd allows this) the
      interfaces-match-pattern option to be in a config file and reload
      the configuration.
      It's either that, or do a 'restart'.
      
      Since we're generating the lldpd.conf file, we'll have to
      move the 'sysconfdir' of lldpd to /tmp, where the files will
      get written ; this will prevent any unncessary flash writes.
      Signed-off-by: default avatarAlexandru Ardelean <ardeleanalex@gmail.com>
      909f0630
    • Pavel Kubelun's avatar
      ath10k-firmware: update qca9984 firmware · ccf0648e
      Pavel Kubelun authored
      
      Signed-off-by: default avatarPavel Kubelun <be.dissent@gmail.com>
      [Jo-Philipp Wich: add mirror sha256 sum]
      Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
      ccf0648e
    • Alexandru Ardelean's avatar
      firmware-utils: fix compilation on MacOS X · 00d1e6c7
      Alexandru Ardelean authored
      
      
      Looking into /usr/include/stdlib.h, there's a `devname()` function defined
      under some #ifdef's which conflicts with the `static char *devname` definition
      in `src/mkwrggimg.c`.
      
      Defining `_ANSI_SOURCE` in the `src/mkwrggimg.c` file, omits that part of the
      header.
      
      Another more intrusive approach is to rename `devname` to something like
      `g_devname` in `src/mkwrggimg.c`. But I think the `_ANSI_SOURCE` define should
      be enough.
      
      Compilation error is:
      
          src/mkwrggimg.c:64:14: error: redefinition of 'devname' as different kind of symbol
          static char *devname;
                       ^
          /usr/include/stdlib.h:286:7: note: previous definition is here
          char    *devname(dev_t, mode_t);
                   ^
          src/mkwrggimg.c:147:12: error: non-object type 'char *(dev_t, mode_t)' (aka 'char *(int, unsigned short)') is not assignable
                                  devname = optarg;
                                  ~~~~~~~ ^
          src/mkwrggimg.c:192:6: warning: comparison of function 'devname' equal to a null pointer is always false [-Wtautological-pointer-compare]
                  if (devname == NULL) {
                      ^~~~~~~    ~~~~
          src/mkwrggimg.c:192:6: note: prefix with the address-of operator to silence this warning
                  if (devname == NULL) {
                      ^
                      &
          src/mkwrggimg.c:251:27: warning: incompatible pointer types passing 'char *(dev_t, mode_t)' (aka 'char *(int, unsigned short)') to parameter of type 'const char *' [-Wincompatible-pointer-types]
                  strncpy(header->devname, devname, sizeof(header->devname));
                                           ^~~~~~~
          /usr/include/secure/_string.h:119:34: note: expanded from macro 'strncpy'
            __builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
      Signed-off-by: default avatarAlexandru Ardelean <ardeleanalex@gmail.com>
      [Jo-Philipp Wich: slightly reformat commit message]
      Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
      00d1e6c7
  2. 28 Oct, 2016 4 commits
  3. 27 Oct, 2016 14 commits
  4. 26 Oct, 2016 9 commits