openwrt/staging/dangole.git
10 years agogmp: add host compile
John Crispin [Mon, 18 Aug 2014 13:10:11 +0000 (13:10 +0000)]
gmp: add host compile

Currently, any package that uses host compile and depends on
libgmp.so will fail. This is because gmp is not compile for
host machine. So, staging_dir/host has only static lib for gmp

 $ ls staging_dir/host/lib/libgmp* -1
 staging_dir/host/lib/libgmp.a
 staging_dir/host/lib/libgmp.la
 staging_dir/host/lib/libgmpxx.a
 staging_dir/host/lib/libgmpxx.la

Addind host compile in gmp, the dependent package can use:

 PKG_BUILD_DEPENDS:=gmp/host

That will compile gmp to staging_dir/host with *.so files

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
SVN-Revision: 42196

10 years agobusybox: Fix pam_start link errors when PAM support is enabled
John Crispin [Mon, 18 Aug 2014 13:10:08 +0000 (13:10 +0000)]
busybox: Fix pam_start link errors when PAM support is enabled

Patch to BusyBox Makefile to fix linker errors when PAM support is enabled by
CONFIG_BUSYBOX_CONFIG_PAM=y. Typical errors include:
login.c:(.text.login_main+0x122): undefined reference to `pam_start'

Signed-off-by: Stephen Parry <sgparry@mainscreen.com>
SVN-Revision: 42195

10 years agoramips: fix switch config for Edimax 3G-6200n
John Crispin [Mon, 18 Aug 2014 13:10:04 +0000 (13:10 +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>
SVN-Revision: 42194

10 years agoar71xx: TL-WR1043N/ND v2: Fix MAC address of WMAC
John Crispin [Mon, 18 Aug 2014 13:10:00 +0000 (13:10 +0000)]
ar71xx: TL-WR1043N/ND v2: Fix MAC address of WMAC

This sets the MAC address of the WLAN interface to the "official" primary MAC
address (the one on the label under the devices, and the one used with the stock
firmware). The MAC address used so far (primary-1) isn't even used at all with
the stock firmware, which sets (primary) on LAN and WLAN and (primary+1) on the
WAN interface (like OpenWrt does with this patch).

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 42193

10 years agoralink: clean up HAME profiles, remove unnecessary packages.
John Crispin [Mon, 18 Aug 2014 13:09:46 +0000 (13:09 +0000)]
ralink: clean up HAME profiles, remove unnecessary packages.

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

10 years agoramips: add mpr-a1 to default profile
John Crispin [Mon, 18 Aug 2014 13:09:43 +0000 (13:09 +0000)]
ramips: add mpr-a1 to default profile

Add hame mpr-a1 to default ramips profile.

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

10 years agoramips: Hame: change LED name mpr-x -> hame
John Crispin [Mon, 18 Aug 2014 13:09:39 +0000 (13:09 +0000)]
ramips: Hame: change LED name mpr-x -> hame

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

10 years agoar71xx: build factory image for EnGenius ESR900 and ESR1750
John Crispin [Mon, 18 Aug 2014 13:09:34 +0000 (13:09 +0000)]
ar71xx: build factory image for EnGenius ESR900 and ESR1750

Signed-off-by: Forest Crossman <cyrozap@gmail.com>
SVN-Revision: 42189

10 years agolantiq: update to 3.14
John Crispin [Mon, 18 Aug 2014 13:09:30 +0000 (13:09 +0000)]
lantiq: update to 3.14

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

10 years agoocteon: update to 3.14
John Crispin [Mon, 18 Aug 2014 13:09:24 +0000 (13:09 +0000)]
octeon: update to 3.14

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

10 years agoramips: make use of the new board detection layer
John Crispin [Mon, 18 Aug 2014 13:09:20 +0000 (13:09 +0000)]
ramips: make use of the new board detection layer

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

10 years agobase-files: add a hardware detection layer
John Crispin [Mon, 18 Aug 2014 13:09:17 +0000 (13:09 +0000)]
base-files: add a hardware detection layer

this allows targets to use the new uci-default helper which will generate
a file called /etc/board.json. a tool called /bin/config_generate can then
be used to generate the default uci settings.

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

10 years agoar71xx: Fix 2.4G WiFi LED of the OpenMesh MR600 board
John Crispin [Mon, 18 Aug 2014 13:09:14 +0000 (13:09 +0000)]
ar71xx: Fix 2.4G WiFi LED of the OpenMesh MR600 board

The OpenMesh MR600(v1) can only enable the 2.4G WiFi PHY LED through the
mini-PCIe device. Not configuring the LED pin inside the platform data
makes it impossible to configure it through any standard OpenWrt tool.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 42184

10 years agolantiq: generate unique ARV7519RW22 firmware
John Crispin [Mon, 18 Aug 2014 13:09:11 +0000 (13:09 +0000)]
lantiq: generate unique ARV7519RW22 firmware

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

10 years agolantiq: add support for xrx200 firmware depending on soc type
John Crispin [Mon, 18 Aug 2014 13:09:08 +0000 (13:09 +0000)]
lantiq: add support for xrx200 firmware depending on soc type

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

10 years agolantiq: export soc type
John Crispin [Mon, 18 Aug 2014 13:08:59 +0000 (13:08 +0000)]
lantiq: export soc type

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

10 years agolantiq: improve ARV7519RW22 support
John Crispin [Mon, 18 Aug 2014 13:08:56 +0000 (13:08 +0000)]
lantiq: improve ARV7519RW22 support

- use full board name
- rename uboot-env partition
- add dsl_fw partition
- remove unneeded pinmux groups
- move gigabit ethernet to LAN
- load mac address from mtd

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

10 years agoramips: add a workaround to fix failsafe on RT5350
John Crispin [Mon, 18 Aug 2014 13:08:52 +0000 (13:08 +0000)]
ramips: add a workaround to fix failsafe on RT5350

Due to TCP connections not working when VLAN is disabled, this is
needed to get failsafe functional.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
SVN-Revision: 42179

10 years agoramips: enable additional GPIOs on HAME MPR-A1
John Crispin [Mon, 18 Aug 2014 13:08:48 +0000 (13:08 +0000)]
ramips: enable additional GPIOs on HAME MPR-A1

According to the pcb tracing results[1] by anton.rad[2] MPR-A1s expose
6 unused GPIOs, only one of them working as configured in the current
DTS. This patch enables GPIO22-26.

Tested on hardware.

[1] http://i.imgur.com/kHVW2Ox.jpg
[2] https://forum.openwrt.org/viewtopic.php?pid=222698#p222698

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
SVN-Revision: 42178

10 years agoar71xx: changed the EnGenius ESR900 mtdparts to match that of the ESR1750 since they...
John Crispin [Mon, 18 Aug 2014 13:08:45 +0000 (13:08 +0000)]
ar71xx: changed the EnGenius ESR900 mtdparts to match that of the ESR1750 since they have the same flash layout

Signed-off-by: Forest Crossman <cyrozap@gmail.com>
SVN-Revision: 42177

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