openwrt/staging/jow.git
8 years agoipq806x: add reserved memory node in Netgear R7800
Pavel Kubelun [Tue, 25 Oct 2016 16:46:04 +0000 (19:46 +0300)]
ipq806x: add reserved memory node in Netgear R7800

KERNEL BUG: BAD_PAGE_STATE in process appears here and there during intensive memory usage.

Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
8 years agoramips: Add RTC driver to kernel for working hctosys
Rosen Penev [Sun, 30 Oct 2016 03:50:45 +0000 (20:50 -0700)]
ramips: Add RTC driver to kernel for working hctosys

Build the RTC driver into the kernel, (and remove the optional module), in order
to make hctosys working. (Currently the module is loaded after hctosys has failed previously)

Signed-off-by: Rosen Penev <rosenp@gmail.com>
8 years agoipq806x: ArcherC2600: export usb power pins
Henryk Heisig [Sat, 29 Oct 2016 20:19:32 +0000 (22:19 +0200)]
ipq806x: ArcherC2600: export usb power pins

Signed-off-by: Henryk Heisig <hyniu@o2.pl>
8 years agoipq806x: ArcherC2600: devictree cleanup
Henryk Heisig [Sat, 29 Oct 2016 19:49:09 +0000 (21:49 +0200)]
ipq806x: ArcherC2600: devictree cleanup

add blank lines and use macros for GPIOs

Signed-off-by: Henryk Heisig <hyniu@o2.pl>
8 years agofstools: update to latest git HEAD
John Crispin [Mon, 31 Oct 2016 15:38:26 +0000 (16:38 +0100)]
fstools: update to latest git HEAD

adds f2fs support

Signed-off-by: John Crispin <john@phrozen.org>
8 years agokernel: update kernel 4.4 to version 4.4.28
Paul Wassi [Sat, 29 Oct 2016 07:56:58 +0000 (09:56 +0200)]
kernel: update kernel 4.4 to version 4.4.28

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>
8 years agobase-files: sysfixtime: Keep RTC time in UTC timezone
Petr Štetiar [Mon, 31 Oct 2016 10:50:09 +0000 (11:50 +0100)]
base-files: sysfixtime: Keep RTC time in UTC timezone

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>
8 years agokernel: deactivate CONFIG_QCOM_SPMI_TEMP_ALARM
Hauke Mehrtens [Mon, 31 Oct 2016 13:34:08 +0000 (14:34 +0100)]
kernel: deactivate CONFIG_QCOM_SPMI_TEMP_ALARM

This fixes the build of the ipq806x target.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
8 years agohostapd: properly package wpa-supplicant-mesh
Alexis Green [Fri, 7 Oct 2016 20:09:13 +0000 (13:09 -0700)]
hostapd: properly package wpa-supplicant-mesh

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>
8 years agohostapd support for VLANs through a file in addition to Radius.
Petr Konecny [Fri, 28 Oct 2016 16:29:15 +0000 (09:29 -0700)]
hostapd support for VLANs through a file in addition to Radius.

