openwrt/openwrt.git
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>
7 years agosunxi: delete old kernel versions
Felix Fietkau [Thu, 12 May 2016 15:52:20 +0000 (17:52 +0200)]
sunxi: delete old kernel versions

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agooxnas: delete linux 4.1 support
Felix Fietkau [Thu, 12 May 2016 15:51:24 +0000 (17:51 +0200)]
oxnas: delete linux 4.1 support

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agox86: remove defunct etherboot image building code
Felix Fietkau [Thu, 12 May 2016 15:46:39 +0000 (17:46 +0200)]
x86: remove defunct etherboot image building code

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agox86: remove obsolete Config.in file
Felix Fietkau [Thu, 12 May 2016 15:46:14 +0000 (17:46 +0200)]
x86: remove obsolete Config.in file

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agobuild: remove leftover dependenices on TARGET_rdc
Felix Fietkau [Thu, 12 May 2016 15:43:17 +0000 (17:43 +0200)]
build: remove leftover dependenices on TARGET_rdc

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agox86: remove rdc specific kernel patch
Felix Fietkau [Thu, 12 May 2016 15:42:55 +0000 (17:42 +0200)]
x86: remove rdc specific kernel patch

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agotools/firmware-utils: remove obsolete firmware utility for airlink 525w
Felix Fietkau [Thu, 12 May 2016 15:39:46 +0000 (17:39 +0200)]
tools/firmware-utils: remove obsolete firmware utility for airlink 525w

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agox86: remove legacy script/makefile code for rdc devices
Felix Fietkau [Thu, 12 May 2016 15:39:04 +0000 (17:39 +0200)]
x86: remove legacy script/makefile code for rdc devices

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agox86: remove obsolete modules.mk
Felix Fietkau [Thu, 12 May 2016 15:36:34 +0000 (17:36 +0200)]
x86: remove obsolete modules.mk

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agox86/xen_domu: enable xen drivers in the kernel config instead of packaging them as...
Felix Fietkau [Thu, 12 May 2016 15:35:46 +0000 (17:35 +0200)]
x86/xen_domu: enable xen drivers in the kernel config instead of packaging them as modules

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agox86: enable grub at_keyboard support for x86_64
Felix Fietkau [Thu, 12 May 2016 15:00:38 +0000 (17:00 +0200)]
x86: enable grub at_keyboard support for x86_64

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agox86: remove the kvm_guest subtarget
Felix Fietkau [Thu, 12 May 2016 14:52:36 +0000 (16:52 +0200)]
x86: remove the kvm_guest subtarget

32-bit only hardware that supports kvm is very rare.
It's not worth keeping a separate subtarget for this.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agox86/64: add more hardware RNG drivers, including for virtio
Felix Fietkau [Thu, 12 May 2016 14:57:53 +0000 (16:57 +0200)]
x86/64: add more hardware RNG drivers, including for virtio

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agox86/64: enable virtualization support for spinlocks to improve kvm performance
Felix Fietkau [Thu, 12 May 2016 14:52:12 +0000 (16:52 +0200)]
x86/64: enable virtualization support for spinlocks to improve kvm performance

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agox86: remove maintainer override for x86_64
Felix Fietkau [Thu, 12 May 2016 14:20:36 +0000 (16:20 +0200)]
x86: remove maintainer override for x86_64

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agox86: remove the ep80579 subtarget, it has been unmaintained for a long time
Felix Fietkau [Thu, 12 May 2016 14:09:47 +0000 (16:09 +0200)]
x86: remove the ep80579 subtarget, it has been unmaintained for a long time

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agokernel: remove leftover kernel version for 4.3
Felix Fietkau [Thu, 12 May 2016 14:08:44 +0000 (16:08 +0200)]
kernel: remove leftover kernel version for 4.3

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agobusybox: fix issues with the ip command on mips64
Felix Fietkau [Thu, 12 May 2016 14:05:13 +0000 (16:05 +0200)]
busybox: fix issues with the ip command on mips64

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agofstools: update to latest git revision
John Crispin [Tue, 10 May 2016 17:05:09 +0000 (19:05 +0200)]
fstools: update to latest git revision

This fixes mount_root in failsafe and reverts a ext4 overlay patch.

Signed-off-by: John Crispin <john@phrozen.org>
7 years agokernel: add workaround to rebuild vdso-n32.so.dbg too
Jo-Philipp Wich [Wed, 11 May 2016 22:27:47 +0000 (00:27 +0200)]
kernel: add workaround to rebuild vdso-n32.so.dbg too

Building for octeon fails with

  'arch/mips/vdso/vdso-n32.so.dbg' already contains a '.MIPS.abiflags'
  section

if the file already exists from a prior build.

Use the same workaround as the one for vdso.so.dbg committed in
9eb155353a5f5137ec85a5b5b0287af63c544710.

Commit 91f205acaf2a44ae75418d2f2cb156149f0df8ae extended the workaround
to cover vdso-o32.so.dbg but missed the vdso-n32.so.dbg which is added
now by this change.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agokernel: update kernel 4.4 to version 4.4.10
Álvaro Fernández Rojas [Wed, 11 May 2016 17:47:32 +0000 (19:47 +0200)]
kernel: update kernel 4.4 to version 4.4.10

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
7 years agokernel: remove linux 4.3 config
Álvaro Fernández Rojas [Wed, 11 May 2016 17:16:38 +0000 (19:16 +0200)]
kernel: remove linux 4.3 config

