Commit Graph

14991 Commits (4c367eb6ba157c4f0d6dd4494db8484b497e773d)

Author SHA1 Message Date
John Crispin db328d1e26 ipq806x: fix AP148 boot from NOR
This patch allows AP148 to boot from NOR flash.

As we're using a FIT image as kernel (which includes kernel bin + DTB)
we enable the MTD_SPLIT_FIT_FW kernel option, which will detect the FIT
image and automatically split the "firmware" partition into 2 MTD parts
(kernel + rootfs).

The rootfs will then be parsed and split between rootfs + rootfs_data,
as usual.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44794 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 19:39:41 +00:00
John Crispin a325ed5979 ipq806x: add ap148 bootargs to DT
Only one bootargs is really needed: the tty port. All the other
information will use the OpenWrt mechanisms.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 19:39:33 +00:00
John Crispin 02f1a53164 kernel: mtdsplit: add support for FIT image
If this option is enabled, the FIT image format will be detected and
split by the mtdsplit code. Detection is based upon the FDT magic, which
will trigger the parsing and detection of the rootfs, ending-up in the
creation of the 2 new partitions.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44792 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 19:39:27 +00:00
John Crispin 596033a52e Fix (invert/revert) Hornet-UB WPS LED state
My previous patch regarding the Hornet-UB board
(commit: beed4d82d6a0154b0cd5f7b84e2180215ace6718) actually
causes the WPS led state to be inverted. Practically this meant
that value 0 in /sys/class/led/alfa:blue:wps/brightness would
turn the LED on and any positive value (1-255) would turn it off.

The above of course is confusing and hence reverting this value
back to the way it was before beed4d82d6a0154b0cd5f7b84e2180215ace6718.

Signed-off-by: Janne Cederberg <janne.cederberg@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44791 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 19:25:48 +00:00
Jonas Gorski 309b8df125 b53: global config is part of the management page, not the control page
It will now actually enable the mib counters instead of enabling rx/tx for
the first switch port.

Reported-by: Daniel Gonzalez <dgcbueu@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44788 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 14:19:28 +00:00
Jonas Gorski 784dac57be brcm63xx: brcm63xxpart: fix buffer overrun in of parser
We never account for the added partitions from the tag parser, so
allocated two partioness less than needed. This can cause issues when
the memory gets reused before the mtd code can actually add the
partitions.

Fixes oopses like:
[    0.920000] mtd: device 2 (rootfs) set to be root filesystem
[    0.924000] 1 squashfs-split partitions found on MTD device rootfs
[    0.932000] 0x0000002e0000-0x0000003f0000 : "rootfs_data"
[    0.940000] 0x000000010000-0x0000003f0000 : "linux"
[    0.948000] CPU 0 Unable to handle kernel paging request at virtual address 00010203, epc == 8028ddf8, ra == 801ad5d4
[    0.956000] Oops[#1]:
[    0.956000] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.18.8 #22
[    0.956000] task: 8181da78 ti: 8181e000 task.ti: 8181e000
[    0.956000] $ 0   : 00000000 10008f00 00010203 81049e40
[    0.956000] $ 4   : 00010203 000000d0 00000000 000000fd
[    0.956000] $ 8   : 00000000 80015490 00000000 80370000
[    0.956000] $12   : 00000000 00000001 00000000 2f736269
[    0.956000] $16   : 00010203 000000d0 8007bde0 81482000
[    0.956000] $20   : 00000000 00000004 81481f80 803c4b78
[    0.956000] $24   : 00000000 00000000
[    0.956000] $28   : 8181e000 8181fbe8 80b20000 801ad5d4
[    0.956000] Hi    : 00000000
[    0.956000] Lo    : 00000000
[    0.956000] epc   : 8028ddf8 strlen+0x4/0x20
[    0.956000]     Not tainted
[    0.956000] ra    : 801ad5d4 kstrdup+0x30/0x84
[    0.956000] Status: 10008f03 KERNEL EXL IE
[    0.956000] Cause : 00800008
[    0.956000] BadVA : 00010203
[    0.956000] PrId  : 0002a010 (Broadcom BMIPS4350)
[    0.956000] Modules linked in:
[    0.956000] Process swapper/0 (pid: 1, threadinfo=8181e000, task=8181da78, tls=00000000)
[    0.956000] Stack : 8148aa00 803c4bcc 00000000 801cd9d0 00000000 8148a400 818a1400 003f0000
          81482000 8007bde0 8148aa00 800ac78c 8148aa00 00000004 8037ae30 8181fc4c
          8148aa00 803bc074 803c0000 80074b84 00000000 00010000 00000004 ffffffff
          8037ae30 00000004 8148aa00 00000004 803c4b80 818a1400 803c0000 00000005
          81481f80 80074ce0 8181fc84 00000005 81879800 8008ece4 00000000 003f0000
          ...
[    0.956000] Call Trace:
[    0.956000] [<8028ddf8>] strlen+0x4/0x20
[    0.956000] [<801ad5d4>] kstrdup+0x30/0x84
[    0.956000] [<8007bde0>] allocate_partition+0x58/0x93c
[    0.956000] [<80074ce0>] add_mtd_partitions+0x90/0x144
[    0.956000] [<801cc228>] mtd_device_parse_register+0x78/0xcc
[    0.956000] [<801e7870>] of_flash_probe+0x658/0x728
[    0.956000] [<80216ee0>] platform_drv_probe+0x24/0x60
[    0.956000] [<801221f4>] driver_probe_device+0xcc/0x214
[    0.956000] [<800466f8>] __driver_attach+0x7c/0xb4
[    0.956000] [<800c38bc>] bus_for_each_dev+0x94/0xa4
[    0.956000] [<800c35e4>] bus_add_driver+0x104/0x1ec
[    0.956000] [<80122400>] driver_register+0xac/0x100
[    0.956000] [<80113a5c>] do_one_initcall+0x148/0x204
[    0.956000] [<803cbd1c>] kernel_init_freeable+0x168/0x220
[    0.956000] [<800157bc>] kernel_init+0x10/0x114
[    0.956000] [<800108a8>] ret_from_kernel_thread+0x14/0x1c
[    0.956000]
[    0.956000]
Code: 03e00008  27bd0028  00801021 <80430000> 10600003  00000000  080a377e  24420001  03e00008
[    1.192000] ---[ end trace 9d89ccbcae27fe40 ]---
[    1.200000] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    1.200000]
[    1.200000] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44787 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 14:19:22 +00:00
Jonas Gorski 4d025594ac brcm63xx: kmod-bcm63xx-udc: fix module path for 3.18+
Fix the module path for linux 3.18+.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 14:19:10 +00:00
Jonas Gorski 342bb60da3 brcm63xx: fix 6368 cpu1 reg typo
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44784 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 14:19:07 +00:00
Felix Fietkau fc9676671c lantiq: add a better fix to strip FCS from ethernet packets on XRX200
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44771 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 09:47:34 +00:00
Felix Fietkau 96f6bc9eba lantiq: enable atm-esi by default for xrx200
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 07:57:51 +00:00
Felix Fietkau 555589354c brcm2708: fix mkdosfs command line options order
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 05:18:50 +00:00
Felix Fietkau 3b35351eea x86: refresh kernel config
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 04:43:37 +00:00
Felix Fietkau e08e457d55 x86: update to kernel 3.18
copied target/linux/x86/config-3.14 and target/linux/x86/patches-3.14 to
3.18 equivalents and then tweaked until it built.

Tested on alix2, soekris net4826 and soekris net4521.

Still having trouble with net4826 booting from Grub, alix2 and net4521
are fine.

