librecmc/librecmc.git
9 years agogemini: add rtc-gemini driver
John Crispin [Thu, 8 Jan 2015 20:26:27 +0000 (20:26 +0000)]
gemini: add rtc-gemini driver

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 43884

9 years agoramips: Fix HooToo HT-TM02 support.
John Crispin [Thu, 8 Jan 2015 20:26:20 +0000 (20:26 +0000)]
ramips: Fix HooToo HT-TM02 support.

- Fix LED definitions.
- Add mode-switch slider definition (at GPIO 14).
- Remove unneeded VLAN now that the ethernet driver is fixed and TCP packets get passed correctly now. (This router only has one port.)
- Fix LAN port MAC address, which is defined in the factory partition as WLAN MAC address + 1.
- Fix board name, as the company name is HooToo and not HOOTOO.
- Remove unnecessary packages from the profile. (The end-user is supposed to use mechanisms such as the ImageBuilder in order to add his own set of packages to his own images... while the precompiled images should just contain the core set of packages needed to run the base functions of a wireless router.)

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
SVN-Revision: 43883

9 years agoramips: Fix for gpio falling interrupt mask
John Crispin [Thu, 8 Jan 2015 20:26:13 +0000 (20:26 +0000)]
ramips: Fix for gpio falling interrupt mask

This patch fixes a wrong mask operation for the rt2880-compatible ralink devices.
The mask operation reads the actual flags and then logical combines it with the pin flag it want to set.
Unfortunally, for rising as for falling interrupt flags the actual flag status of the rising interrupts was used.
That caused a problem if you want to use more than one falling GPIO interrupt.
Now the correct (seperated) actual status is used for both, falling and rising.

Signed-off-by: Jonas Arndt <info@greenwire-elektronik.de>
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43882

9 years agoramips: update BR-6475ND dts
John Crispin [Thu, 8 Jan 2015 20:26:02 +0000 (20:26 +0000)]
ramips: update BR-6475ND dts

Update firmware location for 2.4GHz radio on the Edimax BR-6475nD.

Signed-off-by: Christopher Lais <chris+openwrt@zenthought.org>
SVN-Revision: 43881

9 years agoramips: base-files: Whitespace fixes.
John Crispin [Thu, 8 Jan 2015 20:25:55 +0000 (20:25 +0000)]
ramips: base-files: Whitespace fixes.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
SVN-Revision: 43880

9 years agolantiq: BT Home Hub 3A - userspace
John Crispin [Thu, 8 Jan 2015 20:25:48 +0000 (20:25 +0000)]
lantiq: BT Home Hub 3A - userspace

BT Home Hub 3A - userspace

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
SVN-Revision: 43879

9 years agolantiq: BT Home Hub 3A - profile
John Crispin [Thu, 8 Jan 2015 20:25:41 +0000 (20:25 +0000)]
lantiq: BT Home Hub 3A - profile

BT Home Hub 3A - profile

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
SVN-Revision: 43878

9 years agolantiq: BT Home Hub3A - device tree
John Crispin [Thu, 8 Jan 2015 20:25:35 +0000 (20:25 +0000)]
lantiq: BT Home Hub3A - device tree

BT Home Hub3A - device tree

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
SVN-Revision: 43877

9 years agolantiq: Fix adsl led on Home Hub 2B
John Crispin [Thu, 8 Jan 2015 20:25:28 +0000 (20:25 +0000)]
lantiq: Fix adsl led on Home Hub 2B

This fixes the adsl led on the Home Hub 2B.

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
SVN-Revision: 43876

9 years agoopenssl: bump to 1.0.1j
Steven Barth [Thu, 8 Jan 2015 18:29:26 +0000 (18:29 +0000)]
openssl: bump to 1.0.1j

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

