openwrt.git
12 years agoar71xx: tplinkpart: allow to detect JFFS2 as well
juhosg [Thu, 15 Dec 2011 22:03:40 +0000 (22:03 +0000)]
ar71xx: tplinkpart: allow to detect JFFS2 as well

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

12 years agoar71xx: ag71xx: check PHY IDs before accessing the switch registers
juhosg [Thu, 15 Dec 2011 13:25:23 +0000 (13:25 +0000)]
ar71xx: ag71xx: check PHY IDs before accessing the switch registers

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

12 years agoar71xx: ag71xx: don't use port 4 of the switch, it is not connected on ar724x
juhosg [Thu, 15 Dec 2011 13:25:21 +0000 (13:25 +0000)]
ar71xx: ag71xx: don't use port 4 of the switch, it is not connected on ar724x

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

12 years agoar71xx: ag71xx: nuke ar7240sw_init
juhosg [Thu, 15 Dec 2011 13:25:20 +0000 (13:25 +0000)]
ar71xx: ag71xx: nuke ar7240sw_init

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

12 years agoar71xx: fix mac addresses on jjPlus devices
juhosg [Thu, 15 Dec 2011 13:25:18 +0000 (13:25 +0000)]
ar71xx: fix mac addresses on jjPlus devices

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

12 years agoath9k: fix a locking issue
nbd [Wed, 14 Dec 2011 21:03:52 +0000 (21:03 +0000)]
ath9k: fix a locking issue

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

12 years agoar71xx: build image for the Hornet-UB board
juhosg [Wed, 14 Dec 2011 20:54:11 +0000 (20:54 +0000)]
ar71xx: build image for the Hornet-UB board

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

12 years agoar71xx: add support for ALFA Network's Hornet-UB board
juhosg [Wed, 14 Dec 2011 20:54:10 +0000 (20:54 +0000)]
ar71xx: add support for ALFA Network's Hornet-UB board

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

12 years agoar71xx: add GPIO function bit defines for AR933X
juhosg [Wed, 14 Dec 2011 20:54:07 +0000 (20:54 +0000)]
ar71xx: add GPIO function bit defines for AR933X

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

12 years agoramips: add support for Omnima MiniEMBWiFi board
juhosg [Wed, 14 Dec 2011 20:51:26 +0000 (20:51 +0000)]
ramips: add support for Omnima MiniEMBWiFi board

This patch adds support for the Omnima MiniEMBWiFi
Ralink RT3050F based board.

Based on a patch by Ivan Ignjatic <ivan at omnima.co.uk>

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

12 years agoar71xx: fix gpio count for ar7241/ar7242
nbd [Wed, 14 Dec 2011 20:47:24 +0000 (20:47 +0000)]
ar71xx: fix gpio count for ar7241/ar7242

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

12 years agoar71xx: register extra leds behind the wireless mac on wzr-hp-g450h
nbd [Wed, 14 Dec 2011 20:21:42 +0000 (20:21 +0000)]
ar71xx: register extra leds behind the wireless mac on wzr-hp-g450h

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

12 years agoath9k: add support for registering extra leds connected to the wmac gpio lines
nbd [Wed, 14 Dec 2011 20:21:36 +0000 (20:21 +0000)]
ath9k: add support for registering extra leds connected to the wmac gpio lines

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

12 years agoar71xx: get rid of squashfs-4k images
juhosg [Tue, 13 Dec 2011 20:41:24 +0000 (20:41 +0000)]
ar71xx: get rid of squashfs-4k images

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

12 years agogeneric: disable 'small sector' erase in m25p80 driver
juhosg [Tue, 13 Dec 2011 20:41:22 +0000 (20:41 +0000)]
generic: disable 'small sector' erase in m25p80 driver

This fixes the issues with the jffs2 images on various boards. Using
JFFS2 on devices with 4KiB erase sectors is not safe:
http://lists.infradead.org/pipermail/linux-mtd/2011-June/036591.html

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

