Commit Graph

34489 Commits (078f9f266ab26e9fb0fbebabb0bd8c5dfa3e834c)

Author SHA1 Message Date
Felix Fietkau 078f9f266a procd: update to the latest version, adds a few fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45972 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-14 17:44:04 +00:00
Felix Fietkau 04aea8aaab ar71xx: return limit as number of processed frames when re-scheduling NAPI poll
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45971 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-14 17:43:59 +00:00
Felix Fietkau c5339698b0 ar8216: Fix problem with AR8337 MAC swap handling
AR8337 supports a configuration bit to swap MAC0 and MAC6.
Currently this is set in general if an AR8337 is detected and causes
issues with devices using an AR8334 (internally an AR8337, just
less chip pins).
And it might even cause issues with AR8337-based devices with
different board designs.

Swapping the MAC's however isn't needed for AR8337 in general.
It's just needed in case of certain board designs (affected devices
seem to be based on Atheros reference board AP135/136-010).
Therefore this configuration bit should be moved to platform data.

The patch includes the needed changes to the device initialization
code of affected devices. Hopefully I didn't miss any ..

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-14 17:43:50 +00:00
Felix Fietkau e605221325 elfutils: import package from packages.git
elfutils is required by perf. So we'll move this package from
packages.git and make it part of the core distribution.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45969 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-14 17:43:40 +00:00
Felix Fietkau fe3348e669 bzip2: import package from packages.git
bzip2 is required by elfutils, itself required by perf. So we'll move
this package from packages.git and make it part of the core
distribution.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45968 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-14 17:43:34 +00:00
Felix Fietkau 94995f14fe argp-standalone: import package from packages.git
argp-standalone is required by elfutils, itself required by perf. So
we'll move this package from packages.git and make it part of the core
distribution.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45967 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-14 17:43:28 +00:00
Felix Fietkau f8d7a53dfe include/scan.mk: Add -a argument to the grep to treat all Makefiles as a text file.
Hello,

I found out that in some rare cases grep can treat Makefile as a binary file. That happened to me on UTF-8 Gentoo if Makefile contained a character which was from extended ASCII table.
Without this patch the output of the grep command in the $(FILELIST) target is not valid (contains line "Binary file matches") and following commands fail to create feed index file.

Best Regards,
Martin Strbacka

