openwrt.git
9 years agonetifd: update to the latest version, fixes a use-after-free bug
nbd [Fri, 24 Oct 2014 13:04:12 +0000 (13:04 +0000)]
netifd: update to the latest version, fixes a use-after-free bug

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43044 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: allow targets to specify KERNEL_PATCHVER instead of LINUX_VERSION
nbd [Fri, 24 Oct 2014 13:04:08 +0000 (13:04 +0000)]
kernel: allow targets to specify KERNEL_PATCHVER instead of LINUX_VERSION

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43043 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agogdb: fix build failure on arm
nico [Fri, 24 Oct 2014 11:19:29 +0000 (11:19 +0000)]
gdb: fix build failure on arm

Signed-off-by: Nicolas Thill <nico@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43042 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoinclude: unbreak conffiles, postinst & prerm exports
jow [Fri, 24 Oct 2014 09:24:51 +0000 (09:24 +0000)]
include: unbreak conffiles, postinst & prerm exports

Changeset r43017 reworked the ipkg control metadata generation but broke
the export of conffiles, postinst and prerm defines.

Change the code back to rely on shvar and shexport, this is required to
properly output multiline contents.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43041 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agolinux: add kmod-i2c-piix4
jow [Fri, 24 Oct 2014 09:24:45 +0000 (09:24 +0000)]
linux: add kmod-i2c-piix4

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43040 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agonetlogic: fix modular USB build
florian [Fri, 24 Oct 2014 00:16:48 +0000 (00:16 +0000)]
netlogic: fix modular USB build

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43039 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agonetlogic: add basic user-space support
florian [Fri, 24 Oct 2014 00:16:37 +0000 (00:16 +0000)]
netlogic: add basic user-space support

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43038 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agonetlogic: add XLR/XLP support
florian [Fri, 24 Oct 2014 00:16:23 +0000 (00:16 +0000)]
netlogic: add XLR/XLP support

Add support for Broadcom/Netlogic XLR/XLP support

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43037 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: add a memmove() implementation for MIPS boot decompressor
florian [Fri, 24 Oct 2014 00:16:10 +0000 (00:16 +0000)]
kernel: add a memmove() implementation for MIPS boot decompressor

This is required due to 306-mips_mem_functions_performance.patch, just
add a memmove() implementation to satisfy the lzma2 decompressor code.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43036 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agotoolchain: fix mips64 musl linker names
florian [Fri, 24 Oct 2014 00:15:58 +0000 (00:15 +0000)]
toolchain: fix mips64 musl linker names

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43035 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoath: process regulatory notifiers with CONFIG_ATH_USER_REGD set
nbd [Thu, 23 Oct 2014 13:33:18 +0000 (13:33 +0000)]
ath: process regulatory notifiers with CONFIG_ATH_USER_REGD set

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43034 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoath10k: fix survey output channel in-use flag
nbd [Thu, 23 Oct 2014 13:33:14 +0000 (13:33 +0000)]
ath10k: fix survey output channel in-use flag

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43033 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoath9k: fix tx power reporting
nbd [Wed, 22 Oct 2014 16:26:56 +0000 (16:26 +0000)]
ath9k: fix tx power reporting

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43032 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobcm53xx: backport forgotten spi-nor change
rmilecki [Wed, 22 Oct 2014 14:34:43 +0000 (14:34 +0000)]
bcm53xx: backport forgotten spi-nor change

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43031 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobcm53xx: backport spi-nor patches from 3.18-rc1
rmilecki [Wed, 22 Oct 2014 14:16:18 +0000 (14:16 +0000)]
bcm53xx: backport spi-nor patches from 3.18-rc1

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43030 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoath9k: merge ar9580/ar955x initval updates
nbd [Wed, 22 Oct 2014 13:32:12 +0000 (13:32 +0000)]
ath9k: merge ar9580/ar955x initval updates

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43029 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoath9k: merge a regulatory handling fix
nbd [Wed, 22 Oct 2014 13:32:06 +0000 (13:32 +0000)]
ath9k: merge a regulatory handling fix

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43028 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agolinux: add kmod-hwmon-k10temp
jow [Wed, 22 Oct 2014 11:30:07 +0000 (11:30 +0000)]
linux: add kmod-hwmon-k10temp

