openwrt/svn-archive/openwrt.git
10 years agokernel: backport the ubiblock patches from 3.14->3.10
John Crispin [Wed, 11 Jun 2014 12:59:15 +0000 (12:59 +0000)]
kernel: backport the ubiblock patches from 3.14->3.10

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

10 years agokernel: rootfs auto-mount on ubi
John Crispin [Wed, 11 Jun 2014 12:59:10 +0000 (12:59 +0000)]
kernel: rootfs auto-mount on ubi

Similar to the rootfs hacks on NOR flash devices, this series
introduces support for auto-attaching (ubi device), auto-creating
(ubiblock device) and mounting the "rootfs" (ubifs or squashfs)
volume.
This is needed so OpenWrt can start without relying on the bootloader
to pass the ubi.mtd, ubi.block, rootfs and rootfstype parameters, but
instead auto-detect the root filesystem according to a simple convention.

OpenWrt-specific:
490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch
491-ubi-auto-create-ubiblock-device-for-rootfs.patch
492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch
493-ubi-set-ROOT_DEV-to-ubiblock-rootfs-if-unset.patch

sent upstream:
552-ubifs-respect-silent-mount-flag.patch
http://lists.infradead.org/pipermail/linux-mtd/2014-May/053893.html

v2: actually retry with MS_RDONLY when mounting read-only ubifs root

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

10 years agokernel: backport ubiblock support from 3.15
John Crispin [Wed, 11 Jun 2014 12:59:06 +0000 (12:59 +0000)]
kernel: backport ubiblock support from 3.15

Backport ubiblock support from kernel 3.15 as well as all follow-up
fixes related to ubiblock.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
 create mode 100644 target/linux/generic/patches-3.14/040-UBI-R-O-block-driver-on-top-of-UBI-volumes.patch
 create mode 100644 target/linux/generic/patches-3.14/041-UBI-block-do-not-use-term-attach.patch
 create mode 100644 target/linux/generic/patches-3.14/042-UBI-block-Mark-init-only-symbol-as-__initdata.patch
 create mode 100644 target/linux/generic/patches-3.14/043-UBI-block-Use-u64-for-the-64-bit-dividend.patch
 create mode 100644 target/linux/generic/patches-3.14/044-UBI-rename-block-device-ioctls.patch
 create mode 100644 target/linux/generic/patches-3.14/045-UBI-block-Remove-__initdata-from-ubiblock_param_ops.patch
 create mode 100644 target/linux/generic/patches-3.14/046-UBI-avoid-workqueue-format-string-leak.patch
 create mode 100644 target/linux/generic/patches-3.14/047-UBI-make-UBI_IOCVOLCRBLK-take-a-parameter-for-future.patch

SVN-Revision: 41118

10 years agokernel: fix kernel builds for chipidea w/ usb-gadget
Steven Barth [Wed, 11 Jun 2014 12:19:44 +0000 (12:19 +0000)]
kernel: fix kernel builds for chipidea w/ usb-gadget

Instead of repackaging udc-core.ko again, just add a dependency to
kmod-usb-gadget, which already contains it.

Fixes kmod-chipidea builds for 3.10- with usb-gadget enabled.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 41115

10 years agouhttpd: also bind to IPv6 by default
Steven Barth [Wed, 11 Jun 2014 12:11:55 +0000 (12:11 +0000)]
uhttpd: also bind to IPv6 by default

SVN-Revision: 41114

10 years agoath9k: do a chip reset if noise floor calibration fails, should improve stability
Felix Fietkau [Wed, 11 Jun 2014 11:28:58 +0000 (11:28 +0000)]
ath9k: do a chip reset if noise floor calibration fails, should improve stability

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

