openwrt/openwrt.git
9 years ago6rd: honor tunlink in host dependency
Steven Barth [Thu, 26 Feb 2015 07:42:12 +0000 (07:42 +0000)]
6rd: honor tunlink in host dependency

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

9 years agofirewall: fix some more null-pointer accesses
Steven Barth [Thu, 26 Feb 2015 07:14:41 +0000 (07:14 +0000)]
firewall: fix some more null-pointer accesses

thanks to Hans Dedecker

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

9 years agofstools: fix build with enabled ubifs extroot support
Jo-Philipp Wich [Wed, 25 Feb 2015 18:54:13 +0000 (18:54 +0000)]
fstools: fix build with enabled ubifs extroot support

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

9 years agofstools: fix multiple extroot problems
Jo-Philipp Wich [Wed, 25 Feb 2015 13:03:16 +0000 (13:03 +0000)]
fstools: fix multiple extroot problems

- Support external overlays on non-MTD systems again
- Account for new directory structure of overlayfs partitions (additional upper/ component)
- Support executing block from either overlay or rom
- Support loading fstab from either overlay or rom
- Log extroot failures to dmesg

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

9 years agomodules: make ahci-platform depend on TARGET_ipq806x
John Crispin [Wed, 25 Feb 2015 12:01:19 +0000 (12:01 +0000)]
modules: make ahci-platform depend on TARGET_ipq806x

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

9 years agoubox: kmodloader: support loading kmods from multiple directories
Jo-Philipp Wich [Wed, 25 Feb 2015 11:48:27 +0000 (11:48 +0000)]
ubox: kmodloader: support loading kmods from multiple directories

This is required during early boot in the extroot setup phase to support
loading kmods from the overlay that depend on kmods on the rom partition.

The subsequent mount_root updates will use the LD_LIBRARY_PATH env
variable to pass kmod directories to kmodloader.

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

9 years agogeneric/4.0: refresh patches
Imre Kaloz [Tue, 24 Feb 2015 18:53:14 +0000 (18:53 +0000)]
generic/4.0: refresh patches

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

9 years agogeneric/4.0: drop patches applied upstream
Imre Kaloz [Tue, 24 Feb 2015 18:35:17 +0000 (18:35 +0000)]
generic/4.0: drop patches applied upstream

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

9 years agogeneric/4.0: drop 3.18 specifix dwc2 backport
Imre Kaloz [Tue, 24 Feb 2015 18:30:16 +0000 (18:30 +0000)]
generic/4.0: drop 3.18 specifix dwc2 backport

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

9 years agogeneric/4.0: the ubi patches has been fixed in the 3.19 patchset already
Imre Kaloz [Tue, 24 Feb 2015 18:27:49 +0000 (18:27 +0000)]
generic/4.0: the ubi patches has been fixed in the 3.19 patchset already

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

9 years agoar71xx: refresh patches
John Crispin [Tue, 24 Feb 2015 12:01:08 +0000 (12:01 +0000)]
ar71xx: refresh patches

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

9 years agoar71xx: Add QCA953X version2 SoC support
John Crispin [Tue, 24 Feb 2015 12:01:00 +0000 (12:01 +0000)]
ar71xx: Add QCA953X version2 SoC support

http://patchwork.ozlabs.org/patch/435234/

Signed-off-by: 郭传鈜 <gch981213@gmail.com>
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44527

9 years agoar71xx: TL-WA7210n v2 support
John Crispin [Tue, 24 Feb 2015 12:00:50 +0000 (12:00 +0000)]
ar71xx: TL-WA7210n v2 support

This patch adds support for TP-Link TL-WA7210n[0]

[0] http://www.tplink.com/en/products/details/?model=TL-WA7210N

Signed-off-by: Hendrik Frenzel <hfrenzel@scunc.net>
SVN-Revision: 44526

9 years agoipq806x: add ahci to default packages
John Crispin [Tue, 24 Feb 2015 12:00:22 +0000 (12:00 +0000)]
ipq806x: add ahci to default packages

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

9 years agomodules: add ahci-platform
John Crispin [Tue, 24 Feb 2015 12:00:16 +0000 (12:00 +0000)]
modules: add ahci-platform

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

