oweals/openwrt.git
10 years agoKconfig: Aesthetic/formatting fixes to toolchain/Config.in.
Hauke Mehrtens [Sat, 13 Sep 2014 20:26:51 +0000 (20:26 +0000)]
Kconfig: Aesthetic/formatting fixes to toolchain/Config.in.

Non-functional edits to toolchain/Config.in:

* fix spelling mistake ("us" -> "is")
* Overly long help lines shortened to avoid line wrap
* Standardize help info to use tab(s), then two spaces

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
SVN-Revision: 42518

10 years agocurl: 7.36.0 -> 7.38.0
Hauke Mehrtens [Sat, 13 Sep 2014 20:26:08 +0000 (20:26 +0000)]
curl: 7.36.0 -> 7.38.0

Main changes:
- URL parser: IPv6 zone identifiers are now supported
- cyassl: Use error-ssl.h when available (drop local patch)
- polarssl: support CURLOPT_CAPATH / --capath
- mkhelp: generate code for --disable-manual as well (drop local patch)

Full release notes: http://curl.haxx.se/changes.html

MIPS 34kc binary size:
- 7.36.0 before: 82,539 bytes
- 7.38.0 after: 83,321 bytes

Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>
SVN-Revision: 42517

10 years agotoolchain: packetize libatomic
Steven Barth [Fri, 12 Sep 2014 12:25:55 +0000 (12:25 +0000)]
toolchain: packetize libatomic

Based on a patch by Tobias Steinicke <tobias.steinicke@inet.tu-berlin.de>.

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 42514

10 years agoatheros: refresh config
John Crispin [Fri, 12 Sep 2014 06:54:16 +0000 (06:54 +0000)]
atheros: refresh config

Remove symbols that are now placed in the generic config.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42513

10 years agoatheros: convert AR2315 GPIO code to platform driver
John Crispin [Fri, 12 Sep 2014 06:54:10 +0000 (06:54 +0000)]
atheros: convert AR2315 GPIO code to platform driver

Convert gpiolib realization to platform driver and move to the
appropriate subdirectory. Misc GPIO interrupt acknowledgement placed
to the MISC IRQ handler since in fact we can detect only one GPIO state
change.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42512

10 years agoatheros: convert AR5312 GPIO code to platform driver
John Crispin [Fri, 12 Sep 2014 06:54:05 +0000 (06:54 +0000)]
atheros: convert AR5312 GPIO code to platform driver

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42511

10 years agoatheros: rework chained interrupts handling
John Crispin [Fri, 12 Sep 2014 06:53:58 +0000 (06:53 +0000)]
atheros: rework chained interrupts handling

Call generic_handle_irq() instead of do_IRQ() for chained interrupts,
remove XXX_NONE interrupts and call spurious_interrupt() when an interrupt
is unexpected.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42510

10 years agoatheros: convert gpio.h to stub
John Crispin [Fri, 12 Sep 2014 06:53:53 +0000 (06:53 +0000)]
atheros: convert gpio.h to stub

Implement to_irq() handler for AR2315 GPIO chip and convert custom
gpio.h header to stub.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42509

10 years agoatheros: rename SoCs config symbols
John Crispin [Fri, 12 Sep 2014 06:53:48 +0000 (06:53 +0000)]
atheros: rename SoCs config symbols

Rename config symbols to be consistent with other SoCs config symbols
supported by MIPS arch.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42508

10 years agoatheros: add AR2316 and AR2318 SoCs detection
John Crispin [Fri, 12 Sep 2014 06:53:43 +0000 (06:53 +0000)]
atheros: add AR2316 and AR2318 SoCs detection

Tested with AR2315, AR2316 and AR2317 SoCs, not tested with AR2318 but
changes seems correct: revision is one more than AR2317.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42507

10 years agoatheros: ar2315-pci: convert to platform driver
John Crispin [Fri, 12 Sep 2014 06:53:33 +0000 (06:53 +0000)]
atheros: ar2315-pci: convert to platform driver

Convert the PCI controller support code to platform driver and move it to
appropriate subdirectory.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42506