9 years agofirewall: respect src_dip option for reflection (#18544)
Jo-Philipp Wich [Thu, 8 Jan 2015 16:10:46 +0000 (16:10 +0000)]
firewall: respect src_dip option for reflection (#18544)

Also fix wrong IPv4 netmask calculation on x86-64, thanks Ulrich Weber.

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

9 years agoscripts/config: sync with linux upstream
Felix Fietkau [Thu, 8 Jan 2015 14:33:53 +0000 (14:33 +0000)]
scripts/config: sync with linux upstream

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

9 years agobase-files: update default url template and complete kconfig help
Jo-Philipp Wich [Thu, 8 Jan 2015 12:46:44 +0000 (12:46 +0000)]
base-files: update default url template and complete kconfig help

Change the kconfig default for the repository url template to use "%s"
instead of "%T" as well.

Also complete the kconfig help text do cover the recently introduced
manufacturer, product and hwrev options.

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

9 years agoversion.mk: add "%s" placeholder for dotted target.subtarget notation
Jo-Philipp Wich [Thu, 8 Jan 2015 12:46:37 +0000 (12:46 +0000)]
version.mk: add "%s" placeholder for dotted target.subtarget notation

Implement "%s" placeholder that expands to either the target name,
e.g. "ar71xx" if the subtarget is generic or to target.subtarget, e.g.
"ar71xx.nand" is a subtarget is choosen.

Also change the default repository url template to use "%s" instead
of "%T" to reflect the directory structure used by the buildbot systems.

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

9 years agonftables: bump to latest git / all patches upstreamed
Steven Barth [Thu, 8 Jan 2015 11:31:36 +0000 (11:31 +0000)]
nftables: bump to latest git / all patches upstreamed

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

9 years agobuild: add version number to filenames
Jo-Philipp Wich [Thu, 8 Jan 2015 11:02:00 +0000 (11:02 +0000)]
build: add version number to filenames

This commit introduces a new option CONFIG_VERSION_FILENAMES which causes
OpenWrt to embed the version number in generated image files, SDK- and
ImageBuilder archives.

The option is enabled by default if CONFIG_VERSIONOPT is set.

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

9 years agofstools: update to the latest git HEAD
Rafał Miłecki [Wed, 7 Jan 2015 17:10:02 +0000 (17:10 +0000)]
fstools: update to the latest git HEAD

This allows using UBIFS volume as overlay and adds support for Btrfs.

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

9 years agopackage/binutils: actually support the target toolchain
Felix Fietkau [Wed, 7 Jan 2015 16:02:59 +0000 (16:02 +0000)]
package/binutils: actually support the target toolchain

This fixes a bug, where ld on ARM EABI platforms expects OABI code.

Signed-off-by: Harald Geyer <harald@ccbib.org>
SVN-Revision: 43866

9 years agoqos-scripts: bump PKG_REVISION and copyright year
Jo-Philipp Wich [Tue, 6 Jan 2015 12:42:38 +0000 (12:42 +0000)]
qos-scripts: bump PKG_REVISION and copyright year

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

9 years agoopenvpn: bump PKG_REVISION and copyright year
Jo-Philipp Wich [Tue, 6 Jan 2015 12:41:22 +0000 (12:41 +0000)]
openvpn: bump PKG_REVISION and copyright year

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

9 years agoopenssl: fix CVE-2014-3569
Steven Barth [Tue, 6 Jan 2015 09:59:55 +0000 (09:59 +0000)]
openssl: fix CVE-2014-3569

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

9 years agokernel: add missing dependency for kmod-crypto-ghash
Felix Fietkau [Mon, 5 Jan 2015 21:37:29 +0000 (21:37 +0000)]
kernel: add missing dependency for kmod-crypto-ghash

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

9 years agolantiq: add missing NAND_WRITE_DATA in NAND driver.
Felix Fietkau [Mon, 5 Jan 2015 21:37:21 +0000 (21:37 +0000)]
lantiq: add missing NAND_WRITE_DATA in NAND driver.

Signed-off-by: Sylwester Petela <sscapi@gmail.com>
SVN-Revision: 43856

9 years agorefresh kernel config, add cpuidle and cpufreq support
Imre Kaloz [Mon, 5 Jan 2015 15:08:20 +0000 (15:08 +0000)]
refresh kernel config, add cpuidle and cpufreq support

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

9 years agoenable swconfig and the mvsw6171 driver
Imre Kaloz [Mon, 5 Jan 2015 15:02:18 +0000 (15:02 +0000)]
enable swconfig and the mvsw6171 driver

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

9 years agomac80211: fix ad-hoc basic/multicast rate regression from r43782
Felix Fietkau [Mon, 5 Jan 2015 13:19:20 +0000 (13:19 +0000)]
mac80211: fix ad-hoc basic/multicast rate regression from r43782

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

9 years agonettle: add CONFIG_LIBNETTLE_MINI to PKG_CONFIG_DEPENDS to fix rebuild issues
Felix Fietkau [Mon, 5 Jan 2015 13:03:55 +0000 (13:03 +0000)]
nettle: add CONFIG_LIBNETTLE_MINI to PKG_CONFIG_DEPENDS to fix rebuild issues

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

9 years agodnsmasq: fix dependency problems of the dnsmasq-full variant.
Felix Fietkau [Mon, 5 Jan 2015 13:03:48 +0000 (13:03 +0000)]
dnsmasq: fix dependency problems of the dnsmasq-full variant.

This patch tries to

 - Let the DHCPv6 feature depend on CONFIG_IPV6.
 - Conditionally select libnettle, kmod-ipv6, kmod-ipt-ipset only if the
   corresponding features are enabled.
 - Install `trust-anchors.conf` only if DNSSEC is selected.
 - Add PKG_CONFIG_DEPENDS for the configurable options.
 - Add a patch to let the Makefile of dnsmasq be aware of changes in
   COPTS variable.

Big thanks goes to Frank Schäfer <fschaefer.oss@googlemail.com> for
providing necessary information on connections and dependency relations
between these CONFIGs and packages.

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

9 years agopackage: remove references to symbols TARGET_{ps3,pxcab}.
Felix Fietkau [Mon, 5 Jan 2015 13:03:40 +0000 (13:03 +0000)]
package: remove references to symbols TARGET_{ps3,pxcab}.

Target pxcab and ps3 were removed from maintaince in r34764 and r34765
respectively.

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

9 years agoe2fsprogs: bump release
Felix Fietkau [Mon, 5 Jan 2015 13:03:33 +0000 (13:03 +0000)]
e2fsprogs: bump release

Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
SVN-Revision: 43849

9 years agoe2fsprogs: package dumpe2fs, e2freefrag, filefrag, debugfs
Felix Fietkau [Mon, 5 Jan 2015 13:03:26 +0000 (13:03 +0000)]
e2fsprogs: package dumpe2fs, e2freefrag, filefrag, debugfs

Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
SVN-Revision: 43848

9 years agoe2fsprogs: symlink e2fsck to fsck.ext{2, 3, 4}, and tune2fs to findfs
Felix Fietkau [Mon, 5 Jan 2015 13:03:20 +0000 (13:03 +0000)]
e2fsprogs: symlink e2fsck to fsck.ext{2, 3, 4}, and tune2fs to findfs

Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
SVN-Revision: 43847

9 years agohostapd: Add uapsd option to netifd.sh
Felix Fietkau [Mon, 5 Jan 2015 13:03:12 +0000 (13:03 +0000)]
hostapd: Add uapsd option to netifd.sh

The uapsd option sets the uapsd_advertisement_enabled flag in hostapd.

The check for phy support is already implemented here in hostapd since 2011:
http://w1.fi/cgit/hostap/commit/?id=70619a5d8a3d32faa43d66bcb1b670cacf0c243e

So this can be safely set to 1 as default.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
SVN-Revision: 43846

9 years agoar8216: factor out AR8327/AR8337-specific driver code into ar8327.c
Felix Fietkau [Mon, 5 Jan 2015 13:03:07 +0000 (13:03 +0000)]
ar8216: factor out AR8327/AR8337-specific driver code into ar8327.c

Move all AR8327/AR8337-specific driver code into a separate source file
ar8327.c and adjust patches so that ar8327.c is compiled if
CONFIG_AR8216_PHY is set.

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

9 years agoar8216: move definitions from ar8216.c to ar8216.h and introduce ar8327.h
Felix Fietkau [Mon, 5 Jan 2015 13:02:57 +0000 (13:02 +0000)]
ar8216: move definitions from ar8216.c to ar8216.h and introduce ar8327.h

Move several structure definitions and #defines from ar8216.c
to ar8216.h and move AR8327/AR8337 header stuff into a new
header file ar8327.h.

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

9 years agokernel/hwmon: package pwm-fan kernel module
Felix Fietkau [Mon, 5 Jan 2015 13:02:49 +0000 (13:02 +0000)]
kernel/hwmon: package pwm-fan kernel module

pwm-fan was introduced in kernel 3.18

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 43843

9 years agoall targets: remove all =m kernel config symbols
Felix Fietkau [Mon, 5 Jan 2015 13:02:44 +0000 (13:02 +0000)]
all targets: remove all =m kernel config symbols

modules build during the kernel compile phase are ignored anyway,
all modules should be built using KernelPackage in
package/kernel/linux/modules/*
selecting the appropriate config symbols there rather than in
target/linux/*/config-*

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 43842

9 years agokernel: bridge: multicast: backport a few more fixes for 3.10
Felix Fietkau [Mon, 5 Jan 2015 13:02:31 +0000 (13:02 +0000)]
kernel: bridge: multicast: backport a few more fixes for 3.10

The following patches unfortunately didn't hit the kernel stable
branches yet, therefore cherrypicking them for OpenWRT here:

* bridge: fix netfilter/NF_BR_LOCAL_OUT for own, locally generated queries
* bridge: multicast: enable snooping on general queries only
* bridge: multicast: add sanity check for general query destination

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
SVN-Revision: 43841

9 years agoocteon: enable VLAN support
Felix Fietkau [Mon, 5 Jan 2015 13:02:26 +0000 (13:02 +0000)]
octeon: enable VLAN support

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 43840

9 years agoocteon: remove config-default
Felix Fietkau [Mon, 5 Jan 2015 13:02:21 +0000 (13:02 +0000)]
octeon: remove config-default

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 43839

9 years agokernel/modules: add kmod-crypto-gcm
Felix Fietkau [Mon, 5 Jan 2015 13:02:14 +0000 (13:02 +0000)]
kernel/modules: add kmod-crypto-gcm

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 43838

9 years agokernel/modules: add kmod-crypto-ghash
Felix Fietkau [Mon, 5 Jan 2015 13:02:08 +0000 (13:02 +0000)]
kernel/modules: add kmod-crypto-ghash

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 43837

9 years agokernel/modules: kmod-crypto-xts: depend on kmod-crypto-gf128
Felix Fietkau [Mon, 5 Jan 2015 13:02:01 +0000 (13:02 +0000)]
kernel/modules: kmod-crypto-xts: depend on kmod-crypto-gf128

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 43836

9 years agokernel/modules: add kmod-crypto-gf128
Felix Fietkau [Mon, 5 Jan 2015 13:01:56 +0000 (13:01 +0000)]
kernel/modules: add kmod-crypto-gf128

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 43835

9 years agokernel/modules: add kmod-crypto-ctr
Felix Fietkau [Mon, 5 Jan 2015 13:01:52 +0000 (13:01 +0000)]
kernel/modules: add kmod-crypto-ctr

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 43834

9 years agokernel/modules: add kmod-crypto-seqiv
Felix Fietkau [Mon, 5 Jan 2015 13:01:42 +0000 (13:01 +0000)]
kernel/modules: add kmod-crypto-seqiv

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 43833

9 years agokernel/modules: remove CRYPTOMGR_MODULES
Felix Fietkau [Mon, 5 Jan 2015 13:01:36 +0000 (13:01 +0000)]
kernel/modules: remove CRYPTOMGR_MODULES

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 43832

9 years agokernel/modules: kmod-crypto-manager: depend on kmod-crypto-aead
Felix Fietkau [Mon, 5 Jan 2015 13:01:30 +0000 (13:01 +0000)]
kernel/modules: kmod-crypto-manager: depend on kmod-crypto-aead

SVN-Revision: 43831

9 years agokernel/modules: add kmod-crypto-aead
Felix Fietkau [Mon, 5 Jan 2015 13:01:23 +0000 (13:01 +0000)]
kernel/modules: add kmod-crypto-aead

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 43830

9 years agokernel/modules: remove superfluous backslash
Felix Fietkau [Mon, 5 Jan 2015 13:01:17 +0000 (13:01 +0000)]
kernel/modules: remove superfluous backslash

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 43829

9 years agoutil-linux: fix packaging issues
Steven Barth [Mon, 5 Jan 2015 10:11:28 +0000 (10:11 +0000)]
util-linux: fix packaging issues

Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
Tested-by: Gergely Kiss <mail.gery@gmail.com>
SVN-Revision: 43828

9 years agoet131x is out of staging in 3.18
Imre Kaloz [Sun, 4 Jan 2015 18:41:32 +0000 (18:41 +0000)]
et131x is out of staging in 3.18

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

9 years agoupgrade to latest revision
Imre Kaloz [Sun, 4 Jan 2015 18:39:58 +0000 (18:39 +0000)]
upgrade to latest revision

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

9 years agoadd tmp421 to the device tree instead of relying on autodetect
Imre Kaloz [Sun, 4 Jan 2015 17:26:07 +0000 (17:26 +0000)]
add tmp421 to the device tree instead of relying on autodetect

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

9 years agoopenvpn: backport an upstream fix for a regression in using --cipher none (fixes...
Felix Fietkau [Sun, 4 Jan 2015 12:03:29 +0000 (12:03 +0000)]
openvpn: backport an upstream fix for a regression in using --cipher none (fixes #18676)

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

9 years agokernel: update 3.18 to 3.18.1
Luka Perkov [Sat, 3 Jan 2015 22:59:47 +0000 (22:59 +0000)]
kernel: update 3.18 to 3.18.1

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

9 years agokernel: update 3.14 to 3.14.27
Luka Perkov [Sat, 3 Jan 2015 22:59:43 +0000 (22:59 +0000)]
kernel: update 3.14 to 3.14.27

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

9 years agoramips: fix WSR-600DHP flash layout
Felix Fietkau [Sat, 3 Jan 2015 18:31:27 +0000 (18:31 +0000)]
ramips: fix WSR-600DHP flash layout

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

9 years agoramips: fix WSR-1166DHP flash layout
Felix Fietkau [Sat, 3 Jan 2015 18:31:17 +0000 (18:31 +0000)]
ramips: fix WSR-1166DHP flash layout

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

9 years agoramips: fix WSR-{600,1166} names
Felix Fietkau [Sat, 3 Jan 2015 18:31:11 +0000 (18:31 +0000)]
ramips: fix WSR-{600,1166} names

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

9 years agoramips: fix wsr-1166 sysupgrade support
Felix Fietkau [Sat, 3 Jan 2015 18:31:06 +0000 (18:31 +0000)]
ramips: fix wsr-1166 sysupgrade support

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

9 years agoramips: on mt7621 only enable xhci for the eval board (still needs patch cleanup...
Felix Fietkau [Sat, 3 Jan 2015 18:30:57 +0000 (18:30 +0000)]
ramips: on mt7621 only enable xhci for the eval board (still needs patch cleanup to take effect)

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

9 years agoramips: fix WSR-600 image format
Felix Fietkau [Fri, 2 Jan 2015 21:53:45 +0000 (21:53 +0000)]
ramips: fix WSR-600 image format

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

9 years agoramips: use CONFIG_MTD_SPLIT_UIMAGE_FW instead of CONFIG_MTD_UIMAGE_SPLIT
Felix Fietkau [Fri, 2 Jan 2015 21:53:38 +0000 (21:53 +0000)]
ramips: use CONFIG_MTD_SPLIT_UIMAGE_FW instead of CONFIG_MTD_UIMAGE_SPLIT

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

9 years agoramips: fix image format for WSR-1166
Felix Fietkau [Fri, 2 Jan 2015 21:53:31 +0000 (21:53 +0000)]
ramips: fix image format for WSR-1166

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

9 years agoramips: disable ethernet checksum offloads for mt7621, they are broken
Felix Fietkau [Fri, 2 Jan 2015 21:53:24 +0000 (21:53 +0000)]
ramips: disable ethernet checksum offloads for mt7621, they are broken

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

9 years agoramips: use netif_receive_skb instead of napi_gro_receive when rx csum offload is...
Felix Fietkau [Fri, 2 Jan 2015 21:53:18 +0000 (21:53 +0000)]
ramips: use netif_receive_skb instead of napi_gro_receive when rx csum offload is unavailable

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

9 years agokernel: add mtd split support for trx images
Felix Fietkau [Fri, 2 Jan 2015 21:53:11 +0000 (21:53 +0000)]
kernel: add mtd split support for trx images

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

9 years agoramips: rework and fix m25p80 chunked-io support
Felix Fietkau [Fri, 2 Jan 2015 21:53:02 +0000 (21:53 +0000)]
ramips: rework and fix m25p80 chunked-io support

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

9 years agoramips: split mt7621 spi into a separate driver, increase maximum transfer size
Felix Fietkau [Fri, 2 Jan 2015 21:52:53 +0000 (21:52 +0000)]
ramips: split mt7621 spi into a separate driver, increase maximum transfer size

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

9 years agokernel: add a mtdsplit implementation for tp-link firmware headers
Felix Fietkau [Fri, 2 Jan 2015 21:52:44 +0000 (21:52 +0000)]
kernel: add a mtdsplit implementation for tp-link firmware headers

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

9 years agokernel: move mtdsplit files to drivers/mtd/mtdsplit/ to simplify maintenance, unify...
Felix Fietkau [Fri, 2 Jan 2015 21:52:35 +0000 (21:52 +0000)]
kernel: move mtdsplit files to drivers/mtd/mtdsplit/ to simplify maintenance, unify patches across kernel versions

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

9 years agohonor the bootloader's bootargs
Imre Kaloz [Fri, 2 Jan 2015 16:48:20 +0000 (16:48 +0000)]
honor the bootloader's bootargs

Only overwrite the bootloader's bootargs if "chosen" exists in the dtb

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

9 years agoenable wpad-mini by default
Imre Kaloz [Wed, 31 Dec 2014 21:59:07 +0000 (21:59 +0000)]
enable wpad-mini by default

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

9 years agobcm53xx: support flashing CHK and CyberTAN images
Rafał Miłecki [Tue, 30 Dec 2014 17:45:53 +0000 (17:45 +0000)]
bcm53xx: support flashing CHK and CyberTAN images

SVN-Revision: 43800

9 years agobrcm47xx: support for flashing CHK and CyberTAN images
Rafał Miłecki [Tue, 30 Dec 2014 17:19:36 +0000 (17:19 +0000)]
brcm47xx: support for flashing CHK and CyberTAN images

This will allow simple sysupgrade-s including simpler reverting to the
original firmware.

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

9 years agobrcm47xx: verify if CHK/CyberTAN contains valid TRX
Rafał Miłecki [Tue, 30 Dec 2014 17:19:02 +0000 (17:19 +0000)]
brcm47xx: verify if CHK/CyberTAN contains valid TRX

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

9 years agompc83xx: add support for kernel 3.14
Hauke Mehrtens [Mon, 29 Dec 2014 17:11:13 +0000 (17:11 +0000)]
mpc83xx: add support for kernel 3.14

This is compile tested only, please run test and report back.

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

9 years agompc52xx: add support for kernel 3.14
Hauke Mehrtens [Mon, 29 Dec 2014 16:12:52 +0000 (16:12 +0000)]
mpc52xx: add support for kernel 3.14

This is compile tested only, please run test and report back.

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

9 years agoep93xx: add support for kernel 3.14
Hauke Mehrtens [Mon, 29 Dec 2014 13:55:59 +0000 (13:55 +0000)]
ep93xx: add support for kernel 3.14

This is compile tested only, please run test and report back.

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

9 years agokernel: add some missing config options
Hauke Mehrtens [Mon, 29 Dec 2014 11:59:32 +0000 (11:59 +0000)]
kernel: add some missing config options

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

9 years agotools: build libtool after autoconf, not before (fixes #18659)
Felix Fietkau [Sun, 28 Dec 2014 21:55:21 +0000 (21:55 +0000)]
tools: build libtool after autoconf, not before (fixes #18659)

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

9 years agoipq806x: refresh patches
Hauke Mehrtens [Sun, 28 Dec 2014 19:31:40 +0000 (19:31 +0000)]
ipq806x: refresh patches

This makes the patchs apply again.

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

9 years agoupgrade to new rev, fixes possible compile error
Imre Kaloz [Sun, 28 Dec 2014 14:45:27 +0000 (14:45 +0000)]
upgrade to new rev, fixes possible compile error

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

9 years agoath10k: fix tx rate selection for ad-hoc mode with HT
Felix Fietkau [Sat, 27 Dec 2014 13:37:32 +0000 (13:37 +0000)]
ath10k: fix tx rate selection for ad-hoc mode with HT

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

9 years agooxnas: re-enable ubifs
Felix Fietkau [Sat, 27 Dec 2014 13:03:26 +0000 (13:03 +0000)]
oxnas: re-enable ubifs

After the changes make ubinize.cfg optional in image.mk, ubifs
generation can now safely be enabled again.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 43789

9 years agoimage.mk: make ubinize.cfg optional
Felix Fietkau [Sat, 27 Dec 2014 13:03:19 +0000 (13:03 +0000)]
image.mk: make ubinize.cfg optional

When using UbinizeImage with ubifs rootfs, ubinize.cfg is no longer
needed. Yet, the absance of ubinize.cfg would make the build process
abort with an error.
Fix that by checking if ubinize.cfg is present and do no not call the
"classic" ubinize image generation if it isn't.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
[missing new-line before UbinizeImage added itentionally]

SVN-Revision: 43788

9 years agooxnas: clk-oxnas: rework pllb enable function
Felix Fietkau [Sat, 27 Dec 2014 13:03:12 +0000 (13:03 +0000)]
oxnas: clk-oxnas: rework pllb enable function

kernel lock debugging unveiled that we should not call
of_reset_control_get inside a clock's enable operation (see below)

move of_reset_control_* previously used in pllb_clk_enable to new
pllb_clk_prepare and pllb_clk_unprepare functions.
use a container to carry runtime information.

------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at kernel/locking/lockdep.c:2742 lockdep_trace_alloc+0xb8/0xfc()
DEBUG_LOCKS_WARN_ON(irqs_disabled_flags(flags))
Modules linked in:
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.14.26 #6
[<c001a6ac>] (unwind_backtrace) from [<c0016dec>] (show_stack+0x10/0x14)
[<c0016dec>] (show_stack) from [<c0194f68>] (dump_stack+0x7c/0x94)
[<c0194f68>] (dump_stack) from [<c0021b50>] (warn_slowpath_common+0x68/0x8c)
[<c0021b50>] (warn_slowpath_common) from [<c0021ba4>] (warn_slowpath_fmt+0x30/0x40)
[<c0021ba4>] (warn_slowpath_fmt) from [<c0061b30>] (lockdep_trace_alloc+0xb8/0xfc)
[<c0061b30>] (lockdep_trace_alloc) from [<c00cb740>] (kmem_cache_alloc+0x1c/0xf8)
[<c00cb740>] (kmem_cache_alloc) from [<c01d33c8>] (of_reset_control_get+0xe8/0x12c)
[<c01d33c8>] (of_reset_control_get) from [<c0269228>] (pllb_clk_enable+0x14/0xbc)
[<c0269228>] (pllb_clk_enable) from [<c0265738>] (__clk_enable+0x54/0xa0)
[<c0265738>] (__clk_enable) from [<c0265acc>] (clk_enable+0x18/0x2c)
[<c0265acc>] (clk_enable) from [<c04325f8>] (oxnas_pcie_probe+0x3b8/0x6a0)
[<c04325f8>] (oxnas_pcie_probe) from [<c01f2510>] (platform_drv_probe+0x18/0x48)
[<c01f2510>] (platform_drv_probe) from [<c01f1070>] (driver_probe_device+0xd8/0x24c)
[<c01f1070>] (driver_probe_device) from [<c01f1298>] (__driver_attach+0x70/0x94)
[<c01f1298>] (__driver_attach) from [<c01ef728>] (bus_for_each_dev+0x4c/0x98)
[<c01ef728>] (bus_for_each_dev) from [<c01f0818>] (bus_add_driver+0xcc/0x1e8)
[<c01f0818>] (bus_add_driver) from [<c01f169c>] (driver_register+0xa0/0xe8)
[<c01f169c>] (driver_register) from [<c01f2568>] (platform_driver_probe+0x20/0xa4)
[<c01f2568>] (platform_driver_probe) from [<c0013a3c>] (do_one_initcall+0x90/0x140)
[<c0013a3c>] (do_one_initcall) from [<c0421d38>] (kernel_init_freeable+0x1e4/0x2c0)
[<c0421d38>] (kernel_init_freeable) from [<c000c214>] (kernel_init+0x8/0x104)
[<c000c214>] (kernel_init) from [<c0008768>] (ret_from_fork+0x14/0x2c)
---[ end trace 5f17ed2f61e0683f ]---

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 43787

9 years agokernel/generic: fix warnings if libata-ledtrig is disabled
Felix Fietkau [Sat, 27 Dec 2014 13:02:58 +0000 (13:02 +0000)]
kernel/generic: fix warnings if libata-ledtrig is disabled

accidentally #if was used instead of #ifdef, thus gcc warned
about CONFIG_ATA_LEDS being undefined...

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 43786

9 years agobinutils: run install twice instead of overwriting the final toolchain with the initi...
Felix Fietkau [Sat, 27 Dec 2014 13:00:09 +0000 (13:00 +0000)]
binutils: run install twice instead of overwriting the final toolchain with the initial one

fixes compiler error after a binutils rebuild/reinstall without
rebuilding the rest of the toolchain

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

9 years agobuild: use gcc-provided ar, nm and ranlib where appropriate
Felix Fietkau [Sat, 27 Dec 2014 12:59:59 +0000 (12:59 +0000)]
build: use gcc-provided ar, nm and ranlib where appropriate

Since GCC 4.7, GCC provides its own wrappers around ar, nm and ranlib, which
should be used for builds with link-time optimization. Since GCC 4.9, using them
actually necessary for LTO builds using convenience libraries to succeed.

There are some packages which try to automatically detect if gcc-{ar,nm,ranlib}
exist (one example is my package "fastd" in the package repository, which tries
to use LTO). This breaks because the OpenWrt build system explicitly sets the
binutils versions of these tools.

As it doesn't cause any issues to use gcc-{ar,nm,ranlib} instead of
{ar,nm,ranlib} even without LTO, this patch just makes OpenWrt use the
GCC-provided versions by default, which fixes the build of such packages with
GCC 4.9.

(I know that builds fail though when clang is used with -flto and
gcc-{ar,nm,ranlib}, but as all OpenWrt toolchains are based on GCC, this isn't
a real issue.)

Completely cleaning the tree (or at least `make clean toolchain/clean`) is
necessary to get a consistent state after the binutils plugins support patch and
this one (as trying to use gcc-{ar,nm,ranlib} with a binutils built without
plugin support will definitely lead to a build failure).

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

9 years agobinutils: enable plugin support
Felix Fietkau [Sat, 27 Dec 2014 12:59:53 +0000 (12:59 +0000)]
binutils: enable plugin support

--enable-plugin is necessary for gcc-ar, gcc-nm and gcc-ranlib to work, which
must be used with GCC 4.9 for LTO to work.

Without this option, gcc-ar etc. will just fail with

    sorry - this program has been built without plugin support

Using the normal ar from binutils with GCC 4.9 and -flto will cause linking
with static "convenience" libraries to fail.

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

9 years agohostapd: add support for configuring supported rates
Felix Fietkau [Sat, 27 Dec 2014 12:59:47 +0000 (12:59 +0000)]
hostapd: add support for configuring supported rates

patch by Wilco Baan Hofman from #18627

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

9 years agofix mvneta vlan tagging
Imre Kaloz [Fri, 26 Dec 2014 14:48:33 +0000 (14:48 +0000)]
fix mvneta vlan tagging

This is a 3.14.x backport of:
"mvneta: Fix TSO and checksum for non-acceleration vlan traffic"

Upstream commits:

817dbfa5d1bc276a72c1a577310382008e8aca0a
2d39d120781a5770573dc6ed672a5a562f541aea

Fixes vlan tagging on SoC interfaces for the WRT1900AC.  Useful
when using mvsw6171 driver.

Signed-off-by: Mark Milburn <mark.a.milburn@gmail.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 43781

9 years agodon't copy initramfs.elf unconditionally
Imre Kaloz [Fri, 26 Dec 2014 14:31:45 +0000 (14:31 +0000)]
don't copy initramfs.elf unconditionally

targets that need it should do it in their image Makefile

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

9 years agoonly call UbinizeImage and BuildSysUpgrade for boards we support them on
Imre Kaloz [Fri, 26 Dec 2014 13:45:18 +0000 (13:45 +0000)]
only call UbinizeImage and BuildSysUpgrade for boards we support them on

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

9 years agoThe ubinized filesystems should be used for generating the final images, so store...
Imre Kaloz [Fri, 26 Dec 2014 13:33:22 +0000 (13:33 +0000)]
The ubinized filesystems should be used for generating the final images, so store them in KDIR instead.

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

9 years agoar71xx: add flush reset register writes, should fix restart issues (#17839)
Felix Fietkau [Fri, 26 Dec 2014 12:36:38 +0000 (12:36 +0000)]
ar71xx: add flush reset register writes, should fix restart issues (#17839)

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

9 years agokernel: backport a few PHY layer fixes from upstream
Felix Fietkau [Fri, 26 Dec 2014 12:36:30 +0000 (12:36 +0000)]
kernel: backport a few PHY layer fixes from upstream

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

9 years agoar71xx: rename/refresh patch
Felix Fietkau [Fri, 26 Dec 2014 12:36:22 +0000 (12:36 +0000)]
ar71xx: rename/refresh patch

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