9 years agoipq806x: add default package selection
John Crispin [Tue, 24 Feb 2015 12:00:09 +0000 (12:00 +0000)]
ipq806x: add default package selection

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

9 years agoipq806x: initialize the network on AP148
John Crispin [Tue, 24 Feb 2015 12:00:04 +0000 (12:00 +0000)]
ipq806x: initialize the network on AP148

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

9 years agokernel: add qca-nss-gmac as a new module
John Crispin [Tue, 24 Feb 2015 11:59:56 +0000 (11:59 +0000)]
kernel: add qca-nss-gmac as a new module

This driver is used on IPQ806x to instanciate & drive the ethernet
interfaces.

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

9 years agoipq806x: enable GMAC support in DTS
John Crispin [Tue, 24 Feb 2015 11:59:51 +0000 (11:59 +0000)]
ipq806x: enable GMAC support in DTS

This adds the GMAC entries in the ipq806x dtsi file as well as in the
ap148 specific dts file.

This also adds the MDIO change as well.

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

9 years agoipq806x: enable ar8xxx switch family support
John Crispin [Tue, 24 Feb 2015 11:59:47 +0000 (11:59 +0000)]
ipq806x: enable ar8xxx switch family support

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

9 years agoipq806x: fix spi read issues observed with SMP enabled
John Crispin [Tue, 24 Feb 2015 11:59:41 +0000 (11:59 +0000)]
ipq806x: fix spi read issues observed with SMP enabled

This change is fixing the issues observed when booting from NOR flash
with SMP enabled.

Error logs below:
building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of
xref (0 dead, 0 orphan) found.
m25p80 spi32766.0: SPI transfer failed: -110
spi_master spi32766: failed to transfer one message from queue
jffs2: Write of 873 bytes at 0x019001e8 failed. returned 0, retlen 792

Patch is cherry-picked from here:
https://www.codeaurora.org/cgit/quic/qsdk/oss/kernel/linux-msm/commit/drivers/spi/spi-qup.c?h=coconut_20140924&id=4faba89e3ffbb1c5f6232651375b9b3212b50f02

More details in the patch file.

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

9 years agompc85xx: add 3.19 support
John Crispin [Tue, 24 Feb 2015 11:59:35 +0000 (11:59 +0000)]
mpc85xx: add 3.19 support

It took very little to make the TL-WDR4900 work under 3.19:
- config is the same as for 3.18
- only patch 210 had to be refreshed, the other patches are
  the same as for 3.18
- in /etc/config/wireless the path options need to be prefixed
  with "platform/" ('platform/ffe09000.pci/...')

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

9 years agosamba36: update to 3.6.25, fixes remote code execution bug (CVE-2015-0240)
Felix Fietkau [Tue, 24 Feb 2015 07:21:25 +0000 (07:21 +0000)]
samba36: update to 3.6.25, fixes remote code execution bug (CVE-2015-0240)

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

9 years agogeneric: fix 050-backport_netfilter_rtcache.patch
Rafał Miłecki [Tue, 24 Feb 2015 06:40:37 +0000 (06:40 +0000)]
generic: fix 050-backport_netfilter_rtcache.patch

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

9 years agox86: remove spurious delete of /etc/config/network
Felix Fietkau [Tue, 24 Feb 2015 06:07:40 +0000 (06:07 +0000)]
x86: remove spurious delete of /etc/config/network

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

