openwrt/staging/wigyori.git
7 years agoperf: disable libcrypto dependency
Dirk Neukirchen [Thu, 19 May 2016 11:38:35 +0000 (13:38 +0200)]
perf: disable libcrypto dependency

upstream change: 8ee4646038e47d065d35703e3e343136c4cd42aa
fixes dependency w. Kernel 4.6

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
7 years agodnsmasq: sysupgrade hook to conditionally preserve dnsmasq.time
Kevin Darbyshire-Bryant [Thu, 5 May 2016 11:25:53 +0000 (12:25 +0100)]
dnsmasq: sysupgrade hook to conditionally preserve dnsmasq.time

conditionally save dnsmasq.time across sysupgrade
dnsmasq uses /etc/dnsmasq.time as record of the last known good
system time to aid its validation of dnssec timestamps.  dnsmasq
updates the timestamp on process start/stop once it considers the system
time as valid. The timestamp file should be preserved across system
upgrade but should not be included as part of normal configuration
backups to prevent restores corrupting the current timestamp.

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
7 years agobase-files: sysfixtime exclude dnsmasq.time
Kevin Darbyshire-Bryant [Thu, 5 May 2016 11:34:49 +0000 (12:34 +0100)]
base-files: sysfixtime exclude dnsmasq.time

dnsmasq maintains dnsmasq.time across reboots and uses it as a means of
determining if current time is good enough to validate dnssec time
stamps.  By including /etc/dnsmasq.time as a time source for sysfixtime,
the mechanism was effectively defeated because time was set to the
last time that dnsmasq considered current even though that time is in
the past.  Since that time is out of date, dns(sec) resolution would
fail thus defeating any ntp based mechanisms for setting the clock
correctly.

In theory the process is defeated by any files in /etc that are newer
than /etc/dnsmasq.time however dnsmasq now updates the file's timestamp
on process TERM so hopefully /etc/dnsmasq.time is the latest file
timestamp in /etc as part of LEDE shutdown/reboot.

Either way, including /etc/dnsmasq.time as a time source for
sysfixtime is not helpful.

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
7 years agoRevert "dnsmasq: sysupgrade hook to conditionally preserve dnsmasq.time"
Jo-Philipp Wich [Thu, 19 May 2016 08:25:11 +0000 (10:25 +0200)]
Revert "dnsmasq: sysupgrade hook to conditionally preserve dnsmasq.time"

This reverts commit d830cb08826dc593406d9003d061016061b6c3c4.

Reverting this commit due to a missing Signed-off-by.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoRevert "base-files: sysfixtime exclude dnsmasq.time"
Jo-Philipp Wich [Thu, 19 May 2016 08:24:32 +0000 (10:24 +0200)]
Revert "base-files: sysfixtime exclude dnsmasq.time"

This reverts commit 382779e009af7c1c688fbd98adf71fb19ce66254.

Reverting this commit due to a missing Signed-off-by.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoimagebuilder: Fix sorting package list breaks opkg dependency handling for provides
Daniel Dickinson [Tue, 26 Apr 2016 08:50:27 +0000 (04:50 -0400)]
imagebuilder: Fix sorting package list breaks opkg dependency handling for provides

