Commit Graph

28944 Commits

Author SHA1 Message Date
Jo-Philipp Wich
aeecc6ec12 broadcom-wl: align with mac80211 config
- Support HT40 instead of HT40+/HT40- like mac80211
 - Enable 11n if htmode is HT20 or HT40

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

SVN-Revision: 43063
2014-10-25 18:43:18 +00:00
Felix Fietkau
7a5002ec9d base-files: add /etc/shadow to list of essential files to keep in sysupgrade (bug 18206)
Based on bug #18206 sysupgrade can lead to loss of password information in
certain situations. Most likely all users who will upgrade from versions
r43017-43040, will lose their current passwords. :-(
https://dev.openwrt.org/ticket/18206

Currently /etc/shadow is defined as a conffile in base-files:
https://dev.openwrt.org/browser/trunk/package/base-files/Makefile#L37

But it is not defined in the default list of essential files to keep in
sysupgrade:
https://dev.openwrt.org/browser/trunk/package/base-files/files/lib/upgrade/keep.d/base-files-essential

If exporting conffiles info fails, /etc/shadow can get lost.

Shadow passwords are now the default, so saying that preserving /etc/passwd
is essential while /etc/shadow is not, makes no sense.

The attached patch adds /etc/shadow to the list of essential files.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

SVN-Revision: 43061
2014-10-25 17:22:46 +00:00
Felix Fietkau
dd86bc73fb tools: Fix compilation on x32 host
Compiling the host tools on the new x32 architecture (which is
an ILP32 ELF32 system on an amd64 CPU) fails for various reasons.

 gmp: pull same fix I applied to OpenADK, which was inspired
  by the fix in the Debian source package

 mtd-utils: write a workaround myself; only affects x32, but
  the use of llseek is dangerous according to the manpage, so
  the guard ifdef should probably go away

 findutils: pull fix straight from the Debian source packae

Signed-off-by: Thorsten Glaser <tg@mirbsd.org>

SVN-Revision: 43060
2014-10-25 16:57:16 +00:00
Felix Fietkau
3c9fcd2526 hostapd: update to 2014-10-25
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43059
2014-10-25 16:48:45 +00:00
Felix Fietkau
78bd998e49 ath9k: add a few calibration related fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43058
2014-10-25 14:45:22 +00:00
Steven Barth
a0d9489e84 odhcp6c: avoid some unnecessary big mallocs
SVN-Revision: 43056
2014-10-25 10:39:02 +00:00
Felix Fietkau
29987caa25 rtlwifi: unbreak usb drivers
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43052
2014-10-24 22:00:34 +00:00
Felix Fietkau
2eb6b059ba ar71xx: refresh 3.10 patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43051
2014-10-24 20:39:42 +00:00
Felix Fietkau
7004b79665 kernel: refresh generic 3.10 patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43050
2014-10-24 20:39:36 +00:00
Felix Fietkau
0aca075a97 kernel: update 3.10.49 to 3.10.58 (released 2014-oct-15)
All platforms which are using 3.10.x at the moment are upgraded.

Changelogs:
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.50
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.51
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.52
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.53
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.54
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.55
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.56
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.57
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.58

A new symbol 'X86_16BIT' appeared in 3.10.52 with commit 34273f41d57ee8d854dcd2a1d754cbb546cb548f
("x86-espfix-make-it-possible-to-disable-16-bit-support.patch")
I defaults to 'unset', but it's worth a discussion to enable it
("turn off support for any 16-bit software").

Also removed the patch 0db3db45f5bd6df4bdc03bbd5dec672e16164c4e
("fix build failure on memcpy() in decompress.c")
and is obsolete by commit 29593fd5a8149462ed6fad0d522234facdaee6c8 upstream.
included in kernel 3.10.56

compile tested on all platforms with:
make tools/install
make toolchain/install
make target/linux/compile

user@box:~/user/openwrt$ cat /tmp/log.txt
[Wed Oct 22 00:36:02 CEST 2014] ./smoketest.sh: ar71xx - OK
[Wed Oct 22 00:53:22 CEST 2014] ./smoketest.sh: ar7 - OK
[Wed Oct 22 01:08:27 CEST 2014] ./smoketest.sh: au1000 - OK
[Wed Oct 22 01:21:43 CEST 2014] ./smoketest.sh: avr32 - OK
[Wed Oct 22 01:37:47 CEST 2014] ./smoketest.sh: cns21xx - OK
[Wed Oct 22 01:52:05 CEST 2014] ./smoketest.sh: cns3xxx - OK
[Wed Oct 22 02:10:23 CEST 2014] ./smoketest.sh: gemini - OK
[Wed Oct 22 02:29:07 CEST 2014] ./smoketest.sh: ixp4xx - OK
[Wed Oct 22 02:44:01 CEST 2014] ./smoketest.sh: malta - OK
[Wed Oct 22 02:55:57 CEST 2014] ./smoketest.sh: mpc85xx - OK
[Wed Oct 22 03:07:56 CEST 2014] ./smoketest.sh: orion - OK
[Wed Oct 22 03:24:30 CEST 2014] ./smoketest.sh: ppc40x - OK
[Wed Oct 22 03:40:19 CEST 2014] ./smoketest.sh: ppc44x - OK
[Wed Oct 22 03:55:29 CEST 2014] ./smoketest.sh: realview - OK
[Wed Oct 22 04:09:47 CEST 2014] ./smoketest.sh: sparc - OK
[Wed Oct 22 04:23:37 CEST 2014] ./smoketest.sh: x86 - OK
[Wed Oct 22 04:35:56 CEST 2014] ./smoketest.sh: xburst - OK

run tested on x86, au1000, ar71xx, mpc85xx and brcm47xx

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 43049
2014-10-24 20:39:26 +00:00
Felix Fietkau
4c1a0a5f34 netlogic: use KERNEL_PATCHVER
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43048
2014-10-24 19:35:52 +00:00
Felix Fietkau
c288d2d6d9 kernel: makefiles: make use of new var KERNEL_PATCHVER
replace all occurences of LINUX_VERSION with the cleaner
approach. future kernel upgrades must mostly touch only
one file. the only platform left is netlogic, because it
uses a intermediate kernel 3.14.16

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 43047
2014-10-24 19:34:02 +00:00
Felix Fietkau
fc822a4370 broadcom_wl: eliminate compiler error with gcc-4.9-linaro
Attempting to build broadcom_wl (from trunk) with the linaro 4.9.x
toolchain produces the following errors:

<...>/wl_linux.c: In function 'wl_dump_ver':
<...>/wl_linux.c:2302:3: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
   __DATE__, __TIME__, EPI_VERSION_STR);
   ^
