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
nbd
712f83e73d
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
2011-12-05 14:20:34 +00:00
nbd
673d39f3aa
ath9k: fix 5/10 mhz channel bandwidth issues
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:20:25 +00:00
nbd
232093a4f6
mac80211: update to 2011-12-01
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:20:17 +00:00
juhosg
44a7438217
ar71xx: rewrite WNDR3700/3800 handling
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 13:03:54 +00:00
jow
62f688b6ec
[ar71xx] add some missing wndr3800 base-files definitions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 12:56:21 +00:00
juhosg
1f7d4ca407
ar71xx: change user-space board detection
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 12:56:20 +00:00
juhosg
71573bb739
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
2011-12-05 12:47:53 +00:00
jow
735b44ac69
[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
2011-12-04 22:04:00 +00:00
jow
de1bb6ef97
[package] iwinfo: expose txpower and frequency offset information
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29425 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-04 20:37:01 +00:00
jow
8465aaa53c
[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
2011-12-04 19:44:47 +00:00
jow
9b5e9a5afb
[package] iwinfo: fix model detection on legacy atheros
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-04 18:11:57 +00:00
juhosg
974654e8c5
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
2011-12-04 15:24:57 +00:00
jow
c02a9bd7aa
[package] iwinfo: add initial hardware detection capabilities
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29421 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-04 03:42:17 +00:00
jow
ec376e8870
[package] libiwinfo: fix hw mode detection
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29417 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 18:13:38 +00:00
juhosg
11a837ce02
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
2011-12-03 18:13:31 +00:00
juhosg
17c2fb2fc8
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
2011-12-03 18:13:27 +00:00