When imagebuild sorts package lists it breaks opkg's ability to realize
that a providers for a Provides has already been installed, when the sort
results in the provider being later in the list of packages that a package
which depends on a Provides (and hence the provider is not yet installed
for opkg to realize the provider was available doesn't not handle the case
of a package that is to be installed satisfying a dependency, only one that
is already installed (or which it schedules to be installed, which in the
absence of an installed provider is whichever provider happens to be the
default)

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
7 years agodnsmasq: sysupgrade hook to conditionally preserve dnsmasq.time
Kevin Darbyshire-Bryant [Thu, 5 May 2016 11:25:53 +0000 (12:25 +0100)]
dnsmasq: sysupgrade hook to conditionally preserve dnsmasq.time

conditionally save dnsmasq.time across sysupgrade
dnsmasq uses /etc/dnsmasq.time as record of the last known good
system time to aid its validation of dnssec timestamps.  dnsmasq
updates the timestamp on process start/stop once it considers the system
time as valid. The timestamp file should be preserved across system
upgrade but should not be included as part of normal configuration
backups to prevent restores corrupting the current timestamp.

7 years agobase-files: sysfixtime exclude dnsmasq.time
Kevin Darbyshire-Bryant [Thu, 5 May 2016 11:34:49 +0000 (12:34 +0100)]
base-files: sysfixtime exclude dnsmasq.time

dnsmasq maintains dnsmasq.time across reboots and uses it as a means of
determining if current time is good enough to validate dnssec time
stamps.  By including /etc/dnsmasq.time as a time source for sysfixtime,
the mechanism was effectively defeated because time was set to the
last time that dnsmasq considered current even though that time is in
the past.  Since that time is out of date, dns(sec) resolution would
fail thus defeating any ntp based mechanisms for setting the clock
correctly.

In theory the process is defeated by any files in /etc that are newer
than /etc/dnsmasq.time however dnsmasq now updates the file's timestamp
on process TERM so hopefully /etc/dnsmasq.time is the latest file
timestamp in /etc as part of LEDE shutdown/reboot.

Either way, including /etc/dnsmasq.time as a time source for
sysfixtime is not helpful.

7 years agoscript/symlink-tree.sh: Fix missing config dir
Daniel Dickinson [Mon, 2 May 2016 02:40:09 +0000 (22:40 -0400)]
script/symlink-tree.sh: Fix missing config dir

Apparently symlink-tree has not been used in quite some time as it
fails to symlink the always required config dir

Also, if we pulled from git but .git is missing we get
many error messages on the symlinked tree without this
patch (which symlinks .git, if present)

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
7 years agomdadm: Fix missing conffile and add initscript
Daniel Dickinson [Thu, 15 Oct 2015 10:23:26 +0000 (06:23 -0400)]
mdadm: Fix missing conffile and add initscript

Start arrays on boot, stop them on shutdown, and enable
monitoring to syslog.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
7 years agoca-certificates: Add certificate bundle package
Daniel Dickinson [Fri, 13 May 2016 10:30:25 +0000 (06:30 -0400)]
ca-certificates: Add certificate bundle package

Some SSL applications requires a certificates bundle rather
than a directory containing certificates.  For thos applications
we build the ca-bundle package

Signed-off-by: Daniel Dickinson <lede@daniel.thecshore.com>
7 years agokernel: Build it87 hardware monitor module
Daniel Dickinson [Wed, 18 May 2016 08:46:41 +0000 (04:46 -0400)]
kernel: Build it87 hardware monitor module

Add packaging of it87 hardware monitor kernel module.  It is
a common thermal and voltage monitor that is in many x86
(at least) devices, and is just another i2c hwmon module.

Signed-off-by: Daniel Dickinson <lede@daniel.thecshore.com>
7 years agoramips: fix pinctrl regression
Álvaro Fernández Rojas [Wed, 18 May 2016 20:02:52 +0000 (22:02 +0200)]
ramips: fix pinctrl regression

This regression was introduced in commit 9195d8da.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
7 years agoramips: fix spidev generic nodes
Álvaro Fernández Rojas [Wed, 18 May 2016 14:56:31 +0000 (16:56 +0200)]
ramips: fix spidev generic nodes

Use linux,spidev compatible string.
Move MZK-DP150N spidev to spi1 node.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
7 years agoar71xx: fix register address calculation for DDR flushing
Felix Fietkau [Wed, 18 May 2016 16:06:40 +0000 (18:06 +0200)]
ar71xx: fix register address calculation for DDR flushing

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoramips: fix size-cells on spi nodes
Álvaro Fernández Rojas [Sat, 14 May 2016 17:22:08 +0000 (19:22 +0200)]
ramips: fix size-cells on spi nodes

size-cells should be 0 in order to avoid dummy values in reg properties.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
7 years agokernel: add back the macronix software protection disable patch
Felix Fietkau [Wed, 18 May 2016 13:22:24 +0000 (15:22 +0200)]
kernel: add back the macronix software protection disable patch

It was accidentally left out when 4.4 support was added

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoath9k: Fix TX99 support
Helmut Schaa [Wed, 18 May 2016 04:09:59 +0000 (06:09 +0200)]
ath9k: Fix TX99 support

The patch 300-ath9k-force-rx_clear-when-disabling-rx.patch broke TX99 support
in ath9k. Fix the patch by only applying rx_clear if TX99 mode is not used.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
7 years agomac80211: Allow selection of TX99 support in ath9k
Helmut Schaa [Wed, 18 May 2016 04:09:58 +0000 (06:09 +0200)]
mac80211: Allow selection of TX99 support in ath9k

Add a new config option to enable TX99 support in ath9k.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
7 years agobcm53xx: drop Copyright header from two of my bash scripts
Rafał Miłecki [Mon, 9 May 2016 23:37:15 +0000 (01:37 +0200)]
bcm53xx: drop Copyright header from two of my bash scripts

Both scripts modified by this patch were added by me. First of all I
incorrectly added OpenWrt as Copyright holder. It was wrong because:
1) I simply can't transfer my moral rights according to the Polish law
2) Transfering copyrights (economic rights) requires an agreement which
   I didn't sign with OpenWrt(.org).