Signed-off-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44758 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 04:43:30 +00:00
Felix Fietkau a4b632413a kernel: fix portability issues of the x86 vdso2c utility
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 04:43:22 +00:00
Felix Fietkau d5b91aadb5 kernel: add missing config symbol for 3.18+
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44756 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 04:40:10 +00:00
Rafał Miłecki 5cf9746b1d bcm53xx: support NVRAM prefixes with extra / in devpath
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-14 16:35:56 +00:00
Felix Fietkau 939914d5e7 x86: disable rts/cts for serial console in grub - fixes net48xx boot issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-14 08:38:35 +00:00
Felix Fietkau 077b80d39d kernel: linux 3.19 also needs the network namespace related fd export patch (#19161)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-14 05:38:14 +00:00
John Crispin 5985d3b8f4 ralink: support change tx/rx ring size
Signed-off-by: michael lee <igvtee@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44741 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 08:38:08 +00:00
John Crispin e8d734c637 ralink: use random generate mac address instead of default one.
Signed-off-by: michael lee <igvtee@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44740 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 08:38:01 +00:00
John Crispin fe1279d7bf ralink: add wifi 5g dts info for cy-swr1100
Signed-off-by: michael lee <igvtee@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 08:37:45 +00:00
Felix Fietkau 484aa24d96 ath25: set myself as maintainer
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:02:34 +00:00
Felix Fietkau 6402b8402f Rename 'atheros' target to 'ath25'
Rename 'atheros' target to more precise 'ath25'.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44736 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:02:28 +00:00
Felix Fietkau d057b4aae3 atheros: remove odd board check during image build
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44735 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:02:21 +00:00
Felix Fietkau 91f127bbe1 atheros: remove linux 3.14
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:02:17 +00:00
Felix Fietkau 13286c43b5 atheros: switch to 3.18
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44733 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:02:12 +00:00
Felix Fietkau 28832b865b atheros: v3.18: renumber backported patches
Move first 3 patches to 0xx numbers range to denote that this is
backported code and they should be removed when we update
kernel to version >= 3.19

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44732 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:02:08 +00:00
Felix Fietkau f6c7cc8c8c atheros: v3.18: non-functional cleanup
To finally sync code with upsream cleanup registers headers, and update
several comments and kernel config symbols descriptions. No functional
changes.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44731 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:02:00 +00:00
Felix Fietkau e6f4883929 atheros: v3.18: cleanup includes
Remove odd and add missed includes.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:01:50 +00:00
Felix Fietkau bc135de0a6 atheros: v3.18: rearrange code between patches
Cleanup board patch by moving code to specific patches, and factor out
leds to separate patch. No functional changes.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44729 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:01:42 +00:00
Felix Fietkau 99f3e65bca atheros: v3.18: move GPIO patches behind PCI
Move GPIO patches behind PCI patch, since they are not yet merged
upstream.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44728 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:01:37 +00:00
Felix Fietkau bf248f8c59 atheros: v3.18: switch to IRQ domain
Rework MISC and PCI IRQ controllers code to use IRQ domains and bitops.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:01:31 +00:00
Felix Fietkau f1a2758140 atheros: v3.18: update register names
Make register names more consistent, mostly add appropriate prefix
(AR5312_ or AR2315_) or _BASE suffix. Also add macro to simplify mask
and shift operation.

No functional changes.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:01:21 +00:00
Felix Fietkau 7ac3fd1f5d atheros: v3.18: remap flash for boardconfig parsing
Rework boardconfig handling code to honestly remap flash memory region.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44725 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:01:17 +00:00
Felix Fietkau 6afc58ca5b atheros: v3.18: make registers headers local
There are no external users (last one was PCI driver) for these headers,
so move them to arch directory. Few macroses from ar231x.h header moved
to devices.h and file was removed.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44724 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:01:11 +00:00
Felix Fietkau c35ad669cb atheros: v3.18: remap main SoC MMR memory
Honestly remap main SoC MMR mem and use accessor functions to
interact with registers. Now registers defined relatively to base
address (e.g. SDRAM controller base address).

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:01:04 +00:00
Felix Fietkau a24e0d1b97 atheros: v3.18: cleanup register headers
AFAIK, no one AR2315+ chip (AR2315, AR2316, AR2317, AR2318) does not
contain IR block, so remove IR registers definitions. Also remove few
unused macroses.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:00:59 +00:00
Felix Fietkau 684a72d562 atheros: v3.18: pass PCI IRQ and I/O mem via resources
Pass PCI IRQ and I/O memory ranges via platform device resources, this
change makes PCI controller driver independed from arch headers, so
also remove few includes.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44721 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:00:51 +00:00
Felix Fietkau e7cc907788 atheros: v3.18: remap PCI controller MMR memory
Honestly remap PCI controller MMR and use accessor functions to interact
with registers.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:00:43 +00:00
Felix Fietkau 93dd54c7cf atheros: v3.18: add context container for PCI driver
Add container and place all context specific variables and structure to
it.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44719 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:00:19 +00:00
Felix Fietkau 5938707157 atheros: v3.18: move PCI enable code to arch
Move PCI host interface enable code to arch, since it touches generic
SoC registers outside the PCI MMR region.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 03:00:06 +00:00
Felix Fietkau 93e709e333 atheros: v3.18: rearrange PCI regs definitions
Move PCI controller configuration registers from generic header to
driver source. No functional changes.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44717 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 02:59:54 +00:00
Felix Fietkau 32b39783b9 atheros: v3.18: relocate PCI host DMA base definition
Put AR2315_PCI_HOST_SDRAM_BASEADDR macro to DMA header, since this is
arbitrary value and not some hw specific constant. Also this relocation
decouples dma from HW specific header.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44716 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 02:59:43 +00:00
Felix Fietkau 96640f6e55 atheros: v3.18: rework early initialization
Do not use prom_init() callback, do memory initialization in
plat_mem_setup() callback and move serial port configuration to
arch_initcall stage.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44715 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 02:59:27 +00:00
Felix Fietkau baf36d9f83 atheros: v3.18: rearrange interrupt handling functions
No functional changes, just change functions order in source file.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44714 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 02:59:19 +00:00
Felix Fietkau 60a15500fc atheros: v3.18: change calls logic
Check SoC family (AR5312+ or AR2315+) before call instead of checking it
inside the called function. Also convert ar{5312,2315}_init_device()
function to void, since they both return zero and nobody care about
return value.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 02:59:04 +00:00
Felix Fietkau 96bfba8286 atheros: v3.18: update names and declarations
Sync functions, variables and enums names with upstream. Mostly replace
'ar231x_' prefix by 'ath25_'.

No functional changes, except few 'int' -> 'unsigned' changes.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44712 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 02:58:58 +00:00
Felix Fietkau f305457b87 atheros: v3.18: cleanup cpu-feature-overrides.h
Remove mention of undefined features.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44711 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 02:58:49 +00:00
Felix Fietkau 36ac89d168 atheros: v3.18: remove eth platform device unused field
Ethernet controller driver don't use boarddata directly, so remove
corresponding field from its platform device structure.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44710 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 02:58:37 +00:00
Felix Fietkau 3e2402cf82 atheros: v3.18: remove odd header reset.h
This header provides prototype for function without realization and
users.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 02:58:24 +00:00
Felix Fietkau e2d59f4dd5 atheros: v3.18: rename platform header
Rename ar231x_platform.h to ath25_platform.h

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44708 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 02:58:17 +00:00
Felix Fietkau 85365aa0c4 atheros: v3.18: rename kernel platform to ath25
Rename platform source directory and asm includes directory.

No functional changes.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44707 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 02:57:59 +00:00
Felix Fietkau 3846aa2bb9 atheros: v3.18: rename ATHEROS_AR231X symbol to ATH25
This patch starts upsteam ath25 code backporting.

No functional changes.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44706 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 02:57:51 +00:00
Felix Fietkau bc66ec6772 atheros: add v3.18 support
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-13 02:57:41 +00:00
Felix Fietkau 074ba4221e kernel: backport fib_trie improvements/fixes from 4.0-rc
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-12 15:27:44 +00:00
John Crispin 4d998f98f0 ar71xx: Ext LNA patch for TUBE2H and HORNET-UB targets
Signed-off-by: Christophe Prévotaux <c.prevotaux@rural-networks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44693 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-12 10:06:53 +00:00
John Crispin f30e32991d ar71xx: Hornet UB GPIO WPS/Reset
This problem has existed at least since Attitude Adjustment and
is also present in trunk. Basically on the Hornet-UB board the
functionality of RESET and WPS have "switched places".

There are two tickets about the issue at dev.openwrt.org,
The solution suggested on them both is incomplete though
and introduces the following proglem:

Patching as suggested on #14136/#15282 will result in a situation
where simply pressing the RESET button on the bottom will cause
FACTORY RESET to be run. This is due to GPIO high/low state being
incorrect as a result of the above change and virtually the RESET
button is in the pressed-down state the entire time. When it is
then physically pressed, that causes the opposite, release, to be
triggered and since to the board it seemed that the button was
pressed long before it was released, the FACTORY RESET results.

The attached patch works as expected. I have verified both the
incorrect functionality as well as after fixing the issue as
described in the patch and flashing the resulting firmware to a
Hornet-UB board.

Signed-off-by: Janne Cederberg <janne.cederberg@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44692 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-12 10:06:42 +00:00
John Crispin ac706e1b3c ralink: resize the flash partition for FireWRT
Signed-off-by: wengbj <fl.service@t-firefly.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44691 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-12 10:06:31 +00:00
John Crispin 2d50e3576e ralink: MT7621 add i2c controller driver
ralink i2c driver is not working on MT7621 platform. Porting a new drivers from MTK's source code.

Signed-off-by: daixj <fl.service@t-firefly.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44690 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-12 10:06:17 +00:00
John Crispin 9e0345eec4 cobalt: framebuffer device has moved
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-12 10:05:48 +00:00
Felix Fietkau 2a9511f8a6 kernel: backport symbol export from r44653 to 3.14
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44681 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 17:32:29 +00:00
Rafał Miłecki bd74798e93 bcm53xx: fixup early device id 8012
Looks like the BCM53012 has a similar problem to the BCM53011.

Signed-off-by: Ian Kent <raven@themaw.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 17:32:02 +00:00
Rafał Miłecki 3ce21086f2 bcm53xx: fix typo in bcm47xx sprom driver
Fix thinko' in the bcm47xx sprom driver.

Signed-off-by: Ian Kent <raven@themaw.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44679 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 17:10:19 +00:00
John Crispin 41afbc70a7 kenrel: refresh patches
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44678 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 17:08:46 +00:00
John Crispin 2c0cefef77 lantiq: make the new dwc2 support only work for vr9
danube needs to be added

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44677 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 17:08:40 +00:00
John Crispin 2b0eb2e042 lantiq: Convert Zyxel P-2812HNU-FX and TP-Link TD-W8970 to support dwc2
Here the device tree entry for ifxhcd is listed as compatible with one
supported in dwc2 (after patching the dwc driver appropriately).

A second entry is added to support the second core of the hcd. This
entry is listed to be compatible with only dwc2. Done this way there
should be backwards support for both hcd drivers (ltq-hcd and dwc2)

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>
Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44676 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 17:08:32 +00:00
John Crispin a968dcbf6d lantiq: Use platform endianness when accessing dwc2 registers
This patch switches calls to readl/writel to their
dwc2_readl/dwc2_writel equivalents which preserve platform endianness.

This patch is necessary to access dwc2 registers correctly on big
endian systems such as the mips based SoCs made by Lantiq. Then dwc2
can be used to replace ifx-hcd driver for Lantiq platforms found e.g.
in OpenWrt.

The patch was autogenerated with the following commands:
$EDITOR core.h
sed -i "s/\<readl\>/dwc2_readl/g" *.c hcd.h hw.h
sed -i "s/\<writel\>/dwc2_writel/g" *.c hcd.h hw.h

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>
Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44675 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 17:08:26 +00:00
John Crispin 34bf978c3b lantiq: Add sensible hw-defaults for dwc2
Lantiq driver does not work with autodetected fifo sizes so use ones
from original ltq-hcd driver in dwc2. Other values can be
autodetected.

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>
Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44674 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 17:08:15 +00:00
John Crispin 2c433fb006 lantiq: Configure gpio power output pin when initializing dwc2 usb
Port gpio code from original ltq-hcd driver to dwc2.

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>
Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44673 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 17:08:08 +00:00
John Crispin 90a1b39efe lantiq: Add usb initialization bits from ltq-hcd to platform init
Add VR9 specific usb initialization bits from ltq-hcd to platform
initialization.

This patch is more of a proof-of-concept than production quality
since the initialization registers are different on other lantiq
platforms.

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>
Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 17:08:02 +00:00
John Crispin 1547f49283 cobalt: rename config file
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44668 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 16:22:01 +00:00
John Crispin eea98d126c ar71xx: improve WD's My Net Wi-fi Range Extender image creation
Previously, the generated images for the My Net Wi-fi Range Extender
wouldn't always work (and panic) due to the fixed mtd offsets and
sizes for the kernel and rootfs. This patch fixes the problem by
utilizing the shared Cybertan's partition parser to recalculate
the mtd partitions for every image dynamically everytime.

Reported-by: Pascal Paradis <peparadis@yahoo.com>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44665 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 15:56:34 +00:00
John Crispin a8a374fe68 ar71xx: generalize cybertan partition parser
By removing the NL16 signature check, the parser can be
utilized by other devices like the WD My Net Wi-fi Range
Extender.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44664 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 15:56:27 +00:00
John Crispin 2eabbd5247 ar71xx: rename wrt160nl's trx partition parser
This patch renames the partition parser from
wrt160nl to more generic cybertan.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 15:56:15 +00:00
John Crispin d93222ddef ar71xx: fix WRT160NL and TP-Link partition parser patches
405-mtd-tp-link-partition-parser.patch was updating the
WRT160NL's partition parser Kconfig. This patch moves the
relevant change into the right file:
404-mtd-wrt160nl-trx-parser.patch

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44662 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 15:55:55 +00:00
John Crispin db982be738 ralink: FireWRT flash size is up to 16M.
Signed-off-by: wengbj <fl.service@t-firefly.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44661 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 15:55:28 +00:00
John Crispin 385f442a27 ralink: add FireWRT IO multiplexing
Signed-off-by: wengbj <fl.service@t-firefly.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 15:55:16 +00:00
John Crispin b3ae0b0d84 ar71xx: fix switched WLAN LEDs on TP-LINK Archer C5/C7
ath10k is loaded before ath9k, so the 5GHz adapter becomes phy0.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 15:55:06 +00:00
John Crispin 7dc5e80b5e Fix 3.18.8 breakage of UBI devices with EOF marker (e.g. WNDR4300)
This commit re-adds a patch from 3.14 that is required for UBI block
devices with an EOF marker to be successfully mounted.

Signed-off-by: Oliver Smith <oliver@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44658 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 15:54:52 +00:00
Felix Fietkau ff84193ba9 kernel: backport an export required by newer compat-wireless versions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 15:02:16 +00:00
Imre Kaloz 6ed667a88f ppc44x: use the mtdsplit framework for the Taishan
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-11 12:20:03 +00:00
John Crispin ad93058254 ar71xx: fix gpio-latch driver
gpio api has changed. the remove call no longer returns a value.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-10 20:19:54 +00:00
Luka Perkov ce6e006011 ar71xx: refresh patches
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44649 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-10 16:11:44 +00:00
Luka Perkov 3786f9be7e ar71xx: wpj588: add missing usb support
Signed-off-by: Luka Perkov <luka@openwrt.org>
Tested-By: Christian Mehlis <christian@m3hlis.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-10 16:11:39 +00:00
John Crispin c071881c79 ar71xx: Fix LED polarity for the TP-LINK TL-MR13U.
Please also backport to Barrier Breaker (this same patch applies there too).

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44647 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-10 13:26:50 +00:00
John Crispin 307d615ef0 ar71xx: Fix board detection for the TP-LINK TL-MR13U.
Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44646 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-10 13:26:44 +00:00
John Crispin 2c3e6a475e kernel: fix yaffs compile for >= v3.16
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-10 13:08:17 +00:00
John Crispin ed09a52d69 ralink: add missing symbol that broke full builds
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44642 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-10 11:03:16 +00:00
John Crispin 080f1402b4 kirkwood: add missing symbol that broke full builds
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44641 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-10 11:03:10 +00:00
John Crispin 70499c3e46 au1000: build fails if the input layer is not selected
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44640 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-10 11:03:04 +00:00
John Crispin b2d847f4c0 ipq806x: add 2 missing symbols that broke a full build
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-10 11:02:52 +00:00
John Crispin 0d35249fed ar7: register_mtd_parser() does no longer have a return value
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-10 11:02:45 +00:00
Imre Kaloz 7ad0ed98b6 ppc44x: upgrade and switch to 3.18
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44637 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-10 10:00:41 +00:00
Rafał Miłecki 1c8d1d2a87 bcm53xx: fix printing NAND controller revision
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-07 12:31:42 +00:00
Imre Kaloz 13eb5b45a7 mvebu: add backported patch to reenable hw i/o coherency
Reported-by: Claudio Leite <leitec@staticky.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44621 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-06 18:57:49 +00:00
Luka Perkov 7aeb6923b5 ar71xx: add support for compex wpj558
OpenWrt can be flashed with following uboot commands:

tftpboot 0x80500000 openwrt-ar71xx-generic-wpj558-16M-squashfs-sysupgrade.bin
erase 0x9f030000 +$filesize
cp.b $fileaddr 0x9f030000 $filesize

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44620 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-06 14:41:57 +00:00
John Crispin 5a24f85217 swconfig: fix build with linux 4.0
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-06 07:57:03 +00:00
John Crispin ee74764811 ipq806x: rename patches in patches-3.18
This will allow ipq806x to support multiple kernel version more easily.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-06 07:56:58 +00:00
John Crispin 63a4e80380 kernel: move KERNFS to generic config
KERNFS symbol is selected by SYSFS, so place it in generic config.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44615 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-06 07:56:47 +00:00
John Crispin a585342d28 kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED
Disable ARCH_NEEDS_CPU_IDLE_COUPLED by-default in generic config, since
only one platfrom (omap) needs them.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-06 07:56:34 +00:00
John Crispin 916b239f7e kernel: disbale HAMRADIO in generic config
HAMRADIO enabled in all generic configs, but no one platform directly
use related drivers/protocols. This symbol is only used for kmod-ax25
package modules. Furthermore, half of platforms explicitly disables
this symbol, what silently disables build of modules for kmod-ax25
package.

So disable HAMRADIO by-default in generic config, add it to kmod-ax25
package and remove it from platform specific configs.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-06 07:56:21 +00:00
John Crispin a739348da2 kernel: move MTD_SPLIT_SUPPORT to generic config
CONFIG_MTD_SPLIT_SUPPORT symbol default value is 'y' and many platform
specific configs explicitly enables it, while no one platform disables
this symbol. So place it in generic config and remove from platform
specific configs.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44612 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-06 07:56:08 +00:00
John Crispin 7b4702d275 kernel: remove GENERIC_NET_UTILS from platform configs
CONFIG_GENERIC_NET_UTILS is selected by CONFIG_NET and already enabled
in generic config, so we don't need this symbol in platform specific
configurations.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44611 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-06 07:55:57 +00:00
Luka Perkov 90fe39fa8b kirkwood: drop support for 3.14
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-05 23:43:27 +00:00
Luka Perkov def467318a kirkwood: switch to 3.18
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44609 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-05 23:43:24 +00:00
Luka Perkov 14714ca5bb generic: add CONFIG_FW_LOADER_USER_HELPER symbol
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-05 23:43:21 +00:00
John Crispin d7a6866ce0 at91: add SAMA5D3-Xplained board UBI parameters to makefile.
Signed-off-by: Songjun Wu <songjun.wu@atmel.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-05 20:24:57 +00:00
John Crispin cd18aa747d brcm2708: add another missing symbol
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44601 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-05 20:24:39 +00:00
John Crispin 964819fe04 generic: add USB_DWC2 missing symbols
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44600 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-05 20:24:33 +00:00
John Crispin 726714d719 generic: add missing symbols for 4.0
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-05 20:24:28 +00:00
Rafał Miłecki 0d1eaa903d kernel: backport bcma changes to 3.19 and 4.0
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-04 07:08:39 +00:00
Rafał Miłecki 599bab39a8 bcm53xx: switch to IRQ buttons (keys)
Now bcma provides IRQ domain we don't have to poll anymore.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-03 23:15:55 +00:00
Rafał Miłecki 4b2f752391 kernel/mac80211: backport bcma changes from 4.1
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-03 23:15:49 +00:00
Jonas Gorski bd24326bdd generic: upgrade to 3.14.34
Fixes several issues in the network stack.

Full changelog:
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.14.33
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.14.34

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44594 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-03 14:39:52 +00:00
Jonas Gorski cdd4c27ac6 generic: upgrade to 3.18.8
Fixes several issues in the network stack.

Full changelog:
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.8

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44593 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-03 14:39:49 +00:00
Felix Fietkau b4f4cb29ec kernel: revert a broken chunk in the mips module reloc patch fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44592 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-02 20:33:02 +00:00
Felix Fietkau 87059ddca3 kernel: fix the mips module relocation patch for 3.19+
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44590 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-02 04:42:17 +00:00
Rafał Miłecki d8907a1270 adm5120: switch kernel to 3.18
Tested by Jonas on WP54g, thank you!

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-01 16:24:15 +00:00
Rafał Miłecki da203f3808 adm5120: enable low_mem
Most devices have only 16 MiB of RAM, this will allow them to boot
without OOM.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-01 16:24:11 +00:00
Lars-Peter Clausen 7a71819002 xburst: Remove n516, n526 and id800wt subtargets
The driver code for supporting these subtargets was already removed a while ago,
so
the current images wont actually boot.

It is also quite unlikely that there are any users of them at this point, so
remove them.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44586 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-01 15:56:43 +00:00
Jonas Gorski 6aa7547252 brcm47xx, brcm63xx: disable CONFIG_MIPS_O32_FP64_SUPPORT
The flag is experimental and requires toolchain support, which we don't
provide. Also neither target has an FPU so it becomes meaningless
without the FPU emulator enabled.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44584 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-01 11:37:18 +00:00
Jonas Gorski 11b489f8a1 kernel: move CONFIG_MIPS_O32_FP64_SUPPORT to generic configs
Most MIPS targets have it disabled, so move the symbol to the generic
configs to keep target configs small.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44583 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-01 11:37:15 +00:00
Jonas Gorski d99c41fc04 brcm63xx: prefer gpio-button-hotplug over button-hotplug
Saves us pulling in the input system, shaving off a few kb from image
sizes.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44582 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-01 11:37:06 +00:00
Rafał Miłecki 167abc3a96 adm5120: use subtarget configs for all kernels
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44581 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-01 00:01:33 +00:00
Rafał Miłecki 7140ca235c adm5120: add 3.18 support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44580 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-28 23:39:14 +00:00
Rafał Miłecki 4269bcdf04 ep93xx: add 3.18 support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44579 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-28 22:46:42 +00:00
Rafał Miłecki 4162d6bf3c mpc52xx: add 3.18 config
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44578 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-28 20:53:55 +00:00
Jonas Gorski d9219349e2 brcm63xx: fix DTS LEDs and buttons
- A4001N/A4001N1: fix swapped green and red LEDs
- CVG834G: add missing LED
- RTA1320: reorder LEDs by GPIO#
- V2500V: add missing LEDs and buttons
- WAP-5813n: fix WPS button (GPIO 35)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44577 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-28 19:59:50 +00:00
Jonas Gorski 0dbd48d3ca brcm63xx: fix ethernet breakage in 3.18
Linux commit d75b1ade567ffab ("net: less interrupt masking in NAPI")
chose the samantics of the napi poll return value, which caused napi to
not resume interrups/polling anymore.

Fix the return value to restore expected behaviour.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44576 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-28 19:59:46 +00:00
Jonas Gorski 479b835df8 brcm63xx: fix BCM63268 interrupt register locations for legacy probe
Legacy probe passed the IRQSTAT registers instead of the IRQMASK
registers causing all register accesses to be offset by 16 bytes.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44575 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-28 19:59:34 +00:00
Jonas Gorski cd2b8886d9 brcm63xx: fix gpio register usage
The driver expected data then dir, but both dts and legacy code passed
dir then data. Fix this by making the driver expect the registers in
ascending order, i.e. dir then data.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44574 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-28 19:59:26 +00:00
Rafał Miłecki a398026d16 mpc83xx: start work on 3.18 support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-28 18:15:59 +00:00
Rafał Miłecki 9f85ea99c0 omap: complete 3.18 support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-28 14:56:53 +00:00
Rafał Miłecki d7df240542 omap: start working on 3.18 support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-28 13:54:51 +00:00
Jonas Gorski a231c4ed45 brcm63xx: backport and enable DT spi-gpio no CS support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-27 23:48:48 +00:00
Jonas Gorski 48fa0c4ca1 brcm63xx: fix image generation and broken patch
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-27 23:48:32 +00:00
Jonas Gorski aa4d5abef0 b53: fix mmap register read/writes > 32 bit
For bcm63xx integrated switches, broadcom changed the data endianess
to match the system endianess. But this only applies to within one word,
which causes 48/64 bit values to be still split into their "litte endian"
groups.

E.g. 48 bit values (with 5 being the most significant byte) aligned

0x00 ..01  or   0123
0x04 2345       45..

will become

0x00 ..10 resp. 3210
0x04 5432       54..

Likewise for 64 bit values.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-27 17:40:17 +00:00
Jonas Gorski c5696515d1 brcm63xx: remove gpio base workaround
Now that all gpio users without named gpios use DT, we do not need
to fix the gpio controller bases anymore.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-27 17:40:09 +00:00
Jonas Gorski 2c0570fc01 brcm63xx: move buttons and leds to dts files
Register buttons and leds through DT for all available dts,
and remove them from the board files.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: remove leds/buttons from board files
       fix wrong led polarities for dsl-274xb-c2, cpva642, p870hw
       comment out spi-gpio and associated leds]

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-27 17:40:04 +00:00
Jonas Gorski 5b8524b03d brcm63xx: probe gpio controllers through DT
Add a generic mmio gpio controller based driver and probe it
through device tree.