12 years agoimage: increase squashfs block size - visibly reduces image size in many cases
nbd [Tue, 13 Dec 2011 15:34:08 +0000 (15:34 +0000)]
image: increase squashfs block size - visibly reduces image size in many cases

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

12 years ago[package] kernel: rename kmod-switch-rtl8366_smi to kmod-switch-rtl8366-smi to avoid...
jow [Tue, 13 Dec 2011 15:29:45 +0000 (15:29 +0000)]
[package] kernel: rename kmod-switch-rtl8366_smi to kmod-switch-rtl8366-smi to avoid underscores in package names

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

12 years agokernel: move linux/ath9k_platform.h to generic files so that it can be reused from...
nbd [Tue, 13 Dec 2011 15:14:59 +0000 (15:14 +0000)]
kernel: move linux/ath9k_platform.h to generic files so that it can be reused from other targets

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

12 years agoar71xx: fix wireless led on wzr-hp-g450h
nbd [Tue, 13 Dec 2011 15:00:43 +0000 (15:00 +0000)]
ar71xx: fix wireless led on wzr-hp-g450h

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

12 years agoar71xx: enable AR9341 support at setup.c
juhosg [Tue, 13 Dec 2011 14:59:43 +0000 (14:59 +0000)]
ar71xx: enable AR9341 support at setup.c

Patch-by: dyq <729650915@qq.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29514 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoar71xx: Build images for Netgear WNDRMAC and WNDRMACv2
juhosg [Tue, 13 Dec 2011 14:59:40 +0000 (14:59 +0000)]
ar71xx: Build images for Netgear WNDRMAC and WNDRMACv2

The WNDRMAC is a WNDR3700v2 (64MB RAM, 16MB flash) in a white case. The
WNDRMACv2 is a WNDR3800 (128MB RAM, 16MB flash) in a WNDRMAC case.

The WNDRMAC case doesn't have "holes" or labels for the 2.4GHz LED or
switch ports 2-4. The stock firmware uses a single LED (in the 5GHz
position) to indicate the status of both radios, and a single LED (in the
switch port 1 position) to indicate the status of all LAN ports. The
"missing" LEDs are present on the board, and easily shine through the
case. Unlike the stock firmware, OpenWrt will use these "hidden" LEDs.

I've tested the WNDRMACv2 image. I don't have a v1 WNDRMAC, but assume
that this is sufficient to build a fully-functional image.

Signed-off-by: Mark Mentovai <mark@moxienet.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29513 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agobusybox: disable "mesg" by default
nbd [Tue, 13 Dec 2011 13:51:05 +0000 (13:51 +0000)]
busybox: disable "mesg" by default

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

12 years agoar71xx: add gpios and usb for wzr-hp-g450h
nbd [Tue, 13 Dec 2011 13:33:44 +0000 (13:33 +0000)]
ar71xx: add gpios and usb for wzr-hp-g450h

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

12 years ago[package] hostapd: support optional argument for the -v switch of hostapd and wpa_sup...
jow [Mon, 12 Dec 2011 17:26:13 +0000 (17:26 +0000)]
[package] hostapd: support optional argument for the -v switch of hostapd and wpa_supplicant to query build features, e.g. hostapd -veap to test whether 802.11i support is compiled in

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

12 years agomac80211: make mesh support optional
nbd [Mon, 12 Dec 2011 14:42:35 +0000 (14:42 +0000)]
mac80211: make mesh support optional

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

12 years agoar71xx: use RedBoot parser on PB44
juhosg [Sun, 11 Dec 2011 15:52:47 +0000 (15:52 +0000)]
ar71xx: use RedBoot parser on PB44

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

12 years agoinclude/package-ipkg.mk: fix typo in r29449
nico [Sat, 10 Dec 2011 22:02:50 +0000 (22:02 +0000)]
include/package-ipkg.mk: fix typo in r29449

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