Other than that I don't find these trivial scripts important enough to
put info about *my* copyrights in a header so this patch just drops them
completely.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
7 years agoramips: fix 8M WT3020 image creation
John Crispin [Mon, 16 May 2016 18:58:18 +0000 (20:58 +0200)]
ramips: fix 8M WT3020 image creation

fix image size for 8M version : 4M -> 8M

Signed-off-by: Gerhard Bertelsmann <info@gerhard-bertelsmann.de>
7 years agooxnas: move target-specific modules into target's modules.mk
Daniel Golle [Mon, 16 May 2016 18:27:45 +0000 (20:27 +0200)]
oxnas: move target-specific modules into target's modules.mk

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
7 years agokernel: backport patches for fq_codel queue memory limit support
Felix Fietkau [Mon, 16 May 2016 15:45:08 +0000 (17:45 +0200)]
kernel: backport patches for fq_codel queue memory limit support

Use it to replace the reduction in max packets/flows

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoimage.mk: remove obsolete squashfs-lzma code
Felix Fietkau [Sun, 15 May 2016 19:32:54 +0000 (21:32 +0200)]
image.mk: remove obsolete squashfs-lzma code

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoar71xx: fix typo in pci memory window initialization fix
Felix Fietkau [Mon, 16 May 2016 17:52:31 +0000 (19:52 +0200)]
ar71xx: fix typo in pci memory window initialization fix

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agooxnas: reorganize image build code and nuke profiles
Daniel Golle [Sun, 15 May 2016 02:31:25 +0000 (04:31 +0200)]
oxnas: reorganize image build code and nuke profiles

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
7 years agomodules: hwmon: package driver for INA209 power monitor
Daniel Golle [Sun, 1 Nov 2015 14:37:42 +0000 (15:37 +0100)]
modules: hwmon: package driver for INA209 power monitor

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
7 years agomodules: hwmon: package driver for LTC4151 current sensor
Daniel Golle [Fri, 26 Sep 2014 19:52:49 +0000 (21:52 +0200)]
modules: hwmon: package driver for LTC4151 current sensor

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
7 years agokernel: add missing symbol
Daniel Golle [Thu, 10 Mar 2016 21:01:20 +0000 (22:01 +0100)]
kernel: add missing symbol

Add missing symbol When building kernel with profiling enabled and ARM
or ARM64 targets.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
7 years agolibusb: disable parallel building
Jo-Philipp Wich [Mon, 16 May 2016 15:16:18 +0000 (17:16 +0200)]
libusb: disable parallel building

The libusb package is not parallel build save, a make -j16 reliably breaks it.
Forcibly disable parallel building.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agokernel: fix yaffs2 build with kernel 4.4
Jo-Philipp Wich [Mon, 16 May 2016 13:49:25 +0000 (15:49 +0200)]
kernel: fix yaffs2 build with kernel 4.4