Use aliases for base calculation until we converted all users to
device tree or named gpios.

Convert bcm63xx_enet's ephy-reset gpio to use a named gpio.

While at it, remove the duplicate reset gpio defintion for livebox.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-27 17:39:49 +00:00
Jonas Gorski 3c7cb10dba brcm63xx: convert BTV2500V to dts
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-27 17:39:29 +00:00
Jonas Gorski e26e12a77e brcm63xx: convert RTA1320 to dts
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44563 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-27 17:39:21 +00:00
Jonas Gorski b9c744ad50 brcm63xx: convert RTA1025 to dts
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44562 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-27 17:39:13 +00:00
Jonas Gorski 36ce877190 brcm63xx: use dtb for cvg834g
Add a dtsi for bcm3368, add a dts and profile for cvg834g, and convert
it to use ImageDTB. Since HCS requires more arguments, enhance the max
arguments of the call.
The image name is intentionally left blank to prevent non-initramfs
images to be built, as they currently contain no rootfs and consequently
won't work.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44561 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-27 17:39:07 +00:00
Jonas Gorski 84d3d8799f brcm63xx: image: move image argument to front in *DTB calls
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44560 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-27 17:38:51 +00:00
Jonas Gorski 07e83d3b46 brcm63xx: add dts and profile for Livebox
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44559 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-27 17:38:46 +00:00
Jonas Gorski 6dd3d668ae brcm63xx: allow lzma to use 32MB RAM
Most 16 MiB RAM devices don't even load elf kernels, so it's safe to
assume we have at least 32 MB RAM. This fixes tftp booting with the
default package set as this already produces an uncompressed
kernel > 8 MiB.