12 years agomac80211: merge another upstream aggregation fix
nbd [Sat, 10 Dec 2011 21:17:19 +0000 (21:17 +0000)]
mac80211: merge another upstream aggregation fix

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

12 years agoath9k: disable bluetooth coexistence support to reduce module size
nbd [Sat, 10 Dec 2011 21:17:12 +0000 (21:17 +0000)]
ath9k: disable bluetooth coexistence support to reduce module size

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

12 years agoath9k: improve handling of blockackreq (should improve aggregation behavior under...
nbd [Sat, 10 Dec 2011 21:17:07 +0000 (21:17 +0000)]
ath9k: improve handling of blockackreq (should improve aggregation behavior under tough wifi conditions with lots of retransmission)

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

12 years agomac80211: merge an upstream fix for an aggregation related race condition
nbd [Sat, 10 Dec 2011 21:16:58 +0000 (21:16 +0000)]
mac80211: merge an upstream fix for an aggregation related race condition

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

12 years ago[atheros] convert to gpiolib
blogic [Fri, 9 Dec 2011 07:52:10 +0000 (07:52 +0000)]
[atheros] convert to gpiolib

Signed-off-by: karlp@tweak.net.au

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

12 years agomac80211: add support for firmware 666.2 for b43 devices
hauke [Thu, 8 Dec 2011 22:53:13 +0000 (22:53 +0000)]
mac80211: add support for firmware 666.2 for b43 devices

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

12 years ago[package] librpc: do not build if external or native toolchains are used
jow [Thu, 8 Dec 2011 16:49:45 +0000 (16:49 +0000)]
[package] librpc: do not build if external or native toolchains are used

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

12 years agoar71xx: fix WNDR3x00 factory image generation
juhosg [Wed, 7 Dec 2011 06:55:50 +0000 (06:55 +0000)]
ar71xx: fix WNDR3x00 factory image generation

Factory images for WNDR3700v2 and WNDR3800 should contain these model IDs
for the device: field in their DNI tags, not WNDR3700.

This regressed in r29434, which redid WNDR3x00 model detection. The sixth
parameter to Image/Build/Netgear is only used as the -B argument to
mkdniimg, which is used to set the device: field. In r29434, this was
erroneously changed to be WNDR3700 for all models. The tools to flash
factory images (U-Boot's TFTP server and the factory software's upgrade
utility) may refuse to honor images with incorrect device: fields in their
DNI tags.

Signed-off-by: Mark Mentovai <mark@moxienet.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29473 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoar71xx: fix WNDR3x00 model detection
juhosg [Wed, 7 Dec 2011 06:55:39 +0000 (06:55 +0000)]
ar71xx: fix WNDR3x00 model detection

Detect the model name for /tmp/sysinfo/model based on 10 bytes at offset
56 in the art (caldata) mtd partition.

r29434 redid WNDR3x00 model detection, attempting to distinguish between
WNDR3700v2 and WNDR3800 by checking MemTotal in /proc/meminfo. However, it
contained a bug: it put the awk inside a $(...), with the result that all
WNDR3700v2 and WNDR3800 models would be reported as WNDR3800. This patch
checks the model name stored in the art partition, as is done by U-Boot
shipping on the WNDR3800. It has the likely advantage of working with
future models based on the WNDR3700 board. It also will not mis-detect
units on which people install more memory.

I have tested this patch on WNDR3700 (v1), WNDR3700v2, and WNDR3800.

Signed-off-by: Mark Mentovai <mark@moxienet.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29472 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoramips: fix mac addresses on the DIR-300/600 boards
juhosg [Tue, 6 Dec 2011 20:06:08 +0000 (20:06 +0000)]
ramips: fix mac addresses on the DIR-300/600 boards

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

12 years agolinux: update 3.1 to 3.1.4
jogo [Tue, 6 Dec 2011 19:50:30 +0000 (19:50 +0000)]
linux: update 3.1 to 3.1.4

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

12 years agolinux: update 3.0 to 3.0.12
jogo [Tue, 6 Dec 2011 19:50:25 +0000 (19:50 +0000)]
linux: update 3.0 to 3.0.12

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

12 years agoar71xx: create firmware image for the TL-WR740N/ND v4 boards
juhosg [Tue, 6 Dec 2011 16:26:44 +0000 (16:26 +0000)]
ar71xx: create firmware image for the TL-WR740N/ND v4 boards

Based on a patch by Cristian Deluxe <djcristiandeluxe@gmail.com>

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

12 years agoar71xx: use hw_id, hw_rev and flash_layout with mktplinkfw
juhosg [Tue, 6 Dec 2011 16:26:43 +0000 (16:26 +0000)]
ar71xx: use hw_id, hw_rev and flash_layout with mktplinkfw

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

12 years agotools/mktplinkfw: allow to specify hw_id, hw_rev and flash_layout
juhosg [Tue, 6 Dec 2011 16:26:41 +0000 (16:26 +0000)]
tools/mktplinkfw: allow to specify hw_id, hw_rev and flash_layout

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

12 years agoubus: update to the latest version
nbd [Tue, 6 Dec 2011 16:00:00 +0000 (16:00 +0000)]
ubus: update to the latest version

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

12 years agolibubox: update to latest version, fix some endian issues
nbd [Tue, 6 Dec 2011 15:59:53 +0000 (15:59 +0000)]
libubox: update to latest version, fix some endian issues

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

12 years agoar71xx: fix TL-MR3x20 profile names in image/Makefile
juhosg [Tue, 6 Dec 2011 13:53:21 +0000 (13:53 +0000)]
ar71xx: fix TL-MR3x20 profile names in image/Makefile

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

12 years ago[package] iwinfo: support nl80211 hardware identification against radioX pseudo inter...
jow [Tue, 6 Dec 2011 13:24:47 +0000 (13:24 +0000)]
[package] iwinfo: support nl80211 hardware identification against radioX pseudo interfaces, useful if radio is not up yet

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

12 years agoar71xx: cleanup TP-Link profiles
juhosg [Tue, 6 Dec 2011 10:29:25 +0000 (10:29 +0000)]
ar71xx: cleanup TP-Link profiles

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

12 years agomac80211: merge some pending fixes, fixes skb leaks and some warnings
nbd [Mon, 5 Dec 2011 22:12:16 +0000 (22:12 +0000)]
mac80211: merge some pending fixes, fixes skb leaks and some warnings

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

12 years agoar71xx: add TP-Link board detection
juhosg [Mon, 5 Dec 2011 21:11:01 +0000 (21:11 +0000)]
ar71xx: add TP-Link board detection

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

12 years agoar71xx: use correct mac on the lan interface on several TP-LINK devices
juhosg [Mon, 5 Dec 2011 21:10:58 +0000 (21:10 +0000)]
ar71xx: use correct mac on the lan interface on several TP-LINK devices

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

12 years agoar71xx: allow to pass negative offset values for ar71xx_init_mac
juhosg [Mon, 5 Dec 2011 21:10:55 +0000 (21:10 +0000)]
ar71xx: allow to pass negative offset values for ar71xx_init_mac

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

12 years agoar71xx: don't register PCI controller on AR934x if PCIE_RC bit is not set
juhosg [Mon, 5 Dec 2011 18:21:15 +0000 (18:21 +0000)]
ar71xx: don't register PCI controller on AR934x if PCIE_RC bit is not set

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

12 years agoar71xx: verify hardware id of firmware images on TP-Link boards
juhosg [Mon, 5 Dec 2011 18:11:51 +0000 (18:11 +0000)]
ar71xx: verify hardware id of firmware images on TP-Link boards

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

12 years agoramips: set mac addresses for the NBG-419N
juhosg [Mon, 5 Dec 2011 17:27:07 +0000 (17:27 +0000)]
ramips: set mac addresses for the NBG-419N

Based on a patch by Nerijus Baliunas <nerijus@users.sourceforge.net>

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

12 years agoramips: set preinit interface mac on the hw550-3g board
juhosg [Mon, 5 Dec 2011 17:27:06 +0000 (17:27 +0000)]
ramips: set preinit interface mac on the hw550-3g board

Based on a patch by Daniel Golle <dgolle@allnet.de>

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

12 years agoramips: use ramips_get_mac_* functions in the preinit script
juhosg [Mon, 5 Dec 2011 17:27:04 +0000 (17:27 +0000)]
ramips: use ramips_get_mac_* functions in the preinit script

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

12 years agoramips: move ramips_get_mac_* functions to lib/ramips.sh
juhosg [Mon, 5 Dec 2011 17:27:03 +0000 (17:27 +0000)]
ramips: move ramips_get_mac_* functions to lib/ramips.sh

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

12 years agoramips: add ramips_ prefix to get_mac_{binary,nvram} functions
juhosg [Mon, 5 Dec 2011 17:27:02 +0000 (17:27 +0000)]
ramips: add ramips_ prefix to get_mac_{binary,nvram} functions

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

12 years agoinclude/package-ipkg.mk: don't add vi backup files to packages
juhosg [Mon, 5 Dec 2011 17:27:00 +0000 (17:27 +0000)]
include/package-ipkg.mk: don't add vi backup files to packages

Also remove trailing whitespaces.

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

12 years agoramips: fix network configuration setup
juhosg [Mon, 5 Dec 2011 16:54:48 +0000 (16:54 +0000)]
ramips: fix network configuration setup

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

12 years agoar71xx: reclaim some unused space on TP-Link boards
juhosg [Mon, 5 Dec 2011 14:52:36 +0000 (14:52 +0000)]
ar71xx: reclaim some unused space on TP-Link boards

With the default OpenWrt configuration, this increases the size
of the rootfs_data partition by 384KB/128KB on the older/newer
TP-Link models.

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

12 years agoar71xx: check squashfs signature in TP-Link mtd parser
juhosg [Mon, 5 Dec 2011 14:52:33 +0000 (14:52 +0000)]
ar71xx: check squashfs signature in TP-Link mtd parser

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

12 years agofirmware-utils/mktplinkfw: allow to align the rootfs on a specified boundary
juhosg [Mon, 5 Dec 2011 14:52:31 +0000 (14:52 +0000)]
firmware-utils/mktplinkfw: allow to align the rootfs on a specified boundary

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

12 years agoar71xx: use the lzma-loader on TP-Link boards w/o lzma support
juhosg [Mon, 5 Dec 2011 14:52:28 +0000 (14:52 +0000)]
ar71xx: use the lzma-loader on TP-Link boards w/o lzma support

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

12 years agoar71xx: add lzma loader
juhosg [Mon, 5 Dec 2011 14:52:25 +0000 (14:52 +0000)]
ar71xx: add lzma loader

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

12 years agotools/mkimage: allow to use different magic in uImages
juhosg [Mon, 5 Dec 2011 14:52:22 +0000 (14:52 +0000)]
tools/mkimage: allow to use different magic in uImages

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

12 years agoar71xx: add preliminary support for wzr-hp-g450h
nbd [Mon, 5 Dec 2011 14:20:51 +0000 (14:20 +0000)]
ar71xx: add preliminary support for wzr-hp-g450h

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

12 years agoar71xx: move multi-m25p80 concat code from wzr-hp-ag300h mach code to dev-m25p80...
nbd [Mon, 5 Dec 2011 14:20:44 +0000 (14:20 +0000)]
ar71xx: move multi-m25p80 concat code from wzr-hp-ag300h mach code to dev-m25p80.c, other buffalo routers use it as well

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

12 years agonetifd: update to latest version, fixes some use-after-free issues
nbd [Mon, 5 Dec 2011 14:20:39 +0000 (14:20 +0000)]
netifd: update to latest version, fixes some use-after-free issues

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

12 years agoath9k: fix antenna configuration on ar9285 for devices without antenna diversity
nbd [Mon, 5 Dec 2011 14:20:34 +0000 (14:20 +0000)]
ath9k: fix antenna configuration on ar9285 for devices without antenna diversity

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

12 years agoath9k: fix 5/10 mhz channel bandwidth issues
nbd [Mon, 5 Dec 2011 14:20:25 +0000 (14:20 +0000)]
ath9k: fix 5/10 mhz channel bandwidth issues

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

12 years agomac80211: update to 2011-12-01
nbd [Mon, 5 Dec 2011 14:20:17 +0000 (14:20 +0000)]
mac80211: update to 2011-12-01

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

12 years agoar71xx: rewrite WNDR3700/3800 handling
juhosg [Mon, 5 Dec 2011 13:03:54 +0000 (13:03 +0000)]
ar71xx: rewrite WNDR3700/3800 handling

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

12 years ago[ar71xx] add some missing wndr3800 base-files definitions
jow [Mon, 5 Dec 2011 12:56:21 +0000 (12:56 +0000)]
[ar71xx] add some missing wndr3800 base-files definitions

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

12 years agoar71xx: change user-space board detection
juhosg [Mon, 5 Dec 2011 12:56:20 +0000 (12:56 +0000)]
ar71xx: change user-space board detection

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

12 years agoar71xx: allow WNDR3700 image creation to fail if kernel/rootfs too big
juhosg [Mon, 5 Dec 2011 12:47:53 +0000 (12:47 +0000)]
ar71xx: allow WNDR3700 image creation to fail if kernel/rootfs too big

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

12 years ago[package] iwinfo: factor tx power offset into power level listing
jow [Sun, 4 Dec 2011 22:04:00 +0000 (22:04 +0000)]
[package] iwinfo: factor tx power offset into power level listing

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

12 years ago[package] iwinfo: expose txpower and frequency offset information
jow [Sun, 4 Dec 2011 20:37:01 +0000 (20:37 +0000)]
[package] iwinfo: expose txpower and frequency offset information

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

12 years ago[package] iwinfo: populate tx power offsets for most ubnt devices, add NSM2/5 and...
jow [Sun, 4 Dec 2011 19:44:47 +0000 (19:44 +0000)]
[package] iwinfo: populate tx power offsets for most ubnt devices, add NSM2/5 and BM2/5

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

12 years ago[package] iwinfo: fix model detection on legacy atheros
jow [Sun, 4 Dec 2011 18:11:57 +0000 (18:11 +0000)]
[package] iwinfo: fix model detection on legacy atheros

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

12 years agoramips: fix argus board rootfs size
juhosg [Sun, 4 Dec 2011 15:24:57 +0000 (15:24 +0000)]
ramips: fix argus board rootfs size

Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29422 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years ago[package] iwinfo: add initial hardware detection capabilities
jow [Sun, 4 Dec 2011 03:42:17 +0000 (03:42 +0000)]
[package] iwinfo: add initial hardware detection capabilities

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

12 years ago[package] libiwinfo: fix hw mode detection
jow [Sat, 3 Dec 2011 18:13:38 +0000 (18:13 +0000)]
[package] libiwinfo: fix hw mode detection

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

12 years agoar71xx: use the tp-link parser on the tp-link boards
juhosg [Sat, 3 Dec 2011 18:13:31 +0000 (18:13 +0000)]
ar71xx: use the tp-link parser on the tp-link boards

Also remove static partition maps.

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

12 years agoar71xx: add mtd partition parser for the TP-Link boards
juhosg [Sat, 3 Dec 2011 18:13:27 +0000 (18:13 +0000)]
ar71xx: add mtd partition parser for the TP-Link boards

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

12 years agoar71xx: run the RedBoot parser only on the RedBoot based boards
juhosg [Sat, 3 Dec 2011 18:13:25 +0000 (18:13 +0000)]
ar71xx: run the RedBoot parser only on the RedBoot based boards

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

12 years agoar71xx: run the MyLoader parser only on the WP543 board
juhosg [Sat, 3 Dec 2011 18:13:23 +0000 (18:13 +0000)]
ar71xx: run the MyLoader parser only on the WP543 board

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

12 years agoar71xx: run the wrt160nl parser only on the WRT160NL board
juhosg [Sat, 3 Dec 2011 18:13:20 +0000 (18:13 +0000)]
ar71xx: run the wrt160nl parser only on the WRT160NL board

Also remove static mtd partition definitions.

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

12 years agoar71xx: allow to pass part_probe types to the m25p80 driver
juhosg [Sat, 3 Dec 2011 18:13:18 +0000 (18:13 +0000)]
ar71xx: allow to pass part_probe types to the m25p80 driver

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

12 years agoar71xx: create initramfs images for the newer TP-Link boards
juhosg [Sat, 3 Dec 2011 16:57:23 +0000 (16:57 +0000)]
ar71xx: create initramfs images for the newer TP-Link boards

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

12 years agofirmware-utils/mktplinkfw: fix combined image creation
juhosg [Sat, 3 Dec 2011 16:57:21 +0000 (16:57 +0000)]
firmware-utils/mktplinkfw: fix combined image creation

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

12 years agoar71xx: remove swconfig and wpad-mini from custom profiles
juhosg [Sat, 3 Dec 2011 16:33:41 +0000 (16:33 +0000)]
ar71xx: remove swconfig and wpad-mini from custom profiles

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

12 years agoar71xx: add uboot-envtools to the default package list
juhosg [Sat, 3 Dec 2011 16:33:40 +0000 (16:33 +0000)]
ar71xx: add uboot-envtools to the default package list

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

12 years agoar71xx: reclaim unused space in WNDR3700/3800 images
juhosg [Sat, 3 Dec 2011 16:33:38 +0000 (16:33 +0000)]
ar71xx: reclaim unused space in WNDR3700/3800 images

Patch by: Mark Mentovai <mark@moxienet.com>

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

12 years ago[package] add libiwinfo (moved from LuCI trunk)
jow [Sat, 3 Dec 2011 13:57:38 +0000 (13:57 +0000)]
[package] add libiwinfo (moved from LuCI trunk)

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

12 years agoar71xx: add a profile and build image for the OM2P board
juhosg [Thu, 1 Dec 2011 22:49:05 +0000 (22:49 +0000)]
ar71xx: add a profile and build image for the OM2P board

[juhosg: the name of the final image has been changed to
'openwrt-ar71xx-generic-om2p-squashfs-factory.bin']

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29397 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoscripts: add a script for generating fwupgrade config for the OM2P board
juhosg [Thu, 1 Dec 2011 22:49:03 +0000 (22:49 +0000)]
scripts: add a script for generating fwupgrade config for the OM2P board

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29396 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoar71xx: add support for Ubiquiti AirRouter
juhosg [Thu, 1 Dec 2011 22:49:02 +0000 (22:49 +0000)]
ar71xx: add support for Ubiquiti AirRouter

Signed-off-by: Gergely Barta <gergely.barta@printerfairkft.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29395 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoar71xx: configure default led behavior for the OM2P
juhosg [Thu, 1 Dec 2011 22:48:59 +0000 (22:48 +0000)]
ar71xx: configure default led behavior for the OM2P

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29394 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoramips: enable sysupgrade on the RT-N15 board
juhosg [Thu, 1 Dec 2011 22:48:58 +0000 (22:48 +0000)]
ramips: enable sysupgrade on the RT-N15 board

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