Commit Graph

12219 Commits (42da94bdabeaee96a1271387354e67b98892292a)

Author SHA1 Message Date
Hauke Mehrtens cf3aea87ad cobalt: do not build userland with support for mips1
Without specifying -march gcc uses -march=mips1 by default, but that 
causes problems when compiling openssl. Use -march=r5000 instead to 
compile a userland optimized for the CPU used on this device.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38386 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-13 22:10:57 +00:00
Hauke Mehrtens 6c32d3980c kernel: update kernel to 3.10.15
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-13 19:28:29 +00:00
Hauke Mehrtens 2ffb32dad6 brcm47xx: fix detection of some boards
This adds some more boards.

This fixes parts of #14316 and #14133.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-13 19:27:24 +00:00
Vasilis Tsiligiannis 56cdf42776 ar71xx: Fix sysupgrade when upgrading to images with small rootfs partition
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38382 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-13 18:39:09 +00:00
Luka Perkov 96a1645d52 kirkwood: enable appended dtb (3.10.x)
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38379 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-13 03:35:13 +00:00
Luka Perkov f6ccd395dd ubifs: enable building modular images
Now it is possible to build ubi/ubifs images for only selected boards inside
single target.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38375 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-12 21:44:48 +00:00
Jonas Gorski 40b24c43f0 ar7: drop linux 3.9 support
Linux 3.9 is EOL since quite a while, no need to keep support for it.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38370 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-12 10:50:47 +00:00
Jonas Gorski 2b6cea4a6e ar7: add support for linux 3.10 and switch to it
Run tested on WAG354Gv2.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38369 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-12 10:50:44 +00:00
Jonas Gorski 33018b3e45 mvswitch: fix compilation for linux 3.10
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38368 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-12 10:50:39 +00:00
Imre Kaloz 5b2fa1ed89 [ar71xx]: make the generated images actually flashable on the Unifi devices.
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38364 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-11 15:41:42 +00:00
Jo-Philipp Wich 729f193b10 x86: kvm: disable squashfs and jffs2 images by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38355 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-10 14:40:52 +00:00
Hauke Mehrtens 58a1b0cefe kernel: add default config for ARM_ERRATA symbols for kernel 3.3
Commit r37470 did not add a default conig for the ARM_ERRATA symbols for kernel 3.3.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38352 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-10 11:13:54 +00:00
John Crispin 5794387dfa ralink: fixes mpr a1/a2 network setup
Signed-off-by: Suschman <suschman@gmx.net>
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38348 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-09 10:08:52 +00:00
John Crispin 602a036518 ralink: add support for the mt7530 eval board
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-08 21:10:15 +00:00
John Crispin 8b661082a8 ralink: add missing header file to mt7530 driver
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38344 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-08 21:10:00 +00:00
John Crispin 8a9e5281be lantiq: fix up diag.sh
init no longer exists as a parameter

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38342 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-08 15:28:33 +00:00
John Crispin cfa8b364b8 lantiq: experia v8 fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38328 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-07 15:03:00 +00:00
John Crispin c5f8647cde lantiq: fix fritz3370 dts file
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-07 15:02:56 +00:00
John Crispin 92fb741190 lantiq: fix fritz image generation
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-07 15:02:52 +00:00
John Crispin b6028e9f2f lantiq: fix eva partition split for squashfs
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38325 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-07 15:02:48 +00:00
John Crispin f580ce87c0 ralink: fix asiarf image generation
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38324 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-07 15:02:44 +00:00
John Crispin 6ce9c49fc6 ralink: split mt7530 driver out of the gsw driver
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-07 15:02:39 +00:00
John Crispin b729dfadec ralink: build recovery images for dcs930 ip cam
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38322 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-07 15:02:35 +00:00
John Crispin a7cfa2f646 ralink: DIR610A1 Fix remaining issues
This patch fixes:

 - Ethernet and Wireless LEDs
 - Wireless MAC Address
 - Remove whitespaces from dts file

Signed-off-by: Flavio Silveira <fggs@terra.com.br>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38321 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-07 15:02:31 +00:00
John Crispin 932fb6ebad ralink: MT7620 eval board pinmux fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38320 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-07 15:02:27 +00:00
John Crispin dfa8be9bf7 ralink: make cevt systick selectable via kconfig
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38319 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-07 15:02:23 +00:00
John Crispin 5c4d725556 ralink: fix mt7620a pinmux
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38318 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-07 15:02:18 +00:00
Hauke Mehrtens 6b4e0c753f brcm47xx: Cocci spatch "noderef"
sizeof when applied to a pointer typed expression gives the size of the
pointer.
Found by coccinelle spatch "misc/noderef.cocci"
    
Signed-off-by: Thomas Meyer <thomas@m3y3r.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38312 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-07 00:01:01 +00:00
Hauke Mehrtens 0abc7959a8 brcm47xx: move clock detection patches
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38311 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-07 00:00:10 +00:00
Hauke Mehrtens 038076a0cd brcm47xx: move and rename nvram gpio patch
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-06 23:57:11 +00:00
Hauke Mehrtens e4c5404c56 brcm47xx: update early printk patches
Early printk was disabled because it caused hangs on some devices, the 
old patches were using the CFE console now we use the normal serial 
console, it is at a constant address.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38309 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-06 23:55:35 +00:00
Hauke Mehrtens cd2b261f51 brcm47xx: update board detection patches
Add patches like they are currently in the mainline mips tree and add 
some more pending patches for board detection.