New limit is 8 MiB compressed / 24 MiB compressed.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44558 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-27 17:38:28 +00:00
Jonas Gorski 02ce1ebb75 package: mtd: move bcm963xx_tag definition into source code
Remove the need for the header file to be exported - we don't need most
of it anyway; all we care about are the offset of the rootfs length and
header crc fields.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-27 17:38:25 +00:00
Jonas Gorski 646c36ca82 brcm63xx: do not align squashfs rootfs start
We do not need to align the start of read only rootfs's to erase blocks.
This allows us to write the squashfs rootfs directly behind the kernel,
potentially freeing up one erase block.

We still need to align for jffs2, so add a flag for imagetag to
optionally align the rootfs start.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-27 17:38:14 +00:00
Jonas Gorski c204c43a65 brcm63xx: drop call to prepare_generic_squashfs
We do not use the result, so no need to call it.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44555 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-27 17:38:09 +00:00
Felix Fietkau 0b431d14b6 kernel: fix 3.18+ if_bridge.h header conflict with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-27 07:35:26 +00:00
Imre Kaloz aba8ca6df2 generic/4.0: refresh patches
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44532 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-24 18:53:14 +00:00
Imre Kaloz 6ebdada8c7 generic/4.0: drop patches applied upstream
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-24 18:35:17 +00:00
Imre Kaloz 2ba496cac4 generic/4.0: drop 3.18 specifix dwc2 backport
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44530 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-24 18:30:16 +00:00
Imre Kaloz 1d512fb9d5 generic/4.0: the ubi patches has been fixed in the 3.19 patchset already
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44529 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-24 18:27:49 +00:00
John Crispin dd451bf9d6 ar71xx: refresh patches
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44528 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-24 12:01:08 +00:00
John Crispin a72491c864 ar71xx: Add QCA953X version2 SoC support
http://patchwork.ozlabs.org/patch/435234/

Signed-off-by: 郭传鈜 <gch981213@gmail.com>
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44527 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-24 12:01:00 +00:00
John Crispin 48fe4e99f2 ar71xx: TL-WA7210n v2 support
This patch adds support for TP-Link TL-WA7210n[0]

[0] http://www.tplink.com/en/products/details/?model=TL-WA7210N

Signed-off-by: Hendrik Frenzel <hfrenzel@scunc.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44526 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-24 12:00:50 +00:00
John Crispin 23193222d4 ipq806x: add ahci to default packages
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44525 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-24 12:00:22 +00:00
John Crispin 9ef5d85054 ipq806x: add default package selection
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44523 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-24 12:00:09 +00:00
John Crispin 5b71c599e2 ipq806x: initialize the network on AP148
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44522 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-24 12:00:04 +00:00
John Crispin ab28cee016 ipq806x: enable GMAC support in DTS
This adds the GMAC entries in the ipq806x dtsi file as well as in the
ap148 specific dts file.