When linux 4.3 support was removed the config was left.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
7 years agobuild: avoid including profiles/*.mk
Felix Fietkau [Wed, 11 May 2016 18:13:58 +0000 (20:13 +0200)]
build: avoid including profiles/*.mk

Generate the active profile name in menuconfig context

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoimage.mk: include per-device profiles in image build profile check
Felix Fietkau [Wed, 11 May 2016 17:15:23 +0000 (19:15 +0200)]
image.mk: include per-device profiles in image build profile check

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agometadata.pl: fix target profile sorting check
Felix Fietkau [Wed, 11 May 2016 17:17:42 +0000 (19:17 +0200)]
metadata.pl: fix target profile sorting check

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoncurses: add a compatibility symlink for packages searching for ncursesw/ncurses.h
Felix Fietkau [Wed, 11 May 2016 17:05:04 +0000 (19:05 +0200)]
ncurses: add a compatibility symlink for packages searching for ncursesw/ncurses.h

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agotoplevel.mk: rescan target metadata if the image makefile changes
Felix Fietkau [Tue, 10 May 2016 12:46:19 +0000 (14:46 +0200)]
toplevel.mk: rescan target metadata if the image makefile changes

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agometadata.pl: add support for forcing sorting of profiles
Felix Fietkau [Tue, 10 May 2016 12:43:46 +0000 (14:43 +0200)]
metadata.pl: add support for forcing sorting of profiles

Used to mix device profiles (specified in the image makefile) with
regular target profiles.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agotarget.mk: dump device profiles defined in include/image.mk
Felix Fietkau [Mon, 9 May 2016 16:51:00 +0000 (18:51 +0200)]
target.mk: dump device profiles defined in include/image.mk

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agotarget.mk: remove the unused Target-Path field
Felix Fietkau [Mon, 9 May 2016 16:32:47 +0000 (18:32 +0200)]
target.mk: remove the unused Target-Path field

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoimage.mk: add support for limiting images to specific subtargets
Felix Fietkau [Mon, 9 May 2016 16:27:44 +0000 (18:27 +0200)]
image.mk: add support for limiting images to specific subtargets

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoimage.mk: prepare for defining device profile data in the Device section
Felix Fietkau [Mon, 9 May 2016 14:50:46 +0000 (16:50 +0200)]
image.mk: prepare for defining device profile data in the Device section

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agobase-files: Fix config_generate when there are no switch VLANs or ports configured...
Vittorio Gambaletta (VittGam) [Fri, 6 May 2016 03:23:43 +0000 (05:23 +0200)]
base-files: Fix config_generate when there are no switch VLANs or ports configured in board.json.

The json_select call fails when there are no roles or ports objects in board.json. "json_select .." must not be executed after failing.

This fixes for example LEDs not being set up in /etc/config/system.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
7 years agoREADME: Remove outdated info
Jo-Philipp Wich [Wed, 11 May 2016 14:51:01 +0000 (16:51 +0200)]
README: Remove outdated info

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agonetifd: Remove hardcoded DHCP release option
Hans Dedecker [Mon, 9 May 2016 16:22:38 +0000 (18:22 +0200)]
netifd: Remove hardcoded DHCP release option

Remove the udhcpc -R release option as sending a DHCP release
is configurable via the uci option release.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
7 years agoncurses: install a dummy libtinfo.a for packages that try to link it
Felix Fietkau [Wed, 11 May 2016 09:34:18 +0000 (11:34 +0200)]
ncurses: install a dummy libtinfo.a for packages that try to link it

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoRevert "ncurses: package the tinfo library separately"
Felix Fietkau [Wed, 11 May 2016 09:38:55 +0000 (11:38 +0200)]
Revert "ncurses: package the tinfo library separately"

This reverts commit 975f7160dd1df08a7c02ad5de5cce07edd377b12.

7 years agobuild: fix make clean, delete package directories for selected arch
Felix Fietkau [Wed, 11 May 2016 08:02:36 +0000 (10:02 +0200)]
build: fix make clean, delete package directories for selected arch

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agomtd: imagetag: fix compilation with changed mtd_fixtrx call
Rafał Miłecki [Tue, 10 May 2016 14:35:39 +0000 (16:35 +0200)]
mtd: imagetag: fix compilation with changed mtd_fixtrx call

Function mtd_fixtrx was changed during trx improvements.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
7 years agogettext-full: avoid spurious dependencies on ncurses
Felix Fietkau [Tue, 10 May 2016 14:01:38 +0000 (16:01 +0200)]
gettext-full: avoid spurious dependencies on ncurses

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoncurses: package the tinfo library separately
Felix Fietkau [Tue, 10 May 2016 13:59:56 +0000 (15:59 +0200)]
ncurses: package the tinfo library separately

Some packages expect it that way

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoramips: fix DTB generation
John Crispin [Tue, 10 May 2016 12:42:50 +0000 (14:42 +0200)]
ramips: fix DTB generation

using preprocessor style includes when calling dtc directly.

Signed-off-by: John Crispin <john@phrozen.org>
7 years agoiftop: Update to latest version, and drop patch
Bert Vermeulen [Tue, 10 May 2016 08:38:47 +0000 (10:38 +0200)]
iftop: Update to latest version, and drop patch

The patch made sure the ncursesw library was not selected to save space,
but that library doesn't exist in this distribution at all.

Signed-off-by: Bert Vermeulen <bert@biot.com>
7 years agoncurses: provide libncurses compatibility symlinks in libncursesw
Felix Fietkau [Tue, 10 May 2016 11:46:21 +0000 (13:46 +0200)]
ncurses: provide libncurses compatibility symlinks in libncursesw

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