Commit Graph

12853 Commits (503bcc99794c5adc0f3b388a51dc1edfcc2f071e)

Author SHA1 Message Date
Luka Perkov 608ad4b693 mvebu: backport mainline patches from kernel 3.12
This is a backport of the patches accepted to the Linux mainline related to
mvebu SoC (Armada XP and Armada 370) between Linux v3.11, and Linux v3.12.
This work mainly covers:

* Ground work for sharing the pxa nand driver(drivers/mtd/nand/pxa3xx_nand.c)
  between the PXA family,and the Armada family.
* Further updates to the mvebu MBus.
* Work and ground work for enabling MSI on the Armada family.
* some phy / mdio bus initialization related work.
* Device tree binding documentation update.

Signed-off-by: Seif Mazareeb <seif.mazareeb@gmail.com>
CC: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-11 02:07:41 +00:00
Luka Perkov a8c10d8f90 mvebu: backport mainline patches from kernel 3.11
This is a backport of the patches accepted to the Linux mainline related to
mvebu SoC (Armada XP and Armada 370) between Linux v3.10, and Linux v3.11.
This work mainly covers:

* Enabling USB storage, and PCI to mvebu_defconfig.
* Add support for NOR flash.
* Some PCI device tree related updates, and bus parsing.
* Adding Armada XP & 370 PCI driver, and update some clock gating
  specifics.
* Introduce Marvell EBU Device Bus driver.
* Enaling USB in the armada*.dts.
* Enabling, and updating the mvebu-mbus.
* Some SATA and Ethernet related fixes.

Signed-off-by: Seif Mazareeb <seif.mazareeb@gmail.com>
CC: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-11 02:07:38 +00:00
Hauke Mehrtens cbcc1ac2be kernel: fix kmod-usb-net-smsc95xx
smsc95xx.ko depends on crc16.ko on kernel >= 3.8
There was an additional kmod-usb-net-smsc95xx definition in the mxs 
target code which conflicted with the one in the common area.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39562 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-10 20:12:13 +00:00
Imre Kaloz 0e84472992 [generic/3.13]: keep initramfs the default for us
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39561 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-10 15:30:01 +00:00
Imre Kaloz 6d0e1cc740 [omap]: don't build in usb stuff
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-10 14:35:20 +00:00
Imre Kaloz 6667de8014 [usb]: additional musb fixups
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-09 16:14:30 +00:00
Imre Kaloz 27cfb5a305 [usb]: move some omap24xx modules to the generic Makefile
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-09 13:01:00 +00:00
Hauke Mehrtens fd3efe9b00 kernel: XHCI PCI quirks for kernel 3.12 and 3.13
This adds empty definitions for the PCI quirks functions when they 
should not be included in the kernel.
This is based on a patch by Daniel <daniel@makrotopia.org>

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



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39534 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-08 16:32:37 +00:00
Hauke Mehrtens 0fa466cec7 kernel: fix bridge compilation on kernel 3.13
The int brnf_call_ebtables in the header should be extern, otherwise 
every object file gets its own int and they will conflict when linking 
the binary.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-08 15:36:03 +00:00
Hauke Mehrtens 4937adbfbd kernel: add missing config symbol for 3.13.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-08 15:31:57 +00:00
Jonas Gorski 95cd513986 mvebu: remove forced module config
These should either be disabled or not present in the config, else
they might cause build issues because of unexpected unpackaged
modules, as it is the case for LEDS_CLASS.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39529 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-08 11:47:33 +00:00
Zoltan HERPAI 6bf1442ba4 [3.13]: and add some more symbols
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39526 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-07 16:55:32 +00:00
Imre Kaloz 333b68b567 [x86_64]: upgrade to 3.13.1
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39525 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-07 16:51:01 +00:00
Imre Kaloz 36f98123b3 [generic/3.13]: add more symbols
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39524 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-07 16:50:26 +00:00
Zoltan HERPAI 7c033cf2ce mxs: bump target to 3.13.1
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-06 21:03:27 +00:00
Zoltan HERPAI 2705c73652 sunxi: bump target to 3.13.1
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-06 21:02:38 +00:00
Zoltan HERPAI 4941c2fdc5 sunxi: various 3.13 usb changes
- disable USB_DEBUG
 - rename reset compat property

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



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39510 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-06 21:01:52 +00:00
Imre Kaloz 9142da0492 [omap]: switch to 3.13.1
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-06 18:32:53 +00:00
Imre Kaloz f8d377994d [omap]: add 3.13 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-06 18:32:03 +00:00
Zoltan HERPAI 0f38875537 sunxi: sun6i-a31 changes
- push remaining sun6i patches for 3.13
 - enable Colombus A31 devboard (compile-tested only)

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



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39487 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-05 21:11:59 +00:00
Hauke Mehrtens f522ddf5f2 atheros: change LINUX_VERSON from 3.8.13 to 3.10.28
The 3.10.x infrastructure has been present for some time, and seems to
run fine here.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39483 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-05 20:03:48 +00:00
Zoltan HERPAI 2d505910f1 mxs: initial 3.13 support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39476 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-05 13:05:39 +00:00
Zoltan HERPAI ae73cde443 mxs: update duckbill DTS to fix include
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39475 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-05 13:03:21 +00:00
Zoltan HERPAI 4083a66c8e sunxi: fix USB voltage on pcDuino
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-05 08:43:49 +00:00
Zoltan HERPAI d1ca9d207a sunxi: initial 3.13 support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-05 08:42:28 +00:00
Hauke Mehrtens 7e03036441 brcm47xx: new patch adding arch workarounds.c
It was recently sent to linux-mips for comments. It adds workaround for
WNR3500L to enable USB port.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39469 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-04 23:32:01 +00:00
Hauke Mehrtens 70b0dad63a brcm47xx: use upstream patch removing WGT634U code
It does the same, it just reorders things

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39468 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-04 23:30:38 +00:00
Hauke Mehrtens fec6cb0c95 brcm47xx: move OpenWrt arch patches a bit further
This allows picking more upstreamed stuff

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-04 23:25:17 +00:00
Hauke Mehrtens aa71585668 bcm53xx: update the bcm53xx patches
This does not add any new features, just some changes to the patches
and a first try to use dt to set the irqs.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-04 23:00:55 +00:00
Hauke Mehrtens 346da3bd4e kernel: bgmac: update bgmac to a version from kernel 3.14-rc1
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39465 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-04 22:55:23 +00:00
Hauke Mehrtens 44a1b2d391 kernel: ssb: update ssb to a version from kernel 3.14-rc1
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39464 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-04 22:54:29 +00:00
Hauke Mehrtens 13ef6bbc9a kernel: bcma: update bcma to a version from kernel 3.14-rc1
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-04 22:53:52 +00:00
Felix Fietkau 30bc36811a kernel: add missing changes to 220-gc_sections.patch that were accidentally dropped during porting to 3.13
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-04 07:35:21 +00:00
Zoltan HERPAI dfbd8d2e79 [3.13]: add missing symbol
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-31 16:04:19 +00:00
Zoltan HERPAI 34c49dcc5e sunxi: boot changes
- Added uEnv.txt to facilitate automatic boot.
 - Cosmetic fix in u-boot Makefile
 - Don't force command line arguments

