openwrt.git
8 years agoimx6: update kernel config
luka [Mon, 11 Aug 2014 20:35:15 +0000 (20:35 +0000)]
imx6: update kernel config

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42149 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimx6: kernel: add GW5520 support
luka [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42148 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimx6: kernel: add GW16083 Ethernet Expansion Mezzanine support
luka [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42147 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimx6: kernel: add GW16082 miniPCI Expansion Mezzanine support
luka [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42146 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimx6: kernel: fix occasional link failure
luka [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42145 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimx6: kernel: backport an upstream pci hang fix
luka [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42144 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: add b43 wifi support
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42143 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: remove BCM4360 from PCI ids
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42142 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: fix warning with kernel 3.14
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42141 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobase-files: /lib/functions/network.sh: fix network_get_ipaddr6
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42139 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agofirewall: fix potential NULL pointer access
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42138 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42131 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years ago[ar71xx]: add support for the NC-LINK SMART-300
kaloz [Mon, 11 Aug 2014 11:44:51 +0000 (11:44 +0000)]
[ar71xx]: add support for the NC-LINK SMART-300

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42130 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: remove now obsolete board fixup code
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42129 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: use dtb board detection for neufbox 4
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42128 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: use dtb board detection for NB6
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42127 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: use dtb board detection for HW556
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42126 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: replace CFEFIXUP usage with dtb based detection
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42125 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: move bcm96328avng to dtb detection
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42124 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: add support for registering parallel flash through dtb
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42123 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: add helpers for building cfe images with dtb
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42122 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: add support for attaching dtbs to lzma kernels
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42121 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: add empty dtsi files for each of the supported SoCs
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42120 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: add and enable support for loading an appended dtb
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42119 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: correctly export fallback sprom for brcm-wl
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42118 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: make board patch context less ambiguous
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42117 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: fix board patches offsets
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42116 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agofirewall: implement selective conntrack flushing (#10225)
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42114 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42113 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobuild: enable PER_FEED_REPO by default
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42112 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42111 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: Add fallback sprom for A4001N
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42110 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: Add fallback sprom for HG520v
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42109 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: Add fallback sprom for P870HW-51a
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42108 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: Add fallback sprom for VR-3025un
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42107 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: Add fallback sprom for VR-3025u
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42106 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: Add fallback sprom for WAP-5813n
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42105 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: Add fallback sprom for AR-5381u
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42104 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: Add fallback sprom for AR-5387un
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42103 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: Add fallback sprom for A4001N1
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42102 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: Add fallback sprom for CT6373
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42101 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: Add fallback sprom for CT5365
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42100 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: Add fallback sprom for CT5361_CT5621
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42099 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: Add fallback sprom for Huawei HG553
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42098 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: Fix fallback sprom il0mac
jogo [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42097 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agonetfilter: consider reply direction on selective flushing
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42095 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agonetfilter: fix calls to nf_ct_iterate_cleanup() with Linux >= 3.13
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42093 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agonetfilter: support /proc conntrack flushing of specific ip addresses
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42092 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobuild: fix removal of old .ipk files with CONFIG_PER_FEED_REPO
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42090 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm47xx: fix reboot problem on BCM4705/BCM4785
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42088 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobroadcom-wl: add default tx and rx antennas
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42085 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobroadcom-wl: add support for a8xx broadcom devices
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42084 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm47xx: fix reboot problem on BCM4705/BCM4785
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42083 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years ago[tools] mkimage: update to 2014.07
luka [Fri, 8 Aug 2014 21:03:14 +0000 (21:03 +0000)]
[tools] mkimage: update to 2014.07

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42082 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimx6: update upstream patch
luka [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42081 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agouboot-kirkwood: bump to 2014.07
luka [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42080 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agouboot-envtools: bump to 2014.07
luka [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42078 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42077 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42076 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42075 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42074 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42073 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimx6: backport IMX6DL DVFS support from 3.15
luka [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42072 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimx6: drop ventana kernel/rootfs hack
luka [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42071 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: update 3.14 to 3.14.16
luka [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42070 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42067 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42065 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42063 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42061 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoopenssl: another day another bug fix update
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42055 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm47xx: activate high mem for mips74k in the config
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42054 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm47xx: 3.14: backport MIPS patches for early HIGHMEM support
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42053 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm47xx: 3.10: backport MIPS patches for early HIGHMEM support
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42052 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobase-files: enable option to skip the netfilter "filter" table for established connec...
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42048 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoxtables-addons: remove version 1.x for old kernels
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42047 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: add a patch to allow disabling processing of the netfilter "filter" table...
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42046 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: improve ipv4 netfilter optimization patch
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42045 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: port missing ath79 machine entry for wndr3700 v4 to 3.14
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42044 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42042 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobuild: consider sub-directories when deploying packages to image with CONFIG_PER_FEED...
jow [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42041 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42040 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: add linux 3.14 support
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42038 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: add a few more generic config symbols for 3.14
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42037 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoralink: revert r37163
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42036 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoiptables: add kmod-ipt-nf* to dependency list of iptables-mod-nf*.
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42034 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42032 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoocteon: add missing gpio_to_irq()
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42028 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42026 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42024 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: Add support for the WNDR3800CH
cyrus [Thu, 7 Aug 2014 05:14:26 +0000 (05:14 +0000)]
ar71xx: Add support for the WNDR3800CH

Apparently this is a fairly common refurb unit of the 3800 series now,
with merely the recognition string changed in the boot loader.

Signed-off-by: Dave Taht <dave.taht@bufferbloat.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42023 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoiptables: NFLOG and NFQUEUE targets' full support
cyrus [Thu, 7 Aug 2014 04:42:22 +0000 (04:42 +0000)]
iptables: NFLOG and NFQUEUE targets' full support

NFLOG and NFQUEUE targets' full support for iptables.

Includes all needed kernel modules (Xtables's and Netlink's)
 and userspace libraries.
All added kernel modules can be individually disabled,
 all other new libraries get their own individual packages.

Reported-by: Fabian Hugelshofer <hugelshofer2006@gmx.ch>
Reported-by: Rainer Poisel <rainer.poisel@fhstp.ac.at>
Reported-by: Derek LaHousse <dlahouss@mtu.edu>
Signed-off-by: Guillaume Déflache <guillaume.deflache@ibwag.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42022 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agonetifd: disable ds-lite, map & gre for old kernels
cyrus [Wed, 6 Aug 2014 19:57:19 +0000 (19:57 +0000)]
netifd: disable ds-lite, map & gre for old kernels

this unbreaks netifd compilation on old kernels

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42019 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoiwinfo: allow scans in AP mode on nl80211
nbd [Wed, 6 Aug 2014 17:07:18 +0000 (17:07 +0000)]
iwinfo: allow scans in AP mode on nl80211

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42014 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobuild: add new option to add disabled feeds commented out to opkg.conf
jow [Wed, 6 Aug 2014 09:12:37 +0000 (09:12 +0000)]
build: add new option to add disabled feeds commented out to opkg.conf

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42004 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoinclude: fix detection of installed feeds
jow [Wed, 6 Aug 2014 09:12:31 +0000 (09:12 +0000)]
include: fix detection of installed feeds

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42003 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobuild: introduce per feed repository support
jow [Tue, 5 Aug 2014 11:24:24 +0000 (11:24 +0000)]
build: introduce per feed repository support

This changeset implements a new menuconfig option to generate separate
repositories for each enabled package feed instead of one monolithic one.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42002 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agonetifd: minor fixes (thanks Hans Dedecker)
cyrus [Tue, 5 Aug 2014 10:03:10 +0000 (10:03 +0000)]
netifd: minor fixes (thanks Hans Dedecker)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42000 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogre: Change hostdependcy to remote endpoint tunnel address
cyrus [Tue, 5 Aug 2014 09:57:55 +0000 (09:57 +0000)]
gre: Change hostdependcy to remote endpoint tunnel address

Depend on the GRE tunnel peeraddr to trigger setup of the tunnel interface.
Addresses the issue reported in https://lists.openwrt.org/pipermail/openwrt-devel/2014-August/027201.html

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41998 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoatheros: switch kernel version to 3.14
nbd [Mon, 4 Aug 2014 20:54:57 +0000 (20:54 +0000)]
atheros: switch kernel version to 3.14

After several tests, 3.14 kernel seems run fine.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41997 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoatheros: add 3.14 configuration
nbd [Mon, 4 Aug 2014 20:54:53 +0000 (20:54 +0000)]
atheros: add 3.14 configuration

Created on basis of 3.10 config. Remove few obsolete symbols and add new
upstream symbols. New symbols left in its default state.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41996 3c298f89-4303-0410-b956-a3cf2f4a3e73