Commit Graph

13729 Commits (e602e40d2c3fa24ba076dd85c643a029f2d52a92)

Author SHA1 Message Date
John Crispin ebf8e128cc ralink: add pci bidge node to mt7620a dts file
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-03 20:20:46 +00:00
John Crispin f80064d9b4 ralink: fix wan port on whr-1166
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43171 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-03 20:20:40 +00:00
John Crispin 305ac83fa3 ramips: add support for Airlink101 AR670W
This is a RT2880-based board, 32MB RAM, 4MB flash. The bootloader
is a hacked u-Boot that reads an LZMA image directly, so we skip
generating the uImage header and enable the lzma mtdsplit parser.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43153 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-03 08:00:13 +00:00
Felix Fietkau b89672586c kernel: add missing config symbol for 3.13+
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43152 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-02 20:06:41 +00:00
Zoltan HERPAI 5bbc58d33f kernel: 3.18: fix config typo
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43150 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-02 10:12:46 +00:00
Zoltan HERPAI d470b39ad9 sunxi: update devtree name in network setup for pcduino3 as preparing for 3.18
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43149 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-02 10:11:36 +00:00
Hauke Mehrtens f7badb8639 bcm53xx: bcma: get IRQs also from device tree
Add patches for getting the IRQ number for a device of the bcma bus 
that were send for upstream inclusion.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43148 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-01 15:57:30 +00:00
Hauke Mehrtens dbf2e1e971 bcm53xx: set customized AUXCTL
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43146 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-01 13:58:18 +00:00
Hauke Mehrtens 136d642024 bcm53xx: activate early printk
This makes it possible to activate early printk.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-01 13:57:50 +00:00
Hauke Mehrtens 8f02803dbd bcm53xx: refresh patches
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43144 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-01 13:55:02 +00:00
Hauke Mehrtens a60817d7da brcm47xx: add config for kernel 3.18
This adds a kernel config for kernel 3.18

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43140 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-31 23:54:33 +00:00
Hauke Mehrtens 7ae7b70017 kernel: add missing patch for AR8216_PHY_LEDS
The patch adding AR8216_PHY_LEDS was not ported to more recent kernel 
versions.
Thank you swalker for spotting this.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43139 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-31 23:53:32 +00:00
Hauke Mehrtens f2a9d11c71 kernel: refresh patches
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-31 23:50:42 +00:00
Hauke Mehrtens ccd2f8adfd kernel: 3.18: add some missing parts in 721-phy_packets.patch
Some changes from the header file were not ported from older kernel.
Thank you swalker for spotting this.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43137 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-31 23:48:43 +00:00
Hauke Mehrtens 4b8c47639a kernel: add some missing config options
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-31 23:43:10 +00:00
Hauke Mehrtens 804ec1dfc6 kernel: remove wrongly added SYS_HAS_DMA_OPS in r43134
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43135 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-31 23:39:34 +00:00
Hauke Mehrtens e4ac818089 kernel: add patch header and missing part in 132-mips_inline_dma_ops.patch again
The select SYS_HAS_DMA_OPS in CPU_CAVIUM_OCTEON was from the kernel 
patch in 3.13, but it is only included in kernel 3.14 and not in 3.13 
and 3.18, add it again.

Thank you swalker for spotting this.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43134 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-31 23:32:22 +00:00
Hauke Mehrtens 7eba6bff1c mac80211: configuration: Better handling of LIB80211 configuration
Apply patch for kernel 3.10 from r43112 also in 3.12, 3.14 and 3.18.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43133 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-31 23:27:27 +00:00
Hauke Mehrtens aa1c45d95c kernel: kernel 3.18 fix compilation on mips
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-31 21:54:16 +00:00
Zoltan HERPAI 2d7763563d kernel: add missing symbols for 3.18
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43121 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-30 10:15:20 +00:00
John Crispin e6dfc71dd1 ralink: make sure a mii_bus is loaded before accesing its state
this caused a crash on boot

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43120 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-30 10:10:57 +00:00
John Crispin 3a715db92f ralink: load mt7530 driver on the 3 buffalo units
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43119 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-30 10:10:51 +00:00
John Crispin a0c3e95376 ralink: mt7530 - force wan port up
some bootloaders (linksys e1700) set wonky hw trap values. reset this upon boot to make all ports work.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43117 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-30 08:44:00 +00:00
John Crispin 3234f4fe61 vgv7519: fix profile, this board have a rt2800-pci board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-30 08:08:09 +00:00
John Crispin 5152943391 ralink: fix mt7530 for newer silicon revisions
latest mt7530 silicon seems to have a different phy id.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43113 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-30 08:07:49 +00:00
John Crispin 14c26628af mac80211: configuration: Better handling of LIB80211 configuration
OpenWRT patch 255-lib80211_kconfig_hacks gives user possiblity to select
LIB80211 dependant settings (LIB80211_CRYPT_*) without having LIB80211
selected which is wrong.
My patch changes OpenWRT patch so LIB80211 is vissible and all
LIB80211_CRYPT_* options selects LIB80211 automatically.

