oweals/openwrt.git
10 years agoralink: add back the gpio_export_named() patch for 3.14
John Crispin [Mon, 18 Aug 2014 13:08:33 +0000 (13:08 +0000)]
ralink: add back the gpio_export_named() patch for 3.14

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

10 years agoadm8668: revert changeset 34554
Florian Fainelli [Sat, 16 Aug 2014 18:09:31 +0000 (18:09 +0000)]
adm8668: revert changeset 34554

The conversion was not 100% correct and leads to u-boot failing to
verify the CRC, revert that change for now.

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

10 years agoar7: remove 972-cpmac_fixup patch
Florian Fainelli [Sat, 16 Aug 2014 17:32:46 +0000 (17:32 +0000)]
ar7: remove 972-cpmac_fixup patch

This patch is causing more harm than good on most AR7 routers out there,
better have no manageable switch rather than no ethernet connection, at
least for now.

Fixes #16523, #5927

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

10 years agobrcm47xx: image: update list of Netgear WNR* firmwares
Hauke Mehrtens [Thu, 14 Aug 2014 21:22:17 +0000 (21:22 +0000)]
brcm47xx: image: update list of Netgear WNR* firmwares

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

10 years agobrcm47xx: fix brcm47xx.legacy build
Hauke Mehrtens [Thu, 14 Aug 2014 21:21:27 +0000 (21:21 +0000)]
brcm47xx: fix brcm47xx.legacy build

we should check for ssb here.

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

10 years agodropbear: fix keepalive with putty
Jonas Gorski [Wed, 13 Aug 2014 20:49:56 +0000 (20:49 +0000)]
dropbear: fix keepalive with putty

Don't send SSH_MSG_UNIMPLEMENTED for keepalive responses, which broke
at least putty.

Fixes #17522 / #17523.

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

10 years agonetifd: assign ipv6-prefixes with length <64 with /64 on-link routes
Steven Barth [Wed, 13 Aug 2014 14:57:11 +0000 (14:57 +0000)]
netifd: assign ipv6-prefixes with length <64 with /64 on-link routes

SVN-Revision: 42161

10 years agoodhcpd: improve DHCPv6-PD detection
Steven Barth [Wed, 13 Aug 2014 14:57:07 +0000 (14:57 +0000)]
odhcpd: improve DHCPv6-PD detection

SVN-Revision: 42160

10 years agoppp: enable IPv6CP by default
Steven Barth [Wed, 13 Aug 2014 10:18:20 +0000 (10:18 +0000)]
ppp: enable IPv6CP by default

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

10 years agoodhcpd: multiple DHCPv4 improvements (thx Christian Mehlis)
Steven Barth [Tue, 12 Aug 2014 13:30:04 +0000 (13:30 +0000)]
odhcpd: multiple DHCPv4 improvements (thx Christian Mehlis)

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

10 years agopackage: fix segfault of iwinfo.scanlist("radio0").
Jo-Philipp Wich [Tue, 12 Aug 2014 11:14:11 +0000 (11:14 +0000)]
package: fix segfault of iwinfo.scanlist("radio0").

This is a bug revealed in r41830.

First, the static variable `char nif[IFNAMSIZ]` of nl80211_phy2ifname()
would be zeroed out if the argument is "wlan0" or the like.  This will
happen in the following call stack.

 nl80211_get_scanlist("radio0", buf, len);
   nl80211_phy2ifname("radio0") // return static var nif with content "wlan0"
   nl80211_get_scanlist(nif, buf, len); // tail call
     nl80211_get_mode(nif);
        nl80211_phy2ifname(nif); // zero out nif

Later we try nl80211_ifadd("") which was supposed to create interface
"tmp.", but that won't happen because nl80211_msg() will put an invalid
ifidx 0 to the nlmsg.

Then iwinfo_ifup() and iwinfo_ifdown() would fail and happily
nl80211_get_scanlist() returned 0 and left *len undefined.

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

10 years agoimx6: update kernel config
Luka Perkov [Mon, 11 Aug 2014 20:35:15 +0000 (20:35 +0000)]
imx6: update kernel config

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 42149