This also adds the MDIO change as well.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44520 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-24 11:59:51 +00:00
John Crispin 1457cdbf2c ipq806x: enable ar8xxx switch family support
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44519 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-24 11:59:47 +00:00
John Crispin b36096edfb ipq806x: fix spi read issues observed with SMP enabled
This change is fixing the issues observed when booting from NOR flash
with SMP enabled.

Error logs below:
building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of
xref (0 dead, 0 orphan) found.
m25p80 spi32766.0: SPI transfer failed: -110
spi_master spi32766: failed to transfer one message from queue
jffs2: Write of 873 bytes at 0x019001e8 failed. returned 0, retlen 792

Patch is cherry-picked from here:
https://www.codeaurora.org/cgit/quic/qsdk/oss/kernel/linux-msm/commit/drivers/spi/spi-qup.c?h=coconut_20140924&id=4faba89e3ffbb1c5f6232651375b9b3212b50f02

More details in the patch file.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-24 11:59:41 +00:00
John Crispin 92598be50f mpc85xx: add 3.19 support
It took very little to make the TL-WDR4900 work under 3.19:
- config is the same as for 3.18
- only patch 210 had to be refreshed, the other patches are
  the same as for 3.18
- in /etc/config/wireless the path options need to be prefixed
  with "platform/" ('platform/ffe09000.pci/...')

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-24 11:59:35 +00:00
Rafał Miłecki b5cd4751e7 generic: fix 050-backport_netfilter_rtcache.patch
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-24 06:40:37 +00:00
Felix Fietkau 1da30a6e6a x86: remove spurious delete of /etc/config/network
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-24 06:07:40 +00:00
Rafał Miłecki 8f979de5a1 generic: early (incomplete!) 4.0 support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-23 22:59:53 +00:00
Imre Kaloz 9ea776fdf5 mvebu: set default WRT1900AC switch config
This sets 'enable_vlan' and thus uses 802.1q
VLANs, but without tagging on either interface.
 
Signed-off-by: Claudio Leite <leitec@staticky.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-23 10:35:29 +00:00
Imre Kaloz 42bd368fe8 mvebu: set WRT1900AC WAN interface MAC address
Toggles the LA bit on the WAN interface.
 
Signed-off-by: Claudio Leite <leitec@staticky.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-23 10:33:19 +00:00
John Crispin a913b333ad ipq806x: delete config-3.14 file
ipq806x target has been upgraded to 3.14. There is no need to maintain
this file anymore.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44505 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-22 08:29:18 +00:00
John Crispin f597b456c7 ipq806x: fix "reboot" command
The watchdog driver already registers a restart notifier, we just have
to enable it in the config and in the DT to fix the "reboot" command.

This is done by integratin the following patch-set:
https://lkml.org/lkml/2015/2/20/610

I'm copy-pasting the description below:
qcom-wdt is currently assuming the presence of a dedicated node in DT
to gets its configuration. However, on msm architecture, the watchdog is
usually part of the timer block. So this patch-set is changing the driver
and slightly enhancing the timer DT bindings to provide the relevant clocks
and interrupts.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-22 08:29:14 +00:00
John Crispin c2a0f4325c ipq806x: enable watchdog kernel option
Some bootloaders seem to trigger the watchdog during the boot process,
therefore the lack of watchdog driver trigger a reboot a few seconds
after boot. So we'll enable it here to avoid it.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-22 08:29:07 +00:00
John Crispin f673d83a3d kernel: Fix USB gadget modules for v3.18
Updated patch that fixes whitespace and supports kernel v3.3 too.

Signed-off-by: Owen Kirby <osk@exegin.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44502 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-22 08:29:01 +00:00
John Crispin e579d8a69a mpc85xx: add mpic timer clock frequency to avoid boot log warning
MPIC timers are enabled in the config, however a devicetree clock setting
is missing causing the following error:
/soc@ffe00000/timer@41100: cannot get timer frequency.
/soc@ffe00000/timer@42100: cannot get timer frequency.

This patch adds the missing clock and avoids the error.
It's a functional copy of this code
do_fixup_by_compat_u32(blob, "fsl,mpic",
        "clock-frequency", get_bus_freq(0), 1);
in arch/powerpc/cpu/mpc85xx/fdt.c in the u-boot code.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-22 08:28:48 +00:00
John Crispin 1c6f92db45 ramips: rt288x: add missing symbol
Defaulting to disabled, based on the value of
the (old?) CONFIG_RALINK_USBPHY

Signed-off-by: Claudio Leite <leitec@staticky.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44500 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-22 08:28:42 +00:00
John Crispin 75d7067c34 ramips: nexx wt3020: fix status led
For Nexx WT3020 board_name is wt3020, not nexx-wt3020

root@OpenWrt:~# . /lib/ramips.sh; echo $(ramips_board_name)
wt3020

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-22 08:28:35 +00:00
Rafał Miłecki a304daee1f bcm53xx: add one more NVRAM possible size (0x180000)
Size 0x160000 was added to support Buffalo WZR-600DHP2, however Netgear
devices (R6250, R8000) require 0x180000.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44497 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-20 07:07:53 +00:00
John Crispin 203ff72a6f mpc85xx: set v3.18 as default
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44496 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-19 14:30:03 +00:00
John Crispin 0b743d302b ralink: bump to v3.18
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-19 14:04:47 +00:00
John Crispin ca5bbee247 ramips: fix the mt7628 dts file
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-19 14:04:41 +00:00
John Crispin 0e2d6ea8c8 at91: Add dts for Exegin Q5x boards.
Signed-off-by: Owen Kirby <osk@exegin.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-19 09:07:06 +00:00
John Crispin 8c120014c1 at91: USB gadget subsystem cleanup and driver fix.
Signed-off-by: Owen Kirby <osk@exegin.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-19 09:06:56 +00:00
John Crispin 7f98a7666b at91: Enable power and reset controller drivers.
Signed-off-by: Owen Kirby <osk@exegin.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44490 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-19 09:06:49 +00:00
John Crispin b77e03c4bf at91: bump to v3.18
Signed-off-by: Your Name <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44489 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-18 13:35:46 +00:00
John Crispin f7a684bcfc au1000: fix 3.18 and set it as default
Thanks to Bruno Randolf for testing and Manuel Lauss for providing a fix.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44487 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-18 09:49:38 +00:00
Jo-Philipp Wich eb2b29b2e5 ar71xx: fix 82_patch_ath10k
The firware md5sum check never worked due to missing dollar signs.

Also suppress
  `md5sum: can't open '/lib/firmware/ath10k/QCA988X/hw2.0/firmware-3.bin'`
error on any board not using ath10k.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44486 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-17 21:26:39 +00:00
John Crispin 5ea6da2c71 mpc85xx: add v3.18 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44485 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-17 20:28:36 +00:00
John Crispin dab430782e ar71xx: make v3.18 default
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44482 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-17 14:33:29 +00:00
John Crispin bddb1bb6d1 kernel: re-enable the firmware loader
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44481 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-17 14:33:13 +00:00
John Crispin 6b1d5b906c ramips: Buffalo WZR-AGL300NH target support
I got work with this patch.
Ethernet switch (includes VLAN), WiFi connected via PCIe, LEDs, buttons.

In mtd partion map of DTS file, I renamed Linux firmware regions (kernel + root squashfs) to “firmware”because it allows kernel to split kernel and roots and rootfsdata.

signed-off-by: ngc@ff.iij4u.or.jp
——
——

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44470 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-16 21:19:18 +00:00
John Crispin 2cb7799ed4 ramips: enables rt288x PCIe
To choose whether bulid or not RT288x PCIe bus driver, CONFIG_SOC_RT2880 is wrong.
Here is its fix, and enables PCIe bus driver for some targets which have 2nd WiFi chipset via PCIe bus.

signed-off-by: ngc@ff.iij4u.or.jp
————
————

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44469 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-16 21:18:59 +00:00
John Crispin 26a11009a0 oxnas: fix itb generation
- according to imx6 Makefile and u-Boot documentation is itb
  and probably should not be changed
- this fixes build error if CONFIG_TARGET_ROOTFS_INCLUDE_FIT is set
  (missing .itb file)
- use DTS_DIR (like in imx6 Makefile)

only compile tested

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Acked-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44468 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-16 21:18:48 +00:00
Rafał Miłecki 79a54d53cc bcm53xx: include kmod-brcmfmac in default profile
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-16 19:51:21 +00:00
Rafał Miłecki 786b97003a bcm53xx: sprom: extract for PCI host
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44464 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-16 16:13:23 +00:00
Rafał Miłecki 17dc7e0fde bcm53xx: sprom: prepare to support other hosttype-s
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-16 16:10:05 +00:00
Imre Kaloz 5fa26ab96a mvebu: refresh 3.18 patches
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-16 12:48:05 +00:00
John Crispin 2f485e8c6a ar71xx: fix mv88e6063 compile for 3.14
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-15 21:15:42 +00:00
John Crispin 454c7914ba ar71xx: fix a compile bug in 902-unaligned_access_hacks.patch
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-15 21:15:21 +00:00
John Crispin c77c54e684 ar71xx: add v3.18 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-15 19:45:29 +00:00
Imre Kaloz beb7f2ac7b mvebu: fix WRT1900AC ubinized images
The current pxa3xx_nand driver doesn't support sub-page writing,
so the VID header offset must be specified explicitly.
 