Fix YAFFS2 build after upstream nd_set_link() removal by importing
http://permalink.gmane.org/gmane.linux.embedded.yocto.linux-yocto/4373

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoar71xx: typo in jjplus profile
Cezary Jackiewicz [Sun, 15 May 2016 06:25:47 +0000 (08:25 +0200)]
ar71xx: typo in jjplus profile

Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
7 years agobuild: fix make download in the SDK
Felix Fietkau [Mon, 16 May 2016 09:20:17 +0000 (11:20 +0200)]
build: fix make download in the SDK

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agomac80211: fix a module build/dependency issue that was breaking lib80211
Felix Fietkau [Mon, 16 May 2016 08:49:42 +0000 (10:49 +0200)]
mac80211: fix a module build/dependency issue that was breaking lib80211

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agofstools: update to latest git HEAD
John Crispin [Sun, 15 May 2016 14:29:45 +0000 (16:29 +0200)]
fstools: update to latest git HEAD

the recent fixes to make mount_root work during failsafe caused lots of
unwanted side effects. use the new preinit sentinel file to detect if
we are in preinit. this will also work if logged in via ssh.

Signed-off-by: John Crispin <john@phrozen.org>
7 years agoprocd: update to latest git HEAD
John Crispin [Sun, 15 May 2016 14:28:43 +0000 (16:28 +0200)]
procd: update to latest git HEAD

make procd create a sentinel file during preinit

Signed-off-by: John Crispin <john@phrozen.org>
7 years agoramips: fix ArcherC20i image creation - 3rd try
John Crispin [Sun, 15 May 2016 09:59:43 +0000 (11:59 +0200)]
ramips: fix ArcherC20i image creation - 3rd try

Signed-off-by: John Crispin <john@phrozen.org>
7 years agokernel: enable CONFIG_PANIC_ON_OOPS by default
Felix Fietkau [Sun, 15 May 2016 14:42:17 +0000 (16:42 +0200)]
kernel: enable CONFIG_PANIC_ON_OOPS by default

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agokernel: set CONFIG_PANIC_TIMEOUT by default
Felix Fietkau [Sun, 15 May 2016 14:38:02 +0000 (16:38 +0200)]
kernel: set CONFIG_PANIC_TIMEOUT by default

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agobuild: remove profile kernel/build system config override support
Felix Fietkau [Sun, 15 May 2016 18:35:58 +0000 (20:35 +0200)]
build: remove profile kernel/build system config override support

It has been unused for years

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoar71xx: update to linux 4.4
Felix Fietkau [Sat, 14 May 2016 18:24:47 +0000 (20:24 +0200)]
ar71xx: update to linux 4.4

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoar71xx: register the gpio driver earlier
Felix Fietkau [Sun, 15 May 2016 13:10:32 +0000 (15:10 +0200)]
ar71xx: register the gpio driver earlier

This allows gpio requests from mach files to succeed.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoar71xx: fix a PCI initialization issue in Linux 4.4
Felix Fietkau [Sun, 15 May 2016 11:14:00 +0000 (13:14 +0200)]
ar71xx: fix a PCI initialization issue in Linux 4.4

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoar71xx: fix DDR write buffer flushing issues with 4.4
Felix Fietkau [Sat, 14 May 2016 18:24:37 +0000 (20:24 +0200)]
ar71xx: fix DDR write buffer flushing issues with 4.4

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoiw: refresh patches
Felix Fietkau [Sat, 14 May 2016 16:12:17 +0000 (18:12 +0200)]
iw: refresh patches

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agomac80211: update to wireless-testing 2016-05-12
Felix Fietkau [Sat, 14 May 2016 15:38:56 +0000 (17:38 +0200)]
mac80211: update to wireless-testing 2016-05-12

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoimage.mk: fix emitting profiles for targets that have no subtargets
Felix Fietkau [Sun, 15 May 2016 15:44:10 +0000 (17:44 +0200)]
image.mk: fix emitting profiles for targets that have no subtargets

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agokernel: fix a compiler warning on 64 bit systems
Felix Fietkau [Sun, 15 May 2016 15:12:01 +0000 (17:12 +0200)]
kernel: fix a compiler warning on 64 bit systems

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoramips: fix Archer C20i image build
Felix Fietkau [Sun, 15 May 2016 12:11:15 +0000 (14:11 +0200)]
ramips: fix Archer C20i image build

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoar71xx: add support for TP-LINK TL-WR842N/ND v3
Cezary Jackiewicz [Sat, 14 May 2016 16:12:46 +0000 (18:12 +0200)]
ar71xx: add support for TP-LINK TL-WR842N/ND v3