* Now the board name is shown under machine in /proc/cpuinfo.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38308 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-06 23:51:24 +00:00
Hauke Mehrtens 1e03d9f0ee kernel: b53: add switch name into printk when it fails.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-06 22:35:28 +00:00
Hauke Mehrtens e0f3beb7cc brcm47xx: b44: fix some problems with the phy
* do not try initialize a unused phy
* some improvements to the phylib patch
* do not turn the phy off when mac is off

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38306 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-06 18:31:32 +00:00
Luka Perkov 05ccf0c6dd kirkwood: add support for UBI (3.10.x)
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38301 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-04 03:45:52 +00:00
Luka Perkov e817e948ae imx6: update upstream pcie patches
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38298 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-03 13:06:42 +00:00
Luka Perkov 6cfeeb0521 kirkwood: enable dts compilation
In 3.10 we might build those, so for now just add this functionality.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38297 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-03 02:50:03 +00:00
Luka Perkov 88cab0c554 kirkwood: fix initramfs images
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38296 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-03 02:50:02 +00:00
Luka Perkov a948ae90c2 kirkwood: update patches and configuration (3.10)
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-03 02:50:00 +00:00
Hauke Mehrtens 32654ebc00 brcm47xx: add support for ipv6 in default network config
Modify /etc/init.d/netconfig to use UCI defaults for building the
default network config, which includes appropriate defaults for IPV6.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38294 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-02 23:22:18 +00:00
Hauke Mehrtens 8006b279fe kernel: bgmac: fix BCM4707 patch
The bool logic was the wrong way around.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38292 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-02 23:12:46 +00:00
Hauke Mehrtens 0975143161 kernel: refresh patches
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38291 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-02 22:26:43 +00:00
Hauke Mehrtens b0e8546858 kernel: bcma: update to wireless-testing master-2013-10-01
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38290 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-02 22:26:15 +00:00
Hauke Mehrtens 6212ba0165 kernel: bgmac: move other bgmac patches to generic
The bgmac driver will be used on the brcm47xx and the bcm53xx target. 

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38289 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-02 22:25:26 +00:00
Hauke Mehrtens 66144f5c63 kernel: bgmac: move bgmac patches already applied in mainline kernel to generic
The bgmac driver will be used on the brcm47xx and the bcm53xx target. 
These are only the patches already applied in current net-next/master
branch.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38288 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-02 22:24:01 +00:00
Luka Perkov 47a347af72 imx6: add default profile
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-02 00:33:49 +00:00
Luka Perkov e92e06ddbb kirkwood: drop PROFILE from image names
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38281 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-02 00:33:48 +00:00
Luka Perkov 417ec27a08 kirkwood: add linux 3.10 support
Backport appropriate patches to allow using device tree only board
defintions.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38280 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-02 00:33:47 +00:00
Luka Perkov 882530853b kirkwood: prepare for 3.10
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38279 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-02 00:33:45 +00:00
Luka Perkov b8bfb984bf kirkwood: explicitly set CPU_TYPE to xscale
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38278 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-02 00:33:43 +00:00
Hauke Mehrtens b80baca15a ep93xx: fix kmod-input-keyboard-ep93xx dependencies
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38275 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-01 22:39:28 +00:00
Hauke Mehrtens 0bfe8efff5 ep93xx: fix sound dependencies for ep93xx
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38274 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-01 22:38:40 +00:00
Hauke Mehrtens 2a561bdbe0 at91: fix missing drivers/iio/adc/at91-adc.ko in kmod-at91-adc
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38273 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-01 22:37:17 +00:00
John Crispin b82a60cc69 lantiq: add support for VGV7519 KPN Experia box v8
Signed-off-by: Maikel Bloemendal <mbloemendal@gmail.com>
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38266 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-30 20:48:46 +00:00
John Crispin ee06a9b0ac ralink: dts fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38265 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-30 20:48:39 +00:00
John Crispin 6b371c3fae ralink: fix DIR-320-B1 board detection
https://dev.openwrt.org/ticket/14226

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-30 20:48:34 +00:00
John Crispin a6ec6a8213 ralink: Change size of image for DIR-320 B1 to 8MB
http://patchwork.openwrt.org/patch/4102/

