openwrt/staging/jogo.git
11 years agooxnas: add support for 2nd S-ATA port to sata_oxnas driver
John Crispin [Wed, 10 Dec 2014 15:51:07 +0000 (15:51 +0000)]
oxnas: add support for 2nd S-ATA port to sata_oxnas driver

similar to mv_sata, use nr-ports attribute from device tree.
import and adapt locking code from vendor GPL sources.
add dma controller handling, it may be used in future to avoid
full core resets similar to the vendor SDK's "progressive cleanup"
function.

this is still very dirty and aimed to first of all do things
quite exactly like the reference code. and it somehow works.
obviously there is lots of room for improvement :)

Signed-off-by: Daniel Golle <[email protected]>
SVN-Revision: 43598

11 years agooxnas: add copyright header to sata_oxnas
John Crispin [Wed, 10 Dec 2014 15:51:00 +0000 (15:51 +0000)]
oxnas: add copyright header to sata_oxnas

sata_oxnas.c is obviously a refactored version of sata_ox820.c
which does contain this header.

Signed-off-by: Daniel Golle <[email protected]>
SVN-Revision: 43597

11 years agoscripts: use extended-remote for greater compatibility
John Crispin [Wed, 10 Dec 2014 15:50:52 +0000 (15:50 +0000)]
scripts: use extended-remote for greater compatibility

Plain "remote" results in failure to connect using the gdb built with
the toolchain. (On atheros target at least)  extended-remote also allows
"run" to restart the target process.

Signed-off-by: Karl Palsson <[email protected]>
SVN-Revision: 43596

11 years agoumbim: fix build for 64bit targets
John Crispin [Wed, 10 Dec 2014 15:50:43 +0000 (15:50 +0000)]
umbim: fix build for 64bit targets

the CC builder fails to build umbim for 64bit targets (xlp, malta64, ....)

Signed-off-by: John Crispin <[email protected]>
SVN-Revision: 43595

11 years agokernel/modules: add f2fs support
Luka Perkov [Wed, 10 Dec 2014 14:00:53 +0000 (14:00 +0000)]
kernel/modules: add f2fs support

Signed-off-by: Luka Perkov <[email protected]>
SVN-Revision: 43594

11 years agoodhcp6c: correctly handle renew-replies with short lease times
Steven Barth [Wed, 10 Dec 2014 10:41:51 +0000 (10:41 +0000)]
odhcp6c: correctly handle renew-replies with short lease times

Signed-off-by: Steven Barth <[email protected]>
SVN-Revision: 43592

11 years agokernel: refresh patches
Luka Perkov [Tue, 9 Dec 2014 23:29:52 +0000 (23:29 +0000)]
kernel: refresh patches

Signed-off-by: Luka Perkov <[email protected]>
SVN-Revision: 43591

11 years agokirkwood: Iomega ix2-200: use all remaining MTD space for rootfs
Luka Perkov [Tue, 9 Dec 2014 23:29:49 +0000 (23:29 +0000)]
kirkwood: Iomega ix2-200: use all remaining MTD space for rootfs

Signed-off-by: Richard Kunze <[email protected]>
SVN-Revision: 43590

11 years agokernel: add netfilter.mk to modules makefile SCAN_DEPS
Felix Fietkau [Tue, 9 Dec 2014 12:35:18 +0000 (12:35 +0000)]
kernel: add netfilter.mk to modules makefile SCAN_DEPS

Signed-off-by: Felix Fietkau <[email protected]>
SVN-Revision: 43589

11 years agoar71xx: improve ethernet driver cache footprint by removing an unnecessary pointer
Felix Fietkau [Tue, 9 Dec 2014 12:28:46 +0000 (12:28 +0000)]
ar71xx: improve ethernet driver cache footprint by removing an unnecessary pointer

Signed-off-by: Felix Fietkau <[email protected]>
SVN-Revision: 43588

11 years agokernel: add a patch to make netfilter conntrack cache routing information
Felix Fietkau [Tue, 9 Dec 2014 11:01:49 +0000 (11:01 +0000)]
kernel: add a patch to make netfilter conntrack cache routing information

Significantly improves routing / NAT performance

Signed-off-by: Felix Fietkau <[email protected]>
SVN-Revision: 43587

11 years agoar71xx: remove another leftover broken chunk of code in the unaligned access hacks...
Felix Fietkau [Tue, 9 Dec 2014 09:38:33 +0000 (09:38 +0000)]
ar71xx: remove another leftover broken chunk of code in the unaligned access hacks patch