Signed-off-by: Tomasz Wasiak <tjwasiak@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43112 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-29 21:04:30 +00:00
John Crispin 576cb5c5eb lantiq: vgv7519: fix board_config on dts, read mac address and set
Signed-off-by: Eddi De Pieri <eddi@depieri.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43109 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-29 20:50:40 +00:00
John Crispin a5ef2aabf4 ramips: improve ralink ethernet driver
Change list:
* add tx scatter gather function.
* add software rx vlan offload to let GRO work.
* add jumbo frame support. because use build_skb so max MTU is 3812.
* enable hardware tx vlan.
* enable GRO and remove LRO. because it can improve performance and can work on forwarding.
* enable/fix tx padding function.
* let napi handle tx clean up.
* support ethtool operation. now support message level, hardware status and coalesce.
* ethtool support use mdio to get phy status only on mt7620. need modify dts file and add phy info to support it.

Notes:
* build and test on rt2880, rt3052, rt3352, rt3662, rt5350 and mt7620a.
* TCP NAT performance improve. test with netperf.
  - rt2880(gigabit) from 5x to 12x Mbps.
  - rt3x5x from 6x to 94 Mbps.
  - rt5250 from 5x to 8x Mbps.
  - rt3662(gigabit) from 6x to 42x Mbps with GRO. 23x Mbps without GRO. 66x Mbps with jumbo frame.
  - mt7620 still 94Mbps.
* TSO function not tested. because i don't have mt7620 with eco >= 5. and the hardware don't support to set MSS. it will have problem.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43108 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-29 19:43:59 +00:00
John Crispin 8d61307dec swconfig: last vs tail
sorry .....

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43107 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-29 19:24:16 +00:00
John Crispin 99a6061ffe swconfig: "swconfig list" shows devices in reverse order
Boards that have more than one swconfig enabled switch will show the devices in
reverse order when call swconfig list. Fix this by using list_add_tail().

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43106 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-29 18:51:06 +00:00
John Crispin 344d6e184b ralink: fix switch config on mt7530 evb
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43105 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-29 18:51:02 +00:00
John Crispin 13006543e0 ralink: fix a off by 4 bug in mt7530
0x8100000c vs 0x810000c0 int he pvc register this caused the cascade with an external mt7530 to fail.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43104 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-29 18:49:46 +00:00
John Crispin 1968a036e6 ramips: add support for A5-V11 board (resubmit)
(Reposted due to an issue with the patchwork server during original submission)

Unbranded. Silkscreen on PCB is “A5-V11”, believed to be made by Bococom (or at least uses Bococom image encryption - as used on poray devices - but different key)