Signed-off-by: Vladimir Stolyarov <xakep6666@yandex.ru>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38263 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-30 20:48:27 +00:00
Felix Fietkau ed435b0098 kernel: add missing config symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38246 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-27 21:12:19 +00:00
Felix Fietkau 5162f4c405 octeon: remove CONFIG_FW_LOADER override to fix build errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-27 21:12:12 +00:00
Felix Fietkau 45c1f2f625 lantiq: add a default for CONFIG_MTD_NAND_XWAY to fix build errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38243 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-27 21:12:08 +00:00
Felix Fietkau 36a3d59d10 kernel: add another missing symbol for iio
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38241 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-27 21:12:01 +00:00
Felix Fietkau b90290ae60 kernel: add missing symbols for iio on older kernel versions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38240 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-27 20:54:00 +00:00
Gabor Juhos f07044851f ar71xx: ar934x-nfc: disable subpage write when hardware ECC is used
It is not supported by the controller.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38234 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-27 11:15:34 +00:00
Luka Perkov c4a3fcf3f1 imx6: enable cpufreq-imx6q by default
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38233 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-27 10:49:37 +00:00
Luka Perkov 34fce5b95a mvebu: enable thermal module by default
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-27 10:49:36 +00:00
Luka Perkov 557354ca07 imx6: enable thermal module by default
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38231 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-27 10:49:35 +00:00
Luka Perkov 2edffc93a6 imx6: backport thermal driver
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38229 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-27 10:49:28 +00:00
Gabor Juhos 51cd1a33de kernel: update 3.10 to 3.10.13
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-27 07:19:21 +00:00
Luka Perkov 4a6d14210e mvebu: add myself as maintainer
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38226 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-27 01:52:29 +00:00
Luka Perkov e0e36cb5d9 mvebu: drop 3.8 support
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38225 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-27 01:52:28 +00:00
Luka Perkov 896a6277b5 mvebu: switch to 3.10
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38224 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-27 01:52:26 +00:00
Luka Perkov d0c2859ad1 mvebu: add 3.10 support
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38223 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-27 01:52:25 +00:00
Luka Perkov f5252265e6 build: fix typo
vfp3 should be named vfpv3

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38222 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-26 22:43:06 +00:00
Florian Fainelli 9f4498ada7 rb532: fix initramfs image creation (#14215)
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38219 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-26 19:16:19 +00:00
Gabor Juhos c2a4deeab8 kernel/3.10: use backported patch for PMC SPI flash support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38218 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-26 18:01:57 +00:00
Gabor Juhos c4a62e1deb kernel/3.10: add '003-11-' prefix for patches backported from 3.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38217 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-26 18:01:49 +00:00
Gabor Juhos f4ca3486cb kernel/3.9: add missing config symbols
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38216 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-26 17:58:17 +00:00
Gabor Juhos 986cbb9bd7 kernel/3.8: add missing config symbols
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38215 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-26 17:58:16 +00:00
Felix Fietkau 9f5f79d806 build: unify powerpc target cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-26 17:53:28 +00:00
Felix Fietkau 19c76be50d build: unify x86 target cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38212 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-26 17:53:24 +00:00
Felix Fietkau 49104b5843 build: unify arm target cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38211 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-26 17:53:20 +00:00
Felix Fietkau b2e35bbd7b build: unify mips target cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-26 17:53:14 +00:00
Luka Perkov cc6e4d9b9d imx6: enable XZ_DEC_BCJ and XZ_DEC_ARM
squashfs is unable to decompress some blocks without that:

[    1.880530] SQUASHFS error: Unable to read page, block bc77a, size 14c50
[    1.887268] SQUASHFS error: Unable to read fragment cache entry [bc77a]
[    1.893889] SQUASHFS error: Unable to read page, block bc77a, size 14c50
[    1.900636] SQUASHFS error: Unable to read fragment cache entry [bc77a]
[    1.907275] SQUASHFS error: Unable to read page, block bc77a, size 14c50
[    1.913994] SQUASHFS error: Unable to read fragment cache entry [bc77a]
[    1.920631] SQUASHFS error: Unable to read page, block bc77a, size 14c50

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@38202 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-25 23:35:55 +00:00
Luka Perkov 0bec3a874d imx6: fix spi on gw5400-a
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38201 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-25 23:35:54 +00:00
Hauke Mehrtens 20c36881a1 bcm53xx: bgmac: use srab switch driver
use the srab switch driver on these SoCs.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38200 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-25 21:49:12 +00:00
Hauke Mehrtens 426c3a85c6 bcm53xx: update bgmac driver
Update the bgmac driver with the patches already used for bcm47xx target.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38199 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-25 21:47:25 +00:00
Hauke Mehrtens 8e9dab5d1c kernel: b53: add Register Access Bridge Registers (SRAB) interface
The SRAB interface is used on BCM4707 and BCM5301X SoCs.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38198 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-25 21:44:28 +00:00
Gabor Juhos 63d8d86449 kernel: create firmware partition from MyLoader partition parser
This is in preparation for sysupgrade support for Compex devices.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38197 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-25 20:13:12 +00:00
Gabor Juhos 2a58f6b40b avr32: optimize image generation
- remove the kernel+rootfs partitions from the MTD partition map,
 - use a temporary directory for intermediate image files,
 - append the root squashfs directly to the kernel,
 - don't hardcode uImage size in the jffs2 images,

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38194 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-25 19:32:34 +00:00
Gabor Juhos 25e1112c6d avr32: enable the new mtdsplit code
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38193 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-25 19:32:33 +00:00
Gabor Juhos 593f0bb174 ar71xx: use correct board id for TL-MR3040 v2
Fix the image building code so that the kernel correctly
distinguishes between hardware revisions.

Signed-off-by: Mads Hansen <d@taba.se>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38192 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-25 18:42:14 +00:00
Gabor Juhos 82904232f6 ar71xx: add user-space support for TL-MR3040 v2
Signed-off-by: Mads Hansen <d@taba.se>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38191 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-25 18:42:11 +00:00
Gabor Juhos f5eb50ac7e ar71xx: improve kernel support for the TL-MR3040 v2
This patch adds support for the hardware slide switch on
the TL-MR3040 v2.

Signed-off-by: Mads Hansen <d@taba.se>
[juhosg: use EV_SW instead of EV_KEY]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38190 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-25 18:42:10 +00:00
Luka Perkov d4680767c6 imx6: add support for gw51xx
The Gateworks GW51xx family of products is based on the Freescale
i.MX6DL SoC and offers a small form-factor with peripherals such as:

 - i.MX6DL 512MB DDR3
 - 256MB NAND FLASH
 - 1x PCIe
 - 1x USB EHCI (to PCIe socket)
 - 1x USB OTG
 - HDMI out
 - Analog Video in
 - Gateworks System Controller

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38189 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-25 18:07:24 +00:00
Luka Perkov 88ac0fc90a imx6: add support for gw54xx
The Gateworks GW54xx family of products is based on the Freescale
i.MX6Q SoC and offers a large variety of peripherals such as:

  - i.MX6Q 1GB DDR3 (standard)
  - 256MB NAND FLASH (standard)
  - 6x PCIe (3x with USB)
    - Optional expansion for additional USB/PCI based periperhals
  - 1x USB EHCI
  - 1x USB OTG
  - HDMI Audio/Video in/out
  - Analog Video in/out
  - Analog Audio in/out
  - Gateworks System Controller

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38188 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-25 18:07:20 +00:00
Gabor Juhos 66d3fcf859 package/kernel: add support for industrial-io and AD799x
Add support for industrial IO core and (still staging)
driver for AD799x, a high precision I2C ADC family.

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
[juhosg: update subject, reformat commit message]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38187 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-25 18:00:35 +00:00
Luka Perkov 043888a5f3 imx6: update gw5400-a dts cleanup
- remove dead code
- alphabatize

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38184 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-25 17:55:38 +00:00
Gabor Juhos 4459b613d0 atheros: fix kernel warning about usage of reset gpio
During a reset the gpiolib warns about using the reset gpio
without explicit requesting it before:

[  147.930000] ------------[ cut here ]------------
[  147.930000] WARNING: at drivers/gpio/gpiolib.c:103 gpio_ensure_requested+0x68/0xcc()
[  147.930000] autorequest GPIO-5
[  147.930000] Modules linked in: ath5k ath mac80211 ipv6 cfg80211 compat arc4 crypto_blkcipher aead gpio_button_hotplug
[  147.930000] Call Trace:
[  147.930000] [<8004e3bc>] dump_stack+0x8/0x34
[  147.930000] [<80058430>] warn_slowpath_common+0x78/0xa4
[  147.930000] [<800584e4>] warn_slowpath_fmt+0x2c/0x38
[  147.930000] [<80166f18>] gpio_ensure_requested+0x68/0xcc
[  147.930000] [<80167264>] gpio_direction_output+0xdc/0x168
[  147.930000] [<8004aba8>] ar2315_restart+0x28/0x54
[  147.930000] [<80069778>] sys_reboot+0x178/0x1c0
[  147.930000] [<80043670>] stack_done+0x20/0x40
[  147.930000]
[  147.930000] ---[ end trace 2c7a53d8549562d6 ]---

This is fixed with this patch by using another gpiolib api call
which includes the missing request.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38183 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-25 17:51:12 +00:00
Gabor Juhos 028cf4dc7c kernel/3.10: refresh all target patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38182 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-25 17:13:24 +00:00
Gabor Juhos 57f4da235a ramips: sync 3.10 configs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38181 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-25 16:39:23 +00:00
Gabor Juhos 9881a7ea9d lantiq/3.10: unbreak the mtd-split patch
Compile tested only.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38180 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-25 16:22:04 +00:00
Gabor Juhos 832890dc2f kernel/3.10: add upstream commit id to the backported hso patches
Also remove the internal patch numbers.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38179 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-25 14:38:57 +00:00
Gabor Juhos f699e86607 kernel/3.10: refresh patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38178 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-25 14:38:56 +00:00
Gabor Juhos d411b61f44 avr32: remove 3.8 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38175 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-25 13:34:52 +00:00
Gabor Juhos f6e1aa7f39 avr32: switch to 3.10
It works:
    _______                     ________        __
   |       |.-----.-----.-----.|  |  |  |.----.|  |_
   |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
   |_______||   __|_____|__|__||________||__|  |____|
            |__| W I R E L E S S   F R E E D O M
   -----------------------------------------------------
   BARRIER BREAKER (Bleeding Edge, r38163)
   -----------------------------------------------------
    * 1/2 oz Galliano         Pour all ingredients into
    * 4 oz cold Coffee        an irish coffee mug filled
    * 1 1/2 oz Dark Rum      with crushed ice. Stir.
    * 2 tsp. Creme de Cacao
   -----------------------------------------------------
  root@OpenWrt:/# uname -a
  Linux OpenWrt 3.10.12 #1 Tue Sep 24 18:47:12 CEST 2013 avr32 GNU/Linux
  root@OpenWrt:/# cat /proc/cpuinfo
  processor       : 0
  chip type       : AT32AP700x revision C
  cpu arch        : AVR32B revision 1
  cpu core        : AP7 revision 0
  cpu MHz         : 140.000
  i-cache         : 16K (4 ways x 128 sets x 32)
  d-cache         : 16K (4 ways x 128 sets x 32)
  features        : dsp simd ocd perfctr java
  bogomips        : 281.23
  root@OpenWrt:/#

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38174 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-25 13:34:51 +00:00
Gabor Juhos f17866d4d3 avr32: add support for 3.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-25 13:33:49 +00:00
Steven Barth 0a7525758f uml: work around mangled parameter handling for ubd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38166 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-24 13:36:42 +00:00
Steven Barth 00c0449bac uml: fix some kernel compilation issues with GCC
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38165 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-24 13:36:38 +00:00
Steven Barth 3828d5208a uml: work-around console issue with procd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38164 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-24 13:36:33 +00:00
Gabor Juhos 3b04094e1c ppc44x: remove 3.8 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38163 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-24 13:17:48 +00:00
Gabor Juhos cee1b08c7e ppc44x: switch to 3.10
Compile tested only. The target is marked as
broken since 16 months so the kernel version
does not matter too much.

The target is scheduled for removal.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38162 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-24 13:17:47 +00:00
Gabor Juhos a3d50a209f ppc44x: add support for 3.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38161 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-24 13:17:46 +00:00
Gabor Juhos 0eb225c5fc rb532: remove 3.8 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38160 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-24 13:17:45 +00:00
Gabor Juhos 9b787ea154 rb532: switch 3.10
Compile tested only. The target is marked as
broken since 9 months so the kernel version
does not matter too much.

The target is scheduled for removal.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38159 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-24 13:17:43 +00:00
Gabor Juhos f7cbf01a63 rb532: add support for 3.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38158 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-24 13:17:42 +00:00
Gabor Juhos 61bc50296c rb532: image: fix broken ifneq statement
Fixes the following build error:

  /devel/openwrt/staging_dir/host/bin/patch-cmdline \
  /devel/openwrt/build_dir/target-mipsel_uClibc-0.9.33.2/linux-rb532/vmlinux-initramfs \
  'root=/dev/mtdblock1 rootfstype=yaffs2 '
  Could not open kernel imagemake[5]: *** [install] Error 255

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38157 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-24 13:17:39 +00:00
Gabor Juhos a4069001a5 rb532: remove trailing whitespaces from image/Makefile
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38156 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-24 13:17:38 +00:00
Gabor Juhos d39a5bff68 ar71xx: image: simplify mynet_n600_mtdlayout
Remove the kernel and rootfs partitions. The Seama
parser can find those automatically:

  0x000000070000-0x000000ff0000 : "firmware"
  2 seama-fw partitions found on MTD device firmware
  0x000000070000-0x0000001b0000 : "kernel"
  0x0000001b0000-0x000000ff0000 : "rootfs"
  mtd: partition "rootfs" set to be root filesystem
  1 squashfs-split partitions found on MTD device rootfs
  0x000000360000-0x000000ff0000 : "rootfs_data"
  0x000000ff0000-0x000001000000 : "radiocfg"

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38155 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-24 12:19:57 +00:00
Gabor Juhos c8f6f29505 ar71xx: enable the Seama firmware parser
It will be used for the WD My Net N600 board.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38154 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-24 12:19:54 +00:00
Gabor Juhos 6f78432c12 ar71xx: update the Image/Build/WZRHP macro
- append the root squashfs directly after the kernel,
 - use the 64kraw/128kraw template instead of the 64k/128k,
 - ensure that the generated images have enough erase blocks
   for JFFS2 garbage collection,

Tested on WZR-HP-G300NH and WZR-600DHP boards.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38153 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-24 09:36:26 +00:00
Gabor Juhos ea55acf64d ar71xx: image: use a common macro for Buffalo WZRHP devices
The Image/Build/WZRHP64K and the Image/Build/WZRHP128K macros
are similar. Move the common stuff into the Image/Build/WZRHP
macro and update the orignal macros to use that.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38152 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-24 09:36:25 +00:00
Gabor Juhos 8922a20ab9 ar71xx: image: update Image/Build/CameoAP94 macro
- append the root squashfs directly after the kernel,
 - use the 64kraw template instead of the 64k,
 - ensure that the generated images have enough erase blocks
   for JFFS2 garbage collection,

Tested on a TEW-673GRU board.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38151 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-24 08:14:44 +00:00
Gabor Juhos 5a6ca06c0d ar71xx: image: use a common macro for Cameo AP94 based devices
The Image/Build/DIR825B1 and the Image/Build/DLRTDEV macros
are identical. Merge those into a new Image/Build/CameoAP94
macro, and update the device profiles to use the new macro.
Also rename the dir825b1_* mtdlayout macros to cameo_ap94_*.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38150 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-24 08:14:43 +00:00
Gabor Juhos 528cbc4a87 ar71xx: image: use the board name for temporary mtdpart files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38149 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-24 06:13:14 +00:00
Gabor Juhos 22e1fba31c ar71xx: update the Image/Build/UBNT2 macro
- append the root squashfs directly after the kernel,
 - use the 64kraw template instead of the 64k,
 - ensure that the generated images have enough erase blocks
   for JFFS2 garbage collection,

Tested on a WispStation M5 board.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38148 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-24 05:58:34 +00:00
Gabor Juhos bd0c886b58 ar71xx: build intramfs images for the Ubiquiti XM boards
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38147 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-24 05:58:32 +00:00
Gabor Juhos d7ebcb828c ar71xx: image: use a common macro for UBNTXM/UBNTDEV
The firmware generation part is the same for both
macros. Move that into a separate macro and use the
new macro for Image/Build/UB{NTXM,DEV}.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38146 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-24 05:58:31 +00:00
Gabor Juhos b9c7eca559 ar71xx: image: update Image/Build/WHRHPG300N macro
- append the root squashfs directly after the kernel,
 - use the 64kraw template instead of the 64k
 - ensure that the generated images have enough erase blocks
   for JFFS2 garbage collection,

Tested on the WHR-G301N board only.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38141 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-23 19:49:27 +00:00
Gabor Juhos e88f97b1c6 ar71xx: image use the 64kraw template for the TEW-732BR board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38140 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-23 12:54:05 +00:00
Gabor Juhos d1bb32ab5d ar71xx: image: update Build/Image/Planex macro
- remove the 'kernel' and 'rootfs' partitions from the mtd layout,
 - move the .okli image into the uImage,
 - append the root squashfs directly after the kernel,
 - use the 64kraw template instead of the 64k
 - ensure that the generated images have enough erase blocks
   for JFFS2 garbage collection,

Tested on the MZK-W300NH board only.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38139 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-23 12:14:20 +00:00
Gabor Juhos 235649b44b ar71xx: image: allow to build initramfs for Planex devices
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-23 12:14:19 +00:00
Gabor Juhos 94af2f3b5a ar71xx: image: build Planex kernels in a separate step
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38137 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-23 12:14:18 +00:00
Gabor Juhos 11ede13211 ar71xx: add profile and build image for the TEW-732BR board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38133 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-23 09:49:04 +00:00
Gabor Juhos a7d58e9791 ar71xx: add user-space support for the TEW-732BR board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38132 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-23 09:49:02 +00:00
Gabor Juhos 8f083deaab ar71xx: add kernel support for the TEW-732BR board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-23 09:49:01 +00:00
Gabor Juhos 92b4d1552c ar71xx: image: update the Image/Build/CameoHornet macro
- append the root squashfs directly to the kernel,
 - use the 64kraw-nojffs template instead of sqashfs-only
 - ensure that the generated images have enough erase blocks
   for JFFS2 garbage collection,

Tested on a TEW-712BR devices only.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-23 09:22:50 +00:00
Gabor Juhos 37d9674a75 ar71xx: update the Image/Build/Cameo macro
- append the root squashfs directly to the kernel,
 - use the 64kraw/64kraw-nojffs template instead of 64k/squashfs-only,
 - ensure, that the signature is placed at the correct offset in
   the *-factory images,
 - ensure that the generated images have enough erase blocks
   for JFFS2 garbage collection,

Tested on DIR-600-A1 and TEW-632BR devices only.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38129 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-23 09:01:06 +00:00
Gabor Juhos 13bb9446f0 ar71xx: image: add new macros for AP99 based Cameo devices
The MTD layout of the AP99 based devices is different.
Add new macros to reflect that and use the new macros
for the DIR-615-E4 board.

This prevents overwriting of the 'mac' partition which
contain vital informations. The disadvantage of the change
is that the usable space is reduced by 192KiB. Blame the
vendors for the unfriendly partition layout.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-23 08:24:10 +00:00
Gabor Juhos 34fb40a7d5 ar71xx: image: rename the Cameo macros
Use the reference board name in the macro
instead of the SoC number.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38127 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-23 08:24:05 +00:00
Gabor Juhos 70dc6a49ff ar71xx: image: add optional JFFS2 padding support to the CatFiles macro
Also remove the similar code from the Netgear
profile and use the new feature instead.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38126 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-22 20:14:23 +00:00
Gabor Juhos ccc96f79d5 ar71xx: image: remove too big files in the CatFiles macro
Also improve the warning message.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-22 20:14:22 +00:00
Gabor Juhos f0113406ea ar71xx: simplify wndr3700 image generation
- remove the kernel and rootfs partitions from the mtd layout,
   the kernel creates those automatically,
 - remove estimation step, it is not needed anymore
 - put the root squashfs directly after the kernel
 - use the 64kraw template

With the default configuration, this allows to use more space for
rootfs_data with 64KiB. Tested on WNDR3700 v1 only.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38120 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-22 11:45:09 +00:00
Gabor Juhos 4ae07d64e7 ar71xx: use the separate rootfs and uImage parsers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38119 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-22 11:45:08 +00:00
Gabor Juhos bf3a81fdcd ar71xx: sync kernel config
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-22 11:45:06 +00:00
Gabor Juhos e993d5739e ar71xx: image: add mtdpartsize macro
The new macro will be used to determine the firmware
partition size from an MTD layout.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38117 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-22 09:11:25 +00:00
Gabor Juhos 4f5f42fcf9 ar71xx: image: improve the rootfs_align macro
Improve the macro to return correct value for
all squashfs variant.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38116 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-22 09:11:24 +00:00
Gabor Juhos 8609d082e4 ar71xx: image: improve the CatFiles macro
Make it possible to append the rootfs image directly
to the kernel.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-22 09:11:22 +00:00
Gabor Juhos c803ece2ef kernel/3.10: add partition parser for Seama firmwares
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38114 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21 17:56:18 +00:00
Gabor Juhos 66f6b4e4a5 kernel/3.10: add partition parser for uImage firmwares
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38113 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21 17:56:09 +00:00
Gabor Juhos c70fa62f6c kernel/3.10: add default partition name defines to mtdsplit.h
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38112 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21 17:56:01 +00:00
Gabor Juhos 4f40e9f561 kernel/3.10: add more helpers to the mtdsplit code
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38111 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21 17:55:54 +00:00
Gabor Juhos 90b4f720be kernel/3.10: add separate rootfs partition parser
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38110 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21 17:55:49 +00:00
Gabor Juhos ccbea57263 kernel/3.10: move squashfs check from rootfs split code into a separate file
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38109 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21 17:55:44 +00:00
Gabor Juhos baa84682cd kernel/3.10: allow to use partition parsers for rootfs and firmware split
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38108 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21 17:55:30 +00:00
Gabor Juhos 9c2847cced kernel/3.10: allow to use different MTD parser types
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38107 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21 17:55:18 +00:00
Gabor Juhos 369175045a ar71xx: enable wlan2g led in the default configuration of dir-825-c1
Enable the wlan2g led in the default configuration of dir-825-c1.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Patchwork: http://patchwork.openwrt.org/patch/4079/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38106 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21 16:08:45 +00:00
Gabor Juhos 1c81977013 ar71xx: vanity changes for dir-825-c1
This patch

- changes the color names from orange to amber
- changes the name of GPIO 13 from WIFI_BGN (wifi_bgn) to WLAN_2G
  (wlan2g) to be more consistent with the other routers' files
- changes the descriptions of the hardware keys to be a tad more
  explicit

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Patchwork: http://patchwork.openwrt.org/patch/4081/
[juhosg: update the LED migration script as well]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38105 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21 16:08:44 +00:00
Gabor Juhos 46436e721a ar71xx: diag.sh: consolidate netgear device entries
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38104 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21 15:55:57 +00:00
Gabor Juhos c1585ec773 ar71xx: use the green power led for diag on the WNR2200 board
Make it consistent with the other Netgear boards.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38103 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21 15:55:56 +00:00
Gabor Juhos 0d1c23f2ca ar71xx: use netgear prefix for WNDAP360 LED names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21 15:55:55 +00:00
Gabor Juhos a41829e342 ar71xx: use netgear prefix for WNR612 v2 LED names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21 15:55:54 +00:00
Gabor Juhos 6e68a61d0c ar71xx: use netgear prefix for WNR2200 LED names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38100 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21 15:55:52 +00:00
Gabor Juhos 4f4283a964 ar71xx: use netgear prefix for WNR2000 LED names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21 15:55:51 +00:00
Gabor Juhos 0dbe07edab ar71xx: use netgear prefix for WNDR3700 LED names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38098 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21 15:55:50 +00:00
Gabor Juhos 79860a09b1 ar71xx: add an uci-defaults script for LED configuration migration
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21 15:55:49 +00:00
Gabor Juhos 1ab3cb3ceb ar71xx: let HW switch control WAN LED on dir-825-c1
Enable GPIO 20. This hands off control of the blue planet led to the
integrated switch. Consequently, remove the led configuration for the
blue planet led.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Patchwork: http://patchwork.openwrt.org/patch/4080/
[juhosg: whitespace fixup]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21 14:56:24 +00:00
Gabor Juhos 4ee87179db ar71xx: image: override mkcameofw status
This allows to build images for other boards, even if
the image is too big for Cameo devices.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21 14:56:22 +00:00
Gabor Juhos 581e4d98e6 ar71xx: fix LAN LEDs for dir-825-c1
This patches fixes the lan led configuration. The new configuration is
identical to the one in mach-db120.c and it works. The previous one
didn't work at all.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21 12:04:45 +00:00
Gabor Juhos 944577c63f ar71xx: set proper wan mac during initial configuration on dir-825-c1
The goal is to set the WAN MAC address to the one on the
sticker on the bottom of the unit. Currently it is not
used at all. But some users expect the WAN interface to
have the MAC address that is written on the sticker.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-20 16:59:44 +00:00
Gabor Juhos 784e34f43a ar71xx: tew-712br: use ath79_parse_ascii_mac helper
Remove the local MAC address parser function and use
the generic one instead.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38090 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-20 16:41:36 +00:00
Gabor Juhos 9738028ba7 ar71xx: tew-673gru: use ath79_parse_ascii_mac helper
Remove the local MAC address parser function and use
the generic one instead.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-20 16:41:34 +00:00
Gabor Juhos 6ff15e23d5 ar71xx: dir-825-c1: use ath79_parse_ascii_mac helper
Remove the local MAC address parser function and use
the generic one instead.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38088 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-20 16:41:33 +00:00
Gabor Juhos 0097945adf ar71xx: dir-825-b1: use ath79_parse_ascii_mac helper
Remove the local MAC address parser function and use
the generic one instead.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-20 16:41:32 +00:00
Gabor Juhos 40776d159d ar71xx: dir-505-a1: use ath79_parse_ascii_mac helper
Remove the local MAC address parser function and use
the generic one instead.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-20 16:41:31 +00:00
Gabor Juhos cba7f6c262 ar71xx: rename ath79_parse_mac_addr to ath79_parse_ascii_mac
Rename the function and extend it in order to make it
usable from board setup code.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38085 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-20 16:41:30 +00:00
Gabor Juhos 344f649055 ar71xx: fix Cameo934x initramfs image generation
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-20 16:41:28 +00:00
Luka Perkov 153b6b7122 lantiq: fix usb on sx76x
Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38083 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-20 14:24:30 +00:00
Luka Perkov 19570640aa imx6: update gw5400-a dts
- remove common imx6q-ventana.dtsi - there isn't enough commonality to
  warrent this
- rename user led's to 1-based
- add alises used by bootloader
- clean up iomux gpios
- fix pfuze slave address
- enable sata
- add delay after release of pci reset downstream from PCIe switch
- remove PCIe clock configuration as its now handled in updated driver

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38081 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-20 01:59:33 +00:00
Luka Perkov 964174bc4f imx6: update PCIe driver
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@38080 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-20 01:59:32 +00:00
Luka Perkov e568b3d4ff imx6: update network defaults for Gateworks Ventana
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@38079 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-20 01:59:30 +00:00
Luka Perkov 40cdcb8881 imx6: update config
* enable PERF_EVENTS
* enable REGULATOR_ANATOP
* enable VMSPLIT_2G

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-20 01:59:29 +00:00
Luka Perkov 4aa6fa6141 imx6: drop inittab
It's the same as in base-files package.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38077 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-20 01:59:27 +00:00
Gabor Juhos a57602ebeb ar71xx: add profile and build image for the WD My Net N600 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38076 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19 22:36:43 +00:00
Gabor Juhos 9ceddfbb63 ar71xx: add sysupgrade support for the WD My Net N600 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38075 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19 22:36:42 +00:00
Gabor Juhos b8a054aff2 ar71xx: add user-space support for the WD My Net N600 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38074 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19 22:36:41 +00:00
Gabor Juhos 469653f820 ar71xx: add kernel support for the WD My Net N600 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38072 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19 22:36:39 +00:00
Gabor Juhos 94f3076a60 ar71xx: wndr4300: enable HW ECC mode for the NAND controller
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38071 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19 18:43:43 +00:00
Gabor Juhos 2c046acf63 ar71xx: add ath79_nfc_set_ecc_mode helper
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38070 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19 18:43:42 +00:00
Gabor Juhos 01b9f2ed81 ar71xx: ar934x_nfc: add experimental support for hardware ECC
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38069 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19 18:43:41 +00:00
Gabor Juhos 71d579ba28 ar71xx: ar934x_nfc: return error code from some low-level functions
Change some flow-level unctions to return with an
error code in order to be able to report errors
to the core code.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38068 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19 18:43:40 +00:00
Gabor Juhos ba2221869e ar71xx: ar934x_nfc: use devm_* functions
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38067 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19 18:43:38 +00:00
Gabor Juhos a6a0cb38f2 ar71xx: add profile and build image for the TL-MR13U board
Signed-off-by: Oleg Titov <oleg.titov@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4063/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38066 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19 17:52:45 +00:00
Gabor Juhos ba8664976d ar71xx: add user-space support for the TL-MR13U board
Signed-off-by: Oleg Titov <oleg.titov@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4063/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38064 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19 17:52:42 +00:00
Gabor Juhos c589592564 ar71xx: add kernel support for TP-Link TL-MR13U
This patch adds support for TP-Link TL-MR13U router with built-in 10AH
rechargeable battery.

The patch is based on kamwanlai's patch:
https://forum.openwrt.org/viewtopic.php?pid=206746#p206746

Updated to accommodate recent changes introduced with:
ar71xx: remove fs_* variables from image/Makefile

Signed-off-by: Oleg Titov <oleg.titov@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4063/
[juhosg:
  - refresh and rename rename 930-add-tl-mr13u-support.patch =>
    625-MIPS-ath79-add-tl-mr13u-support.patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19 17:52:41 +00:00
Gabor Juhos ff74560460 ar71xx: wnr2200: fix a typo in a LED name
Reported-by: Roman A. aka BasicXP <x12ozmouse@ya.ru>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19 17:52:40 +00:00
Gabor Juhos b1560fb9e3 ar71xx: add profile and build image for the WNR2200 board
Signed-off-by: Aidan Kissane <aidankissane@googlemail.com>
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Patchwork: http://patchwork.openwrt.org/patch/4055/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38061 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19 16:56:51 +00:00
Gabor Juhos 8613f5da46 ar71xx: add user-space support for the WNR2200 board
Signed-off-by: Aidan Kissane <aidankissane@googlemail.com>
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Patchwork: http://patchwork.openwrt.org/patch/4055/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19 16:56:50 +00:00
Gabor Juhos f7b84c9209 ar71xx: add kernel support for Netgear WNR2200 wireless router
This patch adds OpenWRT support for the Netgear WNR2200 (N300)
wireless router with USB.

Technical details of this router can be found at
http://www.netgear.com/home/products/wirelessrouters/work-and-play/WNR2200.aspx
and http://wikidevi.com/wiki/Netgear_WNR2200

Signed-off-by: Aidan Kissane <aidankissane@googlemail.com>
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Patchwork: http://patchwork.openwrt.org/patch/4055/
[juhosg:
  - add commit message and SoB line from the original patch
  - remove dead code from mach-wnr2200.c
  - refresh 624-MIPS-ath79-WNR2200-support.patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38059 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19 16:56:48 +00:00
John Crispin 25d1d1e9f1 ralink: make dcs930 uvc camera work
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19 05:57:00 +00:00
John Crispin f983916240 ralink: add support for dalink dcs930l ipcam
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19 05:56:46 +00:00
John Crispin 9da7aa5626 ralink: add back dwc_otg driver
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38052 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19 05:56:31 +00:00
Luka Perkov 3794485996 lantiq: style fixes
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19 00:50:49 +00:00
Luka Perkov e39787b0fd lantiq: add initial support for Siemens GIGASX76X
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38050 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19 00:50:48 +00:00
Luka Perkov 5e8d7e5382 lantiq: add support for ZyXEL P2601HNFX
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38049 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19 00:50:46 +00:00
Luka Perkov 73a4aa94e7 lantiq: add support for ZTE H201L
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38048 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19 00:50:44 +00:00
Luka Perkov 18f807fbc5 malta: target.mk cosmetical fixup
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38047 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-18 23:03:47 +00:00
Hauke Mehrtens a4456bb4a5 brcm47xx: b44: bgmac: some small changes to the phylib patches
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38044 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-18 16:49:52 +00:00
John Crispin 9921bd78e7 lantiq: fix FRITZ7320 flash window size
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38042 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-18 16:31:45 +00:00
John Crispin 9272110209 lantiq: fix ath9k eeprom loading order bug
https://dev.openwrt.org/ticket/14131
http://patchwork.openwrt.org/patch/4038/

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-18 16:31:41 +00:00
John Crispin 8276734d5a ralink: DIR-300 B7 and DIR-320/NRU B1 on Ralink RT5350
https://dev.openwrt.org/ticket/14129

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38040 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-18 16:31:37 +00:00
John Crispin 45e18c1dfb lantiq: fix up default firmware selection for spanish and italian routers
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-18 16:31:32 +00:00
Hauke Mehrtens 6da3933092 brcm47xx: bgmac: b44: add support for Byte Queue Limits
This adds support for Byte Queue Limits in bgmac and b44, now it is 
possible to use more advanced network queue control algorithms.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38038 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-18 15:19:25 +00:00
Hauke Mehrtens 80d7a3558d brcm47xx: update the clock fixes for BCM5354
This updates the patches for BCM5354 to the version send for upstream 
Linux inclusion.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38037 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-18 14:36:03 +00:00
Hauke Mehrtens 3d8f232fda brcm47xx: update board detection patches
This is now the version which was send for mainline Linux kernel 
inclusion. The data needed to detection a board is now stored in init 
data.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38036 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-18 14:33:54 +00:00
Hauke Mehrtens df9cbcd450 brcm47xx: add detection for Linksys E900 V1
Thank you Rafał for the data.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38035 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-18 14:32:05 +00:00
John Crispin 718e5fe27e lantiq: add v3.10 patches
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38031 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-17 21:46:10 +00:00
John Crispin e032c31218 lantiq: add wifi eep to a803 dts file
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38030 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-17 21:46:04 +00:00
John Crispin f0b23cd6d3 lantiq: add a subtarget for the xrx200 SoC family
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38029 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-17 21:46:00 +00:00
John Crispin 8efddfe9ec lantiq: update dts files
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-17 21:45:50 +00:00
John Crispin 88f6536f5b ralink: add pinctrl driver
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-17 21:45:44 +00:00
John Crispin a01168134e ralink: change subtarget order
this will make image builder build rt305x targets per default

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38025 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-17 21:45:39 +00:00
Felix Fietkau 731f8ee3a8 kernel: backport a fix for multiqueue selection to prevent tcp reordering with fair queueing
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-17 10:07:52 +00:00
Hauke Mehrtens 81cf14367f brcm47xx: Add support for Huawei E970
This patch adds support for Huawei E970 wireless gateway devices.
It has been tested on an E970 labelled as T-Mobile web'n'walk Box IV.
E960/B970 should work too, from what I know it's basically the same hardware.

The device has a Broadcom BCM5354 SoC and a built-in 3G USB modem.

It uses a hardware watchdog which needs GPIO-7 to be toggled at least
every 1-2 seconds. This patch uses gpio_wdt module (see my previous
patch today) to take care of this.

Tested and works:  3G wan,  wlan+LED,  VLAN config,  failsafe using reset
button,   image to be used for upgrade from OEM firmware's web interface

Link to the wiki page I've created:  <http://wiki.openwrt.org/toh/huawei/e970>

Issue:

* lzma-loader crashes, so gzipped kernel is used. Presumably due to watchdog
  reset during kernel decompress.

Signed-off-by: Mathias Adam <m.adam--openwrt@adamis.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38011 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-16 21:09:10 +00:00
Hauke Mehrtens 565a027db3 kernel: add generic GPIO watchdog driver
This is used on Huawei E970 (brcm47xx).

Signed-off-by: Mathias Adam <m.adam--openwrt@adamis.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-16 21:07:52 +00:00
Hauke Mehrtens c24af5a0a4 brcm47xx: add detection for Phicomm M1
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-16 19:53:09 +00:00
Hauke Mehrtens a2b9227c5e brcm47xx: detect Linksys E1200 V2
This adds detection for Linksys E1200 V2

Thank you Lightsword and Rafał.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-16 19:49:02 +00:00
Hauke Mehrtens 77cbd421b4 brcm47xx: mtd: bcm47xxpart: detect "factory" partition
A new type of partition with magic FCTY was found on Huawei E970:
46 43 54 59 4b 51 37 4e  41 42 31 38 41 32 39 30  |FCTYKQ7NAB18A290|

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-16 19:47:30 +00:00
Hauke Mehrtens db3414a7e1 brcm47xx: bgmac: implement unaligned addressing for DMA rings that support it
This is important patch for new devices that support unaligned
addressing. That devices suffer from the backward-compatibility bug in
DMA engine. In theory we should be able to use old mechanism, but in
practice DMA address seems to be randomly copied into status register
when hardware reaches end of a ring. This breaks reading slot number
from status register and we can't use DMA anymore.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-16 19:46:34 +00:00
Gabor Juhos bfe5dcd235 kernel/3.10: add new Kconfig option for firmware partition split
Add a new kernel config option for generic firmware partition
split support and change the uImage split support to depend on
the new option. Aslo rename the MTD_UIMAGE_SPLIT_NAME option to
MTD_SPLIT_FIRMWARE_NAME to make it more generic.

The patch is in preparation for multiple firmware format
support.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-15 17:03:29 +00:00
Hauke Mehrtens 9aa1ed8c46 brcm47xx: add detection code for Huawei E970
This is based on a patch by Mathias Adam.

Signed-off-by: Mathias Adam <m.adam--openwrt@adamis.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-15 17:00:45 +00:00
Gabor Juhos 2d7844c116 kernel: update 3.10 to 3.10.12
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-15 16:00:41 +00:00
Hauke Mehrtens 463cdf78fa brcm47xx: bgmac: allow bigger et_swtype nvram variable
Without this patch it is impossible to read et_swtype, because the 1 
byte space is needed for the terminating null byte. Now it should be 
possible to read decimal and hex vars of max 8 bit.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37999 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-15 15:50:41 +00:00
Hauke Mehrtens 734c329b42 brcm47xx: mtd: bcm47xxpart: detect block aligned Squashfs partition
Most of the bcm47xx devices use TRX format for storing kernel and some
partition like Squashfs or JFFS2. This is pretty flexible solution, CFE
(the bootloader) just writes (and later boots) TRX at some hardcoded
place and paritions can vary in the size.

However some devices don't use TRX format. Very recently we have
discovered ZTE H218N that has kernel and rootfs partitions at some
"random" places.

This patch allows Linux find a rootfs partition after installing custom
image with a CFE bootloader.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-15 15:47:45 +00:00
Gabor Juhos 4382cb6c9c kernel/3.10: move OpenWrt MTD options into a submenu
Separate OpenWrt specific MTD options from the mainline
option by moving those into a new submenu in the kernel
configuration interface.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37997 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-15 15:16:16 +00:00
Hauke Mehrtens 625e34b42c brcm47xx: update board detection patch
* Use different structs depending on the number of nvram variables to check.
* Add detection of ZTE H218N, this closes #14151.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37996 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-15 15:08:29 +00:00
Hauke Mehrtens ac3e4a1200 kernel: b53: detect revision of BCM5325
The revision is stored in a different register than it is in other 
Broadcom switches.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-15 13:30:49 +00:00
Hauke Mehrtens 593a7b7c77 kernel: b53: fix vlan write for BCM5325 revison 3+
These switches are integrated in some recent BCM53XX and BCM47XX SoCs
like the BCM53572.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-15 13:29:14 +00:00
Hauke Mehrtens 1b5c6ae762 brcm47xx: bgmac: fix internal switch initialization
Some devices (BCM4749, BCM5357, BCM53572) have internal switch that
requires initialization. We already have code for this, but because
of the typo in code it was never working. This resulted in network not
working for some routers and possibility of soft-bricking them.

Use correct bit for switch initialization and fix typo in the define.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-15 09:39:19 +00:00
Hauke Mehrtens f03ec7e117 brcm47xx: detect Asus RT-N10
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37989 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-14 16:19:21 +00:00
Hauke Mehrtens 38484f47f2 kernel: b53: use hard coded switch reset gpio on some boards.
The Linksys wrt310n v1 does not have a robo_reset config variable in 
nvram, but GPIO Pin 8 is the pin needed for resetting the external 
switch, Linksys hard coded it into their source code.

Thank you Devastator for testing.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-14 16:17:36 +00:00
Hauke Mehrtens 1a3dd5a001 kernel: b53: add soft reset for BCM539x switches
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37987 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-14 16:14:02 +00:00
Hauke Mehrtens f219addf79 brcm47xx: tg3: use the phy address from et0phyaddr and not the default phy address.
Thank you Devastator for testing.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-14 16:10:37 +00:00
Gabor Juhos 80dab3e93d generic/3.10: remove unused defines from the rootfs split patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-14 10:19:10 +00:00
Gabor Juhos 9c2201ca15 generic/3.10: reduce number of ifdefs in the rootfs split code
Use the config_enabled() macro where it is possible.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-14 10:19:09 +00:00
Luka Perkov d064cd0998 imx6: add network defaults for GW5400-A
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-13 21:50:35 +00:00
Hauke Mehrtens 9d20ead66b brcm47xx: board detection, GPIO for Linksys E1000 V2.1
This patch adds board detection for the Linksys E1000 V2.1 router, as well
as GPIO support for same.

This fixes bug #14135. Currently, wired networking isn't working on the
router, and I haven't tried the wireless, but with this patch, OpenWRT
successfully boots, and all the LEDs and buttons work properly.

Signed-off-by: Zachary Catlin <zcatlin@indiana.edu>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37977 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-13 19:24:08 +00:00
Gabor Juhos 10efed4c0b ar71xx: refresh patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37976 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-13 17:29:16 +00:00
Gabor Juhos f15f26672e generic/3.10: refresh patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37975 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-13 17:29:14 +00:00
Gabor Juhos c347a765b9 generic/3.10: rename mtd patches
- change patch numbers to group the related stuff together,
  - add mtd prefix where it is missing,
  - use hyphens in the patch names

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37974 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-13 17:24:25 +00:00
Gabor Juhos e2db78c0e1 cns21xx: remove 3.8 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37973 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-13 16:39:36 +00:00