Commit Graph

30366 Commits (925763c949db1ab3466d08724789fd558f4ec162)

Author SHA1 Message Date
Felix Fietkau 9eb6e19424 valgrind: avoid including linux/ptrace.h to fix a musl build error
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-08 11:21:37 +00:00
Felix Fietkau b0caf60f09 brcm47xx: merge FEATURES lines in the legacy subtarget
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-08 09:51:38 +00:00
Felix Fietkau 459c9c3fc6 brcm47xx: fix kmod-usb-brcm47xx build on legacy and mips74k subtargets
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41052 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-08 09:45:55 +00:00
Felix Fietkau a592b1e370 uqmi: use -ffunction-sections and --gc-sections, reduces binary size from 57k to 29k
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-07 19:14:17 +00:00
Hauke Mehrtens 436d42c5cd brcm47xx: activate some compiler optimizations for 74K CPUs
With this patch the mips74k subtarget will be compiled with optimized 
compiler options to generated smaller and faster code. This currently 
breaks broadcom-wl, because the binary blob is only compiled with 
mipsr1 support.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41050 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-07 17:36:02 +00:00
Felix Fietkau 7e4ffc4002 brcm47xx: move the low_mem feature flag to the legacy subtarget
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41049 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-07 17:21:30 +00:00
Hauke Mehrtens 3b8f1d816c brcm47xx: remove old gpio and nvram interfaces
These were only used by broadcom-diag any more.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41048 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-07 17:04:37 +00:00
Hauke Mehrtens d6e0aeefff broadcom-diag: remove broadcom-diag
broadcom-diag is not supported any more and was replaced by 
configuration the GPIOs in the arch code

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41047 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-07 17:01:42 +00:00
Hauke Mehrtens 27bec1191f broadcom-wl: fix build with bcma or ssb deactivated
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41046 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-07 17:00:53 +00:00
Felix Fietkau 3949f5dbb8 base-files: fix argument order to date in sysfixtime so that it also works with musl
Seems like the reverse order relies on GNU specific getopt hackery which
musl does not replicate

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41045 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-07 16:14:47 +00:00
Felix Fietkau 66f8828fb9 musl: update to version 1.1.2
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41044 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-07 16:14:43 +00:00
Hauke Mehrtens c8621d02f5 brcm47xx: mips74k: optimize kernel config
This saves abount 15 kB of compressed kernel size.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-07 15:42:33 +00:00
Hauke Mehrtens 6143a2a98d bcm47xx: use eth0 for switch name
This fixes some strange problems with tg3. I assume that the Ethernet 
driver was not brought up if the switch was named switch0.

This was reported and tested by ernesto (Faulp3lz).

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41042 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-07 15:41:41 +00:00
Felix Fietkau 758e298a5d brcm47xx: add a "legacy" subtarget that is usable for low-end 802.11g devices like WRT54G
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-07 15:19:40 +00:00
Felix Fietkau 772ff2ddf4 mac80211: b43: fix B43_USE_SSB dependency
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41040 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-07 12:04:55 +00:00
Felix Fietkau 4529f05113 procd: Fix USB cellular modems hotplug events
Without this patch, /etc/hotplug.d/tty/30-3g won't be called when you insert or remove a USB-serial cellular modem.