Signed-off-by: Petr Konecny <pekon@google.com>
8 years agouhttpd: Add Basic Auth config
Daniel Dickinson [Sat, 13 Aug 2016 23:24:59 +0000 (19:24 -0400)]
uhttpd: Add Basic Auth config

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>
8 years agomusl: fix parsing of quoted time zone names
Hannu Nyman [Thu, 27 Oct 2016 09:22:05 +0000 (12:22 +0300)]
musl: fix parsing of quoted time zone names

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>
8 years agoar71xx: Add net config for MR12 & MR16
Chris Blake [Sun, 30 Oct 2016 04:16:03 +0000 (23:16 -0500)]
ar71xx: Add net config for MR12 & MR16

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>
8 years agoar71xx: fix ethernet on wpj344 board
Christian Mehlis [Fri, 28 Oct 2016 12:56:13 +0000 (14:56 +0200)]
ar71xx: fix ethernet on wpj344 board

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>
8 years agolldpd: freeze execution of lldpd during reload
Alexandru Ardelean [Tue, 5 Jan 2016 07:40:22 +0000 (09:40 +0200)]
lldpd: freeze execution of lldpd during reload

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>
8 years agolldpd: fix reload function for when interfaces change
Alexandru Ardelean [Wed, 21 Oct 2015 13:11:09 +0000 (16:11 +0300)]
lldpd: fix reload function for when interfaces change

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>
8 years agoath10k-firmware: update qca9984 firmware
Pavel Kubelun [Thu, 13 Oct 2016 13:23:43 +0000 (16:23 +0300)]
ath10k-firmware: update qca9984 firmware

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>
8 years agofirmware-utils: fix compilation on MacOS X
Alexandru Ardelean [Fri, 28 Oct 2016 06:52:12 +0000 (09:52 +0300)]
firmware-utils: fix compilation on MacOS X

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>
8 years agobrcm47xx: image: use append-rootfs step for per-device rootfs support
Rafał Miłecki [Fri, 28 Oct 2016 15:03:55 +0000 (17:03 +0200)]
brcm47xx: image: use append-rootfs step for per-device rootfs support

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
8 years agobrcm47xx: image: make TRX steps work with rootfs passed as $@
Rafał Miłecki [Fri, 28 Oct 2016 14:43:19 +0000 (16:43 +0200)]
brcm47xx: image: make TRX steps work with rootfs passed as $@

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
8 years agobrcm47xx: image: make linksys-pattern-partition leave specific file
Rafał Miłecki [Fri, 28 Oct 2016 14:39:08 +0000 (16:39 +0200)]
brcm47xx: image: make linksys-pattern-partition leave specific file

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>
8 years agoapm821xx: fix USB LED trigger for WNDR4700
Rafał Miłecki [Fri, 28 Oct 2016 10:40:01 +0000 (12:40 +0200)]
apm821xx: fix USB LED trigger for WNDR4700

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>
8 years agoopenvpn: cacert does not exist
John Crispin [Thu, 27 Oct 2016 17:52:33 +0000 (19:52 +0200)]
openvpn: cacert does not exist

cacert is really called ca and already in the script

Signed-off-by: John Crispin <john@phrozen.org>
8 years agoconfig: ext4: increase x86 rootfs size to 2GB to support online resize2fs
Jo-Philipp Wich [Sat, 15 Oct 2016 23:59:44 +0000 (01:59 +0200)]
config: ext4: increase x86 rootfs size to 2GB to support online resize2fs

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>
8 years agoconfig: ext4: drop option to set maximum number of inodes
Jo-Philipp Wich [Sat, 15 Oct 2016 23:59:43 +0000 (01:59 +0200)]
config: ext4: drop option to set maximum number of inodes

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>
8 years agoinclude: image.mk: make ext4 reserved blocks percentage optional
Jo-Philipp Wich [Sat, 15 Oct 2016 23:59:42 +0000 (01:59 +0200)]
include: image.mk: make ext4 reserved blocks percentage optional

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>
8 years agolinux/modules: drop ledtrig-netfilter
John Crispin [Thu, 27 Oct 2016 13:29:36 +0000 (15:29 +0200)]
linux/modules: drop ledtrig-netfilter

this is a duplicate of kmod-ipt-led

Signed-off-by: John Crispin <john@phrozen.org>
8 years agoopenvpn: add handling for capath and cafile
John Crispin [Thu, 27 Oct 2016 13:19:59 +0000 (15:19 +0200)]
openvpn: add handling for capath and cafile

Signed-off-by: John Crispin <john@phrozen.org>
8 years agobrcm47xx: add support for per-device rootfs
Rafał Miłecki [Mon, 24 Oct 2016 19:33:21 +0000 (21:33 +0200)]
brcm47xx: add support for per-device rootfs

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
8 years agopackage/network/utils/ipset: Update to 6.30
Daniel Engberg [Mon, 24 Oct 2016 21:16:59 +0000 (23:16 +0200)]
package/network/utils/ipset: Update to 6.30

Updates to 6.30

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
8 years agoutil-linux: disc -> Disc and moved some packages
Alberto Bursi [Thu, 27 Oct 2016 06:32:50 +0000 (08:32 +0200)]
util-linux: disc -> Disc and moved some packages

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>
8 years agoath10k-ct: Add QCA9888/9886 support, fix compat issue.
Ben Greear [Tue, 25 Oct 2016 22:47:37 +0000 (15:47 -0700)]
ath10k-ct: Add QCA9888/9886 support, fix compat issue.

This should fix problems with latest backports, and also adds
driver support for QCA9888 chipset.

