1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-20 02:35:20 +02:00
Commit Graph

22116 Commits

Author SHA1 Message Date
juhosg
17595c4da2 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
2011-12-13 14:59:43 +00:00
juhosg
6caa8876b2 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
2011-12-13 14:59:40 +00:00
nbd
334469d128 busybox: disable "mesg" by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29510 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-13 13:51:05 +00:00
nbd
ec66b62afa ar71xx: add gpios and usb for wzr-hp-g450h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-13 13:33:44 +00:00
jow
b1cd4bd7d8 [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
2011-12-12 17:26:13 +00:00
nbd
123714b1f0 mac80211: make mesh support optional
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-12 14:42:35 +00:00
juhosg
1e26277d1e ar71xx: use RedBoot parser on PB44
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-11 15:52:47 +00:00
nico
6e2a326218 include/package-ipkg.mk: fix typo in r29449
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29497 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-10 22:02:50 +00:00
nbd
7c3b776087 mac80211: merge another upstream aggregation fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29496 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-10 21:17:19 +00:00
nbd
ac8143726d ath9k: disable bluetooth coexistence support to reduce module size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-10 21:17:12 +00:00
nbd
60c148cc14 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
2011-12-10 21:17:07 +00:00
nbd
bd4aa5a603 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
2011-12-10 21:16:58 +00:00
blogic
6e7fe5572c [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
2011-12-09 07:52:10 +00:00
hauke
f1f9051d48 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
2011-12-08 22:53:13 +00:00
jow
7cfcb42cf4 [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
2011-12-08 16:49:45 +00:00
juhosg
aa54ff79a0 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
2011-12-07 06:55:50 +00:00
juhosg
e310d5b786 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
2011-12-07 06:55:39 +00:00
juhosg
9de4cb5314 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
2011-12-06 20:06:08 +00:00
jogo
87cb2a5585 linux: update 3.1 to 3.1.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29470 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-06 19:50:30 +00:00
jogo
9556c47348 linux: update 3.0 to 3.0.12
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29469 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-06 19:50:25 +00:00
juhosg
56124f8782 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
2011-12-06 16:26:44 +00:00
juhosg
a00ddbec78 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
2011-12-06 16:26:43 +00:00
juhosg
9f5f35abda 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
2011-12-06 16:26:41 +00:00
nbd
c65c69b30a ubus: update to the latest version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29465 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-06 16:00:00 +00:00
nbd
d0929adb75 libubox: update to latest version, fix some endian issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29464 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-06 15:59:53 +00:00
juhosg
8e71900eeb ar71xx: fix TL-MR3x20 profile names in image/Makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-06 13:53:21 +00:00
jow
ac75d1363c [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
2011-12-06 13:24:47 +00:00
juhosg
05a6361449 ar71xx: cleanup TP-Link profiles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29461 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-06 10:29:25 +00:00
nbd
82d7eb907d 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
2011-12-05 22:12:16 +00:00
juhosg
ae0a750c4b ar71xx: add TP-Link board detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 21:11:01 +00:00
juhosg
99997320ea 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
2011-12-05 21:10:58 +00:00
juhosg
a97fd90341 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
2011-12-05 21:10:55 +00:00
juhosg
097436bca8 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
2011-12-05 18:21:15 +00:00
juhosg
f6ab961f67 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
2011-12-05 18:11:51 +00:00
juhosg
6f27fcc4b0 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
2011-12-05 17:27:07 +00:00
juhosg
0a03c64116 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
2011-12-05 17:27:06 +00:00
juhosg
d7a5a32c17 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
2011-12-05 17:27:04 +00:00
juhosg
e595553be8 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
2011-12-05 17:27:03 +00:00
juhosg
5db41b5518 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
2011-12-05 17:27:02 +00:00
juhosg
7a583f7854 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
2011-12-05 17:27:00 +00:00
juhosg
8b0e381068 ramips: fix network configuration setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29448 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 16:54:48 +00:00
juhosg
baf6222ae5 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
2011-12-05 14:52:36 +00:00
juhosg
35606f14a3 ar71xx: check squashfs signature in TP-Link mtd parser
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:52:33 +00:00
juhosg
c07b709343 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
2011-12-05 14:52:31 +00:00
juhosg
7b716ce3ec 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
2011-12-05 14:52:28 +00:00
juhosg
057c5990c9 ar71xx: add lzma loader
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:52:25 +00:00
juhosg
f5ac3a13ec tools/mkimage: allow to use different magic in uImages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:52:22 +00:00
nbd
c1679af6b3 ar71xx: add preliminary support for wzr-hp-g450h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:20:51 +00:00
nbd
f684eb2454 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
2011-12-05 14:20:44 +00:00
nbd
02f4867a49 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
2011-12-05 14:20:39 +00:00