lede.git
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

10 years agocns3xxx: support isolated PCI interrupts on newer Laguna PCBs
Felix Fietkau [Tue, 2 Sep 2014 16:44:40 +0000 (16:44 +0000)]
cns3xxx: support isolated PCI interrupts on newer Laguna PCBs

The cns3xxx uses irq61 for pcie0_intr which in the case of a PCIe-to-PCI
bridge ends up combining INTA/B/C/D on a single ARM CPU interrupt. This is
not optimal when you have multiple cores. To overcome this limitation an
enhancement was made on newer Laguna PCB's that support miniPCI cards
to route the INTA/B/C/D signals to unique external ARM CPU interrupts which
can help balance CPU core utilization and in some cases increase overall
system performance or responsiveness.

For more details see:
 http://trac.gateworks.com/wiki/multicoreprocessing#PCIInterruptsteering

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 42400

10 years agosdk: keep $(STAGING_DIR)/usr/bin, at least curl needs it
Felix Fietkau [Mon, 1 Sep 2014 22:34:37 +0000 (22:34 +0000)]
sdk: keep $(STAGING_DIR)/usr/bin, at least curl needs it

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

10 years agomac80211: rt2x00: fix of ht20/ht40 switching fix
John Crispin [Mon, 1 Sep 2014 13:19:32 +0000 (13:19 +0000)]
mac80211: rt2x00: fix of ht20/ht40 switching fix

r42348 uses a wrong register

Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru>
SVN-Revision: 42349

10 years agomac80211: rt2x00 correctly set ht20/ht40 filter
John Crispin [Mon, 1 Sep 2014 11:40:38 +0000 (11:40 +0000)]
mac80211: rt2x00 correctly set ht20/ht40 filter

Simple patch to correct ht20/ht40 switching. Tested with rt3290/rt3352/rt5350

Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru>
SVN-Revision: 42348

10 years agonetifd: update to the latest version, adds interface cleanup fixes
Felix Fietkau [Sun, 31 Aug 2014 13:09:01 +0000 (13:09 +0000)]
netifd: update to the latest version, adds interface cleanup fixes

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

10 years agonetifd: update to the latest version, fixes proto-shell teardown after renew
Felix Fietkau [Sun, 31 Aug 2014 12:26:26 +0000 (12:26 +0000)]
netifd: update to the latest version, fixes proto-shell teardown after renew

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

10 years agoAdd 'subversion' build dependency to README
Felix Fietkau [Sun, 31 Aug 2014 12:06:32 +0000 (12:06 +0000)]
Add 'subversion' build dependency to README

Fixes #17725.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
SVN-Revision: 42343

10 years agonettle: disable mips16 support to improve performance
Felix Fietkau [Sun, 31 Aug 2014 12:03:43 +0000 (12:03 +0000)]
nettle: disable mips16 support to improve performance

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
SVN-Revision: 42341

10 years agoimagebuilder: remove postinst files before generating image
Felix Fietkau [Sun, 31 Aug 2014 11:06:31 +0000 (11:06 +0000)]
imagebuilder: remove postinst files before generating image

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

10 years agobinutils: link libbfd and libopcodes dynamically again
Jonas Gorski [Sat, 30 Aug 2014 11:02:22 +0000 (11:02 +0000)]
binutils: link libbfd and libopcodes dynamically again

Build libbfd and libopcodes as shared libraries, else they get linked
statically into every binary, increasing each binary size by ~650kB.

Reduces binutils package size to old expected values.

Fixes #17060.

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

10 years agoipx806x: bump to 3.14.16
John Crispin [Sat, 30 Aug 2014 09:59:30 +0000 (09:59 +0000)]
ipx806x: bump to 3.14.16

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

10 years agotarget: set myself as maintainer
John Crispin [Sat, 30 Aug 2014 09:59:18 +0000 (09:59 +0000)]
target: set myself as maintainer

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

10 years agoipq806x: Add support for IPQ806x chip family
John Crispin [Sat, 30 Aug 2014 09:32:58 +0000 (09:32 +0000)]
ipq806x: Add support for IPQ806x chip family

Patches are generated using the "format-patch" command from the
following location:
*https://www.codeaurora.org/cgit/quic/kernel/galak-msm/log/?h=apq_ipq_base
*rev=0771849495b4128cac2faf7d49c85c729fc48b20
Patches numbered 76/77/102/103 have already been integrated in 3.14.12,
so they're not in this list.