10 years agoimx6: kernel: add GW5520 support
Luka Perkov [Mon, 11 Aug 2014 20:35:13 +0000 (20:35 +0000)]
imx6: kernel: add GW5520 support

The GW5520 is a small form-factor single-board computer with the following
features:
 * 70x100mm form-factor
 * IMX6DL 800MHz SoC (IMX6Q optional)
 * 512MB 32bit DDR3 SDRAM (up to 2GB optional)
 * 256MB NAND FLASH (up to 2GB optional)
 * Gateworks System Controller
 * 2x front-panel Intel i210 GbE adapters with passive PoE support
 * 2x MiniPCIe sockets with USB support
 * 2x front-panel USB
 * 1x rear-panel full-size HDMI connector
 * 1x front-panel bi-color user LED
 * 1x front-panel user pushbutton
 * 1x rear-panel barrel jack for power
 * 1x Application connector with:
  * 2x TTL level UARTs
  * 10x TTL level Digital IO

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

10 years agoimx6: kernel: add GW16083 Ethernet Expansion Mezzanine support
Luka Perkov [Mon, 11 Aug 2014 20:35:10 +0000 (20:35 +0000)]
imx6: kernel: add GW16083 Ethernet Expansion Mezzanine support

The GW16083 Ethernet Expansion Mezzanine adds the following to supported
Gateworks baseboards:
 * 7-port Ethernet Switch
  * 4x RJ45 ports (ENET1-4) supporing 802.11af/at PoE (with optional PoE module)
  * 2x RJ45 ports or SFP module (ENET5-6) (auto-selected)

This series adds support for a phy driver that adds support for ENET5/ENET6
PHY adding initialization for those PHY's and a polling mechanism that detects
SFP insertion and configuration.

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

10 years agoimx6: kernel: add GW16082 miniPCI Expansion Mezzanine support
Luka Perkov [Mon, 11 Aug 2014 20:35:06 +0000 (20:35 +0000)]
imx6: kernel: add GW16082 miniPCI Expansion Mezzanine support

The GW16082 miniPCI Expansion Mezzanine has the INTA/B/C/D IRQ's reversed
from the PCI standard. This will soon be resolved in the bootloader via
devicetree, but in the meantime this will work around the issue.

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

10 years agoimx6: kernel: fix occasional link failure
Luka Perkov [Mon, 11 Aug 2014 20:35:04 +0000 (20:35 +0000)]
imx6: kernel: fix occasional link failure

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

10 years agoimx6: kernel: backport an upstream pci hang fix
Luka Perkov [Mon, 11 Aug 2014 20:35:02 +0000 (20:35 +0000)]
imx6: kernel: backport an upstream pci hang fix

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

10 years agobcm53xx: add b43 wifi support
Hauke Mehrtens [Mon, 11 Aug 2014 20:25:26 +0000 (20:25 +0000)]
bcm53xx: add b43 wifi support

Now it is possible to use b43 wifi.

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

10 years agobcm53xx: remove BCM4360 from PCI ids
Hauke Mehrtens [Mon, 11 Aug 2014 20:24:45 +0000 (20:24 +0000)]
bcm53xx: remove BCM4360 from PCI ids

bcma does not support this card and b43 hangs when probing this card.

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

10 years agomac80211: fix warning with kernel 3.14
Hauke Mehrtens [Mon, 11 Aug 2014 20:23:20 +0000 (20:23 +0000)]
mac80211: fix warning with kernel 3.14

This fixes a redefinition of net_get_random_once() warning.

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

10 years agobase-files: /lib/functions/network.sh: fix network_get_ipaddr6
Jo-Philipp Wich [Mon, 11 Aug 2014 18:15:18 +0000 (18:15 +0000)]
base-files: /lib/functions/network.sh: fix network_get_ipaddr6

When looking for the first ipaddr also consider the current prefix just
like network_get_ipaddrs6 does. If ipv6-address was empty the function
did not return the first ipaddr even if the list was non-empty.

fixes commit 83e9122f88a002871d5cdf421cf6aa6052b7e006

Signed-off-by: Henning Schild <henning@hennsch.de>
SVN-Revision: 42139

10 years agofirewall: fix potential NULL pointer access
Jo-Philipp Wich [Mon, 11 Aug 2014 17:45:18 +0000 (17:45 +0000)]
firewall: fix potential NULL pointer access