Signed-off-by: Ben Greear <greearb@candelatech.com>
8 years agobase-files: Ensure reset only works if an overlay exists
Chris Blake [Mon, 24 Oct 2016 18:13:15 +0000 (13:13 -0500)]
base-files: Ensure reset only works if an overlay exists

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>
8 years agonetifd: update to latest git HEAD
John Crispin [Thu, 27 Oct 2016 10:02:21 +0000 (12:02 +0200)]
netifd: update to latest git HEAD

Signed-off-by: John Crispin <john@phrozen.org>
8 years agouboot-kirkwood: fix default bootcmd for Seagate Dockstar
Paul Wassi [Tue, 25 Oct 2016 07:57:25 +0000 (09:57 +0200)]
uboot-kirkwood: fix default bootcmd for Seagate Dockstar

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>
8 years agouboot-kirkwood: bump to upstream 2016.09.01
Paul Wassi [Wed, 26 Oct 2016 09:14:47 +0000 (11:14 +0200)]
uboot-kirkwood: bump to upstream 2016.09.01

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>
8 years agoimx6: Add ds1672 RTC to kernel for working hctosys (Gateworks)
Koen Vandeputte [Wed, 26 Oct 2016 14:10:03 +0000 (16:10 +0200)]
imx6: Add ds1672 RTC to kernel for working hctosys (Gateworks)

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>
8 years agoar71xx: add support for D-Link DAP-2695 rev. A1
Stijn Tintel [Mon, 18 Jul 2016 17:39:57 +0000 (19:39 +0200)]
ar71xx: add support for D-Link DAP-2695 rev. A1

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: John Crispin <john@phrozen.org>
8 years agoar71xx: build relocate stub for generic and legacy images
Stijn Tintel [Fri, 21 Oct 2016 14:50:39 +0000 (17:50 +0300)]
ar71xx: build relocate stub for generic and legacy images

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: John Crispin <john@phrozen.org>
8 years agoar71xx/base-files: rename 09_fix-trx-header 09_fix-checksum
Stijn Tintel [Sun, 7 Aug 2016 17:01:20 +0000 (19:01 +0200)]
ar71xx/base-files: rename 09_fix-trx-header 09_fix-checksum

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: John Crispin <john@phrozen.org>
8 years agomtd: add fixwrgg command
Stijn Tintel [Sun, 7 Aug 2016 16:51:12 +0000 (18:51 +0200)]
mtd: add fixwrgg command

Based on fixseama.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: John Crispin <john@phrozen.org>
8 years agomtd: fix endianness detection on musl
Stijn Tintel [Fri, 21 Oct 2016 14:32:03 +0000 (17:32 +0300)]
mtd: fix endianness detection on musl

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: John Crispin <john@phrozen.org>
8 years agokernel: mtdsplit: add support for WRGG images
Stijn Tintel [Sun, 7 Aug 2016 11:39:00 +0000 (13:39 +0200)]
kernel: mtdsplit: add support for WRGG images

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>
8 years agofirmware-utils: mkwrggimg: new tool for D-Link DAP-2695
Stijn Tintel [Sat, 6 Aug 2016 17:36:24 +0000 (19:36 +0200)]
firmware-utils: mkwrggimg: new tool for D-Link DAP-2695

Based on mkwrgimg.c.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: John Crispin <john@phrozen.org>
8 years agodnsmasq: Multiple dnsmasq instances support
Hans Dedecker [Wed, 12 Oct 2016 08:33:16 +0000 (10:33 +0200)]
dnsmasq: Multiple dnsmasq instances support

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>
8 years agogrub2: add missing SECTION variable and remove non breaking space
Jo-Philipp Wich [Wed, 26 Oct 2016 15:51:44 +0000 (17:51 +0200)]
grub2: add missing SECTION variable and remove non breaking space

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>
8 years agoipip: Support fqdn as remote tunnel endpoint
Hans Dedecker [Tue, 25 Oct 2016 20:50:04 +0000 (22:50 +0200)]
ipip: Support fqdn as remote tunnel endpoint

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
8 years agouhttpd: create self-signed certificates with unique subjects
Hannu Nyman [Thu, 6 Oct 2016 17:37:59 +0000 (20:37 +0300)]
uhttpd: create self-signed certificates with unique subjects

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>
8 years agouhttpd: prefer px5g for certificate creation
Hannu Nyman [Wed, 5 Oct 2016 08:11:15 +0000 (11:11 +0300)]
uhttpd: prefer px5g for certificate creation

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>
8 years agonetifd: Request DHCP option 121 (classless route) by default
Baptiste Jonglez [Sun, 9 Oct 2016 09:23:27 +0000 (11:23 +0200)]
netifd: Request DHCP option 121 (classless route) by default

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>
8 years agowwan: rename data files
Simon Hailes [Tue, 11 Oct 2016 19:30:15 +0000 (20:30 +0100)]
wwan: rename data files