10 years agonetifd: update to latest version, fixes reload issue (#16754) and adds 802.1ad support
Felix Fietkau [Wed, 11 Jun 2014 10:23:12 +0000 (10:23 +0000)]
netifd: update to latest version, fixes reload issue (#16754) and adds 802.1ad support

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

10 years agonetifd: add support for onlink-flag for routes
Steven Barth [Tue, 10 Jun 2014 16:04:40 +0000 (16:04 +0000)]
netifd: add support for onlink-flag for routes

SVN-Revision: 41098

10 years agostrace: move to trunk, add myself as a maintainer
Felix Fietkau [Tue, 10 Jun 2014 10:22:18 +0000 (10:22 +0000)]
strace: move to trunk, add myself as a maintainer

SVN-Revision: 41097

10 years agoatheros: fix too short msleep
Felix Fietkau [Tue, 10 Jun 2014 09:06:25 +0000 (09:06 +0000)]
atheros: fix too short msleep

Use msleep(20) instead of msleep(10) to make code closer to reality
since msleep can sleep for up to 20ms even we request shorter delay.
All updated calls are located in PCI initialization routine which is
called only once upon device boot. So there should be no performance
issues caused by more longer delay.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41096

10 years agoatheros: shorten lines
Felix Fietkau [Tue, 10 Jun 2014 09:06:22 +0000 (09:06 +0000)]
atheros: shorten lines

Wrap lines over 80 chars or make them shorter by other ways.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41095

10 years agoatheros: constify some static structures
Felix Fietkau [Tue, 10 Jun 2014 09:06:18 +0000 (09:06 +0000)]
atheros: constify some static structures

Constify some static structures as suggested by checkpatch.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41094

10 years agoatheros: avoid __FUNCTION__ usage
Felix Fietkau [Tue, 10 Jun 2014 09:06:14 +0000 (09:06 +0000)]
atheros: avoid __FUNCTION__ usage

Use __func__ instead of gcc specific __FUNCTION__ as suggested by
checkpatch.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41093

10 years agoatheros: trailing statements fixes
Felix Fietkau [Tue, 10 Jun 2014 09:06:10 +0000 (09:06 +0000)]
atheros: trailing statements fixes

Move trailing statements to next line with indentation as suggested by
checkpatch.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41092

10 years agoatheros: spaces fixes
Felix Fietkau [Tue, 10 Jun 2014 09:06:06 +0000 (09:06 +0000)]
atheros: spaces fixes

Add missed spaces and remove odd space as suggested by checkpatch.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41091

10 years agoatheros: indent fixes
Felix Fietkau [Tue, 10 Jun 2014 09:06:03 +0000 (09:06 +0000)]
atheros: indent fixes

Various indent fixes suggested by checkpatch: use tabs, use same level
of indentation for switch and case, correct indentation levels.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41090

10 years agoatheros: fix includes
Felix Fietkau [Tue, 10 Jun 2014 09:05:58 +0000 (09:05 +0000)]
atheros: fix includes

Remove some unnecessary includes and use <linux/foo.h> instead of
<asm/foo.h> when it possible as suggested by checkpatch.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41089

10 years agoatheros: various printk(...) fixes
Felix Fietkau [Tue, 10 Jun 2014 09:05:55 +0000 (09:05 +0000)]
atheros: various printk(...) fixes

Use more particular functions dev_<level> or pr_<level>(...) insead of
direct printk(...) call. Add KERN_LEVEL to calls what missed it.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41088

10 years agoatheros: various braces fixes
Felix Fietkau [Tue, 10 Jun 2014 09:05:51 +0000 (09:05 +0000)]
atheros: various braces fixes

Fix braces location, remove unnecessary empty lines before or after code
block, remove useless braces. All cases are detected by checkpatch.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41087

10 years agoatheros: do not initialize statics to 0 or false
Felix Fietkau [Tue, 10 Jun 2014 09:05:47 +0000 (09:05 +0000)]
atheros: do not initialize statics to 0 or false

as suggested by checkpatch.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41086

10 years agoatheros: remove trailing whitespace
Felix Fietkau [Tue, 10 Jun 2014 09:05:43 +0000 (09:05 +0000)]
atheros: remove trailing whitespace

as suggested by checkpatch.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41085

10 years agoatheros: do not assignment in if condition
Felix Fietkau [Tue, 10 Jun 2014 09:05:40 +0000 (09:05 +0000)]
atheros: do not assignment in if condition

Remove assignments from if conditions as suggested by checkpatch.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41084

10 years agoatheros: remove parentheses around return values
Felix Fietkau [Tue, 10 Jun 2014 09:05:36 +0000 (09:05 +0000)]
atheros: remove parentheses around return values

Remove parentheses around return values since return is no a function,
as suggested by checkpatch.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41083

10 years agoatheros: parenthesis around complex macroses value
Felix Fietkau [Tue, 10 Jun 2014 09:05:32 +0000 (09:05 +0000)]
atheros: parenthesis around complex macroses value

Use parenthesis around complex macroses value as suggested by
checkpatch.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41082

10 years agoatheros: various comments fixes
Felix Fietkau [Tue, 10 Jun 2014 09:05:28 +0000 (09:05 +0000)]
atheros: various comments fixes

Fix comment issues detected by checkpatch. Convert C99 // comments to
ordinary /* ... */ comments. Correct block comments style or convert
them to single line comments.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41081

10 years agoatheros: avoid CamelCase
Felix Fietkau [Tue, 10 Jun 2014 09:05:25 +0000 (09:05 +0000)]
atheros: avoid CamelCase

Change fooBar variables names to foo_bar as suggested by checkpatch,
write few tables names in lower case and correctly place __initdata
keyword.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41080

10 years agoodhcpd: various regression fixes (thanks Hans Dedecker)
Steven Barth [Tue, 10 Jun 2014 08:47:15 +0000 (08:47 +0000)]
odhcpd: various regression fixes (thanks Hans Dedecker)

SVN-Revision: 41079

10 years agoSwitching default packages feed to github
Steven Barth [Tue, 10 Jun 2014 05:17:41 +0000 (05:17 +0000)]
Switching default packages feed to github

New feed: https://github.com/openwrt/packages
Maintainers please move your packages there.

See also: https://lists.openwrt.org/pipermail/openwrt-devel/2014-June/025810.html

SVN-Revision: 41063

10 years agomountd: remove a bogus include to fix compile with musl
Felix Fietkau [Mon, 9 Jun 2014 13:48:00 +0000 (13:48 +0000)]
mountd: remove a bogus include to fix compile with musl

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

10 years agolibnfnetlink: fix musl compile errors
Felix Fietkau [Mon, 9 Jun 2014 13:47:56 +0000 (13:47 +0000)]
libnfnetlink: fix musl compile errors

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

10 years agoubi-utils: fix musl compile errors
Felix Fietkau [Mon, 9 Jun 2014 13:47:52 +0000 (13:47 +0000)]
ubi-utils: fix musl compile errors

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

10 years agoutil-linux: use qsort instead of qsort_r to fix compile error with musl
Felix Fietkau [Mon, 9 Jun 2014 13:47:48 +0000 (13:47 +0000)]
util-linux: use qsort instead of qsort_r to fix compile error with musl

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

10 years agoxfsprogs: fix compile errors with musl
Felix Fietkau [Mon, 9 Jun 2014 13:47:44 +0000 (13:47 +0000)]
xfsprogs: fix compile errors with musl

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

10 years agouhttpd: update to the latest version, fixes musl compile issues
Felix Fietkau [Mon, 9 Jun 2014 13:47:40 +0000 (13:47 +0000)]
uhttpd: update to the latest version, fixes musl compile issues

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

10 years agomusl: install a few extra headers to improve compatibility with various packages
Felix Fietkau [Mon, 9 Jun 2014 13:47:36 +0000 (13:47 +0000)]
musl: install a few extra headers to improve compatibility with various packages

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

10 years agokernel: add missing dependency for kmod-fs-nfs
Felix Fietkau [Sun, 8 Jun 2014 12:07:42 +0000 (12:07 +0000)]
kernel: add missing dependency for kmod-fs-nfs

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

10 years agovalgrind: avoid including linux/ptrace.h to fix a musl build error
Felix Fietkau [Sun, 8 Jun 2014 11:21:37 +0000 (11:21 +0000)]
valgrind: avoid including linux/ptrace.h to fix a musl build error

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

10 years agobrcm47xx: merge FEATURES lines in the legacy subtarget
Felix Fietkau [Sun, 8 Jun 2014 09:51:38 +0000 (09:51 +0000)]
brcm47xx: merge FEATURES lines in the legacy subtarget

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

10 years agobrcm47xx: fix kmod-usb-brcm47xx build on legacy and mips74k subtargets
Felix Fietkau [Sun, 8 Jun 2014 09:45:55 +0000 (09:45 +0000)]
brcm47xx: fix kmod-usb-brcm47xx build on legacy and mips74k subtargets

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

10 years agouqmi: use -ffunction-sections and --gc-sections, reduces binary size from 57k to 29k
Felix Fietkau [Sat, 7 Jun 2014 19:14:17 +0000 (19:14 +0000)]
uqmi: use -ffunction-sections and --gc-sections, reduces binary size from 57k to 29k

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

10 years agobrcm47xx: activate some compiler optimizations for 74K CPUs
Hauke Mehrtens [Sat, 7 Jun 2014 17:36:02 +0000 (17:36 +0000)]
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>
SVN-Revision: 41050

10 years agobrcm47xx: move the low_mem feature flag to the legacy subtarget
Felix Fietkau [Sat, 7 Jun 2014 17:21:30 +0000 (17:21 +0000)]
brcm47xx: move the low_mem feature flag to the legacy subtarget

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

10 years agobrcm47xx: remove old gpio and nvram interfaces
Hauke Mehrtens [Sat, 7 Jun 2014 17:04:37 +0000 (17:04 +0000)]
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>
SVN-Revision: 41048

10 years agobroadcom-diag: remove broadcom-diag
Hauke Mehrtens [Sat, 7 Jun 2014 17:01:42 +0000 (17:01 +0000)]
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>
SVN-Revision: 41047

10 years agobroadcom-wl: fix build with bcma or ssb deactivated
Hauke Mehrtens [Sat, 7 Jun 2014 17:00:53 +0000 (17:00 +0000)]
broadcom-wl: fix build with bcma or ssb deactivated

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

10 years agobase-files: fix argument order to date in sysfixtime so that it also works with musl
Felix Fietkau [Sat, 7 Jun 2014 16:14:47 +0000 (16:14 +0000)]
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>
SVN-Revision: 41045

10 years agomusl: update to version 1.1.2
Felix Fietkau [Sat, 7 Jun 2014 16:14:43 +0000 (16:14 +0000)]
musl: update to version 1.1.2

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

10 years agobrcm47xx: mips74k: optimize kernel config
Hauke Mehrtens [Sat, 7 Jun 2014 15:42:33 +0000 (15:42 +0000)]
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>
SVN-Revision: 41043

10 years agobcm47xx: use eth0 for switch name
Hauke Mehrtens [Sat, 7 Jun 2014 15:41:41 +0000 (15:41 +0000)]
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>
SVN-Revision: 41042

10 years agobrcm47xx: add a "legacy" subtarget that is usable for low-end 802.11g devices like...
Felix Fietkau [Sat, 7 Jun 2014 15:19:40 +0000 (15:19 +0000)]
brcm47xx: add a "legacy" subtarget that is usable for low-end 802.11g devices like WRT54G

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

10 years agomac80211: b43: fix B43_USE_SSB dependency
Felix Fietkau [Sat, 7 Jun 2014 12:04:55 +0000 (12:04 +0000)]
mac80211: b43: fix B43_USE_SSB dependency

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

10 years agoprocd: Fix USB cellular modems hotplug events
Felix Fietkau [Sat, 7 Jun 2014 11:54:13 +0000 (11:54 +0000)]
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>
SVN-Revision: 41039

10 years agoodhcpd: improve DHCPv4 range defaults
Steven Barth [Sat, 7 Jun 2014 10:35:34 +0000 (10:35 +0000)]
odhcpd: improve DHCPv4 range defaults

SVN-Revision: 41038

10 years agob43: fix ssb/bcma dependencies
Felix Fietkau [Fri, 6 Jun 2014 16:24:21 +0000 (16:24 +0000)]
b43: fix ssb/bcma dependencies

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

10 years agobinutils: decouple from toolchain selection, use version 2.24, fix libiberty installation
Felix Fietkau [Fri, 6 Jun 2014 10:51:47 +0000 (10:51 +0000)]
binutils: decouple from toolchain selection, use version 2.24, fix libiberty installation

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

10 years agooprofile: update to 0.9.9, fix compile error
Felix Fietkau [Fri, 6 Jun 2014 10:51:44 +0000 (10:51 +0000)]
oprofile: update to 0.9.9, fix compile error

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

10 years agotoolchain/binutils: remove obsolete patches
Felix Fietkau [Fri, 6 Jun 2014 10:51:40 +0000 (10:51 +0000)]
toolchain/binutils: remove obsolete patches

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

10 years agoubi-utils: bump to version 1.5.1 for ubiblock support
John Crispin [Fri, 6 Jun 2014 09:34:47 +0000 (09:34 +0000)]
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>
SVN-Revision: 41033

10 years agoigmpproxy: report an error and dont start the instance if one of the interfaces is...
John Crispin [Fri, 6 Jun 2014 09:34:38 +0000 (09:34 +0000)]
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>
SVN-Revision: 41032

10 years agoprocd: service instances can now report an error of why they failed to start.
John Crispin [Fri, 6 Jun 2014 09:34:30 +0000 (09:34 +0000)]
procd: service instances can now report an error of why they failed to start.

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

10 years agokernel: fix duplicate KERNEL_PERF_EVENTS with wrong dependency
Felix Fietkau [Fri, 6 Jun 2014 09:20:15 +0000 (09:20 +0000)]
kernel: fix duplicate KERNEL_PERF_EVENTS with wrong dependency

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

10 years agoath9k: add a fix for rx overrun processing
Felix Fietkau [Thu, 5 Jun 2014 23:33:57 +0000 (23:33 +0000)]
ath9k: add a fix for rx overrun processing

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

10 years agoath9k: add a fix for ANI related stability issues
Felix Fietkau [Thu, 5 Jun 2014 23:33:54 +0000 (23:33 +0000)]
ath9k: add a fix for ANI related stability issues

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

10 years agoopenssl: version bump to 1.0.1h
Hauke Mehrtens [Thu, 5 Jun 2014 21:32:36 +0000 (21:32 +0000)]
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>
SVN-Revision: 41026

10 years agobrcm47xx: add mips74k subtarget for newer devices
Hauke Mehrtens [Thu, 5 Jun 2014 21:25:03 +0000 (21:25 +0000)]
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>
SVN-Revision: 41025

10 years agobrcm47xx: move current target to "generic" subtarget
Hauke Mehrtens [Thu, 5 Jun 2014 21:23:58 +0000 (21:23 +0000)]
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>
SVN-Revision: 41024

10 years agohostapd: fix wpad-mini compile error (#16700)
Felix Fietkau [Thu, 5 Jun 2014 21:14:02 +0000 (21:14 +0000)]
hostapd: fix wpad-mini compile error (#16700)

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

10 years agohostapd: update to 2014-06-03
Felix Fietkau [Thu, 5 Jun 2014 15:58:01 +0000 (15:58 +0000)]
hostapd: update to 2014-06-03

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

10 years agoath9k: fix enabling PC-OEM card support (#16624)
Felix Fietkau [Thu, 5 Jun 2014 15:13:28 +0000 (15:13 +0000)]
ath9k: fix enabling PC-OEM card support (#16624)

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

10 years agoprocd: update to the latest version, fixes a crash on early boot
Felix Fietkau [Thu, 5 Jun 2014 14:55:14 +0000 (14:55 +0000)]
procd: update to the latest version, fixes a crash on early boot

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

10 years agowpa_supplicant: fix locking hostapd to 20MHz (#12720)
Felix Fietkau [Thu, 5 Jun 2014 14:55:10 +0000 (14:55 +0000)]
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>
SVN-Revision: 41019

10 years agomac80211: merge a series of cleanups/fixes
Felix Fietkau [Thu, 5 Jun 2014 14:55:07 +0000 (14:55 +0000)]
mac80211: merge a series of cleanups/fixes

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

10 years agoath9k: merge a p2p powersave handling fix
Felix Fietkau [Thu, 5 Jun 2014 14:55:03 +0000 (14:55 +0000)]
ath9k: merge a p2p powersave handling fix

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

10 years agort2x00: merge beacon setup fixes, disable unused hw beacon slots
Felix Fietkau [Thu, 5 Jun 2014 14:09:14 +0000 (14:09 +0000)]
rt2x00: merge beacon setup fixes, disable unused hw beacon slots

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

10 years agomac80211: b43: make support for SSB optional
Felix Fietkau [Thu, 5 Jun 2014 13:51:15 +0000 (13:51 +0000)]
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>
SVN-Revision: 41015

10 years agomac80211: b43: update BCM4716 patch to compile without SSB
Felix Fietkau [Thu, 5 Jun 2014 13:51:11 +0000 (13:51 +0000)]
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>
SVN-Revision: 41014

10 years agolibubox: update to the latest version, adds static vlist initializer macros
Felix Fietkau [Thu, 5 Jun 2014 13:51:08 +0000 (13:51 +0000)]
libubox: update to the latest version, adds static vlist initializer macros

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

10 years agohostapd: move reading of rsn_preauth out of auth_type=eap context
Felix Fietkau [Thu, 5 Jun 2014 11:55:36 +0000 (11:55 +0000)]
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>
SVN-Revision: 41012

10 years agoigmpproxy: register interface change triggers
John Crispin [Thu, 5 Jun 2014 10:56:18 +0000 (10:56 +0000)]
igmpproxy: register interface change triggers

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

10 years agonetfid: make procd watch the network.interface object for events
John Crispin [Thu, 5 Jun 2014 10:56:14 +0000 (10:56 +0000)]
netfid: make procd watch the network.interface object for events

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

10 years agonetifd: update to latest git HEAD
John Crispin [Thu, 5 Jun 2014 10:56:10 +0000 (10:56 +0000)]
netifd: update to latest git HEAD

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

10 years agoprocd: add wrapper calls for interface triggers
John Crispin [Thu, 5 Jun 2014 10:56:06 +0000 (10:56 +0000)]
procd: add wrapper calls for interface triggers

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

10 years agoprocd: update to latest git head
John Crispin [Thu, 5 Jun 2014 10:56:02 +0000 (10:56 +0000)]
procd: update to latest git head

adds support for ubus event based triggers

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

10 years agoprocd: rename local variable in uci_validate_section
John Crispin [Thu, 5 Jun 2014 08:19:59 +0000 (08:19 +0000)]
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>
SVN-Revision: 41006

10 years agolantiq: fix eep handling patch
John Crispin [Thu, 5 Jun 2014 08:19:52 +0000 (08:19 +0000)]
lantiq: fix eep handling patch

0b79a4a66d17d2c7c12cde8d13637c1b0e5152c2 broke the patch

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

10 years agoimx6: kernel: update 3.14 pcie patches
Luka Perkov [Wed, 4 Jun 2014 23:01:30 +0000 (23:01 +0000)]
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>
SVN-Revision: 41004

10 years agomap: add support for map-t if available
Steven Barth [Wed, 4 Jun 2014 14:58:40 +0000 (14:58 +0000)]
map: add support for map-t if available

SVN-Revision: 41003

10 years agohostapd: replace undefined $bridge with $network_bridge
Felix Fietkau [Wed, 4 Jun 2014 11:51:59 +0000 (11:51 +0000)]
hostapd: replace undefined $bridge with $network_bridge

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

10 years agodhcpv6: set default solicit timeout back to 120s
Steven Barth [Wed, 4 Jun 2014 09:59:45 +0000 (09:59 +0000)]
dhcpv6: set default solicit timeout back to 120s

This deliberatly breaks RFC 7083 since its not really user-friendly.

SVN-Revision: 41001

10 years agopackage: swconfig: let variable name be local
John Crispin [Wed, 4 Jun 2014 07:20:31 +0000 (07:20 +0000)]
package: swconfig: let variable name be local

Let the first parameter of function config_get be local, because there
is a chance that config_get won't export the variable.

Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>
SVN-Revision: 41000

10 years agolantiq: ath5k fix in wifi and ethernet eeprom handling patch.
John Crispin [Wed, 4 Jun 2014 07:20:22 +0000 (07:20 +0000)]
lantiq: ath5k fix in wifi and ethernet eeprom handling patch.

ath5k fix in wifi and ethernet eeprom handling patch.

Without the line that adds the patch of_ath5k_eeprom_probe cause a
kernel panic, at least with the ARV4518PW.
Tested only in the modem-router mentioned above.

This patch is based in Bruno's hack present in patch #5454.

Signed off by: Bruno Rodríguez <bruno.rodriguez.1980@gmail.com>
Signed off by: José Vázquez Fernández <ppvazquezfer@gmail.com>

SVN-Revision: 40999

10 years agolibusb-compat: create directory for libusb-config
John Crispin [Wed, 4 Jun 2014 07:20:02 +0000 (07:20 +0000)]
libusb-compat: create directory for libusb-config

Fix a build regression caused by r39975 by making sure $(STAGING_DIR)/host
directory exists before trying to copy files to it.

Cc: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 40998

10 years agoigmpproxy: update init.d script to procd and add a hotplug script
John Crispin [Wed, 4 Jun 2014 07:19:51 +0000 (07:19 +0000)]
igmpproxy: update init.d script to procd and add a hotplug script

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

10 years agomac80211: backport a powersave related fix
Felix Fietkau [Tue, 3 Jun 2014 13:59:43 +0000 (13:59 +0000)]
mac80211: backport a powersave related fix

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

10 years agomac80211: refresh patch
Felix Fietkau [Tue, 3 Jun 2014 13:59:24 +0000 (13:59 +0000)]
mac80211: refresh patch

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

10 years agobase-files: /etc/rc.button/power should be executable
John Crispin [Tue, 3 Jun 2014 06:52:46 +0000 (06:52 +0000)]
base-files: /etc/rc.button/power should be executable

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

10 years agokernel: fix kernel build for chipidea w/o usb-gadget
John Crispin [Tue, 3 Jun 2014 05:49:34 +0000 (05:49 +0000)]
kernel: fix kernel build for chipidea w/o usb-gadget

This resolves a module dependency kernel regression in r40905 with the
usb-chipidea module if usb-gadget was not selected.

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

10 years agoimx6: ventana: remove non-trunk packages from defaults
Luka Perkov [Mon, 2 Jun 2014 21:23:36 +0000 (21:23 +0000)]
imx6: ventana: remove non-trunk packages from defaults

The canutils package is in the packages repo and not part of trunk, so we
should not enable them by default.

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

10 years agoimx6: ventana: add default kernel modules
Luka Perkov [Mon, 2 Jun 2014 21:23:35 +0000 (21:23 +0000)]
imx6: ventana: add default kernel modules

Add the following kernel modules by default (which are present on most Ventana
baseboards):
 - kmod-leds-gpio (user leds)
 - kmod-sound-core (required as a dependency of the other sound modules)
 - kmod-pps-gpio (Pulse-Per-Second)

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

10 years agoimx6: update board names per device-tree updates
Luka Perkov [Mon, 2 Jun 2014 21:23:34 +0000 (21:23 +0000)]
imx6: update board names per device-tree updates

The Gateworks Ventana board names have been adjusted per upstream patches
to include all IMX6 SoC variants.

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