openwrt.git
11 years agoswitch: improve error messages
hauke [Thu, 3 Jan 2013 01:57:19 +0000 (01:57 +0000)]
switch: improve error messages

This is in part based on a patch send by Nathan Hintz <nlhintz@hotmail.com>

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

11 years agobrcm47xx: BCMA - IRQ Update - Fix IRQ Flag for I2S Core
hauke [Thu, 3 Jan 2013 01:56:13 +0000 (01:56 +0000)]
brcm47xx: BCMA - IRQ Update - Fix IRQ Flag for I2S Core

Adjust the IRQ Flag value from 8 to 7 for I2S Core for BCM4716 and
BCM4748 (per the Broadcom SDK).  IRQ Flag values greater than 7 are
ignored when setting the interrupt masks.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34990 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agobrcm47xx: improve IRQ handling for bcma based devices
hauke [Thu, 3 Jan 2013 01:55:34 +0000 (01:55 +0000)]
brcm47xx: improve IRQ handling for bcma based devices

This was party inspirited by patches send by Nathan Hintz <nlhintz@hotmail.com>

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

11 years agobrcm47xx: add a new version of the nvram rewrite patch
hauke [Thu, 3 Jan 2013 01:53:30 +0000 (01:53 +0000)]
brcm47xx: add a new version of the nvram rewrite patch

This is the version like it was send for mainline inclusion.

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

11 years agobrcm47xx: move patches already in the mainline kernel to the front
hauke [Thu, 3 Jan 2013 01:51:31 +0000 (01:51 +0000)]
brcm47xx: move patches already in the mainline kernel to the front

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

11 years agobrcm47xx: remove support for kernel version 3.3
hauke [Thu, 3 Jan 2013 01:48:43 +0000 (01:48 +0000)]
brcm47xx: remove support for kernel version 3.3

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

11 years agoipv6-support: Update iteration
cyrus [Wed, 2 Jan 2013 23:05:44 +0000 (23:05 +0000)]
ipv6-support: Update iteration
* Add support for blocking forwarding while address assignments
* Fix relay restarting function

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

11 years agoodhcp6c: Add support for SNTP and SIP options
cyrus [Wed, 2 Jan 2013 23:05:39 +0000 (23:05 +0000)]
odhcp6c: Add support for SNTP and SIP options

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

11 years ago6relayd: Announce RDNSS and DNSSL via RA
cyrus [Wed, 2 Jan 2013 23:05:35 +0000 (23:05 +0000)]
6relayd: Announce RDNSS and DNSSL via RA

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

11 years agoiwinfo: replace more wext calls with nl80211 equivalents, attempt to infer nl80211...
jow [Wed, 2 Jan 2013 19:10:29 +0000 (19:10 +0000)]
iwinfo: replace more wext calls with nl80211 equivalents, attempt to infer nl80211 tx power from debugfs before querying wext

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

11 years agogeneric: add some missing kernel config symbols spotted on x86
jow [Wed, 2 Jan 2013 19:10:24 +0000 (19:10 +0000)]
generic: add some missing kernel config symbols spotted on x86

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

11 years agoath9k: disable TX_IQ_ON_AGC_CAL on AR934x, should improve stability
nbd [Wed, 2 Jan 2013 17:37:30 +0000 (17:37 +0000)]
ath9k: disable TX_IQ_ON_AGC_CAL on AR934x, should improve stability

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

11 years agosysupgrade: clarify online help
jow [Wed, 2 Jan 2013 16:21:30 +0000 (16:21 +0000)]
sysupgrade: clarify online help

Fixes #12346.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34975 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agosysupgrade: do not require an extra argument after --restore-backup
jow [Wed, 2 Jan 2013 16:21:26 +0000 (16:21 +0000)]
sysupgrade: do not require an extra argument after --restore-backup

Neither --create-backup nor --restore-backup need an image name (following
the backup filename). Treat them in uniform way.

Mostly fixes #12346.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34974 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agox86: fix typo in alix2/net5501 default packages
nbd [Wed, 2 Jan 2013 16:09:23 +0000 (16:09 +0000)]
x86: fix typo in alix2/net5501 default packages

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

