Commit Graph

13948 Commits (ce444d9237d0e04d25a052520ec8d6c7fa690694)

Author SHA1 Message Date
Rafał Miłecki f4295bb051 brcm47xx: initial support for kernel 3.18
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43100 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-28 10:26:00 +00:00
Hauke Mehrtens 43076c19c2 kernel: add closing " to REGMAP_I2C's tristate
Thanks swalker for reporting.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-27 23:14:21 +00:00
Hauke Mehrtens 716283d109 bcm53xx: remove support for fpu
This SoC does not have a vfpv3 FPU.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43098 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-27 23:04:07 +00:00
Hauke Mehrtens c45a73ac33 bcm53xx: initial support for kernel 3.18
This adds initial support for kernel 3.18.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-27 23:02:08 +00:00
Hauke Mehrtens 9a6776f829 kernel: add generic config for kernel 3.18
There are still many options missing.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-27 22:58:12 +00:00
Hauke Mehrtens 2644af4717 kernel: make the kernel 3.18 patches apply and boot on arm.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-27 22:55:39 +00:00
Rafał Miłecki 1c45c113c4 kernel: start working on 3.18 support
This commit:
1) Copies 3.14 patches
2) Drops mainlined stuff
3) Modifies some patches to apply

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-27 18:14:39 +00:00
Rafał Miłecki 20fc6fddcf kernel: 3.14: use patch that is really upstreamed for hso 0af0:9200
Patch 060 we had in repo was never sent/accepted.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-27 16:00:36 +00:00
John Crispin 48d52f313b mpc85xx: fix WAN/LAN-MAC for TP-LINK TL-WDR4900 v1
This works around a bootloader issue where every device
has the same lan/wan-mac 00:04:9f:ef:01:01 - with this patch
we read the macs from config-partition during initial network
setup. We have 9 valid macs stored in the partition, the
1st two are used for the radios, 3 and 4 are now used for WAN/LAN.

on an already setup / running device we can get the real macs with
. /lib/functions.sh
. /lib/functions/system.sh
echo "LAN = $(mtd_get_mac_binary config 338)"
echo "WAN = $(mtd_get_mac_binary config 344)"

see:
https://dev.openwrt.org/ticket/14714

from the ticket / user klondike:
U-Boot passed this commit ecd1a09b81
http://u-boot.10912.n7.nabble.com/U-Boot-PATCH-mpc83xx-remove-hardcoded-network-addresses-from-config-files-td44372.html
I suppose to prevent this particular issue, but the WDR4900 may be using an old bootloader still affected.
                                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

I have been checking the contents of the dtb on the flash, this particular bit is quite revealing:

ethernet@b0000 {
                        #address-cells = <0x1>;
                        #size-cells = <0x1>;
                        device_type = "network";
                        model = "eTSEC";
                        compatible = "fsl,etsec2";
                        fsl,num_rx_queues = <0x8>;
                        fsl,num_tx_queues = <0x8>;
                        local-mac-address = [00 00 00 00 00 00];
                                             ^^^^^^^^^^^^^^^^^

                        interrupt-parent = <0x2>;
                        phy-handle = <0x3>;
                        phy-connection-type = "rgmii-id";
                        ptimer-handle = <0x4>;

                        queue-group@0 {
                                #address-cells = <0x1>;
                                #size-cells = <0x1>;
                                reg = <0xb0000 0x1000>;
                                rx-bit-map = <0xff>;
                                tx-bit-map = <0xff>;
                                interrupts = <0x1d 0x2 0x1e 0x2 0x22 0x2>;
                        };
                };

I also have been checking the live device map to find this:

root@GHS-AP3:~# hexdump -C /proc/device-tree/soc@ffe00000/ethernet@b0000/local-mac-address
00000000  00 04 9f ef 01 01                                 |......|
00000006
root@GHS-AP3:~# hexdump -C /proc/device-tree/soc@ffe00000/ethernet@b1000/local-mac-address
*
root@GHS-AP3:~# hexdump -C /proc/device-tree/soc@ffe00000/ethernet@b2000/local-mac-address
*

My conclussion is that U-Boot most likely finds the device and (as no valid MAC-address is provided)
falls back to the default MAC provided by the old code, the kernel then receives thee modified
device map from U-Boot and assumes this is the correct MAC for the device despite it obviously isn't.

This can be seen at
target/linux/mpc85xx/patches-3.10/140-powerpc-85xx-tl-wdr4900-v1-support.patch

The enetaddr is filled up by using the device tree data by the process_boot_dtb
function and used by the platform_fixups function to set the eth0 address
(by calling dt_fixup_mac_address_by_alias("ethernet0", enetaddr); ).
But instead we should be used the device address which to my understanding is
provided in the mtd.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43074 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-26 17:58:53 +00:00
John Crispin e3518558b8 ramips: fix filenames in PorayDualSize factory images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43073 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-26 17:18:45 +00:00
John Crispin 8bc0b60fe1 vgv7519: support more recent board release with vrx288 v1.2
The existance of this new board has been confirmed and tested by the guy on this commit

76fdd8e638

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43072 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-26 17:18:41 +00:00
Felix Fietkau 031a9666b6 ar71xx: refresh 3.10 patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-24 20:39:42 +00:00
Felix Fietkau 951113224e kernel: refresh generic 3.10 patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43050 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-24 20:39:36 +00:00
Felix Fietkau 6ba296a1c9 kernel: update 3.10.49 to 3.10.58 (released 2014-oct-15)
All platforms which are using 3.10.x at the moment are upgraded.

Changelogs:
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.50
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.51
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.52
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.53
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.54
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.55
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.56
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.57
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.58

A new symbol 'X86_16BIT' appeared in 3.10.52 with commit 34273f41d57ee8d854dcd2a1d754cbb546cb548f
("x86-espfix-make-it-possible-to-disable-16-bit-support.patch")
I defaults to 'unset', but it's worth a discussion to enable it
("turn off support for any 16-bit software").

Also removed the patch 0db3db45f5bd6df4bdc03bbd5dec672e16164c4e
("fix build failure on memcpy() in decompress.c")
and is obsolete by commit 29593fd5a8149462ed6fad0d522234facdaee6c8 upstream.
included in kernel 3.10.56

compile tested on all platforms with:
make tools/install
make toolchain/install
make target/linux/compile

