openwrt/svn-archive/archive.git
6 years agolibubox: another jshn update, fixes array handling issues
Felix Fietkau [Sun, 16 Dec 2012 18:59:27 +0000 (18:59 +0000)]
libubox: another jshn update, fixes array handling issues

Backport of r34723

SVN-Revision: 34724

6 years agolibubox: fix some jshn variable handling regressions
Felix Fietkau [Sun, 16 Dec 2012 17:06:08 +0000 (17:06 +0000)]
libubox: fix some jshn variable handling regressions

Backport of r34720

SVN-Revision: 34721

6 years agolibubox: sync with trunk (as of r34718)
Felix Fietkau [Sun, 16 Dec 2012 16:51:05 +0000 (16:51 +0000)]
libubox: sync with trunk (as of r34718)

SVN-Revision: 34719

6 years agowpa_supplicant.sh: always use parameters from the current section
Felix Fietkau [Sun, 16 Dec 2012 13:33:58 +0000 (13:33 +0000)]
wpa_supplicant.sh: always use parameters from the current section

Using variables from the outer scope unnecessarily complicates the code and
leads to issues.

This patch fixes the bug when having an "adhoc" wifi-iface section before a
"sta" section prevents wpa_supplicant from using the key specified in the
corresponding section as it tries to use the "adhoc" key instead (1 by
default).

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Backport of r34716

SVN-Revision: 34717

6 years agoubus: update to latest version, fixes request timeout handling issues, hangs on lots...
Felix Fietkau [Sat, 15 Dec 2012 17:22:42 +0000 (17:22 +0000)]
ubus: update to latest version, fixes request timeout handling issues, hangs on lots of requests, adds object notification support

Backport of r34705

SVN-Revision: 34707

6 years agonetifd: call /etc/udhcp.user from the netifd dhcp.script
Felix Fietkau [Sat, 15 Dec 2012 17:22:40 +0000 (17:22 +0000)]
netifd: call /etc/udhcp.user from the netifd dhcp.script

This was done previously when dhcp was handled by the network scripts.
So netifd should behave the same.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Backport of r34704

SVN-Revision: 34706

6 years agoAA: kernel: fix solos-pci skb double-free in DMA mode
Gabor Juhos [Thu, 13 Dec 2012 18:46:25 +0000 (18:46 +0000)]
AA: kernel: fix solos-pci skb double-free in DMA mode

Backport of r34667.

[juhosg: refresh the patches with quilt]

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34668

6 years agonetifd: update to latest version, fixes purging old resolv.conf entries after ifdown
Felix Fietkau [Thu, 13 Dec 2012 16:16:32 +0000 (16:16 +0000)]
netifd: update to latest version, fixes purging old resolv.conf entries after ifdown

Backport of r34664

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 34665