11 years agodnsmasq: allow dhcp host entries without mac addresses (#11928)
jow [Wed, 2 Jan 2013 15:14:19 +0000 (15:14 +0000)]
dnsmasq: allow dhcp host entries without mac addresses (#11928)

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

11 years agolldpd: various enhancements
jow [Wed, 2 Jan 2013 14:35:43 +0000 (14:35 +0000)]
lldpd: various enhancements

- introduce "list interface" options to specify the ifaces to listen on, takes uci- or network device name
- set the default system description to distrib @ hostname, e.g. "OpenWrt Barrier Breaker r34744 @ vbox"
- introduce "option lldp_description" to override the automatically generated description

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

11 years ago[ramips] rt5350 switch support fix
blogic [Wed, 2 Jan 2013 11:28:21 +0000 (11:28 +0000)]
[ramips] rt5350 switch support fix

RT5350 frame engine need reset frame engine and embedded switch together.

Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34969 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoRemove remaining etrax references
blogic [Wed, 2 Jan 2013 11:28:11 +0000 (11:28 +0000)]
Remove remaining etrax references

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

11 years ago[kernel] fix typo in HFS kernel module
blogic [Wed, 2 Jan 2013 10:29:45 +0000 (10:29 +0000)]
[kernel] fix typo in HFS kernel module

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34963 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[mac80211] fixes libertas firmware install path
blogic [Wed, 2 Jan 2013 10:08:54 +0000 (10:08 +0000)]
[mac80211] fixes libertas firmware install path

fixes #12712

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

11 years ago[kernel] fix video modules package generation
blogic [Wed, 2 Jan 2013 09:43:07 +0000 (09:43 +0000)]
[kernel] fix video modules package generation

The folder layout changed between 3.6 and 3.7

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

11 years agogeneric: fix UBIFS build error if XZ compression is disabled
juhosg [Wed, 2 Jan 2013 08:53:07 +0000 (08:53 +0000)]
generic: fix UBIFS build error if XZ compression is disabled

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

11 years ago6relayd: Detect changes of default routes for RAs
cyrus [Tue, 1 Jan 2013 21:41:37 +0000 (21:41 +0000)]
6relayd: Detect changes of default routes for RAs

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

11 years agoipv6-support: Remove unnecessary code
cyrus [Tue, 1 Jan 2013 21:41:32 +0000 (21:41 +0000)]
ipv6-support: Remove unnecessary code

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

11 years agopackage/kernel: select crypto-sha256 for cifs on 3.7+
juhosg [Tue, 1 Jan 2013 19:04:20 +0000 (19:04 +0000)]
package/kernel: select crypto-sha256 for cifs on 3.7+

Based on a patch from #12711

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

11 years agopackage/kernel: create separate package for the sha256 crypto module
juhosg [Tue, 1 Jan 2013 19:04:17 +0000 (19:04 +0000)]
package/kernel: create separate package for the sha256 crypto module

Based on a patch from #12711

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

11 years agoadm5120: add support for 3.7
juhosg [Tue, 1 Jan 2013 13:15:49 +0000 (13:15 +0000)]
adm5120: add support for 3.7

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

11 years agoadm5120: nuke 3.3 support
juhosg [Tue, 1 Jan 2013 13:15:44 +0000 (13:15 +0000)]
adm5120: nuke 3.3 support

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

11 years agoadm5120: switch to 3.6
juhosg [Tue, 1 Jan 2013 13:15:41 +0000 (13:15 +0000)]
adm5120: switch to 3.6

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

11 years agoadm5120: add support for 3.6
juhosg [Tue, 1 Jan 2013 13:15:36 +0000 (13:15 +0000)]
adm5120: add support for 3.6

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

11 years agoadm5120: remove NAND_NO_AUTOINCR flag from rb1xx.c
juhosg [Tue, 1 Jan 2013 13:15:30 +0000 (13:15 +0000)]
adm5120: remove NAND_NO_AUTOINCR flag from rb1xx.c

Also add a compatibility patch for 3.3.

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

11 years agoadm5120: use mtd_read helper in trxsplit.c
juhosg [Tue, 1 Jan 2013 13:15:20 +0000 (13:15 +0000)]
adm5120: use mtd_read helper in trxsplit.c

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

11 years agoadm5120: don't include asm/system.h in adm5120-hcd.c
juhosg [Tue, 1 Jan 2013 13:15:16 +0000 (13:15 +0000)]
adm5120: don't include asm/system.h in adm5120-hcd.c

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

11 years agogeneric: add missing symbol for 3.7
juhosg [Tue, 1 Jan 2013 13:15:11 +0000 (13:15 +0000)]
generic: add missing symbol for 3.7

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

11 years agoar71xx: register the NAND flash controller device on the AP135/136 boards
juhosg [Tue, 1 Jan 2013 13:10:41 +0000 (13:10 +0000)]
ar71xx: register the NAND flash controller device on the AP135/136 boards

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

11 years agoar71xx: allow to register the NAND flash controller on the QCA955x
juhosg [Tue, 1 Jan 2013 13:10:36 +0000 (13:10 +0000)]
ar71xx: allow to register the NAND flash controller on the QCA955x

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

11 years agoar71xxx: allow to select ATH79_DEV_NFC for QCA955x
juhosg [Tue, 1 Jan 2013 13:10:34 +0000 (13:10 +0000)]
ar71xxx: allow to select ATH79_DEV_NFC for QCA955x

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

11 years agoar71xxx: allow to build the ar934x_nfc driver for QCA955x
juhosg [Tue, 1 Jan 2013 13:10:29 +0000 (13:10 +0000)]
ar71xxx: allow to build the ar934x_nfc driver for QCA955x

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

11 years agoar71xx: fix NAND controller base for QCA955x SoCs
juhosg [Tue, 1 Jan 2013 13:10:26 +0000 (13:10 +0000)]
ar71xx: fix NAND controller base for QCA955x SoCs

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

11 years agoar71xx: fold AP135 patch
juhosg [Tue, 1 Jan 2013 13:10:22 +0000 (13:10 +0000)]
ar71xx: fold AP135 patch

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

11 years agoipv6-support: Fix typo in dhcpv6-script
cyrus [Mon, 31 Dec 2012 09:38:59 +0000 (09:38 +0000)]
ipv6-support: Fix typo in dhcpv6-script
* thanks to KarlHegbloom for reporting

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

11 years ago[lantiq] adds missing symbol
blogic [Sun, 30 Dec 2012 21:31:10 +0000 (21:31 +0000)]
[lantiq] adds missing symbol

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

11 years agortc-rv5c386a: fix compilation for kernel >= 3.4
hauke [Sun, 30 Dec 2012 15:32:53 +0000 (15:32 +0000)]
rtc-rv5c386a: fix compilation for kernel >= 3.4

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

11 years agoacx-mac80211: fix compilation
hauke [Sun, 30 Dec 2012 15:28:28 +0000 (15:28 +0000)]
acx-mac80211: fix compilation

Some header files from mac80211 are now moved to the uapi dir.

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

11 years agouci: disable parallel builds again, the lua<->libuci dependency is not safe
nbd [Sun, 30 Dec 2012 14:58:37 +0000 (14:58 +0000)]
uci: disable parallel builds again, the lua<->libuci dependency is not safe

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

11 years ago[lantiq] fixes usb port on arv 4518
blogic [Sun, 30 Dec 2012 12:38:40 +0000 (12:38 +0000)]
[lantiq] fixes usb port on arv 4518

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

11 years agoramips: rt305x: fix garbled name in mach-mzk-w300nh2.c
juhosg [Sun, 30 Dec 2012 08:23:48 +0000 (08:23 +0000)]
ramips: rt305x: fix garbled name in mach-mzk-w300nh2.c

Signed-off-by: Samir Ibradžić <sibradzic@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34934 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: build firmware image for the Planex MZK-W300NH2 Router
juhosg [Sat, 29 Dec 2012 17:50:40 +0000 (17:50 +0000)]
ramips: build firmware image for the Planex MZK-W300NH2 Router

Signed-off-by: Samir Ibradžić <sibradzic@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3077/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34927 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: add user-space support for the Planex MZK-W300NH2 Router
juhosg [Sat, 29 Dec 2012 17:50:38 +0000 (17:50 +0000)]
ramips: add user-space support for the Planex MZK-W300NH2 Router

Signed-off-by: Samir Ibradžić <sibradzic@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3077/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34926 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: rt305x: add kernel support for the Planex MZK-W300NH2 Router
juhosg [Sat, 29 Dec 2012 17:50:35 +0000 (17:50 +0000)]
ramips: rt305x: add kernel support for the Planex MZK-W300NH2 Router

This is a Japanese market router, for details check
http://www.planex.co.jp/product/router/mzk-w300nh2/. It has only 16MB
RAM, but base OpenWRT install worked fine for days without issues.
Even an image with built-in Luci worked, but don't expect smooth
experience, due to the lack of RAM. Wifi was not extensively tested,
but seems it is working. GPIO LEDs & buttons, factory flash image and
switch config are confirmed working. Tested against revision 34882 +
this patch.

[juhosg: move user-space support and image generation changes into
separate patches]

Signed-off-by: Samir Ibradžić <sibradzic@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3077/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34925 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: build image for Airlive AIR3GII
juhosg [Sat, 29 Dec 2012 17:50:34 +0000 (17:50 +0000)]
ramips: build image for Airlive AIR3GII

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/2913/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34924 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: add user-space support for Airlive AIR3GII
juhosg [Sat, 29 Dec 2012 17:50:32 +0000 (17:50 +0000)]
ramips: add user-space support for Airlive AIR3GII

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/2913/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34923 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: rt305x: add kernel support for AirLive AIR3GII
juhosg [Sat, 29 Dec 2012 17:50:28 +0000 (17:50 +0000)]
ramips: rt305x: add kernel support for AirLive AIR3GII

AirLive AIR3GII is Ralink RT5350F based device with
100Mbps switch, USB port, 4MB flash and 32MB ram.

Works: ethernet (LAN & WAN), wps button, led, USB, sysupgrade
Does not work: wifi (chip RT5350), reset button

[   13.390000] phy0 -> rt2800_init_eeprom: Error - Invalid RT chipset 0x5350 detected.
[   13.400000] phy0 -> rt2x00lib_probe_dev: Error - Failed to allocate device.

Other problem: LAN leds is reverse (lights when not cable
connected and vice versa)

[juhosg: move user-space support and image generation changes into
separate patches]

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/2913/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34922 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoar71xx: add support for 3.7
juhosg [Sat, 29 Dec 2012 16:02:31 +0000 (16:02 +0000)]
ar71xx: add support for 3.7

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

11 years agoar71xx: Build the AP135 images
juhosg [Sat, 29 Dec 2012 16:02:28 +0000 (16:02 +0000)]
ar71xx: Build the AP135 images

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34919 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoar71xx: Add userspace support for AP135
juhosg [Sat, 29 Dec 2012 16:02:27 +0000 (16:02 +0000)]
ar71xx: Add userspace support for AP135

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34918 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoar71xx: Add support for AP135
juhosg [Sat, 29 Dec 2012 16:02:24 +0000 (16:02 +0000)]
ar71xx: Add support for AP135

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34917 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoar71xx: use a backported patch to fix AR933x UART baud rate calculation
juhosg [Sat, 29 Dec 2012 13:52:38 +0000 (13:52 +0000)]
ar71xx: use a backported patch to fix AR933x UART baud rate calculation

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

11 years agocmake.mk: add support for overriding the source dir, and define the cmake prefix...
nbd [Sat, 29 Dec 2012 11:12:31 +0000 (11:12 +0000)]
cmake.mk: add support for overriding the source dir, and define the cmake prefix path to avoid picking up host libraries for target builds (patch by Henning Rogge)

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

11 years agoipv6-support: Use more consistent default values
cyrus [Sat, 29 Dec 2012 10:12:31 +0000 (10:12 +0000)]
ipv6-support: Use more consistent default values

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

11 years agoar71xx: change the unaligned access hack to assume an alignment of 2 bytes, slightly...
nbd [Fri, 28 Dec 2012 21:30:24 +0000 (21:30 +0000)]
ar71xx: change the unaligned access hack to assume an alignment of 2 bytes, slightly improves performance and code size

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

11 years agomac80211: refresh patches
nbd [Fri, 28 Dec 2012 21:05:57 +0000 (21:05 +0000)]
mac80211: refresh patches

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

11 years agomac80211: assume 2-byte aligning for 802.11 packets, slightly improves code size...
nbd [Fri, 28 Dec 2012 21:05:49 +0000 (21:05 +0000)]
mac80211: assume 2-byte aligning for 802.11 packets, slightly improves code size and performance

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

11 years agomips: use -mno-branch-likely for kernel and userspace, saves ~11k kernel size after...
nbd [Fri, 28 Dec 2012 19:17:19 +0000 (19:17 +0000)]
mips: use -mno-branch-likely for kernel and userspace, saves ~11k kernel size after lzma and ~12k squashfs size in the default configuration

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

11 years agoipv6-support: Updated functionality
cyrus [Fri, 28 Dec 2012 12:02:22 +0000 (12:02 +0000)]
ipv6-support: Updated functionality
* Add site-border feature again
* Add option to always announce a default router

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

11 years ago6distributed: Add null-route for delegated prefix
cyrus [Fri, 28 Dec 2012 12:02:17 +0000 (12:02 +0000)]
6distributed: Add null-route for delegated prefix
* Fixes forwarding loops for unused subprefixes

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

11 years ago6relayd: Announce DNS search domain via DHCPv6
cyrus [Fri, 28 Dec 2012 12:02:12 +0000 (12:02 +0000)]
6relayd: Announce DNS search domain via DHCPv6

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

11 years agokernel: remove the cisco SIP NAT patch, at least on 3.6 it crashes
nbd [Thu, 27 Dec 2012 22:59:51 +0000 (22:59 +0000)]
kernel: remove the cisco SIP NAT patch, at least on 3.6 it crashes

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

11 years agobrcm47xx: bcma: correct M25P32 serial flash ID
hauke [Thu, 27 Dec 2012 19:18:40 +0000 (19:18 +0000)]
brcm47xx: bcma: correct M25P32 serial flash ID

Thank you Rafał Miłecki.

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

11 years agouci: update to latest version (adds list delete support), enable parallel build
nbd [Thu, 27 Dec 2012 17:37:10 +0000 (17:37 +0000)]
uci: update to latest version (adds list delete support), enable parallel build

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

11 years agoipv6-support: Remove site-border feature
cyrus [Thu, 27 Dec 2012 15:47:53 +0000 (15:47 +0000)]
ipv6-support: Remove site-border feature
* was causing routing problems
* will be reimplemented using firewall

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

11 years agoRemove site-border routing filter due to problems
cyrus [Thu, 27 Dec 2012 15:47:47 +0000 (15:47 +0000)]
Remove site-border routing filter due to problems

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

11 years agoipv6-support:
cyrus [Thu, 27 Dec 2012 14:10:17 +0000 (14:10 +0000)]
ipv6-support:
* Automatically detect and propagate MTU from upstream interfaces
* Add site-border feature (RFC 6204, ULA-4)
* Fix a typo

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

11 years ago6distributed: feature update
cyrus [Thu, 27 Dec 2012 14:10:12 +0000 (14:10 +0000)]
6distributed: feature update
* Add feature to decrease IPv6-specific MTU on-demand
* Add commands to enable / disable a site-border

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

11 years ago6relayd: Advertise IPv6-specific MTU instead of generic
cyrus [Thu, 27 Dec 2012 14:10:07 +0000 (14:10 +0000)]
6relayd: Advertise IPv6-specific MTU instead of generic
* Fixes announced MTU when using tunnels

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

11 years agobase-files: Fix a typo in config_list_foreach
cyrus [Thu, 27 Dec 2012 14:10:01 +0000 (14:10 +0000)]
base-files: Fix a typo in config_list_foreach

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

11 years agompc83xx: add support for 3.7
juhosg [Wed, 26 Dec 2012 10:40:54 +0000 (10:40 +0000)]
mpc83xx: add support for 3.7

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

11 years agompc83xx: nuke 3.3 support
juhosg [Wed, 26 Dec 2012 10:40:51 +0000 (10:40 +0000)]
mpc83xx: nuke 3.3 support

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

11 years agompc83xx: switch to 3.6.11
juhosg [Wed, 26 Dec 2012 10:40:50 +0000 (10:40 +0000)]
mpc83xx: switch to 3.6.11

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

11 years agompc83xx: add support for 3.6
juhosg [Wed, 26 Dec 2012 10:40:48 +0000 (10:40 +0000)]
mpc83xx: add support for 3.6

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

11 years agompc83xx: create package for the rbppc_cf module
juhosg [Wed, 26 Dec 2012 10:40:47 +0000 (10:40 +0000)]
mpc83xx: create package for the rbppc_cf module

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

11 years agogeneric: more missing symbols for 3.{6,7}
juhosg [Wed, 26 Dec 2012 10:40:41 +0000 (10:40 +0000)]
generic: more missing symbols for 3.{6,7}

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

11 years agoar71xx: build image for the AP136-020
juhosg [Wed, 26 Dec 2012 09:50:37 +0000 (09:50 +0000)]
ar71xx: build image for the AP136-020

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

11 years agoar71xx: add user-space support for AP136-020
juhosg [Wed, 26 Dec 2012 09:50:36 +0000 (09:50 +0000)]
ar71xx: add user-space support for AP136-020

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

11 years agoar71xx: add kernel support for the AP136-020 board
juhosg [Wed, 26 Dec 2012 09:50:34 +0000 (09:50 +0000)]
ar71xx: add kernel support for the AP136-020 board

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

11 years agoar71xx: rename AP136 to AP136-010
juhosg [Wed, 26 Dec 2012 09:50:31 +0000 (09:50 +0000)]
ar71xx: rename AP136 to AP136-010

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

11 years agoar71xx: dynamically set AR8327's PAD configuration on AP136
juhosg [Tue, 25 Dec 2012 18:45:32 +0000 (18:45 +0000)]
ar71xx: dynamically set AR8327's PAD configuration on AP136

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

11 years agogeneric: ar8216: add sgmii_delay_en field to ar8327_platform_data
juhosg [Tue, 25 Dec 2012 18:45:31 +0000 (18:45 +0000)]
generic: ar8216: add sgmii_delay_en field to ar8327_platform_data

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

11 years agoar71xx: ag71xx: show PHY interface mode in dmesg
juhosg [Tue, 25 Dec 2012 18:45:29 +0000 (18:45 +0000)]
ar71xx: ag71xx: show PHY interface mode in dmesg

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

11 years agoramips: fix ASUS WL-330N3G MAC address
juhosg [Mon, 24 Dec 2012 06:52:41 +0000 (06:52 +0000)]
ramips: fix ASUS WL-330N3G MAC address

The ASUS WL-330N and WL-330N3G has the MAC address stored at
offset 4, not 40. This is verified by reading original ASUS
firmware GPL_WL-330N3G_source.1028/user/rc/common_ex.c and
GPL_WL-330N_source.1021/user/rc/common_ex.c.

Tested on WL-330N3G, it now gets the same MAC as is printed on
the label on the router.

Signed-off-by: Jan Kardell <jan.kardell@arkub.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34877 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: fix wifi EEPROM extraction on DIR-615-Dx models
juhosg [Mon, 24 Dec 2012 06:52:38 +0000 (06:52 +0000)]
ramips: fix wifi EEPROM extraction on DIR-615-Dx models

Patch from #12636.

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

11 years agobase-files: ipcalc.sh: fix broken calculations on 64bit systems
jow [Sun, 23 Dec 2012 22:18:43 +0000 (22:18 +0000)]
base-files: ipcalc.sh: fix broken calculations on 64bit systems

Calculate complements by using awk's xor() function with a mask of 0xffffffff
instead of relying on the compl() function which appears to produce broken
results on certain 64bit architectures.

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

11 years ago[cns3xxx]: add nol2x0 cmdline to disable l2x0 cache
kaloz [Sun, 23 Dec 2012 18:53:38 +0000 (18:53 +0000)]
[cns3xxx]: add nol2x0 cmdline to disable l2x0 cache

L2 cache via L2X0 cache controller available on some ARM boards can
provide a performance boost in some situations but decrease performance
in others.  This adds a kernel cmdline to disable L2X0 for cns3xxx based
boards.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34874 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoipv6-support: Fix default RA settings for dnsmasq
cyrus [Sun, 23 Dec 2012 18:22:48 +0000 (18:22 +0000)]
ipv6-support: Fix default RA settings for dnsmasq

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

11 years agobusybox: (vconfig) do not attempt to open /proc/net/vlan/config for no good reason...
nbd [Sun, 23 Dec 2012 10:59:57 +0000 (10:59 +0000)]
busybox: (vconfig) do not attempt to open /proc/net/vlan/config for no good reason (fixes #12663)

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

11 years agobuild: reduce the size of package metadata a bit to keep package list files smaller
nbd [Sat, 22 Dec 2012 19:56:21 +0000 (19:56 +0000)]
build: reduce the size of package metadata a bit to keep package list files smaller

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

11 years agotools/ipkg-utils: remove some unnecessary field checks
nbd [Sat, 22 Dec 2012 19:56:17 +0000 (19:56 +0000)]
tools/ipkg-utils: remove some unnecessary field checks

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

11 years agoopkg: keep package list files compressed when src/gz is used, reduces tmpfs usage
nbd [Sat, 22 Dec 2012 19:31:37 +0000 (19:31 +0000)]
opkg: keep package list files compressed when src/gz is used, reduces tmpfs usage

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

11 years agobuild: remove the default useless MAINTAINER value
nbd [Sat, 22 Dec 2012 18:56:16 +0000 (18:56 +0000)]
build: remove the default useless MAINTAINER value

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