Signed-off-by: Claudio Leite <leitec@staticky.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-14 22:18:35 +00:00
John Crispin 823ac639ed ralink: fix the config files
oops, accidently moved instead of copied them

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-14 20:48:53 +00:00
John Crispin 00f2f294d0 ar71xx: ZyXEL NBG6716 rfkill switch fix
ZyXEL NBG6716 "rfkill" is a switch, not a button.

Signed-off-by: Marcin Mikolajczak <gr4ffy at gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-14 20:48:42 +00:00
John Crispin 973f88e0d5 lantiq: disable buffered writes on Intel command set flash
Some Lantiq SoCs are not able to use buffered writes properly with
Intel command set flash due to the way NOR addresses on EBU are
manipulated. This patch disables buffered writes on those devices.
The only device affected at the moment is ARV4510PW, others use
AMD/Fujitsu command set.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-14 20:48:32 +00:00
John Crispin 92219e2626 lantiq: Fix flash for targets with NO_XIP
For targets with NO_XIP ltq_mtd->map[i].phys equals -1 and devm_ioremap fails.
Fix this by using pdev->resource[i].start instead.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-14 20:48:26 +00:00
John Crispin 066c67fc96 brcm2708: add kmod-hwmon-bcm2835 support and more missing symbols
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44449 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-14 20:48:20 +00:00
John Crispin f08b157a49 brcm2708: force uart as the default console for procd and remove nonexistent console
procd gets last console from cmdline, so swapping tty1 (framebuffer) and ttyAMA0 (uart) is enough to force procd output via uart

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44448 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-14 20:48:14 +00:00
John Crispin ea8a989f3d brcm2708: add board detection and LED support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-14 20:48:08 +00:00
Nicolas Thill 7dffd1e756 generic: ocf: irq compat stuff is not needed anymore
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-14 13:53:44 +00:00
Imre Kaloz 9f5845114a generic: upgrade to 3.18.7
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-14 10:45:12 +00:00
John Crispin 1c8c37a44a ixp4xx: fix gpio_line_set() logic, fixes #18986
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-13 10:54:01 +00:00
John Crispin 22f958e63d brcm2708: fix spidev
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-13 07:38:33 +00:00
John Crispin 50a4aa688b brcm2708: refresh patches
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-13 07:38:27 +00:00
John Crispin db3443e895 brcm2708: add missing config symbols and fix kernel modules for Raspberry Pi 2 by removing local version
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-13 07:38:00 +00:00
John Crispin ad5e0a5732 brcm2708: add subtarget copyright and use better board names
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44431 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-13 07:37:55 +00:00
John Crispin fe256e1ab3 ar7: switch to v3.18
Thank you Dimitri for testing this.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44430 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-13 07:29:32 +00:00
John Crispin d80c40d132 generic: improve kexec support of MIPS.
- Allow --command-line parameters of kexec-tools be parsed and used by
   the kernel.
 - For malta machine, mark kernel code and kernel data segments as
   "System RAM" instead of "reserved" in /proc/iomem, otherwise
   kexec-tools will complain that program segments in ELF kernel file
   are invalid.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44429 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-13 07:29:25 +00:00
John Crispin d0daa2af6e lantiq: fix DGN3500 root device
Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44428 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-13 07:29:17 +00:00
John Crispin 81ec62aa17 ar71xx: Add profile and build image for TP-Link MR12U v1
This patch adds corrected profile and build image for the TL-MR12U board.

Unfortunately i cannot test the factory image since i can't find anywhere
the original chinese firmware but
the generated openwrt-ar71xx-generic-tl-mr12u-v1-squashfs-sysupgrade.bin
worked just fine over a modified mr3040 factory image i managed to modify
to initially flash the mr12u from the original firmware.

Proper kernel support probably should be added since cat /proc/cpuinfo shows
MR13U.

Signed-off-by: Daniel Petre <daniel.petre@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-13 07:29:10 +00:00
John Crispin 5f00ace3c2 ar71xx: Add user-space support for TP-Link MR12U v1
This patch adds user-space support for the TL-MR12U board based on the mr13u patches.

Signed-off-by: Daniel Petre <daniel.petre@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44426 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-13 07:29:03 +00:00
John Crispin 9d5f884a09 ar71xx: ZyXEL NBG6716 add gpio usb power on/off
ZyXEL NBG6716 add missing GPIO USB power on/off

Signed-off-by: Marcin Mikolajczak <gr4ffy at gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44425 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-13 07:28:53 +00:00
Rafał Miłecki 1ac4c84366 kernel: mtdsplit_uimage: fix passed info about buf size
We obviously can't use sizeof(*buf) which is always 1.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44424 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-12 20:13:20 +00:00
Nicolas Thill d6aea3e300 sunxi: A20-OLinuXino-Lime profile rename leftover
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-12 17:30:09 +00:00
Luka Perkov d14e600447 kirkwood: Seagate GoFlex Net
Add GoFlex Net "Board Name" , set and cleanup network default and LEDs.
Remove kmod-rtc-marvell from default packages, as the GoFlex net does not have a RTC.

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44422 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-12 14:39:26 +00:00
John Crispin 153c8f3cc4 lantiq: make m25p80 work again
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44421 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-12 11:15:56 +00:00
John Crispin 7030ba8193 lantiq: fix mac addr assignment inside lantiq_etop
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44420 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-12 09:17:04 +00:00
John Crispin 13792e950d lantiq: PCI should be enabled on vrx200
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44419 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-12 08:23:45 +00:00
John Crispin 2c0606abdd ralink: make the mt7621 irq core with with the new CM api
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-12 08:07:39 +00:00
John Crispin b3ac3aa41b ar71xx: ZyXEL NBG6716 led/buttons cleanup
ZyXEL NBG6716 led/buttons cleanup
 - improper numbered leds
 - improper named buttons

Signed-off-by: Marcin Mikolajczak <gr4ffy at gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44417 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-12 08:07:27 +00:00
John Crispin 3a3ffe7608 generic: fix broken patch in the transition of 3.19 from -rc5 to release .0
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44416 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-12 08:07:20 +00:00
Rafał Miłecki 5254ae9391 kernel: mtdsplit_uimage: read more data to match Edimax needs
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-12 07:50:07 +00:00
Rafał Miłecki 02c8dea914 kernel: mtdsplit_uimage: use separated buffer for reading data
We shouldn't read data directly into the header struct, as some devices
(e.g. Edimax) need more bytes due to some extra header.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-12 07:44:34 +00:00
Rafał Miłecki 8f970a79ae kernel: mtdsplit_uimage: add parser for Edimax devices
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-12 07:23:40 +00:00
Rafał Miłecki f43fbf2496 mtdsplit_uimage: more generic header verify function
Some devices have uImage headers after some extra headers (e.g. Edimax
devices). To support such cases our verify callback function should be
allowed to return header offset, not just a boolean value.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44412 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-12 06:57:24 +00:00
Rafał Miłecki e0ec46ed4d kernel: fix bgmac check for chip ID
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 18:11:22 +00:00
Rafał Miłecki c419d3be12 kernel: backport mainlined bgmac patches from 3.19
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 17:35:09 +00:00
Rafał Miłecki 612979e8a2 bcm53xx: use bcm47xx_wdt for restarting device
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 14:41:07 +00:00
John Crispin 2223adbca6 oxnas: disable usbgadget support
usbgadget was initially enabled in the hope to support gadget mode
as it seems to be supported by the hardware.
However, it currently breaks things and doesn't work anyway, so
remove the usbgadget feature.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 13:50:56 +00:00
John Crispin 0aaa091ab7 brcm2708: add missing SUBTARGETS:= to makefile
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44405 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 13:09:39 +00:00
John Crispin 426e02f644 brcm2708: remove CMA_DEBUG
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44404 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 13:05:37 +00:00
John Crispin 538dfa3b73 brcm2708: add Raspberry Pi 2 support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 13:05:31 +00:00
John Crispin 16ab7bb96a brcm2708: remove 3.14 support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44402 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 13:05:23 +00:00
John Crispin 6343ae89b9 ralink: fix when tx done is 0 also need to clean interrupt status
Signed-off-by: michael lee <igvtee@gmail.com>
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 13:05:14 +00:00
Nicolas Thill 1c566e516e ramips/mt7620: add missing config symbol
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44399 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 12:13:49 +00:00
John Crispin 41a381c7bf cns3xxx: set v3.18 as default
tested on a nor and a spi laguna

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 10:21:02 +00:00
John Crispin c291f76d24 brcm2708: update to v3.18
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44392 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 10:17:55 +00:00
John Crispin 0e26998162 lantiq: fix VG3503J partition table for newer kernels
the kernel has increased and does not fit into the 1,5MB anymore.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44391 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 10:17:38 +00:00
Rafał Miłecki a530948b3a bcm53xx: backport bcm47xx_wdt changes to 3.18 to use this driver in future
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 10:11:00 +00:00
John Crispin f56c0acefb malta: add config file for kernel 3.19.
This is based on config-3.18 with the following changes.

 - CONFIG_GENERIC_NET_UTILS is removed as it is already set in generic
   kernel config.
 - CONFIG_CPU_MICROMIPS is explicitly unset as required in kernel 3.19.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44388 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 10:09:56 +00:00
John Crispin 19eae342a8 generic: add a few missing symbols for generic config-3.19.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44387 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 10:09:40 +00:00
John Crispin 74dc0649ff ipq806x: update target to v3.18
Patches in the ipq806x/patches folder were out of tree in v3.14. The
newest patch at the time was from June, so we can safely assume that
either the patches have been merged, or they have been rejected for
a good reason. If patches are seen missing, we'll cherry-pick them
on a per-needed basis.