Properly skip struct ifaddr entries with NULL ifa_addr, thanks Kostas Papadopoulos for reporting.

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

10 years agodropbear: update to 2014.65
Steven Barth [Mon, 11 Aug 2014 13:02:43 +0000 (13:02 +0000)]
dropbear: update to 2014.65

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

10 years agoadd support for the NC-LINK SMART-300
Imre Kaloz [Mon, 11 Aug 2014 11:44:51 +0000 (11:44 +0000)]
add support for the NC-LINK SMART-300

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 42130

10 years agobrcm63xx: remove now obsolete board fixup code
Jonas Gorski [Mon, 11 Aug 2014 11:37:26 +0000 (11:37 +0000)]
brcm63xx: remove now obsolete board fixup code

Now that we migrated all users to dtb based detection, we can drop the
board fixup code.

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

10 years agobrcm63xx: use dtb board detection for neufbox 4
Jonas Gorski [Mon, 11 Aug 2014 11:37:21 +0000 (11:37 +0000)]
brcm63xx: use dtb board detection for neufbox 4

This splits up neufbox 4 for now into two images, one for each OEM.

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

10 years agobrcm63xx: use dtb board detection for NB6
Jonas Gorski [Mon, 11 Aug 2014 11:37:17 +0000 (11:37 +0000)]
brcm63xx: use dtb board detection for NB6

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

10 years agobrcm63xx: use dtb board detection for HW556
Jonas Gorski [Mon, 11 Aug 2014 11:37:14 +0000 (11:37 +0000)]
brcm63xx: use dtb board detection for HW556

This requires individual images for each board version for now.
Linux partition was shrunk to ensure writing thewrong image won't
erase wifi calibration data.

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

10 years agobrcm63xx: replace CFEFIXUP usage with dtb based detection
Jonas Gorski [Mon, 11 Aug 2014 11:37:09 +0000 (11:37 +0000)]
brcm63xx: replace CFEFIXUP usage with dtb based detection

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

10 years agobrcm63xx: move bcm96328avng to dtb detection
Jonas Gorski [Mon, 11 Aug 2014 11:37:04 +0000 (11:37 +0000)]
brcm63xx: move bcm96328avng to dtb detection

Use appended dtb for board detection for bcm96328avng.

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

10 years agobrcm63xx: add support for registering parallel flash through dtb
Jonas Gorski [Mon, 11 Aug 2014 11:37:01 +0000 (11:37 +0000)]
brcm63xx: add support for registering parallel flash through dtb

Add the required nodes to the dtsi files and code to prevent double
registration from the board support code.

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

10 years agobrcm63xx: add helpers for building cfe images with dtb
Jonas Gorski [Mon, 11 Aug 2014 11:36:59 +0000 (11:36 +0000)]
brcm63xx: add helpers for building cfe images with dtb

Add a helper for building images with dtb appended kernels.

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

10 years agobrcm63xx: add support for attaching dtbs to lzma kernels
Jonas Gorski [Mon, 11 Aug 2014 11:36:55 +0000 (11:36 +0000)]
brcm63xx: add support for attaching dtbs to lzma kernels

In preparation for switching to dtb based board identification, add
support for building lzma-loader and lzma cfe kernels with dtb
appended.

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

10 years agobrcm63xx: add empty dtsi files for each of the supported SoCs
Jonas Gorski [Mon, 11 Aug 2014 11:36:53 +0000 (11:36 +0000)]
brcm63xx: add empty dtsi files for each of the supported SoCs

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

10 years agobrcm63xx: add and enable support for loading an appended dtb
Jonas Gorski [Mon, 11 Aug 2014 11:36:48 +0000 (11:36 +0000)]
brcm63xx: add and enable support for loading an appended dtb

Allow appending a dtb blob to the binary and use it for identifying the
board. Fall back to nvram based identification in case of no dtb passed.

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

10 years agobrcm63xx: correctly export fallback sprom for brcm-wl
Jonas Gorski [Mon, 11 Aug 2014 11:36:41 +0000 (11:36 +0000)]
brcm63xx: correctly export fallback sprom for brcm-wl

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 42118