10 years agoatheros: ar2315-pci: rename configuration symbol
John Crispin [Fri, 12 Sep 2014 06:53:27 +0000 (06:53 +0000)]
atheros: ar2315-pci: rename configuration symbol

Rename configuration symbol to be consistent with other MIPS machines.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42505

10 years agoatheros: ar2315-pci: update DMA offset macroses
John Crispin [Fri, 12 Sep 2014 06:53:21 +0000 (06:53 +0000)]
atheros: ar2315-pci: update DMA offset macroses

Remove duplicated macroses, which define DMA offset (SDRAM baseaddress).

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42504

10 years agoatheros: ar2315-pci: update host bridge resources
John Crispin [Fri, 12 Sep 2014 06:53:15 +0000 (06:53 +0000)]
atheros: ar2315-pci: update host bridge resources

It seems that the PCI controller does not support I/O ports, so remove
the ports range. Also correct the beginning of the memory range and its
size.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42503

10 years agoatheros: ar2315-pci: rework the configuration access code
John Crispin [Fri, 12 Sep 2014 06:53:09 +0000 (06:53 +0000)]
atheros: ar2315-pci: rework the configuration access code

Use __raw_{read,write}l accessors and use Abort interrupt to detect a
configuration space read/write errors. The second change improves errors
detection, what improves the device presence detection and helps us to
avoid following (and similar) errors:

pci 0000:00:00.2: ignoring class 0x7e0200 (doesn't match header type 02)
pci 0000:00:00.2: bridge configuration invalid ([bus 03-90]), reconfiguring
pci 0000:00:00.2: not setting up bridge for bus 0000:01

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42502

10 years agoatheros: ar2315-pci: rework interrupt handling
John Crispin [Fri, 12 Sep 2014 06:53:00 +0000 (06:53 +0000)]
atheros: ar2315-pci: rework interrupt handling

Add PCI IRQ controller to facilitate interrupt handling, move interrupts
initialization to the IRQ controller initialization from
pcibios_plat_dev_init() callback.

Also remove odd PCI dev configuration manipulation from pcibios_plat_dev_init()
callback.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42501

10 years agoatheros: ar2315-pci: rework host controller initialization
John Crispin [Fri, 12 Sep 2014 06:52:55 +0000 (06:52 +0000)]
atheros: ar2315-pci: rework host controller initialization

Explicitly configure PCI host controller, and do not expose it to PCI
subsystem. The PCI host controller acts as a usual PCI device connected
to the bus, but its configuration as a usual PCI device is senseless,
since the host controller provide access to _internal_ memory space for
_external_ device.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42500

10 years agoatheros: ar2315-pci: cosmetic changes
John Crispin [Fri, 12 Sep 2014 06:52:51 +0000 (06:52 +0000)]
atheros: ar2315-pci: cosmetic changes

- add comment, which briefly describes PCI controller features and
   Fonera 2.0g schematics.
 - rename several functions and structures, to make it clear that this
   code only for AR2315 chips.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42499

10 years agoatheros: ar2315-pci: remove odd locking in PCI config space access function
John Crispin [Fri, 12 Sep 2014 06:52:46 +0000 (06:52 +0000)]
atheros: ar2315-pci: remove odd locking in PCI config space access function

Caller (generic PCI code) already do proper locking so no need to add
another one here.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42498

10 years agoatheros: remove odd ATHEROS_AR2315 config symbol dependencies
John Crispin [Fri, 12 Sep 2014 06:52:42 +0000 (06:52 +0000)]
atheros: remove odd ATHEROS_AR2315 config symbol dependencies

Remove options which already selected by ATHEROS_AR231X on which
ATHEROS_AR2315 depends.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42497

10 years agoatheros: various space related changes
John Crispin [Fri, 12 Sep 2014 06:52:36 +0000 (06:52 +0000)]
atheros: various space related changes

- remove odd blank lines
 - remove odd spaces after casts
 - fix alignment

 No functional changes.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42496

10 years agoatheros: rework and cleanup board initialization
John Crispin [Fri, 12 Sep 2014 06:52:26 +0000 (06:52 +0000)]
atheros: rework and cleanup board initialization

- remove odd flags and branching
  - add __init mark
  - make shorter variables names
  - returns true or false from boolean functions
  - unwrap short function declarations
  - unwrap quoted string
  - rename macroses with names in CamelCase

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42495

10 years agoatheros: update ether addresses handling
John Crispin [Fri, 12 Sep 2014 06:52:21 +0000 (06:52 +0000)]
atheros: update ether addresses handling

- use ether_foo() routines to work with addresses
 - use ETH_ALEN inplace of magic '6'

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42494

10 years agoatheros: remove useless includes
John Crispin [Fri, 12 Sep 2014 06:52:14 +0000 (06:52 +0000)]
atheros: remove useless includes

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42493

10 years agoatheros: ar231x-eth: remove useless IOCTL handlers
John Crispin [Fri, 12 Sep 2014 06:52:07 +0000 (06:52 +0000)]
atheros: ar231x-eth: remove useless IOCTL handlers

These IOCTLs handled in the core now.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42492

10 years agoatheros: ar2315-spiflash: use mutex inplace of spinlock
John Crispin [Fri, 12 Sep 2014 06:52:00 +0000 (06:52 +0000)]
atheros: ar2315-spiflash: use mutex inplace of spinlock

Use mutex inplace of spinlock to make code simple, also call
mutex_{lock,unlock} explicitly to avoid sparse warning about context
imbalance.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42491

10 years agoatheros: ar2315-spiflash: update initialization
John Crispin [Fri, 12 Sep 2014 06:51:51 +0000 (06:51 +0000)]
atheros: ar2315-spiflash: update initialization

- fill module metadata
  - remove odd module_{init,exit}

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42490

10 years agoatheros: ar2315-spiflash: use devm_* API to simplify the code
John Crispin [Fri, 12 Sep 2014 06:51:46 +0000 (06:51 +0000)]
atheros: ar2315-spiflash: use devm_* API to simplify the code

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42489

10 years agoatheros: remove useless return
John Crispin [Fri, 12 Sep 2014 06:51:39 +0000 (06:51 +0000)]
atheros: remove useless return

Remove useless void function return.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42488

10 years agoatheros: remove FSF mailing address
John Crispin [Fri, 12 Sep 2014 06:51:33 +0000 (06:51 +0000)]
atheros: remove FSF mailing address

Remove FSF mailing address as suggested by checkpach and place license
URL.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42487

10 years agoatheros: add blank line after declarations
John Crispin [Fri, 12 Sep 2014 06:51:26 +0000 (06:51 +0000)]
atheros: add blank line after declarations

as suggested by checkpach.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42486

10 years agoatheros: use static keywork for local code
John Crispin [Fri, 12 Sep 2014 06:51:10 +0000 (06:51 +0000)]
atheros: use static keywork for local code

Make PCI IRQ handler and several structures static as suggested by
sparse.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42485

10 years agoatheros: use NULL instead of plain integer
John Crispin [Fri, 12 Sep 2014 06:51:05 +0000 (06:51 +0000)]
atheros: use NULL instead of plain integer

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42484

10 years agoatheros: add missing include
John Crispin [Fri, 12 Sep 2014 06:50:58 +0000 (06:50 +0000)]
atheros: add missing include

Missing this headers cause several sparse "symbol 'foo' was not
declared. Should it be static?" warnings.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42483

10 years agoatheros: avoid extern prototypes
John Crispin [Fri, 12 Sep 2014 06:50:53 +0000 (06:50 +0000)]
atheros: avoid extern prototypes

Avoid using of extern prototypes as suggested by checkpatch.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42482

10 years agoralink: drop 3.10 support
John Crispin [Fri, 12 Sep 2014 06:50:46 +0000 (06:50 +0000)]
ralink: drop 3.10 support

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42481

10 years agotools: install a fake empty ldconfig script to prevent the system ldconfig from messi...
Felix Fietkau [Thu, 11 Sep 2014 23:13:29 +0000 (23:13 +0000)]
tools: install a fake empty ldconfig script to prevent the system ldconfig from messing around with the toolchain (fixes disappearing musl symlink issue)

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

10 years agoqos-scripts: disable fq_codel ecn by default to improve compatibility
Felix Fietkau [Thu, 11 Sep 2014 23:13:24 +0000 (23:13 +0000)]
qos-scripts: disable fq_codel ecn by default to improve compatibility

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

10 years agolantiq: update to a newer versions of the vr9 drivers
John Crispin [Thu, 11 Sep 2014 18:22:31 +0000 (18:22 +0000)]
lantiq: update to a newer versions of the vr9 drivers

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42478

10 years agoltq-deu: fix compile for 3.14
John Crispin [Thu, 11 Sep 2014 17:50:03 +0000 (17:50 +0000)]
ltq-deu: fix compile for 3.14

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42477

10 years agolantiq: update 3.14 patches
John Crispin [Thu, 11 Sep 2014 17:49:57 +0000 (17:49 +0000)]
lantiq: update 3.14 patches

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42476

10 years agolldp: remove calls to user/group_add/exists
John Crispin [Thu, 11 Sep 2014 12:28:22 +0000 (12:28 +0000)]
lldp: remove calls to user/group_add/exists

use the new ipkg based mechanism

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42472

10 years agoprocd: update to latest git
John Crispin [Thu, 11 Sep 2014 12:28:00 +0000 (12:28 +0000)]
procd: update to latest git

add support for starting services as !root

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42471

10 years agoipkg: add a default postinst/prerm script
John Crispin [Thu, 11 Sep 2014 12:27:49 +0000 (12:27 +0000)]
ipkg: add a default postinst/prerm script

the postinst script enables/starts the init.d scripts upon package installation
and installs the users required by the package.

the prerm script stops and disables the init.d scripts.

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42470

10 years agoinclude: add a meta data field for required system user:group
John Crispin [Thu, 11 Sep 2014 12:27:26 +0000 (12:27 +0000)]
include: add a meta data field for required system user:group

this is in preparation of having services run as !root with
ACL'ed access to ubus.

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42469

10 years agoopkg: indicate upgrade vs install
John Crispin [Thu, 11 Sep 2014 12:27:09 +0000 (12:27 +0000)]
opkg: indicate upgrade vs install

when running the postinst trigger we set PKG_UPGRADE=1 if this is an upgrade
and not an install.

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42468

10 years agoumbim: remove superflous jshn call
John Crispin [Thu, 11 Sep 2014 12:26:52 +0000 (12:26 +0000)]
umbim: remove superflous jshn call

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42467

10 years agoumbim: update to latest git
John Crispin [Thu, 11 Sep 2014 12:26:41 +0000 (12:26 +0000)]
umbim: update to latest git

adds handling for username/password

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42466

10 years agocomgt: add directip proto
John Crispin [Thu, 11 Sep 2014 12:26:31 +0000 (12:26 +0000)]
comgt: add directip proto

add a proto handler for sierra wireless directip modems

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42465

10 years agoconfig: enable cgroup freezer
Luka Perkov [Wed, 10 Sep 2014 23:15:22 +0000 (23:15 +0000)]
config: enable cgroup freezer

This option will be enabled by default only when cgroups support is enabled.

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 42464

10 years agokernel: update 3.14 to 3.14.18
Luka Perkov [Wed, 10 Sep 2014 21:40:19 +0000 (21:40 +0000)]
kernel: update 3.14 to 3.14.18

Targets were build tested and patches are refreshed.

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 42463

10 years agokernel: remove unused versions
Luka Perkov [Wed, 10 Sep 2014 13:57:48 +0000 (13:57 +0000)]
kernel: remove unused versions

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 42462

10 years agoatheros: enable the low_mem flag to better deal with 16M RAM devices
Felix Fietkau [Wed, 10 Sep 2014 13:50:10 +0000 (13:50 +0000)]
atheros: enable the low_mem flag to better deal with 16M RAM devices

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

10 years agohostapd: add ubus bindings for wps
Felix Fietkau [Wed, 10 Sep 2014 13:01:53 +0000 (13:01 +0000)]
hostapd: add ubus bindings for wps

With this patch WPS discovery can be started or canceled over ubus if
WPS is enabled in wireless configuration. This is equivalent of
'hostapd_cli wps_pbc' and 'hostapd_cli wps_cancel' commands.

Signed-off-by: Petar Koretic <petar.koretic@sartura.hr>
SVN-Revision: 42459

10 years agoar71xx: ack completed tx descriptors only after the full frame has been completed
Felix Fietkau [Wed, 10 Sep 2014 12:56:24 +0000 (12:56 +0000)]
ar71xx: ack completed tx descriptors only after the full frame has been completed

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

10 years agoprocd: allow adding empty strings to arrays
Felix Fietkau [Wed, 10 Sep 2014 12:56:19 +0000 (12:56 +0000)]
procd: allow adding empty strings to arrays

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

10 years agoimx6: fix image build for Generic profile.
Luka Perkov [Tue, 9 Sep 2014 21:15:49 +0000 (21:15 +0000)]
imx6: fix image build for Generic profile.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 42455

10 years agoath9k: fix pll clock initialization on newer soc devices (fixes #14916)
Felix Fietkau [Tue, 9 Sep 2014 08:03:00 +0000 (08:03 +0000)]
ath9k: fix pll clock initialization on newer soc devices (fixes #14916)

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

10 years agokernel: drop 3.9 support
Hauke Mehrtens [Mon, 8 Sep 2014 19:55:36 +0000 (19:55 +0000)]
kernel: drop 3.9 support

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42452

10 years agogemini: drop kernel 3.9 support
Hauke Mehrtens [Mon, 8 Sep 2014 19:55:00 +0000 (19:55 +0000)]
gemini: drop kernel 3.9 support

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42451

10 years agogemini: switch to kernel 3.10
Hauke Mehrtens [Mon, 8 Sep 2014 19:54:22 +0000 (19:54 +0000)]
gemini: switch to kernel 3.10

This switches to kernel 3.10 that was prepared by Hauke in r41531 :
    gemini: add support for kernel 3.10

    This is compile tested only, please run test and report back.

I've simply checked if it still compiles, unfortunately we didn't get
any feedback for this target.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42450

10 years agoomap: add kernel 3.14 support
Hauke Mehrtens [Mon, 8 Sep 2014 19:53:01 +0000 (19:53 +0000)]
omap: add kernel 3.14 support

It has been compile-tested only so far. Please give it a try.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42449

10 years agokernel: add bcma patches sent upstream but not pushed yet
Hauke Mehrtens [Mon, 8 Sep 2014 19:50:53 +0000 (19:50 +0000)]
kernel: add bcma patches sent upstream but not pushed yet

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42448

10 years agokernel: update bcma to the version from wireless-testing master-2014-09-04 tag
Hauke Mehrtens [Mon, 8 Sep 2014 19:50:11 +0000 (19:50 +0000)]
kernel: update bcma to the version from wireless-testing master-2014-09-04 tag

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42447

10 years agoralink: dwc_otg->dwc2
John Crispin [Mon, 8 Sep 2014 17:33:16 +0000 (17:33 +0000)]
ralink: dwc_otg->dwc2

the old dwc_otg driver is starting to fall apart and fails on newer 3g
modems and some storage devices. switch to the upstream dwc2 driver which
is no longer in staging/.

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42446

10 years agoralink: add dwc2 device_reset() call
John Crispin [Mon, 8 Sep 2014 17:32:52 +0000 (17:32 +0000)]
ralink: add dwc2 device_reset() call

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42445

10 years agoath9k: add some ani related stability / performance fixes
Felix Fietkau [Mon, 8 Sep 2014 16:45:30 +0000 (16:45 +0000)]
ath9k: add some ani related stability / performance fixes

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

10 years agotools: fix mtools/dosfstools related build system warnings
Felix Fietkau [Mon, 8 Sep 2014 16:09:57 +0000 (16:09 +0000)]
tools: fix mtools/dosfstools related build system warnings

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

10 years agonetifd: work-around kernel IPv6 on-link route issue
Steven Barth [Mon, 8 Sep 2014 14:45:56 +0000 (14:45 +0000)]
netifd: work-around kernel IPv6 on-link route issue

SVN-Revision: 42439

10 years agolantiq: add ath9k led pin support
John Crispin [Mon, 8 Sep 2014 14:29:18 +0000 (14:29 +0000)]
lantiq: add ath9k led pin support

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42437

10 years agosunxi: re-add lradc driver in 3.14
Zoltan Herpai [Mon, 8 Sep 2014 07:50:03 +0000 (07:50 +0000)]
sunxi: re-add lradc driver in 3.14

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 42436

10 years agotools: build dosfstools and mtools for sunxi
Zoltan Herpai [Sun, 7 Sep 2014 23:38:03 +0000 (23:38 +0000)]
tools: build dosfstools and mtools for sunxi

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 42435

10 years agoath79: dev-eth: Don't advertise 1gbit in link code word on ar9331
Felix Fietkau [Sun, 7 Sep 2014 09:45:32 +0000 (09:45 +0000)]
ath79: dev-eth: Don't advertise 1gbit in link code word on ar9331

While the AR9331 has a gigabit MAC towards the internal switch, the
integrated PHYs however are only 100-base-tx capable.  The existing code
however advertieses gigabit capability in the link status word.  If you
attach such a PHY to a gigabit capable switch on the remote end, with
some probability it attempts to negotiate gigabit and fails, falling
baco to the AR9331 assuming a 10mbit half-duplex link.  This has been
observed quite frequently with the Carambola2 and gigabit capable
switches.

In ath79_register_eth(), "pdata->has_gbit = 1;" is set unconditionally
for both AR9331 ethernet ports. This is most likely wrong. Despite the
two MAC IP cores being gigabit MACs, the MAC for eth1 is connected to a
100base-T PHY via MII. The has_gbit attribute is used in the ethernet
driver to determine the supported link modes.

So either pdata->has_gbit is not set to 1 anymore, or the ethernet
driver needs to be modified to determine the advertised link code word
on another criteria than pdata->has_gbit.  This patch implements the
former solution.

Signed-off-by: Harald Welte <laforge@gnumonks.org>
SVN-Revision: 42432

10 years agomac80211: enable DFS support for ath9k/10k by default
Jonas Gorski [Sun, 7 Sep 2014 09:38:13 +0000 (09:38 +0000)]
mac80211: enable DFS support for ath9k/10k by default

The DFS pattern detector now supports all three regions; ETSI, FCC and
JP, so there is no reason to not have it enabled anymore.

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

10 years agotoolchain/binutils: do not install host libiberty.a into target lib dir
Jonas Gorski [Sun, 7 Sep 2014 09:38:10 +0000 (09:38 +0000)]
toolchain/binutils: do not install host libiberty.a into target lib dir

Binutils target build will pick it up and break build on e.g. arm:

libtool: link: arm-openwrt-linux-uclibcgnueabi-gcc -shared  .libs/archive.o .libs/archures.o .libs/bfd.o .libs/bfdio.o .libs/bfdwin.o .libs/cache.o .libs/coffgen.o .libs/corefile.o .libs/format.o .libs/init.o .libs/libbfd.o .libs/opncls.o .libs/reloc.o .libs/section.o .libs/syms.o .libs/targets.o .libs/hash.o .libs/linker.o .libs/srec.o .libs/binary.o .libs/tekhex.o .libs/ihex.o .libs/stabs.o .libs/stab-syms.o .libs/merge.o .libs/dwarf2.o .libs/simple.o .libs/compress.o .libs/verilog.o .libs/elf32-arm.o .libs/elf32.o .libs/elf-nacl.o .libs/elf-vxworks.o .libs/elf.o .libs/elflink.o .libs/elf-attrs.o .libs/elf-strtab.o .libs/elf-eh-frame.o .libs/dwarf1.o .libs/elf32-gen.o .libs/cpu-arm.o   -L/mnt/dl/slave/at91/build/staging_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/usr/lib -L/mnt/dl/slave/at91/build/staging_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/lib -L/mnt/dl/slave/at91/build/staging_dir/toolchain-arm_arm926ej-s_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/usr/lib -L/mnt/dl/slave/at91/build/staging_dir/toolchain-arm_arm926ej-s_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/lib -L/mnt/dl/slave/at91/build/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/binutils-2.24/bfd/../libiberty/pic -liberty -lz  -march=armv5te -mtune=arm926ej-s -mfloat-abi=soft -Wl,-lc -Wl,--as-needed -Wl,-lm -Wl,--no-as-needed   -Wl,-soname -Wl,libbfd-2.24.so -o .libs/libbfd-2.24.so
/mnt/dl/slave/at91/build/staging_dir/toolchain-arm_arm926ej-s_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/lib/libiberty.a: could not read symbols: File format not recognized

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

10 years agoar71xx: re-enable descriptor splitting on ar716x after the previous bugfixes (#13072)
Felix Fietkau [Sat, 6 Sep 2014 17:51:48 +0000 (17:51 +0000)]
ar71xx: re-enable descriptor splitting on ar716x after the previous bugfixes (#13072)

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

10 years agoar71xx: fix off-by-one error in packet descriptor splitting (patch from #13072)
Felix Fietkau [Sat, 6 Sep 2014 17:51:44 +0000 (17:51 +0000)]
ar71xx: fix off-by-one error in packet descriptor splitting (patch from #13072)

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

10 years agoar71xx: on ar716x, split ethernet packets in 512 byte chunks instead of 256 (improves...
Felix Fietkau [Sat, 6 Sep 2014 17:51:39 +0000 (17:51 +0000)]
ar71xx: on ar716x, split ethernet packets in 512 byte chunks instead of 256 (improves performance) (patch from #13072)

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

10 years agoatheros: remove linux 3.10
Felix Fietkau [Sat, 6 Sep 2014 17:51:35 +0000 (17:51 +0000)]
atheros: remove linux 3.10

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

10 years agosunxi: bump kernel to 3.14.16
Zoltan Herpai [Sat, 6 Sep 2014 15:59:06 +0000 (15:59 +0000)]
sunxi: bump kernel to 3.14.16

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 42425

10 years agosunxi: update pcDuino3 profile to the new u-boot
Zoltan Herpai [Sat, 6 Sep 2014 15:57:08 +0000 (15:57 +0000)]
sunxi: update pcDuino3 profile to the new u-boot

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 42424

10 years agosunxi: update Bananapi profile to the new u-boot
Zoltan Herpai [Sat, 6 Sep 2014 15:23:30 +0000 (15:23 +0000)]
sunxi: update Bananapi profile to the new u-boot

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 42423

10 years agouboot-sunxi: bump to 2014.04
Zoltan Herpai [Sat, 6 Sep 2014 15:18:40 +0000 (15:18 +0000)]
uboot-sunxi: bump to 2014.04

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 42422

10 years agouml: bump to 3.14.16
Nicolas Thill [Fri, 5 Sep 2014 22:02:09 +0000 (22:02 +0000)]
uml: bump to 3.14.16

Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 42421

10 years agouclient: update to the latest version, fixes some crash issues
Felix Fietkau [Thu, 4 Sep 2014 11:25:04 +0000 (11:25 +0000)]
uclient: update to the latest version, fixes some crash issues

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

10 years agoat91: build images for AT91SAMA5D3XPLAINED
Florian Fainelli [Wed, 3 Sep 2014 03:11:25 +0000 (03:11 +0000)]
at91: build images for AT91SAMA5D3XPLAINED

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

10 years agoat91: add SAMA5D3 subtarget
Florian Fainelli [Wed, 3 Sep 2014 03:11:11 +0000 (03:11 +0000)]
at91: add SAMA5D3 subtarget

Add a subtarget for Atmel's SAMA5D3 Cortex-A5 based SoCs.

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

10 years agoat91: move legacy Kconfig options to subtarget
Florian Fainelli [Wed, 3 Sep 2014 03:10:59 +0000 (03:10 +0000)]
at91: move legacy Kconfig options to subtarget

Some Kconfig options are only relevant for the legacy platforms, move
them where they belong

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

10 years agoat91: switch to 3.14
Florian Fainelli [Wed, 3 Sep 2014 03:10:47 +0000 (03:10 +0000)]
at91: switch to 3.14

We need a new kernel version to support Cortex-A5 based platforms such
as SAMA5GD3.

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

10 years agoat91: add 3.14 support
Florian Fainelli [Wed, 3 Sep 2014 03:10:18 +0000 (03:10 +0000)]
at91: add 3.14 support

Add support for Linux 3.14 for the Atmel's AT91 platform.

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

10 years agoat91: move 3.10 specific files and patches
Florian Fainelli [Wed, 3 Sep 2014 03:09:51 +0000 (03:09 +0000)]
at91: move 3.10 specific files and patches

In preparation for adding 3.14 kernel support, move files and patches to
a separate per-version directory since some of them will have
incompatible changes (e.g: dts)

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

10 years agoat91: add Kconfig symbol for CONFIG_USB_ATMEL_USBA
Florian Fainelli [Wed, 3 Sep 2014 03:09:36 +0000 (03:09 +0000)]
at91: add Kconfig symbol for CONFIG_USB_ATMEL_USBA

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

10 years agoat91: add CONFIG_USB_OHCI_HCD_AT91 to usb-ohci
Florian Fainelli [Wed, 3 Sep 2014 03:09:24 +0000 (03:09 +0000)]
at91: add CONFIG_USB_OHCI_HCD_AT91 to usb-ohci

The at91 OHCI driver has a separate Kconfig symbol with newer kernels,
include it.

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

10 years agoat91: fix typo on Calao
Florian Fainelli [Wed, 3 Sep 2014 03:09:14 +0000 (03:09 +0000)]
at91: fix typo on Calao

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

10 years agoinclude: add Cortex-A5 CPU_TYPE
Florian Fainelli [Wed, 3 Sep 2014 03:09:03 +0000 (03:09 +0000)]
include: add Cortex-A5 CPU_TYPE

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

10 years agoat91: create a legacy subtarget
Florian Fainelli [Wed, 3 Sep 2014 03:08:51 +0000 (03:08 +0000)]
at91: create a legacy subtarget

In preparation for adding SAMA5D3 support, move the legacy ARMv5 based
platforms to a separate subtarget.

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

10 years agomdns: update to latest git head
John Crispin [Tue, 2 Sep 2014 21:39:40 +0000 (21:39 +0000)]
mdns: update to latest git head

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42407

10 years agomtd: disable trx_check() for ar71xx, fixes a regression introduced in r42403
Felix Fietkau [Tue, 2 Sep 2014 21:06:35 +0000 (21:06 +0000)]
mtd: disable trx_check() for ar71xx, fixes a regression introduced in r42403

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

10 years agomtd: Fix trx check after partition rename ("linux" to "firmware")
Felix Fietkau [Tue, 2 Sep 2014 17:13:42 +0000 (17:13 +0000)]
mtd: Fix trx check after partition rename ("linux" to "firmware")

On brcm47xx (Huawei E970), I noticed that sysupgrade now tries to flash trx images which don't fit into the flash, resulting in non-booting system.

I found that mtd does trx size checking only when flashing to a partition called "linux". This patch changes this to be "firmware".

This matches the following patch which changed partition name in bcm47xxpart.c driver to "firmware":

commit 86b4d5ef68ca77ff6724ebb9bddd6b93239c87fc
Author: hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
 Date:   Sun Dec 1 16:32:32 2013 +0000

    brcm47xx: use "firmware" partition name
    ...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
    SVN-Revision: 38973

Signed-off-by: Mathias Adam <m.adam--openwrt@adamis.de>
SVN-Revision: 42403

10 years agoomap: remove 3.12 kernel patches
Felix Fietkau [Tue, 2 Sep 2014 17:00:46 +0000 (17:00 +0000)]
omap: remove 3.12 kernel patches

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