<...>/wl_linux.c:2302:13: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
   __DATE__, __TIME__, EPI_VERSION_STR);
             ^
cc1: some warnings being treated as errors

Remove the use of the __DATE__ and __TIME__ macros, as the info is not
really useful.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 43046
2014-10-24 18:05:51 +00:00
Felix Fietkau
9ac5cfe1ba openssl: fix target definition for x86_64 (#18182)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43045
2014-10-24 13:23:39 +00:00
Felix Fietkau
3cefd0af7d netifd: update to the latest version, fixes a use-after-free bug
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43044
2014-10-24 13:04:12 +00:00
Felix Fietkau
61caf7e89b kernel: allow targets to specify KERNEL_PATCHVER instead of LINUX_VERSION
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43043
2014-10-24 13:04:08 +00:00
Nicolas Thill
7e2e5ff675 gdb: fix build failure on arm
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 43042
2014-10-24 11:19:29 +00:00
Jo-Philipp Wich
4de4827ddc 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>

SVN-Revision: 43041
2014-10-24 09:24:51 +00:00
Jo-Philipp Wich
16e2c7ab80 linux: add kmod-i2c-piix4
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 43040
2014-10-24 09:24:45 +00:00
Florian Fainelli
8e776bf5ae netlogic: fix modular USB build
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43039
2014-10-24 00:16:48 +00:00
Florian Fainelli
7166fbbb67 netlogic: add basic user-space support
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43038
2014-10-24 00:16:37 +00:00
Florian Fainelli
c6285fd82f netlogic: add XLR/XLP support
Add support for Broadcom/Netlogic XLR/XLP support

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

SVN-Revision: 43037
2014-10-24 00:16:23 +00:00
Florian Fainelli
2c62ad1fda 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>

SVN-Revision: 43036
2014-10-24 00:16:10 +00:00
Florian Fainelli
afa36fe3bc toolchain: fix mips64 musl linker names
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43035
2014-10-24 00:15:58 +00:00
Felix Fietkau
16a9ab1d58 ath: process regulatory notifiers with CONFIG_ATH_USER_REGD set
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43034
2014-10-23 13:33:18 +00:00
Felix Fietkau
3772f272d0 ath10k: fix survey output channel in-use flag
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43033
2014-10-23 13:33:14 +00:00
Felix Fietkau
d9ea3d2aa8 ath9k: fix tx power reporting
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43032
2014-10-22 16:26:56 +00:00
Rafał Miłecki
c14e0807bd bcm53xx: backport forgotten spi-nor change
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43031
2014-10-22 14:34:43 +00:00
Rafał Miłecki
2466b04a5a bcm53xx: backport spi-nor patches from 3.18-rc1
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43030
2014-10-22 14:16:18 +00:00
Felix Fietkau
18ae41edf0 ath9k: merge ar9580/ar955x initval updates
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43029
2014-10-22 13:32:12 +00:00
Felix Fietkau
201fb55ac5 ath9k: merge a regulatory handling fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43028
2014-10-22 13:32:06 +00:00
Jo-Philipp Wich
3df1a20197 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>

SVN-Revision: 43027
2014-10-22 11:30:07 +00:00
Felix Fietkau
a1837135e0 ar71xx: add support for buffalo WZR-450HP2
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43026
2014-10-22 11:02:18 +00:00
Felix Fietkau
4fde9deed1 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.

SVN-Revision: 43025
2014-10-22 10:47:26 +00:00
Felix Fietkau
a3618cd9c1 kernel: use .ONESHELL to speed up processing of many kmod-* packages
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43024
2014-10-22 08:57:56 +00:00
Felix Fietkau
949ab1487f build: only print skipped packages that were selected
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43023
2014-10-22 08:57:50 +00:00
Felix Fietkau
d8278dee4d kernel: use /bin/sh instead of bash to speed up processing of many kmod-* packages
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43022
2014-10-22 08:57:45 +00:00
Felix Fietkau
c497990834 build: use ONESHELL to speed up scanning and the toplevel makefile
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43021
2014-10-22 08:57:40 +00:00
Felix Fietkau
43f485f334 include/shell.sh: remove getvar()
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43020
2014-10-22 08:57:30 +00:00
Felix Fietkau
cc43532293 build: optimize target metadata dump
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43019
2014-10-22 08:57:25 +00:00
Felix Fietkau
20a3814a9c 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>

SVN-Revision: 43018
2014-10-22 08:57:20 +00:00
Felix Fietkau
d081edf7eb build: clean up and optimize ipkg control generator code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43017
2014-10-22 08:57:16 +00:00
Felix Fietkau
364fb4dacb build: do not process built-in rules for make subdirs
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43016
2014-10-22 08:57:11 +00:00
Felix Fietkau
edc8e2022a build: optimize printing of disabled packages
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43015
2014-10-22 08:57:07 +00:00
Felix Fietkau
2579261b7b comgt: drop the use of the non-standard XCASE termios flag (#18186)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43014
2014-10-21 20:32:05 +00:00
Steven Barth
71d05d211d nftables: bump to latest, fix minigmp
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 43013
2014-10-21 20:00:56 +00:00
Steven Barth
0b3fec7e80 libnftnl: bump to latest
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 43012
2014-10-21 20:00:46 +00:00
Felix Fietkau
f3ee419dbc ath9k: merge a fix for queue start/stop handling (fixes #18164, #18130)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43011
2014-10-21 16:30:01 +00:00
Rafał Miłecki
bf0342f0ef 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>

SVN-Revision: 43010
2014-10-21 14:37:44 +00:00
Felix Fietkau
4d5218e083 musl: fix getopt optional argument processing
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43009
2014-10-21 11:03:20 +00:00