9 years agomtools: fix build errors on mac os x (#19064)
Felix Fietkau [Tue, 24 Feb 2015 06:06:12 +0000 (06:06 +0000)]
mtools: fix build errors on mac os x (#19064)

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

9 years agogeneric: early (incomplete!) 4.0 support
Rafał Miłecki [Mon, 23 Feb 2015 22:59:53 +0000 (22:59 +0000)]
generic: early (incomplete!) 4.0 support

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

9 years agoleds: package the NXP PCA963x driver
Imre Kaloz [Mon, 23 Feb 2015 11:09:03 +0000 (11:09 +0000)]
leds: package the NXP PCA963x driver

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

9 years agomvebu: set default WRT1900AC switch config
Imre Kaloz [Mon, 23 Feb 2015 10:35:29 +0000 (10:35 +0000)]
mvebu: set default WRT1900AC switch config

This sets 'enable_vlan' and thus uses 802.1q
VLANs, but without tagging on either interface.

Signed-off-by: Claudio Leite <leitec@staticky.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 44509

9 years agomvebu: set WRT1900AC WAN interface MAC address
Imre Kaloz [Mon, 23 Feb 2015 10:33:19 +0000 (10:33 +0000)]
mvebu: set WRT1900AC WAN interface MAC address

Toggles the LA bit on the WAN interface.

Signed-off-by: Claudio Leite <leitec@staticky.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 44508

9 years agoppp: Allow PPTP over a specified interface
John Crispin [Sun, 22 Feb 2015 08:29:34 +0000 (08:29 +0000)]
ppp: Allow PPTP over a specified interface

In a dual-WAN setup, it's useful to specify an interface over which to
have PPTP.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
SVN-Revision: 44507

9 years agocomgt: Use TCGETS and TCSETS ioctls for struct termios
John Crispin [Sun, 22 Feb 2015 08:29:26 +0000 (08:29 +0000)]
comgt: Use TCGETS and TCSETS ioctls for struct termios

When passing struct termios to ioctl TCGETS and TCSETS should be
used instead of TCGETA and TCSETA, which are meant for the older
struct termio. Should fix https://dev.openwrt.org/ticket/19012

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
SVN-Revision: 44506

9 years agoipq806x: delete config-3.14 file
John Crispin [Sun, 22 Feb 2015 08:29:18 +0000 (08:29 +0000)]
ipq806x: delete config-3.14 file

ipq806x target has been upgraded to 3.14. There is no need to maintain
this file anymore.

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

9 years agoipq806x: fix "reboot" command
John Crispin [Sun, 22 Feb 2015 08:29:14 +0000 (08:29 +0000)]
ipq806x: fix "reboot" command

The watchdog driver already registers a restart notifier, we just have
to enable it in the config and in the DT to fix the "reboot" command.

This is done by integratin the following patch-set:
https://lkml.org/lkml/2015/2/20/610

I'm copy-pasting the description below:
qcom-wdt is currently assuming the presence of a dedicated node in DT
to gets its configuration. However, on msm architecture, the watchdog is
usually part of the timer block. So this patch-set is changing the driver
and slightly enhancing the timer DT bindings to provide the relevant clocks
and interrupts.

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

9 years agoipq806x: enable watchdog kernel option
John Crispin [Sun, 22 Feb 2015 08:29:07 +0000 (08:29 +0000)]
ipq806x: enable watchdog kernel option

Some bootloaders seem to trigger the watchdog during the boot process,
therefore the lack of watchdog driver trigger a reboot a few seconds
after boot. So we'll enable it here to avoid it.

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

9 years agokernel: Fix USB gadget modules for v3.18
John Crispin [Sun, 22 Feb 2015 08:29:01 +0000 (08:29 +0000)]
kernel: Fix USB gadget modules for v3.18

Updated patch that fixes whitespace and supports kernel v3.3 too.

Signed-off-by: Owen Kirby <osk@exegin.com>
SVN-Revision: 44502

9 years agompc85xx: add mpic timer clock frequency to avoid boot log warning
John Crispin [Sun, 22 Feb 2015 08:28:48 +0000 (08:28 +0000)]
mpc85xx: add mpic timer clock frequency to avoid boot log warning

MPIC timers are enabled in the config, however a devicetree clock setting
is missing causing the following error:
/soc@ffe00000/timer@41100: cannot get timer frequency.
/soc@ffe00000/timer@42100: cannot get timer frequency.

This patch adds the missing clock and avoids the error.
It's a functional copy of this code
do_fixup_by_compat_u32(blob, "fsl,mpic",
        "clock-frequency", get_bus_freq(0), 1);
in arch/powerpc/cpu/mpc85xx/fdt.c in the u-boot code.

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

9 years agoramips: rt288x: add missing symbol
John Crispin [Sun, 22 Feb 2015 08:28:42 +0000 (08:28 +0000)]
ramips: rt288x: add missing symbol

Defaulting to disabled, based on the value of
the (old?) CONFIG_RALINK_USBPHY

Signed-off-by: Claudio Leite <leitec@staticky.com>
SVN-Revision: 44500

9 years agoramips: nexx wt3020: fix status led
John Crispin [Sun, 22 Feb 2015 08:28:35 +0000 (08:28 +0000)]
ramips: nexx wt3020: fix status led

For Nexx WT3020 board_name is wt3020, not nexx-wt3020

root@OpenWrt:~# . /lib/ramips.sh; echo $(ramips_board_name)
wt3020

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

9 years agopackages: remove uneeded PKG_BUILD_DIR overrides
Nicolas Thill [Sun, 22 Feb 2015 01:31:21 +0000 (01:31 +0000)]
packages: remove uneeded PKG_BUILD_DIR overrides

Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 44498

9 years agobcm53xx: add one more NVRAM possible size (0x180000)
Rafał Miłecki [Fri, 20 Feb 2015 07:07:53 +0000 (07:07 +0000)]
bcm53xx: add one more NVRAM possible size (0x180000)

Size 0x160000 was added to support Buffalo WZR-600DHP2, however Netgear
devices (R6250, R8000) require 0x180000.

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

9 years agompc85xx: set v3.18 as default
John Crispin [Thu, 19 Feb 2015 14:30:03 +0000 (14:30 +0000)]
mpc85xx: set v3.18 as default

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

9 years agoralink: bump to v3.18
John Crispin [Thu, 19 Feb 2015 14:04:47 +0000 (14:04 +0000)]
ralink: bump to v3.18

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

9 years agoramips: fix the mt7628 dts file
John Crispin [Thu, 19 Feb 2015 14:04:41 +0000 (14:04 +0000)]
ramips: fix the mt7628 dts file

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

9 years agotools/patchelf: fix portability issue breaking mac os x builds (#18998)
Felix Fietkau [Thu, 19 Feb 2015 10:30:39 +0000 (10:30 +0000)]
tools/patchelf: fix portability issue breaking mac os x builds (#18998)

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

9 years agoat91: Add dts for Exegin Q5x boards.
John Crispin [Thu, 19 Feb 2015 09:07:06 +0000 (09:07 +0000)]
at91: Add dts for Exegin Q5x boards.

Signed-off-by: Owen Kirby <osk@exegin.com>
SVN-Revision: 44492

9 years agoat91: USB gadget subsystem cleanup and driver fix.
John Crispin [Thu, 19 Feb 2015 09:06:56 +0000 (09:06 +0000)]
at91: USB gadget subsystem cleanup and driver fix.

Signed-off-by: Owen Kirby <osk@exegin.com>
SVN-Revision: 44491

9 years agoat91: Enable power and reset controller drivers.
John Crispin [Thu, 19 Feb 2015 09:06:49 +0000 (09:06 +0000)]
at91: Enable power and reset controller drivers.

Signed-off-by: Owen Kirby <osk@exegin.com>
SVN-Revision: 44490

9 years agoat91: bump to v3.18
John Crispin [Wed, 18 Feb 2015 13:35:46 +0000 (13:35 +0000)]
at91: bump to v3.18

Signed-off-by: Your Name <blogic@openwrt.org>
SVN-Revision: 44489

9 years agoinclude: netfilter: fix packaging of LOG target for Linux >= 3.16 (#19031)
Jo-Philipp Wich [Wed, 18 Feb 2015 13:28:28 +0000 (13:28 +0000)]
include: netfilter: fix packaging of LOG target for Linux >= 3.16 (#19031)

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

9 years agoau1000: fix 3.18 and set it as default
John Crispin [Wed, 18 Feb 2015 09:49:38 +0000 (09:49 +0000)]
au1000: fix 3.18 and set it as default

Thanks to Bruno Randolf for testing and Manuel Lauss for providing a fix.

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

9 years agoar71xx: fix 82_patch_ath10k
Jo-Philipp Wich [Tue, 17 Feb 2015 21:26:39 +0000 (21:26 +0000)]
ar71xx: fix 82_patch_ath10k

The firware md5sum check never worked due to missing dollar signs.

Also suppress
  `md5sum: can't open '/lib/firmware/ath10k/QCA988X/hw2.0/firmware-3.bin'`
error on any board not using ath10k.

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

9 years agompc85xx: add v3.18 support
John Crispin [Tue, 17 Feb 2015 20:28:36 +0000 (20:28 +0000)]
mpc85xx: add v3.18 support

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

9 years agohostapd: fix c&p typo
John Crispin [Tue, 17 Feb 2015 15:59:28 +0000 (15:59 +0000)]
hostapd: fix c&p typo

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

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

9 years agoar71xx: make v3.18 default
John Crispin [Tue, 17 Feb 2015 14:33:29 +0000 (14:33 +0000)]
ar71xx: make v3.18 default

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

9 years agokernel: re-enable the firmware loader
John Crispin [Tue, 17 Feb 2015 14:33:13 +0000 (14:33 +0000)]
kernel: re-enable the firmware loader

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

9 years agonetifd: various device config / event fixes (thx Hans Dedecker)
Steven Barth [Tue, 17 Feb 2015 14:14:51 +0000 (14:14 +0000)]
netifd: various device config / event fixes (thx Hans Dedecker)

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

9 years agoiproute2: bump version from v3.18.0 to v3.19.0
Steven Barth [Tue, 17 Feb 2015 14:14:39 +0000 (14:14 +0000)]
iproute2: bump version from v3.18.0 to v3.19.0

with refreshed patches

Signed-off-by: Russell Senior <russell@personaltelco.net>
SVN-Revision: 44479

9 years agoramips: Buffalo WZR-AGL300NH target support
John Crispin [Mon, 16 Feb 2015 21:19:18 +0000 (21:19 +0000)]
ramips: Buffalo WZR-AGL300NH target support

I got work with this patch.
Ethernet switch (includes VLAN), WiFi connected via PCIe, LEDs, buttons.

In mtd partion map of DTS file, I renamed Linux firmware regions (kernel + root squashfs) to “firmware”because it allows kernel to split kernel and roots and rootfsdata.

signed-off-by: ngc@ff.iij4u.or.jp
——
——

SVN-Revision: 44470

9 years agoramips: enables rt288x PCIe
John Crispin [Mon, 16 Feb 2015 21:18:59 +0000 (21:18 +0000)]
ramips: enables rt288x PCIe

To choose whether bulid or not RT288x PCIe bus driver, CONFIG_SOC_RT2880 is wrong.
Here is its fix, and enables PCIe bus driver for some targets which have 2nd WiFi chipset via PCIe bus.

signed-off-by: ngc@ff.iij4u.or.jp
————
————

SVN-Revision: 44469

9 years agooxnas: fix itb generation
John Crispin [Mon, 16 Feb 2015 21:18:48 +0000 (21:18 +0000)]
oxnas: fix itb generation

- according to imx6 Makefile and u-Boot documentation is itb
  and probably should not be changed
- this fixes build error if CONFIG_TARGET_ROOTFS_INCLUDE_FIT is set
  (missing .itb file)
- use DTS_DIR (like in imx6 Makefile)

only compile tested

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Acked-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 44468

9 years agobcm53xx: include kmod-brcmfmac in default profile
Rafał Miłecki [Mon, 16 Feb 2015 19:51:21 +0000 (19:51 +0000)]
bcm53xx: include kmod-brcmfmac in default profile

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

9 years agomac80211: brcmfmac: Add PCIe support option
Rafał Miłecki [Mon, 16 Feb 2015 19:36:35 +0000 (19:36 +0000)]
mac80211: brcmfmac: Add PCIe support option

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

9 years agomac80211: brcmfmac: Add SDIO support option
Rafał Miłecki [Mon, 16 Feb 2015 19:11:38 +0000 (19:11 +0000)]
mac80211: brcmfmac: Add SDIO support option

This patch adds SDIO support for the brcmfmac driver.
For now only very few boards need it.

Signed off by: José Vázquez Fernández <ppvazquezfer@gmail.com>
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44465

9 years agobcm53xx: sprom: extract for PCI host
Rafał Miłecki [Mon, 16 Feb 2015 16:13:23 +0000 (16:13 +0000)]
bcm53xx: sprom: extract for PCI host

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

9 years agobcm53xx: sprom: prepare to support other hosttype-s
Rafał Miłecki [Mon, 16 Feb 2015 16:10:05 +0000 (16:10 +0000)]
bcm53xx: sprom: prepare to support other hosttype-s

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

9 years agomvebu: refresh 3.18 patches
Imre Kaloz [Mon, 16 Feb 2015 12:48:05 +0000 (12:48 +0000)]
mvebu: refresh 3.18 patches

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

9 years agonetifd: update to the latest version, reverts a commit causing MTU issues (fixes...
Felix Fietkau [Mon, 16 Feb 2015 09:07:19 +0000 (09:07 +0000)]
netifd: update to the latest version, reverts a commit causing MTU issues (fixes #18869)

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

9 years agolinux: fix kmod-usb-net-* for >= 3.17
John Crispin [Mon, 16 Feb 2015 08:00:17 +0000 (08:00 +0000)]
linux: fix kmod-usb-net-* for >= 3.17

Kernel commit 1bb5a356c3ea ("net: reduce USB network driver config
options.") hid the USB network drivers behind the new config symbol
CONFIG_USB_NET_DRIVERS.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
SVN-Revision: 44460

9 years agoar71xx: fix mv88e6063 compile for 3.14
John Crispin [Sun, 15 Feb 2015 21:15:42 +0000 (21:15 +0000)]
ar71xx: fix mv88e6063 compile for 3.14

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

9 years agoar71xx: fix a compile bug in 902-unaligned_access_hacks.patch
John Crispin [Sun, 15 Feb 2015 21:15:21 +0000 (21:15 +0000)]
ar71xx: fix a compile bug in 902-unaligned_access_hacks.patch

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

9 years agoprocd: fix PKG_CONFIG_DEPENDS
John Crispin [Sun, 15 Feb 2015 19:55:37 +0000 (19:55 +0000)]
procd: fix PKG_CONFIG_DEPENDS

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

9 years agoar71xx: add v3.18 support
John Crispin [Sun, 15 Feb 2015 19:45:29 +0000 (19:45 +0000)]
ar71xx: add v3.18 support

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

9 years agomvebu: fix WRT1900AC ubinized images
Imre Kaloz [Sat, 14 Feb 2015 22:18:35 +0000 (22:18 +0000)]
mvebu: fix WRT1900AC ubinized images

The current pxa3xx_nand driver doesn't support sub-page writing,
so the VID header offset must be specified explicitly.

Signed-off-by: Claudio Leite <leitec@staticky.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 44455

9 years agoralink: fix the config files
John Crispin [Sat, 14 Feb 2015 20:48:53 +0000 (20:48 +0000)]
ralink: fix the config files

oops, accidently moved instead of copied them

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

9 years agoar71xx: ZyXEL NBG6716 rfkill switch fix
John Crispin [Sat, 14 Feb 2015 20:48:42 +0000 (20:48 +0000)]
ar71xx: ZyXEL NBG6716 rfkill switch fix

ZyXEL NBG6716 "rfkill" is a switch, not a button.

Signed-off-by: Marcin Mikolajczak <gr4ffy at gmail.com>
SVN-Revision: 44453

9 years agoscripts: fix getver git dir check
John Crispin [Sat, 14 Feb 2015 20:48:37 +0000 (20:48 +0000)]
scripts: fix getver git dir check

Git internals are referenced by .git which isn't necessarily a
directory. It may also be a file that references the actual .git
directory using the gitdir directive.

If .git is assumed to be a directory the build will not be able to get
the correct version when openwrt is included as a git submodule because
when used as a submodule .git will actually be a file referencing to a
subdirectory in the parent's git dir.

When the correct version is not detected some image generation tools
will fail because the OpenWrt string will be 'OpenWrtunknown' which is
too long for some header formats.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
SVN-Revision: 44452

9 years agolantiq: disable buffered writes on Intel command set flash
John Crispin [Sat, 14 Feb 2015 20:48:32 +0000 (20:48 +0000)]
lantiq: disable buffered writes on Intel command set flash

Some Lantiq SoCs are not able to use buffered writes properly with
Intel command set flash due to the way NOR addresses on EBU are
manipulated. This patch disables buffered writes on those devices.
The only device affected at the moment is ARV4510PW, others use
AMD/Fujitsu command set.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
SVN-Revision: 44451

9 years agolantiq: Fix flash for targets with NO_XIP
John Crispin [Sat, 14 Feb 2015 20:48:26 +0000 (20:48 +0000)]
lantiq: Fix flash for targets with NO_XIP

For targets with NO_XIP ltq_mtd->map[i].phys equals -1 and devm_ioremap fails.
Fix this by using pdev->resource[i].start instead.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
SVN-Revision: 44450

9 years agobrcm2708: add kmod-hwmon-bcm2835 support and more missing symbols
John Crispin [Sat, 14 Feb 2015 20:48:20 +0000 (20:48 +0000)]
brcm2708: add kmod-hwmon-bcm2835 support and more missing symbols

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

9 years agobrcm2708: force uart as the default console for procd and remove nonexistent console
John Crispin [Sat, 14 Feb 2015 20:48:14 +0000 (20:48 +0000)]
brcm2708: force uart as the default console for procd and remove nonexistent console

procd gets last console from cmdline, so swapping tty1 (framebuffer) and ttyAMA0 (uart) is enough to force procd output via uart

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

9 years agobrcm2708: add board detection and LED support
John Crispin [Sat, 14 Feb 2015 20:48:08 +0000 (20:48 +0000)]
brcm2708: add board detection and LED support

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

9 years agouci-defaults: add ucidef_set_led_mmc
John Crispin [Sat, 14 Feb 2015 20:47:58 +0000 (20:47 +0000)]
uci-defaults: add ucidef_set_led_mmc

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

9 years agopackage/valgrind: fix build on eglibc
Nicolas Thill [Sat, 14 Feb 2015 13:53:51 +0000 (13:53 +0000)]
package/valgrind: fix build on eglibc

configure tries to guess pagesize by calling getconf, provided by eglibc and compiled for the target, not the host.

Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 44445

9 years agogeneric: ocf: irq compat stuff is not needed anymore
Nicolas Thill [Sat, 14 Feb 2015 13:53:44 +0000 (13:53 +0000)]
generic: ocf: irq compat stuff is not needed anymore

Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 44444

9 years agofix typo
Imre Kaloz [Sat, 14 Feb 2015 12:21:34 +0000 (12:21 +0000)]
fix typo

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

9 years agogeneric: upgrade to 3.18.7
Imre Kaloz [Sat, 14 Feb 2015 10:45:12 +0000 (10:45 +0000)]
generic: upgrade to 3.18.7

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

9 years agoixp4xx: fix gpio_line_set() logic, fixes #18986
John Crispin [Fri, 13 Feb 2015 10:54:01 +0000 (10:54 +0000)]
ixp4xx: fix gpio_line_set() logic, fixes #18986

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

9 years agohostapd: backport BSSID black/whitelists
John Crispin [Fri, 13 Feb 2015 10:53:54 +0000 (10:53 +0000)]
hostapd: backport BSSID black/whitelists

This change adds the configuration options "bssid_whitelist" and
"bssid_blacklist" used to limit the AP selection of a network to a
specified (finite) set or discard certain APs.

This can be useful for environments where multiple networks operate
using the same SSID and roaming between those is not desired. It is also
useful to ignore a faulty or otherwise unwanted AP.

In many applications it is useful not just to enumerate a group of well
known access points, but to use a address/mask notation to match an
entire set of addresses (ca:ff:ee:00:00:00/ff:ff:ff:00:00:00).

This is especially useful if an OpenWrt device with two radios is used to
retransmit the same network (one in AP mode for other clients, one as STA for
the uplink); the following configuration prevents the device from associating
with itself, given that the own AP to be avoided is using the bssid
'C0:FF:EE:D0:0D:42':

config wifi-iface
option device 'radio2'
option network 'uplink'
option mode 'sta'
option ssid 'MyNetwork'
option encryption 'none'
list bssid_blacklist 'C0:FF:EE:D0:0D:42/00:FF:FF:FF:FF:FF'

This change consists of the following cherry-picked upstream commits:

b3d6a0a8259002448a29f14855d58fe0a624ab76
b83e455451a875ba233b3b8ac29aff8b62f064f2
79cd993a623e101952b81fa6a29c674cd858504f
(squashed to implement bssid_{white,black}lists)

0047306bc9ab7d46e8cc22ff9a3e876c47626473
(Add os_snprintf_error() helper)

Signed-off-by: Stefan Tomanek <stefan.tomanek+openwrt@wertarbyte.de>
SVN-Revision: 44438

9 years agokexec-tools: bump version from v2.0.4 to v2.0.9.
John Crispin [Fri, 13 Feb 2015 07:42:13 +0000 (07:42 +0000)]
kexec-tools: bump version from v2.0.4 to v2.0.9.

- kexec-tools is now distributed with tarballs of .tar.gz and .tar.xz
   format; .tar.bz2 are not provided anymore.
 - Add CONFIG_KEXEC_LZMA for selecting lzma support.

Patches are updated along to:

 - Remove the now unnecessary patch 0004-mips_regdefs.patch.
 - Drop 100-reduce_size.patch because the size reduction is marginal.
 - Allow zlib and lzma support coexist together.  This patch has been
   merged into upstream project.
 - Fix kexec-tools' configure.ac.
 - Fix a few compilation warnings.

Size comparison of stripped binaries of kexec malta target with both
zlib and lzma support enabled.

 - Before: 41447
 - After:  42583

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

9 years agokexec-tools: show up only when KERNEL_KEXEC is enabled.
John Crispin [Fri, 13 Feb 2015 07:42:05 +0000 (07:42 +0000)]
kexec-tools: show up only when KERNEL_KEXEC is enabled.

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

9 years agobrcm2708-gpu-fw: simplify target dependencies
John Crispin [Fri, 13 Feb 2015 07:38:38 +0000 (07:38 +0000)]
brcm2708-gpu-fw: simplify target dependencies

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

9 years agobrcm2708: fix spidev
John Crispin [Fri, 13 Feb 2015 07:38:33 +0000 (07:38 +0000)]
brcm2708: fix spidev

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

9 years agobrcm2708: refresh patches
John Crispin [Fri, 13 Feb 2015 07:38:27 +0000 (07:38 +0000)]
brcm2708: refresh patches

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

9 years agobrcm2708: add missing config symbols and fix kernel modules for Raspberry Pi 2 by...
John Crispin [Fri, 13 Feb 2015 07:38:00 +0000 (07:38 +0000)]
brcm2708: add missing config symbols and fix kernel modules for Raspberry Pi 2 by removing local version

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

9 years agobrcm2708: add subtarget copyright and use better board names
John Crispin [Fri, 13 Feb 2015 07:37:55 +0000 (07:37 +0000)]
brcm2708: add subtarget copyright and use better board names

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

9 years agoar7: switch to v3.18
John Crispin [Fri, 13 Feb 2015 07:29:32 +0000 (07:29 +0000)]
ar7: switch to v3.18

Thank you Dimitri for testing this.

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

9 years agogeneric: improve kexec support of MIPS.
John Crispin [Fri, 13 Feb 2015 07:29:25 +0000 (07:29 +0000)]
generic: improve kexec support of MIPS.

- Allow --command-line parameters of kexec-tools be parsed and used by
   the kernel.
 - For malta machine, mark kernel code and kernel data segments as
   "System RAM" instead of "reserved" in /proc/iomem, otherwise
   kexec-tools will complain that program segments in ELF kernel file
   are invalid.

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

9 years agolantiq: fix DGN3500 root device
John Crispin [Fri, 13 Feb 2015 07:29:17 +0000 (07:29 +0000)]
lantiq: fix DGN3500 root device

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
SVN-Revision: 44428

9 years agoar71xx: Add profile and build image for TP-Link MR12U v1
John Crispin [Fri, 13 Feb 2015 07:29:10 +0000 (07:29 +0000)]
ar71xx: Add profile and build image for TP-Link MR12U v1

This patch adds corrected profile and build image for the TL-MR12U board.

Unfortunately i cannot test the factory image since i can't find anywhere
the original chinese firmware but
the generated openwrt-ar71xx-generic-tl-mr12u-v1-squashfs-sysupgrade.bin
worked just fine over a modified mr3040 factory image i managed to modify
to initially flash the mr12u from the original firmware.

Proper kernel support probably should be added since cat /proc/cpuinfo shows
MR13U.

Signed-off-by: Daniel Petre <daniel.petre@gmail.com>
SVN-Revision: 44427