This is to ensure that git can be cloned onto a windows drive without failing.

Signed-off-by: Simon Hailes <btsimonh@googlemail.com>
8 years agousbmode: rename data files
Simon Hailes [Tue, 11 Oct 2016 18:01:21 +0000 (19:01 +0100)]
usbmode: rename data files

This is to ensure that git can be cloned onto a windows drive without failing.

Signed-off-by: Simon Hailes <btsimonh@googlemail.com>
8 years agoar71xx: Ignore firmware building errors of UBNT and CyberTAN devices
Chuanhong Guo [Thu, 6 Oct 2016 06:27:49 +0000 (14:27 +0800)]
ar71xx: Ignore firmware building errors of UBNT and CyberTAN devices

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
8 years agopx5g-standalone: move to Encryption submenu and fix Title
Alberto Bursi [Mon, 24 Oct 2016 08:35:24 +0000 (10:35 +0200)]
px5g-standalone: move to Encryption submenu and fix Title

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>
8 years agopx5g: move to Encryption submenu
Alberto Bursi [Mon, 24 Oct 2016 08:39:09 +0000 (10:39 +0200)]
px5g: move to Encryption submenu

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>
8 years agopackage/uboot-envtools: Add support for ZyXEL NBG6817
André Valentin [Tue, 25 Oct 2016 06:40:38 +0000 (08:40 +0200)]
package/uboot-envtools: Add support for ZyXEL NBG6817

Signed-off-by: André Valentin <avalentin@marcant.net>
8 years agopackage/basefiles: add mkfs.ext4 and losetup binaries to ramfs list
André Valentin [Tue, 25 Oct 2016 06:40:37 +0000 (08:40 +0200)]
package/basefiles: add mkfs.ext4 and losetup binaries to ramfs list

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>
8 years agoipq806x/nbg6817: add sysupgrade support
André Valentin [Tue, 25 Oct 2016 06:40:36 +0000 (08:40 +0200)]
ipq806x/nbg6817: add sysupgrade support

Add new way of flashing to mmc devices based on rootfs split with loop devices.

Signed-off-by: André Valentin <avalentin@marcant.net>
8 years agolinux/mtd: add id for mx25u3235f needed by ZyXEL NBG6817
André Valentin [Tue, 25 Oct 2016 06:40:35 +0000 (08:40 +0200)]
linux/mtd: add id for mx25u3235f needed by ZyXEL NBG6817

Signed-off-by: André Valentin <avalentin@marcant.net>
8 years agoipq806x/nbg6817: add support for ZyXEL NBG6817
André Valentin [Tue, 25 Oct 2016 06:40:34 +0000 (08:40 +0200)]
ipq806x/nbg6817: add support for ZyXEL NBG6817

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>
8 years agostrace: Update to 4.14
Daniel Engberg [Mon, 24 Oct 2016 20:59:35 +0000 (22:59 +0200)]
strace: Update to 4.14

Update to version 4.14

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
8 years agolantiq: danube fxs bugfix: changed compatible attribute of vmmc
Stefan Koch [Sat, 22 Oct 2016 10:09:45 +0000 (12:09 +0200)]
lantiq: danube fxs bugfix: changed compatible attribute of vmmc

This bugfix enables FXS support on dabube based devices.
Changed "compatible" attribute from "vmmc" to "vmmc-xway".
The vmmc driver uses "vmmc-xway".

Signed-off-by: Stefan Koch <stefan.koch10@gmail.com>
8 years agoqmi: add metric, defaultroute and peerdns options for qmi protocol
Marcin Jurkowski [Mon, 17 Oct 2016 00:42:47 +0000 (02:42 +0200)]
qmi: add metric, defaultroute and peerdns options for qmi protocol

