oweals/openwrt.git
8 years agokernel: define CONFIG_CPU_THERMAL in kmod-thermal
Felix Fietkau [Fri, 20 May 2016 12:17:53 +0000 (14:17 +0200)]
kernel: define CONFIG_CPU_THERMAL in kmod-thermal

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoimage.mk: simplify device profile check, prepare for supporting selecting multiple...
Felix Fietkau [Wed, 18 May 2016 11:56:53 +0000 (13:56 +0200)]
image.mk: simplify device profile check, prepare for supporting selecting multiple profiles

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoimage.mk: fix evaluation order for image profile check
Felix Fietkau [Thu, 19 May 2016 13:34:36 +0000 (15:34 +0200)]
image.mk: fix evaluation order for image profile check

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agobcm2708: explicitly check for SUBTARGET instead of using the device SUBTARGETS variable
Felix Fietkau [Wed, 18 May 2016 11:43:57 +0000 (13:43 +0200)]
bcm2708: explicitly check for SUBTARGET instead of using the device SUBTARGETS variable

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agolibubox: update to the latest version
Felix Fietkau [Tue, 17 May 2016 12:09:26 +0000 (14:09 +0200)]
libubox: update to the latest version

adds a SIGCHLD handling fix and jshn performance improvements

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoarm64: update to linux 4.4
Felix Fietkau [Fri, 20 May 2016 12:14:52 +0000 (14:14 +0200)]
arm64: update to linux 4.4

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agokernel: add missing config symbols for 4.4
Felix Fietkau [Fri, 20 May 2016 12:19:30 +0000 (14:19 +0200)]
kernel: add missing config symbols for 4.4

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoramips: remove fake vlan rx offload from ethernet driver
Felix Fietkau [Thu, 19 May 2016 21:10:43 +0000 (23:10 +0200)]
ramips: remove fake vlan rx offload from ethernet driver

The network stack does not need it to do GRO

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoar71xx/cpe510: enable LNA for CPE210/220/510/520
Alexander Couzens [Fri, 20 May 2016 11:10:36 +0000 (13:10 +0200)]
ar71xx/cpe510: enable LNA for CPE210/220/510/520

The LNA improves the rx path. Within a simple test setup
it improved the signal from -60dbm to -40dbm.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
8 years agooxnas: drop compatibility with old kernels from mach-ox820
Daniel Golle [Fri, 20 May 2016 03:39:52 +0000 (05:39 +0200)]
oxnas: drop compatibility with old kernels from mach-ox820

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
8 years agooxnas: drop compatibility with old kernels from pinctrl
Daniel Golle [Fri, 20 May 2016 03:39:04 +0000 (05:39 +0200)]
oxnas: drop compatibility with old kernels from pinctrl

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
8 years agooxnas: drop compatibility with old kernels from irq-rps
Daniel Golle [Fri, 20 May 2016 03:37:53 +0000 (05:37 +0200)]
oxnas: drop compatibility with old kernels from irq-rps

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
8 years agooxnas: drop compatibility with old kernels from dwmac-oxnas
Daniel Golle [Fri, 20 May 2016 03:35:35 +0000 (05:35 +0200)]
oxnas: drop compatibility with old kernels from dwmac-oxnas

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
8 years agooxnas: sync 010-arm_introduce-dma-fiq-irq-broadcast with cns3xxx
Daniel Golle [Fri, 20 May 2016 06:24:32 +0000 (08:24 +0200)]
oxnas: sync 010-arm_introduce-dma-fiq-irq-broadcast with cns3xxx

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
8 years agokernel: update kernel 4.4 to version 4.4.11
Álvaro Fernández Rojas [Thu, 19 May 2016 17:32:46 +0000 (19:32 +0200)]
kernel: update kernel 4.4 to version 4.4.11

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
8 years agotoolchain: Bump ARC tools to arc-2016.03
Alexey Brodkin [Thu, 19 May 2016 05:20:33 +0000 (08:20 +0300)]
toolchain: Bump ARC tools to arc-2016.03

This change switches ARC tools to the most recent arc-2016.03
version.

ARC GNU tools of version arc-2016.03 bring some quite significant
changes like:
 * Binutils v2.26+ (upstream commit id 202ac19 with additional ARC
 * patches)
 * GCC v4.8.5
 * GDB 7.10

More about changes, improvements and fixes could be found here:
https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2016.03

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
8 years agobase-files: sysfixtime typo in exclude dnsmasq.time
Kevin Darbyshire-Bryant [Thu, 19 May 2016 15:57:19 +0000 (16:57 +0100)]
base-files: sysfixtime typo in exclude dnsmasq.time

Typo, missing space before ] in previous commit caused shell syntax
failure and incorrect restoration of time.

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
8 years agoimage.mk: fix building ubifs images
Daniel Golle [Thu, 19 May 2016 16:05:20 +0000 (18:05 +0200)]
image.mk: fix building ubifs images

A hook for ubifs was left-out in the new image building code. Add it.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
8 years agokernel: fix unaligned access issue in the bridge multicast-to-unicast patch
Felix Fietkau [Thu, 19 May 2016 15:55:34 +0000 (17:55 +0200)]
kernel: fix unaligned access issue in the bridge multicast-to-unicast patch

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agomac80211: fix unaligned accesses in the tx path
Felix Fietkau [Thu, 19 May 2016 15:35:49 +0000 (17:35 +0200)]
mac80211: fix unaligned accesses in the tx path

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoramips: use backported upstream patches
Álvaro Fernández Rojas [Thu, 19 May 2016 15:13:15 +0000 (17:13 +0200)]
ramips: use backported upstream patches

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
8 years agocurl: remove axtls config option, the library does not exist in our tree
Felix Fietkau [Thu, 19 May 2016 13:02:30 +0000 (15:02 +0200)]
curl: remove axtls config option, the library does not exist in our tree

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agocurl: update to 7.49
Dirk Neukirchen [Thu, 19 May 2016 11:27:41 +0000 (13:27 +0200)]
curl: update to 7.49

fixes:
 CVE-2016-3739: TLS certificate check bypass with mbedTLS/PolarSSL

- remove crypto auth compile fix
curl changelog of 7.46 states its fixed

- fix mbedtls and cyassl usability #19621 :
add path to certificate file (from Mozilla via curl) and
provide this in a new package

tested on ar71xx w. curl/mbedtls/wolfssl

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
8 years agoar71xx: fix a remaining unaligned access issue
Felix Fietkau [Thu, 19 May 2016 12:09:25 +0000 (14:09 +0200)]
ar71xx: fix a remaining unaligned access issue

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agokirkwood: move ubi/ubifs options to the image makefile
Felix Fietkau [Thu, 19 May 2016 13:18:12 +0000 (15:18 +0200)]
kirkwood: move ubi/ubifs options to the image makefile

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agolantiq: move ubi/ubifs options to the image makefile
Felix Fietkau [Wed, 18 May 2016 13:48:57 +0000 (15:48 +0200)]
lantiq: move ubi/ubifs options to the image makefile

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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.

8 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.

8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>