Signed-off-by: Felix Fietkau <[email protected]>
SVN-Revision: 43586

11 years agobcm53xx: bcm_nand: fix compilation
Rafał Miłecki [Mon, 8 Dec 2014 18:28:54 +0000 (18:28 +0000)]
bcm53xx: bcm_nand: fix compilation

Signed-off-by: Rafał Miłecki <[email protected]>
SVN-Revision: 43584

11 years agonetifd: several fixes and optimizations
Steven Barth [Mon, 8 Dec 2014 17:43:14 +0000 (17:43 +0000)]
netifd: several fixes and optimizations

Thanks to Hans Dedecker and Kristian Evensen

Signed-off-by: Steven Barth <[email protected]>
SVN-Revision: 43583

11 years agoThis patch depends on "Pass source address to proto_add_ipv4_route".
Steven Barth [Mon, 8 Dec 2014 17:43:03 +0000 (17:43 +0000)]
This patch depends on "Pass source address to proto_add_ipv4_route".

I have not found a scenario that would break by setting the source address on
default, but please let me know if any special considerations should be taken.

Signed-off-by: Kristian Evensen <kristian.evensen at gmail.com>
SVN-Revision: 43582

11 years agoopkg: make PKG_UPGRADE available during preinst hook
John Crispin [Mon, 8 Dec 2014 17:40:53 +0000 (17:40 +0000)]
opkg: make PKG_UPGRADE available during preinst hook

https://dev.openwrt.org/ticket/18479

Signed-off-by: John Crispin <[email protected]>
SVN-Revision: 43581

11 years agobcm53xx: bcm_nand: switch from cmdlinepart to ofpart
Rafał Miłecki [Mon, 8 Dec 2014 17:39:07 +0000 (17:39 +0000)]
bcm53xx: bcm_nand: switch from cmdlinepart to ofpart

Signed-off-by: Rafał Miłecki <[email protected]>
SVN-Revision: 43580

11 years agobrcm47xx: add WNDR3400 V3 buttons
Rafał Miłecki [Mon, 8 Dec 2014 17:02:28 +0000 (17:02 +0000)]
brcm47xx: add WNDR3400 V3 buttons

Signed-off-by: Rafał Miłecki <[email protected]>
SVN-Revision: 43579

11 years agobrcm63xx: fix a few issues in irq chip drivers
Jonas Gorski [Mon, 8 Dec 2014 16:11:52 +0000 (16:11 +0000)]
brcm63xx: fix a few issues in irq chip drivers

Fix locking and lock usage, making it compile for SMP.

Signed-off-by: Jonas Gorski <[email protected]>
SVN-Revision: 43578

11 years agobrcm63xx: alphabetically order image generation
Jonas Gorski [Mon, 8 Dec 2014 16:11:32 +0000 (16:11 +0000)]
brcm63xx: alphabetically order image generation

Signed-off-by: Álvaro Fernández Rojas <[email protected]>
SVN-Revision: 43577

11 years agobrcm63xx: refresh patches
Jonas Gorski [Mon, 8 Dec 2014 16:11:26 +0000 (16:11 +0000)]
brcm63xx: refresh patches

Signed-off-by: Álvaro Fernández Rojas <[email protected]>
SVN-Revision: 43576

11 years agobrcm63xx: add DT support for USR9108
Jonas Gorski [Mon, 8 Dec 2014 16:11:08 +0000 (16:11 +0000)]
brcm63xx: add DT support for USR9108

Signed-off-by: Álvaro Fernández Rojas <[email protected]>
SVN-Revision: 43575

11 years agobrcm63xx: add DT support for F5D7633
Jonas Gorski [Mon, 8 Dec 2014 16:11:03 +0000 (16:11 +0000)]
brcm63xx: add DT support for F5D7633

Signed-off-by: Álvaro Fernández Rojas <[email protected]>
SVN-Revision: 43574

11 years agobrcm63xx: add DT support for DG834GT/PN
Jonas Gorski [Mon, 8 Dec 2014 16:10:54 +0000 (16:10 +0000)]
brcm63xx: add DT support for DG834GT/PN

Signed-off-by: Álvaro Fernández Rojas <[email protected]>
SVN-Revision: 43573

11 years agobrcm63xx: add DT support for TD-W8900GB
Jonas Gorski [Mon, 8 Dec 2014 16:10:46 +0000 (16:10 +0000)]
brcm63xx: add DT support for TD-W8900GB