Signed-off-by: Gareth Bryan <gareth@mx9.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-29 11:01:17 +00:00
John Crispin 5b5a4abf83 lantiq_dsl.sh: properly detect vdsl_cpe_control and add missing quotes
lantiq_dsl.sh didn't work with VDSL chipsets for now, fix that by
detecting whether vdsl_cpe_control or dsl_cpe_control should be used.
Also add missing quotes around shell string comparision.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-29 08:23:47 +00:00
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
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 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
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
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
John Crispin f0f9e6052f ralink: dwc_otg->dwc2
the old dwc_otg driver is starting to fall apart and fails on newer 3g
modems and some storage devices. switch to the upstream dwc2 driver which
is no longer in staging/.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-08 17:33:16 +00:00
John Crispin 3bafd52ff5 ralink: add dwc2 device_reset() call
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-08 17:32:52 +00:00
John Crispin f7c9bef0e6 lantiq: add ath9k led pin support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-08 14:29:18 +00:00
Zoltan HERPAI 2968cda73e sunxi: re-add lradc driver in 3.14
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-08 07:50:03 +00:00
Felix Fietkau 85666bdac6 ath79: dev-eth: Don't advertise 1gbit in link code word on ar9331
While the AR9331 has a gigabit MAC towards the internal switch, the
integrated PHYs however are only 100-base-tx capable.  The existing code
however advertieses gigabit capability in the link status word.  If you
attach such a PHY to a gigabit capable switch on the remote end, with
some probability it attempts to negotiate gigabit and fails, falling
baco to the AR9331 assuming a 10mbit half-duplex link.  This has been
observed quite frequently with the Carambola2 and gigabit capable
switches.

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

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

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-07 09:45:32 +00:00
Felix Fietkau 327dfd03a4 ar71xx: re-enable descriptor splitting on ar716x after the previous bugfixes (#13072)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42429 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-06 17:51:48 +00:00
Felix Fietkau 3a2661330b ar71xx: fix off-by-one error in packet descriptor splitting (patch from #13072)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42428 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-06 17:51:44 +00:00
Felix Fietkau b083d521df ar71xx: on ar716x, split ethernet packets in 512 byte chunks instead of 256 (improves performance) (patch from #13072)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-06 17:51:39 +00:00
Felix Fietkau 689e691766 atheros: remove linux 3.10
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42426 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-06 17:51:35 +00:00
Zoltan HERPAI 3753c10940 sunxi: bump kernel to 3.14.16
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42425 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-06 15:59:06 +00:00
Zoltan HERPAI f1dd5ef13d sunxi: update pcDuino3 profile to the new u-boot
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42424 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-06 15:57:08 +00:00
Zoltan HERPAI 7c411b6ce9 sunxi: update Bananapi profile to the new u-boot
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-06 15:23:30 +00:00
Nicolas Thill ba4392256f uml: bump to 3.14.16
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42421 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-05 22:02:09 +00:00
Florian Fainelli dfd6f35a8d at91: build images for AT91SAMA5D3XPLAINED
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-03 03:11:25 +00:00
Florian Fainelli fef5fbe680 at91: add SAMA5D3 subtarget
Add a subtarget for Atmel's SAMA5D3 Cortex-A5 based SoCs.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42417 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-03 03:11:11 +00:00
Florian Fainelli bddb362803 at91: move legacy Kconfig options to subtarget
Some Kconfig options are only relevant for the legacy platforms, move
them where they belong

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42416 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-03 03:10:59 +00:00
Florian Fainelli 62d294011e at91: switch to 3.14
We need a new kernel version to support Cortex-A5 based platforms such
as SAMA5GD3.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-03 03:10:47 +00:00
Florian Fainelli 9347de30ec at91: add 3.14 support
Add support for Linux 3.14 for the Atmel's AT91 platform.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-03 03:10:18 +00:00
Florian Fainelli e244d02a5b at91: move 3.10 specific files and patches
In preparation for adding 3.14 kernel support, move files and patches to
a separate per-version directory since some of them will have
incompatible changes (e.g: dts)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-03 03:09:51 +00:00
Florian Fainelli 00dc7e64d9 at91: add Kconfig symbol for CONFIG_USB_ATMEL_USBA
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42412 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-03 03:09:36 +00:00
Florian Fainelli 68304e5bf3 at91: fix typo on Calao
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-03 03:09:14 +00:00
Florian Fainelli f3d1d7c5e6 at91: create a legacy subtarget
In preparation for adding SAMA5D3 support, move the legacy ARMv5 based
platforms to a separate subtarget.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-03 03:08:51 +00:00
Felix Fietkau 98af970617 omap: remove 3.12 kernel patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-02 17:00:46 +00:00
Felix Fietkau d032df6d9e cns3xxx: support isolated PCI interrupts on newer Laguna PCBs
The cns3xxx uses irq61 for pcie0_intr which in the case of a PCIe-to-PCI
bridge ends up combining INTA/B/C/D on a single ARM CPU interrupt. This is
not optimal when you have multiple cores. To overcome this limitation an
enhancement was made on newer Laguna PCB's that support miniPCI cards
to route the INTA/B/C/D signals to unique external ARM CPU interrupts which
can help balance CPU core utilization and in some cases increase overall
system performance or responsiveness.

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

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42400 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-02 16:44:40 +00:00
John Crispin 3651b3452d ipx806x: bump to 3.14.16
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-30 09:59:30 +00:00
John Crispin 50bbe0d6ba target: set myself as maintainer
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42335 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-30 09:59:18 +00:00
John Crispin a297ec8e13 ipq806x: Add support for IPQ806x chip family
Patches are generated using the "format-patch" command from the
following location:
*https://www.codeaurora.org/cgit/quic/kernel/galak-msm/log/?h=apq_ipq_base
*rev=0771849495b4128cac2faf7d49c85c729fc48b20
Patches numbered 76/77/102/103 have already been integrated in 3.14.12,
so they're not in this list.

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

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

These changes do not cover ethernet connectivity.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42334 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-30 09:32:58 +00:00
Felix Fietkau 9f7cb06591 ar71xx: disable ethernet descriptor splitting for now, as it seems to cause tx hangs in some setups
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42333 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-30 09:11:41 +00:00
Florian Fainelli b3ae8e890e kirkwood: fix typos on DEBUG_LL_UART_*
We were prompted for which DEBUG_LL_UART implementation we want, fix the
typos such that the build continues.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42332 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-30 00:32:05 +00:00
Felix Fietkau 5e999d80ce ar71xx: select m25p80 support instead of spi support where used by mach files (#17699)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42331 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-29 21:10:39 +00:00
Felix Fietkau bcbb22a745 ar71xx: split packets into multiple descriptors on ar716x
This improves performance when doing concurrent rx/tx on a single
ethernet MAC, e.g. when routing between VLANs.

Fixes #13072

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42328 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-29 19:42:08 +00:00
John Crispin 329599d565 ralink: DIR-645 picks up incorrect MAC address in DTS file
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42321 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-28 09:19:56 +00:00
John Crispin 6df3c5e310 ar71xx: add Support for RB2011UiAS-2HnD
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42317 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-28 06:27:45 +00:00
John Crispin 147712018c lantiq: BTHOMEHUBV2B use bigger mtd partition for kernel
The bb-rc3 image for the BTHOMEHUBV2B is too big for its
mtd partition. This patch corrects the partition sizes in
the device tree. This patch should really go in before
bb-final, otherwise the BTHOMEHUBV2B images won't be useable.
I do apologise for not spotting this straight away.

Many thanks,

Ben

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42316 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-28 06:27:41 +00:00
John Crispin 6a0b094558 ramips: unbreak i2c for 3.14
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-28 06:05:36 +00:00
Luka Perkov ef2c284ed1 kirkwood: refresh kernel config
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-27 17:14:09 +00:00
Zoltan HERPAI d0d3be5d82 sunxi: initial 3.14 patchset
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42313 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-27 12:09:46 +00:00
John Crispin f0d235bb34 ralink: set 3.14 as default
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42305 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-26 13:12:12 +00:00
Luka Perkov 5060d1a237 imx6: refresh patches
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42297 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 21:50:49 +00:00
Luka Perkov 69db25c816 kernel: 3.14: refresh patches
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42296 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 21:50:48 +00:00
Luka Perkov 0fa1a7271a kernel: 3.14: backport for igb driver resolving a driver crash
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 21:50:47 +00:00
Luka Perkov 4597d3cd3b imx6: kernel: backport upstream fix for IMX6DL 800MHz speed grade
A previous backported patch that adds freq/voltage operating points for the
IMX6DL processor can cause hang/crash (general instability) on IMX6DL
processors in the industrial/automative speed grades as they don't support
1GHz operation.

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

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42294 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 21:50:43 +00:00
John Crispin bea4338ed0 ralink: the mt7620 evb has a usb port
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 16:31:13 +00:00
John Crispin 75682e78bf ralink: a few 3.14 related fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42292 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 16:31:09 +00:00
John Crispin 9ed14a5233 ralink: fix mt7620 ohci 3.14
the ohci phy was not reset properly

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42291 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 16:31:05 +00:00
John Crispin 999bf69541 ralink: fix mt7620 ohci 3.10
the ohci phy was not reset properly

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42290 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 16:31:01 +00:00
John Crispin 96657d8737 ralink: mt7620 has obchi/ehci and not dwc2
fix the default package selection

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42289 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 16:30:57 +00:00
John Crispin 028ad9f1cd kernel: add own Kconfig for OpenWrt mtdsplit drivers
There are pretty many OpenWrt patches against mtd subsystem resulting
in a bit of mess and growing maintenance cost.
My idea is to use an extra "mtdsplit" directory with OpenWrt specific
files (including Kconfig).
This is the first step to achieve this. This patch adds a "mtdsplit"
directory with Kconfig and replaces 4 patches with a single one.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42287 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 16:30:44 +00:00
John Crispin f6c4ee7ac0 ar71xx: use ETH_ALEN for consistency
Signed-off-by: Forest Crossman <cyrozap@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42280 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 06:35:58 +00:00
John Crispin 545045db6b ar71xx: enable sysupgrade for the EnGenius ESR900
Signed-off-by: Forest Crossman <cyrozap@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42279 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 06:35:54 +00:00
John Crispin 6c505b7533 ramips: enable second SPI for VoCore
This patch enables the second SPI as spidev and also fixes some typos.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42277 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 06:35:46 +00:00
John Crispin 724cfaaddc ramips: second spi device on rt5350
This is based on Jon Smirl's patch with the following changes:
- Set CS polarity as low by default.
- Add support for changing CS polarity.
- Add support for changing LSB/MSB.
- Add support for changing SPI mode.
- Fix indentations.

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

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42276 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 06:35:42 +00:00
Hauke Mehrtens 49a8887214 bcm53xx: update bcma device tree intergeneration and fix nvram parsing
This fixes lots of sparse and checkpatch errors and extends the 
documentation.

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

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42272 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-24 15:57:49 +00:00
Florian Fainelli 539e1f880b kernel: remove obsolete 322-ppc4xx-crypto-compile-fix.patch patches
Upstream commit c11eede powerpc: add missing explicit OF includes for ppc was
included in 3.13 and onwards, hence making those patches obsolete.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42263 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-23 02:42:03 +00:00
Hauke Mehrtens 6d6b245249 bcm53xx: add bcm53xxspiflash driver for SPI flashes
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42260 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 21:11:04 +00:00
Hauke Mehrtens 63fbe5f83b bcm53xx: backport more spi-nor patches
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 21:10:29 +00:00
Jonas Gorski 68c0942be4 brcm63xx: Add DT support for P870HW-51a
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: fix nvram partition offset]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42248 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:59 +00:00
Jonas Gorski 6e11bb2ea8 brcm63xx: Add DT support for HG553
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: fix linux partition length]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42247 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:54 +00:00
Jonas Gorski e906c851e9 brcm63xx: Add DT support for HG520v
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: fix nvram partition offset]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42246 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:46 +00:00
Jonas Gorski ec95cb410a brcm63xx: Add DT support for A4001N
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@42245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:43 +00:00
Jonas Gorski 6bf8cb672b brcm63xx: Add DT support for A4001N1
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@42244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:40 +00:00
Jonas Gorski 5771199a96 brcm63xx: Add DT support for WAP-5813n
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: make linux partition writable]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42243 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:37 +00:00
Jonas Gorski 77fbee7119 brcm63xx: Add DT support for VR-3025un
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: make linux partition writable]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:34 +00:00
Jonas Gorski 67f88552ff brcm63xx: Add DT support for VR-3025u
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: make linux partition writable]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42241 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:32 +00:00
Jonas Gorski 21d5dba7ad brcm63xx: Add DT support for AR-5387un
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42240 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:28 +00:00
Jonas Gorski 2d4ba17d54 brcm63xx: Add DT support for AR-5381u
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42239 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:18 +00:00
Jonas Gorski 364a80bb11 brcm63xx: Add DT support for CT-6373
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: make linux partition writable]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:14 +00:00
Jonas Gorski 89f205b198 brcm63xx: Add DT support for CT-5365
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: make linux partition writable]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42237 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:10 +00:00
Jonas Gorski 330287328c brcm63xx: use DT for partitions on SPW500V
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:01 +00:00
Jonas Gorski 66f3f87e6c brcm63xx: dts: fix spelling of "bank-width"
Fixes pflash registration through DT for 6338/6345/6348.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42235 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:27:56 +00:00