Signed-off-by: Martin Strbacka <martin.strbacka@nic.cz>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45966 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-14 17:43:22 +00:00
Felix Fietkau 956f2da49e ar71xx: Add pll_1000 value for eth0 to Ubiquiti Rocket M XW
This patch adds the pll_1000 value for eth0 interface. This makes the Rocket M
XW image compatible with other Ubiquiti devices with similar hardware with a
Gigabit Ethernet port.

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45965 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-14 17:43:18 +00:00
Felix Fietkau 2e0d07f426 build: do another init script enabling run, fixes init scripts added via files/ (#19857)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45964 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-14 17:42:05 +00:00
Felix Fietkau 9cb9bd7644 oxnas: change file extension of u-boot+initramfs image
The *u-boot-initramfs* images are not ITB/FIT images but are rather
supposed to be loaded to RAM and jumped-into.
To avoid confusion, change the file extension from itb to bin.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45963 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-14 17:42:00 +00:00
Felix Fietkau 9ecf9fd5ac openvpn: bump PKG_RELEASE.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45962 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-14 17:41:54 +00:00
Felix Fietkau 0e2fa3923a openvpn: let instances drop to nobody in default config.
This is for security precautions.  As persist_tun and persist_key are
already there, this should not cause compatibility issue.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45961 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-14 17:41:43 +00:00
Felix Fietkau 9d3092f3d1 openvpn: fix handling option auth_retry.
As reported in ticket #19104, auth_retry takes a <type> argument with 3
choices: none, nointeract, interact.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45960 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-14 17:41:38 +00:00
Felix Fietkau 31c270d3ca libubox: update to the latest version, adds a few fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-14 17:41:33 +00:00
Felix Fietkau 8ec34cb6d3 ar71xx: fix mac offset in firmware file
In new firmware-4.bin (for ath10k) mac offset is 0x114 (276), not 0x118 (280).
This also closes #19751, bug introduced in #45624

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45958 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-14 17:41:27 +00:00
Felix Fietkau cdb2823565 firmware-tools/ptgen: use stdint types for struct pte
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45957 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-14 17:41:21 +00:00
Felix Fietkau 1e517184a2 firmware-tools/ptgen: fix endianness conversion for PTE .start, .length field.
They are of 32-bit little endian integers.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-14 17:41:16 +00:00
Felix Fietkau d34d3e2ecf procd: correct the order of respawn params in the comments.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45955 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-14 17:41:07 +00:00
Felix Fietkau 9aca50fb00 ar71xx: fix 100/10mbps ethernet link issues on mynet range extender
The mynet range extender hardware is suffering from ethernet
link loss when booting with a recent openwrt image. This only
happens on 100mbps links, with 1Gbps speed the link was fine.

The cause of the problem is that the AR8035 PHY (aka F1E)
requires turning on and off the special TX delay setting
depending on the speed of the link.

The 10mbps mode only needed the proper pll value, which was
extracted from the vendor code.

Reported-by: Pascal Paradis
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45954 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-14 17:41:01 +00:00
Felix Fietkau 4a5a71ea72 samba36: remove host build paths
- fix iconv detection because it adds host paths
- disable python detection (host python-config is found)

iconv issue is reported by buildbot config.log + replicated locally
see config.log in logs.tar.gz
python issue observed locally on Arch Linux

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45953 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-14 17:40:52 +00:00
Felix Fietkau cfaf6e9e3d mt76: update to the latest version, adds many fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-13 08:47:28 +00:00
Steven Barth eb58bedbec openssl: 1.0.2c (srsly, you guys, srsly)
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45950 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-12 20:49:20 +00:00
Steven Barth d5a3814d50 ppp: bump PKG_RELEASE
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-12 07:38:00 +00:00
Steven Barth 7368821fc7 ppp : Unnumbered support
Adds PPP unnumbered support via the parameter unnumbered which points to a logical OpenWRT interface.
The PPP proto shell handler will "borrow" an IP address from the unnumbered interface (if multiple
IP addresses are present the longest prefix different from 32 will be "borrowed") for which a host
interface dependency will be created. Due to the host interface dependency the PPP unnumbered interface
will only "borrow" an IP address from an interface which is up.
The borrowed IP address will be shared as local IP address by the PPP daemon and no other local IP
will be accepted from the peer in the IPCP negotiation.

A typical use case is the usage of a public IP subnet on the Lan interface which will be shared
by the PPP interface as local IP address.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-12 07:37:53 +00:00
Steven Barth d175ac81d9 openssl: fixes CVE-2015-4000 CVE-2015-1788 CVE-2015-1789 CVE-2015-1790 CVE-2015-1792 CVE-2015-1791
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-11 20:36:46 +00:00
Steven Barth 50c5c4f6fe openssl: 1.0.2b (hey, we made it nearly 3 months this time!)
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-11 20:28:44 +00:00
Jonas Gorski f9838bef45 brcm63xx: fix A4001N image padding size
When r42245 moved A4001N to DT based detection the image padding size
was accidentally increased from 4 to 8 MiB. This made images unflashable
on these devices.

Fixes #19836.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45945 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-11 12:10:43 +00:00
Imre Kaloz 54f5c11bb4 toolchain/gcc: upgrade Linaro GCC 4.9 to 4.9-2015.03
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45944 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-11 11:57:11 +00:00
Rafał Miłecki 937fc8a1a4 bcm53xx: update NVRAM driver to MIPS version from upstream-sfr
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45943 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-10 20:34:32 +00:00
Rafał Miłecki 710a339e26 brcm47xx: backport BCM47XX patches (NVRAM & BCMA_HOST_PCI)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-10 19:52:07 +00:00
Steven Barth c894b37c47 odhcp6c: work around RIOs matching PIOs as sent by some apple routers
Thanks to Mikael Abrahamsson for reporting.

Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45941 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-10 15:54:24 +00:00
Steven Barth 274d8e8dcf 6to4: Remove sourcerouting parameter registration
Commit 31214c38c8dd0f70366b523f9b0335145b9386bd removes IPv6 unneeded source-dest-routing workarounds;
as a result sourcerouting parameter is unused and can be removed.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-10 11:50:13 +00:00
Steven Barth 0a6883137a 6rd: Remove sourcerouting parameter registration
Commit 31214c38c8dd0f70366b523f9b0335145b9386bd removes IPv6 unneeded source-dest-routing workarounds;
as a result sourcerouting parameter is unused and can be removed.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-10 11:50:09 +00:00
Jonas Gorski fed4eb49f0 b53: fix memory out of bounds access on 64 bit targets
On device reset the sizes for the vlan and port tables were wrongly
calculated based on the pointer size instead of the struct size. This
causes buffer overruns on 64 bit targets, resulting in panics.

Fix this by dereferencing the pointers.

Reported-by: Fedor Konstantinov <blmink@mink.su>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45938 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-10 09:21:36 +00:00
Jonas Gorski 101fe68b5a b53: widen stp state mask to 3 bits (instead of 2)
At least on my b53 chip, the mask is 3 bits wide, and because
of this some STP states are not set properly and discarded when read.

Maybe for some other chips it makes sense to have just 2 bits width,
but I don't have other versions around to test/validate.

If that's the case then maybe we could add another STP state mask.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45937 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-10 09:21:31 +00:00
Steven Barth cbd56e762d map: add sleep work-around for lw4o6 race-condition
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45936 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-09 21:18:55 +00:00
Steven Barth 63c1463654 odhcp6c: fix handling of custom DHCPv6 options
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-09 20:28:35 +00:00
Jo-Philipp Wich ff4d0d8c92 ustream-ssl: fix compilation against current PolarSSL/mbedTLS version
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-09 16:52:12 +00:00
Rafał Miłecki e4763e73a0 kernel: mac80211: bcm53xx has bcma built-in
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-09 15:13:18 +00:00
Rafał Miłecki f756359c01 mac80211: add brcmfmac patch for synchronous init
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45932 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-08 15:17:52 +00:00
Rafał Miłecki 1a91d9f557 mac80211: add brcmfmac patch reading NVRAM from platform
This allows e.g. BCM43602 to work out of box, without dumping a proper
MTD partition to /lib/firmware/ NVRAM file.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-08 15:17:35 +00:00
Felix Fietkau bef1dcfa08 ramips: fix Power LED handling for WHR-300HP2, WHR-600D, WHR-1166D
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45930 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-08 12:51:13 +00:00
Rafał Miłecki 7b1a2cdbe8 mac80211: fix b43 support for 14e4:4321 BCM4321 (band detection)
This fixes #19803

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45929 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-08 12:50:47 +00:00
Rafał Miłecki fde35cdc51 mac80211: backport today's brcmfmac changes
This adds support for SR400ac NVRAM and fixes
/sys/class/ieee80211/*/macaddress

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-08 12:50:38 +00:00
Rafał Miłecki fffad27014 kernel: backport config-related bcma patches from 4.2
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45927 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-08 12:49:54 +00:00
Steven Barth 6abe69b2d0 netifd: bump to latest, various fixes
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-08 11:04:10 +00:00
Steven Barth 89a9a3c579 polarssl: bump to 1.3.11
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45925 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-08 07:38:13 +00:00
Steven Barth 82dc99d746 dnsmasq: bump to 2.73rc9
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45924 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-08 04:48:16 +00:00
Steven Barth 38bb294480 dnsmasq: fix config file typo
s/loclal/local/

Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-08 04:48:08 +00:00
Rafał Miłecki b0d1acac69 bcm53xx: backport the latest 4.2 ARM BCM5302X patches
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-07 14:41:05 +00:00