According to the vendor tarball, the TD-w8900GB's flash has 64k erase
block size, but CFE spans two blocks. So fixup the image offset
accordingly but keep block size at its default (64k).

Signed-off-by: Álvaro Fernández Rojas <[email protected]>
[jogo: add commit message, add image offset, change nvram offset]
Signed-off-by: Jonas Gorski <[email protected]>
SVN-Revision: 43572

11 years agobrcm63xx: add DT support for DSL-2640B
Jonas Gorski [Mon, 8 Dec 2014 16:10:41 +0000 (16:10 +0000)]
brcm63xx: add DT support for DSL-2640B

Signed-off-by: Álvaro Fernández Rojas <[email protected]>
SVN-Revision: 43571

11 years agobrcm63xx: add DT support for CPVA642
Jonas Gorski [Mon, 8 Dec 2014 16:10:17 +0000 (16:10 +0000)]
brcm63xx: add DT support for CPVA642

Signed-off-by: Álvaro Fernández Rojas <[email protected]>
SVN-Revision: 43570

11 years agokernel: update linux 3.18 to final release
Felix Fietkau [Mon, 8 Dec 2014 13:16:35 +0000 (13:16 +0000)]
kernel: update linux 3.18 to final release

Signed-off-by: Felix Fietkau <[email protected]>
SVN-Revision: 43569

11 years agokernel: backport an upstream xfrm crash fix
Felix Fietkau [Mon, 8 Dec 2014 12:50:37 +0000 (12:50 +0000)]
kernel: backport an upstream xfrm crash fix

Signed-off-by: Felix Fietkau <[email protected]>
SVN-Revision: 43568

11 years agokernel: add missing check for skb->dev on netfilter xfrm optimization patch
Felix Fietkau [Mon, 8 Dec 2014 12:21:17 +0000 (12:21 +0000)]
kernel: add missing check for skb->dev on netfilter xfrm optimization patch

Signed-off-by: Felix Fietkau <[email protected]>
SVN-Revision: 43567

11 years agokernel: remove the obsolete vm_exports patch
Felix Fietkau [Mon, 8 Dec 2014 12:04:34 +0000 (12:04 +0000)]
kernel: remove the obsolete vm_exports patch

Signed-off-by: Felix Fietkau <[email protected]>
SVN-Revision: 43565

11 years agokernel: refresh patches
Felix Fietkau [Mon, 8 Dec 2014 12:04:25 +0000 (12:04 +0000)]
kernel: refresh patches

Signed-off-by: Felix Fietkau <[email protected]>
SVN-Revision: 43564

11 years agokernel: update linux 3.14 to 3.14.26
Felix Fietkau [Mon, 8 Dec 2014 12:03:53 +0000 (12:03 +0000)]
kernel: update linux 3.14 to 3.14.26

Signed-off-by: Felix Fietkau <[email protected]>
SVN-Revision: 43563

11 years agoqos-scripts: fix insmod commands
Felix Fietkau [Mon, 8 Dec 2014 12:03:47 +0000 (12:03 +0000)]
qos-scripts: fix insmod commands

Signed-off-by: Felix Fietkau <[email protected]>
SVN-Revision: 43562

11 years agokmod-crypto-hw-talitos: add missing dependency
Felix Fietkau [Mon, 8 Dec 2014 12:03:41 +0000 (12:03 +0000)]
kmod-crypto-hw-talitos: add missing dependency

Signed-off-by: Felix Fietkau <[email protected]>
SVN-Revision: 43561