This new kernel have been tested on AP148, which seems to works fine.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44386 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 10:09:23 +00:00
Rafał Miłecki 32c88d568c kernel: backport bcma patches queued for 3.20
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44385 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 10:04:51 +00:00
Rafał Miłecki 36a9f3bb69 kernel: 3.18: complete backport of some bcma patch
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 09:14:48 +00:00
Rafał Miłecki ea56e056dd bcm53xx: drop unused (and broken) GPIOLIB patch
First of all this patch was broken since adding 3.18 for bcm53xx. It was
modifying ARCH_BRCMSTB instead of ARCH_BCM_5301X.
Secondly we don't need it as ARCH_MULTIPLATFORM selects
ARCH_WANT_OPTIONAL_GPIOLIB for us.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 08:42:34 +00:00
Luka Perkov d303640263 kernel: switch 3.19 from -rc5 to release .0
Signed-off-by: Luka Perkov <luka@openwrt.org>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44381 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-10 22:36:59 +00:00
John Crispin 7ab21cefc3 ar71xx: add mc-mac1200r to do_load_ath10k_board_bin()
This patch adds the mc-mac1200r target to do_load_ath10k_board_bin() in
target/linux/ar71xx/base-files/lib/preinit/81_load_ath10k_board_bin to load the
ath10k radio MAC address from the EEPROM in MERCURY MAC1200R devices

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44375 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-10 05:52:53 +00:00
John Crispin 9b7ced4b3c oxnas: switch to 3.18
Tested on stg212 and kd20.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44374 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-10 05:52:48 +00:00
John Crispin 3c1e342321 kernel: add missing symbol
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44373 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-10 05:52:41 +00:00
John Crispin d8e190575f ralink: fix hw status almost full not work on mt7620 and mt7621
the old FE_INT_STATUS register becomes two registers.
FE_INT_STATUS and INT_STATUS. so the hw status almost full
must change to read from FE_INT_STATUS register.
tx/rx done read from INT_STATUS register.

mt7620 datasheet define CNT_GDM1_AF at BIT(29).
but after test it should be BIT(13). why?

Signed-off-by: michael lee <igvtee@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44371 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 19:34:49 +00:00
John Crispin 52a82a73ae ralink: change rt3883 cpu type to 74kc
Signed-off-by: michael lee <igvtee@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44370 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 19:34:32 +00:00
John Crispin 02fca733fa realview: r44368 contained a superflous patch
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44369 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 19:28:34 +00:00
John Crispin ad8d05b39d realview: bump to 3.18
Signed-off-by: Your Name <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44368 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 19:24:48 +00:00
Rafał Miłecki a59727e3b8 bcm53xx: fix loading SPROM content by bcma init change
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 18:43:05 +00:00
John Crispin 66b84f777a ixp4xx: add v3.18 support
Signed-off-by: Your Name <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44363 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 14:24:00 +00:00
John Crispin 63c8a7fd9a ar71xx: dir-505: fix reset button gpio active_low value
Fix 'active_low' default value for the reset button on DIR-505.

Signed-off-by: Rocco Folino <rocco@devzen.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44360 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 12:17:00 +00:00
John Crispin 9175d22cef ar71xx: Add support for MERCURY MAC1200R
This patch adds support for MERCURY MAC1200R, a dual band 802.11bgn + 802.11ac
router based on the AR9344, with QCA988x ath10k radio and 5 Fast Ethernet ports

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44359 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 12:16:51 +00:00
John Crispin 8cf4e3ee96 ar71xx: fix nbg6716 power and usb led
Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Marcin Mikolajczak <gr4ffy@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 12:16:43 +00:00
John Crispin 969192c483 oxnas: copy ubinized images to binary folder
Since r43778 ubinized images are stored inside KDIR. This makes sense
when using an uninized image to generate a factory image.
On oxnas ubinized images were used for sysupgrade before proper NAND
support was implemented in OpenWrt.
For users still on old builds before sysupgrade.tar was introduced,
ubinized image is thus the only option to conveniantly upgrade to a
more recent build.
Copy ubinized image also to BIN_DIR, so it will be easier for users
to find them.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44357 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 12:16:04 +00:00
John Crispin 0bc1bc845f ramips: Kingston MLW221 and MLWG2 cleanup
MLW221 dts use tabs NOT spaces.
MLWG2 dts typo and 1 tab not spaces
01_leds and diag.sh cleanup

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 12:15:45 +00:00
John Crispin 8caac7cc7f ramips: fix mt76 radio pcie location definition for in Xiaomi MiWiFi Mini
This patch sets the correct location of the mt76 radio in the pcie bridge
(pcie-bridge instead of pcie0). Additionaly, it disables the 2.4 GHz band.

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44355 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 12:15:17 +00:00
John Crispin 9ef1cce117 ramips: Add mt76 node for Lenovo Y1 and Y1S.
Both Y1 and Y1S have MT7612E wireless chip so I submitted this patch.
Tested on Lenovo Y1.

Signed-off-by: 郭传鈜 <gch981213@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44354 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 12:15:00 +00:00
John Crispin 6fb0defebb lantiq: td-w8970: fix failsafe mode
Fix failsafe mode for TD-W8970, register interface for preinit.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 12:14:48 +00:00
John Crispin 471d279dcb lantiq: td-w8970: fix reset button
For TP-LINK TD-W8970 button should work as "reset", not "BTN_1".

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44352 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 12:14:32 +00:00
John Crispin 53da6fdef2 octeon: switch to 3.18
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44350 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 12:14:09 +00:00
John Crispin d7139c52f2 ralink: add 3.18 support
keep default as 3.14, mt7621 gic need to be ported to 3.18

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44349 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 12:13:55 +00:00
John Crispin d09e8adc85 lantiq: add 3.18 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44348 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 12:13:25 +00:00
John Crispin d3c5997add au1000: add 3.18 support
this is only compile tested

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 12:12:39 +00:00
John Crispin 90a6b535b3 ar7: add 3.18 support
this is only compile tested

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44344 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 12:12:30 +00:00
John Crispin a033d44322 malta: drop 3.10 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44342 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 12:11:34 +00:00
John Crispin dca763211c malta: disable 64 builds as the userland has been broken for ages
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44341 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 12:11:28 +00:00
John Crispin adb7f002da malta: add 3.18 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44340 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 12:11:19 +00:00
John Crispin 4d12e544b8 kernel: copy mips_decompressor_memmove patch to 3.18/3.19
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44339 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 12:10:46 +00:00
John Crispin 247ab2bfb3 kernel: add missing symbols
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 12:10:18 +00:00
John Crispin 237b0069dc kernel: fix compile error inside adm6996.c
drivers/net/phy/adm6996.c:881:5: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'u32' [-Wformat=]

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44333 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 12:09:17 +00:00
Jo-Philipp Wich 6de2899e7d sdk: use prepare target to initialize git snapshot
The new approach is less prone to race conditions and will properly
snapshot the symlinks prepared by the prereq-build target.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44330 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-08 22:54:27 +00:00
Luka Perkov c48a26ef7e ramips: fix patches after 3.14.32 bump
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44324 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-08 15:42:42 +00:00
Nicolas Thill 019f3dfb70 linux/generic: add missing config symbols
Related to debug/tracing, only added to 3.14+, might be needed for older versions as well

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-08 15:34:20 +00:00
Nicolas Thill 2348f5b7ec linux/sunxi: rename A20-OLinuXino-Lime profile
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44322 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-08 15:34:13 +00:00
Luka Perkov f3421a0d98 x86: refresh kernel config
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44321 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-08 15:31:25 +00:00
Luka Perkov 379d2b7f95 lantiq: fix patches after 3.14.32 bump
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44320 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-08 15:09:45 +00:00
Luka Perkov 206aa3837f kirkwood: refresh kernel config
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44319 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-08 12:01:39 +00:00
Luka Perkov 5fb250390c kernel: update 3.18 to 3.18.6
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44318 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-08 12:01:37 +00:00
Jo-Philipp Wich 67ab756cce x86: declare missing kernel symbols
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44316 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-07 21:26:20 +00:00
Luka Perkov 86fd920e0f ar71xx: ubnt: move new board patches into one
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-07 21:11:06 +00:00
Luka Perkov 6f611e41a8 ar71xx: rb2011: apply patch to file
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-07 21:10:51 +00:00
Jo-Philipp Wich c6241cff96 imagebuilder: align filename with SDK
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44313 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-07 21:01:48 +00:00
Jo-Philipp Wich 40a1c33145 sdk: rename file to mention target/subtarget and move host system to suffix
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44312 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-07 21:01:43 +00:00
Jo-Philipp Wich 4a998150c4 toolchain: respect CONFIG_VERSION_FILENAMES and add host system suffix
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44311 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-07 21:01:37 +00:00
Luka Perkov 905361b89c ar71xx: merge board specific patches into one
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44309 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-07 20:53:16 +00:00
Luka Perkov 06cb32132f ar71xx: uci-defaults: add el-mini to appropriate group
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-07 19:59:05 +00:00
Luka Perkov c26b155ba7 ar71xx: qihoo: define flash variable as static
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44306 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-07 19:59:02 +00:00
Luka Perkov 1fcecf6f5b targets: base-files: diag.sh does not need to be executable
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44305 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-07 19:58:58 +00:00
Luka Perkov f114cabfef targets: files in uci-defaults do not need to be executables
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44304 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-07 19:58:52 +00:00
Luka Perkov 383b0a6cce ar71xx: refresh patches
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44303 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-07 17:48:39 +00:00
Luka Perkov 6ca16eadc3 kernel: update 3.14 to 3.14.32
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44302 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-07 17:48:33 +00:00
Jo-Philipp Wich 50bd81d3df imagebuilder: don't pregenerate package index, strip host binaries
The package index is generated on first use anyway, therefore it makes no
sense to continue shipping it.