- CPU QCA9531-BL3A
- RAM: 64MB
- flash: 16MB
- USB

AP143 platform, similar to tl-wr841n v10/v11, but with USB

Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
7 years agoramips: set default profile to priority 1
John Crispin [Fri, 13 May 2016 00:01:14 +0000 (02:01 +0200)]
ramips: set default profile to priority 1

doing so will sort all profiles alphabetically

Signed-off-by: John Crispin <john@phrozen.org>
7 years agoar71xx: add proper support for Archer-C7 V2
John Crispin [Thu, 12 May 2016 13:52:55 +0000 (15:52 +0200)]
ar71xx: add proper support for Archer-C7 V2

This has minor differences to the V1

Signed-off-by: John Crispin <john@phrozen.org>
7 years agoramips: fix ArcherC20i image creation
John Crispin [Fri, 13 May 2016 00:18:07 +0000 (02:18 +0200)]
ramips: fix ArcherC20i image creation

Signed-off-by: John Crispin <john@phrozen.org>
7 years agoramips/mt7621: remove cflags override
Felix Fietkau [Sat, 14 May 2016 15:50:52 +0000 (17:50 +0200)]
ramips/mt7621: remove cflags override

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agotarget.mk: add cflags for mips 1004kc cpu type
Felix Fietkau [Sat, 14 May 2016 15:50:24 +0000 (17:50 +0200)]
target.mk: add cflags for mips 1004kc cpu type

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agokernel: add missing config symbol
Felix Fietkau [Sat, 14 May 2016 15:46:39 +0000 (17:46 +0200)]
kernel: add missing config symbol

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agobase-files: Enhancements to /etc/profile
Vittorio G (VittGam) [Thu, 12 May 2016 16:24:49 +0000 (18:24 +0200)]
base-files: Enhancements to /etc/profile

- Update the terminal window title with the current directory and hostname, if using an xterm-compatible terminal emulator.
- Add ll, an useful alias to ls.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
7 years agobrcm2708: convert to the new building system
Álvaro Fernández Rojas [Thu, 12 May 2016 17:49:20 +0000 (19:49 +0200)]
brcm2708: convert to the new building system

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
7 years agoramips: disable unused ethernet ports on VoCore
Álvaro Fernández Rojas [Sat, 14 May 2016 10:40:03 +0000 (12:40 +0200)]
ramips: disable unused ethernet ports on VoCore

Only ports 0 and 4 are used so disable the other ones in order to save power.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
7 years agotools/cmake: bump to 3.5.2
Syrone Wong [Fri, 13 May 2016 14:12:45 +0000 (22:12 +0800)]
tools/cmake: bump to 3.5.2

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
7 years agonettle: update to 3.2
Syrone Wong [Fri, 13 May 2016 14:11:08 +0000 (22:11 +0800)]
nettle: update to 3.2

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
7 years agoscripts/ipkg-build: fix deprecated GZIP environment variable warning
Syrone Wong [Fri, 13 May 2016 14:05:46 +0000 (22:05 +0800)]
scripts/ipkg-build: fix deprecated GZIP environment variable warning

According to gzip 1.7 release note:

The GZIP environment variable is now obsolescent; gzip now warns if
it is used, and rejects attempts to use dangerous options or operands.
You can use an alias or script instead.

Fix this warning by using pipe instead

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
7 years agoe2fsprogs: update to 1.42.13
Kevin Darbyshire-Bryant [Thu, 5 May 2016 11:12:32 +0000 (12:12 +0100)]
e2fsprogs: update to 1.42.13

Update e2fsprogs to v1.42.13 from 1.42.12

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
7 years agolua: Fixed broken __lt/__le operators caused by lnum patch.
David Thornley [Wed, 11 May 2016 03:28:53 +0000 (13:28 +1000)]
lua: Fixed broken __lt/__le operators caused by lnum patch.