11 years agoar71xx: fix invalid pointer accesses caused by unaligned access hacks (#18455)
Felix Fietkau [Mon, 8 Dec 2014 10:48:28 +0000 (10:48 +0000)]
ar71xx: fix invalid pointer accesses caused by unaligned access hacks (#18455)

Signed-off-by: Felix Fietkau <[email protected]>
SVN-Revision: 43560

11 years agox86: update to linux 3.14
Felix Fietkau [Mon, 8 Dec 2014 10:04:50 +0000 (10:04 +0000)]
x86: update to linux 3.14

Signed-off-by: Felix Fietkau <[email protected]>
SVN-Revision: 43559

11 years agox86: rename */config-3.10 to */config-default
Felix Fietkau [Mon, 8 Dec 2014 10:04:45 +0000 (10:04 +0000)]
x86: rename */config-3.10 to */config-default

Signed-off-by: Felix Fietkau <[email protected]>
SVN-Revision: 43558

11 years agokernel: fix x86 objdump invocation on 3.14 and 3.18
Felix Fietkau [Mon, 8 Dec 2014 10:04:39 +0000 (10:04 +0000)]
kernel: fix x86 objdump invocation on 3.14 and 3.18

Signed-off-by: Felix Fietkau <[email protected]>
SVN-Revision: 43557

11 years agomt76: builder1 fails to build for !PCI kernels when mt76 is selected
John Crispin [Mon, 8 Dec 2014 06:21:32 +0000 (06:21 +0000)]
mt76: builder1 fails to build for !PCI kernels when mt76 is selected

Signed-off-by: John Crispin <[email protected]>
SVN-Revision: 43556

11 years agoar7-atm: fix various compiler errors
John Crispin [Mon, 8 Dec 2014 06:15:18 +0000 (06:15 +0000)]
ar7-atm: fix various compiler errors

some headers have moved in 3.14

Signed-off-by: John Crispin <[email protected]>
SVN-Revision: 43555

11 years agoacx-mac80211: v3.14 related compile fixes
John Crispin [Mon, 8 Dec 2014 06:15:11 +0000 (06:15 +0000)]
acx-mac80211: v3.14 related compile fixes

Signed-off-by: John Crispin <[email protected]>
SVN-Revision: 43554

11 years agoar7: bump to 3.14
John Crispin [Mon, 8 Dec 2014 06:15:03 +0000 (06:15 +0000)]
ar7: bump to 3.14

Signed-off-by: John Crispin <[email protected]>
SVN-Revision: 43553

11 years agoadm8668: switch to 3.14 kernel
Florian Fainelli [Sun, 7 Dec 2014 21:59:36 +0000 (21:59 +0000)]
adm8668: switch to 3.14 kernel

Signed-off-by: Florian Fainelli <[email protected]>
SVN-Revision: 43552

11 years agoadm8668: add 3.14 kernel support
Florian Fainelli [Sun, 7 Dec 2014 21:59:25 +0000 (21:59 +0000)]
adm8668: add 3.14 kernel support

Signed-off-by: Florian Fainelli <[email protected]>
SVN-Revision: 43551

11 years agoadm8668: rename files to files-3.3
Florian Fainelli [Sun, 7 Dec 2014 21:58:49 +0000 (21:58 +0000)]
adm8668: rename files to files-3.3

Signed-off-by: Florian Fainelli <[email protected]>
SVN-Revision: 43550

11 years agocobalt: remove 3.3 and 3.10 kernel configuration files
Florian Fainelli [Sun, 7 Dec 2014 21:58:33 +0000 (21:58 +0000)]
cobalt: remove 3.3 and 3.10 kernel configuration files

Signed-off-by: Florian Fainelli <[email protected]>
SVN-Revision: 43549

11 years agocobalt: switch to 3.14 kernel
Florian Fainelli [Sun, 7 Dec 2014 21:58:22 +0000 (21:58 +0000)]
cobalt: switch to 3.14 kernel

Signed-off-by: Florian Fainelli <[email protected]>
SVN-Revision: 43548

11 years agocobalt: add 3.14 kernel configuration file
Florian Fainelli [Sun, 7 Dec 2014 21:58:12 +0000 (21:58 +0000)]
cobalt: add 3.14 kernel configuration file

Signed-off-by: Florian Fainelli <[email protected]>
SVN-Revision: 43547

11 years agobcm53xx: update the NAND driver
Hauke Mehrtens [Sun, 7 Dec 2014 21:55:21 +0000 (21:55 +0000)]
bcm53xx: update the NAND driver

This adds some updates to the NAND driver and refreshed the config.

Most of these changes are done in preparation for mainling it.

Signed-off-by: Hauke Mehrtens <[email protected]>
SVN-Revision: 43546

11 years agobcm53xx: update the PCIe driver
Hauke Mehrtens [Sun, 7 Dec 2014 21:54:53 +0000 (21:54 +0000)]
bcm53xx: update the PCIe driver

This adds some updates to the PCIe driver and refreshed the config.

Most of these changes are done in preparation for mainling it.

Signed-off-by: Hauke Mehrtens <[email protected]>
SVN-Revision: 43545

11 years agokernel: update bcma and ssb to wireless-testing master-2014-12-05
Hauke Mehrtens [Sun, 7 Dec 2014 21:53:20 +0000 (21:53 +0000)]
kernel: update bcma and ssb to wireless-testing master-2014-12-05

This brings ssb and bcma to wireless-testing tag master-2014-12-05

In addition it also adds the ARM-BCM5301X-Add-IRQs-to-Broadcom-s-bus-
axi-in-DTS-f.patch which adds the irq number in a way it is done in the
mainline kernel.

Signed-off-by: Hauke Mehrtens <[email protected]>
SVN-Revision: 43544

11 years agokirkwood: add a diag script
John Crispin [Sun, 7 Dec 2014 16:53:37 +0000 (16:53 +0000)]
kirkwood: add a diag script

Currently only Linksys EA4500 is supported.

Signed-off-by: Cezary Jackiewicz <[email protected]>
SVN-Revision: 43543

11 years agopackages: fix typo in OpenWrt name
John Crispin [Sun, 7 Dec 2014 16:53:30 +0000 (16:53 +0000)]
packages: fix typo in OpenWrt name

Signed-off-by: Cezary Jackiewicz <[email protected]>
SVN-Revision: 43542

11 years agoramips: generate factory images for Nexx devices
John Crispin [Sun, 7 Dec 2014 16:53:22 +0000 (16:53 +0000)]
ramips: generate factory images for Nexx devices

Signed-off-by: Roger Pueyo Centelles <[email protected]>
SVN-Revision: 43541

11 years agoar71xx: dev-eth: replace mdelay calls
John Crispin [Sun, 7 Dec 2014 16:53:15 +0000 (16:53 +0000)]
ar71xx: dev-eth: replace mdelay calls

Similar to patch 2. Replace further mdelay calls.

Signed-off-by: Heiner Kallweit <[email protected]>
SVN-Revision: 43540

11 years agoag71xx: replace delay with sleep calls
John Crispin [Sun, 7 Dec 2014 16:53:09 +0000 (16:53 +0000)]
ag71xx: replace delay with sleep calls

I don't see that we're in an atomic context so there's no need to
busy-wait. Therefore replace the delay with sleep calls.
See also Documentation/timers/timers-howto.txt. It states:
"In general, use of mdelay is discouraged and code should
be refactored to allow for the use of msleep."

Signed-off-by: Heiner Kallweit <[email protected]>
SVN-Revision: 43539

11 years agoag71xx: replace fixed PHY reset wait time in ar7240sw_setup
John Crispin [Sun, 7 Dec 2014 16:52:58 +0000 (16:52 +0000)]
ag71xx: replace fixed PHY reset wait time in ar7240sw_setup

Replace the fixed wait time of 1s with polling for BMCR_RESET
to be cleared on all PHYs.

Signed-off-by: Heiner Kallweit <[email protected]>
SVN-Revision: 43538

11 years agoe2fsprogs: add InstallDev section to Makefile
John Crispin [Sun, 7 Dec 2014 16:52:50 +0000 (16:52 +0000)]
e2fsprogs: add InstallDev section to Makefile

btrfs-progs is using libext2fs, so headers and libs need to be staged

Signed-off-by: Daniel Golle <[email protected]>
SVN-Revision: 43537

11 years agokernel: refresh patches for kernel 3.18
Hauke Mehrtens [Sun, 7 Dec 2014 16:12:44 +0000 (16:12 +0000)]
kernel: refresh patches for kernel 3.18

Signed-off-by: Hauke Mehrtens <[email protected]>
SVN-Revision: 43536

11 years agobrcm47xx: remove kernel 3.10
Hauke Mehrtens [Sun, 7 Dec 2014 15:34:28 +0000 (15:34 +0000)]
brcm47xx: remove kernel 3.10

Signed-off-by: Hauke Mehrtens <[email protected]>
SVN-Revision: 43535

11 years agobcm53xx: 3.18: add early support for Buffalo WZR-900DHP
Rafał Miłecki [Sun, 7 Dec 2014 11:02:52 +0000 (11:02 +0000)]
bcm53xx: 3.18: add early support for Buffalo WZR-900DHP

Signed-off-by: Rafał Miłecki <[email protected]>
SVN-Revision: 43534

11 years agobcm53xx: add early support for Buffalo WZR-900DHP
Rafał Miłecki [Sun, 7 Dec 2014 10:55:44 +0000 (10:55 +0000)]
bcm53xx: add early support for Buffalo WZR-900DHP

Signed-off-by: Rafał Miłecki <[email protected]>
SVN-Revision: 43533

11 years agobrcm47xx: add early support for WNDR3400 V3
Rafał Miłecki [Sun, 7 Dec 2014 00:58:40 +0000 (00:58 +0000)]
brcm47xx: add early support for WNDR3400 V3

Signed-off-by: Rafał Miłecki <[email protected]>
SVN-Revision: 43532

11 years agoperf: this package fails to build for !eglibc
John Crispin [Sat, 6 Dec 2014 20:27:57 +0000 (20:27 +0000)]
perf: this package fails to build for !eglibc

Signed-off-by: John Crispin <[email protected]>
SVN-Revision: 43531

11 years agobcm53xx: backport BCM5301X patches from arm-soc.git next/dt
Rafał Miłecki [Fri, 5 Dec 2014 16:46:55 +0000 (16:46 +0000)]
bcm53xx: backport BCM5301X patches from arm-soc.git next/dt

Signed-off-by: Rafał Miłecki <[email protected]>
SVN-Revision: 43530

11 years agobcm53xx: squeeze (rename) BCM5301X patches
Rafał Miłecki [Fri, 5 Dec 2014 16:15:16 +0000 (16:15 +0000)]
bcm53xx: squeeze (rename) BCM5301X patches

Signed-off-by: Rafał Miłecki <[email protected]>
SVN-Revision: 43529

11 years agobcm53xx: rename patches that were not upstreamed to 3xx
Rafał Miłecki [Fri, 5 Dec 2014 16:13:27 +0000 (16:13 +0000)]
bcm53xx: rename patches that were not upstreamed to 3xx

Signed-off-by: Rafał Miłecki <[email protected]>
SVN-Revision: 43528

11 years agokernel: update bcma up to 2014-10-27
Rafał Miłecki [Fri, 5 Dec 2014 16:11:03 +0000 (16:11 +0000)]
kernel: update bcma up to 2014-10-27

Signed-off-by: Rafał Miłecki <[email protected]>
SVN-Revision: 43527

11 years agosdk: don't try to build in-kernel kmods
Jonas Gorski [Fri, 5 Dec 2014 11:50:42 +0000 (11:50 +0000)]
sdk: don't try to build in-kernel kmods

We don't ship the kernel sources, so using the base git as a feed will
fail when trying to build kernel modules with separate install steps.
Instead of trying to fixup the install steps, let's just skip building
kernel modules alltogether and just create empty packages.

Out-of-kernel modules are still expected to exist and are packaged, as
for these sources are fetched during the normal build steps.

Reported-by: Jo-Philipp Wich <[email protected]>
Signed-off-by: Jonas Gorski <[email protected]>
SVN-Revision: 43525

11 years agoocteon: sysupgrade: support config restore on ERL
John Crispin [Fri, 5 Dec 2014 08:58:25 +0000 (08:58 +0000)]
octeon: sysupgrade: support config restore on ERL

Signed-off-by: Stijn Tintel <[email protected]>
SVN-Revision: 43524

11 years agoocteon: sysupgrade: rename old kernel after mounting /boot
John Crispin [Fri, 5 Dec 2014 08:58:18 +0000 (08:58 +0000)]
octeon: sysupgrade: rename old kernel after mounting /boot

Signed-off-by: Stijn Tintel <[email protected]>
SVN-Revision: 43523

11 years agoocteon: sysupgrade: fix test for rootfs device
John Crispin [Fri, 5 Dec 2014 08:58:06 +0000 (08:58 +0000)]
octeon: sysupgrade: fix test for rootfs device

Signed-off-by: Stijn Tintel <[email protected]>
SVN-Revision: 43522

11 years agooxnas: switch back to kernel 3.14
John Crispin [Fri, 5 Dec 2014 00:20:50 +0000 (00:20 +0000)]
oxnas: switch back to kernel 3.14

3.18 still got problems with stuck reboots if rootfs is ubifs...

Signed-off-by: Daniel Golle <[email protected]>
SVN-Revision: 43521

11 years agooxnas: re-add support for kernel 3.14
John Crispin [Fri, 5 Dec 2014 00:20:41 +0000 (00:20 +0000)]
oxnas: re-add support for kernel 3.14

This reverts commit c81ddddde5fd193802d511b42eb7b108aac17136 on
https://gitorious.org/openwrt-oxnas/openwrt-oxnas.git
which removed patches and config for 3.14.

[arm_introduce-dma-fiq-irq-broadcast patch was renamed to match 3.18]

Signed-off-by: Daniel Golle <[email protected]>
SVN-Revision: 43520

11 years agoocteon: add support for 3.18 kernel
John Crispin [Fri, 5 Dec 2014 00:20:10 +0000 (00:20 +0000)]
octeon: add support for 3.18 kernel

Runtime tested on Ubiquiti EdgeRouter Lite.

Signed-off-by: Stijn Tintel <[email protected]>
SVN-Revision: 43519

11 years agoocteon: sysupgrade: support config restore
John Crispin [Fri, 5 Dec 2014 00:19:59 +0000 (00:19 +0000)]
octeon: sysupgrade: support config restore

SVN-Revision: 43518

11 years agoocteon: sysupgrade: get rootfsdev from kernel cmdline
John Crispin [Fri, 5 Dec 2014 00:19:46 +0000 (00:19 +0000)]
octeon: sysupgrade: get rootfsdev from kernel cmdline

Signed-off-by: Stijn Tintel <[email protected]>
SVN-Revision: 43517

11 years agoamazon: R.I.P.
John Crispin [Fri, 5 Dec 2014 00:19:40 +0000 (00:19 +0000)]
amazon: R.I.P.

its been broken for 2 1/2 years

Signed-off-by: John Crispin <[email protected]>
SVN-Revision: 43516

11 years agokernel/modules: remove unused variable
John Crispin [Fri, 5 Dec 2014 00:19:28 +0000 (00:19 +0000)]
kernel/modules: remove unused variable

https://dev.openwrt.org/ticket/18472

Signed-off-by: John Crispin <[email protected]>
SVN-Revision: 43515

11 years agoralink: mt7621 is a 1004Kc
John Crispin [Wed, 3 Dec 2014 20:22:42 +0000 (20:22 +0000)]
ralink: mt7621 is a 1004Kc

Signed-off-by: L. D. Pinney <[email protected]>
SVN-Revision: 43514

11 years agoprocd: more nand takeover fixes
John Crispin [Wed, 3 Dec 2014 20:22:37 +0000 (20:22 +0000)]
procd: more nand takeover fixes

if the initramfs kernel and payload were flashed in one block, the payload might not be at the start of the ubi partition due to bad blocks inside the kernel partition.

Signed-off-by: John Crispin <[email protected]>
SVN-Revision: 43513

11 years agomtd: make the dump commnd honour the -o option
John Crispin [Wed, 3 Dec 2014 20:22:32 +0000 (20:22 +0000)]
mtd: make the dump commnd honour the -o option

Signed-off-by: John Crispin <[email protected]>
SVN-Revision: 43512

11 years agokernel: add missing null pointer check for mips dma ops inline patch on 3.18
Felix Fietkau [Wed, 3 Dec 2014 18:17:17 +0000 (18:17 +0000)]
kernel: add missing null pointer check for mips dma ops inline patch on 3.18

Signed-off-by: Felix Fietkau <[email protected]>
SVN-Revision: 43511

11 years agouboot-envtools: use environment stored in UBI also for KD20
John Crispin [Wed, 3 Dec 2014 16:05:23 +0000 (16:05 +0000)]
uboot-envtools: use environment stored in UBI also for KD20

Signed-off-by: Daniel Golle <[email protected]>
SVN-Revision: 43510

11 years agouboot-oxnas: adjust digtial drive strength of IC+ phy
John Crispin [Wed, 3 Dec 2014 16:05:17 +0000 (16:05 +0000)]
uboot-oxnas: adjust digtial drive strength of IC+ phy

This is what the vendor bootloader does on KD20.

Signed-off-by: Daniel Golle <[email protected]>
SVN-Revision: 43509

11 years agouboot-oxnas: re-add IC+ phy driver
John Crispin [Wed, 3 Dec 2014 16:05:11 +0000 (16:05 +0000)]
uboot-oxnas: re-add IC+ phy driver

KD20 got an IC+ phy, without the driver the phy is not properly
initialized resulting in ethernet not working unless being already
initialized by the vendor loader.

upstream commit 368b4d2b49bbbf379d9334747fbbd2aaaafe4356
drivers: net: remove dead drivers
removed icplus.c due to the lack of in-tree users.
Partially revert that commit adding back the IC+ driver.

Signed-off-by: Daniel Golle <[email protected]>
SVN-Revision: 43508

11 years agokernel: make the ubi attach patch check for a valid ubi magic rather than a tar magic
John Crispin [Wed, 3 Dec 2014 16:05:06 +0000 (16:05 +0000)]
kernel: make the ubi attach patch check for a valid ubi magic rather than a tar magic

Signed-off-by: John Crispin <[email protected]>
SVN-Revision: 43507

11 years agokernel: make ubi auto-attach check for a tar file magic
John Crispin [Wed, 3 Dec 2014 14:32:38 +0000 (14:32 +0000)]
kernel: make ubi auto-attach check for a tar file magic

Signed-off-by: John Crispin <[email protected]>
SVN-Revision: 43506

11 years agoprocd: firstboot nand/ubi takeover support
John Crispin [Wed, 3 Dec 2014 14:32:32 +0000 (14:32 +0000)]
procd: firstboot nand/ubi takeover support

it is now possible to flash a initramfs kernel and a sysupgrade tar file inside the ubi partition. on first boot, the takeover script will find the tar file, extract and finally sysupgrade it. this allows us to flash owrt/ubi images in a 2 phase setup using ODM webuis that are not ubi aware. this is needed by some mediatek and brokencom devices.

Signed-off-by: John Crispin <[email protected]>
SVN-Revision: 43505

11 years agouqmi: Add --delete-message for deleting SMS messages
John Crispin [Wed, 3 Dec 2014 09:17:28 +0000 (09:17 +0000)]
uqmi: Add --delete-message for deleting SMS messages

Signed-off-by: John Crispin <[email protected]>
SVN-Revision: 43504

11 years agomtd: make the mtd dump call run properly on nand flash
John Crispin [Tue, 2 Dec 2014 19:28:23 +0000 (19:28 +0000)]
mtd: make the mtd dump call run properly on nand flash

Signed-off-by: John Crispin <[email protected]>
SVN-Revision: 43503

11 years agokernel/modules: package xhci for kernel>=3.18
Felix Fietkau [Tue, 2 Dec 2014 19:26:45 +0000 (19:26 +0000)]
kernel/modules: package xhci for kernel>=3.18

xhci-hcd was split into xhci-pci and xhci-platform since 3.18

Signed-off-by: Daniel Golle <[email protected]>
SVN-Revision: 43502

11 years agogemini: update ethernet driver, register ethernet on nas4220 board
John Crispin [Tue, 2 Dec 2014 18:27:54 +0000 (18:27 +0000)]
gemini: update ethernet driver, register ethernet on nas4220 board

Signed-off-by: Roman Yeryomin <[email protected]>
SVN-Revision: 43501

11 years agomtd: add ability to dump a mtd device
John Crispin [Tue, 2 Dec 2014 18:27:49 +0000 (18:27 +0000)]
mtd: add ability to dump a mtd device

this can be used on nand flashes and will skip bad blocks and run ecc on the
read data before dumping it.

Signed-off-by: John Crispin <[email protected]>
SVN-Revision: 43500

11 years agouboot-oxnas: bump to U-Boot 2014.10
John Crispin [Tue, 2 Dec 2014 15:25:37 +0000 (15:25 +0000)]
uboot-oxnas: bump to U-Boot 2014.10

A few trivial changes were needed to adapt to upstream framework changes.

Signed-off-by: Daniel Golle <[email protected]>
SVN-Revision: 43499

11 years agooxnas: switch CRC32 implementation to SLICEBY8
John Crispin [Tue, 2 Dec 2014 15:25:28 +0000 (15:25 +0000)]
oxnas: switch CRC32 implementation to SLICEBY8

similar to what was observed on kirkwood this significantly accelerates
btrfs write operations.

Signed-off-by: Daniel Golle <[email protected]>
SVN-Revision: 43498

11 years agooxnas/kd20: add usb-storage to default package set
John Crispin [Tue, 2 Dec 2014 15:25:14 +0000 (15:25 +0000)]
oxnas/kd20: add usb-storage to default package set

KD20 got a built-in card-reader wired to the USB-3 root-hub.

Signed-off-by: Daniel Golle <[email protected]>
SVN-Revision: 43497

11 years agooxnas/kd20: use gpio-beeper
John Crispin [Tue, 2 Dec 2014 15:25:09 +0000 (15:25 +0000)]
oxnas/kd20: use gpio-beeper

gpio-beeper module was added to the kernel recently.
Make use of it to drive the piezoelectric buzzer of the kd20.

Signed-off-by: Daniel Golle <[email protected]>
SVN-Revision: 43496

11 years agokernel/modules: package gpio-beeper
John Crispin [Tue, 2 Dec 2014 15:25:03 +0000 (15:25 +0000)]
kernel/modules: package gpio-beeper

Signed-off-by: Daniel Golle <[email protected]>
SVN-Revision: 43495