- 31 Oct, 2016 13 commits
-
-
Paul Wassi authored
Refresh patches for all targets that support kernel 4.4. compile/run-tested on ar71xx, brcm47xx, kirkwood. Signed-off-by:
Paul Wassi <p.wassi@gmx.at> Tested-by:
Koen Vandeputte <koen.vandeputte@ncentric.com>
-
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:
Petr Štetiar <ynezz@true.cz> Acked-by:
Jo-Philipp Wich <jo@mein.io>
-
Hauke Mehrtens authored
This fixes the build of the ipq806x target. Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de>
-
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:
Alexis Green <alexis@cessp.it> [Jo-Philipp Wich: slightly reword commit message for clarity] Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
Petr Konecny authored
Signed-off-by:
Petr Konecny <pekon@google.com>
-
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:
Daniel Dickinson <lede@cshore.thecshore.com>
-
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:
Hannu Nyman <hannu.nyman@iki.fi> [Jo-Philipp Wich: move references into commit message, shorten title prefix] Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
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:
Chris Blake <chrisrblake93@gmail.com> [Jo-Philipp Wich: adjust for alphabetical ordering, line wrap commit msg] Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
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:
Christian Mehlis <christian@m3hlis.de> Reported-by:
Nick Dennis <ndennis@rapiduswireless.com>
-
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:
Alexandru Ardelean <ardeleanalex@gmail.com>
-
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:
Alexandru Ardelean <ardeleanalex@gmail.com>
-
Pavel Kubelun authored
Signed-off-by:
Pavel Kubelun <be.dissent@gmail.com> [Jo-Philipp Wich: add mirror sha256 sum] Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
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:
Alexandru Ardelean <ardeleanalex@gmail.com> [Jo-Philipp Wich: slightly reformat commit message] Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
- 28 Oct, 2016 4 commits
-
-
Rafał Miłecki authored
Signed-off-by:
Rafał Miłecki <rafal@milecki.pl>
-
Rafał Miłecki authored
Signed-off-by:
Rafał Miłecki <rafal@milecki.pl>
-
Rafał Miłecki authored
Thanks to leaving .pattern file we can easily insert extra step between linksys-pattern-partition and trx-v2-with-loader, e.g. rootfs one. Signed-off-by:
Rafał Miłecki <rafal@milecki.pl>
-
Rafał Miłecki authored
The old usbdev trigger never supported assigning more than 1 USB port. This code we got was never working as expected and it was missing 2 more ports. Switch to usbport to have LED working with all ports. Signed-off-by:
Rafał Miłecki <rafal@milecki.pl> Tested-by:
Christian Lamparter <chunkeey@gmail.com>
-
- 27 Oct, 2016 14 commits
-
-
John Crispin authored
cacert is really called ca and already in the script Signed-off-by:
John Crispin <john@phrozen.org>
-
Jo-Philipp Wich authored
The current default rootfs size of 256MB in conjunction with 4K blocks produces an ext4 filesystem which lacks the appropriate amount of backup GDT entries to support online-resizing. For x86 targets, increase the default rootfs size to 2048MB which allows online resizing the filesystem to up to 2TB which is the current theoretical maximum for LEDE, due to missing GPT support on the root block device. Note that the filesystem artefact will not occupy 2GB on the build system as the make_ext4fs utility uses sparse files to generate the filesystem images, so the actual disk usage is much lower. Furthermore the filesystem images are gzip compressed, shrinking them to only a few megabytes on the download server. Signed-off-by:
Jo-Philipp Wich <jo@mein.io> Acked-by:
Michael Heimpold <mhei@heimpold.de>
-
Jo-Philipp Wich authored
There is very little practical use to limit the number of available inodes on an ext4 filesystem and the make_ext4fs utility is able to calculate useful defaults by itself. Drop the option to make resulting ext4 filesystems more flexible by default. Signed-off-by:
Jo-Philipp Wich <jo@mein.io> Acked-by:
Michael Heimpold <mhei@heimpold.de>
-
Jo-Philipp Wich authored
Allow CONFIG_TARGET_EXT4_RESERVED_PCT to be empty as make_ext4fs is usually able to figure out a suitable default. Signed-off-by:
Jo-Philipp Wich <jo@mein.io> Reviewed-by:
Michael Heimpold <mhei@heimpold.de>
-
John Crispin authored
this is a duplicate of kmod-ipt-led Signed-off-by:
John Crispin <john@phrozen.org>
-
John Crispin authored
Signed-off-by:
John Crispin <john@phrozen.org>
-
Rafał Miłecki authored
Signed-off-by:
Rafał Miłecki <rafal@milecki.pl>
-
Daniel Engberg authored
Updates to 6.30 Signed-off-by:
Daniel Engberg <daniel.engberg.lists@pyret.net>
-
Alberto Bursi authored
Capitalized "disc" submenu name as all submenu names are capitalized (apart from "database", but I'll fix that later). moved "swap-utils" to Filesystem submenu as it is "formatting" a partition as swap so it looks out of place in Disc. Signed-off-by:
Alberto Bursi <alberto.bursi@outlook.it>
-
Ben Greear authored
This should fix problems with latest backports, and also adds driver support for QCA9888 chipset. Signed-off-by:
Ben Greear <greearb@candelatech.com>
-
Chris Blake authored
Currently the reset script will try to run jffs2reset on boards that are running a rw rootfs, such as ext4. This will cause jffs2reset to fail and the board to never reboot while the LED blinks until a manual reboot. This commit does two different things: 1. Disables reset on boards that do not have an overlay mount 2. Disables the Blinking LED after 5 seconds if the board does not support reset Signed-off-by:
Chris Blake <chrisrblake93@gmail.com>
-
John Crispin authored
Signed-off-by:
John Crispin <john@phrozen.org>
-
Paul Wassi authored
Fix the default value for the 'bootcmd' environment variable. Therefore make the default bootcmd work for buildbot's images. Signed-off-by:
Paul Wassi <p.wassi@gmx.at>
-
Paul Wassi authored
Bump U-Boot for Kirkwood to upstream 2016.09.01. Local patches cleaned up and reworked. Signed-off-by:
Paul Wassi <p.wassi@gmx.at>
-
- 26 Oct, 2016 9 commits
-
-
Koen Vandeputte authored
Fixes the same hctosys init issue as described in commit 5481ce9a The Gateworks Ventana family uses an emulated Dallas 1672 RTC device. Signed-off-by:
Koen Vandeputte <koen.vandeputte@ncentric.com>
-
Stijn Tintel authored
Signed-off-by:
Stijn Tintel <stijn@linux-ipv6.be> Acked-by:
John Crispin <john@phrozen.org>
-
Stijn Tintel authored
Signed-off-by:
Stijn Tintel <stijn@linux-ipv6.be> Acked-by:
John Crispin <john@phrozen.org>
-
Stijn Tintel authored
Signed-off-by:
Stijn Tintel <stijn@linux-ipv6.be> Acked-by:
John Crispin <john@phrozen.org>
-
Stijn Tintel authored
Based on fixseama. Signed-off-by:
Stijn Tintel <stijn@linux-ipv6.be> Acked-by:
John Crispin <john@phrozen.org>
-
Stijn Tintel authored
Signed-off-by:
Stijn Tintel <stijn@linux-ipv6.be> Acked-by:
John Crispin <john@phrozen.org>
-
Stijn Tintel authored
Support splitting WRGG images, found in some D-Link devices (e.g. DAP-2695). Signed-off-by:
Stijn Tintel <stijn@linux-ipv6.be> Acked-by:
John Crispin <john@phrozen.org>
-
Stijn Tintel authored
Based on mkwrgimg.c. Signed-off-by:
Stijn Tintel <stijn@linux-ipv6.be> Acked-by:
John Crispin <john@phrozen.org>
-
Hans Dedecker authored
Adds support in uci for configuring multiple dnsmasq instances via multiple dnsmasq sections. The uci sections host, boot, mac, tag, vendorclass, userclass, circuitid, ... will refer to a dnsmasq instance via the instance parameter defined in the section; if the instance parameter is not specified backwards compatibility is preserved. Start/Stopping a dnsmasq instance can be achieved by passing the dnsmasq instance name as argument to start/stop via the init script. Multiple dnsmasq instances is usefull in scenarios where you want to bind a dnsmasq instance to an interface in order to isolate networks. This patch is a rework of a multiple dnsmasq instance patch by Daniel Dickinson Signed-off-by:
Hans Dedecker <dedeckeh@gmail.com>
-