(see Ticket #14117)

Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-07 11:54:13 +00:00
Steven Barth e14ff4aa6b odhcpd: improve DHCPv4 range defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41038 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-07 10:35:34 +00:00
Felix Fietkau b023acbfab b43: fix ssb/bcma dependencies
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41037 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-06 16:24:21 +00:00
Felix Fietkau 2ef5c5d472 binutils: decouple from toolchain selection, use version 2.24, fix libiberty installation
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41036 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-06 10:51:47 +00:00
Felix Fietkau 502d8e6357 oprofile: update to 0.9.9, fix compile error
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41035 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-06 10:51:44 +00:00
Felix Fietkau 49058e0cfd toolchain/binutils: remove obsolete patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41034 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-06 10:51:40 +00:00
John Crispin a0ebf58d0e ubi-utils: bump to version 1.5.1 for ubiblock support
ubiblock allows creating and removing read-only block devices
on top of ubi volumes.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-06 09:34:47 +00:00
John Crispin aeeb870b02 igmpproxy: report an error and dont start the instance if one of the interfaces is not up
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-06 09:34:38 +00:00
John Crispin 16eceec6c4 procd: service instances can now report an error of why they failed to start.
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41031 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-06 09:34:30 +00:00
Felix Fietkau 9eb585ddab kernel: fix duplicate KERNEL_PERF_EVENTS with wrong dependency
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41030 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-06 09:20:15 +00:00
Felix Fietkau 551bf8f697 ath9k: add a fix for rx overrun processing
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41029 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 23:33:57 +00:00
Felix Fietkau c1f236cf78 ath9k: add a fix for ANI related stability issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41028 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 23:33:54 +00:00
Hauke Mehrtens d25c5b67fc openssl: version bump to 1.0.1h
today appeared another serious vulnerability in openssl. More info is
here http://ccsinjection.lepidum.co.jp. Users are advised to update to
openssl 1.0.1h.

Signed-off-by: Martin Strbacka <martin.strbacka@nic.cz>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 21:32:36 +00:00
Hauke Mehrtens 42acb52779 brcm47xx: add mips74k subtarget for newer devices
All new devices (with MIPS 74K CPU) are based on BCMA SoC and have
Ethernet core supported by bgmac. Create a new subtarget to generate
optimized builds.
This is just a beginning, further tweaks (like kernel configuration)
are still possible. This decreases default root.squashfs by ~128 kB.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41025 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 21:25:03 +00:00
Hauke Mehrtens 431f863e5e brcm47xx: move current target to "generic" subtarget
This allows creating more subtargets and optimize builds per family.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 21:23:58 +00:00
Felix Fietkau 7c3630cd52 hostapd: fix wpad-mini compile error (#16700)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41023 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 21:14:02 +00:00
Felix Fietkau b7f384e765 hostapd: update to 2014-06-03
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 15:58:01 +00:00
Felix Fietkau f1ae7d3817 ath9k: fix enabling PC-OEM card support (#16624)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 15:13:28 +00:00
Felix Fietkau 43bed940cc procd: update to the latest version, fixes a crash on early boot
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41020 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 14:55:14 +00:00
Felix Fietkau edd6307383 wpa_supplicant: fix locking hostapd to 20MHz (#12720)
Fixed wpa_supplicant when the radio is in 40MHz mode so that it no
longer restarts hostapd with the second channel disabled.

Signed-off-by: Lance Chaney <furryfur1@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 14:55:10 +00:00
Felix Fietkau a7e6fe6891 mac80211: merge a series of cleanups/fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 14:55:07 +00:00
Felix Fietkau 97dbd21bf8 ath9k: merge a p2p powersave handling fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41017 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 14:55:03 +00:00
Felix Fietkau 68d6347183 rt2x00: merge beacon setup fixes, disable unused hw beacon slots
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 14:09:14 +00:00
Felix Fietkau 48b954881f mac80211: b43: make support for SSB optional
Now we have a choice submenu, just like b43 in the mainline.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 13:51:15 +00:00
Felix Fietkau 93b86d3bd1 mac80211: b43: update BCM4716 patch to compile without SSB
B43_SSB is optional after recent upstream changes.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41014 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 13:51:11 +00:00
Felix Fietkau b116a8ded2 libubox: update to the latest version, adds static vlist initializer macros
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 13:51:08 +00:00
Felix Fietkau 1d0df03130 hostapd: move reading of rsn_preauth out of auth_type=eap context
rsn_preauth is used outside of "case $auth_type", so if it is set
for an EAP-enabled SSID, it would also be set for the following
non-EAP-enabled SSIDs, because it would not be read again.

Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41012 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 11:55:36 +00:00
John Crispin 59b7998684 igmpproxy: register interface change triggers
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41011 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 10:56:18 +00:00
John Crispin f85bba8f4a netfid: make procd watch the network.interface object for events
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 10:56:14 +00:00
John Crispin 438acfd236 netifd: update to latest git HEAD
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 10:56:10 +00:00
John Crispin b8e563d2d0 procd: add wrapper calls for interface triggers
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 10:56:06 +00:00
John Crispin 120957698a procd: update to latest git head
adds support for ubus event based triggers

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 10:56:02 +00:00
John Crispin 7024138581 procd: rename local variable in uci_validate_section
Allow to use "package", "type", "name", "error" and "result"
as config option names:

package some_service
config section 'foo'
    option name 'bar'
    option type 'unknown'

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 08:19:59 +00:00
John Crispin 7beffd41f7 lantiq: fix eep handling patch
0b79a4a66d17d2c7c12cde8d13637c1b0e5152c2 broke the patch

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 08:19:52 +00:00
Luka Perkov a7e553eb42 imx6: kernel: update 3.14 pcie patches
Remove old irq map patch and replace it with the propper upstream patches
allowing IMX6 PCIe devices behind PCIe switches to work properly.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-04 23:01:30 +00:00