This module is required to read the CPU core temperature sensors
on the Alix APU board.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43027 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: add support for buffalo WZR-450HP2
nbd [Wed, 22 Oct 2014 11:02:18 +0000 (11:02 +0000)]
ar71xx: add support for buffalo WZR-450HP2

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43026 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoRevert "build: use ONESHELL to speed up scanning and the toplevel makefile"
nbd [Wed, 22 Oct 2014 10:47:26 +0000 (10:47 +0000)]
Revert "build: use ONESHELL to speed up scanning and the toplevel makefile"

This seems to cause issues on some build hosts, and it is not that
important.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43025 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: use .ONESHELL to speed up processing of many kmod-* packages
nbd [Wed, 22 Oct 2014 08:57:56 +0000 (08:57 +0000)]
kernel: use .ONESHELL to speed up processing of many kmod-* packages

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43024 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobuild: only print skipped packages that were selected
nbd [Wed, 22 Oct 2014 08:57:50 +0000 (08:57 +0000)]
build: only print skipped packages that were selected

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43023 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: use /bin/sh instead of bash to speed up processing of many kmod-* packages
nbd [Wed, 22 Oct 2014 08:57:45 +0000 (08:57 +0000)]
kernel: use /bin/sh instead of bash to speed up processing of many kmod-* packages

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43022 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobuild: use ONESHELL to speed up scanning and the toplevel makefile
nbd [Wed, 22 Oct 2014 08:57:40 +0000 (08:57 +0000)]
build: use ONESHELL to speed up scanning and the toplevel makefile

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43021 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoinclude/shell.sh: remove getvar()
nbd [Wed, 22 Oct 2014 08:57:30 +0000 (08:57 +0000)]
include/shell.sh: remove getvar()

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43020 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobuild: optimize target metadata dump
nbd [Wed, 22 Oct 2014 08:57:25 +0000 (08:57 +0000)]
build: optimize target metadata dump

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43019 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agorules.mk: reduce shexport to one line to allow it to be put in a target context
nbd [Wed, 22 Oct 2014 08:57:20 +0000 (08:57 +0000)]
rules.mk: reduce shexport to one line to allow it to be put in a target context

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43018 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobuild: clean up and optimize ipkg control generator code
nbd [Wed, 22 Oct 2014 08:57:16 +0000 (08:57 +0000)]
build: clean up and optimize ipkg control generator code

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43017 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobuild: do not process built-in rules for make subdirs
nbd [Wed, 22 Oct 2014 08:57:11 +0000 (08:57 +0000)]
build: do not process built-in rules for make subdirs

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43016 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobuild: optimize printing of disabled packages
nbd [Wed, 22 Oct 2014 08:57:07 +0000 (08:57 +0000)]
build: optimize printing of disabled packages

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43015 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agocomgt: drop the use of the non-standard XCASE termios flag (#18186)
nbd [Tue, 21 Oct 2014 20:32:05 +0000 (20:32 +0000)]
comgt: drop the use of the non-standard XCASE termios flag (#18186)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43014 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agonftables: bump to latest, fix minigmp
cyrus [Tue, 21 Oct 2014 20:00:56 +0000 (20:00 +0000)]
nftables: bump to latest, fix minigmp

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43013 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agolibnftnl: bump to latest
cyrus [Tue, 21 Oct 2014 20:00:46 +0000 (20:00 +0000)]
libnftnl: bump to latest

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43012 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoath9k: merge a fix for queue start/stop handling (fixes #18164, #18130)
nbd [Tue, 21 Oct 2014 16:30:01 +0000 (16:30 +0000)]
ath9k: merge a fix for queue start/stop handling (fixes #18164, #18130)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43011 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobcm53xx: add support for Asus RT-N18U LEDs & buttons
rmilecki [Tue, 21 Oct 2014 14:37:44 +0000 (14:37 +0000)]
bcm53xx: add support for Asus RT-N18U LEDs & buttons

Got GPIOs from #18152 thanks to Grrruk

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43010 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomusl: fix getopt optional argument processing
nbd [Tue, 21 Oct 2014 11:03:20 +0000 (11:03 +0000)]
musl: fix getopt optional argument processing

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43009 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobcm53xx: switch RT-N18U firmware to the UBI
rmilecki [Mon, 20 Oct 2014 22:09:40 +0000 (22:09 +0000)]
bcm53xx: switch RT-N18U firmware to the UBI

According to the ticket #18152 it also uses NAND with 0x20000 erase size
and 0x800 page size.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43008 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agonetifd: update to the latest version, fixes link status handling on VLAN devices...
nbd [Mon, 20 Oct 2014 20:09:35 +0000 (20:09 +0000)]
netifd: update to the latest version, fixes link status handling on VLAN devices (#18106)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43007 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobase-files: fix telnet login on musl
nbd [Mon, 20 Oct 2014 15:07:19 +0000 (15:07 +0000)]
base-files: fix telnet login on musl

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43006 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agorpcd: add 802.11ac for iwinfo
nbd [Mon, 20 Oct 2014 13:55:11 +0000 (13:55 +0000)]
rpcd: add 802.11ac for iwinfo

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43005 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobinutils: remove linaro version string, it confuses gcc lto support detection
nbd [Mon, 20 Oct 2014 11:43:08 +0000 (11:43 +0000)]
binutils: remove linaro version string, it confuses gcc lto support detection

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43004 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agogcc: update 4.9 to linaro 2014.10
nbd [Mon, 20 Oct 2014 11:42:59 +0000 (11:42 +0000)]
gcc: update 4.9 to linaro 2014.10

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43003 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoopenssl: host build fails when ccache is enabled
blogic [Mon, 20 Oct 2014 11:19:53 +0000 (11:19 +0000)]
openssl: host build fails when ccache is enabled

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43002 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agohostapd: Add wpa_psk_file option to netifd.sh
blogic [Mon, 20 Oct 2014 11:19:21 +0000 (11:19 +0000)]
hostapd: Add wpa_psk_file option to netifd.sh

The wpa_psk_file option offers the possibility to use a different WPA-PSK key for each client. The directive points to a file with the following syntax:

mac_address wpa_passphrase_or_hex_key

Example:

00:11:22:33:44:55 passphrase_for_client_1
00:11:22:33:44:67 passphrase_for_client_2
00:11:22:33:44:89 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef

So it is possible to specify both ASCII passphrases and raw 64-chars hex keys.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43001 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years ago[comgt]: fix compile against musl
kaloz [Mon, 20 Oct 2014 10:00:02 +0000 (10:00 +0000)]
[comgt]: fix compile against musl

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43000 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoprereq-build: rename the openssl check to libssl, add back the old check - it is...
nbd [Mon, 20 Oct 2014 09:23:55 +0000 (09:23 +0000)]
prereq-build: rename the openssl check to libssl, add back the old check - it is required after all

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42999 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agofirmware-utils: rename encrypt()/decrypt() in mkhilinkfw to avoid collisions
nbd [Mon, 20 Oct 2014 09:18:36 +0000 (09:18 +0000)]
firmware-utils: rename encrypt()/decrypt() in mkhilinkfw to avoid collisions

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42998 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoRevert "openssl: add host build."
nbd [Mon, 20 Oct 2014 09:18:21 +0000 (09:18 +0000)]
Revert "openssl: add host build."

This reverts commit r42988

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42997 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agotools: revert faulty dependency on package stuff
nbd [Mon, 20 Oct 2014 09:18:02 +0000 (09:18 +0000)]
tools: revert faulty dependency on package stuff

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42996 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoprereq-build: replace the openssl command check with a check for headers
nbd [Mon, 20 Oct 2014 09:17:56 +0000 (09:17 +0000)]
prereq-build: replace the openssl command check with a check for headers

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42995 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: revert 1d5afc012e9d3eef0b113e1a89cff7508b731f90
blogic [Mon, 20 Oct 2014 06:48:51 +0000 (06:48 +0000)]
ramips: revert 1d5afc012e9d3eef0b113e1a89cff7508b731f90

the submitted patch was bogus

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42994 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: unify usage of IMAGE_PROFILE instead of PROFILE.
blogic [Mon, 20 Oct 2014 06:29:58 +0000 (06:29 +0000)]
ar71xx: unify usage of IMAGE_PROFILE instead of PROFILE.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42992 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: add comments for image/Makefile.
blogic [Mon, 20 Oct 2014 06:29:51 +0000 (06:29 +0000)]
ramips: add comments for image/Makefile.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42991 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: add comments for Image/BuildLoader{, Alone}.
blogic [Mon, 20 Oct 2014 06:29:44 +0000 (06:29 +0000)]
ar71xx: add comments for Image/BuildLoader{, Alone}.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42990 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agofirmware-utils: restore compilation of mkhilinkfw.
blogic [Mon, 20 Oct 2014 06:29:38 +0000 (06:29 +0000)]
firmware-utils: restore compilation of mkhilinkfw.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42989 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoopenssl: add host build.
blogic [Mon, 20 Oct 2014 06:29:27 +0000 (06:29 +0000)]
openssl: add host build.

Only support Linux at the moment.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42988 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobuild: add $(STAGING_DIR_HOST)/usr/{include, lib} to build search path.
blogic [Mon, 20 Oct 2014 06:29:21 +0000 (06:29 +0000)]
build: add $(STAGING_DIR_HOST)/usr/{include, lib} to build search path.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42987 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agofirmware-utils: fix compilation warnings.
blogic [Mon, 20 Oct 2014 06:29:13 +0000 (06:29 +0000)]
firmware-utils: fix compilation warnings.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42986 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agofailsafe-mode: print short help on commandline
blogic [Mon, 20 Oct 2014 06:29:05 +0000 (06:29 +0000)]
failsafe-mode: print short help on commandline

[base-files] failsafe-mode: print short help on commandline

Like mentioned in ticket https://dev.openwrt.org/ticket/11911
this should make the IRC much quieter. Failsafe is somehow
special and even experienced users are helpless, because they
are not used to this seldom situation. Also: likely you have
no internet access in this mode, so you cannot use the wiki.

a failsafe-session now looks like this:
first we see from 'package/base-files/files/bin/login.sh' the hint:

 === IMPORTANT ============================
  Use 'passwd' to set your login password
  this will disable telnet and enable SSH
 ------------------------------------------

after this the /etc/banner ("OpenWrt - wireless freedom")
and then the new text:

================= FAILSAFE MODE active ================
special commands:
* firstboot          reset settings to factory defaults
* mount_root     mount root-partition with config files

after mount_root:
* passwd                         change root's password
* /etc/config               directory with config files

for more help see:
http://wiki.openwrt.org/doc/howto/generic.failsafe
=======================================================

this supersedes the old patches:
http://patchwork.openwrt.org/patch/3337/
http://patchwork.openwrt.org/patch/3553/

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42985 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: add another missing symbol for 3.14
blogic [Mon, 20 Oct 2014 06:28:57 +0000 (06:28 +0000)]
kernel: add another missing symbol for 3.14

SENSORS_VEXPRESS is masked by HWMON

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42984 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: add support for Nexx WT3020 devices
blogic [Mon, 20 Oct 2014 06:28:48 +0000 (06:28 +0000)]
ramips: add support for Nexx WT3020 devices

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42983 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: sort boards in upgrade/platform.sh alphabetically
blogic [Mon, 20 Oct 2014 06:28:39 +0000 (06:28 +0000)]
ramips: sort boards in upgrade/platform.sh alphabetically

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42982 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoiproute2: fix musl build
nbd [Sun, 19 Oct 2014 23:04:17 +0000 (23:04 +0000)]
iproute2: fix musl build

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42981 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoauthsae: fix musl build
nbd [Sun, 19 Oct 2014 23:04:02 +0000 (23:04 +0000)]
authsae: fix musl build

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42980 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agogdb: update to version 7.8, fix musl build
nbd [Sun, 19 Oct 2014 22:49:42 +0000 (22:49 +0000)]
gdb: update to version 7.8, fix musl build

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42979 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agovalgrind: update to the latest version, fix musl support
nbd [Sun, 19 Oct 2014 22:35:27 +0000 (22:35 +0000)]
valgrind: update to the latest version, fix musl support

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42978 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agotoolchain: mark musl as non-broken
nbd [Sun, 19 Oct 2014 21:57:28 +0000 (21:57 +0000)]
toolchain: mark musl as non-broken

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42977 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobase-files: fix ldd definition if /usr/bin/ldd exists
nbd [Sun, 19 Oct 2014 21:46:08 +0000 (21:46 +0000)]
base-files: fix ldd definition if /usr/bin/ldd exists

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42976 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agotoolchain: drop the mips softfloat symlink hack
nbd [Sun, 19 Oct 2014 21:46:03 +0000 (21:46 +0000)]
toolchain: drop the mips softfloat symlink hack

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42975 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agotoolchain: when using musl, install a symlink from ld-musl-*.so to /usr/bin/ldd
nbd [Sun, 19 Oct 2014 21:45:58 +0000 (21:45 +0000)]
toolchain: when using musl, install a symlink from ld-musl-*.so to /usr/bin/ldd

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42974 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agogcc: do not assume that the Mac OS X filesystem is case insensitive
nbd [Sun, 19 Oct 2014 21:45:51 +0000 (21:45 +0000)]
gcc: do not assume that the Mac OS X filesystem is case insensitive

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42973 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomountd: explicitly link libubox (needed by libuci)
nbd [Sun, 19 Oct 2014 21:45:45 +0000 (21:45 +0000)]
mountd: explicitly link libubox (needed by libuci)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42972 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomusl: update to version 1.1.5
nbd [Sun, 19 Oct 2014 21:45:41 +0000 (21:45 +0000)]
musl: update to version 1.1.5

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42971 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agogcc: update, split and rework 4.9 musl patches
nbd [Sun, 19 Oct 2014 21:45:36 +0000 (21:45 +0000)]
gcc: update, split and rework 4.9 musl patches

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42970 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agogcc: update, split and rework 4.8 musl patches
nbd [Sun, 19 Oct 2014 21:45:28 +0000 (21:45 +0000)]
gcc: update, split and rework 4.8 musl patches

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42969 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agox86_64: fix invoking sysupgrade on PARTUUID mounted system
jow [Sun, 19 Oct 2014 20:28:43 +0000 (20:28 +0000)]
x86_64: fix invoking sysupgrade on PARTUUID mounted system

Fix sysupgrade to determine the correct boot block device to use if
/proc/cmdline contains a PARTUUID root.

Change the preinit move_config() hook to use the UUID scanning code
from sysupgrade in order to avoid code duplication.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42968 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agox86_64: unbreak squashfs images
jow [Sun, 19 Oct 2014 17:58:46 +0000 (17:58 +0000)]
x86_64: unbreak squashfs images

Enable the required squashfs and block2mtd support in the kernel in order
to be able to actually boot them.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42967 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agox86_64: use default block2mtd timeout of 5s
jow [Sun, 19 Oct 2014 17:46:37 +0000 (17:46 +0000)]
x86_64: use default block2mtd timeout of 5s

If the underlying block device is a USB device it might require some
time to settle, observed when booting a squashfs image from sd card
on an Alix APU board.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42966 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agox86_64: sysupgrade: consider hdX and vdX devices as well
jow [Sun, 19 Oct 2014 17:13:50 +0000 (17:13 +0000)]
x86_64: sysupgrade: consider hdX and vdX devices as well

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42965 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoopenssl: add ABI_VERSION to fix package rebuild issues (fixes #18169)
nbd [Sun, 19 Oct 2014 16:19:07 +0000 (16:19 +0000)]
openssl: add ABI_VERSION to fix package rebuild issues (fixes #18169)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42963 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agogcc: backport an upstream fix for extern vars with local weak definitions
nbd [Sun, 19 Oct 2014 16:18:56 +0000 (16:18 +0000)]
gcc: backport an upstream fix for extern vars with local weak definitions

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42962 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agopolarssl: do not build the unused programs
nbd [Sun, 19 Oct 2014 09:43:31 +0000 (09:43 +0000)]
polarssl: do not build the unused programs

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42960 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agorpcd: update to the latest version, fixes build after libubox update
nbd [Sun, 19 Oct 2014 08:46:00 +0000 (08:46 +0000)]
rpcd: update to the latest version, fixes build after libubox update

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42959 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: fix usercfg partition offset for WHR-1166D
nbd [Sun, 19 Oct 2014 08:45:56 +0000 (08:45 +0000)]
ramips: fix usercfg partition offset for WHR-1166D

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42958 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: disable irq on reboot to fix hang issues (fixes #17839)
nbd [Sat, 18 Oct 2014 19:25:30 +0000 (19:25 +0000)]
ar71xx: disable irq on reboot to fix hang issues (fixes #17839)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42955 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agotoolchain: fix binutils broken symlink
nbd [Sat, 18 Oct 2014 19:25:24 +0000 (19:25 +0000)]
toolchain: fix binutils broken symlink

The Makefile for binutils creates a broken symlink to "binutils-linaro" in
"trunk/build_dir/toolchain-<target>_gcc-4.9-linaro_uClibc-0.9.33.2".
Modify the Makefile to point the symlink to the correct directory.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42954 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: add a maintenance script for upstream backport commits
nbd [Sat, 18 Oct 2014 17:39:04 +0000 (17:39 +0000)]
mac80211: add a maintenance script for upstream backport commits

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42953 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: update to 2014-10-08
nbd [Sat, 18 Oct 2014 17:38:59 +0000 (17:38 +0000)]
mac80211: update to 2014-10-08

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42952 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoodhcpd: fix regression in dhcpv6 t1 and t2 calculation
cyrus [Sat, 18 Oct 2014 15:47:31 +0000 (15:47 +0000)]
odhcpd: fix regression in dhcpv6 t1 and t2 calculation

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42951 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agopolarssl: add missing version bump
nbd [Sat, 18 Oct 2014 09:20:38 +0000 (09:20 +0000)]
polarssl: add missing version bump

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42949 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agopolarssl: disable SSLv3 support, fixes CVE-2014-3566 (POODLE)
nbd [Sat, 18 Oct 2014 09:17:31 +0000 (09:17 +0000)]
polarssl: disable SSLv3 support, fixes CVE-2014-3566 (POODLE)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42947 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agox86_64: support sysupgrade config restore on PARTUUID mounted disks
jow [Fri, 17 Oct 2014 22:50:38 +0000 (22:50 +0000)]
x86_64: support sysupgrade config restore on PARTUUID mounted disks

Fix the move_config() procedure to properly find the corresponding disk if
the rootfs was mounted by PARTUUID instead of a device node.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42946 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agox86_64: add kmod-r8169 to the default packages
jow [Fri, 17 Oct 2014 13:09:37 +0000 (13:09 +0000)]
x86_64: add kmod-r8169 to the default packages

This kmod is required by the Alix APU 1D4 to be reachable after
installing an x86-64 image.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42945 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoodhcpd: multiple fixes
cyrus [Fri, 17 Oct 2014 11:18:52 +0000 (11:18 +0000)]
odhcpd: multiple fixes

* Rewrite ndp proxy using kernel proxying
* Aid flash-renumbering in hybrid DHCPv6-mode
* Unicast RAs to RS senders
* Add support for router address

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42944 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agohostapd: CVE-2014-3686 fixes
cyrus [Fri, 17 Oct 2014 06:15:35 +0000 (06:15 +0000)]
hostapd: CVE-2014-3686 fixes

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42942 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobcm53xx: image: switch Netgear and Buffalo devices to UBI
rmilecki [Thu, 16 Oct 2014 21:33:34 +0000 (21:33 +0000)]
bcm53xx: image: switch Netgear and Buffalo devices to UBI

We still don't have a smart sysupgrade method, but at least we can use
UBI which provides some protection for rootfs (SquashFS).

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42941 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobcm53xx: hack UBI to erase all dirty blocks left by CFE
rmilecki [Thu, 16 Oct 2014 20:52:22 +0000 (20:52 +0000)]
bcm53xx: hack UBI to erase all dirty blocks left by CFE

UBI requires PEBs to be formatted (with a valid UBI header) or empty
(0xFF), however CFE doesn't clear blocks after flashing the image. To
workaround this problem, teach UBI to recognize EOF mark in a similar
way JFFS2 handles that in OpenWrt.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42940 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobcm53xx: enable UBI and UBIFS
rmilecki [Thu, 16 Oct 2014 20:50:36 +0000 (20:50 +0000)]
bcm53xx: enable UBI and UBIFS

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42939 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobcm53xx: image: build UBI partition image
rmilecki [Thu, 16 Oct 2014 20:48:56 +0000 (20:48 +0000)]
bcm53xx: image: build UBI partition image

This could be used on NAND devices once we get UBI working.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42938 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobcm53xx: image: specify flash type for all devices
rmilecki [Thu, 16 Oct 2014 20:44:44 +0000 (20:44 +0000)]
bcm53xx: image: specify flash type for all devices

This will allow us to add proper support for NAND one day.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42937 3c298f89-4303-0410-b956-a3cf2f4a3e73