nbd [Sat, 25 Oct 2014 09:30:59 +0000 (09:30 +0000)]
ath9k: backport tx power reporting fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@43053
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Mon, 20 Oct 2014 06:32:40 +0000 (06:32 +0000)]
kernel/adc: backport essential fixes for ad799x
This patch ports back some fixes of the ad799x driver, which were
committed between 3.10 and 3.15.
Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42993
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Sun, 19 Oct 2014 16:54:33 +0000 (16:54 +0000)]
openssl: add ABI_VERSION to fix package rebuild issues (fixes #18169)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r42963
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42964
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Sun, 19 Oct 2014 09:43:49 +0000 (09:43 +0000)]
polarssl: do not build the unused programs
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r42960
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42961
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Sat, 18 Oct 2014 19:26:22 +0000 (19:26 +0000)]
ar71xx: disable irq on reboot to fix hang issues (fixes #17839)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r42955
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42956
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Sat, 18 Oct 2014 09:20:57 +0000 (09:20 +0000)]
polarssl: add missing version bump
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r42949
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42950
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Sat, 18 Oct 2014 09:19:51 +0000 (09:19 +0000)]
polarssl: disable SSLv3 support, fixes CVE-2014-3566 (POODLE)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r42947
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42948
3c298f89-4303-0410-b956-
a3cf2f4a3e73
cyrus [Fri, 17 Oct 2014 06:16:07 +0000 (06:16 +0000)]
hostapd: CVE-2014-3686 fixes
Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42943
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jow [Thu, 16 Oct 2014 16:13:16 +0000 (16:13 +0000)]
BB: include: correctly predefine other version variables as well
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42933
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jow [Thu, 16 Oct 2014 14:42:28 +0000 (14:42 +0000)]
BB: include: predefine correct repo url template for 14.07
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42932
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jow [Thu, 16 Oct 2014 08:34:38 +0000 (08:34 +0000)]
BB: openssl: update to v1.0.1j (CVE-2014-3513, CVE-2014-3567, CVE-2014-3568)
Also refresh patches and bump copyright year in Makefile.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Backport of r42929
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42930
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Tue, 14 Oct 2014 11:03:53 +0000 (11:03 +0000)]
lantiq: lantiq: start using device-tree on ifxmips_pcie
Signed-off-by: Eddi De Pieri <eddi@depieri.net>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42906
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Tue, 14 Oct 2014 11:03:47 +0000 (11:03 +0000)]
lantiq: vgv7519: fix irq and disable pcie
Signed-off-by: Eddi De Pieri <eddi@depieri.net>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42905
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Tue, 14 Oct 2014 11:03:36 +0000 (11:03 +0000)]
lantiq: lantiq: enable pci bus
Signed-off-by: Eddi De Pieri <eddi@depieri.net>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42904
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Tue, 14 Oct 2014 11:03:30 +0000 (11:03 +0000)]
lantiq: mac80211: add support for rf5362 (needed by vgv7519 wifi)
Signed-off-by: Eddi De Pieri <eddi@depieri.net>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42903
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Tue, 14 Oct 2014 11:03:23 +0000 (11:03 +0000)]
lantiq: vgv7519: extract wifi firmware from mtd
Signed-off-by: Eddi De Pieri <eddi@depieri.net>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42902
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Tue, 14 Oct 2014 11:03:16 +0000 (11:03 +0000)]
lantiq: lantiq: remove strip-fcs patch that seems to introduce regression on multiple devices
Signed-off-by: Eddi De Pieri <eddi@depieri.net>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42901
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Tue, 14 Oct 2014 11:03:11 +0000 (11:03 +0000)]
lantiq: lantiq: fix pinctrl-xway
Signed-off-by: Eddi De Pieri <eddi@depieri.net>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42900
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Tue, 14 Oct 2014 11:03:07 +0000 (11:03 +0000)]
lantiq: vgv7519: backport vgv7519 dts
Signed-off-by: Eddi De Pieri <eddi@depieri.net>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42899
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Tue, 14 Oct 2014 10:36:08 +0000 (10:36 +0000)]
mpc85xx: use wpad-mini in WDR4900 profile instead of wpad
This change makes the profile of WDR4900 more consistent with other router
specific profiles.
Signed-off-by: Philipp Borgers <borgers@mi.fu-berlin.de>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42898
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Sun, 12 Oct 2014 15:51:35 +0000 (15:51 +0000)]
procd: fix initial nand sysupgrade
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r42884
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42887
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Sun, 12 Oct 2014 15:51:33 +0000 (15:51 +0000)]
procd: fix parsing of the has_env parameter
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r42883
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42886
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Sun, 12 Oct 2014 15:51:31 +0000 (15:51 +0000)]
mac80211: remove NO-IR from channel 36-48
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r42882
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42885
3c298f89-4303-0410-b956-
a3cf2f4a3e73
cyrus [Sun, 12 Oct 2014 12:18:58 +0000 (12:18 +0000)]
odhcp6c: fix parse errors with some dhcpv6 servers
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42870
3c298f89-4303-0410-b956-
a3cf2f4a3e73
cyrus [Wed, 8 Oct 2014 15:27:38 +0000 (15:27 +0000)]
odhcp6c: fix typo in last commit
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42853
3c298f89-4303-0410-b956-
a3cf2f4a3e73
cyrus [Wed, 8 Oct 2014 15:16:41 +0000 (15:16 +0000)]
odhcp6c: don't assign addresses or prefixes prematurely
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42851
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Wed, 8 Oct 2014 10:29:32 +0000 (10:29 +0000)]
cns3xxx: Adopt irq_domain support for cns3xxx gpio driver
Have gpio driver adopt irqdomain support so that there are
non-overlapping allocations of irq numbers mapped to gpio's.
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
Backport of r42844
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42847
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Wed, 8 Oct 2014 10:29:30 +0000 (10:29 +0000)]
cns3xxx: fix shared PCI interrupt mapping
This patch originally failed to combine INTA/B/C/D onto a single ARM CPU
interrupt. Instead, it mapped INTA/B/C and excluded D. This patch
corrects the issue by mapping all four interrupts to the single ARM CPU
interrupt. The original intent of the patch still holds as the newer PCB
take advantage of isolated interrupts. This fix only applies to older
PCB's that do not route INTA/B/C/D to unique external ARM CPU
interrupts.
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
Backport of r42830
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42846
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Wed, 8 Oct 2014 10:29:27 +0000 (10:29 +0000)]
cns3xxx: fix register for enabling MMC/SD pins
also fixes a GPIO related regression from the upgrade to 3.10
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r42829
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42845
3c298f89-4303-0410-b956-
a3cf2f4a3e73
cyrus [Wed, 8 Oct 2014 10:00:40 +0000 (10:00 +0000)]
odhcp6c: ensure signal-safety of signal handlers
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42843
3c298f89-4303-0410-b956-
a3cf2f4a3e73
cyrus [Wed, 8 Oct 2014 10:00:36 +0000 (10:00 +0000)]
odhcp6c: add route-workaround for broken IPv6-ISPs
Some ISP seem to only do stateful DHCPv6 and not sending RAs.
This is technically broken because plain DHCPv6 doesn't carry routes.
We work around here by faking a default route to the DHCPv6 server
if we do not receive a useful RA from the ISP.
This workaround can be turned off with: option fakeroutes 0
Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42842
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Mon, 6 Oct 2014 06:11:37 +0000 (06:11 +0000)]
ralink: add dwc2 reset patch
this allows people building custom images to use dwc2 instead of dwc_otg
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42801
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Sun, 5 Oct 2014 10:39:52 +0000 (10:39 +0000)]
hostapd: merge an upstream patch for pmksa cache
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r42762
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42763
3c298f89-4303-0410-b956-
a3cf2f4a3e73
cyrus [Thu, 2 Oct 2014 19:16:17 +0000 (19:16 +0000)]
map: fix portsets starting with 0 and use regular NAT for 1:1 MAP
Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42742
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Sat, 27 Sep 2014 19:13:32 +0000 (19:13 +0000)]
brcm2708: update 3.10 patches with raspberrypi/rpi-3.10.y of 27 Apr. 2014
Backport r42678
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42682
3c298f89-4303-0410-b956-
a3cf2f4a3e73
florian [Sat, 27 Sep 2014 17:43:54 +0000 (17:43 +0000)]
brcm2708-gpu-fw: update to Sep. 27 2014 snapshot
Backport of r42676
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42677
3c298f89-4303-0410-b956-
a3cf2f4a3e73
cyrus [Sat, 27 Sep 2014 16:58:15 +0000 (16:58 +0000)]
odhcp6c: work around weird ISP RS behaviour
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42675
3c298f89-4303-0410-b956-
a3cf2f4a3e73
cyrus [Thu, 25 Sep 2014 11:54:08 +0000 (11:54 +0000)]
odhcpd: fix segfault when parsing domain options in UCI
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42664
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Sat, 20 Sep 2014 11:12:19 +0000 (11:12 +0000)]
toolchain: remove another bogus copy of libiberty.a
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r42624
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42625
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jow [Fri, 19 Sep 2014 18:23:20 +0000 (18:23 +0000)]
BB: firewall: allow '*' as synonym for any / all in family and proto options
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Backport of r42620
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42623
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jow [Fri, 19 Sep 2014 18:23:17 +0000 (18:23 +0000)]
BB: firewall: fix heap corruption in fw3_bitlen2netmask() with IPv6 addresses
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Backport of r42610
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42622
3c298f89-4303-0410-b956-
a3cf2f4a3e73
jow [Fri, 19 Sep 2014 18:23:15 +0000 (18:23 +0000)]
BB: firewall: fix invalid memory access when processing /128 IPv6 addresses from ubus, properly emit REDIRECT rules for local port forwards
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Backport of r42604
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42621
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Thu, 18 Sep 2014 15:24:45 +0000 (15:24 +0000)]
cyassl: update to version 3.2.0
This fixes a security problem:
Security fix for RSA Padding check vulnerability
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Backport of r42526
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42614
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Thu, 18 Sep 2014 15:24:22 +0000 (15:24 +0000)]
ppp: update to version 2.4.7
This fixes: CVE-2014-3158 and some other bugs.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Backport of r42525
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42613
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Thu, 18 Sep 2014 15:24:07 +0000 (15:24 +0000)]
curl: 7.36.0 -> 7.38.0
Main changes:
- URL parser: IPv6 zone identifiers are now supported
- cyassl: Use error-ssl.h when available (drop local patch)
- polarssl: support CURLOPT_CAPATH / --capath
- mkhelp: generate code for --disable-manual as well (drop local patch)
Full release notes: http://curl.haxx.se/changes.html
MIPS 34kc binary size:
- 7.36.0 before: 82,539 bytes
- 7.38.0 after: 83,321 bytes
Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>
Backport of r42517
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42612
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Wed, 17 Sep 2014 11:34:40 +0000 (11:34 +0000)]
ubus: update to latest version, adds various fixes and improvements
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r42594
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42595
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Wed, 17 Sep 2014 11:01:26 +0000 (11:01 +0000)]
mdns: update to latest git HEAD
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42593
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Wed, 17 Sep 2014 11:01:24 +0000 (11:01 +0000)]
sdk: predefine kernel version magic
Kernel modules which are built using the SDK do not have access
to the .vermagic file in the Linux build dir, therefore the
generated .ipk metadata depends on kernel versions like
'3.10.49-1-unknown' which are not satisfiable by the kernel
meta package in the image.
Fix this problem by substituting 'unknown' with the current
version magic in include/kernel.mk when packing the SDK.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Backport of r42590
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42592
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Wed, 17 Sep 2014 11:01:23 +0000 (11:01 +0000)]
hostapd: do not remove foreign wpa_supplicant sockets
https://dev.openwrt.org/ticket/17886
Signed-off-by: John Crispin <blogic@openwrt.org>
Backport of r42586
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42591
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Wed, 17 Sep 2014 07:06:12 +0000 (07:06 +0000)]
ralink: disable wifi on DIR-810L and WHR-300HP2
both units have a lna/pna combo that the driver so far does not support
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42585
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Wed, 17 Sep 2014 06:29:42 +0000 (06:29 +0000)]
toolchain/binutils: do not install host libiberty.a into target lib dir
Binutils target build will pick it up and break build on e.g. arm:
libtool: link: arm-openwrt-linux-uclibcgnueabi-gcc -shared .libs/archive.o .libs/archures.o .libs/bfd.o .libs/bfdio.o .libs/bfdwin.o .libs/cache.o .libs/coffgen.o .libs/corefile.o .libs/format.o .libs/init.o .libs/libbfd.o .libs/opncls.o .libs/reloc.o .libs/section.o .libs/syms.o .libs/targets.o .libs/hash.o .libs/linker.o .libs/srec.o .libs/binary.o .libs/tekhex.o .libs/ihex.o .libs/stabs.o .libs/stab-syms.o .libs/merge.o .libs/dwarf2.o .libs/simple.o .libs/compress.o .libs/verilog.o .libs/elf32-arm.o .libs/elf32.o .libs/elf-nacl.o .libs/elf-vxworks.o .libs/elf.o .libs/elflink.o .libs/elf-attrs.o .libs/elf-strtab.o .libs/elf-eh-frame.o .libs/dwarf1.o .libs/elf32-gen.o .libs/cpu-arm.o -L/mnt/dl/slave/at91/build/staging_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/usr/lib -L/mnt/dl/slave/at91/build/staging_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/lib -L/mnt/dl/slave/at91/build/staging_dir/toolchain-arm_arm926ej-s_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/usr/lib -L/mnt/dl/slave/at91/build/staging_dir/toolchain-arm_arm926ej-s_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/lib -L/mnt/dl/slave/at91/build/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/binutils-2.24/bfd/../libiberty/pic -liberty -lz -march=armv5te -mtune=arm926ej-s -mfloat-abi=soft -Wl,-lc -Wl,--as-needed -Wl,-lm -Wl,--no-as-needed -Wl,-soname -Wl,libbfd-2.24.so -o .libs/libbfd-2.24.so
/mnt/dl/slave/at91/build/staging_dir/toolchain-arm_arm926ej-s_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/lib/libiberty.a: could not read symbols: File format not recognized
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Backport of r42430
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42584
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Tue, 16 Sep 2014 18:35:15 +0000 (18:35 +0000)]
ubox: update to latest git HEAD
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42582
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Tue, 16 Sep 2014 18:35:09 +0000 (18:35 +0000)]
procd: update to latest git HEAD
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42581
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Tue, 16 Sep 2014 18:35:05 +0000 (18:35 +0000)]
Lantiq: fix build warning from dsl_fs script
fix inclusion of functions.sh in dsl_fs init script
without this, the following error is seen during build:
./etc/init.d/dsl_fs: line 4: /lib/functions.sh: No such file or directory
Signed-off-by: Thomas Langer <thomas.langer@lantiq.com>
Backport of r42575
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42580
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Tue, 16 Sep 2014 18:35:03 +0000 (18:35 +0000)]
fs-tools: dont use mips16
this causes problems on 47xx/74k
Signed-off-by: John Crispin <blogic@openwrt.org>
Backport of r42570
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42579
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Tue, 16 Sep 2014 18:35:00 +0000 (18:35 +0000)]
lantiq: fix switch init on vr9 SoC (3.10)
Signed-off-by: John Crispin <blogic@openwrt.org>
Backport of r42544
Backport of r42551
Backport of r42574
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42578
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Tue, 16 Sep 2014 18:34:44 +0000 (18:34 +0000)]
comgt: add directip proto
add a proto handler for sierra wireless directip modems
Signed-off-by: John Crispin <blogic@openwrt.org>
Backport of r42465
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42577
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Mon, 15 Sep 2014 16:09:36 +0000 (16:09 +0000)]
hostapd: remove bogus default setting for wps_pin (#17873)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r42553
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42554
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Thu, 11 Sep 2014 15:14:05 +0000 (15:14 +0000)]
ar71xx: ack completed tx descriptors only after the full frame has been completed
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r42457
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42475
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Wed, 10 Sep 2014 13:50:53 +0000 (13:50 +0000)]
atheros: enable the low_mem flag to better deal with 16M RAM devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r42460
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42461
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Wed, 10 Sep 2014 12:57:07 +0000 (12:57 +0000)]
procd: allow adding empty strings to arrays
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r42456
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42458
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Tue, 9 Sep 2014 08:03:34 +0000 (08:03 +0000)]
ath9k: fix pll clock initialization on newer soc devices (fixes #14916)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r42453
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42454
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Mon, 8 Sep 2014 16:45:58 +0000 (16:45 +0000)]
ath9k: add some ani related stability / performance fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r42443
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42444
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Mon, 8 Sep 2014 15:14:03 +0000 (15:14 +0000)]
mac80211: add mt7620a/n to the rt2x00 depends list
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42441
3c298f89-4303-0410-b956-
a3cf2f4a3e73
cyrus [Mon, 8 Sep 2014 14:47:26 +0000 (14:47 +0000)]
netifd: work-around kernel IPv6 on-link route issue
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42440
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Mon, 8 Sep 2014 14:30:00 +0000 (14:30 +0000)]
lantiq: add ath9k led pin support
Signed-off-by: John Crispin <blogic@openwrt.org>
Backport of r42437
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42438
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Sun, 7 Sep 2014 09:46:41 +0000 (09:46 +0000)]
ath79: dev-eth: Don't advertise 1gbit in link code word on ar9331
While the AR9331 has a gigabit MAC towards the internal switch, the
integrated PHYs however are only 100-base-tx capable. The existing code
however advertieses gigabit capability in the link status word. If you
attach such a PHY to a gigabit capable switch on the remote end, with
some probability it attempts to negotiate gigabit and fails, falling
baco to the AR9331 assuming a 10mbit half-duplex link. This has been
observed quite frequently with the Carambola2 and gigabit capable
switches.
In ath79_register_eth(), "pdata->has_gbit = 1;" is set unconditionally
for both AR9331 ethernet ports. This is most likely wrong. Despite the
two MAC IP cores being gigabit MACs, the MAC for eth1 is connected to a
100base-T PHY via MII. The has_gbit attribute is used in the ethernet
driver to determine the supported link modes.
So either pdata->has_gbit is not set to 1 anymore, or the ethernet
driver needs to be modified to determine the advertised link code word
on another criteria than pdata->has_gbit. This patch implements the
former solution.
Signed-off-by: Harald Welte <laforge@gnumonks.org>
Backport of r42432
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42434
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Sun, 7 Sep 2014 09:46:39 +0000 (09:46 +0000)]
ar71xx: merge ethernet tx descriptor splitting from trunk (as of r42429) to fix ar716x performance issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42433
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Thu, 4 Sep 2014 17:46:39 +0000 (17:46 +0000)]
uclient: update to the latest version, fixes some crash issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r42419
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42420
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Tue, 2 Sep 2014 21:06:59 +0000 (21:06 +0000)]
mtd: disable trx_check() for ar71xx, fixes a regression introduced in r42403
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r42405
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42406
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Tue, 2 Sep 2014 17:14:24 +0000 (17:14 +0000)]
mtd: Fix trx check after partition rename ("linux" to "firmware")
On brcm47xx (Huawei E970), I noticed that sysupgrade now tries to flash trx images which don't fit into the flash, resulting in non-booting system.
I found that mtd does trx size checking only when flashing to a partition called "linux". This patch changes this to be "firmware".
This matches the following patch which changed partition name in bcm47xxpart.c driver to "firmware":
commit
86b4d5ef68ca77ff6724ebb9bddd6b93239c87fc
Author: hauke <hauke@
3c298f89-4303-0410-b956-
a3cf2f4a3e73>
Date: Sun Dec 1 16:32:32 2013 +0000
brcm47xx: use "firmware" partition name
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r38973
Signed-off-by: Mathias Adam <m.adam--openwrt@adamis.de>
Backport of r42403
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42404
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Tue, 2 Sep 2014 17:12:34 +0000 (17:12 +0000)]
cns3xxx: support isolated PCI interrupts on newer Laguna PCBs
The cns3xxx uses irq61 for pcie0_intr which in the case of a PCIe-to-PCI
bridge ends up combining INTA/B/C/D on a single ARM CPU interrupt. This is
not optimal when you have multiple cores. To overcome this limitation an
enhancement was made on newer Laguna PCB's that support miniPCI cards
to route the INTA/B/C/D signals to unique external ARM CPU interrupts which
can help balance CPU core utilization and in some cases increase overall
system performance or responsiveness.
For more details see:
http://trac.gateworks.com/wiki/multicoreprocessing#PCIInterruptsteering
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Backport of r42400
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42402
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Tue, 2 Sep 2014 15:51:05 +0000 (15:51 +0000)]
BB: point old.packages at the real tree
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42399
3c298f89-4303-0410-b956-
a3cf2f4a3e73
nbd [Mon, 1 Sep 2014 22:34:49 +0000 (22:34 +0000)]
sdk: keep $(STAGING_DIR)/usr/bin, at least curl needs it
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r42397
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42398
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Mon, 1 Sep 2014 13:22:16 +0000 (13:22 +0000)]
mac80211: rt2x00 correctly set ht20/ht40 filter
Simple patch to correct ht20/ht40 switching. Tested with rt3290/rt3352/rt5350
Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru>
Backport of r42348
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42396
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Mon, 1 Sep 2014 13:22:14 +0000 (13:22 +0000)]
ramips: fix switch config for Edimax 3G-6200n
Switch in Edimax 3G-6200n also require full switch reset, not only vlan definitions. Tested on Edimax 3G-6200n.
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Backport of r42194
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42395
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Mon, 1 Sep 2014 13:22:13 +0000 (13:22 +0000)]
ramips: Hame: change LED name mpr-x -> hame
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Backport of r42190
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42394
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Mon, 1 Sep 2014 13:22:12 +0000 (13:22 +0000)]
add support for the NC-LINK SMART-300
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
Backport of r42130
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42393
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Mon, 1 Sep 2014 13:22:10 +0000 (13:22 +0000)]
Add 'subversion' build dependency to README
Fixes #17725.
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Backport of r42343
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42392
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Mon, 1 Sep 2014 13:22:09 +0000 (13:22 +0000)]
ralink: DIR-645 picks up incorrect MAC address in DTS file
Signed-off-by: John Crispin <blogic@openwrt.org>
Backport of r42321
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42391
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Mon, 1 Sep 2014 13:22:08 +0000 (13:22 +0000)]
dnsmasq: Make the --dhcp-host logic easier to understand
Use an if/else statement to cover the two different syntaxes. Add
comments explaining what the end results should look like.
This patch should not change the script's output.
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Backport of r42320
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42390
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Mon, 1 Sep 2014 13:22:06 +0000 (13:22 +0000)]
dnsmasq: Fix hosts file format when MAC address is not specified
An entry like this in /etc/config/dhcp:
config 'host'
option 'name' 'pc2'
option 'ip' '192.168.100.56'
option 'dns' '1'
results in a /tmp/hosts/dhcp entry that looks like this:
192.168.100.56 .lan
Obviously it should say "pc2.lan".
This happens because $name is set to "" in order to support the MAC-less
syntax: "--dhcp-host=lap,192.168.0.199". Fix this by reordering the
operations. Also, refuse to add a DNS entry if the hostname or IP is
missing.
Fixes #17683
Reported-by: Kostas Papadopoulos <kpapad75@travelguide.gr>
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Backport of r42319
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42389
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Mon, 1 Sep 2014 13:22:05 +0000 (13:22 +0000)]
dnsmasq: Create rDNS records for LuCI "Hostnames"
LuCI creates "domain" UCI config sections, which the dnsmasq init file
then, currently, translates into "address" config lines. This is not
the correct usage of "address" (see r36943), and also causes rDNS
records to not be created. This patches dnsmasq.init to utilize the
additional hosts file introduced in r40799 for such domain names,
resolving both issues.
Signed-off-by: Tyler Fenby <tylerf@securecominc.com>
Backport of r42318
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42388
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Mon, 1 Sep 2014 13:22:04 +0000 (13:22 +0000)]
ar71xx: add Support for RB2011UiAS-2HnD
Backport of r42317
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42387
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Mon, 1 Sep 2014 13:22:02 +0000 (13:22 +0000)]
lantiq: BTHOMEHUBV2B use bigger mtd partition for kernel
The bb-rc3 image for the BTHOMEHUBV2B is too big for its
mtd partition. This patch corrects the partition sizes in
the device tree. This patch should really go in before
bb-final, otherwise the BTHOMEHUBV2B images won't be useable.
I do apologise for not spotting this straight away.
Many thanks,
Ben
Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
Backport of r42316
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42386
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Mon, 1 Sep 2014 13:22:01 +0000 (13:22 +0000)]
ralink: the mt7620 evb has a usb port
Signed-off-by: John Crispin <blogic@openwrt.org>
Backport of r42293
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42385
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Mon, 1 Sep 2014 13:22:00 +0000 (13:22 +0000)]
ralink: fix mt7620 ohci 3.10
the ohci phy was not reset properly
Signed-off-by: John Crispin <blogic@openwrt.org>
Backport of r42290
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42384
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Mon, 1 Sep 2014 13:21:59 +0000 (13:21 +0000)]
ralink: mt7620 has obchi/ehci and not dwc2
fix the default package selection
Signed-off-by: John Crispin <blogic@openwrt.org>
Backport of r42289
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42383
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Mon, 1 Sep 2014 13:21:57 +0000 (13:21 +0000)]
mac80211/rt2x00: allow disabling bands through dts
Add dts property ralink,2ghz and ralink,5ghz
e.g. disable 2ghz band:
wmac@
10180000 {
status = "okay";
ralink,2ghz = <0>;
}
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Backport of r42281
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42382
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Mon, 1 Sep 2014 13:21:56 +0000 (13:21 +0000)]
ar71xx: use ETH_ALEN for consistency
Signed-off-by: Forest Crossman <cyrozap@gmail.com>
Backport of r42280
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42381
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Mon, 1 Sep 2014 13:21:55 +0000 (13:21 +0000)]
ar71xx: enable sysupgrade for the EnGenius ESR900
Signed-off-by: Forest Crossman <cyrozap@gmail.com>
Backport of r42279
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42380
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Mon, 1 Sep 2014 13:21:54 +0000 (13:21 +0000)]
package/*: remove useless explicit set of function returncode
somebody started to set a function returncode in the validation
stuff and everybody copies it, e.g.
myfunction()
{
fire_command
return $?
}
a function automatically returns with the last returncode,
so we can safely remove the command 'return $?'. reference:
http://tldp.org/LDP/abs/html/exit-status.html
"The last command executed in the function or script determines the exit status."
Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
Backport of r42278
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42379
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Mon, 1 Sep 2014 13:21:52 +0000 (13:21 +0000)]
ramips: enable second SPI for VoCore
This patch enables the second SPI as spidev and also fixes some typos.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Backport of r42277
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42378
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Mon, 1 Sep 2014 13:21:51 +0000 (13:21 +0000)]
ramips: Add support for SPI_CS1 pinmux
This patch adds support for setting SPI_CS1 as Chip Select, Watchdog reset output and GPIO#27.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Backport of r41938
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42377
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Mon, 1 Sep 2014 13:21:49 +0000 (13:21 +0000)]
ramips: Add support for VoCore
This is based and tested on VoCore Alpha, but other stuff like status/eth LEDs are present on the final board revision + VoDock.
All GPIOs are exported, except spi/i2c.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Backport of r41939
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42376
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Mon, 1 Sep 2014 13:21:48 +0000 (13:21 +0000)]
ramips: second spi device on rt5350
This is based on Jon Smirl's patch with the following changes:
- Set CS polarity as low by default.
- Add support for changing CS polarity.
- Add support for changing LSB/MSB.
- Add support for changing SPI mode.
- Fix indentations.
I tested it on a VoCore. Works fine connected to a second flash, but fails to detect MMC/SD cards due to SPI clock speed.
Signed-off-by: Jon Smirl <jonsmirl@gmail.com>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Backport of r42276
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42375
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Mon, 1 Sep 2014 13:21:46 +0000 (13:21 +0000)]
firewall: the firewall did not start properly on boot
https://dev.openwrt.org/ticket/17593
Signed-off-by: John Crispin <blogic@openwrt.org>
Backport of r42233
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42374
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Mon, 1 Sep 2014 13:21:45 +0000 (13:21 +0000)]
libubox: update to latest git revision
Signed-off-by: John Crispin <blogic@openwrt.org>
Backport of r42230
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42373
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Mon, 1 Sep 2014 13:21:44 +0000 (13:21 +0000)]
valgrind: fix build failure on uml
Signed-off-by: Nicolas Thill <nico@openwrt.org>
Backport of r42229
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42372
3c298f89-4303-0410-b956-
a3cf2f4a3e73
blogic [Mon, 1 Sep 2014 13:21:42 +0000 (13:21 +0000)]
brcm47xx: image: build alternative TRX using less optimized LZMA
There is a group of devices that lzma-loader doesn't work with. They
simply hang at "Starting program at 0x80001000" which is really hard to
debug and we didn't find any solution for this for years.
Broadcom doesn't use lzma-loader on these devices anyway. They decided
to drop lzma-loader and use less optimal LZMA compression that can be
handled by CFE itself (it doesn't use dictionary).
So support these devices we will need kernel compressed with different
parameters and trx without a loader.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r42205
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42371
3c298f89-4303-0410-b956-
a3cf2f4a3e73