user@box:~/user/openwrt$ cat /tmp/log.txt
[Wed Oct 22 00:36:02 CEST 2014] ./smoketest.sh: ar71xx - OK
[Wed Oct 22 00:53:22 CEST 2014] ./smoketest.sh: ar7 - OK
[Wed Oct 22 01:08:27 CEST 2014] ./smoketest.sh: au1000 - OK
[Wed Oct 22 01:21:43 CEST 2014] ./smoketest.sh: avr32 - OK
[Wed Oct 22 01:37:47 CEST 2014] ./smoketest.sh: cns21xx - OK
[Wed Oct 22 01:52:05 CEST 2014] ./smoketest.sh: cns3xxx - OK
[Wed Oct 22 02:10:23 CEST 2014] ./smoketest.sh: gemini - OK
[Wed Oct 22 02:29:07 CEST 2014] ./smoketest.sh: ixp4xx - OK
[Wed Oct 22 02:44:01 CEST 2014] ./smoketest.sh: malta - OK
[Wed Oct 22 02:55:57 CEST 2014] ./smoketest.sh: mpc85xx - OK
[Wed Oct 22 03:07:56 CEST 2014] ./smoketest.sh: orion - OK
[Wed Oct 22 03:24:30 CEST 2014] ./smoketest.sh: ppc40x - OK
[Wed Oct 22 03:40:19 CEST 2014] ./smoketest.sh: ppc44x - OK
[Wed Oct 22 03:55:29 CEST 2014] ./smoketest.sh: realview - OK
[Wed Oct 22 04:09:47 CEST 2014] ./smoketest.sh: sparc - OK
[Wed Oct 22 04:23:37 CEST 2014] ./smoketest.sh: x86 - OK
[Wed Oct 22 04:35:56 CEST 2014] ./smoketest.sh: xburst - OK

run tested on x86, au1000, ar71xx, mpc85xx and brcm47xx

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43049 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-24 20:39:26 +00:00
Felix Fietkau f954f77cd2 netlogic: use KERNEL_PATCHVER
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43048 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-24 19:35:52 +00:00
Felix Fietkau 31b1aae3d8 kernel: makefiles: make use of new var KERNEL_PATCHVER
replace all occurences of LINUX_VERSION with the cleaner
approach. future kernel upgrades must mostly touch only
one file. the only platform left is netlogic, because it
uses a intermediate kernel 3.14.16

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43047 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-24 19:34:02 +00:00
Florian Fainelli 765e350fdc netlogic: fix modular USB build
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-24 00:16:48 +00:00
Florian Fainelli f5346a9902 netlogic: add basic user-space support
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43038 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-24 00:16:37 +00:00
Florian Fainelli a1cb12525c netlogic: add XLR/XLP support
Add support for Broadcom/Netlogic XLR/XLP support

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43037 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-24 00:16:23 +00:00
Florian Fainelli 1d93f1cc50 kernel: add a memmove() implementation for MIPS boot decompressor
This is required due to 306-mips_mem_functions_performance.patch, just
add a memmove() implementation to satisfy the lzma2 decompressor code.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43036 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-24 00:16:10 +00:00
Rafał Miłecki 0f059b7f6b bcm53xx: backport forgotten spi-nor change
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43031 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-22 14:34:43 +00:00
Rafał Miłecki 312a6dedf4 bcm53xx: backport spi-nor patches from 3.18-rc1
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43030 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-22 14:16:18 +00:00
Felix Fietkau 6c802b5fb6 ar71xx: add support for buffalo WZR-450HP2
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-22 11:02:18 +00:00
Rafał Miłecki c0ed1033ba bcm53xx: add support for Asus RT-N18U LEDs & buttons
Got GPIOs from #18152 thanks to Grrruk

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-21 14:37:44 +00:00
Rafał Miłecki 9c2251891b bcm53xx: switch RT-N18U firmware to the UBI
According to the ticket #18152 it also uses NAND with 0x20000 erase size
and 0x800 page size.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 22:09:40 +00:00
John Crispin 27802dad51 ar71xx: unify usage of IMAGE_PROFILE instead of PROFILE.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42992 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 06:29:58 +00:00
John Crispin 96ea58bf32 ramips: add comments for image/Makefile.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42991 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 06:29:51 +00:00
John Crispin b677d14781 ar71xx: add comments for Image/BuildLoader{, Alone}.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42990 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 06:29:44 +00:00
John Crispin 4cd9d06c9c firmware-utils: restore compilation of mkhilinkfw.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42989 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 06:29:38 +00:00
John Crispin 9b1894c42f kernel: add another missing symbol for 3.14
SENSORS_VEXPRESS is masked by HWMON

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 06:28:57 +00:00
John Crispin 12fd40cbfd ramips: add support for Nexx WT3020 devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 06:28:48 +00:00
John Crispin 06de14dded ramips: sort boards in upgrade/platform.sh alphabetically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 06:28:39 +00:00
Jo-Philipp Wich 1de7d3dadd x86_64: fix invoking sysupgrade on PARTUUID mounted system
Fix sysupgrade to determine the correct boot block device to use if
/proc/cmdline contains a PARTUUID root.