Adds generic network options for qmi protocol dynamic interfaces
as suggested by Felix in
https://lists.openwrt.org/pipermail/openwrt-devel/2016-February/039794.html.

IPv6-related code taken from Bruno's patch https://patchwork.ozlabs.org/patch/584816.

This depends on netifd patch https://patchwork.ozlabs.org/patch/686820/.

Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
Signed-off-by: Bruno Randolf <br1@einfach.org>
8 years agombim: add metric, defaultroute and peerdns options for mbim protocol
Marcin Jurkowski [Mon, 17 Oct 2016 00:46:29 +0000 (02:46 +0200)]
mbim: add metric, defaultroute and peerdns options for mbim protocol

Adds generic network options for mbim protocol dynamic interfaces
as suggested by Felix in
https://lists.openwrt.org/pipermail/openwrt-devel/2016-February/039794.html.

This depends on netifd patch https://patchwork.ozlabs.org/patch/686820/.

Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
8 years agocomgt: add metric, defaultroute and peerdns options for directip protocol
Marcin Jurkowski [Mon, 17 Oct 2016 00:39:08 +0000 (02:39 +0200)]
comgt: add metric, defaultroute and peerdns options for directip protocol

Adds generic network options for directip protocol dynamic interfaces
as suggested by Felix in
https://lists.openwrt.org/pipermail/openwrt-devel/2016-February/039794.html.

This depends on netifd patch https://patchwork.ozlabs.org/patch/686820/.

Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
8 years agocomgt: add metric, defaultroute and peerdns options for ncm protocol
Marcin Jurkowski [Mon, 17 Oct 2016 00:38:42 +0000 (02:38 +0200)]
comgt: add metric, defaultroute and peerdns options for ncm protocol

Adds generic network options for ncm protocol dynamic interfaces
as suggested by Felix in
http://lists.openwrt.org/pipermail/openwrt-devel/2016-February/039794.html.

This depends on netifd patch https://patchwork.ozlabs.org/patch/686820/.

Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
8 years agokirkwood: fix pogo_e02 LED name
Paul Wassi [Tue, 25 Oct 2016 14:06:18 +0000 (16:06 +0200)]
kirkwood: fix pogo_e02 LED name

The pogo_e02's dts file has its LEDs named "pogo_e02:(...)"
Fix the status-LED's name for this device.

Signed-off-by: Paul Wassi <p.wassi@gmx.at>
8 years agouboot-zynq: fix compile error for be short of dtc
Yutang Jiang [Wed, 19 Oct 2016 11:20:21 +0000 (19:20 +0800)]
uboot-zynq: fix compile error for be short of dtc

While enable zynq uboot:
CONFIG_PACKAGE_uboot-zynq-zc702
CONFIG_PACKAGE_uboot-zynq-zed
CONFIG_PACKAGE_uboot-zynq-zybo

make will arise dtc error:
./scripts/dtc-version.sh: line 17: dtc: command not found
./scripts/dtc-version.sh: line 18: dtc: command not found
*** Your dtc is too old, please upgrade to dtc 1.4 or newer
make[4]: *** [checkdtc] Error 1

Pass the kernel dtc to uboot for compile.

Signed-off-by: Yutang Jiang <yutang.jiang@nxp.com>
8 years agogrub2: move to Boot Loaders category
Alberto Bursi [Sun, 23 Oct 2016 19:04:49 +0000 (21:04 +0200)]
grub2: move to Boot Loaders category

because boot loaders are in Boot Loaders, not in Utilities -> Boot Loaders

Also moved brub2-editenv in Utilities -> Boot Loaders

Part of a wider housekeeping effort on the packages repository.

Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
8 years agofconfig: move to Boot Loaders submenu of Utilities
Alberto Bursi [Mon, 24 Oct 2016 08:19:42 +0000 (10:19 +0200)]
fconfig: move to Boot Loaders submenu of Utilities

Boot Loaders submenu of Utilities is the most logical place to find fconfig and other bootloader tools.

Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
8 years agorbcfg: move to Boot Loaders submenu of Utilities
Alberto Bursi [Mon, 24 Oct 2016 08:26:22 +0000 (10:26 +0200)]
rbcfg: move to Boot Loaders submenu of Utilities

Boot Loaders submenu of Utilities is the most logical place to find rbcfg and other bootloader tools.

Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
8 years agoramips: fix PSG1218 LEDs
Xuefu Lin [Fri, 21 Oct 2016 09:06:39 +0000 (17:06 +0800)]
ramips: fix PSG1218 LEDs

