openwrt/staging/robimarko.git
9 years agoiproute2: fix compile with uClibc-ng
Felix Fietkau [Fri, 30 Oct 2015 15:20:41 +0000 (15:20 +0000)]
iproute2: fix compile with uClibc-ng

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 47291

9 years agobuild: Allow kernel modules to set build ID debug symbol
Felix Fietkau [Fri, 30 Oct 2015 15:20:12 +0000 (15:20 +0000)]
build: Allow kernel modules to set build ID debug symbol

This change adds support for specifying a build ID for kernel modules.
This is done by setting PKG_BUILD_ID to a hexadecimal string, which will
then be passed to the kernel linker. In addition, when this flag is set,
the build ID debug symbol (.note.gnu.build-id) will not be stripped from
the kernel module. This symbol is exported in sysfs by the kernel (if
the kernel is compiled with CONFIG_KALLSYMS) and so can be used to
uniquely identify a version of a kernel module in a running kernel. This
is useful for keeping track of different versions of a module when doing
experiments and development.

Modules that specify the build ID will be ~100 bytes larger (depending
on the length of the build ID specified). There is no size difference
for kernel modules that do not set this variable.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
SVN-Revision: 47290

9 years agobusybox: fix non-portable invocation of mktemp
Felix Fietkau [Fri, 30 Oct 2015 15:18:22 +0000 (15:18 +0000)]
busybox: fix non-portable invocation of mktemp

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47289

9 years agobusybox: update to version 1.24.1
Felix Fietkau [Fri, 30 Oct 2015 15:18:17 +0000 (15:18 +0000)]
busybox: update to version 1.24.1

Patches applied upstream and dropped:
280-fix_find_regression.patch
300-ip-addr-improvements.patch

