oweals/openwrt.git
12 years agobrcm47xx: fix usb on more recent bcma based devices.
Hauke Mehrtens [Fri, 23 Dec 2011 17:21:52 +0000 (17:21 +0000)]
brcm47xx: fix usb on more recent bcma based devices.

SVN-Revision: 29605

12 years agoramips: initial support for Sitecom WL-351 v1 002
Gabor Juhos [Fri, 23 Dec 2011 14:27:16 +0000 (14:27 +0000)]
ramips: initial support for Sitecom WL-351 v1 002

This add support for the Sitecom WL-351 v1 002.
In principle the Engenius ESR9850 should also work with this, but I
don't have the hardware to test it.

Since an external gigabit switch (RTL8366RB) is used,
I had to modify the ramips_esw driver to add a 'bypass' mode, which
just configures it to not filter the vlan tags.
Also two initialization words (FCT2 and FPA2) are set to different
values by u-boot than what the driver is using and it only seems to
work correctly when they not overridden by the driver, so I
added them to the platform specific data as reg_initval_fct2 and
reg_initval_fpa2.

With this wired lan works as expected, however I'm still having some
trouble with the wireless lan:
It only works after I rmmod & re-insmod rt2800pci and then
reconfigure it in the webinterface, but not directly after
rebooting.

The symptom of this is wpad saying:
Dec 20 15:45:09 OpenWrt daemon.info hostapd: wlan1: STA <notebookmac> IEEE 802.11: associated (aid 1)
Dec 20 15:45:09 OpenWrt daemon.info hostapd: wlan1: STA <notebookmac> WPA: pairwise key handshake completed (RSN)
Dec 20 15:45:22 OpenWrt daemon.info hostapd: wlan1: STA <notebookmac> IEEE 802.11: authenticated

But wpa_supplicant on the client saying:
Authentication with <wl351mac> timed out.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
SVN-Revision: 29604

12 years agoramips: add support for the Senao/EnGenius ESR-9753 board
Gabor Juhos [Fri, 23 Dec 2011 14:27:10 +0000 (14:27 +0000)]
ramips: add support for the Senao/EnGenius ESR-9753 board

Signed-off-by: Artur Wronowski <arteqw@gmail.com>
SVN-Revision: 29603

12 years agoramips: define firmware partition for Omnima MiniEMBWiFi
Gabor Juhos [Fri, 23 Dec 2011 14:27:05 +0000 (14:27 +0000)]
ramips: define firmware partition for Omnima MiniEMBWiFi

Patch-by: Ivan Ignjatic <ivan@omnima.co.uk>
SVN-Revision: 29602

12 years agokernel: enable magic sysrq by default, it does not add much to the kernel image size...
Felix Fietkau [Thu, 22 Dec 2011 08:45:13 +0000 (08:45 +0000)]
kernel: enable magic sysrq by default, it does not add much to the kernel image size, but is useful for debugging many kinds of hangs/crashes

SVN-Revision: 29600