Signed-off-by: Xuefu Lin <xuefulin@gmail.com>
8 years agoar71xx: add support for TP-Link WR802N v1
Julius Schulz-Zander [Fri, 21 Oct 2016 09:47:15 +0000 (11:47 +0200)]
ar71xx: add support for TP-Link WR802N v1

This patch adds support solely for version 1 of the TP-Link WR802N.
It is based on Rick Pannen's patch posted on the OpenWrt devel list.

Signed-off-by: Julius Schulz-Zander <julius@inet.tu-berlin.de>
8 years agopackage/system/mtd: fix usage message
Paul Wassi [Mon, 24 Oct 2016 13:29:04 +0000 (15:29 +0200)]
package/system/mtd: fix usage message

Minor fix in the usage message on the explanation of the -p option.

Signed-off-by: Paul Wassi <p.wassi@gmx.at>
8 years agokirkwood: remove redundant code in etc/board.d/02_network
Paul Wassi [Mon, 24 Oct 2016 13:19:52 +0000 (15:19 +0200)]
kirkwood: remove redundant code in etc/board.d/02_network

Remove redundant code: merge boards/cases that share
the same network configuration.
Also fix the alphabetical ordering of the cases.

Signed-off-by: Paul Wassi <p.wassi@gmx.at>
8 years agoar71xx: Remove switch config for the MR12/MR16
Chris Blake [Mon, 24 Oct 2016 19:05:55 +0000 (14:05 -0500)]
ar71xx: Remove switch config for the MR12/MR16

These boards do not have a switch, so they should have never been added
to this file in the first place.

Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
8 years agoar71xx: add mac partition to the MR12/MR16
Chris Blake [Mon, 24 Oct 2016 19:05:54 +0000 (14:05 -0500)]
ar71xx: add mac partition to the MR12/MR16

On the stock Meraki Firmare for the MR12/MR16, a chunk of SPI space
after u-boot-env is used to store the boards Mac address. Sadly as this
was removed on any device already on OpenWRT/LEDE, moving forward a new,
64k partition named "mac" will be used to store the mac address for the
device (which is the minimum size). This allows users to properly set
the correct MAC, without editing the ART partition (which holds the same
MAC for all devices).

The reason the space is taken from kernel instead of rootfs is currently
kernels are only 1.3MB, so that way we can leave the current rootfs
space alone for users who fully utilize the available storage space.

Once this partition is added to a device, you can set your MAC doing the
following:

mtd erase mac
echo -n -e '\x00\x18\x0a\x33\x44\x55' > /dev/mtd5
sync && reboot

Where 00:18:0a:33:44:55 is your MAC address.

This was tested, and confirmed working on both the MR12 and MR16.

Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
8 years agoar71xx: Move MR12 & MR16 from legacy to generic
Chris Blake [Mon, 24 Oct 2016 19:05:53 +0000 (14:05 -0500)]
ar71xx: Move MR12 & MR16 from legacy to generic

This moves the Meraki MR12 and Meraki MR16 to the new generic target.
Tested and verified working on both devices.

Note that kernel/rootfs images are still generated. This is because they
are used for the inital flashing process due to the fun pace at which
UBoot erases/writes to SPI.

Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
8 years agougps: update to latest git HEAD
John Crispin [Sat, 22 Oct 2016 20:13:06 +0000 (22:13 +0200)]
ugps: update to latest git HEAD

* fixes a few error that uClibc users were seeing
* add switch to disable time adjustment

Signed-off-by: John Crispin <john@phrozen.org>
8 years agoimx6: Add ds1307 RTC to kernel for working hctosys
Petr Štetiar [Tue, 18 Oct 2016 21:26:59 +0000 (23:26 +0200)]
imx6: Add ds1307 RTC to kernel for working hctosys

Otherwise if we use ds1307 as kernel module, hctosys fails as ds1307 is
being initialized later then hctosys:

 [    2.427349] hctosys: unable to open rtc device (rtc0)
 [    3.714263] snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc1
 [    8.990061] rtc-ds1307 3-006f: rtc core: registered mcp7941x as rtc0

