openwrt/staging/jogo.git
9 years agobrcm63xx: add dts and profile for Livebox
Jonas Gorski [Fri, 27 Feb 2015 17:38:46 +0000 (17:38 +0000)]
brcm63xx: add dts and profile for Livebox

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

9 years agobrcm63xx: allow lzma to use 32MB RAM
Jonas Gorski [Fri, 27 Feb 2015 17:38:28 +0000 (17:38 +0000)]
brcm63xx: allow lzma to use 32MB RAM

Most 16 MiB RAM devices don't even load elf kernels, so it's safe to
assume we have at least 32 MB RAM. This fixes tftp booting with the
default package set as this already produces an uncompressed
kernel > 8 MiB.

New limit is 8 MiB compressed / 24 MiB compressed.

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

9 years agopackage: mtd: move bcm963xx_tag definition into source code
Jonas Gorski [Fri, 27 Feb 2015 17:38:25 +0000 (17:38 +0000)]
package: mtd: move bcm963xx_tag definition into source code

Remove the need for the header file to be exported - we don't need most
of it anyway; all we care about are the offset of the rootfs length and
header crc fields.

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

9 years agobrcm63xx: do not align squashfs rootfs start
Jonas Gorski [Fri, 27 Feb 2015 17:38:14 +0000 (17:38 +0000)]
brcm63xx: do not align squashfs rootfs start

We do not need to align the start of read only rootfs's to erase blocks.
This allows us to write the squashfs rootfs directly behind the kernel,
potentially freeing up one erase block.

We still need to align for jffs2, so add a flag for imagetag to
optionally align the rootfs start.

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

9 years agobrcm63xx: drop call to prepare_generic_squashfs
Jonas Gorski [Fri, 27 Feb 2015 17:38:09 +0000 (17:38 +0000)]
brcm63xx: drop call to prepare_generic_squashfs

We do not use the result, so no need to call it.

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

9 years agofirmware-utils: imagetag: use cyg_crc32 instead of duplicating code
Jonas Gorski [Fri, 27 Feb 2015 17:38:05 +0000 (17:38 +0000)]
firmware-utils: imagetag: use cyg_crc32 instead of duplicating code

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

9 years agokernel: fix 3.18+ if_bridge.h header conflict with musl
Felix Fietkau [Fri, 27 Feb 2015 07:35:26 +0000 (07:35 +0000)]
kernel: fix 3.18+ if_bridge.h header conflict with musl

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

9 years agoprocd: update to the latest version, fixes musl compile error
Felix Fietkau [Fri, 27 Feb 2015 07:34:47 +0000 (07:34 +0000)]
procd: update to the latest version, fixes musl compile error

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

9 years agobuild: move tmp/.prereq-build to staging_dir/host to gracefully handle staging_dir...
Felix Fietkau [Fri, 27 Feb 2015 07:34:24 +0000 (07:34 +0000)]
build: move tmp/.prereq-build to staging_dir/host to gracefully handle staging_dir deletion

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

9 years agoubox: fix segmentation fault in insmod
Jo-Philipp Wich [Thu, 26 Feb 2015 21:23:55 +0000 (21:23 +0000)]
ubox: fix segmentation fault in insmod

Fix segfault in kmodloader insmod mode due to uninitialized module
directory list.

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

9 years agouhttpd: relay stderr to syslog
Jo-Philipp Wich [Thu, 26 Feb 2015 13:44:05 +0000 (13:44 +0000)]
uhttpd: relay stderr to syslog

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

9 years agoprocd: add support for relaying daemon stdio to syslog
Jo-Philipp Wich [Thu, 26 Feb 2015 13:42:47 +0000 (13:42 +0000)]
procd: add support for relaying daemon stdio to syslog

Procd enabled init scripts can now specify:

  procd_set_param stdout 1
  procd_set_param stderr 1

... to relay their respective standard IO streams to the system log.

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

9 years agolibubox: implement ulog_close() and call it on ulog_open()
Jo-Philipp Wich [Thu, 26 Feb 2015 13:42:44 +0000 (13:42 +0000)]
libubox: implement ulog_close() and call it on ulog_open()

This is required to properly update syslog idents when switching between
log modes.

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

9 years agofstools: switch to ulog api
Jo-Philipp Wich [Thu, 26 Feb 2015 10:25:29 +0000 (10:25 +0000)]
fstools: switch to ulog api

Update to git head in order to switch the block, mount_root etc. logging to
the common ulog() api for putting early boot messages into dmesg.

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

9 years agoubox: switch to ulog api
Jo-Philipp Wich [Thu, 26 Feb 2015 10:25:24 +0000 (10:25 +0000)]
ubox: switch to ulog api

Update to git head in order to switch the kmodloader logging to the common
ulog() api for putting early boot messages into dmesg.

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

9 years agoprocd: switch to ulog api
Jo-Philipp Wich [Thu, 26 Feb 2015 10:25:21 +0000 (10:25 +0000)]
procd: switch to ulog api

Update to git head in order to switch the procd logging to the common ulog()
api for putting early boot messages into dmesg.

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

9 years agolibubox: introduce generic logging api
Jo-Philipp Wich [Thu, 26 Feb 2015 10:25:18 +0000 (10:25 +0000)]
libubox: introduce generic logging api

Update to git head in order to introduce the new ulog() logging api which
supports early boot logging to dmesg.

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

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