10 years agobrcm63xx: make board patch context less ambiguous
Jonas Gorski [Mon, 11 Aug 2014 11:36:38 +0000 (11:36 +0000)]
brcm63xx: make board patch context less ambiguous

Make it less likely for quilt/patch to put boards into the "wrong"
section.

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

10 years agobrcm63xx: fix board patches offsets
Jonas Gorski [Mon, 11 Aug 2014 11:36:30 +0000 (11:36 +0000)]
brcm63xx: fix board patches offsets

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo fix 553-boards_probe_switch.patch]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42116

10 years agofirewall: implement selective conntrack flushing (#10225)
Jo-Philipp Wich [Mon, 11 Aug 2014 09:41:20 +0000 (09:41 +0000)]
firewall: implement selective conntrack flushing (#10225)

Utilize the new selective conntrack flushing facility to clear
out active conntrack entries referring to old IP addresses after
a firewall reload.

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

10 years agokernel: 3.14: refresh patches
Luka Perkov [Mon, 11 Aug 2014 09:21:05 +0000 (09:21 +0000)]
kernel: 3.14: refresh patches

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 42113

10 years agobuild: enable PER_FEED_REPO by default
Jo-Philipp Wich [Mon, 11 Aug 2014 09:15:17 +0000 (09:15 +0000)]
build: enable PER_FEED_REPO by default

Enable the separate feed repositories by default to align custom builds with the repositories
available on the snapshot download server.

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

10 years agohostapd: fix some whitespaces
Luka Perkov [Mon, 11 Aug 2014 08:44:48 +0000 (08:44 +0000)]
hostapd: fix some whitespaces

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 42111

10 years agobrcm63xx: Add fallback sprom for A4001N
Jonas Gorski [Sun, 10 Aug 2014 12:22:15 +0000 (12:22 +0000)]
brcm63xx: Add fallback sprom for A4001N

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42110

10 years agobrcm63xx: Add fallback sprom for HG520v
Jonas Gorski [Sun, 10 Aug 2014 12:22:12 +0000 (12:22 +0000)]
brcm63xx: Add fallback sprom for HG520v

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42109

10 years agobrcm63xx: Add fallback sprom for P870HW-51a
Jonas Gorski [Sun, 10 Aug 2014 12:22:10 +0000 (12:22 +0000)]
brcm63xx: Add fallback sprom for P870HW-51a

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42108

10 years agobrcm63xx: Add fallback sprom for VR-3025un
Jonas Gorski [Sun, 10 Aug 2014 12:22:08 +0000 (12:22 +0000)]
brcm63xx: Add fallback sprom for VR-3025un

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42107

10 years agobrcm63xx: Add fallback sprom for VR-3025u
Jonas Gorski [Sun, 10 Aug 2014 12:22:05 +0000 (12:22 +0000)]
brcm63xx: Add fallback sprom for VR-3025u

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42106

10 years agobrcm63xx: Add fallback sprom for WAP-5813n
Jonas Gorski [Sun, 10 Aug 2014 12:22:02 +0000 (12:22 +0000)]
brcm63xx: Add fallback sprom for WAP-5813n

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42105

10 years agobrcm63xx: Add fallback sprom for AR-5381u
Jonas Gorski [Sun, 10 Aug 2014 12:21:59 +0000 (12:21 +0000)]
brcm63xx: Add fallback sprom for AR-5381u

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42104

10 years agobrcm63xx: Add fallback sprom for AR-5387un
Jonas Gorski [Sun, 10 Aug 2014 12:21:55 +0000 (12:21 +0000)]
brcm63xx: Add fallback sprom for AR-5387un

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42103

10 years agobrcm63xx: Add fallback sprom for A4001N1
Jonas Gorski [Sun, 10 Aug 2014 12:21:52 +0000 (12:21 +0000)]
brcm63xx: Add fallback sprom for A4001N1

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42102

10 years agobrcm63xx: Add fallback sprom for CT6373
Jonas Gorski [Sun, 10 Aug 2014 12:21:48 +0000 (12:21 +0000)]
brcm63xx: Add fallback sprom for CT6373

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42101

10 years agobrcm63xx: Add fallback sprom for CT5365
Jonas Gorski [Sun, 10 Aug 2014 12:21:44 +0000 (12:21 +0000)]
brcm63xx: Add fallback sprom for CT5365

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42100

10 years agobrcm63xx: Add fallback sprom for CT5361_CT5621
Jonas Gorski [Sun, 10 Aug 2014 12:21:39 +0000 (12:21 +0000)]
brcm63xx: Add fallback sprom for CT5361_CT5621

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42099

10 years agobrcm63xx: Add fallback sprom for Huawei HG553
Jonas Gorski [Sun, 10 Aug 2014 12:21:34 +0000 (12:21 +0000)]
brcm63xx: Add fallback sprom for Huawei HG553

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42098

10 years agobrcm63xx: Fix fallback sprom il0mac
Jonas Gorski [Sun, 10 Aug 2014 12:21:30 +0000 (12:21 +0000)]
brcm63xx: Fix fallback sprom il0mac

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42097

10 years agonetfilter: consider reply direction on selective flushing
Jo-Philipp Wich [Sun, 10 Aug 2014 10:15:22 +0000 (10:15 +0000)]
netfilter: consider reply direction on selective flushing

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

10 years agonetfilter: fix calls to nf_ct_iterate_cleanup() with Linux >= 3.13
Jo-Philipp Wich [Sun, 10 Aug 2014 09:21:14 +0000 (09:21 +0000)]
netfilter: fix calls to nf_ct_iterate_cleanup() with Linux >= 3.13

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

10 years agonetfilter: support /proc conntrack flushing of specific ip addresses
Jo-Philipp Wich [Sat, 9 Aug 2014 14:36:10 +0000 (14:36 +0000)]
netfilter: support /proc conntrack flushing of specific ip addresses

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

10 years agobuild: fix removal of old .ipk files with CONFIG_PER_FEED_REPO
Jo-Philipp Wich [Sat, 9 Aug 2014 13:04:17 +0000 (13:04 +0000)]
build: fix removal of old .ipk files with CONFIG_PER_FEED_REPO

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

10 years agobrcm47xx: fix reboot problem on BCM4705/BCM4785
Hauke Mehrtens [Fri, 8 Aug 2014 23:10:16 +0000 (23:10 +0000)]
brcm47xx: fix reboot problem on BCM4705/BCM4785

This adds some code based on code from the Broadcom GPL tar to fix the
reboot problems on BCM4705/BCM4785. I tried rebooting my device for ~10
times and have never seen a problem. This reverts the changes in the
previous commit and adds the real fix as suggested by Rafał.

Setting bit 22 in Reg 22, sel 4 puts the BIU (Bus Interface Unit) into
async mode.

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

10 years agobroadcom-wl: add default tx and rx antennas
Hauke Mehrtens [Fri, 8 Aug 2014 22:59:45 +0000 (22:59 +0000)]
broadcom-wl: add default tx and rx antennas

This adds default tx and rx antennas, so that LuCI shows automatic as the default radio option for the antennas.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 42085

10 years agobroadcom-wl: add support for a8xx broadcom devices
Hauke Mehrtens [Fri, 8 Aug 2014 22:58:54 +0000 (22:58 +0000)]
broadcom-wl: add support for a8xx broadcom devices

Tested on Comtrend VR-3025u (brcm6368 + a8d6-43222).

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 42084

10 years agobrcm47xx: fix reboot problem on BCM4705/BCM4785
Hauke Mehrtens [Fri, 8 Aug 2014 22:52:28 +0000 (22:52 +0000)]
brcm47xx: fix reboot problem on BCM4705/BCM4785

This adds some code based on code from the Broadcom GPL tar to fix the
reboot problems on BCM4705/BCM4785. I tried rebooting my device for ~10
times and have never seen a problem. This reverts the changes in the
previous commit and adds the real fix as suggested by Rafał.

Setting bit 22 in Reg 22, sel 4 puts the BIU (Bus Interface Unit) into
async mode.

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

10 years agomkimage: update to 2014.07
Luka Perkov [Fri, 8 Aug 2014 21:03:14 +0000 (21:03 +0000)]
mkimage: update to 2014.07

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 42082

10 years agoimx6: update upstream patch
Luka Perkov [Fri, 8 Aug 2014 16:11:57 +0000 (16:11 +0000)]
imx6: update upstream patch

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 42081

10 years agouboot-kirkwood: bump to 2014.07
Luka Perkov [Fri, 8 Aug 2014 15:55:03 +0000 (15:55 +0000)]
uboot-kirkwood: bump to 2014.07

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 42080

10 years agouboot-envtools: bump to 2014.07
Luka Perkov [Fri, 8 Aug 2014 15:14:26 +0000 (15:14 +0000)]
uboot-envtools: bump to 2014.07

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 42078

10 years agokirkwood: drop 3.10 support
Luka Perkov [Fri, 8 Aug 2014 13:55:30 +0000 (13:55 +0000)]
kirkwood: drop 3.10 support

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 42077

10 years agokirkwood: switch to 3.14
Luka Perkov [Fri, 8 Aug 2014 13:55:29 +0000 (13:55 +0000)]
kirkwood: switch to 3.14

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 42076

10 years agoimx6: drop 3.10 support
Luka Perkov [Fri, 8 Aug 2014 13:38:31 +0000 (13:38 +0000)]
imx6: drop 3.10 support

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 42075

10 years agoimx6: switch to 3.14
Luka Perkov [Fri, 8 Aug 2014 13:38:30 +0000 (13:38 +0000)]
imx6: switch to 3.14

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 42074

10 years agoimx6: update upstream patches
Luka Perkov [Fri, 8 Aug 2014 13:38:29 +0000 (13:38 +0000)]
imx6: update upstream patches

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 42073

10 years agoimx6: backport IMX6DL DVFS support from 3.15
Luka Perkov [Fri, 8 Aug 2014 13:38:27 +0000 (13:38 +0000)]
imx6: backport IMX6DL DVFS support from 3.15

This allows dynamic voltage and frequency scaling to work for IMX6DL CPU's.

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

10 years agoimx6: drop ventana kernel/rootfs hack
Luka Perkov [Fri, 8 Aug 2014 13:38:25 +0000 (13:38 +0000)]
imx6: drop ventana kernel/rootfs hack

In r41578 this was added in order to make default images bootable for the BB
release. We need more generic approach for this.

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 42071

10 years agokernel: update 3.14 to 3.14.16
Luka Perkov [Fri, 8 Aug 2014 13:38:22 +0000 (13:38 +0000)]
kernel: update 3.14 to 3.14.16

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 42070

10 years agoodhcpd: avoid logspam in certain corner cases
Steven Barth [Fri, 8 Aug 2014 08:45:33 +0000 (08:45 +0000)]
odhcpd: avoid logspam in certain corner cases

SVN-Revision: 42067

10 years agoodhcpd: write host-entries for all leased IPv6 addresses
Steven Barth [Fri, 8 Aug 2014 05:30:59 +0000 (05:30 +0000)]
odhcpd: write host-entries for all leased IPv6 addresses

SVN-Revision: 42065

10 years agocyassl: update to 3.1.0
Steven Barth [Fri, 8 Aug 2014 05:25:52 +0000 (05:25 +0000)]
cyassl: update to 3.1.0

SVN-Revision: 42063

10 years agopolarssl: bump to 1.3.8
Steven Barth [Fri, 8 Aug 2014 05:20:50 +0000 (05:20 +0000)]
polarssl: bump to 1.3.8

SVN-Revision: 42061

10 years agoopenssl: another day another bug fix update
John Crispin [Thu, 7 Aug 2014 20:54:41 +0000 (20:54 +0000)]
openssl: another day another bug fix update

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

10 years agobrcm47xx: activate high mem for mips74k in the config
Hauke Mehrtens [Thu, 7 Aug 2014 20:22:00 +0000 (20:22 +0000)]
brcm47xx: activate high mem for mips74k in the config

It is still not working.

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

10 years agobrcm47xx: 3.14: backport MIPS patches for early HIGHMEM support
Hauke Mehrtens [Thu, 7 Aug 2014 20:21:11 +0000 (20:21 +0000)]
brcm47xx: 3.14: backport MIPS patches for early HIGHMEM support

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

10 years agobrcm47xx: 3.10: backport MIPS patches for early HIGHMEM support
Hauke Mehrtens [Thu, 7 Aug 2014 20:20:38 +0000 (20:20 +0000)]
brcm47xx: 3.10: backport MIPS patches for early HIGHMEM support

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

10 years agobase-files: enable option to skip the netfilter "filter" table for established connec...
Felix Fietkau [Thu, 7 Aug 2014 19:30:36 +0000 (19:30 +0000)]
base-files: enable option to skip the netfilter "filter" table for established connection packets by default

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

10 years agoxtables-addons: remove version 1.x for old kernels
Felix Fietkau [Thu, 7 Aug 2014 19:30:33 +0000 (19:30 +0000)]
xtables-addons: remove version 1.x for old kernels

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

10 years agokernel: add a patch to allow disabling processing of the netfilter "filter" table...
Felix Fietkau [Thu, 7 Aug 2014 18:59:22 +0000 (18:59 +0000)]
kernel: add a patch to allow disabling processing of the netfilter "filter" table for established connection packets

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

10 years agokernel: improve ipv4 netfilter optimization patch
Felix Fietkau [Thu, 7 Aug 2014 18:59:18 +0000 (18:59 +0000)]
kernel: improve ipv4 netfilter optimization patch

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

10 years agoar71xx: port missing ath79 machine entry for wndr3700 v4 to 3.14
Felix Fietkau [Thu, 7 Aug 2014 18:59:15 +0000 (18:59 +0000)]
ar71xx: port missing ath79 machine entry for wndr3700 v4 to 3.14

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

10 years agoodhcpd: update hostfile more often
Steven Barth [Thu, 7 Aug 2014 18:07:37 +0000 (18:07 +0000)]
odhcpd: update hostfile more often

SVN-Revision: 42042

10 years agobuild: consider sub-directories when deploying packages to image with CONFIG_PER_FEED...
Jo-Philipp Wich [Thu, 7 Aug 2014 15:35:12 +0000 (15:35 +0000)]
build: consider sub-directories when deploying packages to image with CONFIG_PER_FEED_REPO (#17430)

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

10 years agoralink: add 3.14 support
John Crispin [Thu, 7 Aug 2014 14:41:19 +0000 (14:41 +0000)]
ralink: add 3.14 support

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

10 years agoar71xx: add linux 3.14 support
Felix Fietkau [Thu, 7 Aug 2014 12:40:53 +0000 (12:40 +0000)]
ar71xx: add linux 3.14 support

Signed-off-by: Zhao, Gang <gang.zhao.42@gmail.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42038

10 years agokernel: add a few more generic config symbols for 3.14
Felix Fietkau [Thu, 7 Aug 2014 12:40:47 +0000 (12:40 +0000)]
kernel: add a few more generic config symbols for 3.14

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

10 years agoralink: revert r37163
John Crispin [Thu, 7 Aug 2014 12:38:20 +0000 (12:38 +0000)]
ralink: revert r37163

https://dev.openwrt.org/ticket/17071

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

10 years agoiptables: add kmod-ipt-nf* to dependency list of iptables-mod-nf*.
Steven Barth [Thu, 7 Aug 2014 12:32:33 +0000 (12:32 +0000)]
iptables: add kmod-ipt-nf* to dependency list of iptables-mod-nf*.

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

10 years agonetifd: unblock some proto shell actions in teardown state
Steven Barth [Thu, 7 Aug 2014 10:21:08 +0000 (10:21 +0000)]
netifd: unblock some proto shell actions in teardown state

SVN-Revision: 42032

10 years agoocteon: add missing gpio_to_irq()
John Crispin [Thu, 7 Aug 2014 09:54:07 +0000 (09:54 +0000)]
octeon: add missing gpio_to_irq()

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

10 years agoodhcpd: correct incorrect commit-id in last commit
Steven Barth [Thu, 7 Aug 2014 05:50:44 +0000 (05:50 +0000)]
odhcpd: correct incorrect commit-id in last commit

SVN-Revision: 42026

10 years agoodhcpd: skip MSRs in RAs for prefixes with same size as DP
Steven Barth [Thu, 7 Aug 2014 05:34:02 +0000 (05:34 +0000)]
odhcpd: skip MSRs in RAs for prefixes with same size as DP

SVN-Revision: 42024