openwrt.git
9 years agoimx6: drop 3.14
luka [Sat, 11 Apr 2015 10:28:00 +0000 (10:28 +0000)]
imx6: drop 3.14

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

9 years agoimx6: switch to 3.18
luka [Sat, 11 Apr 2015 10:27:49 +0000 (10:27 +0000)]
imx6: switch to 3.18

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

9 years agomxs: reinstate rootfs image creation and dtb copy
wigyori [Fri, 10 Apr 2015 21:36:33 +0000 (21:36 +0000)]
mxs: reinstate rootfs image creation and dtb copy

Signed-off-by: Harald Geyer <harald@ccbib.org>
Acked-by: Michael Heimpold <mhei@heimpold.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45369 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomxs: Include the right kernel image in the rootfs
wigyori [Fri, 10 Apr 2015 21:34:21 +0000 (21:34 +0000)]
mxs: Include the right kernel image in the rootfs

Signed-off-by: Harald Geyer <harald@ccbib.org>
Acked-by: Michael Heimpold <mhei@heimpold.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45368 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomodules: fix postinst generation for kernel modules
blogic [Fri, 10 Apr 2015 20:39:44 +0000 (20:39 +0000)]
modules: fix postinst generation for kernel modules

Fixes ticket #19352.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45367 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agolibrpc: update to the latest version, fixes musl compatibility issues (#19445)
nbd [Fri, 10 Apr 2015 20:02:55 +0000 (20:02 +0000)]
librpc: update to the latest version, fixes musl compatibility issues (#19445)

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

9 years agomodules: more wpan fixes
blogic [Fri, 10 Apr 2015 14:42:11 +0000 (14:42 +0000)]
modules: more wpan fixes

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

9 years agomodules: add missing wpan fakehard driver
blogic [Fri, 10 Apr 2015 13:39:38 +0000 (13:39 +0000)]
modules: add missing wpan fakehard driver

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

9 years agokernel: remove references to kmod-of-i2c
blogic [Fri, 10 Apr 2015 13:39:33 +0000 (13:39 +0000)]
kernel: remove references to kmod-of-i2c

these break the IB since the module is part of i2c-core now

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

9 years agokernel: add jffs2 RENAME_WHITEOUT support, fixes overlayfs renames (#19432)
nbd [Fri, 10 Apr 2015 11:52:59 +0000 (11:52 +0000)]
kernel: add jffs2 RENAME_WHITEOUT support, fixes overlayfs renames (#19432)

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

9 years agokernel: drop obsolete linux 3.10 related dependencies/checks
nbd [Fri, 10 Apr 2015 11:52:54 +0000 (11:52 +0000)]
kernel: drop obsolete linux 3.10 related dependencies/checks

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

9 years agokernel: remove linux 3.10 support
nbd [Fri, 10 Apr 2015 11:52:47 +0000 (11:52 +0000)]
kernel: remove linux 3.10 support

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

9 years agoodhcpd: send current hop-limit by default in RAs
cyrus [Fri, 10 Apr 2015 11:52:42 +0000 (11:52 +0000)]
odhcpd: send current hop-limit by default in RAs

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

9 years agoodhcp6c: move IPv6 /proc config to userspace and sanitize
cyrus [Fri, 10 Apr 2015 11:33:15 +0000 (11:33 +0000)]
odhcp6c: move IPv6 /proc config to userspace and sanitize

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

9 years agokernel: fix kmod-ieee802154_6lowpan config symbol
jogo [Fri, 10 Apr 2015 10:30:00 +0000 (10:30 +0000)]
kernel: fix kmod-ieee802154_6lowpan config symbol

Fixes build failure caught by buildbot:

IEEE Std 802.15.4 Low-Rate Wireless Personal Area Networks support (IEEE802154) [M/n/y/?] m
  6lowpan support over IEEE 802.15.4 (IEEE802154_6LOWPAN) [N/m/?] (NEW) aborted!

Console input/output is redirected. Run 'make oldconfig' to update configuration.

make[6]: *** [silentoldconfig] Error 1
make[5]: *** [silentoldconfig] Error 2

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45357 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agob53: clean up code to match kernel style better
jogo [Fri, 10 Apr 2015 10:29:04 +0000 (10:29 +0000)]
b53: clean up code to match kernel style better

* properly enclose macro arguments in paranthesis on use
* remove trailing white space
* convert C99 // comments
* add missing blank lines after declaration
* remove braces from single statement blocks
* split lines > 80 chars (except for one)

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45356 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agob53: define registers available and needed on BCM5301X
jogo [Fri, 10 Apr 2015 10:28:46 +0000 (10:28 +0000)]
b53: define registers available and needed on BCM5301X

They are also present on some BCM63xx switches.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45355 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agodnsmasq: bump to 2.73rc4
cyrus [Fri, 10 Apr 2015 10:19:17 +0000 (10:19 +0000)]
dnsmasq: bump to 2.73rc4

Fix crash caused by malformed DNS requests
Improved DNSSEC handling

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

9 years agobcm53xx: build image for ASUS RT-AC56U
rmilecki [Fri, 10 Apr 2015 09:58:00 +0000 (09:58 +0000)]
bcm53xx: build image for ASUS RT-AC56U

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45353 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobcm53xx: Luxul XWC-1000 has only 128 MiB of RAM
rmilecki [Fri, 10 Apr 2015 09:42:48 +0000 (09:42 +0000)]
bcm53xx: Luxul XWC-1000 has only 128 MiB of RAM

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45352 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agohostapd: remove unused asprintf parameter
blogic [Fri, 10 Apr 2015 08:31:26 +0000 (08:31 +0000)]
hostapd: remove unused asprintf parameter

r45270 removed ieee80211n=%d from the format string but didn't remove
the parameter itself. Though this probably doesn't cause any harm, it's
quite confusing and unneeded.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45351 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoiptables: revert r40916
blogic [Fri, 10 Apr 2015 08:31:06 +0000 (08:31 +0000)]
iptables: revert r40916

it causes problems with newer iptables when ipv6 is disabled as iptc uncoditionally links ip6tc

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

9 years agowpan-tools: adds wpan-tools utility
blogic [Fri, 10 Apr 2015 08:30:11 +0000 (08:30 +0000)]
wpan-tools: adds wpan-tools utility

This patch adds the wpan-tools (iwpan) utility to OpenWRT
build system. This utility required to manage IEE-802.15.4
devices.

Signed-off-by: Varka Bhadram <varkab@cdac.in>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45349 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: adds wpan related packages
blogic [Fri, 10 Apr 2015 08:29:35 +0000 (08:29 +0000)]
kernel: adds wpan related packages

This patch adds the IEEE-802.15.4 and 6LoWPAN related
packages.

Signed-off-by: Varka Bhadram <varkab@cdac.in>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45348 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agosunxi: don't enable ARMTHUMB XZ BCJ filter in kernel
blogic [Fri, 10 Apr 2015 08:29:26 +0000 (08:29 +0000)]
sunxi: don't enable ARMTHUMB XZ BCJ filter in kernel

Having CONFIG_XZ_DEC_ARMTHUMB enabled breaks squashfs when ARM BCJ
filter was used to create the filesystem (and that's what we do on
all ARM targets). Thus unset CONFIG_XZ_DEC_ARMTHUMB to fix
squashfs on sunxi.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45347 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoqca-nss-gmac: update to latest version
blogic [Fri, 10 Apr 2015 08:29:05 +0000 (08:29 +0000)]
qca-nss-gmac: update to latest version

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45346 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoipq806x: automatically select kmod-usb-phy-qcom-dwc3
blogic [Fri, 10 Apr 2015 08:28:44 +0000 (08:28 +0000)]
ipq806x: automatically select kmod-usb-phy-qcom-dwc3

kmod-usb-phy-qcom-dwc3 is required to get USB working on ipq806x. It was
missed in previous commit so let's enable it automatically.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45345 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoprocd: fix compile error on x86_64
blogic [Fri, 10 Apr 2015 08:28:21 +0000 (08:28 +0000)]
procd: fix compile error on x86_64

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

9 years agoopenssl: disable arm optimisation until we know why it fails on some socs
blogic [Fri, 10 Apr 2015 08:27:55 +0000 (08:27 +0000)]
openssl: disable arm optimisation until we know why it fails on some socs

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

9 years agoralink: fix cevt-r4k hack
blogic [Fri, 10 Apr 2015 08:27:44 +0000 (08:27 +0000)]
ralink: fix cevt-r4k hack

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

9 years agofstools: update to latest git HEAD
blogic [Fri, 10 Apr 2015 08:27:27 +0000 (08:27 +0000)]
fstools: update to latest git HEAD

this fixes extroot on mvebu

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

9 years agouci: update to the latest version, fixes a regression in handling empty/comment lines...
nbd [Thu, 9 Apr 2015 14:57:25 +0000 (14:57 +0000)]
uci: update to the latest version, fixes a regression in handling empty/comment lines in uci batch

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

9 years agoprocd: add helper for starting NAND sysupgrade
blogic [Thu, 9 Apr 2015 14:33:11 +0000 (14:33 +0000)]
procd: add helper for starting NAND sysupgrade

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45339 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobase-files: add support for platform_pre_upgrade function
blogic [Thu, 9 Apr 2015 14:33:03 +0000 (14:33 +0000)]
base-files: add support for platform_pre_upgrade function

Current NAND sysupgrade process is a bit hard to follow due to the way
of triggering stage1. Currently this is done by leaving a /mark/ in the
form of /tmp/sysupgrade-nand-path during nand_do_platform_check.
Existence of this mark stops standard sysupgrade process (as the result
of sysupgrade_pre_upgrade exit). This may be a bit misleading.

Proposed solution adds a new function that will allow platform.sh
trigger NAND sysupgrade consciously. This will also allow cleaning
nand_do_platform_check limiting it to just checking the image.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45338 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomodules: remove zd1201 package
blogic [Thu, 9 Apr 2015 10:33:26 +0000 (10:33 +0000)]
modules: remove zd1201 package

it needs to be moved to compat-wireless

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

9 years agokernel: add rtl8723au driver (staging)
blogic [Thu, 9 Apr 2015 10:33:16 +0000 (10:33 +0000)]
kernel: add rtl8723au driver (staging)

- move config symbol to separate package (Why was it there in the first place?)
- 8723au might be used in some USB sticks or on some sunxi boards

compile tested only

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45336 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agogeneric/3.18: add missing wireless symbols
blogic [Thu, 9 Apr 2015 10:33:11 +0000 (10:33 +0000)]
generic/3.18: add missing wireless symbols

triggered by enabling RFKILL in global build options

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45335 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agonetifd: Interface last error support
blogic [Thu, 9 Apr 2015 10:33:05 +0000 (10:33 +0000)]
netifd: Interface last error support

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

9 years agoppp: Detailed last error support
blogic [Thu, 9 Apr 2015 10:32:54 +0000 (10:32 +0000)]
ppp: Detailed last error support

Enables last error support for the PPP protocol handlers.
In generic teardown the PPP daemon exit code is translated into
a self explaining error string which is set as interface error
by proto_notify_error in case of failure.

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

9 years agodnsmasq: Add option '--servers-file'
blogic [Thu, 9 Apr 2015 10:32:46 +0000 (10:32 +0000)]
dnsmasq: Add option '--servers-file'

The option '--servers-file' is available since dnsmasq v2.69.

Signed-off-by: Lars Kruse <lists@sumpfralle.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45332 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: Add support for Microduino MicroWRT
blogic [Thu, 9 Apr 2015 10:32:37 +0000 (10:32 +0000)]
ramips: Add support for Microduino MicroWRT

MicroWRT is an wireless router with 2 USB,1 ethernet port. It
has a 16M flash and 64M DDR2 RAM. You can use most interface, such as
i2c, SPI, i2s and PCIe. Besides that there are three expansion borad to
combine with the core board. The detailed information, please refer to
https://www.microduino.cc/wiki/index.php?title=Main_Page

This patch adds support for it.
Because there is only one port,so disabled VLAN and use eth0 as lan
port. and only a power LED control by power pin.

Signed-off-by: 盛凯 <shengkai81@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45331 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agodocs: Fix typo buysbox -> busybox.
blogic [Thu, 9 Apr 2015 10:32:26 +0000 (10:32 +0000)]
docs: Fix typo buysbox -> busybox.

Signed-off-by: Catalin Patulea <catalinp@google.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45330 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoubox: add log_trailer_null option to uci
blogic [Thu, 9 Apr 2015 10:32:18 +0000 (10:32 +0000)]
ubox: add log_trailer_null option to uci

this allow us to use syslog tcp with \0 trailer
instead of \n trailer (logread -0 option)

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45329 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: enable LEDs on Hornet-UB X2
blogic [Thu, 9 Apr 2015 10:32:08 +0000 (10:32 +0000)]
ar71xx: enable LEDs on Hornet-UB X2

None of the LEDs are enabled by default on the Hornet-UB X2 board
(the 16/64MB version of the Hornet-UB), because it uses a different
board-name ("hornet-ub-x2"); but hornet-ub and hornet-ub-x2 boards
are equivalent WRT their LEDs.

SIgned-off-by: Joshua Judson Rosen <jrosen@harvestai.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45328 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoumbim: update to latest git HEAD
blogic [Thu, 9 Apr 2015 10:32:01 +0000 (10:32 +0000)]
umbim: update to latest git HEAD

merge patches from Bjørn Mork

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

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

9 years agomac80211: add start_disabled option
blogic [Thu, 9 Apr 2015 10:31:56 +0000 (10:31 +0000)]
mac80211: add start_disabled option

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

9 years agohostapd: add update_beacon to ubus binding
blogic [Thu, 9 Apr 2015 10:31:45 +0000 (10:31 +0000)]
hostapd: add update_beacon to ubus binding

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

9 years agogeneric: add a few missing symbols for 4.0
wigyori [Thu, 9 Apr 2015 10:28:59 +0000 (10:28 +0000)]
generic: add a few missing symbols for 4.0

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45324 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoodhcp6c: add 464xlat integration, fix dslite integration
cyrus [Thu, 9 Apr 2015 08:17:32 +0000 (08:17 +0000)]
odhcp6c: add 464xlat integration, fix dslite integration

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

9 years agods-lite: add support for fqdn peeraddrs
cyrus [Thu, 9 Apr 2015 08:17:23 +0000 (08:17 +0000)]
ds-lite: add support for fqdn peeraddrs

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

9 years agobusybox: fix regression in handling non-existant find path arguments (#19439)
nbd [Thu, 9 Apr 2015 08:02:33 +0000 (08:02 +0000)]
busybox: fix regression in handling non-existant find path arguments (#19439)

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

9 years agobcm53xx: switch to the otrx for verifying TRX images
rmilecki [Thu, 9 Apr 2015 06:33:56 +0000 (06:33 +0000)]
bcm53xx: switch to the otrx for verifying TRX images

This adds checking CRC32 of provided firmware image.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45320 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: image: use "-" separator for device version
rmilecki [Thu, 9 Apr 2015 05:40:37 +0000 (05:40 +0000)]
brcm47xx: image: use "-" separator for device version

This makes legacy subtarget follow two other.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45319 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: verify also standard TRX images during sysupgrade
rmilecki [Thu, 9 Apr 2015 05:36:16 +0000 (05:36 +0000)]
brcm47xx: verify also standard TRX images during sysupgrade

It allows detecting data corruption for plain TRX as well.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45318 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: fix WRT300N devices magics for sysupgrade check
rmilecki [Thu, 9 Apr 2015 05:22:10 +0000 (05:22 +0000)]
brcm47xx: fix WRT300N devices magics for sysupgrade check

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45317 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: switch to the otrx for verifying TRX images
rmilecki [Thu, 9 Apr 2015 05:22:04 +0000 (05:22 +0000)]
brcm47xx: switch to the otrx for verifying TRX images

This adds checking CRC32 of provided firmware image.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45316 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agootrx: new package with tiny app verifying TRX images
rmilecki [Thu, 9 Apr 2015 05:21:55 +0000 (05:21 +0000)]
otrx: new package with tiny app verifying TRX images

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45315 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: remove ATHEROS_AR{231X,71XX} config symbols from the patches
juhosg [Wed, 8 Apr 2015 16:21:04 +0000 (16:21 +0000)]
kernel: remove ATHEROS_AR{231X,71XX} config symbols from the patches

Those don't exist anymore.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45314 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: image: use new (& fixed) FILESYSTEM variable for trx command
rmilecki [Wed, 8 Apr 2015 09:50:57 +0000 (09:50 +0000)]
brcm47xx: image: use new (& fixed) FILESYSTEM variable for trx command

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45313 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoimage.mk: rework FILESYSTEM evaluation order to fix some build issues
nbd [Wed, 8 Apr 2015 09:26:10 +0000 (09:26 +0000)]
image.mk: rework FILESYSTEM evaluation order to fix some build issues

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

9 years agobcm53xx: replace few BCM5301X patches with versions sent upstream
rmilecki [Wed, 8 Apr 2015 09:22:02 +0000 (09:22 +0000)]
bcm53xx: replace few BCM5301X patches with versions sent upstream

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45311 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: update legacy subtarget description
rmilecki [Wed, 8 Apr 2015 05:55:32 +0000 (05:55 +0000)]
brcm47xx: update legacy subtarget description

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45310 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: make b43 N-PHY default for brcm47xx legacy subtarget
rmilecki [Wed, 8 Apr 2015 05:55:28 +0000 (05:55 +0000)]
mac80211: make b43 N-PHY default for brcm47xx legacy subtarget

Subtarget legacy is supposed to support all ssb SoC except for BCM4705.
There are few BCM4703 devices with 802.11n supprt (WRT160N v1.0, v1.1).
Few BCM4704 devices with 802.11n: ASUS WL-500W, Linksys WRT150N v1.0 &
v1.1, Linksys WRT300N v1.0, Netgear WNDR3300 v1, WNR834B v1 & v2.

It seems we have to enable N-PHY for legacy as well to support above.
Unfortunately it increases root.squashfs size by 48 460 B.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45309 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: add fix "Data bus error" on CardBus ssb SoCs
rmilecki [Wed, 8 Apr 2015 05:09:42 +0000 (05:09 +0000)]
brcm47xx: add fix "Data bus error" on CardBus ssb SoCs

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45308 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: reverse 2 LEDs polarity on WRT320N v1
rmilecki [Wed, 8 Apr 2015 04:46:27 +0000 (04:46 +0000)]
brcm47xx: reverse 2 LEDs polarity on WRT320N v1

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45307 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: backport ssb patches up to changes queued for 4.1
rmilecki [Tue, 7 Apr 2015 22:06:17 +0000 (22:06 +0000)]
kernel: backport ssb patches up to changes queued for 4.1

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45306 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agogeneric/4.0: upgrade to 4.0-rc7
kaloz [Tue, 7 Apr 2015 21:34:38 +0000 (21:34 +0000)]
generic/4.0: upgrade to 4.0-rc7

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

9 years agobrcm47xx: define rest of LEDs & buttons for WRT320N
rmilecki [Tue, 7 Apr 2015 21:31:36 +0000 (21:31 +0000)]
brcm47xx: define rest of LEDs & buttons for WRT320N

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45304 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agogeneric/3.18: upgrade to 3.18.11
kaloz [Tue, 7 Apr 2015 21:29:26 +0000 (21:29 +0000)]
generic/3.18: upgrade to 3.18.11

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

9 years agomvebu: disable cpu idle on a38x
kaloz [Tue, 7 Apr 2015 21:13:44 +0000 (21:13 +0000)]
mvebu: disable cpu idle on a38x

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

9 years agomwlwifi: upgrade to the latest revision
kaloz [Tue, 7 Apr 2015 21:11:37 +0000 (21:11 +0000)]
mwlwifi: upgrade to the latest revision

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

9 years agoar71xx: add user-space support for RB911G-5HPacD
juhosg [Tue, 7 Apr 2015 20:04:14 +0000 (20:04 +0000)]
ar71xx: add user-space support for RB911G-5HPacD

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45300 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: add initial support for RB911G-5HPacD
juhosg [Tue, 7 Apr 2015 20:04:03 +0000 (20:04 +0000)]
ar71xx: add initial support for RB911G-5HPacD

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45299 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: routerboot: export extended wlan data via sysfs
juhosg [Tue, 7 Apr 2015 20:03:43 +0000 (20:03 +0000)]
ar71xx: routerboot: export extended wlan data via sysfs

Export the data to make it accessible from user-space.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45298 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: routerboot: add support for extended radio data
juhosg [Tue, 7 Apr 2015 20:03:35 +0000 (20:03 +0000)]
ar71xx: routerboot: add support for extended radio data

On newer Mikrotik boards, the radio calibration data
is stored differently and uses LZO compression instead
of RLE.

Update the RouterBOOT helper code to support the new
format.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45297 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: select RLE_DECOMPRESS directly by the RouterBOOT helper code
juhosg [Tue, 7 Apr 2015 20:03:24 +0000 (20:03 +0000)]
ar71xx: select RLE_DECOMPRESS directly by the RouterBOOT helper code

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45296 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: add support for the MX25L512E and SI25CD512 SPI flash chips
juhosg [Tue, 7 Apr 2015 20:03:15 +0000 (20:03 +0000)]
kernel: add support for the MX25L512E and SI25CD512 SPI flash chips

These are used on some MikroTik boards.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45295 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoUpstream commits 43b68879de27b1993518687fbc6013da80cdcbfe
kaloz [Tue, 7 Apr 2015 18:13:51 +0000 (18:13 +0000)]
Upstream commits 43b68879de27b1993518687fbc6013da80cdcbfe
and ce6031c89a35cffd5a5992b08377b77f49a004b9 improve the
cpuidle driver on Armada XP. The latter commit improves
performance at the slight expense of power consumption.

Signed-off-by: Claudio Leite <leitec@staticky.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45294 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: drop old patch disabling cardbus mode on Netgear WNR834B
rmilecki [Tue, 7 Apr 2015 15:40:51 +0000 (15:40 +0000)]
brcm47xx: drop old patch disabling cardbus mode on Netgear WNR834B

First of all this patch was affecting other devices, not just Netgear
WNR834B. E.g. Linksys WRT300N v1 also has boardtype 0x0472.
This was breaking PCI on WRT300N, ssb couldn't detect core working in
hostmode (due to mips_busprobe32 failing).

Secondly this patch should not be needed for years now. From the analyze
of #8861 it seems it was needed just to make devices at slots other than
0 discoverable. Setting cardbus to 0 was simply making ssb allow access
to PCI config for devices other than bridge.
With the upstream commit a6c8462 (ssb: fix cardbus slot in hostmode) we
allow accessing device at slot 1 which should be enough for CardBus.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45293 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobcm53xx: image: share function checking TRX in provided firmware
rmilecki [Tue, 7 Apr 2015 14:14:08 +0000 (14:14 +0000)]
bcm53xx: image: share function checking TRX in provided firmware

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45292 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobcm53xx: display all errors (not just the 1st one) when checking image
rmilecki [Tue, 7 Apr 2015 14:14:02 +0000 (14:14 +0000)]
bcm53xx: display all errors (not just the 1st one) when checking image

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45291 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobcm53xx: compare provided firmware magic with device magic
rmilecki [Tue, 7 Apr 2015 14:13:56 +0000 (14:13 +0000)]
bcm53xx: compare provided firmware magic with device magic

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45290 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: detect Linksys WRT320N v1
rmilecki [Tue, 7 Apr 2015 13:08:17 +0000 (13:08 +0000)]
brcm47xx: detect Linksys WRT320N v1

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45289 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: backport MIPS BCM47XX patches queued for 4.1
rmilecki [Tue, 7 Apr 2015 12:54:23 +0000 (12:54 +0000)]
brcm47xx: backport MIPS BCM47XX patches queued for 4.1

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45288 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: group MIPS BCM47XX backported patches by source kernel
rmilecki [Tue, 7 Apr 2015 11:54:18 +0000 (11:54 +0000)]
brcm47xx: group MIPS BCM47XX backported patches by source kernel

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45287 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobuild: add integration for managing opkg package feed keys
nbd [Mon, 6 Apr 2015 19:39:51 +0000 (19:39 +0000)]
build: add integration for managing opkg package feed keys

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

9 years agoopkg: add patch to circumvent signature checks on the command line
nbd [Mon, 6 Apr 2015 19:39:22 +0000 (19:39 +0000)]
opkg: add patch to circumvent signature checks on the command line

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

9 years agoopkg: add patch for supporting signature checking through usign
nbd [Mon, 6 Apr 2015 19:38:37 +0000 (19:38 +0000)]
opkg: add patch for supporting signature checking through usign

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

9 years agousign: add new package for generating/verifying verification (similar to signify)
nbd [Mon, 6 Apr 2015 19:38:07 +0000 (19:38 +0000)]
usign: add new package for generating/verifying verification (similar to signify)

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

9 years agocmake.mk: add host build support
nbd [Mon, 6 Apr 2015 19:37:42 +0000 (19:37 +0000)]
cmake.mk: add host build support

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

9 years agoar71xx: fix new mktplinkfw image code - flags for sysupgrade vs factory were swapped...
nbd [Mon, 6 Apr 2015 19:26:30 +0000 (19:26 +0000)]
ar71xx: fix new mktplinkfw image code - flags for sysupgrade vs factory were swapped (fixes #19400)

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

9 years agooprofile: add dependency on librt, it seems to be needed in some configurations
nbd [Mon, 6 Apr 2015 18:44:28 +0000 (18:44 +0000)]
oprofile: add dependency on librt, it seems to be needed in some configurations

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

9 years agoodhcpd: fix infinite lifetime handling in dhcpv6
cyrus [Mon, 6 Apr 2015 10:50:54 +0000 (10:50 +0000)]
odhcpd: fix infinite lifetime handling in dhcpv6

thanks to Arjen de Korte

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

9 years agox86: set ARCH_PACKAGES for the x86_64 subtarget (fixes #19425)
nbd [Mon, 6 Apr 2015 10:07:43 +0000 (10:07 +0000)]
x86: set ARCH_PACKAGES for the x86_64 subtarget (fixes #19425)

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

9 years agoipq806x: another missing symbol
blogic [Sun, 5 Apr 2015 07:53:32 +0000 (07:53 +0000)]
ipq806x: another missing symbol

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

9 years agokernel: CONFIG_BRIDGE should not be overridden
blogic [Sun, 5 Apr 2015 07:40:38 +0000 (07:40 +0000)]
kernel: CONFIG_BRIDGE should not be overridden

this breaks ebtables, netfilter, ... during fullbuilds

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

9 years agoarm64: remove CGROUPS override
florian [Sat, 4 Apr 2015 19:33:32 +0000 (19:33 +0000)]
arm64: remove CGROUPS override

SCHED_AUTOGROUP was turned on by default which forces the use of
CGROUPS, conflicting with the options we offer from menuconfig, remove
that.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45275 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomcs814x: switch to 3.18 kernel
florian [Sat, 4 Apr 2015 18:01:26 +0000 (18:01 +0000)]
mcs814x: switch to 3.18 kernel

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45274 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomcs814x: add support for 3.18
florian [Sat, 4 Apr 2015 18:01:07 +0000 (18:01 +0000)]
mcs814x: add support for 3.18

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45273 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobusybox: update to version 1.23.2
nbd [Sat, 4 Apr 2015 17:52:02 +0000 (17:52 +0000)]
busybox: update to version 1.23.2

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