12 years agoar71xx: set a reserved bit that resets to 1 when writing the address table control...
Felix Fietkau [Thu, 22 Dec 2011 05:43:53 +0000 (05:43 +0000)]
ar71xx: set a reserved bit that resets to 1 when writing the address table control register on the ar7240 switch (should fix #10547)

SVN-Revision: 29598

12 years agoar71xx: add default network config for buffalo WZR-HP-G300NH2 and WZR-HP-G450H
Jonas Gorski [Wed, 21 Dec 2011 19:32:40 +0000 (19:32 +0000)]
ar71xx: add default network config for buffalo WZR-HP-G300NH2 and WZR-HP-G450H

Thanks netprince for reporting and testing.

SVN-Revision: 29595

12 years agothe mach file of the WZR-HP-G300NH2 accidentally claimed the mach id of the WZR-HP...
Jo-Philipp Wich [Wed, 21 Dec 2011 01:27:48 +0000 (01:27 +0000)]
the mach file of the WZR-HP-G300NH2 accidentally claimed the mach id of the WZR-HP-AG300H, correct the id (#10649)

SVN-Revision: 29593

12 years agobase-files: add -b (--create-backup) option to sysupgrade, which generates a backup...
Jo-Philipp Wich [Tue, 20 Dec 2011 17:25:15 +0000 (17:25 +0000)]
base-files: add -b (--create-backup) option to sysupgrade, which generates a backup .tar.gz according to the user settings. This will also be reused by LuCI.

SVN-Revision: 29587

12 years agofirewall: - introduce per-section "option enabled" which defaults to "1" - useful...
Jo-Philipp Wich [Tue, 20 Dec 2011 01:10:15 +0000 (01:10 +0000)]
firewall: - introduce per-section "option enabled" which defaults to "1" - useful to disable rules or zones without having to delete them - annotate default traffic rules with names - bump version

SVN-Revision: 29577

12 years agobrcm47xx: remove patch starting adding brcm4716 to ssb
Hauke Mehrtens [Mon, 19 Dec 2011 23:55:20 +0000 (23:55 +0000)]
brcm47xx: remove patch starting adding brcm4716 to ssb

brcm4716 is supported by bcma now we do not need this patch

SVN-Revision: 29576

12 years agobrcm47xx: add new usb driver for bcma bus and replace ssb usb driver.
Hauke Mehrtens [Mon, 19 Dec 2011 23:39:13 +0000 (23:39 +0000)]
brcm47xx: add new usb driver for bcma bus and replace ssb usb driver.

This new usb driver uses an extra device so the ehci and the ohci driver are not depending on ech other any more.

SVN-Revision: 29575

12 years agokernel: update bcma and ssb to version master-2011-12-16 from wireless-testing
Hauke Mehrtens [Mon, 19 Dec 2011 23:33:03 +0000 (23:33 +0000)]
kernel: update bcma and ssb to version master-2011-12-16 from wireless-testing

SVN-Revision: 29574

12 years agobrcm47xx: remove support for kernel 2.6.39
Hauke Mehrtens [Mon, 19 Dec 2011 23:26:15 +0000 (23:26 +0000)]
brcm47xx: remove support for kernel 2.6.39

There are problems with the patches for kernel 2.6.39 and I do not want to support two different sets of patches.

SVN-Revision: 29573

12 years agomac80211: deactivate mac80211 tracing
Hauke Mehrtens [Mon, 19 Dec 2011 23:23:34 +0000 (23:23 +0000)]
mac80211: deactivate mac80211 tracing

Activating tracing on kernel <= 2.6.32 causes build errors.

SVN-Revision: 29572

12 years agoath9k: fix another tx locking issue
Felix Fietkau [Mon, 19 Dec 2011 15:51:20 +0000 (15:51 +0000)]
ath9k: fix another tx locking issue

SVN-Revision: 29570

12 years agomac80211: fix powersave setting
Felix Fietkau [Mon, 19 Dec 2011 10:27:28 +0000 (10:27 +0000)]
mac80211: fix powersave setting

SVN-Revision: 29569

12 years agoar71xx: add missing wireless led changes for wzr-hp-g300nh2
Felix Fietkau [Mon, 19 Dec 2011 09:04:15 +0000 (09:04 +0000)]
ar71xx: add missing wireless led changes for wzr-hp-g300nh2

SVN-Revision: 29568

12 years agoar71xx: add support for the wzr-hp-g300nh2
Felix Fietkau [Sun, 18 Dec 2011 22:20:17 +0000 (22:20 +0000)]
ar71xx: add support for the wzr-hp-g300nh2

Signed-off-by: Mark Deneen <mdeneen@gmail.com>
SVN-Revision: 29567

12 years agomac80211: apply txpower after bringing up the interface, should fix #10113
Felix Fietkau [Sun, 18 Dec 2011 22:19:21 +0000 (22:19 +0000)]
mac80211: apply txpower after bringing up the interface, should fix #10113

SVN-Revision: 29566

12 years agomac80211: use iw instead of iwconfig to disable powersave
Felix Fietkau [Sun, 18 Dec 2011 22:18:46 +0000 (22:18 +0000)]
mac80211: use iw instead of iwconfig to disable powersave

SVN-Revision: 29565

12 years agoath9k: fix some issues in the btcoex disable patch
Felix Fietkau [Sun, 18 Dec 2011 22:17:34 +0000 (22:17 +0000)]
ath9k: fix some issues in the btcoex disable patch

SVN-Revision: 29564

12 years agoar71xx: use 64kraw template on more TP-Link boards
Gabor Juhos [Sat, 17 Dec 2011 18:49:55 +0000 (18:49 +0000)]
ar71xx: use 64kraw template on more TP-Link boards

SVN-Revision: 29561

12 years agoath9k: fix a locking issue in the tx path
Felix Fietkau [Sat, 17 Dec 2011 14:28:25 +0000 (14:28 +0000)]
ath9k: fix a locking issue in the tx path

SVN-Revision: 29560

12 years agohostapd: add missing check for wds stations
Felix Fietkau [Sat, 17 Dec 2011 14:28:20 +0000 (14:28 +0000)]
hostapd: add missing check for wds stations

SVN-Revision: 29559

12 years agoath9k: fix a crash in led init
Felix Fietkau [Fri, 16 Dec 2011 23:41:44 +0000 (23:41 +0000)]
ath9k: fix a crash in led init

SVN-Revision: 29558

12 years agoar71xx: connect GMAC0 to the internal switch on DB120
Gabor Juhos [Thu, 15 Dec 2011 22:25:38 +0000 (22:25 +0000)]
ar71xx: connect GMAC0 to the internal switch on DB120

Because the external switch has no driver yet, connect GMAC0
to the PHY4 of the internal switch for now. This allows to
use the DB120 board as a router with 4LAN+1WAN ports.

SVN-Revision: 29557

12 years agoar71xx: add defines for the AR934X GMAC interface
Gabor Juhos [Thu, 15 Dec 2011 22:25:36 +0000 (22:25 +0000)]
ar71xx: add defines for the AR934X GMAC interface

SVN-Revision: 29556

12 years agoar71xx: fix GMAC1 interface speed on the DB120 board
Gabor Juhos [Thu, 15 Dec 2011 22:25:35 +0000 (22:25 +0000)]
ar71xx: fix GMAC1 interface speed on the DB120 board

SVN-Revision: 29555

12 years agoar71xx: ag71xx: fix switch port setup for AR934X
Gabor Juhos [Thu, 15 Dec 2011 22:25:32 +0000 (22:25 +0000)]
ar71xx: ag71xx: fix switch port setup for AR934X

SVN-Revision: 29554

12 years agoar71xx: ag71xx: allow to connect PHY4 to the CPU on AR934X
Gabor Juhos [Thu, 15 Dec 2011 22:25:30 +0000 (22:25 +0000)]
ar71xx: ag71xx: allow to connect PHY4 to the CPU on AR934X

SVN-Revision: 29553

12 years agoar71xx: ag71xx: setup switch interface mode on AR934X
Gabor Juhos [Thu, 15 Dec 2011 22:25:29 +0000 (22:25 +0000)]
ar71xx: ag71xx: setup switch interface mode on AR934X

SVN-Revision: 29552

12 years agoar71xx: ag71xx: detect the built-in switch of the AR934X SoCs
Gabor Juhos [Thu, 15 Dec 2011 22:25:28 +0000 (22:25 +0000)]
ar71xx: ag71xx: detect the built-in switch of the AR934X SoCs

SVN-Revision: 29551

12 years agoar71xx: allow to attach the internal switch for AR934x
Gabor Juhos [Thu, 15 Dec 2011 22:25:22 +0000 (22:25 +0000)]
ar71xx: allow to attach the internal switch for AR934x

SVN-Revision: 29550

12 years agoar71xx: introduce ar71xx_switch_data
Gabor Juhos [Thu, 15 Dec 2011 22:25:11 +0000 (22:25 +0000)]
ar71xx: introduce ar71xx_switch_data

SVN-Revision: 29549

12 years agoar71xx: build images for TL-WR741N/ND v2
Gabor Juhos [Thu, 15 Dec 2011 22:03:48 +0000 (22:03 +0000)]
ar71xx: build images for TL-WR741N/ND v2

SVN-Revision: 29548

12 years agoar71x: use raw squashfs images for TP-Link boards
Gabor Juhos [Thu, 15 Dec 2011 22:03:46 +0000 (22:03 +0000)]
ar71x: use raw squashfs images for TP-Link boards

SVN-Revision: 29547

12 years agoar71xx: create a template for using unpadded squashfs images
Gabor Juhos [Thu, 15 Dec 2011 22:03:45 +0000 (22:03 +0000)]
ar71xx: create a template for using unpadded squashfs images

SVN-Revision: 29546

12 years agoar71xx: put squash image right after the kernel on TP-Link boards
Gabor Juhos [Thu, 15 Dec 2011 22:03:44 +0000 (22:03 +0000)]
ar71xx: put squash image right after the kernel on TP-Link boards

SVN-Revision: 29545

12 years agofirmware-utils/mktplinkfw: add ability to put jffs2 eof marker into the image
Gabor Juhos [Thu, 15 Dec 2011 22:03:42 +0000 (22:03 +0000)]
firmware-utils/mktplinkfw: add ability to put jffs2 eof marker into the image

SVN-Revision: 29544

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

SVN-Revision: 29543

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

SVN-Revision: 29541

12 years agoar71xx: ag71xx: don't use port 4 of the switch, it is not connected on ar724x
Gabor Juhos [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

SVN-Revision: 29540

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

SVN-Revision: 29539

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

SVN-Revision: 29538

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

SVN-Revision: 29537

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

SVN-Revision: 29536

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

SVN-Revision: 29535

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

SVN-Revision: 29534

12 years agoramips: add support for Omnima MiniEMBWiFi board
Gabor Juhos [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>

SVN-Revision: 29533

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

SVN-Revision: 29532

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

SVN-Revision: 29531

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

SVN-Revision: 29530

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

SVN-Revision: 29522

12 years agogeneric: disable 'small sector' erase in m25p80 driver
Gabor Juhos [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

SVN-Revision: 29521

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

SVN-Revision: 29519

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

SVN-Revision: 29518

12 years agokernel: move linux/ath9k_platform.h to generic files so that it can be reused from...
Felix Fietkau [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

SVN-Revision: 29516

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

SVN-Revision: 29515

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