This was found while investigating why luarocks does not work. It was
traced to a quite old lnum patch for 5.1.3. I compared against the
latest 5.1.4 patch - https://github.com/LuaDist/lualnum and discovered
the lessthan/lessequal evaluation was not falling through to the
call_orderTM (tag methods).

I have tested LuCI (simple tests) and used the following lua code to
validate the patch (both host and target patches supplied): -

> local my_mt = {
> __eq = function(v1, v2)
> print("__eq")
> return false
> end,
> __lt = function(v1, v2)
> print("__lt")
> return false
> end,
> __le = function(v1, v2)
> print("__le")
> return false
> end
> }
>
> function get_my(vstring)
> local my = {}
> my.string = vstring;
> setmetatable(my, my_mt);
> return my;
> end
>
> local a = get_my("1.0")
> local b = get_my("1.0")
>
> local eq_works = a == b;
> local lt_works = a < b;
> local gt_works = a > b;
>
> local lte_works = a <= b;
> local gte_works = a >= b;

Without the patch the following error will be presented: -

“attempt to compare two table values”

Signed-off-by: David Thornley <david.thornley@touchstargroup.com>
7 years agoarm64: add missing kconfig symbol
Jo-Philipp Wich [Fri, 13 May 2016 09:33:35 +0000 (11:33 +0200)]
arm64: add missing kconfig symbol

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agotarget/imagebuilder: fix using new device profiles
Felix Fietkau [Fri, 13 May 2016 14:32:23 +0000 (16:32 +0200)]
target/imagebuilder: fix using new device profiles

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoscripts/metadata.pl: add support for generating profile make code for the image builder
Felix Fietkau [Fri, 13 May 2016 14:31:58 +0000 (16:31 +0200)]
scripts/metadata.pl: add support for generating profile make code for the image builder

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agodownload.pl: use http://sources.lede-project.org as download mirror
Felix Fietkau [Thu, 12 May 2016 21:00:40 +0000 (23:00 +0200)]
download.pl: use sources.lede-project.org as download mirror

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agodropbear: update to 2016.73
Jo-Philipp Wich [Thu, 12 May 2016 08:21:23 +0000 (10:21 +0200)]
dropbear: update to 2016.73

Update the dropbear package to version 2016.73, refresh patches.
The measured .ipk sizes on an x86_64 build are:

  94588 dropbear_2015.71-3_x86_64.ipk
  95316 dropbear_2016.73-1_x86_64.ipk

This is an increase of roughly 700 bytes after compression.

Tested-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agokernel: backport patches improving fq_codel drop behavior
Felix Fietkau [Thu, 12 May 2016 19:04:50 +0000 (21:04 +0200)]
kernel: backport patches improving fq_codel drop behavior

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agokernel: remove out-of-tree patches for reducing qdisc truesize
Felix Fietkau [Thu, 12 May 2016 18:51:51 +0000 (20:51 +0200)]
kernel: remove out-of-tree patches for reducing qdisc truesize

