openwrt/staging/thess.git
12 years agoar71xx: enable AR9341 support at setup.c
Gabor Juhos [Tue, 13 Dec 2011 14:59:43 +0000 (14:59 +0000)]
ar71xx: enable AR9341 support at setup.c

Patch-by: dyq <729650915@qq.com>
SVN-Revision: 29514

12 years agoar71xx: Build images for Netgear WNDRMAC and WNDRMACv2
Gabor Juhos [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>
SVN-Revision: 29513

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

SVN-Revision: 29510

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

SVN-Revision: 29509

12 years agohostapd: support optional argument for the -v switch of hostapd and wpa_supplicant...
Jo-Philipp Wich [Mon, 12 Dec 2011 17:26:13 +0000 (17:26 +0000)]
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

SVN-Revision: 29507

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

SVN-Revision: 29506

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

SVN-Revision: 29501

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

SVN-Revision: 29497

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

SVN-Revision: 29496

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

SVN-Revision: 29495

12 years agoath9k: improve handling of blockackreq (should improve aggregation behavior under...
Felix Fietkau [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)

SVN-Revision: 29494

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

SVN-Revision: 29493

12 years agoconvert to gpiolib
John Crispin [Fri, 9 Dec 2011 07:52:10 +0000 (07:52 +0000)]
convert to gpiolib

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

SVN-Revision: 29486

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

SVN-Revision: 29485

12 years agolibrpc: do not build if external or native toolchains are used
Jo-Philipp Wich [Thu, 8 Dec 2011 16:49:45 +0000 (16:49 +0000)]
librpc: do not build if external or native toolchains are used

SVN-Revision: 29484

12 years agoar71xx: fix WNDR3x00 factory image generation
Gabor Juhos [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>
SVN-Revision: 29473

12 years agoar71xx: fix WNDR3x00 model detection
Gabor Juhos [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>
SVN-Revision: 29472

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

SVN-Revision: 29471

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

SVN-Revision: 29470

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

SVN-Revision: 29469

12 years agoar71xx: create firmware image for the TL-WR740N/ND v4 boards
Gabor Juhos [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>

SVN-Revision: 29468

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

SVN-Revision: 29467

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

SVN-Revision: 29466

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

SVN-Revision: 29465

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

SVN-Revision: 29464

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

SVN-Revision: 29463

12 years agoiwinfo: support nl80211 hardware identification against radioX pseudo interfaces...
Jo-Philipp Wich [Tue, 6 Dec 2011 13:24:47 +0000 (13:24 +0000)]
iwinfo: support nl80211 hardware identification against radioX pseudo interfaces, useful if radio is not up yet

SVN-Revision: 29462

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

SVN-Revision: 29461

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

SVN-Revision: 29460

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

SVN-Revision: 29459

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

SVN-Revision: 29458

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

SVN-Revision: 29457

12 years agoar71xx: don't register PCI controller on AR934x if PCIE_RC bit is not set
Gabor Juhos [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

SVN-Revision: 29456

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

SVN-Revision: 29455

12 years agoramips: set mac addresses for the NBG-419N
Gabor Juhos [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>

SVN-Revision: 29454

12 years agoramips: set preinit interface mac on the hw550-3g board
Gabor Juhos [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>

SVN-Revision: 29453

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

SVN-Revision: 29452

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

SVN-Revision: 29451

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

SVN-Revision: 29450

12 years agoinclude/package-ipkg.mk: don't add vi backup files to packages
Gabor Juhos [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.

SVN-Revision: 29449

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

SVN-Revision: 29448

12 years agoar71xx: reclaim some unused space on TP-Link boards
Gabor Juhos [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.

SVN-Revision: 29447

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

SVN-Revision: 29446

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

SVN-Revision: 29445

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

SVN-Revision: 29444

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

SVN-Revision: 29443

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

SVN-Revision: 29442

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

SVN-Revision: 29441

12 years agoar71xx: move multi-m25p80 concat code from wzr-hp-ag300h mach code to dev-m25p80...
Felix Fietkau [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

SVN-Revision: 29440

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

SVN-Revision: 29439

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

SVN-Revision: 29438

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

SVN-Revision: 29437

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

SVN-Revision: 29436

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

SVN-Revision: 29434

12 years agoadd some missing wndr3800 base-files definitions
Jo-Philipp Wich [Mon, 5 Dec 2011 12:56:21 +0000 (12:56 +0000)]
add some missing wndr3800 base-files definitions

SVN-Revision: 29433

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

SVN-Revision: 29432

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

SVN-Revision: 29431

12 years agoiwinfo: factor tx power offset into power level listing
Jo-Philipp Wich [Sun, 4 Dec 2011 22:04:00 +0000 (22:04 +0000)]
iwinfo: factor tx power offset into power level listing

SVN-Revision: 29430

12 years agoiwinfo: expose txpower and frequency offset information
Jo-Philipp Wich [Sun, 4 Dec 2011 20:37:01 +0000 (20:37 +0000)]
iwinfo: expose txpower and frequency offset information

SVN-Revision: 29425

12 years agoiwinfo: populate tx power offsets for most ubnt devices, add NSM2/5 and BM2/5
Jo-Philipp Wich [Sun, 4 Dec 2011 19:44:47 +0000 (19:44 +0000)]
iwinfo: populate tx power offsets for most ubnt devices, add NSM2/5 and BM2/5

SVN-Revision: 29424

12 years agoiwinfo: fix model detection on legacy atheros
Jo-Philipp Wich [Sun, 4 Dec 2011 18:11:57 +0000 (18:11 +0000)]
iwinfo: fix model detection on legacy atheros

SVN-Revision: 29423

12 years agoramips: fix argus board rootfs size
Gabor Juhos [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>
SVN-Revision: 29422

12 years agoiwinfo: add initial hardware detection capabilities
Jo-Philipp Wich [Sun, 4 Dec 2011 03:42:17 +0000 (03:42 +0000)]
iwinfo: add initial hardware detection capabilities

SVN-Revision: 29421

12 years agolibiwinfo: fix hw mode detection
Jo-Philipp Wich [Sat, 3 Dec 2011 18:13:38 +0000 (18:13 +0000)]
libiwinfo: fix hw mode detection

SVN-Revision: 29417

12 years agoar71xx: use the tp-link parser on the tp-link boards
Gabor Juhos [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.

SVN-Revision: 29416

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

SVN-Revision: 29415

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

SVN-Revision: 29414

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

SVN-Revision: 29413

12 years agoar71xx: run the wrt160nl parser only on the WRT160NL board
Gabor Juhos [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.

SVN-Revision: 29412

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

SVN-Revision: 29411

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

SVN-Revision: 29410

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

SVN-Revision: 29409

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

SVN-Revision: 29408

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

SVN-Revision: 29407

12 years agoar71xx: reclaim unused space in WNDR3700/3800 images
Gabor Juhos [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>

SVN-Revision: 29406

12 years agoadd libiwinfo (moved from LuCI trunk)
Jo-Philipp Wich [Sat, 3 Dec 2011 13:57:38 +0000 (13:57 +0000)]
add libiwinfo (moved from LuCI trunk)

SVN-Revision: 29403

12 years agoar71xx: add a profile and build image for the OM2P board
Gabor Juhos [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>
SVN-Revision: 29397

12 years agoscripts: add a script for generating fwupgrade config for the OM2P board
Gabor Juhos [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>
SVN-Revision: 29396

12 years agoar71xx: add support for Ubiquiti AirRouter
Gabor Juhos [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>
SVN-Revision: 29395

12 years agoar71xx: configure default led behavior for the OM2P
Gabor Juhos [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>
SVN-Revision: 29394

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

SVN-Revision: 29393

12 years agoramips: wrap long line in platform upgrade script
Gabor Juhos [Thu, 1 Dec 2011 22:48:57 +0000 (22:48 +0000)]
ramips: wrap long line in platform upgrade script

SVN-Revision: 29392

12 years agoramips: add profile for the Asus RT-N15
Gabor Juhos [Thu, 1 Dec 2011 22:48:55 +0000 (22:48 +0000)]
ramips: add profile for the Asus RT-N15

This uses previously submitted rtl8366 kernel packages.

[juhosg: The kmod-gpio-dev package has been removed from the package list.]

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

12 years agoramips: setup default network configuration for RT-N15
Gabor Juhos [Thu, 1 Dec 2011 22:48:54 +0000 (22:48 +0000)]
ramips: setup default network configuration for RT-N15

Based on a patch by Roman Yeryomin <roman@advem.lv>

SVN-Revision: 29390

12 years agoramips: rt288x: add swconfig and rtl8366{s,_smi} drivers to the default profile
Gabor Juhos [Thu, 1 Dec 2011 22:48:53 +0000 (22:48 +0000)]
ramips: rt288x: add swconfig and rtl8366{s,_smi} drivers to the default profile

It is needed by the RT-N15 board.

SVN-Revision: 29389

12 years agopackage/kernel: create packages for the rtl8366* drivers
Gabor Juhos [Thu, 1 Dec 2011 22:48:52 +0000 (22:48 +0000)]
package/kernel: create packages for the rtl8366* drivers

This allows to enable rtl8366 switches family support, which are
optional (present on few boards).

Based on a patch by Roman Yeryomin <roman@advem.lv>

SVN-Revision: 29388

12 years agoramips: remove default network configuration, and generate that from uci-defaults
Gabor Juhos [Thu, 1 Dec 2011 22:48:51 +0000 (22:48 +0000)]
ramips: remove default network configuration, and generate that from uci-defaults

SVN-Revision: 29387

12 years agoramips: use /lib/functions/uci-defaults.sh
Gabor Juhos [Thu, 1 Dec 2011 22:48:48 +0000 (22:48 +0000)]
ramips: use /lib/functions/uci-defaults.sh

SVN-Revision: 29386

12 years agoar71xx: use /lib/functions/uci-defaults.sh
Gabor Juhos [Thu, 1 Dec 2011 22:48:47 +0000 (22:48 +0000)]
ar71xx: use /lib/functions/uci-defaults.sh

SVN-Revision: 29385

12 years agobase-files: add lib/functions/uci-defaults.sh
Gabor Juhos [Thu, 1 Dec 2011 22:48:46 +0000 (22:48 +0000)]
base-files: add lib/functions/uci-defaults.sh

SVN-Revision: 29384

12 years agoramips: simplify uci-defaults/network script
Gabor Juhos [Thu, 1 Dec 2011 22:48:45 +0000 (22:48 +0000)]
ramips: simplify uci-defaults/network script

SVN-Revision: 29383

12 years agoramips: setup mac and network interfaces from separate functions
Gabor Juhos [Thu, 1 Dec 2011 22:48:43 +0000 (22:48 +0000)]
ramips: setup mac and network interfaces from separate functions

SVN-Revision: 29382

12 years agoramips: fix Asus RT-N15 board support
Gabor Juhos [Thu, 1 Dec 2011 22:48:42 +0000 (22:48 +0000)]
ramips: fix Asus RT-N15 board support

Fix Asus RT-N15 flash partitions and make an image.

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

12 years agoramips: Sparklan wcr-150gn board fixes
Gabor Juhos [Thu, 1 Dec 2011 22:48:41 +0000 (22:48 +0000)]
ramips: Sparklan wcr-150gn board fixes

 * Fix partition sizes.
 * Add buttons and leds.
 * Register usb.
 * Remove unnecessary stuff from image Makefile
 * Fix rt2x00 eeprom extract.

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

12 years agoramips: fix package name of kmod-input-gpio-buttons
Gabor Juhos [Thu, 1 Dec 2011 22:48:39 +0000 (22:48 +0000)]
ramips: fix package name of kmod-input-gpio-buttons

Based on a patch from Omnima Limited.

SVN-Revision: 29379

12 years agoramips: move kmod-rt2800-pci to DEFAULT_PACKAGES
Gabor Juhos [Thu, 1 Dec 2011 22:48:38 +0000 (22:48 +0000)]
ramips: move kmod-rt2800-pci to DEFAULT_PACKAGES

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

12 years agoramips: setup bc2 mac addresses from the generic network script
Gabor Juhos [Thu, 1 Dec 2011 22:48:37 +0000 (22:48 +0000)]
ramips: setup bc2 mac addresses from the generic network script

SVN-Revision: 29377

12 years agoramips: combine network setup for all boards in one file
Gabor Juhos [Thu, 1 Dec 2011 22:48:35 +0000 (22:48 +0000)]
ramips: combine network setup for all boards in one file

Inspired by the patch from Roman Yeryomin. Thanks, Roman!
This removes unnecessary duplication and simplifies network setup for new
boards. It would be a one line change most likely.

[juhosg: setup lan and wan interfaces for unspecified rt3x0x based boards
in order to avoid regression]

Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>
SVN-Revision: 29376

12 years agodnsmasq: automatically add host entry for own hostname and ptr record for lan ip...
Jo-Philipp Wich [Thu, 1 Dec 2011 21:34:45 +0000 (21:34 +0000)]
dnsmasq: automatically add host entry for own hostname and ptr record for lan ip address

SVN-Revision: 29375

12 years agokernel: package TI's USB 3410/505 usb driver
John Crispin [Wed, 30 Nov 2011 14:16:58 +0000 (14:16 +0000)]
kernel: package TI's USB 3410/505 usb driver

This is a patch that adds kernel drivers for TI's USB 3410/5052
devices to the `make menuconfig` GUI during setup.

Signed-off-by: Nemanja Stefanovic <nemik@nemik.net>
SVN-Revision: 29366