aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* musl: fix parsing of quoted time zone namesHannu Nyman2016-10-311-0/+11
| | | | | | | | | | | | | | | 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>
* ar71xx: Add net config for MR12 & MR16Chris Blake2016-10-311-0/+2
| | | | | | | | | 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>
* ar71xx: fix ethernet on wpj344 boardChristian Mehlis2016-10-311-0/+1
| | | | | | | | | 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>
* lldpd: freeze execution of lldpd during reloadAlexandru Ardelean2016-10-311-1/+5
| | | | | | | | | | 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>
* lldpd: fix reload function for when interfaces changeAlexandru Ardelean2016-10-312-20/+44
| | | | | | | | | | | | | | | | 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>
* ath10k-firmware: update qca9984 firmwarePavel Kubelun2016-10-311-2/+3
| | | | | | 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>
* firmware-utils: fix compilation on MacOS XAlexandru Ardelean2016-10-311-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* brcm47xx: image: use append-rootfs step for per-device rootfs supportRafał Miłecki2016-10-281-18/+18
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm47xx: image: make TRX steps work with rootfs passed as $@Rafał Miłecki2016-10-281-2/+4
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm47xx: image: make linksys-pattern-partition leave specific fileRafał Miłecki2016-10-281-2/+2
| | | | | | | 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>
* apm821xx: fix USB LED trigger for WNDR4700Rafał Miłecki2016-10-281-2/+1
| | | | | | | | | 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>
* openvpn: cacert does not existJohn Crispin2016-10-271-2/+2
| | | | | | cacert is really called ca and already in the script Signed-off-by: John Crispin <john@phrozen.org>
* config: ext4: increase x86 rootfs size to 2GB to support online resize2fsJo-Philipp Wich2016-10-271-1/+2
| | | | | | | | | | | | | | | | | | | 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>
* config: ext4: drop option to set maximum number of inodesJo-Philipp Wich2016-10-272-8/+0
| | | | | | | | | | | 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>
* include: image.mk: make ext4 reserved blocks percentage optionalJo-Philipp Wich2016-10-271-1/+1
| | | | | | | | 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>
* linux/modules: drop ledtrig-netfilterJohn Crispin2016-10-271-21/+0
| | | | | | this is a duplicate of kmod-ipt-led Signed-off-by: John Crispin <john@phrozen.org>
* openvpn: add handling for capath and cafileJohn Crispin2016-10-271-1/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* brcm47xx: add support for per-device rootfsRafał Miłecki2016-10-271-4/+95
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* package/network/utils/ipset: Update to 6.30Daniel Engberg2016-10-271-2/+2
| | | | | | Updates to 6.30 Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* util-linux: disc -> Disc and moved some packagesAlberto Bursi2016-10-271-11/+11
| | | | | | | | | 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>
* ath10k-ct: Add QCA9888/9886 support, fix compat issue.Ben Greear2016-10-271-2/+2
| | | | | | | This should fix problems with latest backports, and also adds driver support for QCA9888 chipset. Signed-off-by: Ben Greear <greearb@candelatech.com>
* base-files: Ensure reset only works if an overlay existsChris Blake2016-10-271-1/+5
| | | | | | | | | | | | | | 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>
* netifd: update to latest git HEADJohn Crispin2016-10-271-3/+3
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* uboot-kirkwood: fix default bootcmd for Seagate DockstarPaul Wassi2016-10-271-1/+1
| | | | | | | 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>
* uboot-kirkwood: bump to upstream 2016.09.01Paul Wassi2016-10-2717-385/+52
| | | | | | | 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>
* imx6: Add ds1672 RTC to kernel for working hctosys (Gateworks)Koen Vandeputte2016-10-271-0/+1
| | | | | | | | | | Fixes the same hctosys init issue as described in commit 5481ce9a1157a43d8b2c963e03fb243e70974361 The Gateworks Ventana family uses an emulated Dallas 1672 RTC device. Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* ar71xx: add support for D-Link DAP-2695 rev. A1Stijn Tintel2016-10-2713-0/+270
| | | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Acked-by: John Crispin <john@phrozen.org>
* ar71xx: build relocate stub for generic and legacy imagesStijn Tintel2016-10-272-7/+4
| | | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Acked-by: John Crispin <john@phrozen.org>
* ar71xx/base-files: rename 09_fix-trx-header 09_fix-checksumStijn Tintel2016-10-271-0/+0
| | | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Acked-by: John Crispin <john@phrozen.org>
* mtd: add fixwrgg commandStijn Tintel2016-10-275-3/+239
| | | | | | | Based on fixseama. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Acked-by: John Crispin <john@phrozen.org>
* mtd: fix endianness detection on muslStijn Tintel2016-10-272-0/+2
| | | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Acked-by: John Crispin <john@phrozen.org>
* kernel: mtdsplit: add support for WRGG imagesStijn Tintel2016-10-277-0/+119
| | | | | | | | 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>
* firmware-utils: mkwrggimg: new tool for D-Link DAP-2695Stijn Tintel2016-10-272-0/+283
| | | | | | | Based on mkwrgimg.c. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Acked-by: John Crispin <john@phrozen.org>
* dnsmasq: Multiple dnsmasq instances supportHans Dedecker2016-10-261-185/+270
| | | | | | | | | | | | | | | | | | | 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>
* grub2: add missing SECTION variable and remove non breaking spaceJo-Philipp Wich2016-10-261-1/+2
| | | | | | | | Fix metadata scan failure in the grub2 package by removing an unexpected invisible space character and by adding back the missing SECTION variable which was removed with d140648. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ipip: Support fqdn as remote tunnel endpointHans Dedecker2016-10-262-3/+16
| | | | Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* uhttpd: create self-signed certificates with unique subjectsHannu Nyman2016-10-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Add a partially random O= item to the certificate subject in order to make the automatically generated certificates' subjects unique. Firefox has problems when several self-signed certificates with CA:true attribute and identical subjects have been seen (and stored) by the browser. Reference to upstream bugs: https://bugzilla.mozilla.org/show_bug.cgi?id=1147544 https://bugzilla.mozilla.org/show_bug.cgi?id=1056341 https://bugzilla.redhat.com/show_bug.cgi?id=1204670#c34 Certificates created by the OpenSSL one-liner fall into that category. Avoid identical certificate subjects by including a new 'O=' item with CommonName + a random part (8 chars). Example: /CN=LEDE/O=LEDEb986be0b/L=Unknown/ST=Somewhere/C=ZZ That ensures that the browser properly sees the accumulating certificates as separate items and does not spend time trying to form a trust chain from them. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* uhttpd: prefer px5g for certificate creationHannu Nyman2016-10-261-2/+2
| | | | | | | Prefer the old default 'px5g' for certificate creation as Firefox seems to dislike OpenSSL-created certs. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* netifd: Request DHCP option 121 (classless route) by defaultBaptiste Jonglez2016-10-261-2/+5
| | | | | | | | | | | | | | | | | | | This option, defined by RFC3442, allows a DHCP server to send static routes to a client. But the client has to request this option explicitely. Static routes are useful when the gateway configured by DHCP cannot be in the same subnet as the client. This happens, for instance, when using DHCP to hand out addresses in /32 subnets. A new configuration option "classlessroute" is available, allowing users to disable this feature (the option defaults to true). Other DHCP clients already request this option by default (dhcpcd, for instance, and possibly Windows). If a DHCP server does not support this option, it will simply ignore it. Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>
* wwan: rename data filesSimon Hailes2016-10-26348-0/+10
| | | | | | This is to ensure that git can be cloned onto a windows drive without failing. Signed-off-by: Simon Hailes <btsimonh@googlemail.com>
* usbmode: rename data filesSimon Hailes2016-10-262-0/+11
| | | | | | This is to ensure that git can be cloned onto a windows drive without failing. Signed-off-by: Simon Hailes <btsimonh@googlemail.com>
* ar71xx: Ignore firmware building errors of UBNT and CyberTAN devicesChuanhong Guo2016-10-262-13/+14
| | | | Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
* px5g-standalone: move to Encryption submenu and fix TitleAlberto Bursi2016-10-261-1/+2
| | | | | | | | moved px5g-standalone to Encryption submenu of Utilities. Fixed title by removing the first "standalone" word from title. The name is now consistent with other px5g packages, it is also shorter and will be shown in make menuconfig. Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
* px5g: move to Encryption submenuAlberto Bursi2016-10-261-0/+1
| | | | | | moved px5g to Encryption submenu of Utilities, in an effort to tidy up a bit the Utilities section of make menuconfig. Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
* package/uboot-envtools: Add support for ZyXEL NBG6817André Valentin2016-10-261-0/+3
| | | | Signed-off-by: André Valentin <avalentin@marcant.net>
* package/basefiles: add mkfs.ext4 and losetup binaries to ramfs listAndré Valentin2016-10-261-0/+2
| | | | | | | mkfs.ext4 und losetup are needed for sysupgrade support on mmc devices with automatic rootfs split (loopback device usage). Signed-off-by: André Valentin <avalentin@marcant.net>
* ipq806x/nbg6817: add sysupgrade supportAndré Valentin2016-10-262-0/+99
| | | | | | Add new way of flashing to mmc devices based on rootfs split with loop devices. Signed-off-by: André Valentin <avalentin@marcant.net>
* linux/mtd: add id for mx25u3235f needed by ZyXEL NBG6817André Valentin2016-10-261-0/+10
| | | | Signed-off-by: André Valentin <avalentin@marcant.net>
* ipq806x/nbg6817: add support for ZyXEL NBG6817André Valentin2016-10-268-8/+400
| | | | | | | | | | | | | | | | | CPU: 2x1.8GHz ARM, RAM: 512MiB Storage: 4MiB serial Flash, 3.9GiB MMC NIC: 2x1GBit/s, Switch with 5 external and 2 internal ports WiFi: Dualband, ath10k 2.4GHz, 5GHz MU-MIMO For installation copy xx-mmcblk0p4-kernel.bin and xx-mmcblk0p5-rootfs-full.bin to device. Then run: cat xx-mmcblk0p4-kernel.bin > /dev/mmc0blk0p4 cat xx-mmcblk0p5-rootfs-full.bin > /dev/mmc0blk0p5 reboot -f For debugging serial console is easily visible on board, no soldering needed. Signed-off-by: André Valentin <avalentin@marcant.net>
* strace: Update to 4.14Daniel Engberg2016-10-261-2/+2
| | | | | | Update to version 4.14 Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>