The copy overhead can be quite expensive

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agokernel: fold codel default fix into main patch
Felix Fietkau [Thu, 12 May 2016 18:44:16 +0000 (20:44 +0200)]
kernel: fold codel default fix into main patch

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoramips: fix indentation of Build/* template commands
Felix Fietkau [Thu, 12 May 2016 17:49:38 +0000 (19:49 +0200)]
ramips: fix indentation of Build/* template commands

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agokernel: remove ocf support, cryptodev-linux should be used instead
Felix Fietkau [Thu, 12 May 2016 16:38:51 +0000 (18:38 +0200)]
kernel: remove ocf support, cryptodev-linux should be used instead

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoopenssl: replace ocf-crypto-headers with a header file from cryptodev-linux
Felix Fietkau [Thu, 12 May 2016 16:35:04 +0000 (18:35 +0200)]
openssl: replace ocf-crypto-headers with a header file from cryptodev-linux

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoar71xx: Fix TP-LINK Archer-C5/C7 v2 rfkill
John Crispin [Thu, 12 May 2016 00:18:44 +0000 (02:18 +0200)]
ar71xx: Fix TP-LINK Archer-C5/C7 v2 rfkill

Fix ARCHER_C7_GPIO_BTN_RFKILL, which is attached to GPIO23

Signed-off-by: Lars Buerding <lb.wrt@metatux.net>
7 years agoREADME: Update project README
Kevin Darbyshire-Bryant [Thu, 12 May 2016 13:59:11 +0000 (14:59 +0100)]
README: Update project README

"configure your appreciated configuration" doesn't make English sense to
me.  I think it is trying to say "choose your preferred configuration"

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
7 years agoramips: add wmac nodes to all mt7628/88 dts files
John Crispin [Wed, 11 May 2016 19:24:12 +0000 (21:24 +0200)]
ramips: add wmac nodes to all mt7628/88 dts files

Signed-off-by: John Crispin <john@phrozen.org>
7 years agoramips: add status led for ZBT-WE826
Andrew Yong [Wed, 11 May 2016 16:54:12 +0000 (18:54 +0200)]
ramips: add status led for ZBT-WE826

Signed-off-by: Andrew Yong <me@ndoo.sg>
7 years agoramips: convert mt7620 to new image building code
John Crispin [Wed, 11 May 2016 12:04:40 +0000 (14:04 +0200)]
ramips: convert mt7620 to new image building code

Signed-off-by: John Crispin <john@phrozen.org>
7 years agoramips: convert mt7688 to new image building code
John Crispin [Wed, 11 May 2016 10:54:41 +0000 (12:54 +0200)]
ramips: convert mt7688 to new image building code

Signed-off-by: John Crispin <john@phrozen.org>
7 years agoramips: convert mt7628 to new image building code
John Crispin [Wed, 11 May 2016 10:21:45 +0000 (12:21 +0200)]
ramips: convert mt7628 to new image building code

Signed-off-by: John Crispin <john@phrozen.org>
7 years agoramips: convert mt7621 to new image building code
John Crispin [Wed, 11 May 2016 23:41:22 +0000 (01:41 +0200)]
ramips: convert mt7621 to new image building code

Signed-off-by: John Crispin <john@phrozen.org>
7 years agoramips: convert rt2880 to new image building code
John Crispin [Wed, 11 May 2016 22:56:03 +0000 (00:56 +0200)]
ramips: convert rt2880 to new image building code

Signed-off-by: John Crispin <john@phrozen.org>
7 years agoiperf: Drop single-threaded variant
Bert Vermeulen [Tue, 10 May 2016 21:09:05 +0000 (23:09 +0200)]
iperf: Drop single-threaded variant

Signed-off-by: Bert Vermeulen <bert@biot.com>
7 years agoiperf: Upgrade to version 2.0.8
Bert Vermeulen [Tue, 10 May 2016 21:09:04 +0000 (23:09 +0200)]
iperf: Upgrade to version 2.0.8

The original iperf package is unmaintained. This switches to the "iperf2"
project on sourceforge, a fork that started where the previous iperf left
off.

Version 2.0.8 fixes the issue that patch 002 handled, so that can be dropped.

Due to a faulty check in configure.ac, this version needs _GNU_SOURCE
defined to build properly against musl. Various other obsolete build
options were also removed.

Signed-off-by: Bert Vermeulen <bert@biot.com>
7 years agoar71xx: Add support for Ubiquiti UniFi AP AC PRO
P.Wassi [Wed, 11 May 2016 07:40:00 +0000 (09:40 +0200)]
ar71xx: Add support for Ubiquiti UniFi AP AC PRO

Add support for the Ubiquiti UniFi AP AC PRO
Signed-off-by: P.Wassi <p.wassi at gmx.at>
7 years agoar71xx: Rename unifiac to unifiac-lite
P.Wassi [Wed, 11 May 2016 07:35:24 +0000 (09:35 +0200)]
ar71xx: Rename unifiac to unifiac-lite

To avoid confusion with different unifiac devices, rename existing target
"unifiac" to "unifiac-lite", before "unifiac-pro" is introduced.

Signed-off-by: P.Wassi <p.wassi at gmx.at>
7 years agoramips: DTS modifications
Stanislav Galabov [Tue, 10 May 2016 13:23:54 +0000 (16:23 +0300)]
ramips: DTS modifications

This commit makes the following modifications to ramips dts files:
1. Add clkctrl node to all dtsi files (although not used for now)
2. Add clocks and clock-names properties to some nodes (usbphy, pci)
3. Add usbphy node for rt3050 (although not used for now)
4. Add clock-frequency to uart nodes in mt7621.dtsi and mt7628an.dtsi

These modifications, although not fully used at the moment, will make
it easier for FreeBSD to adopt and use LEDE ramips dts files with
minimal changes for easier maintenance.

Signed-off-by: Stanislav Galabov <sgalabov@gmail.com>
7 years agoglobal: change my email address
John Crispin [Wed, 11 May 2016 07:06:21 +0000 (09:06 +0200)]
global: change my email address

Signed-off-by: John Crispin <john@phrozen.org>
7 years agoipq806x: enable fpu
Adrián Panella [Sat, 7 May 2016 21:22:37 +0000 (16:22 -0500)]
ipq806x: enable fpu

Enable hardfloat to use all the cpu power

Signed-off-by: Adrian Panella <ianchi74@outlook.com>
7 years agokernel: fq_codel match flows_cnt to limit sizing
Kevin Darbyshire-Bryant [Sat, 7 May 2016 08:57:18 +0000 (09:57 +0100)]
kernel: fq_codel match flows_cnt to limit sizing

OpenWRT changed the default fq_codel sch->limit from 10240 to 1024,
without also adjusting q->flows_cnt.  Eric Dumazet explains below that
you must also adjust the buckets (q->flows_cnt) for this not to break.

Eric explains: Limit of 1024 packets and 1024 flows is not wise I think.
(If all buckets are in use, each bucket has a virtual queue of 1 packet,
which is almost the same than having no queue at all)

I suggest to have at least 8 packets per bucket, to let Codel have a
chance to trigger.  So you could either reduce number of buckets to 128
(if memory is tight), or increase limit to 8192.

flows_cnt is now set to 1024/8=128

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
7 years agoramips: add initial support for SamKnows SK-WB8
Andrew Yong [Tue, 10 May 2016 16:17:54 +0000 (00:17 +0800)]
ramips: add initial support for SamKnows SK-WB8

Signed-off-by: Andrew Yong <me@ndoo.sg>
7 years agoramips: DTS rework
Stanislav Galabov [Tue, 10 May 2016 10:41:46 +0000 (13:41 +0300)]
ramips: DTS rework

Add node aliases to dtsi files.
Reword dts files so they're more in-line with upstream.
Fix some more warnings and errors reported by dtc

Signed-off-by: Stanislav Galabov <sgalabov@gmail.com>
7 years agodropbear: Add --disable-utmpx again
Hans Dedecker [Mon, 9 May 2016 16:23:37 +0000 (18:23 +0200)]
dropbear: Add --disable-utmpx again

The option --disable-utmpx was deleted by accident in commit 7545c1d;
add it again to the CONFIGURE_ARGS list

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
7 years agolibusb: remove stale patch
John Crispin [Tue, 10 May 2016 12:17:12 +0000 (14:17 +0200)]
libusb: remove stale patch

this patch fixes a bug when using uclibc on MIPS. The bug does not exist when
using musl, so drop the fix.

Signed-off-by: John Crispin <john@phrozen.org>
7 years agokernel: move the old gpio watchdog driver from generic to brcm47xx
Felix Fietkau [Thu, 12 May 2016 16:10:08 +0000 (18:10 +0200)]
kernel: move the old gpio watchdog driver from generic to brcm47xx

brcm47xx is the only user

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agogemini: delete 3.18 support
Felix Fietkau [Thu, 12 May 2016 15:55:15 +0000 (17:55 +0200)]
gemini: delete 3.18 support

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agobcm53xx: delete old kernel versions
Felix Fietkau [Thu, 12 May 2016 15:54:14 +0000 (17:54 +0200)]
bcm53xx: delete old kernel versions

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agomxs: delete old kernel versions
Felix Fietkau [Thu, 12 May 2016 15:52:55 +0000 (17:52 +0200)]
mxs: delete old kernel versions

Signed-off-by: Felix Fietkau <nbd@nbd.name>