Signed-off-by: Zalan Blenessy <zalan.blenessy@gmail.com>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-31 15:53:53 +00:00
Gabor Juhos 758db55561 ar71xx: dragino2: add missing sysupgrade support.
The original dragino2 board support was missing some changes from the
upstream svn repository (http://svn.dragino.com/dragino2) that supported
sysupgrade.

[juhosg: change subject]

Signed-off-by: Karl Palsson <karlp@remake.is>
Patchwork: http://patchwork.openwrt.org/patch/4801/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39429 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-30 17:08:02 +00:00
Gabor Juhos da5a47f0be kernel/3.1x: yaffs: fix handling of small-page NAND devices
Since the yaffs code update (r39084), it is not
possible to install OpenWrt on RouterBoards with
small-page NAND chips. Fix the yaffs code to make
it work again.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-28 17:30:25 +00:00
Zoltan HERPAI c977768c4f [3.13]: add missing symbol
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-27 19:30:01 +00:00
Zoltan HERPAI b16b1247f8 mxs: make config and patches versioned
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39405 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-27 19:29:04 +00:00
Florian Fainelli d15698a561 brcm63xx: fix warning in Redboot code
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39404 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-27 04:34:39 +00:00
Gabor Juhos ca9a8dc717 x86: remove 3.6 support
The 3.6 kernel isn't used by any of the x86 subtargets, so remove it.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-26 17:42:26 +00:00
Gabor Juhos 20d37251ae ar71xx: swconfig: use the local helper to set LED brightness on link down
Use the 'swconfig_trig_set_brightness' function to set
the brightness value of the LED when the link goes down.
This ensures that the last brighness value is saved into
a local variable which is used to track the actual LED
status.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39402 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-26 16:46:21 +00:00
Gabor Juhos 2c12615b7b ar71xx: wpe72: set active_low flag for the reset button
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-26 14:55:34 +00:00
Gabor Juhos 6ffca5f8ab ar71xx: wp543: set active_low flag for the buttons
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39400 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-26 14:55:32 +00:00
Gabor Juhos ae7072b9ff kernel: update 3.10 to 3.10.28
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39399 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-26 11:30:34 +00:00
Gabor Juhos 66745cce93 ar71xx: image: reserve 4 erase blocks on the TP-Link devices
This ensures that the generated images will have enough erase
blocks for JFFS2.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-25 18:12:13 +00:00
Gabor Juhos 1ba627f03b ar71xx: archer c7: define LEDs connected to the AR8327 switch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-25 11:16:59 +00:00
Gabor Juhos 2ecc39baaf ar71xx: image: move WNDAP360 macro
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-25 08:31:45 +00:00
Gabor Juhos fca9b2b99c kernel/3.8: update pci_disable_usb_common_quirks patch
Fix build errors caused by undefined 'usb_disable_xhci_ports'
symbol.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-25 08:25:05 +00:00
Gabor Juhos 4ce8df7474 ar71xx: fix bad RX sensitivity on newer TL-WDR4300 boards
On recent TL-WDR4300 boards the external LNAs of the 2.4GHz
interface are connected to GPIO lines. Because these GPIO
lines are disabled by default, the RX sensitivity of the
device is quite bad.

Setup the GPIOs of the external LNAs to fix the issue.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39392 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-24 17:40:17 +00:00
Gabor Juhos a03765d9c1 ar71xx: image: generate sysupgrade images for the Compex boards
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39391 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-24 17:15:03 +00:00
Gabor Juhos 9cf7b25395 ar71xx: add sysupgrade support for the Compex boards
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-24 17:15:02 +00:00
Gabor Juhos 62ba78a061 ar71xx: image: use a single firmware partition on Compex devices
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39389 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-24 17:15:01 +00:00
Gabor Juhos b33a6e836f ar71xx: enable MTD_SPLIT_LZMA_FW option
It will be used for Compex devices.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39388 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-24 17:15:01 +00:00
Gabor Juhos 83c85ada71 kernel/3.1x: add split code for LZMA compressed kernel based firmwares
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39387 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-24 17:14:59 +00:00
Gabor Juhos f17ed6238c ar71xx: image: detect partition sizes in the Image/Build/Ath macro
Get the size of the mtd partitions directly from the
MTD layout and remove the superfluous macro parameters.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-24 11:59:35 +00:00
Gabor Juhos cb3f2947b1 ar71xx: image: fix size verification in the CatFiles macro
The macro checks the size of the rootfs image even if
the second parameter of the macro contains the size of
an eraseblock. It is wrong because the size of the
kernel image will be adjusted to the next eraseblock
and the resulting image might be too large.

Fix the macro to check the size of the final image
instead of the rootfs image.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-24 11:59:32 +00:00
Gabor Juhos 4d7fd74a79 Revert "kernel: create firmware partition from MyLoader partition parser"
This reverts r38197.

The automatically created firmware partition includes
the partition_table partition. Apart from the partition
table, this partition contains sensitive data on some
Compex devices which data can be destroyed when the
firmware partition gets modified. Revert the change to
prevent that.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39382 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-24 08:48:10 +00:00
Gabor Juhos 012e39533b ar71xx: ap83: define mtd layout via command line
Also use the RKuImage macro becasue the original
firmware starts with the rootfs.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39379 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-23 16:47:42 +00:00
Gabor Juhos 7440134ef2 ar71xx: ap81: define mtd layout via command line
Also use the RKuImage macro becasue the original
firmware starts with the rootfs.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-23 16:47:41 +00:00
Gabor Juhos ce15b12727 ar71xx: image: show size limit in warning messages
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39376 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-23 12:27:28 +00:00
Gabor Juhos 1a9d146ed5 ar71xx: add initramfs image support for Compex devices
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39375 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-23 12:23:10 +00:00
Gabor Juhos 8239906df5 ar71xx: wp543: use KEY_RESET code for the sw4 button
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39374 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-23 12:23:08 +00:00
Luka Perkov 3cac2d1206 ar71xx: create wndr3700 network config from uci-defaults
Since that was the last configuration in defconfig directory we can drop the
defconfig init script too.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39373 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-23 11:33:42 +00:00
Gabor Juhos 327d5f976f kernel/3.10: update pci_disable_usb_common_quirks patch
Fix build errors caused by undefined 'usb_disable_xhci_ports'
symbol.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39369 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-23 09:07:49 +00:00
Gabor Juhos 6067d54c05 mpc85xx: Fix building ramdisk images
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39368 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-23 06:55:58 +00:00
Gabor Juhos 2f526b79cb mpc85xx: Remove inittab workaround
The default inittab uses "askconsole" which is implemented by procd
and uses the console provided by the kernel command line.

Hence, this platform specific workaround is not necessary anymore.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-23 06:55:50 +00:00
Florian Fainelli cf66f9eb86 brcm63xx: enable support for BCM63268
Support for the BCM63268 is usable, enable it by default.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39364 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-21 18:50:26 +00:00
Florian Fainelli c6d3b75ca3 brcm63xx: add support for BCM963269BHR board
Add kernel support for the BCM963269BHR board, USB and Ethernet switch,
LEDs and buttons are working.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39363 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-21 18:50:11 +00:00
Florian Fainelli 8ebd31310d brcm63xx: improve BCM63268 support
Allow using the HSSPI controller since it works just fine, as well as
the integrated switch core, since that one works too.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-21 18:49:50 +00:00
Gabor Juhos d9e5296e8f ar71xx: mynet-n750: define LEDs connected to the AR8327 switch
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
Patchwork: http://patchwork.openwrt.org/patch/4743/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39361 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-21 17:17:42 +00:00
Zoltan HERPAI 784084850a modules: swconfig.c: update the error path on 3.13, and behave nicely with return
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39360 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-21 14:43:50 +00:00
Zoltan HERPAI 6e1ec287bf modules: update swconfig.c to compile on 3.13 (compile-tested)
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39359 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-21 14:24:45 +00:00
Zoltan HERPAI 6e4da6b956 [3.13]: add missing symbols
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-21 14:23:00 +00:00
Jonas Gorski aa5c14cdf2 kernel: ocf: add missing dependency for hifn driver
The HIFN driver is a PCI driver, thus requires PCI support to be enabled
to compile. Therefore let it depend on PCI..

Should fix mvebu builds.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39357 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-21 12:11:18 +00:00
Zoltan HERPAI ed0159e0a4 [3.13]: add missing symbols
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39355 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-21 07:53:11 +00:00
Hauke Mehrtens e6007e192a b53: use drvdata to store driver data
we should not abuse the platform_data pointer.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39354 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-20 20:01:22 +00:00
Hauke Mehrtens 6bb0e2caf4 b53: make b53_switch_reset_gpio() static
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-20 19:07:18 +00:00
Zoltan HERPAI 343d96fd0e [3.13]: update ocf patches
- as ENT_DEBUG is removed, move the messages into pr_notice

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



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39350 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-20 15:23:27 +00:00
Imre Kaloz d5038a1a51 [3.13]: update/fixup overlayfs patch
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39349 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-20 14:46:29 +00:00
Imre Kaloz 11d25cc460 [generic]: add initial 3.13 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39348 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-20 13:56:24 +00:00
Gabor Juhos fc0d4189c3 ar71xx: tl-wr1043nd-v2: define LEDs connected to the AR8327 switch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39346 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-20 10:23:06 +00:00
Gabor Juhos a822f0a04d ar71xx: tl-wdr4300: define LEDs connected to the AR8327 switch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-20 10:23:05 +00:00
Gabor Juhos 9497f61cc1 ar71xx: set default LED config for the RB2011* boards
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39344 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-20 10:23:04 +00:00
Gabor Juhos 52f88507ce ar71xx: set status_led for the RB2011* boards
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39343 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-20 10:23:03 +00:00
Gabor Juhos 3ac3d5f27d ar71xx: fix indentation in diag.sh
Replace the leading spaces with tabs.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39342 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-20 10:23:02 +00:00
Gabor Juhos 6bf1049b21 ar71xx: rb2011: define LEDs connected to the AR8327 switch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39341 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-20 10:23:01 +00:00
Gabor Juhos c9fe1e2be5 ar71xx: enable AR8327 LED support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39340 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-20 10:23:00 +00:00
Gabor Juhos 2ea77c117b kernel/3.1[02]: add AR8216_PHY_LEDS option
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39339 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-20 10:22:59 +00:00
Gabor Juhos e4e8b26a37 generic: ar8216: add custom LED support for the AR8327 switch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-20 10:22:56 +00:00
Gabor Juhos 313b626705 generic: ar8216: allow to use chip specific cleanup callback
It will be used for AR8327.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-20 10:22:55 +00:00
Gabor Juhos c0ce66837e generic: ar8216: add optimized rmw operation
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-20 10:22:54 +00:00
Gabor Juhos 6e0940ab38 ar71xx: rb2011: fix eth5 LED
The eth5 LED on the RB2011 is not working because the
LED control rule is missing. Fix it.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39335 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-20 10:22:49 +00:00
John Crispin 1391153fe2 ralink: activate xhci config
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39330 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-19 17:27:31 +00:00
John Crispin 56e5be943d ralink: backport various fixes from linux-mti
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-19 17:27:22 +00:00
John Crispin cbd4880e3c ralink: add xhci driver
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39328 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-19 17:27:13 +00:00
Jonas Gorski 8e8c4d76c3 brcm63xx: fix typo breaking build in r39325
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-19 14:00:18 +00:00
Jonas Gorski 7b6a9cdb85 brcm63xx: set usb host port number for some devices
Update a few devices with their actual port numbers, especially those
with two ports.

Should allow properly using the second port on the Neufboxen and HW553
and HW556.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39325 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-19 13:46:25 +00:00
Jonas Gorski 0a591288e2 brcm63xx: allow setting the number of usb host ports for boards
Allow setting the number of available usb host ports for boards with
additional sanity checks to allow using the second port on devices
where it is available.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39324 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-19 13:46:14 +00:00
Jonas Gorski 97174e266f brcm63xx: add USB support for BCM63268
Add and enable USB support for the BCM63268 family of SoCs.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-19 13:46:05 +00:00
Jonas Gorski bb35646894 brcm63xx: BCM6318 needs to select _HAS_OHCI/EHCI too
USB will fail to work if compiling with BCM6318 only if BCM63XX_HAS_EHCI
and BCM63XX_HAS_OHCI are not selected.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39322 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-19 13:45:55 +00:00
Jonas Gorski 1a2e8d8f27 brcm63xx: prevent usb clock state inconsistency on BCM6318
Return the same clock for usbh and usbd on BCM6318 to prevent the clock
getting disabled despite being supposed to be enabled, e.g. by the
following sequence:

	clk_enable(usbh); <- usbh->usage = 1, enabled
	clk_enable(usbd); <- usbd->usage = 1, enabled (no effect)
	clk_disable(usbd); <- usbd->usage = 0,  -> disabled!

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39321 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-19 13:45:42 +00:00
Imre Kaloz 7804da9d6e [ar71xx]: generate images for the On Networks N150 (rebranded Netgear WNR612v2)
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39320 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-18 19:44:40 +00:00
Florian Fainelli 07eb492643 brcm63xx: do not add twice the same field to board
Changeset r39302 updated a board section and added twice .has_ehci0,
this is not necessary, so fix it.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39304 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-16 00:45:19 +00:00
John Crispin ac3caf5ea4 lantiq: Add support for Astoria ARV7510PW22
This board is pretty similar to ARV752DPW22.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39303 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-15 19:16:51 +00:00
Florian Fainelli 91594d2f84 brcm63xx: add USB support to BCM6318
BCM6318 has a special initialization sequence which involves touching
PLL control registers in the USBH_PRIV register space, as well as
toggling a bit the Simulation control register.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39302 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-15 19:05:57 +00:00
Luka Perkov 830cc0c621 mvebu: fix build failures when initramfs is not selected
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39301 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-15 18:38:51 +00:00
John Crispin cf7697def4 ramips: Add profile for the Edimax BR-6475nD
Signed-off-by: Christopher Lais <chris+openwrt@zenthought.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39299 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-15 18:29:51 +00:00
John Crispin 00482d1b77 ramips: Add userspace support for the Edimax BR-6475nD
The rt2x00 wifi driver may still need updating to
function with this device.

Signed-off-by: Christopher Lais <chris+openwrt@zenthought.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39298 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-15 18:29:44 +00:00
John Crispin bbbec80e51 ramips: rt3883: Fix a typo in rt3883.dtsi
Signed-off-by: Christopher Lais <chris+openwrt@zenthought.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39297 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-15 18:29:03 +00:00
Luka Perkov e0afecf748 lantiq: update kernel configuration
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39296 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-15 14:11:36 +00:00
Florian Fainelli 55ee2d5854 brcm63xx: fix BCM96318MVWG LEDs
Power LED is not active low, and ppp-fail is red, not green.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39294 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-15 00:06:08 +00:00
Florian Fainelli 3a7d2c894e brcm63xx: remove config-3.11
This was not supposed to be committed, remove it.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-15 00:05:51 +00:00
Florian Fainelli 1b2c77588b brcm63xx: 96368MVWG supports USB gadget, enable it
Enable the use of the USB gadget device at the board level so we can use
bcm63xx_udc on this board.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39292 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-14 23:56:46 +00:00
Florian Fainelli 83567d367c brcm63xx: replace gadget driver build fix with upstream submission
Also fixing a build warning due to a misplaced parenthesis in the
previous submission.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39291 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-14 23:56:28 +00:00
Florian Fainelli 9b4d6818c3 brcm63xx: add support for the BCM96318REF_P300 board
Very similar to the BCM96318REF board except for the name and the
SDRAM/DDR configuration which is totally transparent for us.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39286 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-14 05:24:19 +00:00
Florian Fainelli 2c33d1fc8f brcm63xx: enable 6318 support
BCM6318 support is usable enough to be enabled by default, turn it on.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-14 05:23:58 +00:00
Florian Fainelli 9c9989b205 brcm63xx: add basic support for the BCM96318REF board
Add basic support for the BCM96318REF board which is comprised of:
- HS-SPI flash support
- Ethernet switch support
- USB slave device support

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-14 05:23:49 +00:00
Florian Fainelli b3476a2a89 brcm63xx: improve BCM6318 support
Provide clock toggling for the USB host and slave controller as well as
for the Ethernet Switch. The bcm63xx_enetsw driver is changed not to use
request_mem_region() as the Roboswitch register overlaps with the
Roboswitch IUDMA channels, hence making the driver return -EBUSY. A
future fix might be to use variable size RSET_ENETSW sizes depending on
the chip we are targetting.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-14 05:23:39 +00:00
Florian Fainelli cbbb8fc7ce brcm63xx: package the USB gadget module (bcm63xx_udc)
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39281 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-14 05:23:20 +00:00
Florian Fainelli 1a7560eba0 brcm63xx: target supports USB gadget devices
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39280 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-14 05:23:08 +00:00
Florian Fainelli 4e256324bc brcm63xx: fix USB gadget build failure after 6345 Ethernet
While adding support for BCM6345 Ethernet, some changes in the macros
ENETDMA{C,S} where introduced which now make the bcm63xx USB gadget
driver fail to build. Fix this.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39279 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-14 05:22:59 +00:00
Florian Fainelli f9967b821f brcm63xx: allow HSSPI registration on 6318
A missing condition check in dev-hsspi.c prevented the controller from
being registered on 6318 where it is fully functional.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39278 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-14 05:22:45 +00:00
Florian Fainelli 4db0a8d932 brcm63xx: fix build failure on varid
varid might both unused and unitialized when building for e.g: bcm6318,
fix these two warnings turned into errors.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39277 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-14 05:22:31 +00:00
Zoltan HERPAI 9e7aa82658 sunxi: fix image generation
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39276 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-13 16:18:02 +00:00
Jonas Gorski 8f95467bfa brcm63xx: fix ohci frame number offset
BCM63XX's ohci controller does not need the frame number shift, but that
was guarded with a PPC symbol. Fix this by making the no-fix generally
available.

This is a regression from the previous conversion to ohci platform driver.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39274 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-13 12:21:08 +00:00
Jonas Gorski d5aad481bb brcm63xx: fix spi flash setup on (at least) some reference boards
CFE seems to leave the SPI flash mapping in an invalid state after
loading the kernel on some reference boards, so fix it up on boot.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39273 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-13 12:14:12 +00:00
Jonas Gorski 6480394979 brcm63xx: add initial support for BCM6318
Add inital support for BCM6318, but keep it disabled for now until
most things are supported.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39272 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-13 12:14:02 +00:00
Jonas Gorski 17ac1d5234 brcm63xx: add initial support for BCM63268
Add initial support for the BCM63268 family of SoCs, but keep it
disabled for now as most things don't work yet.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39271 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-13 12:13:51 +00:00
Jonas Gorski ba2468c4a1 brcm63xx: fix the pcie window size
The low PCIe window on BCM6328 and BCM6362 is actually only 1 MiB big,
not 16 MiB.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39270 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-13 12:13:39 +00:00
Jonas Gorski dea433a4e9 brcm63xx: add support for chip variants
Some SoCs have variants which are mostly the same, but use a different
chip id (or not). Add code for detecting them and handling them as
their standard counterparts.

This adds support for e.g. BCM6369.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-13 12:13:26 +00:00
Jonas Gorski ef061ea83a brcm63xx: remove non runtime detect and refresh affinity patches
Remove the non runtime detect code since its effectiveness is dubious
and almost never used.
Also update affinity patches to work on top of it.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39268 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-13 12:13:15 +00:00
Jonas Gorski e854f846a1 brcm63xx: update bmips patches with upstream submission
Update bmips cleanup patches with upstream submission and backport a few
bmips fixes.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39267 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-13 12:13:05 +00:00
Jonas Gorski d9d3c10863 brcm63xx: spi flash on legacy spi controller needs the workaround
Fixes generic SPI flash accesses on BCM6358/BCM6368. BCM6338 still needs
additional fixes for M25P80, so it remains broken for now.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39266 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-13 12:12:50 +00:00
Jonas Gorski 02c8d6aa27 brcm63xx: fix legacy spi tranfers >= 256 bytes
Fixes e.g. SPI flash access on BCM6358/BCM6368. Transfers < 256 bytes
are not affected.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39265 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-13 12:11:58 +00:00
Jonas Gorski 7bcc344cf4 brcm63xx: update HSSPI driver with upstream submission
Update the HSSPI driver with the upstream submitted one that has a
workaround for the auto cs down issue.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-13 12:11:45 +00:00
Zoltan HERPAI 4f7246ea08 sunxi: various changes
- rename hstimer DT on sun5i to avoid confusion
 - add Cubietruck support
 - select watchdog by default
 - select rtc in profiles where appropriate
 - cosmetic changes

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



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39263 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-12 19:23:29 +00:00
Hauke Mehrtens 8a22f204c2 x86: remove unused code for kernel 3.7
There are no generic patches for kernel 3.7 any more, remove this stuff.

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



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39262 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-12 19:17:49 +00:00
Hauke Mehrtens ade4aa1014 brcm47xx: add brcmsmac + bgmac profile
Signed-off-by: Cody P Schafer <devel@codyps.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39258 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-12 19:04:54 +00:00
Hauke Mehrtens fbc1c16f1b brcm47xx: parse model from cpuinfo
Instead of looking into the proc entry provided by broadcom-diag use
the board info from /proc/cpuinfo to get the board we are on.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-12 18:56:57 +00:00
Hauke Mehrtens 3d734a755e brcm47xx: fix led indication
Use the new led api also on brcm47xx.
The led for failsafe indication is searched for.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39255 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-12 18:56:36 +00:00
Hauke Mehrtens 3f35d3a8f2 brcm47xx: fix network failsafe indication
Remove the code used on the old switch driver.
The Ethernet drive is loaded as a module and needs some time to get up
therefor we added some wait function.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39254 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-12 18:56:15 +00:00
Hauke Mehrtens f57b7b150f brcm47xx: do not use broadcom-diag
This makes brcm47xx target use the default gpio led and button driver
and not broadcom-diag any more.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39253 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-12 18:55:52 +00:00
Hauke Mehrtens f6d2f50c9b brcm47xx: add new led and button support
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39252 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-12 18:55:25 +00:00
Hauke Mehrtens 0d0ce9938c brcm47xx: update some patches to versions in linux mainline
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39251 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-12 18:54:38 +00:00
Hauke Mehrtens 1b5902d16c brcm74xx: fix patch for BCM4706 CPUs
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39250 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-12 18:51:45 +00:00
Hauke Mehrtens b26aeffe76 brcm47xx: update mtd drivers
This backports some patches from linux upstream.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-12 18:50:45 +00:00
John Crispin efd0e137a7 ralink: don't build mkhilinkfw untilt he ssl header dependency is resolved
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39248 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-12 17:26:24 +00:00
Gabor Juhos e065a7b0e1 mpc85xx: preallocate SPI transfer buffer
This helps to avoid high order alloction failures.
Closes #14702.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39247 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-12 14:16:18 +00:00
John Crispin 0aa70a39ed ralink: fix eeprom loading
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-12 14:03:15 +00:00
John Crispin 12f9439621 ralink: fix WHR-600D and WHR-300HP image generation
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39241 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-12 12:12:58 +00:00
John Crispin 24755680a3 ralink: fix WHR-600D pcie support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39240 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-12 12:12:53 +00:00
John Crispin 5278bbb196 ralink: add HLK-RM04 support
https://github.com/JiapengLi/OpenWrt-HiLink-HLK-RM04

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39237 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-12 12:07:40 +00:00
John Crispin 1d19360bdf ralink: switch to askconsole
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-12 12:07:34 +00:00
John Crispin 2f5b67a466 ralink: fix uartf memory range size
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39235 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-12 12:07:30 +00:00
John Crispin 1ba82b12c7 ralink: honour memory@0 node
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39234 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-12 12:07:26 +00:00
John Crispin 8abf84130a ralink: fix rt5350 ethernet
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39233 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-12 12:07:20 +00:00
John Crispin c537a63fcf lantiq: improve Arcadyan ARV4510PW support
Arcadyan ARV4510PW has already a build profile in OpenWrt, but it is
severely lacking. This patch brings it up-to-date.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-12 12:07:07 +00:00
Zoltan HERPAI 420b0256ae sunxi: various changes
- let LBDAF be set by generic config
 - add high-speed timer support
 - refresh sun5i USB patch

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



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39223 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-11 21:58:29 +00:00
Zoltan HERPAI 1849621f2d sunxi: add support for Olinuxino A10 LIME
Signed-off-by: Zalan Blenessy <zalan.blenessy@gmail.com>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39222 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-11 17:19:04 +00:00
Gabor Juhos d3305e8570 kernel: update 3.10 to 3.10.26
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39220 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-11 16:06:37 +00:00
Gabor Juhos 95b66c3111 ar71xx: ag71xx: increase calculated max frame length value
The r39147 commit introduces a regression: at lease on some routers
with ar8216 switch large packets get lost if 802.1q tagged port is
used on the interface connected to the aforementioned switch.

The r39147 changes code in the way so interface is set to accept
packets no longer than max ethernet frame length for a given mtu.

Unfortunately ar8216 has a feature: it sends two additional bytes
as a packet header and those this header needs to be added to the
max frame length. Otherwise long enough packets get lost.

The problem only manuifests itself if interface is used in vlan
tagged mode. If interface is untagged then ar8216's header fits
into space used by 802.1q tag and not packets are lost.

Include two additional bytes in the max frame length calculation
to fix the issue.

This patch is tested and works with Trendnet TEW-632BRP.

Signed-off-by Nikolay Martynov <mar.kolya@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4656/
[juhosg:
  - simplify the patch to include the additional bytes of the
    switch header unconditionally,
  - change subject and update commit message]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39219 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-11 11:15:30 +00:00
Zoltan HERPAI e3ff34b20c sunxi: add/refresh patches for cubieboard2
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39218 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-10 10:47:41 +00:00
Gabor Juhos 07a167f52a ar71xx: my net n750: simplify LNA GPIO setup
Use the ath79_wmac_set_ext_lna_gpio helper instead
of exporting the GPIOs.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39217 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-10 09:37:59 +00:00
Gabor Juhos 14a9bf5262 ar71xx: my net n600: simplify LNA GPIO setup
Use the ath79_wmac_set_ext_lna_gpio helper instead
of exporting the GPIOs.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39216 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-10 09:37:58 +00:00
Gabor Juhos fee259994b ar71xx: add a helper function for external LNA GPIO setup
The built-in wireless MAC of the AR934x SoC can handle
external LNAs and the control signal of the LNAs can be
routed to any GPIO line. Add a helper function which
can be used to configure the GPIO lines.

The helper function will be used for AR934x boards
which are using externel LNAs to improve sensitivity.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39215 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-10 09:37:57 +00:00
Gabor Juhos 14311df9f8 ar71xx: Fix WD My Net N600 weak signal issue
The LNAs need to be enabled by setting their respective GPIO to high even
though the original firmware's setting sets them to low on initialization.

Obviously the LNAs are then later initialized by the driver on the OEM
firmware. Without this fix the device is mostly "deaf".

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
Tested-by: Steven Haigh <netwiz@crc.id.au>
Patchwork: http://patchwork.openwrt.org/patch/4689/
[juhosg:
  - remove the GPIO LED changes, the My Net N600 has no yellow LEDs at all,
  - change subject and update the commit message]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39214 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-10 09:07:12 +00:00
Gabor Juhos f94b395b53 ar71xx: Fix WD My Net N750 weak signal issue
The LNAs need to be enabled by setting their respective GPIO to high even
though the original firmware's setting sets them to low on initialization.

Obviously the LNAs are then later initialized by the driver on the OEM
firmware. Without this fix the device is mostly "deaf".

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
Patchwork: http://patchwork.openwrt.org/patch/4688/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-10 09:07:11 +00:00
Imre Kaloz b3160a58e8 add x86_64 target support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39208 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-07 12:23:35 +00:00
Imre Kaloz bb345ab0e8 move most of the x86 image generation options to the main file
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39206 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-07 10:18:55 +00:00
Zoltan HERPAI 17e2790ed7 sunxi: refresh usb vbus patch
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39205 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-06 23:34:31 +00:00
Zoltan HERPAI de3d2ebb0d sunxi: various fixes
- DT: update USB vbus from 3.3v to 5v
 - emac: add missing free_irq
 - DT: add emac aliases
 - DT: fix interrupts on A20
 - modules: add watchdog module
 - don't compile in mac80211
 - don't compile in usbnet

Thanks to Hans de Goede, Zalan Blenessy et al.

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



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-06 21:51:39 +00:00
Hauke Mehrtens 9325c51a43 bcm53xx: make the l2x0 L2 cache controller work
This fixes the DMA problems with the Ethernet driver.
This also updates some other parts of the patches.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39203 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-04 23:46:44 +00:00
Hauke Mehrtens cd0a4c8d59 bcm53xx: update the ethernet core hacks
The PHY always says there is no link
Instead of doing this dma sync a mdelay does the same trick and it is as unreliable.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39202 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-04 18:27:09 +00:00
Hauke Mehrtens 70bc9601ba kernel: bgmac: update the driver patches to a version submitted for mainline kernel.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39201 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-04 18:25:05 +00:00
Zoltan HERPAI 0a03f4646f sunxi: emac changes
- move emac into module
 - add into profiles where appropriate

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



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39200 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-04 17:33:44 +00:00
Zoltan HERPAI 086b451c9e sunxi: add sata driver to profiles where appropriate
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39198 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-04 16:39:31 +00:00
Zoltan HERPAI 17a9e49815 sunxi: add sata driver for sun[47]i
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39197 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-04 16:30:56 +00:00
Zoltan HERPAI 8f91037956 sunxi: move sunxi-sid (security ID) off to module
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39196 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-04 13:46:43 +00:00
Zoltan HERPAI 24f6cc742b sunxi: move rtc off to module
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39195 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-04 12:47:51 +00:00
Zoltan HERPAI b80a6ba693 sunxi: add the actual mmc driver
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39194 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-04 11:08:27 +00:00
Zoltan HERPAI cc95556d41 sunxi: delete a31 reset for now in lack of the mach split
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39193 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-04 11:02:16 +00:00
Zoltan HERPAI bc90187e9b sunxi: add support for pcDuino board
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39190 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-04 10:06:17 +00:00
Zoltan HERPAI 287caacfbc sunxi: add mmc support
- add MMC support for sun457i
 - update kernel config to compile in MMC and ext4
 - update kernel cmdline

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



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39189 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-04 10:02:01 +00:00
Zoltan HERPAI 14ea35c304 sunxi: various fixes
- have Kconfig options ordered
 - add new olinuxino a13-micro board
 - various fixes for EHCI

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



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39188 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-04 09:55:41 +00:00
Zoltan HERPAI c34b5d2beb sunxi: remove sun6i/7i split for now
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39187 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-04 09:49:44 +00:00
Zoltan HERPAI f645600f01 sunxi: refresh clock framework
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39186 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-04 09:47:50 +00:00
Luka Perkov c406bef2d0 ixp4xx: upgrade: don't copy extra binaries
hexdump is already added to new temporary file system while less is not used at
all. While at it, remove some trailing whitespaces.

Signed-off-by: Luka Perkov <luka@openwrt.org>
CC: Imre Kaloz <kaloz@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39181 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-30 23:49:25 +00:00
John Crispin c18a4e048c ralink: fix tso regression in the ethernet driver
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39168 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-27 21:14:49 +00:00
Hauke Mehrtens 232ac1e9a1 brcm47xx: fix cpu wait for BCM4706
This was called to early.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-26 23:30:10 +00:00
Hauke Mehrtens 5627388168 brcm47xx: b44: This updates the phylib patches to the version send upstream
This uses a fixed phy instead of a dummy one.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39166 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-26 23:27:52 +00:00
Hauke Mehrtens cbfb4a3594 kernel: bgmac: update patches
This updates the bgmac backport patch to the current upstream version 
and adds some more patches mostly for BCM4707.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39165 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-26 23:22:31 +00:00
John Crispin 4470e662e6 ramips: add support for RT-N14U (mt7620n based) board
added dts file and userspace scripts modified to support Asus RT-N14U board

current support status:
usb        works
ethernet   works
buttons    reset, wps
leds       asus:blue:[usb|lan|wan|air|power]
i2c        not tested
uart       not tested
wifi       not yet

Signed-off-by: Pavel Löbl <lobl.pavel@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39163 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-25 17:04:50 +00:00
John Crispin 81aaef64b0 ramips: add gpio pin 72 in mt7620 chips to dtsi files
describes register set to control last gpio pin on mt7620 platfrom

Signed-off-by: Pavel Löbl <lobl.pavel@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39162 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-25 17:04:34 +00:00
Gabor Juhos 18e825e907 ar71xx: fix max frame length of the QCA955x SoCs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39161 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-23 17:05:23 +00:00
Gabor Juhos 01fe21d196 ar71xx: don't set builtin_switch flag for QCA9558
It makes no sense, the SoC has no built-in switch.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39160 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-23 17:05:21 +00:00
Gabor Juhos e571ba4710 x86/kvm_guest: remove 3.7 support
Patch-by: Stijn Tintel <stijn@linux-ipv6.be>
Patchwork: http://patchwork.openwrt.org/patch/4637/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39159 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-23 17:05:19 +00:00
Gabor Juhos e9618048eb x86/kvm_guest: remove 3.3 support
Patch-by: Stijn Tintel <stijn@linux-ipv6.be>
Patchwork: http://patchwork.openwrt.org/patch/46366/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39158 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-23 17:05:18 +00:00
Gabor Juhos 39ec744348 x86/kvm_guest: add support for 3.10 and switch to it
Patch-by: Stijn Tintel <stijn@linux-ipv6.be>
Patchwork: http://patchwork.openwrt.org/patch/4635/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39157 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-23 17:05:16 +00:00
Gabor Juhos aa7f693d30 ar71xx: allow to use large ethernet frames on AR934x SoCs
The hardware supports large ethernet frames. Override
the maximum frame length and packet lenght mask in the
platform data to allow to use large MTU on the ethernet
interfaces.

Limit the feature to AR934x SoCs for now. It should work
on some other SoCs as well, but those has not been tested
yet.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39149 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-20 11:41:23 +00:00
Gabor Juhos 397e584bfb ar71xx: ag71xx: fix max frame length setup of the built-in switches
The currently used bitmask of the maximum frame length field
is wrong for both models. On AR724x/AR933x the largest frame
size is 2047 bytes, on the AR934x it is 16383 bytes.

Make the MTU setup code model specific, and use the correct
bitmask for both models. Also change the value to the maximum.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39148 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-20 11:41:22 +00:00
Gabor Juhos 1f01aeabb0 ar71xx: ag71xx: calculate max frame len register value from the MTU
Set the MAX_FRAME_LEN register to zero in ag71xx_hw_init()
and write the correct value into that from the ag71xx_open()
and ag71xx_fast_reset() functions.

Also recalculate the RX buffer size based on the actual
maximum frame length value to optimize memory allocation.
Additionaly, disallow to change the MTU value while the
interface it running.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39147 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-20 11:41:20 +00:00
Gabor Juhos 60f7a8a357 ar71xx: ag71xx: add ag71xx_max_frame_len() helper
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39146 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-20 11:41:18 +00:00
Gabor Juhos c52c793ce1 ar71xx: ag71xx: get max_frame_len and desc_pktlen_mask from platform data
This will allow to use SoC specific values for both.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-20 11:41:17 +00:00
Gabor Juhos 121c26751e ar71xx: ag71xx: store descriptor packet length mask in ag71xx struct
The currently used bitmask is not correct for all SoCs.
Introduce a new field in struct ag71xx and store the
bitmask in that. Use the current value for now, it will
be adjusted for each SoCs in further patches.

Aslo use the new field directly in the ag71xx_rx_packets
and ag71xx_hard_start_xmit() functions and remove the
ag71xx_desc_pktlen() helper.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39144 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-20 11:41:16 +00:00
Imre Kaloz a7b9d19e1c [omap]: don't fail if there are no dtbs
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39141 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-20 05:50:24 +00:00
Felix Fietkau 11e8016979 ar71xx: add missing tx gain table flag for buffalo wzr-hp-g450h
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39139 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-19 17:18:12 +00:00
Luka Perkov 86e335120a imx6: refresh patches
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39135 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-19 02:03:26 +00:00
Luka Perkov 9925229b57 kernel: backport upstream inet fix
Without it in some occasions oops is shown on network restart. Problem was
noticed on imx6 targed.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39134 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-19 02:03:25 +00:00
Luka Perkov 145ab2e7ea imx6: proper fix for io-remap
The previous patch was not the proper fix for PCI devices that require io
resources.  The new patch is the proper fix backported from mainline.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39133 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-19 02:03:16 +00:00
Gabor Juhos 7ab73136cc ar71xx: enable images for WD My Net N750
Now that the switch works correctly we can enable the images for this
board.

Flashing from the factory firmware, the factory failsafe loader and
sysupgrade was tested successfully.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
Patchwork: http://patchwork.openwrt.org/patch/4617/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-17 22:14:13 +00:00
Gabor Juhos 85dcad3e0c ar71xx: fix WD My Net N750 switch led cfg
Now that the switch is working correctly I had the chance to actually
test the LED config.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
Patchwork: http://patchwork.openwrt.org/patch/4616/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39129 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-17 22:14:12 +00:00
Gabor Juhos cc0f937909 ar71xx: implement switch fix for WD My Net N750
The bootloader on the WD My Net N750 disables the ports on it's internal
AR8327N switch by powering them down. The stock firmware then brings the
ports back up again by starting the auto negotiation process on each
port.

This fix implements just that.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
Patchwork: http://patchwork.openwrt.org/patch/4615/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-17 22:14:11 +00:00
Gabor Juhos a6622ee6bf ar71xx: implement callback in mdio reset
This enables us to add fixups to the board specific code for boards that
require special treatment of PHYs on mdio bus reset.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
http://patchwork.openwrt.org/patch/4614/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39127 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-17 22:14:10 +00:00
Gabor Juhos e9aefa66db ar71xx: make ag71xx_mdio_platform_data visible
This enables us to modify the ag71xx_mdio_platform_data from within the
board support files.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
Patchwork: http://patchwork.openwrt.org/patch/4613/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39126 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-17 22:14:07 +00:00
Gabor Juhos 4386cc527a ar71xx: ag71xx: compute the RX buffer size from the maximum frame size
Currently, the AG71XX_RX_PKT_SIZE value limits the received
frame size to 1514/1516 bytes with/without a VLAN header
respectively. However the hardware limit is controlled by
the value the AG71XX_REG_MAC_MFL register which contains
the value of the max_frame_len field.

Compute the RX buffer size from the max_frame_len field
to get rid of the 1514/1516 byte limitation. Also remove
the unused AG71XX_RX_PKT_SIZE definition.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39121 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-17 16:27:46 +00:00
Gabor Juhos de63c5e8ab ar71xx: ag71xx: store RX buffer size in the ag71xx struct
This allows to change the value dynamically.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39120 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-17 16:27:44 +00:00
Gabor Juhos c4cd917a49 ar71xx: ag71xx: store maximum frame length in the ag71xx struct
This will allow to use different values for the
different SoCs.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39117 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-17 15:18:16 +00:00
Gabor Juhos 0cc622966d ar71xx: ag71xx: use mdio bus name in ar7240_probe messages
The ar7240_probe function uses the network device name
in the kernel log messages, however the name is not yet
initialized when the ar7240_probe function is called.
Use the mdio bus name in the messages to avoid ugly
log lines like the following one:

  eth%d: Found an AR7240/AR9330 built-in switch

Reported-by: Ronald Wahl <ronald.wahl@raritan.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39116 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-17 15:12:52 +00:00
Gabor Juhos bfbdffe876 ag71xx: ag71xx: use device name for debugfs entry
The ag71xx debugfs code uses the network device name
for the device specific debugfs directory. Since r38689
'ar71xx: ag71xx: fix a race involving netdev registration'
the debugfs initialization happens before the ethernet
device gets registered and the network device name contains
'eth%d' at this point. If the board setup code registers
multiple ag71xx devices, the debugfs code tries to create
the device specific dir with the same name which causes
an error like this:

  eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
  ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
  ag71xx: probe of ag71xx.0 failed with error -12

Use the device name for the debugfs directory to avoid the
collisions. Also add an error message and change the return
code if the debugfs_create_dir call fails.

Reported-by: Ronald Wahl <ronald.wahl@raritan.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-17 15:12:50 +00:00
Luka Perkov c781ae84ae imx6: ventana: add canbus utils
Some of the Gateworks Ventana boards have CAN bus support, therefore
we will install the userspace utils.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39113 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-17 02:47:20 +00:00
Luka Perkov 570007d70b imx6: ventana: add default kernel modules for GSC
All Gateworks Ventana boards have a Gateworks System Controller
which emulates the following:
 - ds1672 RTC
 - pca953x GPIO expander
 - hardware monitor
 - at24 eeprom

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39112 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-17 02:47:18 +00:00
Luka Perkov f7e8ff54ba imx6: add rtc feature support
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39111 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-17 02:47:17 +00:00
Luka Perkov 4596b5cdc5 imx6: drop upstreamed patch
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39109 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-17 02:47:15 +00:00
Gabor Juhos b84c8ab13f ar71xx: add initial support for the Mikrotik RB911G/RB912UAG boards
It is only on RB911G-5HPnD and RB912UAG-5HPnD boards.
The LEDs and the USB port is not working yet.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16 18:08:51 +00:00
Gabor Juhos cb5951be3e ar71xx: add NAND driver for the Mikrotik RB91x boards
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16 12:57:24 +00:00
Gabor Juhos 098732a6d3 ar71xx: rb2011: use board name from the hardware config
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16 12:41:48 +00:00
Gabor Juhos 6ea3cd876a ar71xx: rb2011: simplify setup code
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16 10:28:42 +00:00
Gabor Juhos e212e7382c ar71xx: rb2011: use the new RouterBOOT helpers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16 10:28:41 +00:00
John Crispin 9ac5fbf3e3 ralink: fix dir810 networking
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16 10:16:33 +00:00
Gabor Juhos 86f043c41a ar71xx: rb95x: use the rb_get_wlan_data helper
Also remove unused RB_* defines.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39092 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16 10:11:02 +00:00
Gabor Juhos 6d5b147536 ar71xx: add some RouterBOOT specific helper functions
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16 10:11:01 +00:00
Gabor Juhos 87eaf116fe kernel: define RB_ID_HW_OPTIONS in include/linux/routerboot.h
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39090 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16 10:11:00 +00:00
Gabor Juhos 7da1fcf27c ar71xx: refresh m25p80 patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16 10:10:58 +00:00
Gabor Juhos d4e21c1cb8 ar71xx: rb95x: nuke rb95x_gpio_init
Set up the chipselect GPIO directly in rb95x_nand_init
instead.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16 08:17:40 +00:00
Gabor Juhos 72244753de kernel/3.1[02]: add Winbond W25X05 SPI flash support
It is used on newer RouterBOARDs.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16 08:16:09 +00:00
Gabor Juhos 659883a917 kernel: remove obsolete yaffs options from target configs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39085 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16 07:51:21 +00:00
Gabor Juhos a8feb12f58 kernel: update yaffs code
Use the latest version of the yaffs code. Fetched from the
yaffs2 git tree and it is based on the following commit:

  commit bc76682d93955cfb33051beb503ad9f8a5450578
  Merge: 3a8580e ffa781d
  Author: Charles Manning <cdhmanning@gmail.com>
  Date:   Thu Jul 11 17:46:25 2013 +1200

      Merge branch 'master' of ssh://www.aleph1.co.uk/home/aleph1/git/yaffs2

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16 07:51:19 +00:00
Gabor Juhos a8bc7f528a kernel/3.9: remove yaffs patches
It is not used by any platform.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39083 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16 07:42:43 +00:00
Gabor Juhos c447d9fef9 kernel/3.6: remove yaffs support
It is not used by any platform.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39082 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16 07:42:42 +00:00
Gabor Juhos aaa1e2941f kernel/3.3: remove yaffs support
It is not used by any platform.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39081 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16 07:42:41 +00:00
Gabor Juhos 57d4cab128 ar71xx/mikrotik: disable unused MTD options
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39080 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16 07:39:22 +00:00
Gabor Juhos ff9157a3c2 ar71xx: add dummy rle_decode function if CONFIG_RLE_DECOMPRESS is not set
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39079 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16 07:37:31 +00:00
Gabor Juhos a4492a1635 ar71xx: add userspace support for WD My Net N750
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
[juhosg: remove the image generation part until the ethernet
         switch issue is resolved]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16 07:16:43 +00:00
Gabor Juhos 31d7d99e60 ar71xx: add kernel support for WD My Net N750
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
[juhosg: use a separate patch for kernel changes]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39077 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-16 07:16:42 +00:00
Gabor Juhos 09fb8ac34c generic: ar8216: Enable jumbo frames on AR8327 by default
This patch enables jumbo frames on AR8327 switch by default.
I have tested it on TP-Link TL-WDR3600.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39076 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-15 22:18:04 +00:00
Gabor Juhos 8ca4a0748b ar71xx: build image for the TP-Link TL-WA901ND v3 board
Based-on: http://patchwork.openwrt.org/patch/4507/
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39075 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-15 21:34:20 +00:00
Gabor Juhos 4131b6267c ar71xx: add user-space support for the TP-Link TL-WA901ND v3 board
Based-on: http://patchwork.openwrt.org/patch/4508/
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39074 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-15 21:34:19 +00:00
Gabor Juhos 3d3252ab72 ar71xx: add kernel support for the TL-WA901ND v3 board
Based-on: http://patchwork.openwrt.org/patch/4506/
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39073 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-15 21:34:18 +00:00
Gabor Juhos d81ea5145f ar71xx: move TL-WA801ND v2 setup code
The TL-WA801ND v2 board has only one LAN port which makes
it more similar to the TL-WR[78]50RE devices. Move the
board setup code into the mach-tl-wax50re.c file.

Based-on: http://patchwork.openwrt.org/patch/4506/
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39072 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-15 21:34:17 +00:00
Gabor Juhos 735ae5e71f ar71xx: refactor TL-WAx50RE setup code
This way it is a bit easier to add other TP-LINK devices based on the
Atheros AP123 reference board with one LAN port.

Based-on: http://patchwork.openwrt.org/patch/4506/
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39071 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-15 21:34:15 +00:00
Gabor Juhos 7a5c1eef3a ar71xx: build firmware image for the TL-WA801ND v2
Patch to add the profile for the TP-LINK WA801ND v2

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Patchwork: http://patchwork.openwrt.org/patch/4502/
[juhosg: change subject]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-15 20:39:12 +00:00
Gabor Juhos d86bf8e3a7 ar71xx: add user space support for the TL-WA801ND v2
Patch to add the user space support for the TL-WA801ND v2

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Patchwork: http://patchwork.openwrt.org/patch/4501/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39064 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-15 20:39:11 +00:00
Gabor Juhos 0fe62b83a5 ar71xx: add kernel support for the TL-WA801ND v2 board
Patch to add kernel support for the TP-LINK WA801ND v2

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Patchwork: http://patchwork.openwrt.org/patch/4500/
[juhosg:
  - the TL-WA801ND v2 does not have a sliding switch, it uses a push button
    for WPS instead. Use the tl_mr3420v2_gpio_keys array to reflect that,
  - rename kernel patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-15 20:39:10 +00:00
Hauke Mehrtens 430e4caa0f brcm47xx: deactivate early printk support
This breaks some devices where the serial console is not at port 0 but 
somewhere else.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-15 19:19:16 +00:00
Hauke Mehrtens 361080737b kernel: update kernel 3.10 to 3.10.24
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39059 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-15 19:16:30 +00:00
Imre Kaloz dcf8340491 upgrade 3.12 targets to 3.12.5
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-14 17:37:14 +00:00
Imre Kaloz 40edc707f4 [omap]: drop the bootscript, new u-boots won't need it
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-14 16:29:35 +00:00
John Crispin 490134a167 ralink: add mt7621 support
there are still various missing pieces for full support.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39040 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-13 10:53:34 +00:00
Imre Kaloz 921292e3b8 [omap]: add a default profile file
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39037 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-12 10:08:15 +00:00
Luka Perkov ed803232ee imx6: add canbus support for Ventana boards
GW5400, GW5300, and GW5200 have CAN bus option.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39034 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-11 10:56:11 +00:00
Luka Perkov b1ed3d4714 imx6: add flexcan support
backport upstream changes to 3.10:
 - 0060-flexcan.patch:
   - add flexcan pinctrl and devicetree config
 - 0061-can-flexcan-use-correct-clock-as-base-for-bit-rate-c.patch
   - fix a clock issue
 - 0062-ARM-i.MX6q-fix-the-wrong-parent-of-can_root-clock.patch
   - fix a clock issue

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-11 10:56:09 +00:00
John Crispin c1cf0505c4 ralink: add TSO
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 17:29:29 +00:00
John Crispin 9beda5ac39 ralink: fix typo in gpio irq handling
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 17:29:24 +00:00
John Crispin 4ad135094f ralink: add mt7620a gdma info to dtsi
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39017 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 17:29:19 +00:00
John Crispin e5845671e7 ralink: add asoc modules
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 17:29:14 +00:00
John Crispin 9c8a6aa5ac ralink: add partially working asoc driver. codec is not fully functional yet
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 17:29:08 +00:00
John Crispin 0c6b6702e3 ralink: add helper that identifies the mt7620 ECO
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39014 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 17:29:03 +00:00
John Crispin dbd8651cdf ralink: add dma engine support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 17:28:43 +00:00
Luka Perkov 60a7a1f2c9 imx6: add support for GW53xx
The Gateworks GW53xx family of products is based on the Freescale
i.MX6DL SoC and offers a small form-factor with peripherals such as:

 * i.MX6DL
 * NAND FLASH
 * 4x PCIe
 * 4x USB EHCI (1x front-panel; 3x PCIe sockets)
 * 1x USB OTG
 * 1x uSD
 * LVDS connector (VLDS for display, PWM/GPIO for backlight, i2c for touch)
 * HDMI Audio/Video out
 * Analog Video in
 * Digital IO
 * Gateworks System Controller
 * Accelerometer
 * Canbus
 * Optional GPS
 * Industrial temp (-40C to +85C)
 * DC input voltage 8 to 42V (Passive PoE and 802.3af)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39012 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 11:30:23 +00:00
Luka Perkov 08253dd78c imx6: add DMA/SDMA support for 3.12
DMA and SDMA support are needed for ssi based audio.  Note that the sdma
firmware is no longer required for ssi audio.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39011 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 11:30:22 +00:00
Luka Perkov e7a7417daf imx6: drop upstreamed patch
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 11:30:20 +00:00
Luka Perkov 1432cd56f9 kernel: added defines for 3.12
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 11:30:19 +00:00
Felix Fietkau 765f7a61ce ath9k: merge initval and tx gain table updates, calibration fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-08 14:48:30 +00:00
Jo-Philipp Wich bfb6e025dc generic: workaround arptables arpt_arp structure padding issue (#14577)
Linaro GCC 4.6-2013.05 incorrectly pads the arpt_arp structure on
at least the ar71xx target, resulting in a two bytes shorter struct
in the kernel compared to what arptables userspace expects.

When comparing sizeof(struct arpt_arp) in kernel and userspace, the
former yields 162 byte, while the latter is 164 byte.

As a consequence, the subsequent target_offset and next_offset
members of the parent arpt_entry structure contain invalid values
when processed by the arptables binary, leading to bad memory
accesses in the populate_cache() procedure, subsequently causing a
segfault.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38999 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-06 15:42:35 +00:00
Jo-Philipp Wich a2f91b864f generic: fix occasional "execvp: /bin/sh: Argument list too long" is kernel header install phase (#12907)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-06 15:37:55 +00:00
Hauke Mehrtens 63e8fc3ab2 brcm47xx: misc cleanups
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-01 18:12:57 +00:00
Hauke Mehrtens b5fc88a75d brcm47xx: deactivate mips wait instruction only for BCM4706
The wait instruction is only broken on the BCM4706 and not on the other 
similar SoCs.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-01 18:05:08 +00:00
Hauke Mehrtens ee624d1ddf brcm47xx: config: set CONFIG_HZ=100 and CONFIG_IP_ROUTE_VERBOSE
This sets both values to the OpenWrt default values. There is no reason 
to use some brcm47xx specific values here.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-01 17:34:27 +00:00
Hauke Mehrtens bfe8628bfb brcm47xx: add vectored interrupts
This adds support for vectored interrupts in this SoC.
This is supported by the 74K cpus.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38975 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-01 16:37:58 +00:00
Hauke Mehrtens 8fdbb2087d brcm47xx: add cpu overwrites
bcm47xx misses cpu overwrites for the features of the CPUs used in 
these SoCs.
Instead of manually checking, it is now known at compile time for some 
options and the compiler is able to remove the checks and optimize the 
code.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38974 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-01 16:36:38 +00:00
Hauke Mehrtens a51770782a brcm47xx: use "firmware" partition name
Some time ago, after switching to the mainline bcm47xxpart driver
following patch has been applied:

commit 03cef8725d2062335ffc3de50fc037b294fd458c
Author: hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date:   Sat Apr 6 22:22:26 2013 +0000

    brcm47xx: use old partition names again for kernel 3.8

    This fixes sysupgrade. The partition names are used all over the Internet in various howtos.

    Thank you russell for spotting this problem.

I propose to revert this change and make sysupgrade use "firmware"
instead. This makes brcm47xx compatible with widely used ar71xx and
after all "firmware" sounds like a much better name for... the firmware.

This change doesn't affect "sysupgrade" usage, because it never takes a
partition name as a parameter. This change only affects users using mtd
tool directly. Hopefully there are not many howtos using "mtd" command.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38973 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-01 16:32:32 +00:00
Gabor Juhos 892e13e5c9 kernel: update 3.10 to 3.10.21
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38972 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-01 09:59:53 +00:00
Luka Perkov ff2bdbe3b4 ar71xx: merge board specific patches into one
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38971 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-30 19:48:05 +00:00
Gabor Juhos c063e637f9 kernel: refresh kernel configs with kconfig.pl
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-30 18:31:10 +00:00
Gabor Juhos 144002310e ar71xx: update Userspace support for the WA850/WA750
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38969 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-30 18:31:08 +00:00
Gabor Juhos 8ea2e5a311 ar71xx: Update profile for the wa750/wa850 to include rssileds by default
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38968 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-30 18:31:06 +00:00
Gabor Juhos c60266575f ar71xx: use cybertan_check_image for image verification on the WRT160NL
That function provides a slightly improved sanity check than the
currently used solution.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38967 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-30 18:31:04 +00:00
Gabor Juhos ab8e78cbee ar71xx: sysupgrade for My Net Wi-Fi Range Extender
This patch enables the convenient sysupgrade feature for
WD's Wi-Fi Range Extender.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Patchwork: http://patchwork.openwrt.org/patch/4341/
[juhosg:
  - rename 'mynet_rext_check_image' function to 'cybertan_check_image'
    and move that into platform.sh,
  - remove the the model specific 'platform_do_upgrade_mynet_rext' function,
  - drop the mynet-rext.sh script,
  - remove the image/Makefile change,
  - update commit message]
[christian:
  - check all 8 bytes of the firmware/device magic]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38966 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-30 18:31:03 +00:00
Gabor Juhos 10184a0b27 ar71xx: image: unify CyberTAN macros
Make the Image/Build/CyberTAN macro more generic,
and use simple wrappers for the GZIP/LZMA variants.
This simplifies the Makefile a bit, and allows to
build sysupgrade images for the devices which are
using LZMA compressed uImages.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38965 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-30 18:31:01 +00:00
Gabor Juhos a03d5162b4 ar71xx: image: fix CyberTAN sysupgrade images
In the current sysupgrade images, the CRC32 value of
the TRX header covers the whole rootfs data. Due to
this, the CRC value should be changed during sysupgrade
otherwise the bootloader refuses to load the image on
the next boot.

Change the image generation to create sysupgrade images
where the CRC32 value covers the kernel data only. This
allows to skip the 'fixtrx' step during sysupgrade on
the target.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38964 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-30 18:30:59 +00:00
John Crispin 31e109fa42 ramips: Fix initial network configuration for few boards
Argus ATP52B:      ethernet didn't work because of unconfigured switch
Sparklan WCR150GN: add switch config and make single port to be LAN
Dlink DIR-645:     seems to be a redundant case

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38960 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-30 08:36:56 +00:00
John Crispin e98476f786 ramips: Fix dts typos
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-30 08:36:47 +00:00
Gabor Juhos 4cb2f7a39a ar71xx: build image for the TL-WR1043ND v2 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38958 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-29 20:51:16 +00:00
Gabor Juhos 3f06f853b6 ar71xx: add user-space support for the TL-WR1043ND v2 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-29 20:51:13 +00:00
Gabor Juhos 336f29b4c7 ar71xx: add kernel support for the TL-WR1043ND v2 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38955 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-29 20:51:12 +00:00
Gabor Juhos 2477a6beac ar71xx: add profile and build image for the Sitecom WLR-8100
- partitions on factory fw are a bit strange
  - unknown contained some strings in factory
  - unknown2 contains some atheros (2nd art ?)

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Patchwork: http://patchwork.openwrt.org/patch/4149/
[juhosg: edit commit message]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38954 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-29 20:18:50 +00:00
Gabor Juhos 55987c5d96 ar71xx: fix switch port map for the Sitecom WLR-8100
There was no way to determine a working config, because
the switch (ar8337) was not working previously.

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Patchwork: http://patchwork.openwrt.org/patch/4470/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38953 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-29 20:18:49 +00:00
Gabor Juhos b7ca4137f5 generic: ar8216: add AR8337N switch support
This patch is needed to use the switch inside the Sitecom WLR-8100;
it was unusable and detected as Generic-Phy before.

since ar8337 is behaving like ar8327
generally do the same thing
see: https://forum.openwrt.org/viewtopic.php?pid=214218#p214218
forward-ported to trunk

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Patchwork: http://patchwork.openwrt.org/patch/4469/
[juhosg: merge chip_is_ar83[23]7 statements in ar8xxx_phy_config_init]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-29 20:18:48 +00:00
Gabor Juhos c2bf799a23 generic: ar8216: remove trailing whitespaces
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-29 20:18:46 +00:00
Gabor Juhos 39a44d49f1 ar71xx: rssi leds for My Net WiFi Range Extender
The device has three extra LEDs which indicate the quality
of the wireless link. Thanks to rssileds, this feature now
works out of the box.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Patchwork: http://patchwork.openwrt.org/patch/4462/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38950 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-29 20:18:45 +00:00
Gabor Juhos 49be2ba8e1 ar71xx: improve support for the My Net Wi-Fi Range Extender device
This patch improves support for the device considerably.

1. The wifi didn't work in the initial release. This was because
the WMAC of the AR9340 is not connected to the antennas.
(However, it can pick up wifi signals, if they are strong enough!)
Instead there's a dedicated AR9300 chip on the same board, which
works.

2. Ethernet throughput is improved. iperf shows that the hardware
can sustain more than 200Mbit/s and no longer drops any packages
when the link is under load.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Patchwork: http://patchwork.openwrt.org/patch/4461/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-29 20:18:44 +00:00
Gabor Juhos 4b982f247b ag71xx: add F1E specific feature bit definitions to AR934X register file
The F1E Phy (AR8035?) requires additional bits to be
set in order to provide a fast and reliable connection
over gigabit links.

When enabled, the link doesn't suffer anymore from a small
package loss under load and the performance is improved
quite a bit as well. (203 mbit/s vs 112 mbit/s, iperf tcp).

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Patchwork: http://patchwork.openwrt.org/patch/4460/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-29 20:18:43 +00:00
Gabor Juhos 3466fb8b4c ar71xx: user space support update tl-wr842n_v2 add default led support
Small update to uci_defaults/01_leds, to support the usb led

Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4426/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-29 20:18:42 +00:00
Gabor Juhos be3b2a6377 ar71xx: Kernel support update tl-wr842n_v2 added missing usb led
Just a small oversight my part, added the support for the USB led
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>

Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4425/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-29 20:18:40 +00:00
Imre Kaloz 5f6881f7e2 [omap]: tunr on some additional features
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-29 10:58:40 +00:00
Imre Kaloz 718df1105c there's no such thing as a soft fpu, this target should be fine without these
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-29 10:25:43 +00:00
Imre Kaloz 77d3c7322f [omap]: initialize wl12xx from the device tree
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-27 12:51:35 +00:00
Imre Kaloz 620833b3a1 add device tree based initialization to wl12xx
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-27 12:40:07 +00:00
Imre Kaloz 94cdb9986f [omap]: refresh/rename patches
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38932 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-27 12:34:41 +00:00
Imre Kaloz 60b5ba0f1d [omap]: fix gpio interrupt-cells property on AM335x
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-27 12:33:06 +00:00
Imre Kaloz f70572d95b [generic/3.12]: refresh patch
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38930 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-27 12:31:05 +00:00
Imre Kaloz 84bbbc774a [generic/3.12]: make the wl12xx glue code available with compat-wireless, too
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38929 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-27 12:29:13 +00:00
Imre Kaloz 09ffc7d6ed [generic/3.12]: add TI wireless symbols and enable the platform glue by default
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-27 12:25:20 +00:00
John Crispin c47f4281b8 ralink: dts fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38917 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-26 09:51:57 +00:00
John Crispin 9cb1e0893f ralink: add mac address detection for Asus RT-G32 b1
http://patchwork.openwrt.org/patch/4463/

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-25 14:09:08 +00:00
John Crispin 3b4cd0a50e base-files: allow users to delect debug level during boot
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-25 08:34:55 +00:00
John Crispin 7aca35e56c ralink: fix up the mt7530 driver to work properly with gmac2
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-25 08:34:23 +00:00
John Crispin d6cf0d5418 ralink: add LRO support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38904 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-25 08:34:12 +00:00
John Crispin fa3ff9e1a1 ralink: add NETIF_F_HW_VLAN_CTAG_TX support for the mt7620X family
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-25 08:34:01 +00:00
John Crispin 8d5c852eaf ralink: set the mac addr via the dts file
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38902 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-25 08:33:42 +00:00
Luka Perkov 835e85183c kirkwood: include ext4 support by default
Several users reported that they would like this feature.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38901 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-24 23:07:34 +00:00
Luka Perkov 5bad1527ea kirkwood: kernel: add missing config option
Buildbot found missing config option for target kirkwood.

Signed-off-by: Jiri Slachta <slachta@cesnet.cz>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-24 17:53:34 +00:00
Luka Perkov 2c7e653606 kirkwood: drop unnecessary argument from *_UBIFS_OPTS variables
The '-U' aka '--squash-uids' is already used in Image/mkfs/ubifs function.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38898 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-23 15:55:12 +00:00
Luka Perkov 1eb3f7f6a4 kirkwood: add support for iomega iconnect
Signed-off-by: Luka Perkov <luka@openwrt.org>
Signed-off-by: Daniel Engberg <daniel.engberg@pyret.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-23 15:55:10 +00:00
Imre Kaloz bc886ef909 For now vdi and vmdk images should be x86 only
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-22 14:39:53 +00:00
Imre Kaloz 27bb4475fb add a feature flag for device tree support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-22 12:01:01 +00:00
Imre Kaloz f23c2eafda [x86]: VMWare and VirtualBox images should select what they need, not depend on it..
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-22 09:54:36 +00:00
Imre Kaloz e88f8197cb [x86]: rationalize target image options
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
 


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38891 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-22 09:44:14 +00:00
John Crispin 84458bf0c2 lantiq: move patch to proper folder
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-20 17:53:36 +00:00
John Crispin bcd2c16df8 lantiq: update default mii modes
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38881 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-20 16:56:58 +00:00
John Crispin 3b9b5d38fa lantiq: fix an endless loop in the vmmc platform code
this was caused by not honoured error return codes of of_gpio_count()

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-20 16:56:32 +00:00
Zoltan HERPAI 759c7650c3 mxs: build/profile-related changes
- change uImage creation to use zImage
 - update image Makefile for further boards with u-boot support
 - add profile for OLinuXino Micro/Nano boards

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



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-20 10:23:49 +00:00
John Crispin a3c1cdf61a ralink: set wmr-300 mac properly
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38872 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-19 21:13:24 +00:00
John Crispin 42da94bdab ralink: add missing CONFIG_ symbol to mt7620n
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38867 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-19 16:33:43 +00:00
Felix Fietkau f0ffb644dd mpc85xx: Fix NAPI poll mechanism in GIANFAR ethernet driver
This patch fixes the NAPI poll mechanism in the GIANFAR ethernet driver, which
was not properly working since Linus Kernel Version 3,8.
Therefore the workaround patch to downgrade the GIANFAR ethernet driver to
Kernelversion v3.8 is obsoete.
This patch was extensivly testes with different network loads and types of
traffic. There is quite a substantial user base that reports proper Ethernet
function with TPlink-4900. This patch is based on the fixes from GINAFAR
maintainer Claudiu Manoli.

Signed-off-by: Thomas Huehn <thomas@net.t-labs.tu-berlin.de>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38865 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-19 13:00:37 +00:00
Luka Perkov 0c39cb9e05 imx6: build images for ventana boards that are supported
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38859 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-18 22:23:43 +00:00
Luka Perkov 60c8260052 imx6: merge all gateworks boards into one profile
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-18 22:23:42 +00:00
Luka Perkov 5fc33c5d88 imx6: add support for more then one nand type per profile
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-18 22:23:40 +00:00
Luka Perkov d8a2d058a4 imx6: refresh kernel config
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-18 22:23:39 +00:00
Imre Kaloz be2162f35b [omap]: make default packages selected for real
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-18 12:05:11 +00:00
John Crispin 0fb20713f7 ralink: add support for ralink mt7620 nand eval board
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-18 09:35:41 +00:00
John Crispin 451710bb2d ralink: improve mt7620n detection
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38847 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-18 09:35:32 +00:00
John Crispin 1ee67c6cad ralink: add mt7620 nand driver
This is a minor rework of the SDK driver. This driver needs a full rewrite.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-18 09:35:23 +00:00
John Crispin bea0072a69 ralink: make all none 3x5x boards default to a vlan1/2 setup
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38845 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-18 09:35:14 +00:00
John Crispin b0b1844e23 ralink: make usb work on the mt7530 eval kit
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38844 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-18 09:34:46 +00:00
Hauke Mehrtens f70197efdf at91: fix typo in network file
This closes #14474.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38842 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-17 17:14:32 +00:00
Hauke Mehrtens 5e76bea8b4 kirkwood: add missing kernel config CONFIG_REGMAP=y
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-17 16:05:09 +00:00
Hauke Mehrtens 1ccd98a8dd kernel: backport get_cycles() fix
get_cycles() is used in some places as one part of the seed for the
kernel PRNG.

This backports the following commit from mainline linux kernel:
9c9b415c50bc298ac61412dff856eae2f54889ee

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-17 15:52:14 +00:00
John Crispin 1b86f2f797 ralink: add mt7620n dts files
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38829 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-17 13:22:01 +00:00