Change the preinit move_config() hook to use the UUID scanning code
from sysupgrade in order to avoid code duplication.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42968 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 20:28:43 +00:00
Jo-Philipp Wich 826c353963 x86_64: unbreak squashfs images
Enable the required squashfs and block2mtd support in the kernel in order
to be able to actually boot them.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42967 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 17:58:46 +00:00
Jo-Philipp Wich fc13c5df1c x86_64: use default block2mtd timeout of 5s
If the underlying block device is a USB device it might require some
time to settle, observed when booting a squashfs image from sd card
on an Alix APU board.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42966 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 17:46:37 +00:00
Jo-Philipp Wich 02ef17870c x86_64: sysupgrade: consider hdX and vdX devices as well
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42965 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 17:13:50 +00:00
Felix Fietkau e99ea7b270 ramips: fix usercfg partition offset for WHR-1166D
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42958 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 08:45:56 +00:00
Felix Fietkau f5a97a37e3 ar71xx: disable irq on reboot to fix hang issues (fixes #17839)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42955 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-18 19:25:30 +00:00
Jo-Philipp Wich 93e7f9f611 x86_64: support sysupgrade config restore on PARTUUID mounted disks
Fix the move_config() procedure to properly find the corresponding disk if
the rootfs was mounted by PARTUUID instead of a device node.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-17 22:50:38 +00:00
Jo-Philipp Wich 882e83a275 x86_64: add kmod-r8169 to the default packages
This kmod is required by the Alix APU 1D4 to be reachable after
installing an x86-64 image.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42945 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-17 13:09:37 +00:00
Rafał Miłecki 6323cec8d6 bcm53xx: image: switch Netgear and Buffalo devices to UBI
We still don't have a smart sysupgrade method, but at least we can use
UBI which provides some protection for rootfs (SquashFS).

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42941 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-16 21:33:34 +00:00
Rafał Miłecki bb8bf9f3fa bcm53xx: hack UBI to erase all dirty blocks left by CFE
UBI requires PEBs to be formatted (with a valid UBI header) or empty
(0xFF), however CFE doesn't clear blocks after flashing the image. To
workaround this problem, teach UBI to recognize EOF mark in a similar
way JFFS2 handles that in OpenWrt.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-16 20:52:22 +00:00
Rafał Miłecki b63b1a2ef4 bcm53xx: enable UBI and UBIFS
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-16 20:50:36 +00:00
Rafał Miłecki f607479fb6 bcm53xx: image: build UBI partition image
This could be used on NAND devices once we get UBI working.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42938 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-16 20:48:56 +00:00
Rafał Miłecki 32fa956a34 bcm53xx: image: specify flash type for all devices
This will allow us to add proper support for NAND one day.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42937 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-16 20:44:44 +00:00
Jo-Philipp Wich 953e848636 x86_64: initial support for PARTUUID
This change configures grub to mount the rootfs by PARTUUID instead of the
device path if CONFIG_TARGET_ROOTFS_PARTNAME is unset.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42936 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-16 16:28:16 +00:00
Jo-Philipp Wich 50f2e5e8e4 sdk: improve feed setup
- Add current buildroot scm url as base feed to feeds.conf
 - Prefer feeds.conf over feeds.conf.default when generating the SDK feeds.conf.default

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-16 16:28:12 +00:00
Rafał Miłecki 557ac83ce4 bcm53xx: add support for Buffalo WZR-600DHP2
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42925 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-15 07:14:13 +00:00
Rafał Miłecki c0af997c99 bcm53xx: fix Asus RT-N18U support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42924 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-15 07:12:46 +00:00
John Crispin 3836b3acb2 wr1043nd-v2: Change .code of the wi-fi button to KEY_RFKILL
This patch changes the code of the Wi-Fi On/Off button on the TP-Link WR1043ND v2
from KEY_WLAN to KEY_RFKILL (and renames a few constants to match). The reason
for this change is, that the KEY_WIFI button code is not recognized by the
hotplug subsystem. This means that the userspace is not notified about the
button being pressed which effectively renders it useless.

Signed-off-by: Josef Gajdusek <atx@atx.name>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-14 19:01:21 +00:00
John Crispin ef64ccbb40 lantiq xway: generate ramdisk image by default
The installation process on nand-based boards using ubi
like the BTHOMEHUBV2B makes use of a ramdisk image, so it
makes sense to generate this by default.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-14 19:01:10 +00:00
John Crispin 64f5a8f199 ar71xx: fix seama factory type image generation.
Currently JFFS2 end-of-filesystem marker 0xdeadc0de is included the
computation of image's MD5 checksum as part of the seama header.  But
OpenWrt will erase blocks including and after the marker thus
invalidating the checksum after the first boot.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-14 12:21:41 +00:00
John Crispin 96d2eba315 ar71xx: qihoo-c301: reset imageNtrynum after each successful boot.
Qihoo C301 has 2 flash chips of which one is used as primary and the
other is used as backup.  OEM U-Boot will try to boot an activeregion N
with imageNstatus=0 and imageNtrynum <= imagemaxtry.  If such a region
is found, bootloader will try to increment imageNtrynum and boot it.

This patch tries to reset imageNtrynum after each successful boot (if
the boot process reaches the execution of /etc/init.d/done).

	root@OpenWrt:/# hexdump -C -n 128 /dev/mtdblock9
	00000000  9e f3 63 91 61 63 74 69  76 65 72 65 67 69 6f 6e  |..c.activeregion|
	00000010  3d 31 00 69 6d 61 67 65  31 73 74 61 74 75 73 3d  |=1.image1status=|
	00000020  30 00 69 6d 61 67 65 32  73 74 61 74 75 73 3d 30  |0.image2status=0|
	00000030  00 69 6d 61 67 65 32 74  72 79 6e 75 6d 3d 30 00  |.image2trynum=0.|
	00000040  69 6d 61 67 65 6d 61 78  74 72 79 3d 33 00 69 6d  |imagemaxtry=3.im|
	00000050  61 67 65 31 74 72 79 6e  75 6d 3d 30 00 00 00 00  |age1trynum=0....|
	00000060  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-14 12:21:36 +00:00
John Crispin acb898c566 target/toolchain/Config.in: Clarify packaging of toolchain.
Change the "help" info to emphasize that this option refers
specifically to packaging the toolchain that would be built anyway.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-14 12:21:16 +00:00
John Crispin 81d9f2d585 scripts: fix wrong usage of '==' operator
[base-files] shell-scripting: fix wrong usage of '==' operator

normally the '==' is used for invoking a regex parser and is a bashism.
all of the fixes just want to compare a string. the used busybox-ash
will silently "ignore" this mistake, but make it portable/clean at least.

this patch does not change the behavior/logic of the scripts.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-14 12:21:11 +00:00
John Crispin 82fa1674e0 rb532: switch to 3.14 and ath5k
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-14 11:32:57 +00:00
John Crispin e4827485cb generic: fix yaffs compilation on 3.14
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-14 11:32:48 +00:00
John Crispin 2663bdb062 rb532: add 3.14 support
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42908 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-14 11:32:43 +00:00
John Crispin f97d4d6b9a lantiq: allow pcie to be disabled by dts + vgv7519 fix pci irq + disable pcie by dts
Signed-off-by: Eddi De Pieri <eddi@depieri.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42907 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-14 11:04:25 +00:00
John Crispin 2e7ed3fcd9 ar71xx: Fix LED definitions for the DRAGINO2 board
This patch fixes LED definitions for the DRAGINO2 board.

1. It renames the Router/USB led to System, as it is now marked "SYS" on the board.
2. It gives control of the LAN and WAN leds and some other GPIOs to Linux.
3. It fixes the active_low property for the LAN and WAN leds.
4. It sets up WLAN, LAN and WAN leds in the UCI defaults.
5. It allows usage of the System led by the diag.sh script, so it will be used to indicate boot and failsafe status.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-14 10:33:07 +00:00
John Crispin 02418cdba2 mpc85xx: use wpad-mini in WDR4900 profile instead of wpad
This change makes the profile of WDR4900 more consistent with other router
specific profiles.

Signed-off-by: Philipp Borgers <borgers@mi.fu-berlin.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-14 10:30:56 +00:00
Rafał Miłecki 47ae84174e bcm53xx: fix hangs in PCIe2 host driver
Accessing CFG regs with no card present results in SoC hang.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-14 08:06:15 +00:00
Rafał Miłecki 31b4ccdf31 bcm53xx: add temp bcma workaround that allows debugging
This way we will get logs if case of hang/crash in bcma or related code.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-14 05:31:54 +00:00
John Crispin e4689a3dbe at91: fix at91-adc dependencies
Error reported by buildbot:
Package kmod-at91-adc is missing dependencies for the following libraries:
input-core.ko

only compile tested

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-13 19:45:31 +00:00
John Crispin ab41ed7d55 ralink: Build 8M image for 7Links PX-4885
7Links PX-4885 (clones) can also be purchased with 8MB flash.
Creating images for these routers, use dtsi for common part

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-13 19:41:36 +00:00
Rafał Miłecki f9cf839be4 brcm47xx: image: create initramfs TRX nodictionary images
Signed-off-by: Stephen Parry <sgparry@mainscreen.com>
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42889 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-13 05:53:33 +00:00
Felix Fietkau cc8b4b8143 x86: remove old soekris config hacks, install a more appropriate default /etc/config/network with lan+wan
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42888 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-12 20:25:30 +00:00
Felix Fietkau 5c9e6a65b6 image.mk: clean up and parallelize mkfs calls
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-12 15:00:49 +00:00
John Crispin 789decc87e ralink: various i2c related fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42868 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-10 08:56:53 +00:00
John Crispin 784895b84e ramips: add support for Nexx WT1520
Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42867 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-10 08:56:43 +00:00
Rafał Miłecki 4e13eeec5b bcm53xx: prepare to support Asus RT-N18U
DT file doesn't include any GPIOs yet, but let's add it as we got some
interest in this device on IRC.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42864 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-09 16:36:51 +00:00
Rafał Miłecki e980967a2c bcm53xx: add support for Buffalo WZR-1750DHP
Let's generate a simple TRX file as we can't get encrypted one.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42863 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-09 16:36:05 +00:00
Steven Barth ad25616777 kernel: add missing symbols for 3.14
spotted by buildbot brcm2708:
http://buildbot.openwrt.org:8010/builders/brcm2708/

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-09 07:18:07 +00:00
Steven Barth 3823e9634d network: Unbind DHCPv6 from underlying interfaces
This allows IPv6 to set up without IPv4 being up thus
IPv6-only or IPv6+DS-Lite working with the default config.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-08 13:08:05 +00:00
Felix Fietkau e1219a24e2 cns3xxx: Adopt irq_domain support for cns3xxx gpio driver
Have gpio driver adopt irqdomain support so that there are
non-overlapping allocations of irq numbers mapped to gpio's.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42844 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-08 10:28:10 +00:00
Felix Fietkau 9c1ce81f5a cns3xxx: fix shared PCI interrupt mapping
This patch originally failed to combine INTA/B/C/D onto a single ARM CPU
interrupt. Instead, it mapped INTA/B/C and excluded D. This patch
corrects the issue by mapping all four interrupts to the single ARM CPU
interrupt. The original intent of the patch still holds as the newer PCB
take advantage of isolated interrupts. This fix only applies to older
PCB's that do not route INTA/B/C/D to unique external ARM CPU
interrupts.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42830 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-07 10:37:48 +00:00
Felix Fietkau 461cef4193 cns3xxx: fix register for enabling MMC/SD pins
also fixes a GPIO related regression from the upgrade to 3.10

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42829 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-07 10:37:09 +00:00
Rafał Miłecki c623065eac kernel: move old "rootfs" splitter into separated file
This will simplify removing it in the future.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42828 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-07 07:35:17 +00:00
Rafał Miłecki 2e64fe8869 bcm53xx: add Netgear R6300 V2 LEDs and buttons
Thanks tusc (our forum user) for checking GPIOs.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42827 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 21:33:17 +00:00
John Crispin c1447f8ac4 at91: remove support for TQMa9263
This board is EOL, we should not bother anymore with it.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42825 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 20:08:40 +00:00
John Crispin 1946621665 lantiq - vgv7519: load rt5362 eeprom from bootloader param patition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42824 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 20:08:30 +00:00
John Crispin 990c69bdc3 lantiq - vgv7519: enable pci bus
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42823 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 20:08:18 +00:00
John Crispin d8f979919a lantiq - vgv7519: remove spi_cs4, since the board use this line for something else
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42822 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 20:08:11 +00:00
John Crispin 908a10d1da lantiq - vgv7519: fix open-drain configuration for stp
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42821 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 20:08:04 +00:00
John Crispin 626dbb940e lantiq - vgv7519: add pci-rst entry into dts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42820 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 20:07:56 +00:00
John Crispin bd72aeacf3 lantiq - vgv7519: remove exin definition copied from dev-board dts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 20:07:45 +00:00
John Crispin 6357636275 lantiq - vgv7519: we don't have pcie bus so we don't need the reset device tree for this board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42818 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 20:07:30 +00:00
John Crispin 030dbd493a lantiq - vgv7519: we don't have dual minipci-card so we don't need gnt1-req1 for pci handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42817 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 20:07:19 +00:00
John Crispin 4366c9b6cd lantiq - vgv7519: fix gphy led configuration (this set correct alt function to gpio and let peripherials on pci bus to comes up)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42816 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 20:07:04 +00:00
John Crispin c3a6e0a58f lantiq: fix some alt function on pinctrl-xway
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42815 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 20:06:51 +00:00
John Crispin 0ebb798819 octeon: add patches which are not upstreamed yet
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 20:06:06 +00:00
John Crispin 47a7f680d5 octeon: remove kmod-ath9k from default packages
Looks like the targets are Ubiquiti routers which don't come with any wireless cards.

Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42810 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 20:05:52 +00:00
John Crispin f45d8eb921 octeon: prepare elf kernel image and md5sum for usb copying
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 20:05:39 +00:00
John Crispin 5dc87ed592 octeon: fix serial console for 3.14 kernel
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42808 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 20:05:29 +00:00
John Crispin a7658d45cd ralink: various i2c fixes
the driver did not handle all states correctly causing a deadlock of the i2c hw block.

Signed-off-by: Ing.Michele Mogioni <michele.mogioni@unimc.it>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42807 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 20:05:13 +00:00
Rafał Miłecki e7106c5746 kernel: add some warnings to the old (built-in) rootfs splitter
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42806 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 15:07:54 +00:00
Rafał Miłecki aa7c9cf299 kernel: enable CONFIG_MTD_SPLIT_SQUASHFS_ROOT
This enables dedicated "rootfs" splitter by default. We still keep
CONFIG_MTD_SPLIT_SQUASHFS_ROOT, so the old (built-in) splitter will be
used as a fallback in case of problems.
Once we decide the dedicated partitioner works stable, we should remove
the old one completely.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42805 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 14:02:06 +00:00
Rafał Miłecki 2fe5eba1d8 kernel: allow rootfs splitters to work without CONFIG_MTD_ROOTFS_SPLIT
We want to remove that old (built-in) splitter at some point.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 13:49:11 +00:00
John Crispin acb9d6b4e4 lantiq: led name has changed from adsl -> dsl
make the notify script aware of this.

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

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42798 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 05:18:52 +00:00
John Crispin 0496c6a597 ar71xx: correctly detect hardware revision on TP-LINK Archer C5 and C7
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42797 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 04:53:34 +00:00
John Crispin ac7e01ea5e ar71xx: fix syntax for TP-LINK TL-WR941N/ND / Rosewill RNX-N360RT detection
[ ] conditions should use = instead of == for string equality.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42796 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 04:53:25 +00:00
John Crispin 8ae697d7f2 ar71xx: simplify TP-LINK model detection
All TP-LINK machine names begin with "TP-LINK", so there's no need to check for
more specific model names. This also allows adding new models like the Archer
series more easily.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42795 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 04:53:20 +00:00
John Crispin f44a320095 ar71xx: add support for TP-LINK TL-WR847N v8 (clone of TL-WR841N/ND v8)
Signed-off-by: Jaehoon You <teslamint@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42792 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 04:52:57 +00:00
John Crispin 23246db9e0 ramips: D-Link DIR-810L: make led naming consistent with other boards
Signed-off-by: Michael Heimpold <mhei@heimpold.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42789 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 04:52:36 +00:00
John Crispin 16c7f3c21e ralink: Add missing code to free GPIO on Ralink SoC
Signed-off-by: schildt@ibr.cs.tu-bs.de
Acked-by: info@gerhard-bertelsmann.de

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42788 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 04:52:26 +00:00
John Crispin 1e7c3ba398 ar71xx: add LED defaults for the EnGenius ESR1750
Signed-off-by: Forest Crossman <cyrozap@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42786 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 04:52:13 +00:00
John Crispin 5f9a01b40f ramips: Support for RAMIPS based Tripmate HT-TM02 board
Provides support for the Tripmate HT-TM02 personal router including LEDs and
reset button. “Mode” switch is not supported. New profile includes full set
of packages required to enable LEDs, USB, and LUCI. Patches were applied
against trunk snapshot r42649. Functionality has been tested in AP, basic wifi
client, wifi router, and routed client modes - all good.

Signed-off-by: Ron Curry <wingspinner@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 04:52:07 +00:00
John Crispin 5416fbe6e0 ar71xx: fix reset button gpio for OM2P/OM2P-HS
A typo in the definition for the OM2P reset button disabled its functionality
in OpenWrt. The actual button for these two devices is "1" and not "11".

Signed-off-by: Oren Poleg <oren@poleg.org>
[sven@open-mesh.org: added a commit subject+message]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42782 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 04:51:51 +00:00
Felix Fietkau 0a602b2b72 targets: remove useless quotes around KERNELNAME
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42780 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 20:17:19 +00:00
Zoltan HERPAI 9c2be8be39 sunxi: re-add rootfs build when no profile is set, fixes #17980, thanks.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42775 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-05 17:32:36 +00:00
Jonas Gorski f02ccab61b brcm63xx: fix wrong fixups pointer
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@42756 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-03 11:03:58 +00:00
Rafał Miłecki 132a7fda2c bcm53xx: build R6250 firmware with "Other Regions" region
This prevents vendor firmware from warning about incompatible region.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-03 10:40:12 +00:00
Felix Fietkau 5612af273e ar8216: set the pvid based on runtime state instead of port number to fix learning with enable_vlan = 0
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 20:00:41 +00:00
Rafał Miłecki 81123a998e bcm53xx: early support for Netgear R6300 V2
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 19:30:08 +00:00
Jonas Gorski e2ca113a8d brcm63xx: update spw500v sprom to values from gpl tarball
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42740 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 12:26:36 +00:00
Jonas Gorski 0efabe2758 brcm63xx: reorder some patches according to their upstream state
The irq rewrite was accepted upstream.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 12:26:19 +00:00
Jonas Gorski e618873b74 brcm63xx: Add DT support for 96368MVWG
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@42738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 12:26:07 +00:00
Jonas Gorski 25ac300092 brcm63xx: Add DT support for 96368MVNgr
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@42737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 12:25:57 +00:00
Jonas Gorski 6f45e91885 brcm63xx: Add DT support for 96358VW2
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@42736 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 12:25:41 +00:00
Jonas Gorski df73d94e0d brcm63xx: Add DT support for 96358VW
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@42735 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 12:25:36 +00:00
Jonas Gorski ef4c63343c brcm63xx: Add DT support for 96338W
Renamed of_board_id to convention.

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@42734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 12:25:27 +00:00
Jonas Gorski 47fe2c490f brcm63xx: Add DT support for 96338GW
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@42733 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 12:25:22 +00:00
Jonas Gorski 96c2df5c53 brcm63xx: Add DT support for 96348R
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@42732 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 12:25:13 +00:00
Jonas Gorski 1d8056734c brcm63xx: Add DT support for 96348GW-11
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@42731 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 12:25:07 +00:00
Jonas Gorski 8e89050d96 brcm63xx: Add DT support for 96348GW-10
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@42730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 12:25:01 +00:00
Jonas Gorski c5e3f2868e brcm63xx: Add DT support for 96348GW
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@42729 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 12:24:39 +00:00
Jonas Gorski f51292a0a7 brcm63xx: Add DT support for 96345GW2
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@42728 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 12:24:34 +00:00
Jonas Gorski ef157784bc brcm63xx: Add DT support for 963281TAN
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@42727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 12:24:29 +00:00
Jonas Gorski 699c5518e8 brcm63xx: fix brcm63xx fallback 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@42726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 12:24:14 +00:00
Rafał Miłecki 33a1027ab9 bcm53xx: early buttons support (without interrupts)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 12:05:58 +00:00
Rafał Miłecki 0afdc1f958 bcm53xx: backport bcma RFC patch that fixes LEDs
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42717 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 10:42:30 +00:00
Rafał Miłecki 7bea35cb81 bcm53xx: support devices with more (13+) partitions
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42716 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 09:51:54 +00:00
Rafał Miłecki 4b28afb2cb bcm53xx: select LEDs support by default
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42715 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-02 05:54:18 +00:00
Rafał Miłecki 09f077e5e9 bcm53xx: add BCM5301X patches sent upstream (bus and R6250 LEDs)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42711 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-01 13:38:50 +00:00
Rafał Miłecki 6eaf246e8f kernel: update bcma to the tag master-2014-09-30 (wireless-next)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42710 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-01 13:37:36 +00:00
Rafał Miłecki 3da328a3c4 bcm53xx: rename BCM5301X DTS patch to match upstream order
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42708 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-01 07:59:03 +00:00
Zoltan HERPAI 6d117a2c19 sunxi: add profile for Olimex A13 SOM
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42693 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-28 23:21:59 +00:00
Hauke Mehrtens d2a3013f0b bcm53xx: activate some workarounds for errors in the Cortex-A9
BCM4708 uses a Cortex-A9 rev r3p0 and a L2C-310 rev r3p2.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42690 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-28 18:03:33 +00:00
Felix Fietkau ce61f0150c ar71xx: revert accidental kernel upgrade
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42687 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-27 20:54:12 +00:00
Felix Fietkau 58d1cc210e ar71xx: add wmac callback for reading soc revision on ar934x
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42685 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-27 20:52:05 +00:00
Felix Fietkau 6887a5ee27 ar71xx: refresh 3.14 kernel patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-27 20:51:49 +00:00
Florian Fainelli 634e6c6b9a brcm2708: switch to 3.14
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42681 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-27 19:11:55 +00:00
Florian Fainelli 607f2bd2c7 brcm2708: add 3.14 support
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-27 19:11:37 +00:00
Florian Fainelli 9200322d21 kernel: add missing CONFIG_BACKLIGHT_GPIO to 3.14
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42679 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-27 19:11:06 +00:00
Florian Fainelli c65ec1aa8f brcm2708: update 3.10 patches with raspberrypi/rpi-3.10.y of 27 Apr. 2014
Update the 3.10 rasperry patches by rebasing raspberry/rpi-3.10-y
against linux-stable/v3.10.49.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42678 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-27 19:10:51 +00:00
Rafał Miłecki 63754762b1 kernel: merge two mtdpart.c patches
It does not make sense to add some code and remove is 4 patches later.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42673 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-27 09:44:24 +00:00
Rafał Miłecki e05a6326e9 kernel: update bcma to the tag master-2014-09-26 (wireless-next)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-27 07:49:48 +00:00
Florian Fainelli c239c5f559 realview: add protocol argument to ucidef_set_interface_raw
Now that ucidef_set_interface_raw() has been updated to take a protocol
argument, use that.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42666 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-25 19:09:17 +00:00
Rafał Miłecki 97fc855e6f bcm53xx: add a patch that fixes booting problems
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-24 21:08:17 +00:00
Felix Fietkau 200e1d786d ar71xx: ar8216: tagged+untagged on ar8327 (#12181)
This allows tagged and untagged traffic together on the same port on ar8327
switch devices.

I looked at the first attempt to do this in r40777 (ar71xx: Fix tagged+untagged
operation on AR8327N (#12181)). I also set the vlan and port egress policies
like that change. But I change vlan_tagged in an less intrusive way. The
tagged/untagged decision is now based on the following rules:
- if vid != pvid then traffic is always tagged
- if vid == pvid then vlan_tagged stores if the traffic should be tagged

Tested on TP-Link WDR-3600 (ar8327N).

Signed-off-by: Valentin Spreckels <Valentin.Spreckels@Informatik.Uni-Oldenburg.DE>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-23 10:19:58 +00:00
Felix Fietkau 849e774cd2 ar71xx: ar8216: move policies, pvid to setup_port
This moves ingress, egress policy and pvid decisions to setup_port methods.
They arenow device type dependent.

This allows policy changes on only one device type which is needed to allow
tagged + untagged operation on ar8327.

Tested on TP-LINK WDR-3600 (ar8327N).

Signed-off-by: Valentin Spreckels <Valentin.Spreckels@Informatik.Uni-Oldenburg.DE>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-23 10:18:38 +00:00
Zoltan HERPAI b45b9e2f46 mxs: remove 3.13
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-23 06:42:29 +00:00
Zoltan HERPAI 5097d4e459 mxs: disable mmc debugging
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-23 06:38:58 +00:00
Rafał Miłecki 880a3d2799 bcm53xx: image: use IMG_PREFIX for chk images
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42649 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-22 18:11:09 +00:00
Rafał Miłecki cc56566e29 bcm53xx: image: make filesystem a suffix for TRX files
This makes TRX files more /compatible/ with firmware files (e.g. CHK).
This will allow us to put some TRX files in BIN_DIR if we need to.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42646 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-22 09:16:20 +00:00
Rafał Miłecki 85fbc8df3c bcm53xx: image: document arguments of various functions
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42645 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-22 08:37:18 +00:00
Rafał Miłecki fc42765c6b bcm53xx: image: rework Makefile and merge some functions
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42644 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-22 08:04:26 +00:00
Zoltan HERPAI 84f61f28e7 sunxi: enable GPIO_SYSFS
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-22 06:15:45 +00:00
Hauke Mehrtens 829584f1a6 bcm53xx: activate vfpv3 support
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42642 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-21 21:58:29 +00:00
Hauke Mehrtens 6c0d0e04ed bcm53xx: add nand flash driver
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42641 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-21 21:58:02 +00:00
Hauke Mehrtens e04bca5315 bcm53xx: update patches adding bcma support
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42640 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-21 21:57:17 +00:00
Hauke Mehrtens d36def3f4e bcm53xx: add fixtrx
Without running fixtrx the image will not boot at the second time, 
because the CRC the boot loader check is invalid at that time.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-21 21:56:31 +00:00
Rafał Miłecki 1683576ed0 bcm53xx: add support for GPIOs
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-21 21:18:30 +00:00
Rafał Miłecki 93ba0ae51f bcm53xx: rename console fixing patch
This squeezes BCM5301X patches.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42637 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-21 21:02:38 +00:00
Zoltan HERPAI cc5d855f30 sunxi: add AXP209 to pcDuino3
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42636 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-21 20:31:18 +00:00
Zoltan HERPAI 10354ca6e7 sunxi: enable AXP209 on BananaPi as well
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42635 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-21 17:46:50 +00:00
Zoltan HERPAI 95302a2e8e sunxi: enable AXP209 regulator
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42634 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-21 17:45:20 +00:00
Zoltan HERPAI a28b6e0d96 sunxi: add sunxi-ir module
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42631 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-21 16:28:06 +00:00
Zoltan HERPAI 101af46ba0 sunxi: add support for infra receiver on A20, along with IR-related backports from 3.15
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42630 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-21 16:25:45 +00:00
Zoltan HERPAI 835de3d421 kernel: add missing symbols for 3.14
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42629 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-21 16:24:28 +00:00
Zoltan HERPAI dcbfc72a88 sunxi: remove 3.13 support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42628 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-21 15:42:36 +00:00
John Crispin 9d4a086a64 ramips: D-Link DIR-810L. Add support for SoC 2.4 GHz wireless and fix leds naming
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42619 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-19 11:07:08 +00:00
John Crispin 76b4032fe0 lantiq: set 3.14 as default
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42618 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-19 10:52:47 +00:00
John Crispin ea10c39f14 ralink: drop dwc_otg support. dwc2 seems stable
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-19 10:52:37 +00:00
Zoltan HERPAI 94f0028725 sunxi: update gmac with adding correct regulators on bananapi
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-19 00:13:49 +00:00
Zoltan HERPAI 914948ebaa sunxi: backport late clock fixes from 3.15
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42615 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-19 00:12:53 +00:00
Zoltan HERPAI 665f30a1df sunxi: update dts for pcduino3 and bananapi with regulators
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 23:45:08 +00:00
Zoltan HERPAI 04a55c31d2 sunxi: add usb ohci support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42607 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 23:34:10 +00:00
Zoltan HERPAI 45cafa800f sunxi: add default interface for bananaPi
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 23:15:30 +00:00
Zoltan HERPAI a98d24e6e8 sunxi: add missing symbol for arch timer
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 23:12:50 +00:00
Rafał Miłecki 3421f4b3b6 kernel: fix backport of bcma init patch
Upstream bcma patch:
bcma: use separated function to initialize bus on SoC
was backported incompletely. I missed arch code change.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 21:25:36 +00:00
Jo-Philipp Wich dfbf70b43d sdk: predefine kernel version magic
Kernel modules which are built using the SDK do not have access
to the .vermagic file in the Linux build dir, therefore the
generated .ipk metadata depends on kernel versions like
'3.10.49-1-unknown' which are not satisfiable by the kernel
meta package in the image.

Fix this problem by substituting 'unknown' with the current
version magic in include/kernel.mk when packing the SDK.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42590 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 10:25:47 +00:00
Zoltan HERPAI 06cbf4e0a3 sunxi: add arm arch timer support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42589 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 10:15:05 +00:00
Hauke Mehrtens f922e26c9e kernel: add missing config option
This missing option was found by the build bots.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42583 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-16 21:39:24 +00:00
John Crispin e5d6c00e3b Lantiq: fix build warning from dsl_fs script
fix inclusion of functions.sh in dsl_fs init script

without this, the following error is seen during build:
./etc/init.d/dsl_fs: line 4: /lib/functions.sh: No such file or directory

Signed-off-by: Thomas Langer <thomas.langer@lantiq.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42575 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-16 14:53:06 +00:00
John Crispin 78aaed5904 lantiq: move the lantiq,switch property into the interface node
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42574 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-16 14:53:01 +00:00
John Crispin a0bbe0d6ce postinst trigger: the new postinst trigger broke IB
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-16 11:56:19 +00:00
Zoltan HERPAI e2520eb771 sunxi: add new watchdog compats to reboot code in 3.14
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42558 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-15 21:05:00 +00:00
Zoltan HERPAI 78efb4c9ca sunxi: update profile of A13-OLinuXino to match uboot boardname, required for sdcard image
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-15 19:37:23 +00:00
John Crispin ba33fec925 ar71xx: add qihoo 360 c301 router support
Qihoo 360 C301 is a dual band wireless router supports 802.11n and 802.11ac.
Its chipset is AR9344 + AR9882 with two 16MB flashes.

This patch adds its initial support.

v2:
* use mtd_get_mac_ascii to fetch MAC address for ath10k.
* use ath79_register_pci to initialize AR9882.

Signed-off-by: Weijie Gao <hackpascal@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-15 10:19:38 +00:00
John Crispin da18057e05 lantiq: fix switch init on vr9 SoC (3.10)
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-15 10:19:27 +00:00
John Crispin 0a3bdbd7bc lantiq: fix switch init on vr9 SoC
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42550 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-15 10:19:20 +00:00
John Crispin 8a3628eb5c ar71xx: add board support for ubnt loco m xw
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42549 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-15 10:19:14 +00:00
John Crispin befcefa558 ar71xx: refactor ubnt xw board setup
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42548 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-15 10:19:01 +00:00
John Crispin 228eec0a3c lantiq: add default switch setup to td8970
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-15 10:18:37 +00:00
Hauke Mehrtens 198751bd55 bcm53xx: fix early serial console
This device actually has a 8250 serial with a shift of 0.
Tested this on a BCM4708.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42538 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-14 19:22:49 +00:00
Rafał Miłecki 5dae4fec18 kernel: update bcma to the tag master-2014-09-11 (wireless-next)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42537 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-14 17:31:13 +00:00
Hauke Mehrtens 21b07b57fb kernel: add missing config option
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42536 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-14 15:00:33 +00:00
Rafał Miłecki 283fd507b4 kernel: move bcma patches pushed to wireless-next
We used separated patch for patches that were sent but not accepted yet.
It has changed now, so let's use the standard patch file for them.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42535 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-14 14:58:13 +00:00
Zoltan HERPAI b23fe461c1 sunxi: add sdcard image generation support when board profile is selected
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42534 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-14 13:47:42 +00:00
Zoltan HERPAI 61d5cd647f sunxi: rename pcduino profile to match uboot boardname in prep for the sdcard generator
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-14 13:09:22 +00:00
Hauke Mehrtens f14341ca8a kernel: add missing config option
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42532 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-14 12:06:59 +00:00
Hauke Mehrtens 3ff58fd77a kernel: do not deactivate CONFIG_BLK_DEV
CONFIG_BLK_DEV does not activate any functionality, but many code, but 
makes it possible to activate other options. Deactivating this breaks 
the build of kmod-zram.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42528 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-13 22:10:00 +00:00
Hauke Mehrtens 00f2f858bb kernel: add missing config options
These missing option were found by the build bots.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42527 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-13 21:25:21 +00:00
Hauke Mehrtens 0e4a30a311 kernel: Backport essential fixes for ad799x
This series of patches ports back some fixes of the ad799x driver, which were
commited between 3.10 and 3.15.

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42523 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-13 20:34:44 +00:00
Hauke Mehrtens 21e8979db9 bcm53xx: select nvram package by default
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42522 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-13 20:28:44 +00:00
John Crispin 455c1fabf8 atheros: refresh config
Remove symbols that are now placed in the generic config.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:54:16 +00:00
John Crispin 552fa213dd atheros: convert AR2315 GPIO code to platform driver
Convert gpiolib realization to platform driver and move to the
appropriate subdirectory. Misc GPIO interrupt acknowledgement placed
to the MISC IRQ handler since in fact we can detect only one GPIO state
change.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:54:10 +00:00
John Crispin 7c9ad56d21 atheros: convert AR5312 GPIO code to platform driver
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:54:05 +00:00
John Crispin d2575bd493 atheros: rework chained interrupts handling
Call generic_handle_irq() instead of do_IRQ() for chained interrupts,
remove XXX_NONE interrupts and call spurious_interrupt() when an interrupt
is unexpected.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42510 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:53:58 +00:00
John Crispin e24f039067 atheros: convert gpio.h to stub
Implement to_irq() handler for AR2315 GPIO chip and convert custom
gpio.h header to stub.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:53:53 +00:00
John Crispin 2dfb3a4f2a atheros: rename SoCs config symbols
Rename config symbols to be consistent with other SoCs config symbols
supported by MIPS arch.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:53:48 +00:00
John Crispin c0d10e6028 atheros: add AR2316 and AR2318 SoCs detection
Tested with AR2315, AR2316 and AR2317 SoCs, not tested with AR2318 but
changes seems correct: revision is one more than AR2317.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:53:43 +00:00
John Crispin d4f42472e8 atheros: ar2315-pci: convert to platform driver
Convert the PCI controller support code to platform driver and move it to
appropriate subdirectory.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:53:33 +00:00
John Crispin 611b47149f atheros: ar2315-pci: rename configuration symbol
Rename configuration symbol to be consistent with other MIPS machines.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42505 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:53:27 +00:00
John Crispin 15a0fe7fe1 atheros: ar2315-pci: update DMA offset macroses
Remove duplicated macroses, which define DMA offset (SDRAM baseaddress).

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:53:21 +00:00
John Crispin f92da9dda6 atheros: ar2315-pci: update host bridge resources
It seems that the PCI controller does not support I/O ports, so remove
the ports range. Also correct the beginning of the memory range and its
size.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:53:15 +00:00
John Crispin 594d4ab810 atheros: ar2315-pci: rework the configuration access code
Use __raw_{read,write}l accessors and use Abort interrupt to detect a
configuration space read/write errors. The second change improves errors
detection, what improves the device presence detection and helps us to
avoid following (and similar) errors:

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

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42502 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:53:09 +00:00
John Crispin a815cd075d atheros: ar2315-pci: rework interrupt handling
Add PCI IRQ controller to facilitate interrupt handling, move interrupts
initialization to the IRQ controller initialization from
pcibios_plat_dev_init() callback.

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

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:53:00 +00:00
John Crispin 77a4c61c8a atheros: ar2315-pci: rework host controller initialization
Explicitly configure PCI host controller, and do not expose it to PCI
subsystem. The PCI host controller acts as a usual PCI device connected
to the bus, but its configuration as a usual PCI device is senseless,
since the host controller provide access to _internal_ memory space for
_external_ device.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42500 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:52:55 +00:00
John Crispin 0390584332 atheros: ar2315-pci: cosmetic changes
- add comment, which briefly describes PCI controller features and
   Fonera 2.0g schematics.
 - rename several functions and structures, to make it clear that this
   code only for AR2315 chips.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:52:51 +00:00
John Crispin 1ded17c7b8 atheros: ar2315-pci: remove odd locking in PCI config space access function
Caller (generic PCI code) already do proper locking so no need to add
another one here.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:52:46 +00:00
John Crispin 9427a379f8 atheros: remove odd ATHEROS_AR2315 config symbol dependencies
Remove options which already selected by ATHEROS_AR231X on which
ATHEROS_AR2315 depends.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42497 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:52:42 +00:00
John Crispin 8606fe1b3d atheros: various space related changes
- remove odd blank lines
 - remove odd spaces after casts
 - fix alignment

 No functional changes.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42496 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:52:36 +00:00
John Crispin 88b1a1983a atheros: rework and cleanup board initialization
- remove odd flags and branching
  - add __init mark
  - make shorter variables names
  - returns true or false from boolean functions
  - unwrap short function declarations
  - unwrap quoted string
  - rename macroses with names in CamelCase

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:52:26 +00:00
John Crispin 97a5d59817 atheros: update ether addresses handling
- use ether_foo() routines to work with addresses
 - use ETH_ALEN inplace of magic '6'

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:52:21 +00:00
John Crispin 2113b49116 atheros: remove useless includes
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42493 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:52:14 +00:00
John Crispin e66c3b8925 atheros: ar231x-eth: remove useless IOCTL handlers
These IOCTLs handled in the core now.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:52:07 +00:00
John Crispin 02d37cc0e7 atheros: ar2315-spiflash: use mutex inplace of spinlock
Use mutex inplace of spinlock to make code simple, also call
mutex_{lock,unlock} explicitly to avoid sparse warning about context
imbalance.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:52:00 +00:00
John Crispin 5471f2816d atheros: ar2315-spiflash: update initialization
- fill module metadata
  - remove odd module_{init,exit}

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42490 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:51:51 +00:00
John Crispin 0dcf34e7f4 atheros: ar2315-spiflash: use devm_* API to simplify the code
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42489 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:51:46 +00:00
John Crispin 692156cc12 atheros: remove useless return
Remove useless void function return.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:51:39 +00:00
John Crispin 52c3272bda atheros: remove FSF mailing address
Remove FSF mailing address as suggested by checkpach and place license
URL.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42487 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:51:33 +00:00
John Crispin de8e11ca84 atheros: add blank line after declarations
as suggested by checkpach.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42486 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:51:26 +00:00
John Crispin a52aec95f4 atheros: use static keywork for local code
Make PCI IRQ handler and several structures static as suggested by
sparse.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42485 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:51:10 +00:00
John Crispin bf53842fa3 atheros: use NULL instead of plain integer
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42484 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:51:05 +00:00
John Crispin ea543bff4e atheros: add missing include
Missing this headers cause several sparse "symbol 'foo' was not
declared. Should it be static?" warnings.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42483 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:50:58 +00:00
John Crispin ea4d8f59c8 atheros: avoid extern prototypes
Avoid using of extern prototypes as suggested by checkpatch.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42482 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:50:53 +00:00
John Crispin 0547b47537 ralink: drop 3.10 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42481 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:50:46 +00:00
John Crispin 6dac0c0872 lantiq: update 3.14 patches
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42476 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-11 17:49:57 +00:00
Luka Perkov e5441232a8 kernel: update 3.14 to 3.14.18
Targets were build tested and patches are refreshed.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-10 21:40:19 +00:00
Felix Fietkau a315f10549 atheros: enable the low_mem flag to better deal with 16M RAM devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-10 13:50:10 +00:00
Felix Fietkau cc1bd10ed4 ar71xx: ack completed tx descriptors only after the full frame has been completed
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-10 12:56:24 +00:00
Luka Perkov a01bb4f1af imx6: fix image build for Generic profile.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-09 21:15:49 +00:00
Hauke Mehrtens b36f776369 kernel: drop 3.9 support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42452 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-08 19:55:36 +00:00
Hauke Mehrtens 2f47b07c14 gemini: drop kernel 3.9 support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-08 19:55:00 +00:00
Hauke Mehrtens af2aa0ba4c gemini: switch to kernel 3.10
This switches to kernel 3.10 that was prepared by Hauke in r41531 :
    gemini: add support for kernel 3.10

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

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

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-08 19:54:22 +00:00
Hauke Mehrtens 216c01973c omap: add kernel 3.14 support
It has been compile-tested only so far. Please give it a try.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42449 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-08 19:53:01 +00:00
Hauke Mehrtens 347649a7ee kernel: add bcma patches sent upstream but not pushed yet
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42448 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-08 19:50:53 +00:00
Hauke Mehrtens 6ed55cedbd kernel: update bcma to the version from wireless-testing master-2014-09-04 tag
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-08 19:50:11 +00:00