All these patches are either integrated are pending integration into
kernel.org, therefore these patches should go away once the kernel
gets upgraded to 3.16.

Support is currently limited to AP148 board but can be extended to other
platforms in the future.

These changes do not cover ethernet connectivity.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
SVN-Revision: 42334

10 years agoar71xx: disable ethernet descriptor splitting for now, as it seems to cause tx hangs...
Felix Fietkau [Sat, 30 Aug 2014 09:11:41 +0000 (09:11 +0000)]
ar71xx: disable ethernet descriptor splitting for now, as it seems to cause tx hangs in some setups

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

10 years agokirkwood: fix typos on DEBUG_LL_UART_*
Florian Fainelli [Sat, 30 Aug 2014 00:32:05 +0000 (00:32 +0000)]
kirkwood: fix typos on DEBUG_LL_UART_*

We were prompted for which DEBUG_LL_UART implementation we want, fix the
typos such that the build continues.

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

10 years agoar71xx: select m25p80 support instead of spi support where used by mach files (#17699)
Felix Fietkau [Fri, 29 Aug 2014 21:10:39 +0000 (21:10 +0000)]
ar71xx: select m25p80 support instead of spi support where used by mach files (#17699)

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

10 years agomac80211: fix crash when unloading drivers (#17706)
Felix Fietkau [Fri, 29 Aug 2014 20:41:01 +0000 (20:41 +0000)]
mac80211: fix crash when unloading drivers (#17706)

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

10 years agoar71xx: split packets into multiple descriptors on ar716x
Felix Fietkau [Fri, 29 Aug 2014 19:42:08 +0000 (19:42 +0000)]
ar71xx: split packets into multiple descriptors on ar716x

This improves performance when doing concurrent rx/tx on a single
ethernet MAC, e.g. when routing between VLANs.

Fixes #13072

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

10 years agoprocd: run the mdns register outside the sub shell container
John Crispin [Fri, 29 Aug 2014 18:36:29 +0000 (18:36 +0000)]
procd: run the mdns register outside the sub shell container

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

10 years agodropbear: add mdns support to the init.d script
John Crispin [Fri, 29 Aug 2014 18:16:41 +0000 (18:16 +0000)]
dropbear: add mdns support to the init.d script

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

10 years agomdns: update to latest git
John Crispin [Fri, 29 Aug 2014 18:16:32 +0000 (18:16 +0000)]
mdns: update to latest git

* ipv6
* 4 bugs in the dns parser
* service announcement
* tx goodbye support
* proper handling of rx goodbye

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

10 years agoprocd: update to latest git HEAD
John Crispin [Fri, 29 Aug 2014 18:16:24 +0000 (18:16 +0000)]
procd: update to latest git HEAD

this adds a interafce.update trigger and mdns service registration helpers

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

10 years agotools/libtool: add missing dependency on m4
Felix Fietkau [Fri, 29 Aug 2014 11:37:28 +0000 (11:37 +0000)]
tools/libtool: add missing dependency on m4

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

10 years agoralink: DIR-645 picks up incorrect MAC address in DTS file
John Crispin [Thu, 28 Aug 2014 09:19:56 +0000 (09:19 +0000)]
ralink: DIR-645 picks up incorrect MAC address in DTS file

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

10 years agodnsmasq: Make the --dhcp-host logic easier to understand
John Crispin [Thu, 28 Aug 2014 06:27:57 +0000 (06:27 +0000)]
dnsmasq: Make the --dhcp-host logic easier to understand

Use an if/else statement to cover the two different syntaxes.  Add
comments explaining what the end results should look like.

This patch should not change the script's output.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
SVN-Revision: 42320

10 years agodnsmasq: Fix hosts file format when MAC address is not specified
John Crispin [Thu, 28 Aug 2014 06:27:53 +0000 (06:27 +0000)]
dnsmasq: Fix hosts file format when MAC address is not specified

An entry like this in /etc/config/dhcp:

    config 'host'
        option 'name' 'pc2'
        option 'ip' '192.168.100.56'
        option 'dns' '1'

results in a /tmp/hosts/dhcp entry that looks like this:

    192.168.100.56 .lan

Obviously it should say "pc2.lan".

This happens because $name is set to "" in order to support the MAC-less
syntax: "--dhcp-host=lap,192.168.0.199".  Fix this by reordering the
operations.  Also, refuse to add a DNS entry if the hostname or IP is
missing.

Fixes #17683

Reported-by: Kostas Papadopoulos <kpapad75@travelguide.gr>
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
SVN-Revision: 42319

10 years agodnsmasq: Create rDNS records for LuCI "Hostnames"
John Crispin [Thu, 28 Aug 2014 06:27:49 +0000 (06:27 +0000)]
dnsmasq: Create rDNS records for LuCI "Hostnames"

LuCI creates "domain" UCI config sections, which the dnsmasq init file
then, currently, translates into "address" config lines. This is not
the correct usage of "address" (see r36943), and also causes rDNS
records to not be created. This patches dnsmasq.init to utilize the
additional hosts file introduced in r40799 for such domain names,
resolving both issues.

Signed-off-by: Tyler Fenby <tylerf@securecominc.com>
SVN-Revision: 42318

10 years agoar71xx: add Support for RB2011UiAS-2HnD
John Crispin [Thu, 28 Aug 2014 06:27:45 +0000 (06:27 +0000)]
ar71xx: add Support for RB2011UiAS-2HnD

SVN-Revision: 42317

10 years agolantiq: BTHOMEHUBV2B use bigger mtd partition for kernel
John Crispin [Thu, 28 Aug 2014 06:27:41 +0000 (06:27 +0000)]
lantiq: BTHOMEHUBV2B use bigger mtd partition for kernel

The bb-rc3 image for the BTHOMEHUBV2B is too big for its
mtd partition. This patch corrects the partition sizes in
the device tree. This patch should really go in before
bb-final, otherwise the BTHOMEHUBV2B images won't be useable.
I do apologise for not spotting this straight away.

Many thanks,

Ben

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
SVN-Revision: 42316

10 years agoramips: unbreak i2c for 3.14
John Crispin [Thu, 28 Aug 2014 06:05:36 +0000 (06:05 +0000)]
ramips: unbreak i2c for 3.14

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

10 years agokirkwood: refresh kernel config
Luka Perkov [Wed, 27 Aug 2014 17:14:09 +0000 (17:14 +0000)]
kirkwood: refresh kernel config

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

10 years agosunxi: initial 3.14 patchset
Zoltan Herpai [Wed, 27 Aug 2014 12:09:46 +0000 (12:09 +0000)]
sunxi: initial 3.14 patchset

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

10 years agotools/bc: add missing dependency on bison
Felix Fietkau [Wed, 27 Aug 2014 09:20:28 +0000 (09:20 +0000)]
tools/bc: add missing dependency on bison

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

10 years agotools/flex: disable building shared libfl.so
Felix Fietkau [Wed, 27 Aug 2014 09:20:18 +0000 (09:20 +0000)]
tools/flex: disable building shared libfl.so

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

10 years agokernel: revert [40784]
Nicolas Thill [Wed, 27 Aug 2014 08:49:55 +0000 (08:49 +0000)]
kernel: revert [40784]

SVN-Revision: 42307

10 years agoralink: set 3.14 as default
John Crispin [Tue, 26 Aug 2014 13:12:12 +0000 (13:12 +0000)]
ralink: set 3.14 as default

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

10 years agokernel: add package for huawei ncm modems
John Crispin [Tue, 26 Aug 2014 13:11:56 +0000 (13:11 +0000)]
kernel: add package for huawei ncm modems

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

10 years agotarget/toolchain: strip files, leave out the initial gcc
Felix Fietkau [Tue, 26 Aug 2014 12:32:51 +0000 (12:32 +0000)]
target/toolchain: strip files, leave out the initial gcc

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

10 years agobuild: override hardcoded paths to bison and m4 to make the SDK more relocatable
Felix Fietkau [Tue, 26 Aug 2014 12:15:50 +0000 (12:15 +0000)]
build: override hardcoded paths to bison and m4 to make the SDK more relocatable

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

10 years agoumbim: update to latest git
John Crispin [Tue, 26 Aug 2014 09:36:59 +0000 (09:36 +0000)]
umbim: update to latest git

add pincode sanitization and handling for authproto/user/pass

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

10 years agousbmode: update to latest git
John Crispin [Tue, 26 Aug 2014 08:39:55 +0000 (08:39 +0000)]
usbmode: update to latest git

this adds support for a new mode MBIM that auto detects the bConfigurationValue.

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

10 years agoimx6: refresh patches
Luka Perkov [Mon, 25 Aug 2014 21:50:49 +0000 (21:50 +0000)]
imx6: refresh patches

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

10 years agokernel: 3.14: refresh patches
Luka Perkov [Mon, 25 Aug 2014 21:50:48 +0000 (21:50 +0000)]
kernel: 3.14: refresh patches

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

10 years agokernel: 3.14: backport for igb driver resolving a driver crash
Luka Perkov [Mon, 25 Aug 2014 21:50:47 +0000 (21:50 +0000)]
kernel: 3.14: backport for igb driver resolving a driver crash

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 42295

10 years agoimx6: kernel: backport upstream fix for IMX6DL 800MHz speed grade
Luka Perkov [Mon, 25 Aug 2014 21:50:43 +0000 (21:50 +0000)]
imx6: kernel: backport upstream fix for IMX6DL 800MHz speed grade

A previous backported patch that adds freq/voltage operating points for the
IMX6DL processor can cause hang/crash (general instability) on IMX6DL
processors in the industrial/automative speed grades as they don't support
1GHz operation.

This adds another backported patch from mainline that uses IMX6 fuse settings
to properly remove invalid operating points for the particular CPU grade used.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 42294

10 years agoralink: the mt7620 evb has a usb port
John Crispin [Mon, 25 Aug 2014 16:31:13 +0000 (16:31 +0000)]
ralink: the mt7620 evb has a usb port

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

10 years agoralink: a few 3.14 related fixes
John Crispin [Mon, 25 Aug 2014 16:31:09 +0000 (16:31 +0000)]
ralink: a few 3.14 related fixes

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

10 years agoralink: fix mt7620 ohci 3.14
John Crispin [Mon, 25 Aug 2014 16:31:05 +0000 (16:31 +0000)]
ralink: fix mt7620 ohci 3.14

the ohci phy was not reset properly

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

10 years agoralink: fix mt7620 ohci 3.10
John Crispin [Mon, 25 Aug 2014 16:31:01 +0000 (16:31 +0000)]
ralink: fix mt7620 ohci 3.10

the ohci phy was not reset properly

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

10 years agoralink: mt7620 has obchi/ehci and not dwc2
John Crispin [Mon, 25 Aug 2014 16:30:57 +0000 (16:30 +0000)]
ralink: mt7620 has obchi/ehci and not dwc2

fix the default package selection

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

10 years agokernel: add ohci-platform.ko for 3.11+
John Crispin [Mon, 25 Aug 2014 16:30:52 +0000 (16:30 +0000)]
kernel: add ohci-platform.ko for 3.11+

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

10 years agokernel: add own Kconfig for OpenWrt mtdsplit drivers
John Crispin [Mon, 25 Aug 2014 16:30:44 +0000 (16:30 +0000)]
kernel: add own Kconfig for OpenWrt mtdsplit drivers

There are pretty many OpenWrt patches against mtd subsystem resulting
in a bit of mess and growing maintenance cost.
My idea is to use an extra "mtdsplit" directory with OpenWrt specific
files (including Kconfig).
This is the first step to achieve this. This patch adds a "mtdsplit"
directory with Kconfig and replaces 4 patches with a single one.

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

10 years agouhttpd: do not configure TLS parameters if libustream-ssl is not present
Jo-Philipp Wich [Mon, 25 Aug 2014 12:39:34 +0000 (12:39 +0000)]
uhttpd: do not configure TLS parameters if libustream-ssl is not present

A quite frequent problem after sysupgrading from an older, SSL enabled build
is that ustream-ssl is not installed so uhttpd fails to come up again due to
https listening directives in the preserved configuration.

Skip key/cert and ssl listen options when libustream-ssl.so is not present.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 42284

10 years agoPKG_CHECK_FORMAT_SECURITY: add a menuconfig option, disable by default
John Crispin [Mon, 25 Aug 2014 06:36:06 +0000 (06:36 +0000)]
PKG_CHECK_FORMAT_SECURITY: add a menuconfig option, disable by default

The idea is still to enable it by default at some point
I've tested all ar71xx packages (except oldpackages) using CONFIG_ALL=y
Failing packages have been marked with PKG_CHECK_FORMAT_SECURITY:=0 for now
I can test more targets but i have no idea which are the most used

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
SVN-Revision: 42282

10 years agomac80211/rt2x00: allow disabling bands through dts
John Crispin [Mon, 25 Aug 2014 06:36:01 +0000 (06:36 +0000)]
mac80211/rt2x00: allow disabling bands through dts

Add dts property ralink,2ghz and ralink,5ghz
e.g. disable 2ghz band:
wmac@10180000 {
  status = "okay";
  ralink,2ghz = <0>;
}

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 42281

10 years agoar71xx: use ETH_ALEN for consistency
John Crispin [Mon, 25 Aug 2014 06:35:58 +0000 (06:35 +0000)]
ar71xx: use ETH_ALEN for consistency

Signed-off-by: Forest Crossman <cyrozap@gmail.com>
SVN-Revision: 42280

10 years agoar71xx: enable sysupgrade for the EnGenius ESR900
John Crispin [Mon, 25 Aug 2014 06:35:54 +0000 (06:35 +0000)]
ar71xx: enable sysupgrade for the EnGenius ESR900

Signed-off-by: Forest Crossman <cyrozap@gmail.com>
SVN-Revision: 42279

10 years agopackage/*: remove useless explicit set of function returncode
John Crispin [Mon, 25 Aug 2014 06:35:50 +0000 (06:35 +0000)]
package/*: remove useless explicit set of function returncode

somebody started to set a function returncode in the validation
stuff and everybody copies it, e.g.

myfunction()
{
fire_command

return $?
}

a function automatically returns with the last returncode,
so we can safely remove the command 'return $?'. reference:

http://tldp.org/LDP/abs/html/exit-status.html
"The last command executed in the function or script determines the exit status."

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
SVN-Revision: 42278

10 years agoramips: enable second SPI for VoCore
John Crispin [Mon, 25 Aug 2014 06:35:46 +0000 (06:35 +0000)]
ramips: enable second SPI for VoCore

This patch enables the second SPI as spidev and also fixes some typos.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 42277

10 years agoramips: second spi device on rt5350
John Crispin [Mon, 25 Aug 2014 06:35:42 +0000 (06:35 +0000)]
ramips: second spi device on rt5350

This is based on Jon Smirl's patch with the following changes:
- Set CS polarity as low by default.
- Add support for changing CS polarity.
- Add support for changing LSB/MSB.
- Add support for changing SPI mode.
- Fix indentations.

I tested it on a VoCore. Works fine connected to a second flash, but fails to detect MMC/SD cards due to SPI clock speed.

Signed-off-by: Jon Smirl <jonsmirl@gmail.com>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 42276

10 years agoodhcp6c: enable softwires support by default
Steven Barth [Mon, 25 Aug 2014 06:11:53 +0000 (06:11 +0000)]
odhcp6c: enable softwires support by default

SVN-Revision: 42274

10 years agoiwinfo: properly decode SSIDs when scanning through wpa_supplicant
Jo-Philipp Wich [Sun, 24 Aug 2014 21:42:26 +0000 (21:42 +0000)]
iwinfo: properly decode SSIDs when scanning through wpa_supplicant

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 42273

10 years agobcm53xx: update bcma device tree intergeneration and fix nvram parsing
Hauke Mehrtens [Sun, 24 Aug 2014 15:57:49 +0000 (15:57 +0000)]
bcm53xx: update bcma device tree intergeneration and fix nvram parsing

This fixes lots of sparse and checkpatch errors and extends the
documentation.

This also fixes a problem in the nvram parser, it now detects the
correct nvram on my Netgear R6250.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 42272

10 years agoodhcpd: fix static lease behavior with dhcpv4
Steven Barth [Sun, 24 Aug 2014 08:12:57 +0000 (08:12 +0000)]
odhcpd: fix static lease behavior with dhcpv4

SVN-Revision: 42270

10 years agokernel: remove obsolete 322-ppc4xx-crypto-compile-fix.patch patches
Florian Fainelli [Sat, 23 Aug 2014 02:42:03 +0000 (02:42 +0000)]
kernel: remove obsolete 322-ppc4xx-crypto-compile-fix.patch patches

Upstream commit c11eede powerpc: add missing explicit OF includes for ppc was
included in 3.13 and onwards, hence making those patches obsolete.

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

10 years agoumbim: add netifd proto handler for mbim style lte modems
John Crispin [Fri, 22 Aug 2014 19:02:30 +0000 (19:02 +0000)]
umbim: add netifd proto handler for mbim style lte modems

tested on vodafone k5105

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

10 years agobase-files: properly generate the ula
John Crispin [Fri, 22 Aug 2014 14:19:07 +0000 (14:19 +0000)]
base-files: properly generate the ula

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

10 years agobcm53xx: add bcm53xxspiflash driver for SPI flashes
Hauke Mehrtens [Thu, 21 Aug 2014 21:11:04 +0000 (21:11 +0000)]
bcm53xx: add bcm53xxspiflash driver for SPI flashes

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

10 years agobcm53xx: backport more spi-nor patches
Hauke Mehrtens [Thu, 21 Aug 2014 21:10:29 +0000 (21:10 +0000)]
bcm53xx: backport more spi-nor patches

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

10 years agouclient: update to latest version, fixes HTTP keepalive issues
Felix Fietkau [Thu, 21 Aug 2014 19:12:38 +0000 (19:12 +0000)]
uclient: update to latest version, fixes HTTP keepalive issues

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

10 years agoxtables-addons: update to version 2.5
Felix Fietkau [Thu, 21 Aug 2014 19:12:34 +0000 (19:12 +0000)]
xtables-addons: update to version 2.5

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

10 years agodropbear: restore performance by disabling mips16
Jonas Gorski [Thu, 21 Aug 2014 11:29:04 +0000 (11:29 +0000)]
dropbear: restore performance by disabling mips16

Disable MIPS16 to prevent it negatively affecting performance.
Observed was a increase of connection delay from ~6 to ~11 seconds
and a reduction of scp speed from 1.1MB/s to 710kB/s on brcm63xx.

Fixes #15209.

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

10 years agodropbear: fix keepalive more
Jonas Gorski [Thu, 21 Aug 2014 11:29:02 +0000 (11:29 +0000)]
dropbear: fix keepalive more

Add a further upstream commit to more closely match the keepalive
to OpenSSH.

Should now really fix #17523.

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

10 years agobrcm63xx: Add DT support for P870HW-51a
Jonas Gorski [Thu, 21 Aug 2014 11:28:59 +0000 (11:28 +0000)]
brcm63xx: Add DT support for P870HW-51a

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: fix nvram partition offset]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42248

10 years agobrcm63xx: Add DT support for HG553
Jonas Gorski [Thu, 21 Aug 2014 11:28:54 +0000 (11:28 +0000)]
brcm63xx: Add DT support for HG553

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: fix linux partition length]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42247

10 years agobrcm63xx: Add DT support for HG520v
Jonas Gorski [Thu, 21 Aug 2014 11:28:46 +0000 (11:28 +0000)]
brcm63xx: Add DT support for HG520v

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: fix nvram partition offset]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42246

10 years agobrcm63xx: Add DT support for A4001N
Jonas Gorski [Thu, 21 Aug 2014 11:28:43 +0000 (11:28 +0000)]
brcm63xx: Add DT support for A4001N

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42245

10 years agobrcm63xx: Add DT support for A4001N1
Jonas Gorski [Thu, 21 Aug 2014 11:28:40 +0000 (11:28 +0000)]
brcm63xx: Add DT support for A4001N1

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42244

10 years agobrcm63xx: Add DT support for WAP-5813n
Jonas Gorski [Thu, 21 Aug 2014 11:28:37 +0000 (11:28 +0000)]
brcm63xx: Add DT support for WAP-5813n

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: make linux partition writable]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42243

10 years agobrcm63xx: Add DT support for VR-3025un
Jonas Gorski [Thu, 21 Aug 2014 11:28:34 +0000 (11:28 +0000)]
brcm63xx: Add DT support for VR-3025un

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: make linux partition writable]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42242

10 years agobrcm63xx: Add DT support for VR-3025u
Jonas Gorski [Thu, 21 Aug 2014 11:28:32 +0000 (11:28 +0000)]
brcm63xx: Add DT support for VR-3025u

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: make linux partition writable]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42241

10 years agobrcm63xx: Add DT support for AR-5387un
Jonas Gorski [Thu, 21 Aug 2014 11:28:28 +0000 (11:28 +0000)]
brcm63xx: Add DT support for AR-5387un

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42240

10 years agobrcm63xx: Add DT support for AR-5381u
Jonas Gorski [Thu, 21 Aug 2014 11:28:18 +0000 (11:28 +0000)]
brcm63xx: Add DT support for AR-5381u

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 42239