6 years agoath5k: fix skb leaks (should fix #12199)
Felix Fietkau [Mon, 10 Dec 2012 15:44:34 +0000 (15:44 +0000)]
ath5k: fix skb leaks (should fix #12199)

Backport of r34603

SVN-Revision: 34604

6 years agoAA: ppp: backport r34536
Jo-Philipp Wich [Thu, 6 Dec 2012 18:22:07 +0000 (18:22 +0000)]
AA: ppp: backport r34536

SVN-Revision: 34538

6 years agonetifd: update to latest version from trunk, as of r34500
Felix Fietkau [Wed, 5 Dec 2012 15:35:14 +0000 (15:35 +0000)]
netifd: update to latest version from trunk, as of r34500

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 34505

6 years agolibubox: update to latest version, fixes blob/blobmsg endian issues
Felix Fietkau [Sun, 2 Dec 2012 16:54:45 +0000 (16:54 +0000)]
libubox: update to latest version, fixes blob/blobmsg endian issues

Backport of r34456

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 34457

6 years agoAA: ramips: fix serial console for Belkin F5D8235 v1/v2
Gabor Juhos [Sun, 2 Dec 2012 14:18:26 +0000 (14:18 +0000)]
AA: ramips: fix serial console for Belkin F5D8235 v1/v2

Backport of r34445.

Based on a patch from #12533.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34446

6 years agoAA: Update linux-atm fixes to reflect the final upstream pull request
Gabor Juhos [Sun, 2 Dec 2012 13:14:27 +0000 (13:14 +0000)]
AA: Update linux-atm fixes to reflect the final upstream pull request

Backport of r34443.

[juhosg: refresh the patches with quilt]

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34444

6 years agoAA: [ar7] add back symbols accidentally removed in r34428
Florian Fainelli [Fri, 30 Nov 2012 09:10:12 +0000 (09:10 +0000)]
AA: [ar7] add back symbols accidentally removed in r34428

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34429

6 years agoAA: [ar7] use a default kernel command-line to mount squashfs and jffs2
Florian Fainelli [Fri, 30 Nov 2012 09:08:21 +0000 (09:08 +0000)]
AA: [ar7] use a default kernel command-line to mount squashfs and jffs2

This fixes bug #9055. Backport of r34424.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34428

6 years agoAA: kernel: Fix 8139cp ring buffer initialisation, tx timeout recovery, add BQL
Gabor Juhos [Thu, 29 Nov 2012 18:02:30 +0000 (18:02 +0000)]
AA: kernel: Fix 8139cp ring buffer initialisation, tx timeout recovery, add BQL

Backport of r34415.

Patches queued upstream in net-next.git

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34416

6 years agoAA: kernel: Add ATM fixes pending upstream merge (queue reduction, race fixes)
Gabor Juhos [Thu, 29 Nov 2012 17:50:03 +0000 (17:50 +0000)]
AA: kernel: Add ATM fixes pending upstream merge (queue reduction, race fixes)

Backport of r34410.

Patches about to go into net-next.git

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34413

6 years agoAA: build: Add TARGET_ROOTFS_RESERVED_PCT option to reduce wasted space
Gabor Juhos [Thu, 29 Nov 2012 17:49:50 +0000 (17:49 +0000)]
AA: build: Add TARGET_ROOTFS_RESERVED_PCT option to reduce wasted space

Backport of r34408.

The genext2fs tool will 'reserve' 5% of the image size by default,
apparently by creating a huge lost+found directory. In fact it seemed to
be much more than 5% in practice — I saw an image with 8MiB used, and
recovered about 2MiB of it by deleting the 'empty' lost+found directory:

/dev/loop0         48377  8482     37438  19% /mnt/spare
 # rmdir lost+found/
/dev/loop0         48377  6014     39906  14% /mnt/spare

This makes it configurable, but leaves it at the genext2fs default
of 5% for now. It should probably be changed to default to zero, but
that can be a separate patch.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34412

6 years agoAA: bcm63xx: fix spi transfer handling
Florian Fainelli [Mon, 26 Nov 2012 13:35:30 +0000 (13:35 +0000)]
AA: bcm63xx: fix spi transfer handling

* Accept transfers without bits_per_word set.

* Work around the inability of the hardware of keeping CS asserted.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 34386

6 years agoAA: [ar7]: push atm, br2684ctl and kmod-pppoa down the DSL Profile
Florian Fainelli [Sun, 25 Nov 2012 21:06:51 +0000 (21:06 +0000)]
AA: [ar7]: push atm, br2684ctl and kmod-pppoa down the DSL Profile

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34384

6 years agoAA: [ar7] free memory below kernel offset
Florian Fainelli [Sun, 25 Nov 2012 20:53:00 +0000 (20:53 +0000)]
AA: [ar7] free memory below kernel offset

Some bootloaders (e.g. PSPBoot on AC49x) have a load-offset, this frees that
memory region so it is usable for Linux.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34383

6 years agobroadcom-wl: fix two problems when more then one wifi card is available.
Hauke Mehrtens [Sun, 25 Nov 2012 20:14:34 +0000 (20:14 +0000)]
broadcom-wl: fix two problems when more then one wifi card is available.

* The device should get a unique name at the beginning and not wl%d
* load the nvram just one time into the own buffer also when there is
  more than one device.

Backport of r34381.

SVN-Revision: 34382

6 years agobrcm47xx: fix title of Bcm4705-wl profile
Hauke Mehrtens [Sun, 25 Nov 2012 16:41:10 +0000 (16:41 +0000)]
brcm47xx: fix title of Bcm4705-wl profile

SVN-Revision: 34379

6 years agobrcm47xx: fix cpu clock detection on ASUS WL-520gU
Hauke Mehrtens [Sun, 25 Nov 2012 16:38:16 +0000 (16:38 +0000)]
brcm47xx: fix cpu clock detection on ASUS WL-520gU

The ASUS WL-520gU and some other similar Asus devices have a BCM5354
running at 200MHZ and not at 240 which is the default for this SoC.

This fixes #4083.

Backport of r34325.

SVN-Revision: 34377

6 years agoAA: ramips: ramips_eth: use Kconfig definition to enable debug
Gabor Juhos [Sun, 25 Nov 2012 16:23:08 +0000 (16:23 +0000)]
AA: ramips: ramips_eth: use Kconfig definition to enable debug

Backport of r34332.

The Kconfig identifier to enable debugging in the driver was different from the
actually used one. Fix that.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34376

6 years agoAA: ramips: add DIR-615 D userspace support
Gabor Juhos [Sun, 25 Nov 2012 16:23:07 +0000 (16:23 +0000)]
AA: ramips: add DIR-615 D userspace support

Backport of r34331.

Commit 7c8edac25f23c4fc14239fdc293caa1317649944 introduced new machine and
Makefile changes to build images for this target. However, without the userspace
bits a ramips machine can't use wifi as the necessary "eeprom" data is to be
extracted by a hotplug script; also, sysupgrade support and default led
configuration are missing.

An IRC user reported these changes allowed him to use wifi on his hardware.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34375

6 years agoAA: ar71xx: set pad6 cfg for AR8327 on the AP136 board
Gabor Juhos [Sun, 25 Nov 2012 16:23:05 +0000 (16:23 +0000)]
AA: ar71xx: set pad6 cfg for AR8327 on the AP136 board

Backport of r34316.

Also override the pll_1000 value. Without these settings
ethernet suffers from packet loss.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34374

6 years agoAA: generic: ar8216: set delay values for SGMII mode on AR8327
Gabor Juhos [Sun, 25 Nov 2012 16:23:04 +0000 (16:23 +0000)]
AA: generic: ar8216: set delay values for SGMII mode on AR8327

Backport of r34315.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34373

6 years agoAA: generic: ar8216: introduce ar8216_mib_op helper
Gabor Juhos [Sun, 25 Nov 2012 16:23:03 +0000 (16:23 +0000)]
AA: generic: ar8216: introduce ar8216_mib_op helper

Backport of r34297.

The ar8216_mib_{capture,flush} functions are similar.
Move the common code into a helper and use that from
the original functions.

This change also fixes a lockdep warning in
ar8216_mib_flush.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34372

6 years agoAA: generic: ar8216: fix port number check in 'ar8xxx_mib_work_func'
Gabor Juhos [Sun, 25 Nov 2012 16:23:02 +0000 (16:23 +0000)]
AA: generic: ar8216: fix port number check in 'ar8xxx_mib_work_func'

Backport of r34283.

Also add a WARN_ON to 'ar8216_mib_fetch_port_stat'

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34371

6 years agoAA: generic: ar8216: remove an unblanced mutex_unlock call
Gabor Juhos [Sun, 25 Nov 2012 16:23:00 +0000 (16:23 +0000)]
AA: generic: ar8216: remove an unblanced mutex_unlock call

Backport of r34282.

Fixes the following warning:

[   94.080000]
[   94.080000] =====================================
[   94.080000] [ BUG: bad unlock balance detected! ]
[   94.080000] 3.3.8 #2 Tainted: G           O
[   94.080000] -------------------------------------
[   94.080000] swconfig/1220 is trying to release lock (&priv->mib_lock) at:
[   94.080000] [<801df8f4>] ar8216_sw_get_port_mib+0x138/0x16c
[   94.080000] but there are no more locks to release!
[   94.080000]
[   94.080000] other info that might help us debug this:
[   94.080000] 2 locks held by swconfig/1220:
[   94.080000]  #0:  (genl_mutex){+.+...}, at: [<80222430>] genl_rcv+0x14/0x34
[   94.080000]  #1:  (&dev->sw_mutex){+.+...}, at: [<801da018>] swconfig_get_dev+0x88/0xb4
[   94.080000]
[   94.080000] stack backtrace:
[   94.080000] Call Trace:
[   94.080000] [<8028dc58>] dump_stack+0x8/0x34
[   94.080000] [<800a5128>] print_unlock_inbalance_bug+0xe0/0xfc
[   94.080000] [<800a82c0>] lock_release+0x18c/0x1c8
[   94.080000] [<80292074>] __mutex_unlock_slowpath+0xd8/0x17c
[   94.080000] [<801df8f4>] ar8216_sw_get_port_mib+0x138/0x16c
[   94.080000] [<801db688>] swconfig_get_attr+0xbc/0x394
[   94.080000] [<8022261c>] genl_rcv_msg+0x1cc/0x214
[   94.080000] [<80221a18>] netlink_rcv_skb+0x6c/0xe8
[   94.080000] [<80222440>] genl_rcv+0x24/0x34
[   94.080000] [<80221370>] netlink_unicast+0x15c/0x22c
[   94.080000] [<8022175c>] netlink_sendmsg+0x240/0x2d0
[   94.080000] [<801ef544>] sock_sendmsg+0x84/0x9c
[   94.080000] [<801f0648>] __sys_sendmsg+0x1cc/0x270
[   94.080000] [<801f207c>] sys_sendmsg+0x48/0x7c
[   94.080000] [<8006ad78>] stack_done+0x20/0x40
[   94.080000]

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34370

6 years agoAA: generic: ar8216: add missing locking calls
Gabor Juhos [Sun, 25 Nov 2012 16:22:58 +0000 (16:22 +0000)]
AA: generic: ar8216: add missing locking calls

Backport of r34281.

Fixes the following lockdep warning:

[   19.160000] ------------[ cut here ]------------
[   19.160000] WARNING: at drivers/net/phy/ar8216.c:322 ar8216_rmw+0x54/0xa4()
[   19.170000] Modules linked in: nf_defrag_ipv4 nf_conntrack ehci_hcd
sd_mod pppox ipt_REJECT xt_TCPMSS ipt_LOG xt_comment xt_multip
ort xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp
x_tables ppp_async ppp_generic slhc ath9k(O) ath9k_common(O) at
h9k_hw(O) ath(O) mac80211(O) usbcore usb_common scsi_mod nls_base crc7
crc_itu_t crc_ccitt cfg80211(O) compat(O) arc4 aes_generic cry
pto_blkcipher cryptomgr aead crypto_hash crypto_algapi ledtrig_timer
ledtrig_default_on leds_gpio gpio_button_hotplug(O)
[   19.210000] Call Trace:
[   19.220000] [<8028dc38>] dump_stack+0x8/0x34
[   19.220000] [<80072da0>] warn_slowpath_common+0x78/0xa4
[   19.230000] [<80072de4>] warn_slowpath_null+0x18/0x24
[   19.230000] [<801de820>] ar8216_rmw+0x54/0xa4
[   19.240000] [<801df460>] ar8216_mib_capture+0x70/0xd0
[   19.240000] [<801df944>] ar8xxx_mib_work_func+0x34/0x98
[   19.250000] [<80089a7c>] process_one_work+0x28c/0x460
[   19.250000] [<8008a630>] worker_thread+0x22c/0x334
[   19.260000] [<8008e544>] kthread+0x88/0x90
[   19.260000] [<80065020>] kernel_thread_helper+0x10/0x18
[   19.270000]
[   19.270000] ---[ end trace 22e9d696adfa6a08 ]---

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34369

6 years agoAA: ar71xx: fix GPIO function selection for AR934x
Gabor Juhos [Sun, 25 Nov 2012 16:22:56 +0000 (16:22 +0000)]
AA: ar71xx: fix GPIO function selection for AR934x

Backport of r34275.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34368

6 years agoAA: ar71xx: restore rb4xx kernel partition size to the original value
Gabor Juhos [Sun, 25 Nov 2012 16:22:55 +0000 (16:22 +0000)]
AA: ar71xx: restore rb4xx kernel partition size to the original value

Backport of r34274.

The new lzma compressed elf kernel image fits into
that, even on devices with large page NAND chips.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34367

6 years agoAA: ar71xx: install lzma compressed elf kernel image from wget2nand
Gabor Juhos [Sun, 25 Nov 2012 16:22:54 +0000 (16:22 +0000)]
AA: ar71xx: install lzma compressed elf kernel image from wget2nand

Backport of r34273.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34366

6 years agoAA: ar71xx/image: provide lzma compressed elf kernel image
Gabor Juhos [Sun, 25 Nov 2012 16:22:53 +0000 (16:22 +0000)]
AA: ar71xx/image: provide lzma compressed elf kernel image

Backport of r34272.

This will be used on the RB4xx/RB7xx/RB2011 boards.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34365

6 years agoAA: ar71xx/image: relink loader.elf image to LOADADDR
Gabor Juhos [Sun, 25 Nov 2012 16:22:52 +0000 (16:22 +0000)]
AA: ar71xx/image: relink loader.elf image to LOADADDR

Backport of r34271.

This allows to load the resulting image directly
from RouterBOOT.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34364

6 years agoAA: ramips: set clk_is_20mhz for rt2x00 on RT3352/RT5350
Gabor Juhos [Sun, 25 Nov 2012 16:22:50 +0000 (16:22 +0000)]
AA: ramips: set clk_is_20mhz for rt2x00 on RT3352/RT5350

Backport of r34270.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34363

6 years agoAA: mac80211/rt2x00: add rf_vals for Rt3352 with Xtal=20MHz
Gabor Juhos [Sun, 25 Nov 2012 16:22:49 +0000 (16:22 +0000)]
AA: mac80211/rt2x00: add rf_vals for Rt3352 with Xtal=20MHz

Backport of r34269.

[juhosg: move ramips specific stuff into a followup patch]

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34362

6 years agoAA: mac80211/rt2x00: support Rt3352 with external PA
Gabor Juhos [Sun, 25 Nov 2012 16:22:48 +0000 (16:22 +0000)]
AA: mac80211/rt2x00: support Rt3352 with external PA

Backport of r34268.

This is needed for WiFi to work e.g. on DIR-615 rev.H1.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34361

6 years agoAA: ar71xx: use custom LZMA dictionary size for WNDR3700 images
Gabor Juhos [Sun, 25 Nov 2012 16:22:47 +0000 (16:22 +0000)]
AA: ar71xx: use custom LZMA dictionary size for WNDR3700 images

Backport of r34248.

Based on a patch by Hannu Nyman.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34360

6 years agoAA: generic: ar8216: add MIB counter support for the AR8216 switch as well
Gabor Juhos [Sun, 25 Nov 2012 16:22:46 +0000 (16:22 +0000)]
AA: generic: ar8216: add MIB counter support for the AR8216 switch as well

Backport of r34245.

Thanks to Jonas Gorski for the reference URL.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34359

6 years agoAA: generic: ar8216: rename AR8216_*_STATS_* defines
Gabor Juhos [Sun, 25 Nov 2012 16:22:45 +0000 (16:22 +0000)]
AA: generic: ar8216: rename AR8216_*_STATS_* defines

Backport of r34244.

The names are misleading, those are only valid from
AR8236. The AR8216 chip uses different offsets.

Thanks to Jonas Gorski for the report.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34358

6 years agoAA: generic ar8216: allow to read/reset MIB counters via swconfig
Gabor Juhos [Sun, 25 Nov 2012 16:22:42 +0000 (16:22 +0000)]
AA: generic ar8216: allow to read/reset MIB counters via swconfig

Backport of r34243.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34357

6 years agoAA: generic: ar8216: use dynamically allocated private data in ar8216_probe
Gabor Juhos [Sun, 25 Nov 2012 16:22:41 +0000 (16:22 +0000)]
AA: generic: ar8216: use dynamically allocated private data in ar8216_probe

Backport of r34242.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34356

6 years agoAA: ar71xx: add user-space support for the RB435G board
Gabor Juhos [Sun, 25 Nov 2012 16:22:39 +0000 (16:22 +0000)]
AA: ar71xx: add user-space support for the RB435G board

Backport of r34240.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34355

6 years agoAA: ar71xx: add kernel support for the RB435G board
Gabor Juhos [Sun, 25 Nov 2012 16:22:38 +0000 (16:22 +0000)]
AA: ar71xx: add kernel support for the RB435G board

Backport of r34239.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34354

6 years agoAA: ar71xx: update PCI IRQ map for RB4xx devices
Gabor Juhos [Sun, 25 Nov 2012 16:22:36 +0000 (16:22 +0000)]
AA: ar71xx: update PCI IRQ map for RB4xx devices

Backport of r34238.

Should fix #12269.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34353

6 years agoAA: ar71xx: create profile and build image for the OpenMesh MR600 board
Gabor Juhos [Sun, 25 Nov 2012 16:22:35 +0000 (16:22 +0000)]
AA: ar71xx: create profile and build image for the OpenMesh MR600 board

Backport of r34237.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34352

6 years agoAA: package/uboot-envtools: add OpenMesh MR600 support
Gabor Juhos [Sun, 25 Nov 2012 16:22:34 +0000 (16:22 +0000)]
AA: package/uboot-envtools: add OpenMesh MR600 support

Backport of r34236.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34351

6 years agoAA: ar71xx: enable sysupgrade for the OpenMesh MR600
Gabor Juhos [Sun, 25 Nov 2012 16:22:33 +0000 (16:22 +0000)]
AA: ar71xx: enable sysupgrade for the OpenMesh MR600

Backport of r34235.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34350

6 years agoAA: ar71xx: rename om2p.sh upgrade script to openmesh.sh
Gabor Juhos [Sun, 25 Nov 2012 16:22:32 +0000 (16:22 +0000)]
AA: ar71xx: rename om2p.sh upgrade script to openmesh.sh

Backport of r34234.

It will be used on other boards as well.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34349

6 years agoAA: scripts/om-fwupgradecfg-gen.sh: add support for the MR600
Gabor Juhos [Sun, 25 Nov 2012 16:16:19 +0000 (16:16 +0000)]
AA: scripts/om-fwupgradecfg-gen.sh: add support for the MR600

Backport of r34233.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34348

6 years agobrcm47xx: add profile for bcm4705 with wl driver
Hauke Mehrtens [Sun, 25 Nov 2012 16:16:18 +0000 (16:16 +0000)]
brcm47xx: add profile for bcm4705 with wl driver

backport of r34336.

SVN-Revision: 34347

6 years agoAA: ar71xx: add user-space support for the OpenMesh MR600 board
Gabor Juhos [Sun, 25 Nov 2012 16:16:15 +0000 (16:16 +0000)]
AA: ar71xx: add user-space support for the OpenMesh MR600 board

Backport of r34232.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34346

6 years agoAA: ar71xx: add kernel support for the OpenMesh MR600 board
Gabor Juhos [Sun, 25 Nov 2012 16:16:12 +0000 (16:16 +0000)]
AA: ar71xx: add kernel support for the OpenMesh MR600 board

Backport of r34231.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34345

6 years agoAA: scripts: rename om2p-fwupgradecfg-gen.sh to more generic om-fwupgradecfg-gen.sh
Gabor Juhos [Sun, 25 Nov 2012 16:16:07 +0000 (16:16 +0000)]
AA: scripts: rename om2p-fwupgradecfg-gen.sh to more generic om-fwupgradecfg-gen.sh

Backport of r34200.

It will be used for non OM2P boards as well.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34344

6 years agoAA: ar71xx: add profile and build image for the Ubiquiti UniFi AP-Outdoor board
Gabor Juhos [Sun, 25 Nov 2012 16:16:05 +0000 (16:16 +0000)]
AA: ar71xx: add profile and build image for the Ubiquiti UniFi AP-Outdoor board

Backport of r34198.

Signed-off-by: Daniel Dickinson <daniel@powercloudsystems.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34343

6 years agoAA: ar71xx: add user-space support for the Ubiquiti UniFi AP-Outdoor board
Gabor Juhos [Sun, 25 Nov 2012 16:15:55 +0000 (16:15 +0000)]
AA: ar71xx: add user-space support for the Ubiquiti UniFi AP-Outdoor board

Backport of r34197.

Signed-off-by: Daniel Dickinson <daniel@powercloudsystems.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34342

6 years agoAA: ar71xx: add support for the Ubiquiti UniFi AP-Outdoor device
Gabor Juhos [Sun, 25 Nov 2012 16:15:48 +0000 (16:15 +0000)]
AA: ar71xx: add support for the Ubiquiti UniFi AP-Outdoor device

Backport of r34196.

[juhosg:
  - rename and refresh 660-MIPS-ath79-ubnt-xm-add-unifi-outdoor patches
  - wrap long lines in mach-ubnt-xm
  - remove default network config, set it from uci-defaults/network
    instead
  - remove user-space, and image generation stuff]

Signed-off-by: Daniel Dickinson <daniel@powercloudsystems.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34341

6 years agoAA: ar71xx: add profiles and build images for old PowerCloud System devices
Gabor Juhos [Sun, 25 Nov 2012 16:15:40 +0000 (16:15 +0000)]
AA: ar71xx: add profiles and build images for old PowerCloud System devices

Backport of r34195.

[juhosg:
  - use 'PowerCloud Systems' instead of 'PCS' in the profiles
  - sort SingleProfile instances in image/Makefile]

Signed-off-by: Daniel Dickinson <daniel@powercloudsystems.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34340

6 years agoAA: ar71xx: add profile and build image for the TL-WA7510N board
Gabor Juhos [Sun, 25 Nov 2012 16:15:35 +0000 (16:15 +0000)]
AA: ar71xx: add profile and build image for the TL-WA7510N board

Backport of r34190.

[juhosg: separated from the http://patchwork.openwrt.org/patch/2820/ patch]

Signed-off-by: Stefan Helmert <helst_listen@aol.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34339

6 years agoAA: firmware-utils/mktplinkfw: add support for TL-WA7510N
Gabor Juhos [Sun, 25 Nov 2012 16:15:30 +0000 (16:15 +0000)]
AA: firmware-utils/mktplinkfw: add support for TL-WA7510N

Backport of r34189.

[juhosg: separated from the http://patchwork.openwrt.org/patch/2820/ patch]

Signed-off-by: Stefan Helmert <helst_listen@aol.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34338

6 years agoAA: ar71xx: user space support for the TL-WA7510N
Gabor Juhos [Sun, 25 Nov 2012 16:15:27 +0000 (16:15 +0000)]
AA: ar71xx: user space support for the TL-WA7510N

Backport of r34188.

[juhosg: separated from the http://patchwork.openwrt.org/patch/2820/ patch]

Signed-off-by: Stefan Helmert <helst_listen@aol.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34337

6 years agoAA: ar71xx: add support for TP-Link TL-WA7510N
Gabor Juhos [Sun, 25 Nov 2012 16:15:24 +0000 (16:15 +0000)]
AA: ar71xx: add support for TP-Link TL-WA7510N

Backport of r34187.

It is mostly the same as TL-WA901N. WLAN and LAN
are working. LAN LED is working. WLAN signal
strength LEDs are not working yet.

http://wiki.openwrt.org/toh/tp-link/tl-wa7510n?s[]=wa7510n

[juhosg:
  - cleanup commit message
  - move non kernel related stuff into separate changes
  - rename and refresh 615-MIPS-ath79-TL-WA7510N-v1-support patch
  - merge WA7510N support into the mach-tl-wa901nd.c file
  - add 3.6 support]

Signed-off-by: Stefan Helmert <helst_listen@aol.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34335

6 years agoAA: ar71xx: nuke ath79_set_usb_power_gpio helper
Gabor Juhos [Sun, 25 Nov 2012 16:15:05 +0000 (16:15 +0000)]
AA: ar71xx: nuke ath79_set_usb_power_gpio helper

Backport of r34088.

It is no longer used.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34334

6 years agoAA: ar71xx: use gpio_request_one instead of ath79_set_usb_power_gpio
Gabor Juhos [Sun, 25 Nov 2012 16:15:01 +0000 (16:15 +0000)]
AA: ar71xx: use gpio_request_one instead of ath79_set_usb_power_gpio

Backport of r34087.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34333

6 years agoAA: bcm63xx: properly prevent known unusable images from being built
Jonas Gorski [Sun, 25 Nov 2012 13:42:43 +0000 (13:42 +0000)]
AA: bcm63xx: properly prevent known unusable images from being built

Commenting out does not work, so guard the calls with a check for BROKEN.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 34328

6 years agoAA: imagebuilder: merge r34301
Jo-Philipp Wich [Thu, 22 Nov 2012 19:49:40 +0000 (19:49 +0000)]
AA: imagebuilder: merge r34301

SVN-Revision: 34302

7 years agobeta2 -> rc1
John Crispin [Tue, 13 Nov 2012 13:14:59 +0000 (13:14 +0000)]
beta2 -> rc1

SVN-Revision: 34185

7 years ago[lantiq] fixes dgn3500
John Crispin [Tue, 13 Nov 2012 13:14:57 +0000 (13:14 +0000)]
[lantiq] fixes dgn3500

SVN-Revision: 34184

7 years ago[ramips] backport ethernet fix
John Crispin [Tue, 13 Nov 2012 13:14:55 +0000 (13:14 +0000)]
[ramips] backport ethernet fix

SVN-Revision: 34183

7 years ago[lantiq] vr9 i not really usable, lets just ignore it
John Crispin [Tue, 13 Nov 2012 13:14:53 +0000 (13:14 +0000)]
[lantiq] vr9 i not really usable, lets just ignore it

SVN-Revision: 34182

7 years agobrcm47xx: backport of r34176
Hauke Mehrtens [Mon, 12 Nov 2012 21:35:41 +0000 (21:35 +0000)]
brcm47xx: backport of r34176

remove double definition of kmod-tg3 added in r34151

SVN-Revision: 34178

7 years agoAA: ppp: backport r34171
Jo-Philipp Wich [Mon, 12 Nov 2012 19:17:10 +0000 (19:17 +0000)]
AA: ppp: backport r34171

SVN-Revision: 34172

7 years agoAA: brcm47xx: backport r34150: remove ssb-gige package
Hauke Mehrtens [Sun, 11 Nov 2012 17:34:32 +0000 (17:34 +0000)]
AA: brcm47xx: backport r34150: remove ssb-gige package

CONFIG_SSB_DRIVER_GIGE is set in the target config of the brcm47xx target, so it will always be activated and the kmod-ssb-gige is not needed any more.
The kmod-ssb-gige package is not generated in an build as it does not contain any files and the makes the image builder fail when generating a image integrating this package.

SVN-Revision: 34151

7 years agoAA: x86/generic: backport r34139
Jo-Philipp Wich [Sat, 10 Nov 2012 23:33:23 +0000 (23:33 +0000)]
AA: x86/generic: backport r34139

SVN-Revision: 34140

7 years agomac80211: add more tx skb free fixes (hopefully final fix to #11894)
Felix Fietkau [Sat, 10 Nov 2012 02:48:07 +0000 (02:48 +0000)]
mac80211: add more tx skb free fixes (hopefully final fix to #11894)

Backport of r34133

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 34134

7 years agox86: backport grub2 at_keyboard handling from r34126 and r34127
Felix Fietkau [Fri, 9 Nov 2012 11:16:53 +0000 (11:16 +0000)]
x86: backport grub2 at_keyboard handling from r34126 and r34127

SVN-Revision: 34128

7 years agoAA: scripts: backport r34118
Jo-Philipp Wich [Thu, 8 Nov 2012 11:24:15 +0000 (11:24 +0000)]
AA: scripts: backport r34118

SVN-Revision: 34119

7 years agoAA: resolveip: backport r34116
Jo-Philipp Wich [Thu, 8 Nov 2012 10:49:16 +0000 (10:49 +0000)]
AA: resolveip: backport r34116

SVN-Revision: 34117

7 years agoAA: bcm63xx: fix SPW303V images
Jonas Gorski [Mon, 5 Nov 2012 22:53:11 +0000 (22:53 +0000)]
AA: bcm63xx: fix SPW303V images

Backport of r34091.

SVN-Revision: 34092

7 years agoAA: netifd: backport r34089
Jo-Philipp Wich [Mon, 5 Nov 2012 19:47:15 +0000 (19:47 +0000)]
AA: netifd: backport r34089

SVN-Revision: 34090

7 years agoAA: ramips: enable USB power on the DIR-645
Gabor Juhos [Mon, 5 Nov 2012 11:41:11 +0000 (11:41 +0000)]
AA: ramips: enable USB power on the DIR-645

Backport of r34082.

Closes #12422.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34085

7 years agoAA: linux/3.3: backport an upstream GPIO patch
Gabor Juhos [Mon, 5 Nov 2012 11:41:10 +0000 (11:41 +0000)]
AA: linux/3.3: backport an upstream GPIO patch

Backport of r34081.

The backported patch introduces new flags to
automatically export GPIOs when using the
convenience unctions gpio_request_one() or
gpio_request_array().

This will be used by ar71xx/ramips platforms.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34084

7 years agoAA: ramips: add restorefactory to default package set for ALL0239-3G and ALL0256N
Gabor Juhos [Mon, 5 Nov 2012 07:21:01 +0000 (07:21 +0000)]
AA: ramips: add restorefactory to default package set for ALL0239-3G and ALL0256N

Backport of r34078.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 34080

7 years agoAA: ar71xx: don't use the unknown LED on the ZCN-1523-5 board
Gabor Juhos [Sun, 4 Nov 2012 22:09:57 +0000 (22:09 +0000)]
AA: ar71xx: don't use the unknown LED on the ZCN-1523-5 board

Backport of r34076.

According to #12421, GPIO 1 controls the power
output on the unused lines of the LAN2 port.
Remove the LED definition in order to prevent
possible permanent hardware damage.

If someone needs that, the power-out feature can
be controlled via the GPIO sysfs interface.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34077

7 years agoAA: ar71xx: include mtd layout in the command line for ZCN-1523H-* boards
Gabor Juhos [Sun, 4 Nov 2012 21:14:15 +0000 (21:14 +0000)]
AA: ar71xx: include mtd layout in the command line for ZCN-1523H-* boards

Backport of r34074.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34075

7 years agoAA: ar71xx: add missing Makefile entry for the ZCN-1523H-{2,5} boards
Gabor Juhos [Sun, 4 Nov 2012 20:41:30 +0000 (20:41 +0000)]
AA: ar71xx: add missing Makefile entry for the ZCN-1523H-{2,5} boards

Backport of r34072.

Also add the missing ATH79_MACH_ZCN_1523H_5 symbol.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34073

7 years ago[x86] fix full builds for xen / kvm
John Crispin [Fri, 2 Nov 2012 07:36:13 +0000 (07:36 +0000)]
[x86] fix full builds for xen / kvm

SVN-Revision: 34056

7 years agoAA: mac80211: fix intel wifi autoload module names
Jonas Gorski [Thu, 1 Nov 2012 11:47:23 +0000 (11:47 +0000)]
AA: mac80211: fix intel wifi autoload module names

merge r33676.

SVN-Revision: 34055

7 years ago[sdk] Backport r34051
Daniel Dickinson [Thu, 1 Nov 2012 07:26:25 +0000 (07:26 +0000)]
[sdk] Backport r34051

SVN-Revision: 34052

7 years agolibubox: add more uloop timer fixes
Felix Fietkau [Wed, 31 Oct 2012 19:31:13 +0000 (19:31 +0000)]
libubox: add more uloop timer fixes

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r34039

SVN-Revision: 34040

7 years agolibubox: sync with trunk r34037 to merge the uloop timer fix
Felix Fietkau [Wed, 31 Oct 2012 19:07:18 +0000 (19:07 +0000)]
libubox: sync with trunk r34037 to merge the uloop timer fix

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 34038

7 years agomac80211: prevent reconfigure calls while interfaces are down
Felix Fietkau [Wed, 31 Oct 2012 14:59:27 +0000 (14:59 +0000)]
mac80211: prevent reconfigure calls while interfaces are down

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r34030

SVN-Revision: 34031

7 years agoAA: generic: fold yaffs_git_2010_10_20 patch to generic/files
Gabor Juhos [Tue, 30 Oct 2012 18:53:12 +0000 (18:53 +0000)]
AA: generic: fold yaffs_git_2010_10_20 patch to generic/files

Backport of r34013.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34018

7 years agoAA: generic: fold yaffs_cvs_2009_04_24 patch to generic/files
Gabor Juhos [Tue, 30 Oct 2012 18:53:09 +0000 (18:53 +0000)]
AA: generic: fold yaffs_cvs_2009_04_24 patch to generic/files

Backport of r34012.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34017

7 years agoAA: uhttpd: backport trunk changes
Jo-Philipp Wich [Tue, 30 Oct 2012 13:22:03 +0000 (13:22 +0000)]
AA: uhttpd: backport trunk changes

SVN-Revision: 34011

7 years agoAA: iwinfo: backport r34003
Jo-Philipp Wich [Mon, 29 Oct 2012 22:15:29 +0000 (22:15 +0000)]
AA: iwinfo: backport r34003

SVN-Revision: 34004