Gabor Juhos
5afedc67e2
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
SVN-Revision: 29521
2011-12-13 20:41:22 +00:00
Felix Fietkau
470b1f471a
image: increase squashfs block size - visibly reduces image size in many cases
...
SVN-Revision: 29519
2011-12-13 15:34:08 +00:00
Jo-Philipp Wich
8bfef35385
kernel: rename kmod-switch-rtl8366_smi to kmod-switch-rtl8366-smi to avoid underscores in package names
...
SVN-Revision: 29518
2011-12-13 15:29:45 +00:00
Felix Fietkau
4a441570ca
kernel: move linux/ath9k_platform.h to generic files so that it can be reused from other targets
...
SVN-Revision: 29516
2011-12-13 15:14:59 +00:00
Felix Fietkau
3806671fe5
ar71xx: fix wireless led on wzr-hp-g450h
...
SVN-Revision: 29515
2011-12-13 15:00:43 +00:00
Gabor Juhos
2dd7dfb1c9
ar71xx: enable AR9341 support at setup.c
...
Patch-by: dyq <729650915@qq.com>
SVN-Revision: 29514
2011-12-13 14:59:43 +00:00
Gabor Juhos
058998acdb
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
2011-12-13 14:59:40 +00:00
Felix Fietkau
7f648456cd
busybox: disable "mesg" by default
...
SVN-Revision: 29510
2011-12-13 13:51:05 +00:00
Felix Fietkau
48f9717371
ar71xx: add gpios and usb for wzr-hp-g450h
...
SVN-Revision: 29509
2011-12-13 13:33:44 +00:00
Jo-Philipp Wich
059d4bad00
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
2011-12-12 17:26:13 +00:00
Felix Fietkau
d886c0aaed
mac80211: make mesh support optional
...
SVN-Revision: 29506
2011-12-12 14:42:35 +00:00
Gabor Juhos
4ca2d86493
ar71xx: use RedBoot parser on PB44
...
SVN-Revision: 29501
2011-12-11 15:52:47 +00:00
Nicolas Thill
6d6e379922
include/package-ipkg.mk: fix typo in r29449
...
SVN-Revision: 29497
2011-12-10 22:02:50 +00:00
Felix Fietkau
1f12c12b9e
mac80211: merge another upstream aggregation fix
...
SVN-Revision: 29496
2011-12-10 21:17:19 +00:00
Felix Fietkau
185419f417
ath9k: disable bluetooth coexistence support to reduce module size
...
SVN-Revision: 29495
2011-12-10 21:17:12 +00:00
Felix Fietkau
4a295e5d53
ath9k: improve handling of blockackreq (should improve aggregation behavior under tough wifi conditions with lots of retransmission)
...
SVN-Revision: 29494
2011-12-10 21:17:07 +00:00
Felix Fietkau
5ad8bcbba4
mac80211: merge an upstream fix for an aggregation related race condition
...
SVN-Revision: 29493
2011-12-10 21:16:58 +00:00
John Crispin
934eef78ca
convert to gpiolib
...
Signed-off-by: karlp@tweak.net.au
SVN-Revision: 29486
2011-12-09 07:52:10 +00:00
Hauke Mehrtens
542d1f1b61
mac80211: add support for firmware 666.2 for b43 devices
...
SVN-Revision: 29485
2011-12-08 22:53:13 +00:00
Jo-Philipp Wich
60e283d646
librpc: do not build if external or native toolchains are used
...
SVN-Revision: 29484
2011-12-08 16:49:45 +00:00
Gabor Juhos
6e69765559
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
2011-12-07 06:55:50 +00:00
Gabor Juhos
8eb8a6e1e7
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
2011-12-07 06:55:39 +00:00
Gabor Juhos
43bd4c6ad1
ramips: fix mac addresses on the DIR-300/600 boards
...
SVN-Revision: 29471
2011-12-06 20:06:08 +00:00
Jonas Gorski
e33bb9ec66
linux: update 3.1 to 3.1.4
...
SVN-Revision: 29470
2011-12-06 19:50:30 +00:00
Jonas Gorski
6e2ae90f4a
linux: update 3.0 to 3.0.12
...
SVN-Revision: 29469
2011-12-06 19:50:25 +00:00
Gabor Juhos
c6b2b98812
ar71xx: create firmware image for the TL-WR740N/ND v4 boards
...
Based on a patch by Cristian Deluxe <djcristiandeluxe@gmail.com>
SVN-Revision: 29468
2011-12-06 16:26:44 +00:00
Gabor Juhos
fbfad4e9b4
ar71xx: use hw_id, hw_rev and flash_layout with mktplinkfw
...
SVN-Revision: 29467
2011-12-06 16:26:43 +00:00
Gabor Juhos
2592c0a283
tools/mktplinkfw: allow to specify hw_id, hw_rev and flash_layout
...
SVN-Revision: 29466
2011-12-06 16:26:41 +00:00
Felix Fietkau
efe251b4c2
ubus: update to the latest version
...
SVN-Revision: 29465
2011-12-06 16:00:00 +00:00
Felix Fietkau
132556a6b9
libubox: update to latest version, fix some endian issues
...
SVN-Revision: 29464
2011-12-06 15:59:53 +00:00
Gabor Juhos
d753e08c79
ar71xx: fix TL-MR3x20 profile names in image/Makefile
...
SVN-Revision: 29463
2011-12-06 13:53:21 +00:00
Jo-Philipp Wich
8434527305
iwinfo: support nl80211 hardware identification against radioX pseudo interfaces, useful if radio is not up yet
...
SVN-Revision: 29462
2011-12-06 13:24:47 +00:00
Gabor Juhos
62d8009cdd
ar71xx: cleanup TP-Link profiles
...
SVN-Revision: 29461
2011-12-06 10:29:25 +00:00
Felix Fietkau
4dfdbf5039
mac80211: merge some pending fixes, fixes skb leaks and some warnings
...
SVN-Revision: 29460
2011-12-05 22:12:16 +00:00
Gabor Juhos
f7a482d382
ar71xx: add TP-Link board detection
...
SVN-Revision: 29459
2011-12-05 21:11:01 +00:00
Gabor Juhos
bdc2eca7de
ar71xx: use correct mac on the lan interface on several TP-LINK devices
...
SVN-Revision: 29458
2011-12-05 21:10:58 +00:00
Gabor Juhos
0103069372
ar71xx: allow to pass negative offset values for ar71xx_init_mac
...
SVN-Revision: 29457
2011-12-05 21:10:55 +00:00
Gabor Juhos
ada92aee62
ar71xx: don't register PCI controller on AR934x if PCIE_RC bit is not set
...
SVN-Revision: 29456
2011-12-05 18:21:15 +00:00
Gabor Juhos
c6bcf8d1d8
ar71xx: verify hardware id of firmware images on TP-Link boards
...
SVN-Revision: 29455
2011-12-05 18:11:51 +00:00
Gabor Juhos
5ef6ec4a31
ramips: set mac addresses for the NBG-419N
...
Based on a patch by Nerijus Baliunas <nerijus@users.sourceforge.net>
SVN-Revision: 29454
2011-12-05 17:27:07 +00:00
Gabor Juhos
750d560767
ramips: set preinit interface mac on the hw550-3g board
...
Based on a patch by Daniel Golle <dgolle@allnet.de>
SVN-Revision: 29453
2011-12-05 17:27:06 +00:00
Gabor Juhos
b5d7b359b2
ramips: use ramips_get_mac_* functions in the preinit script
...
SVN-Revision: 29452
2011-12-05 17:27:04 +00:00
Gabor Juhos
4d5b940e66
ramips: move ramips_get_mac_* functions to lib/ramips.sh
...
SVN-Revision: 29451
2011-12-05 17:27:03 +00:00
Gabor Juhos
cc853acb3a
ramips: add ramips_ prefix to get_mac_{binary,nvram} functions
...
SVN-Revision: 29450
2011-12-05 17:27:02 +00:00
Gabor Juhos
091894764b
include/package-ipkg.mk: don't add vi backup files to packages
...
Also remove trailing whitespaces.
SVN-Revision: 29449
2011-12-05 17:27:00 +00:00
Gabor Juhos
b1137d48a4
ramips: fix network configuration setup
...
SVN-Revision: 29448
2011-12-05 16:54:48 +00:00
Gabor Juhos
4dc9092f4b
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
2011-12-05 14:52:36 +00:00
Gabor Juhos
3e7a6d182a
ar71xx: check squashfs signature in TP-Link mtd parser
...
SVN-Revision: 29446
2011-12-05 14:52:33 +00:00
Gabor Juhos
54c8d61b03
firmware-utils/mktplinkfw: allow to align the rootfs on a specified boundary
...
SVN-Revision: 29445
2011-12-05 14:52:31 +00:00
Gabor Juhos
feebf484ba
ar71xx: use the lzma-loader on TP-Link boards w/o lzma support
...
SVN-Revision: 29444
2011-12-05 14:52:28 +00:00