Fixed upstream:
290-ash-fix-a-regression-in-handling-local-variables.patch (see thread: http://lists.busybox.net/pipermail/busybox/2015-April/082783.html)

Signed-off-by: Magnus Kroken <mkroken@gmail.com>
SVN-Revision: 47288

9 years agomac80211: add pending ath9k/ath10k patches
Felix Fietkau [Fri, 30 Oct 2015 15:18:03 +0000 (15:18 +0000)]
mac80211: add pending ath9k/ath10k patches

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47287

9 years agomac80211: update to wireless-testing 2015-10-26
Felix Fietkau [Fri, 30 Oct 2015 15:17:56 +0000 (15:17 +0000)]
mac80211: update to wireless-testing 2015-10-26

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47286

9 years agorelayd: update to the latest version, fixes some issues found by Coverity
Felix Fietkau [Fri, 30 Oct 2015 15:17:47 +0000 (15:17 +0000)]
relayd: update to the latest version, fixes some issues found by Coverity

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47285

9 years agokernel: backport some bcma header file definitions from wireless-testing
Felix Fietkau [Fri, 30 Oct 2015 15:17:41 +0000 (15:17 +0000)]
kernel: backport some bcma header file definitions from wireless-testing

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47284

9 years agokernel: add missing config symbol
Felix Fietkau [Fri, 30 Oct 2015 15:17:34 +0000 (15:17 +0000)]
kernel: add missing config symbol

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47283

9 years agobcm53xx: add missing Netgear R8000 LEDs
Rafał Miłecki [Fri, 30 Oct 2015 14:44:06 +0000 (14:44 +0000)]
bcm53xx: add missing Netgear R8000 LEDs

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47282

9 years agobcm53xx: add workaround for Netgear R8000 network
Rafał Miłecki [Fri, 30 Oct 2015 12:55:37 +0000 (12:55 +0000)]
bcm53xx: add workaround for Netgear R8000 network

According to the info from NVRAM we should use port 8 for the CPU (and
interface eth2). Unfortunately it doesn't work right now, so lets switch
to the port 5.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Forwardport of r46586 from 15.05

SVN-Revision: 47281

9 years agotarget: remove nathelpers from default images (legacy)
Steven Barth [Thu, 29 Oct 2015 15:16:06 +0000 (15:16 +0000)]
target: remove nathelpers from default images (legacy)

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 47280

9 years agomwlwifi: upgrade to 10.3.0.12
Imre Kaloz [Thu, 29 Oct 2015 12:11:58 +0000 (12:11 +0000)]
mwlwifi: upgrade to 10.3.0.12

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 47279

9 years agotools: quilt: fix perl interpreter line (#20802)
Jo-Philipp Wich [Mon, 26 Oct 2015 15:28:05 +0000 (15:28 +0000)]
tools: quilt: fix perl interpreter line (#20802)

When using '/usr/bin/env' in a shebang it is not possible to specify
additional flags for the interpreter. Remove '-w' switches and add
'use warnings;' instead.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 47278

9 years agomodules: crypto-rng changes additions for kernel 4.3
John Crispin [Mon, 26 Oct 2015 11:56:16 +0000 (11:56 +0000)]
modules: crypto-rng changes additions for kernel 4.3

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 47276

9 years agokernel: add support for KERNEL_CGROUP_PIDS
John Crispin [Mon, 26 Oct 2015 11:54:56 +0000 (11:54 +0000)]
kernel: add support for KERNEL_CGROUP_PIDS

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 47275

9 years agomodules: package VIA AC97 modules
John Crispin [Mon, 26 Oct 2015 11:54:15 +0000 (11:54 +0000)]
modules: package VIA AC97 modules

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 47274

9 years agomodules: enable crypto hardware modules
John Crispin [Mon, 26 Oct 2015 11:53:57 +0000 (11:53 +0000)]
modules: enable crypto hardware modules

set CONFIG_CRYPTO_HW=y to enable build of crypto-hw modules.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 47273

9 years agogeneric: fix adm6996 init
John Crispin [Mon, 26 Oct 2015 10:39:53 +0000 (10:39 +0000)]
generic: fix adm6996 init

Kernel 3.14 added aditional genphy_soft_reset phy reset to phy_init_hw in drivers/net/phy/phy_device.c
Since adm6996 does in driver soft reset and doesn't use BMCR_RESET for soft reset
add dummy soft_reset callback to adm6996 driver, like it is done in ar8216.

This fixes ticket #20147

Signed-off-by: Andrej Vlasic <andrej.vlasic0@gmail.com>
SVN-Revision: 47272

9 years agouClibc: enable xattr support to make feature sets of libc implementations closer...
John Crispin [Mon, 26 Oct 2015 10:39:48 +0000 (10:39 +0000)]
uClibc: enable xattr support to make feature sets of libc implementations closer to each other

Size increase is about 3-4k: this is how big xattr.os in uClibc after stripping is.

Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
SVN-Revision: 47271

9 years agokernel: Fix environment pointer setup in ar71xx/ath79
John Crispin [Mon, 26 Oct 2015 10:39:41 +0000 (10:39 +0000)]
kernel: Fix environment pointer setup in ar71xx/ath79

Observed on ar71xx/ath79 platforms such as Ubiquiti RouterStations.Reported in #20642.:
(https://dev.openwrt.org/ticket/20642).

If embedded command-line text exists with CONFIG_IMAGE_CMDLINE_HACK=y,firmware
init doesn't initialize environment pointer (fw_init_cmdline not called).

arcs_cmdline is not initialized before calling strlcat.

Signed-off-by: Ted Hess <thess@kitschensync.net>
Tested-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 47270

9 years agoprocd: update to latest git
John Crispin [Mon, 26 Oct 2015 09:02:09 +0000 (09:02 +0000)]
procd: update to latest git

this unbreaks glibc builds

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 47266

9 years agolibpcap: USB support by default if usbmon is enabled
John Crispin [Mon, 26 Oct 2015 09:02:03 +0000 (09:02 +0000)]
libpcap: USB support by default if usbmon is enabled

If building usbmon support then you'll likely want to have
USB support in libpcap as well.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
SVN-Revision: 47265

9 years agoomcproxy: fix PKG_LICENSE string
John Crispin [Mon, 26 Oct 2015 09:01:48 +0000 (09:01 +0000)]
omcproxy: fix PKG_LICENSE string

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 47264

9 years agoar71xx: add support for TP-LINK TL-WR841N/ND v10
John Crispin [Mon, 26 Oct 2015 09:01:41 +0000 (09:01 +0000)]
ar71xx: add support for TP-LINK TL-WR841N/ND v10

The TL-WR841N/ND v10 is mostly identical to the v9. Apart from some minor
changes, it contains a newer revision of the QCA9533 SoC and the CPU clock
is significantly higher.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 47263

9 years agoar71xx: fix ath79_soc_rev value for QCA9531 ver. 2
John Crispin [Mon, 26 Oct 2015 09:01:34 +0000 (09:01 +0000)]
ar71xx: fix ath79_soc_rev value for QCA9531 ver. 2

ath9k expects to get revision id 2 for the QCA9531 ver. 2 rev. 0. This
fixes the very low TX power on some devices like the TP-LINK
TL-WR841ND v10.

As ath79_soc_rev is only used to get the revision number to ath9k on the
QCA9533, just set it to the expected value on the ver. 2.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Tested-by: Felix Kaechele <felix@kaechele.ca>
SVN-Revision: 47262

9 years agoar71xx: Bitmain Antminer S1/S3 set GPIO for USB Power
John Crispin [Mon, 26 Oct 2015 09:01:28 +0000 (09:01 +0000)]
ar71xx: Bitmain Antminer S1/S3 set GPIO for USB Power

Antminers using the stock bootloader will not hash without this GPIO set.
Applies to DD and CC

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
SVN-Revision: 47261

9 years agobrcm2708: copy overlays README to boot partition
John Crispin [Mon, 26 Oct 2015 09:01:21 +0000 (09:01 +0000)]
brcm2708: copy overlays README to boot partition

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 47260

9 years agobrcm2708: update modules
John Crispin [Mon, 26 Oct 2015 09:01:12 +0000 (09:01 +0000)]
brcm2708: update modules

- Add support for DAC+ Pro.
- Add kmod-smi-bcm2835 and kmod-smi-bcm2835-dev modules.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 47259

9 years agobrcm2708: update 4.1 patches
John Crispin [Mon, 26 Oct 2015 09:01:05 +0000 (09:01 +0000)]
brcm2708: update 4.1 patches

As usual, this patches were taken (and rebased) from
https://github.com/raspberrypi/linux/commits/rpi-4.1.y

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 47258

9 years agobrcm2708-gpu-fw: update to latest version
John Crispin [Mon, 26 Oct 2015 09:00:47 +0000 (09:00 +0000)]
brcm2708-gpu-fw: update to latest version

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 47257

9 years agoramips: make the alsa driver register the codec
John Crispin [Mon, 26 Oct 2015 09:00:42 +0000 (09:00 +0000)]
ramips: make the alsa driver register the codec

this allows using the codec even if it is not listed in the DTS

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 47256

9 years agorb532: prepare switch to 4.1
John Crispin [Mon, 26 Oct 2015 09:00:35 +0000 (09:00 +0000)]
rb532: prepare switch to 4.1

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 47255

9 years agolantiq: add clk_round_rate()
Hauke Mehrtens [Sun, 25 Oct 2015 22:46:46 +0000 (22:46 +0000)]
lantiq: add clk_round_rate()

This adds a basic implementation of clk_round_rate()
The clk_round_rate() function is called by multiple drivers and
subsystems now and the lantiq clk driver is supposed to export this,
but doesn't do so, this causes linking problems like this one:
ERROR: "clk_round_rate" [drivers/media/v4l2-core/videodev.ko] undefined!

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47254

9 years agobcm53xx: add clk tree driver
Hauke Mehrtens [Sun, 25 Oct 2015 22:46:08 +0000 (22:46 +0000)]
bcm53xx: add clk tree driver

These patches are written by Broadcom and will be in mainline Linux
kernel soon. I had some problems to get them backported to kernel 4.1,
so currently they are only available for 4.3.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47253

9 years agokernel: update kernel 4.1 to version 4.1.11
Hauke Mehrtens [Sun, 25 Oct 2015 17:32:01 +0000 (17:32 +0000)]
kernel: update kernel 4.1 to version 4.1.11

https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.11

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47252

9 years agobcm53xx: add support basic for kernel 4.3
Hauke Mehrtens [Sun, 25 Oct 2015 16:43:14 +0000 (16:43 +0000)]
bcm53xx: add support basic for kernel 4.3

The files directory is now split up into the files which are needed for
every kernel version and the files only needed by kernel 4.1. The files
in files-4.1 are already merged into mainline kernel 4.3. This patch
only removed patches which were merged into mainline kernel 4.3.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47251

9 years agokernel: update kernel 4.3 to version 4.3-rc7
Hauke Mehrtens [Sun, 25 Oct 2015 16:13:34 +0000 (16:13 +0000)]
kernel: update kernel 4.3 to version 4.3-rc7

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47250

9 years agobcm53xx: add missing patch from r47248 for USB 3.0
Hauke Mehrtens [Fri, 23 Oct 2015 22:38:07 +0000 (22:38 +0000)]
bcm53xx: add missing patch from r47248 for USB 3.0

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47249

9 years agobcm53xx: update USB 3.0 driver with version submitted upstream
Hauke Mehrtens [Fri, 23 Oct 2015 22:32:38 +0000 (22:32 +0000)]
bcm53xx: update USB 3.0 driver with version submitted upstream

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47248

9 years agobcm53xx: use Broadcom's proposed SMP implementation
Hauke Mehrtens [Fri, 23 Oct 2015 22:29:05 +0000 (22:29 +0000)]
bcm53xx: use Broadcom's proposed SMP implementation

This replaces our SMP implementation with a very similar version which
is Broadcom currently trying to get into mainline kernel.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47247

9 years agobcm53xx: Add BCM SVK DT files
Hauke Mehrtens [Fri, 23 Oct 2015 22:26:49 +0000 (22:26 +0000)]
bcm53xx: Add BCM SVK DT files

Add device tree files for Broadcom Northstar based SVKs.  Since the
bcm5301x.dtsi already exists, all that is necessary is the dts files to
enable the UARTs.  With these files, the SVKs are able to boot to shell.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47246

9 years agobzip2: extend/fix the Host/Install rule to install libbz2.so files
Steven Barth [Thu, 22 Oct 2015 13:24:35 +0000 (13:24 +0000)]
bzip2: extend/fix the Host/Install rule to install libbz2.so files

It looks like the bzip2 package does not install any shared libs
and has no build rules to install any shared libs.

So, for the host build we're installing the libbz2 shared libs manually
so that other modules can link against them.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
SVN-Revision: 47245

9 years agotools: scons: Add alternate download URL
Florian Fainelli [Thu, 22 Oct 2015 00:43:35 +0000 (00:43 +0000)]
tools: scons: Add alternate download URL

sourceforge.net sometimes produces the following tarball file while
being behind a HTTP proxy:

We're sorry -- the Sourceforge site is currently in Disaster Recovery
mode, and currently requires
the use of javascript to function.  Please check back later.

Update to a regular FTP location that allows us to complete the
download.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 47244

9 years agouhttpd: update to latest git HEAD
John Crispin [Tue, 20 Oct 2015 18:16:05 +0000 (18:16 +0000)]
uhttpd: update to latest git HEAD

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 47240

9 years agoramips: gpio-mt7621 was not handling irqs above 31 properly
John Crispin [Tue, 20 Oct 2015 07:09:20 +0000 (07:09 +0000)]
ramips: gpio-mt7621 was not handling irqs above 31 properly

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 47238

9 years agokernel: force CONFIG_BT_HCIUART_ATH3K to y
Jo-Philipp Wich [Tue, 20 Oct 2015 00:00:39 +0000 (00:00 +0000)]
kernel: force CONFIG_BT_HCIUART_ATH3K to y

The CONFIG_BT_HCIUART_ATH3K may not be "m", therfore we cannot inherit the
kmod selection state. Force the "CONFIG_BT_HCIUART_ATH3K" symbol to "y" in
order to avoid `warning: symbol value 'm' invalid for BT_HCIUART_ATH3K` and
subsequent kconfig stalls.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 47237

9 years agoar71xx: Send power to USB port on WNR2200
John Crispin [Mon, 19 Oct 2015 18:18:12 +0000 (18:18 +0000)]
ar71xx: Send power to USB port on WNR2200

This patch fixes ticket #15267 by enabling power on the
WNR2200's USB port. At present, the USB port on the WNR2200
is non-functional due to it not receiving power.

This patch defines an additional GPIO pin, but none of the
current GPIO definitions have been modified.

Signed-off-by: Riley Baird <BM-2cVqnDuYbAU5do2DfJTrN7ZbAJ246S4XiX@bitmessage.ch>
SVN-Revision: 47236

9 years agoar71xx: Add Gainstrong MiniBox v1.0 support to trunk
John Crispin [Mon, 19 Oct 2015 17:55:25 +0000 (17:55 +0000)]
ar71xx: Add Gainstrong MiniBox v1.0 support to trunk

This patch supersedes the v1 from September 17th.

Bumping the patch version - the MiniBox profile showed up under M, but
since it's called 'Gainstrong MiniBox v1.0' now it looks out of place.
Renamed the profile to gs-minibox-v1.mk to fix that.

The following patch adds support for the Gainstrong MiniBox into trunk
(or 'Designated Driver' :D ).

Fixed items:

- Inverted LED polarity (OOLITE seems to suffer from the same problem).
- Changed uppercase MINIBOX_V1_ prefix as requested.
- Prefixes are now gs_minibox_ similar to gs_oolite_ (same vendor).
- Mention the vendor (Gainstrong) in code headers.

Compiles fine, has been confirmed working by owners on 15.05.

Question: I've seen some boards use tools/firmware-utils/src/mktplinkfw.c,
the MiniBox images build fine without, so I'm wondering: do I need to add
it in there as well? Any added benefit?

Thank you

Signed-off by: Stijn Segers <francesco.borromini@inventati.org>

SVN-Revision: 47234

9 years agokernel: add usb-mass-storage-gadget driver package
John Crispin [Mon, 19 Oct 2015 10:10:51 +0000 (10:10 +0000)]
kernel: add usb-mass-storage-gadget driver package

This is another useful gadget driver that can allow an OTG port to act as a
mass storage device.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
SVN-Revision: 47225

9 years agokernel: add mvsw61xx module package
John Crispin [Mon, 19 Oct 2015 10:10:41 +0000 (10:10 +0000)]
kernel: add mvsw61xx module package

Adds the package to select the mvsw61xx module present in the 3.18/4.0/4.1
kernels.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
SVN-Revision: 47224

9 years agokernel: add ath3k module package
John Crispin [Mon, 19 Oct 2015 10:10:20 +0000 (10:10 +0000)]
kernel: add ath3k module package

Adds a package for the ath3k kernel module, present in 3.18/4.0/4.1 kernels

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
SVN-Revision: 47223

9 years agofirmware: linux-firmware: Add ibt-firmware and ar3k-firmware packages
John Crispin [Mon, 19 Oct 2015 10:10:14 +0000 (10:10 +0000)]
firmware: linux-firmware: Add ibt-firmware and ar3k-firmware packages

Some bluetooth devices require firmware. Add intel bluetooth and ar3k for now.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
SVN-Revision: 47222

9 years agoar71xx: Bitmain Antminer S1 & S3 cleanup
John Crispin [Mon, 19 Oct 2015 10:10:02 +0000 (10:10 +0000)]
ar71xx: Bitmain Antminer S1 & S3 cleanup

Sets the LEDs to boardname:color:led-name
Sets the LAN to eth0
Other corrections such as the Machine Name and HWIDs
v2 corrects the profile names in the Makefile and changes tabs to spaces
in the Makefile 'define Device/' like the other devices.

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
SVN-Revision: 47221

9 years agogeneric: add 8139cp fixes, enable hardware csum/tso on 4.0+
John Crispin [Mon, 19 Oct 2015 10:09:54 +0000 (10:09 +0000)]
generic: add 8139cp fixes, enable hardware csum/tso on 4.0+

This contains two sets of fixes for the 8139cp driver.

For all kernel versions older than 4.3, we can apply the fixes from the
4.3-rc4 kernel. In particular, these fix the TX timeout recovery which
is causing my Geos to lock up until the hardware watchdog kicks in.

For 4.0 and later kernels, we can also apply the additional improvements
which are going into 4.4 to fix and enable hardware checksum/TSO
offload. Backporting those to older kernels is non-trivial.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
SVN-Revision: 47220

9 years agobase-files: create /var/tmp on boot
John Crispin [Mon, 19 Oct 2015 10:09:46 +0000 (10:09 +0000)]
base-files: create /var/tmp on boot

FHS mandates presence of /var/tmp on compliant systems.

The lack of /var/tmp was discovered when using MIT Kerberos libraries
which default to that location for storing credentials cache.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
SVN-Revision: 47219

9 years agooxnas: move gmac soc glue from mach to stmmac driver
John Crispin [Mon, 19 Oct 2015 10:09:36 +0000 (10:09 +0000)]
oxnas: move gmac soc glue from mach to stmmac driver

Still a lot of kernel-version ifdef'ery, but imho that's easy to remove
once obsoleted and avoids duplicate code in the meantime.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 47218

9 years agooxnas: prepare pinctrl for kernel >=4.2
John Crispin [Mon, 19 Oct 2015 10:09:30 +0000 (10:09 +0000)]
oxnas: prepare pinctrl for kernel >=4.2

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 47217

9 years agooxnas: prepare irqchip driver for kernel >=4.2
John Crispin [Mon, 19 Oct 2015 10:09:23 +0000 (10:09 +0000)]
oxnas: prepare irqchip driver for kernel >=4.2

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 47216

9 years agooxnas: fix duplicate include in clk-oxnas
John Crispin [Mon, 19 Oct 2015 10:09:16 +0000 (10:09 +0000)]
oxnas: fix duplicate include in clk-oxnas

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 47215

9 years agooxnas: remove obsolete __cpuinit
John Crispin [Mon, 19 Oct 2015 10:09:07 +0000 (10:09 +0000)]
oxnas: remove obsolete __cpuinit

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 47214

9 years agolantiq: Synchronize access to the DSL command pipe
John Crispin [Mon, 19 Oct 2015 10:08:56 +0000 (10:08 +0000)]
lantiq: Synchronize access to the DSL command pipe

Whenever two processes were executing different commands at the same
time then one of the commands sometimes got the response of the other
command.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 47213

9 years agotools/firmware-utils: tplink-safeloader: add version 1.1 support to CPE210/220/510/520
John Crispin [Mon, 19 Oct 2015 10:08:50 +0000 (10:08 +0000)]
tools/firmware-utils: tplink-safeloader: add version 1.1 support to CPE210/220/510/520

The hardware is identical to version 1.0, add the new models to the support
list.

Also remove the empty line at the end of the support list, the current
stock images don't have it either.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 47212

9 years agotools/firmware-utils: tplink-safeloader: fix support-list format, clean up vendor...
John Crispin [Mon, 19 Oct 2015 10:08:44 +0000 (10:08 +0000)]
tools/firmware-utils: tplink-safeloader: fix support-list format, clean up vendor information

The first 4 bytes of the support list and the vendor information are
supposed to contain the length of these fields.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 47211

9 years agotools/firmware-utils: tplink-safeloader: clean up code
John Crispin [Mon, 19 Oct 2015 10:08:34 +0000 (10:08 +0000)]
tools/firmware-utils: tplink-safeloader: clean up code

There is no reason for the internal functions not to be static.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 47210

9 years agolantiq: Print the status register whenever an error occurs
John Crispin [Mon, 19 Oct 2015 10:08:29 +0000 (10:08 +0000)]
lantiq: Print the status register whenever an error occurs

This should help finding potential problems with the SPI driver.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 47209

9 years agolantiq: Fixed reading the number of RX FIFOs in the SPI driver
John Crispin [Mon, 19 Oct 2015 10:08:18 +0000 (10:08 +0000)]
lantiq: Fixed reading the number of RX FIFOs in the SPI driver

Until now the SPI driver used the TX bits for the RX FIFO. This seems
uncritical for now since both are equals on my devices (VR9), but this
could cause problems on other SoCs.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 47208

9 years agoRevert "lantiq: activate spi-xway on TDW89X0"
John Crispin [Mon, 19 Oct 2015 10:08:12 +0000 (10:08 +0000)]
Revert "lantiq: activate spi-xway on TDW89X0"

This reverts commit 68c2e4789b4f071ee75d39248f4d08fe8283eb28.

commit r47159 was bad

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 47207

9 years agouhttpd: update to latest git revision
John Crispin [Mon, 19 Oct 2015 10:08:01 +0000 (10:08 +0000)]
uhttpd: update to latest git revision

adds URL alias support

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 47206

9 years agoramips: add alsa support
John Crispin [Mon, 19 Oct 2015 10:07:54 +0000 (10:07 +0000)]
ramips: add alsa support

add the SDK alsa driver. this has only been tested on mt7628/88 and wm8960.
mt7620 is only compile tested.

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 47205

9 years agoramips: add a baurate hack
John Crispin [Mon, 19 Oct 2015 10:07:43 +0000 (10:07 +0000)]
ramips: add a baurate hack

When talking to an atmel controller we need 9600 or 250000 baud.
as 250000 does not exist we use 2500000.

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 47204

9 years agoramips: add LinkIt Smart7688 support
John Crispin [Mon, 19 Oct 2015 10:07:38 +0000 (10:07 +0000)]
ramips: add LinkIt Smart7688 support

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 47203

9 years agopolarssl: update to version 1.3.14
Hauke Mehrtens [Sun, 18 Oct 2015 21:48:32 +0000 (21:48 +0000)]
polarssl: update to version 1.3.14

This fixes CVE-2015-5291 and some other smaller security issues.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47201

9 years agombedtls: update to version 2.1.2
Hauke Mehrtens [Sun, 18 Oct 2015 21:48:04 +0000 (21:48 +0000)]
mbedtls: update to version 2.1.2

This fixes CVE-2015-5291 and some other smaller security issues.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47200

9 years agobrcm47xx: remove support for kernel 3.18
Hauke Mehrtens [Sat, 17 Oct 2015 11:50:16 +0000 (11:50 +0000)]
brcm47xx: remove support for kernel 3.18

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47199

9 years agobcm53xx: remove support for kernel 3.18
Hauke Mehrtens [Sat, 17 Oct 2015 11:49:01 +0000 (11:49 +0000)]
bcm53xx: remove support for kernel 3.18

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47198

9 years agocosmetic: remove trailing whitespaces
Luka Perkov [Thu, 15 Oct 2015 22:12:13 +0000 (22:12 +0000)]
cosmetic: remove trailing whitespaces

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 47197

9 years ago6in4: add tunlink option support
Steven Barth [Thu, 15 Oct 2015 08:56:59 +0000 (08:56 +0000)]
6in4: add tunlink option support

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 47189

9 years agomt76: update to the latest version, fixes tx related crashes
Felix Fietkau [Mon, 12 Oct 2015 13:11:26 +0000 (13:11 +0000)]
mt76: update to the latest version, fixes tx related crashes

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47187

9 years agofirmware-utils/buffalo-enc: explicitly use signed char for checksum function
Felix Fietkau [Mon, 12 Oct 2015 13:11:20 +0000 (13:11 +0000)]
firmware-utils/buffalo-enc: explicitly use signed char for checksum function

ARM defaults to unsigned char and that breaks the calculation, as it
relies on sign extension

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47186

9 years agofirmware-utils/buffalo-enc: add support for decrypting data with an offset
Felix Fietkau [Mon, 12 Oct 2015 13:11:03 +0000 (13:11 +0000)]
firmware-utils/buffalo-enc: add support for decrypting data with an offset

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47185

9 years agoiperf3: update URL
Luka Perkov [Sun, 11 Oct 2015 22:41:30 +0000 (22:41 +0000)]
iperf3: update URL

Update iperf3 to point to the correct project website. Prior URL was the
old iperf2 website.

Signed-off-by: Karl Palsson <karlp@remake.is>
SVN-Revision: 47184

9 years agolibnl: fix URL
Luka Perkov [Sun, 11 Oct 2015 22:19:25 +0000 (22:19 +0000)]
libnl: fix URL

Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>
SVN-Revision: 47183

9 years agokernel: generic: add kernel 4.3
Hauke Mehrtens [Sun, 11 Oct 2015 19:08:08 +0000 (19:08 +0000)]
kernel: generic: add kernel 4.3

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47182

9 years agotools: firmware-utils: fix compiler warnings
Hauke Mehrtens [Sun, 11 Oct 2015 19:00:41 +0000 (19:00 +0000)]
tools: firmware-utils: fix compiler warnings

This just fixes a lot of compiler warnings.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47181

9 years agolantiq: fix use of IRQF_DISABLED in lantiq kmods
John Crispin [Sun, 11 Oct 2015 16:24:43 +0000 (16:24 +0000)]
lantiq: fix use of IRQF_DISABLED in lantiq kmods

The IRQF_DISABLED flag was removed in kernel 4.1 with commit
"genirq: Remove the deprecated 'IRQF_DISABLED' request_irq() flag entirely" [1].

Therefore the compilation of ltq-hcd and ltq-vmmc kmods fails.

[1] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d8bf368d0631d4bc2612d8bf2e4e8e74e620d0cc

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
SVN-Revision: 47180

9 years agoar71xx: TP-LINK Archer C5 image name
John Crispin [Sun, 11 Oct 2015 16:24:31 +0000 (16:24 +0000)]
ar71xx: TP-LINK Archer C5 image name

There are more version on market, add version number to the name.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
SVN-Revision: 47179

9 years agoar71xx/image: migrate all images based on macro TPLINK
John Crispin [Sun, 11 Oct 2015 16:24:22 +0000 (16:24 +0000)]
ar71xx/image: migrate all images based on macro TPLINK

Includes images for
rnx-n360rt
tl-mr3220-v1
tl-mr3420-v1
tl-wa701n-v1
tl-wa730rev1
tl-wa7510n
tl-wa801nd-v1
tl-wa830re-v1
tl-wa901nd-v1
tl-wa901nd-v2
tl-wr740n-v1
tl-wr740n-v3
tl-wr743nd-v1
tl-wr841nd-v3
tl-wr841nd-v5
tl-wr841nd-v7
tl-wr842n-v1
tl-wr941nd-v2
tl-wr941nd-v3
tl-wr941nd-v4
tl-wr1043nd-v1

SVN-Revision: 47178

9 years agoar71xx/image: remove old build step TPLINK-LZMA
John Crispin [Sun, 11 Oct 2015 16:24:10 +0000 (16:24 +0000)]
ar71xx/image: remove old build step TPLINK-LZMA

all boards has been migrated to the new build step

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 47177

9 years agoar71xx/image: migrate last TPLINK-LZMA images to new build system
John Crispin [Sun, 11 Oct 2015 16:24:01 +0000 (16:24 +0000)]
ar71xx/image: migrate last TPLINK-LZMA images to new build system

Migrate TLWR1043V2 TLWR2543

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 47176

9 years agoar71xx/image: refactor tplink-chn-v2 devices
John Crispin [Sun, 11 Oct 2015 16:23:53 +0000 (16:23 +0000)]
ar71xx/image: refactor tplink-chn-v2 devices

* use build step mktplinkfw with extra arguments
* remove now unused mktplinkfw-chn-v2
* use Device/tplink

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 47175

9 years agoar71xx/image: add options argument to mktplinkfw step
John Crispin [Sun, 11 Oct 2015 16:23:44 +0000 (16:23 +0000)]
ar71xx/image: add options argument to mktplinkfw step

Allow to pass extra arguments to mktplinkfw step. Some board requires
an extra argument to create a valid image.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 47174

9 years agoar71xx/image: remove unused multiprofile definitons
John Crispin [Sun, 11 Oct 2015 16:23:35 +0000 (16:23 +0000)]
ar71xx/image: remove unused multiprofile definitons

These profiles covered by new image/Makefile descriptions. Only the old format uses
MultiProfile macro

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 47173

9 years agolantiq: bugfix wrong non pre-emptive crc errors output
John Crispin [Sun, 11 Oct 2015 16:23:26 +0000 (16:23 +0000)]
lantiq: bugfix wrong non pre-emptive crc errors output

This patch fixes a wrong non pre-emptive crc errors output of
dsl_control.sh status.

Signed-off-by: Luca Debernardi <luca.debernardi@gmail.com>
SVN-Revision: 47172

9 years agobrcm2708: use mmd for overlays subdirectory
John Crispin [Sun, 11 Oct 2015 16:23:18 +0000 (16:23 +0000)]
brcm2708: use mmd for overlays subdirectory

Fixes https://dev.openwrt.org/ticket/20704

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 47171

9 years agomtools: build and install mmd
John Crispin [Sun, 11 Oct 2015 16:23:11 +0000 (16:23 +0000)]
mtools: build and install mmd

useful for making MS-DOS subdirectories

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 47170

9 years agobrcm2708: all sound overlays require i2c to work
John Crispin [Sun, 11 Oct 2015 16:23:01 +0000 (16:23 +0000)]
brcm2708: all sound overlays require i2c to work

Tested on RPi B+ with HiFiBerry Amp+

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 47169

9 years agoimx6: fix platform checking
Luka Perkov [Sat, 10 Oct 2015 12:35:02 +0000 (12:35 +0000)]
imx6: fix platform checking

Fix platform checking when configuring networks and when doing sysupgrade.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
SVN-Revision: 47168

9 years agouboot-envtools: Add Gateworks Ventana Support
Luka Perkov [Sat, 10 Oct 2015 12:34:45 +0000 (12:34 +0000)]
uboot-envtools: Add Gateworks Ventana Support

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
SVN-Revision: 47167

9 years agoomap24xx: Append dtb to the zImage
Michael Büsch [Fri, 9 Oct 2015 07:46:12 +0000 (07:46 +0000)]
omap24xx: Append dtb to the zImage

We just hardcode the n810 dtb for now. It should be selectable via profiles.

SVN-Revision: 47166