Also sstrip the bundled host binaries when packing the IB to save some
additional space.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-06 12:31:31 +00:00
Imre Kaloz 623f057f46 mvebu: add note about the move to single firmware files
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44291 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-06 11:18:59 +00:00
Imre Kaloz 32a16916ad mvebu: support building images for a single board
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44290 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-06 11:16:20 +00:00
Jo-Philipp Wich 24d181ebd5 imagebuilder: use FreeBSD compatible tar invocation
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44288 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-06 00:27:06 +00:00
Imre Kaloz fd2b6e002e mvebu: don't generate targz images by default
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44268 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 16:31:52 +00:00
Imre Kaloz 6fb6373091 mvebu: Enable the A385 AP on 3.19
In order for the image to be built, some patches need to be ported to 3.19.
 
Add the relevant patches. Note that most of them (if not all) should be merged
in 3.20, removing the need to carry them on then.
 
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44267 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 15:41:07 +00:00
Imre Kaloz ecf2d3a6ef mvebu: add Armada 385 DB AP support
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44266 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 11:34:21 +00:00
Imre Kaloz c0e5c48199 mvebu: add the Armada 385 Reference Design support
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44265 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 11:29:56 +00:00
Imre Kaloz c3cc30bc84 mvebu: fix NAND and NOR options
All the boards but Mamba had wrong UBI options so far, making it impossible to
flash the built image on their respective storage medium.
 
Fix all of the supported boards in order to make the generated images useful.
 
Tested on a Mirabox, an Armada XP GP and an Openblocks AX3, and used the NAND
chip datasheet for the others.
 
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 11:26:17 +00:00
Imre Kaloz 6c1456ba13 mvebu: add a subprofile for boards based on a small NOR
Some boards only come with a small NOR on it, where UBI isn't a good solution
because of its overhead.
 
Add a new subprofile for such boards, that rely on the mtd split framework
instead.
 
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44263 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 11:25:21 +00:00
Imre Kaloz fc9eed5539 mvebu: add large NOR sub-profile implementation
While we supported only the NAND so far, some boards use a large enough NOR,
where UBI is the only reasonable option. Create a new sub-profile template with
a different set of UBI options.
 
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44262 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 11:24:10 +00:00
Imre Kaloz 552279824c mvebu: Add sub-profiles
In order to support the various board NAND layout that we support, introduce a
sub-profile similar to the one used by ar71xx.
 
These subprofiles provide a default implementation for most of the building
functions, while allowing each sub-profile to override any of these operations
in order to have a more specific behaviour, like Mamba expects for example.
 
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44261 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 11:22:43 +00:00
Imre Kaloz d2fa50e57a generic: allow ubi autoattach to run on NOR flash
Some devices out there only have a NOR flash to store the rootfs on.
 
While using UBI is arguable on this kind of flash, this is something that should
be supported.
 
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44260 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 11:21:31 +00:00
Imre Kaloz ebfbc428e2 mvebu: Add MTD split framework support
We're going to need the MTD split related options for our NOR support.
 
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 11:14:53 +00:00
John Crispin 207f4c59ac ar71xx: add support for the TP-LINK TL-WR941ND v5
This device is very similar to the TL-WR841N v8, only two LED GPIOs are
different.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44255 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-04 06:10:20 +00:00
John Crispin 65439af50d at71xx: TP-LINK Archer: add 5GHz led entry
Add 5GHz led entry after r44033.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44254 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-04 06:10:12 +00:00
John Crispin 3131f64da4 ralink: fix USB host function for Intenso M2M
The ubootloader of the M2M sets the reset bits for
both USB device and USB host during initialization
(to save a few mA of power during boot).

However, for the usb<->sata bridge to be properly
detected, it is necessary to clear both reset bits
as otherwise the kernel logs will just be filled
with:

usb 1-1: device descriptor read/64, error -145
...

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44248 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-03 10:11:11 +00:00
John Crispin 1c45ec1021 ar71xx: Revert "added board support for compex wpj558"
This reverts commit f7873071561d82e75ba2dc46433a2982fef8ac6f.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-02 10:32:04 +00:00
John Crispin d5add0371f ralink: cleanup firefly default packages
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-02 09:02:35 +00:00
John Crispin c532af473b ralink: add FireWRT button detail
Signed-off-by: wengbj <fl.service@t-firefly.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-02 09:02:16 +00:00
John Crispin 4b21f8fd9c ralink: add FireWRT led detail
Signed-off-by: wengbj <fl.service@t-firefly.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44241 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-02 09:02:10 +00:00
John Crispin ac8a6123f8 ralink: add ethernet macaddr to dts for FireWRT
Signed-off-by: wengbj <fl.service@t-firefly.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44240 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-02 09:02:02 +00:00
John Crispin 6e37a7e628 ramips: add support for Xiaomi MiWiFi Mini devices
This patch adds support for Xiaomi MiWiFi Mini, a 802.11a/b/g/n/ac dual radio
wireless router based on the MediaTek MT7620a SoC.

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-02 09:01:07 +00:00
John Crispin 560f9d5637 added board support for compex wpj558
Signed-off-by: Christian Mehlis <christian@m3hlis.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44237 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-02 09:00:21 +00:00
Felix Fietkau 9763f432cf ramips: fix ethernet driver tx completion polling
- budget is decremented with completed frames, so don't check if done is
smaller
- ACK the interrupt before processing further frames to fix a small race
condition.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44234 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-01 08:20:37 +00:00
Jo-Philipp Wich 45dce2ab93 x86_64: add more symbols required to enable SMP
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44233 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-31 22:23:01 +00:00
Jo-Philipp Wich e053c41ea2 x86_64: support HyperThreading and SMP with up to 8 CPUs
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-31 17:33:32 +00:00
Rafał Miłecki f2f10560c9 kernel: disable bcma's usage of OF API in kernel 3.10
It fails to build because of missing of_irq_parse_raw and incompatible
irq_create_of_mapping.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-31 16:43:13 +00:00
Jo-Philipp Wich 65b02ac916 linux: fix mips boot decompressor build
Replace the now defunct 062-mips_decompressor_build_fix.patch with another
patch that simply undefines the arch memset and memcpy defines to avoid
syntax errors in the redeclaration.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44223 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-30 10:04:23 +00:00
John Crispin 93eb47fb3d ar71xx: add Netgear WNR1000v2/WNR1000v2-VC support (#18633)
The board is already supported by OpenWrt. WNR1000v2/WNR1000v2-VC are
pretty much the same as WNR2000v3/WNR612v2, therefore the same
initialization code and flash layout is used.

Signed-off-by: Ștefan Rusu <saltwaterc@gmail.com>
Tested-by: Douglas Fraser <1dsfraser@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44221 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-30 08:06:40 +00:00
Rafał Miłecki 61f0b79e06 bcm53xx: fix partitions on Netgear R8000
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44219 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-30 07:25:43 +00:00
Rafał Miłecki 6748315e99 bcm53xx: fix booting BCM4709
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44218 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-30 06:58:35 +00:00
Rafał Miłecki 1897829a18 bcm53xx: fix Netgear R8000 serial console
Thanks raven-auand.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44217 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-30 06:30:44 +00:00
Zoltan HERPAI d8091bdb4b sunxi: disable MMC debugging in kernel config
Signed-off-by: Daniel Golle <daniel@makrotopia.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44216 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-30 00:19:18 +00:00
Zoltan HERPAI 38b7a18d3c sunxi: workaround switch being uninitialized on netifd startup
Signed-off-by: Daniel Golle <daniel@makrotopia.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44215 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-30 00:18:21 +00:00
Zoltan HERPAI dab2d03d87 sunxi: add support for Lamobo R1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44214 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-30 00:17:16 +00:00
Zoltan HERPAI aa2d8b3cbb sunxi: use sunxi_board_name when generating default network settings
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-30 00:14:17 +00:00
Zoltan HERPAI f75f6ead64 sunxi: introduce sunxi_board_name() in /lib/sunxi.sh
Signed-off-by: Daniel Golle <daniel@makrotopia.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44212 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-30 00:12:29 +00:00
Zoltan HERPAI 523564cf44 sunxi: implement board_detect for device-tree kernels
Signed-off-by: Daniel Golle <daniel@makrotopia.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44211 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-30 00:11:30 +00:00
Jo-Philipp Wich b8eccbebe3 x86_64: enable PCIE support
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44203 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-29 19:15:53 +00:00
Jo-Philipp Wich defffd7cd1 Revert "x86_64: enable PCIE support"
This reverts commit daadd4320c4eadce3937e8ca13ede0ce1b97e125 which erroneously
introduced unrelated changes.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44202 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-29 19:15:45 +00:00
Jo-Philipp Wich 293b505f46 x86_64: enable PCIE support
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44201 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-29 19:12:29 +00:00
Rafał Miłecki 5edc190fef bcm53xx: early support for Netgear R8000
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44186 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 21:55:43 +00:00
Rafał Miłecki 19be6485d5 kernel: bcm47xxpart: support T_Meter partitions
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44185 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 21:26:31 +00:00
John Crispin f91b6a228c ar71xx: fix D-Link DIR-615 rev. C1 WLAN MAC address
Fix the WLAN MAC address to match the one printed on the label by using the
correct address from the ART instead of the address of the LAN interface.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44183 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 19:19:47 +00:00