Signed-off-by: Petr Štetiar <ynezz@true.cz>
8 years agokirkwood: Add RTC driver to kernel for working hctosys
Paul Wassi [Sun, 23 Oct 2016 12:21:22 +0000 (14:21 +0200)]
kirkwood: Add RTC driver to kernel for working hctosys

Build the RTC driver into the kernel, (and remove the optional module), in order
to make hctosys working. (Currently the module is loaded after hctosys has failed previously)

Signed-off-by: Paul Wassi <p.wassi@gmx.at>
8 years agoar71xx: Add support to DomyWifi DW33D
Jing Lin [Tue, 18 Oct 2016 08:18:50 +0000 (16:18 +0800)]
ar71xx: Add support to DomyWifi DW33D

Signed-off-by: Jing Lin <mumuqz@163.com>
8 years agouhttpd: fix handling of special "/" prefix when matching handlers
Jo-Philipp Wich [Tue, 25 Oct 2016 14:36:47 +0000 (16:36 +0200)]
uhttpd: fix handling of special "/" prefix when matching handlers

The special prefix of "/" should match any url by definition but the final
assertion which ensures that the matched prefix ends in '\0' or '/' is causing
matches against the "/" prefix to fail.

Update to current HEAD in order to fix this particular case.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agokernel: backport MIPS's ioremap_cache from 4.5
Rafał Miłecki [Mon, 24 Oct 2016 20:52:44 +0000 (22:52 +0200)]
kernel: backport MIPS's ioremap_cache from 4.5

It's needed by (updated) bcm47xxsflash driver.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
8 years agobrcm47xx: reorder older entries in image Makefile
Rafał Miłecki [Mon, 24 Oct 2016 18:33:07 +0000 (20:33 +0200)]
brcm47xx: reorder older entries in image Makefile

Keep all entries sorted and replace tabs with spaces while at it.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
8 years agokernel: add fix for CVE-2016-5195
Stijn Tintel [Mon, 24 Oct 2016 02:08:07 +0000 (05:08 +0300)]
kernel: add fix for CVE-2016-5195

Add fix for CVE-2016-5195 to kernel 3.18 and 4.1.
Kernel 4.4 is already fixed since version 4.4.26 which was committed in
32c28a78f798dffb983a7f00342b471e5e4ac177.

Patches taken from Sasha Levin's linux-stable git tree:
http://git.kernel.org/cgit/linux/kernel/git/sashal/linux-stable.git/

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
8 years agokernel: update kernel 3.18 to version 3.18.43
Stijn Tintel [Thu, 15 Sep 2016 19:16:34 +0000 (21:16 +0200)]
kernel: update kernel 3.18 to version 3.18.43

Refresh patches for all targets supporting 3.18 and not marked broken.
Compile-tested on all targets using 3.18 and not marked broken.

Changes to generic/610-netfilter_match_bypass_default_checks.patch based
on 84d489f64f3b382d5544e342f66d8806e94e85d3.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
8 years agokernel: update kernel 4.1 to version 4.1.34
Stijn Tintel [Thu, 15 Sep 2016 13:27:45 +0000 (15:27 +0200)]
kernel: update kernel 4.1 to version 4.1.34

Refresh patches for all targets supporting 4.1 and not marked broken.
Compile-tested on all targets using 4.1 and not marked broken.

Changes to generic/610-netfilter_match_bypass_default_checks.patch based
on 84d489f64f3b382d5544e342f66d8806e94e85d3.
Changes to generic/666-Add-support-for-MAP-E-FMRs-mesh-mode.patch based
on a90ee92337d60fd14b6431adcda9929b955f3408.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
8 years agobrcm47xx: bump kernel to 4.4
Rafał Miłecki [Mon, 24 Oct 2016 15:03:48 +0000 (17:03 +0200)]
brcm47xx: bump kernel to 4.4

Kernel 4.4 was ready for brcm47xx for almost a year now but I kept
postponing the bump due to problems with Linksys WRT300N v1.0. OpenWrt
and LEDE with 4.4 were hanging at the booting with the:
> Starting program at 0x80001000
(the last CFE message).

This was a permanent state, "make distclean" wasn't helping, I spent
hours debugging this and I was reliably reproducing the issue every
time. I also reported it on linux-mips ML in the thread:
> BCM4704 stopped booting with 4.4 (due to vmlinux size?)

After ~month I started working on WRT300N again. I got hangs as expected
every time I switched from 4.1 to 4.4. I started experimenting with:
1) TRX content (I tried dropping rootfs partition)
2) BZ_TEXT_START of lzma-loader
3) Flashing other variants of image: lzma compressed kernel (without a
   loader), gzip compressed one, uncompressed one.

At some point I got rootfs-less image booting and after that I couldn't
reproduce problem anymore, even with a complete firmware. It seems like
hardware was in some locked/unstable state that got magically fixed.

I have LEDE working now, tested it even with "make distclean", it seems
we can bump kernel now. I'll keep testing it on WRT300N for some time.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
8 years agobrcm47xx: build also TRX image for Linksys WRT300N V1
Rafał Miłecki [Mon, 24 Oct 2016 08:34:32 +0000 (10:34 +0200)]
brcm47xx: build also TRX image for Linksys WRT300N V1

Linksys WRT300N V1 has pretty bugged CFE bootloader (it crashes in a lot
of situations) that doesn't accept .bin image.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
8 years agobrcm47xx: open code Makefile entries for all devices
Rafał Miłecki [Thu, 20 Oct 2016 05:59:03 +0000 (07:59 +0200)]
brcm47xx: open code Makefile entries for all devices

If we want to use some of new features like per device rootfs we will
need this to specify them there.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
8 years agotoolchain/gdb: update to version 7.12
Felix Fietkau [Wed, 19 Oct 2016 10:30:53 +0000 (12:30 +0200)]
toolchain/gdb: update to version 7.12

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agobinutils: remove old unused versions
Felix Fietkau [Wed, 19 Oct 2016 10:22:45 +0000 (12:22 +0200)]
binutils: remove old unused versions

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agomvebu: add support for the Linksys WRT3200ACM (Rango)
Imre Kaloz [Thu, 13 Oct 2016 10:52:20 +0000 (12:52 +0200)]
mvebu: add support for the Linksys WRT3200ACM (Rango)

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
8 years agomwlwifi: upgrade to 10.3.2.0-20161013
Imre Kaloz [Thu, 13 Oct 2016 10:45:17 +0000 (12:45 +0200)]
mwlwifi: upgrade to 10.3.2.0-20161013

Also install the 88W8964 firmware.

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
8 years agomvebu: add missing status LEDs for Linksys WRT1200AC and WRT1900ACv2
Imre Kaloz [Fri, 14 Oct 2016 11:50:41 +0000 (13:50 +0200)]
mvebu: add missing status LEDs for Linksys WRT1200AC and WRT1900ACv2

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
8 years agokernel: update kernel 4.4 to version 4.4.27
Álvaro Fernández Rojas [Sun, 23 Oct 2016 12:56:09 +0000 (14:56 +0200)]
kernel: update kernel 4.4 to version 4.4.27

Refresh patches for all targets that support kernel 4.4.
compile/run-tested on brcm2708/bcm2710 only.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
8 years agobase-files: add ucidef_set_led_usbport for full usbport support
Rafał Miłecki [Wed, 19 Oct 2016 11:05:53 +0000 (13:05 +0200)]
base-files: add ucidef_set_led_usbport for full usbport support

This helper allows using usbport trigger directly. It requires usbport
compatible syntax and supports specifying multiple USB ports, e.g.:
ucidef_set_led_usbport "usb" "USB" "devicename:colour:function" "usb1-port1" "usb2-port1"

This adds a proper object to the board.json, e.g.
"usb": {
"name": "USB",
"type": "usbport",
"sysfs": "devicename:colour:function",
"ports": [
"usb1-port1",
"usb2-port1"
]
}
and supports translating it into uci section.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
8 years agokernel: update kernel 4.4 to version 4.4.26
Koen Vandeputte [Thu, 20 Oct 2016 08:46:11 +0000 (10:46 +0200)]
kernel: update kernel 4.4 to version 4.4.26

Refresh patches for all targets that support kernel 4.4.
compile/run-tested on cns3xxx & imx6.

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
8 years agobusybox: adjust download mirror
Hannu Nyman [Fri, 14 Oct 2016 08:09:47 +0000 (11:09 +0300)]
busybox: adjust download mirror

* Adjust download locations:
  - use https as busybox.net permanently redirects http to https
  - gentoo mirror has neither 1.25.0 nor 1.25.1 available, so drop it
    in favor of buildroot.net that has 1.25.1

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>