Commit Graph

13086 Commits (970192986d5069cd53b2f7905a5dc5269f615497)

Author SHA1 Message Date
Luka Perkov bb3c6eaa04 mvebu: be consistent with kernel config file names
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41240 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-17 21:04:45 +00:00
John Crispin 7911faae00 lantiq: DGN3500 (all known variants) factory and sysupgrade image building support
This patch adds factory image building for the DGN3500, all variants,
and fixes sysupgrade images to make them play nice with the sercomm
secondary boot loader.

The factory images can be used directly in the update dialog in the
interface of the stock firmware and via the special Sercomm bootmode
and a special windows flashing utility (allegedly present in the CD
that came with the device -- but it's also compatible with the NSLU2
Upgrade_207_XP utility.) The special bootmode can be activated by
turning the device on while holding the reset button pressed, then
releasing it when the power led starts blinking red and green. Please
notice that if using the 207 utility, it will always report that the
flashing failed even though it completed successfully. Just power
cycle the router manually after the utility reports the failure and
OpenWRT will boot. This same utility (despite reporting failure in
this case too) can revert a DGN3500 (any variant) to the appropriate
stock Netgear firmware.

This patch is a heavily modified version of a package I found on the
OpenWRT forum with a couple fixes and features added -- mainly the
generation of all the different image variants to support all known
models directly, atm known variants are AnnexA-WW, AnnexA-NA and
AnnexB-DE/GR.

I tested the patch successfully on my device.

Signed-off-by: Marco Antonio Mauro <marcus90@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-17 15:38:54 +00:00
Imre Kaloz 520be62713 [mvebu]: add dummy fixup for 3.10
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41234 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-17 15:14:02 +00:00
Imre Kaloz dcb29419e5 build images for the WRT1900AC
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41233 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-17 15:13:33 +00:00
Imre Kaloz b3ca518850 [mvebu]: preliminary support for the WRT1900AC (work in progress)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-17 15:13:10 +00:00
Jo-Philipp Wich 925763c949 mpc85xx: fix typo in TP-Link WDR4900 profile
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41229 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-17 15:01:47 +00:00
John Crispin bbb8942009 ramips: RT-N56U support fixes and factory image creation
Signed-off-by: Mikko Hissa <mikko.hissa@werzek.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41224 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-16 18:57:20 +00:00
John Crispin a0be38dafa procd: various cleanups to /lib/upgrade/nand.sh
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41222 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-16 18:55:14 +00:00
John Crispin 31bede7b73 kernel/3.1{0, 2, 3, 4}: mtd: m25p80: add support for EON EN25QH128
This flash is used in newer Ubnt UniFi AP Pro

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41219 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-16 18:55:01 +00:00
John Crispin afcb9a0e28 kernel: replace a ubifs patch by upstream commit
A modified version of 552-ubifs-respect-silent-mount-flag.patch has
been merged upstream. Replace the patch in OpenWrt with the version
which has been merged.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41218 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-16 18:54:57 +00:00
John Crispin 5bbd82ea7c ramips: fixes XDXRN502J reset button
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41217 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-16 18:54:53 +00:00
John Crispin c138d72719 ramips: add vlan configuration for asiarf awm002-evb
Without this, the ports all end up on vlan 1.  This enables a separate
WAN port that works.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41216 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-16 18:54:48 +00:00
John Crispin 10132c1857 ramips: restore AWM002-EVB profile in asiarf.mk
In a recent revision (r41177) John Crispin removed the profile for the
AsiaRF AWM002 eval board while adding another AsiaRF board.  This
patch restores AWM002 and also corrects a misspelling and an
apparently errant reference to an Allnet ALL0239-3G device.

Signed-off-by: Galen Seitz <galens@seitzassoc.com>
Signed-off-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41215 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-16 18:54:42 +00:00
John Crispin 336845db7c lantiq BTHOMEHUBV2B - update dts for automatic detection of ubi partition and rootfs type
This patches the BTHOMEHUB2B device tree to make use of the
new code for automatic detection of the ubi partition and the
rootfs type within it. Gets rid of the ugly alternative bootargs
lines.

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
Acked-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41214 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-16 18:54:38 +00:00
John Crispin 9d0847ec38 lantiq: fixup vgv7519 usb support
https://dev.openwrt.org/ticket/16800

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-16 18:54:33 +00:00
Felix Fietkau a045629b04 kernel: fix pkt_type filter mask for packet sockets
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41178 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-13 09:34:03 +00:00
John Crispin 90ee91f93d ramips: add asiarf awapn2403 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41177 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-13 09:16:15 +00:00
Steven Barth 996e57ab29 Update UML target to 3.10 and various improvements
Updated target to 3.10.36.
Added mconsole exec patch.
Added pseudo-random MAC patch (from NetKit).

Signed-off-by: Markus Stenberg <markus.stenberg@iki.fi>
Reviewed-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-12 17:57:19 +00:00
Luka Perkov a6e15f8060 kernel: update 3.14 to 3.14.7
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41150 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-11 23:39:54 +00:00
Felix Fietkau d933a4ee27 ramips: fix rt2x00 handling of default packages for subtargets
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-11 17:01:19 +00:00
John Crispin f4b2acaeea kernel: make sure the new UBIBLOCK symbol does not break builds
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41134 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-11 13:00:17 +00:00
John Crispin 75e3fab052 ar71xx: activate the nand sutarget
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41133 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-11 13:00:12 +00:00
John Crispin 55f47d6743 ar71xx: fix up kernel config for the nand subtarget
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41132 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-11 13:00:04 +00:00
John Crispin 6792c27b85 ar71xx: add sysupgrade support for wndr4300
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-11 13:00:00 +00:00
John Crispin 8d850a3313 ar71xx: remove the explicit ubi.mtd- paramaters and rename ubiroot to ubi
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-11 12:59:57 +00:00
John Crispin 2e87c25986 kernel: add a NAND_SUPPORT symbol
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41122 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-11 12:59:22 +00:00
John Crispin 2b08433100 kernel: backport the ubiblock patches from 3.14->3.10
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41120 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-11 12:59:15 +00:00
John Crispin 41aefc9332 kernel: rootfs auto-mount on ubi
Similar to the rootfs hacks on NOR flash devices, this series
introduces support for auto-attaching (ubi device), auto-creating
(ubiblock device) and mounting the "rootfs" (ubifs or squashfs)
volume.
This is needed so OpenWrt can start without relying on the bootloader
to pass the ubi.mtd, ubi.block, rootfs and rootfstype parameters, but
instead auto-detect the root filesystem according to a simple convention.

OpenWrt-specific:
490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch
491-ubi-auto-create-ubiblock-device-for-rootfs.patch
492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch
493-ubi-set-ROOT_DEV-to-ubiblock-rootfs-if-unset.patch

sent upstream:
552-ubifs-respect-silent-mount-flag.patch
http://lists.infradead.org/pipermail/linux-mtd/2014-May/053893.html

v2: actually retry with MS_RDONLY when mounting read-only ubifs root

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41119 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-11 12:59:10 +00:00
John Crispin f9d01db1cd kernel: backport ubiblock support from 3.15
Backport ubiblock support from kernel 3.15 as well as all follow-up
fixes related to ubiblock.

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

 create mode 100644 target/linux/generic/patches-3.14/040-UBI-R-O-block-driver-on-top-of-UBI-volumes.patch
 create mode 100644 target/linux/generic/patches-3.14/041-UBI-block-do-not-use-term-attach.patch
 create mode 100644 target/linux/generic/patches-3.14/042-UBI-block-Mark-init-only-symbol-as-__initdata.patch
 create mode 100644 target/linux/generic/patches-3.14/043-UBI-block-Use-u64-for-the-64-bit-dividend.patch
 create mode 100644 target/linux/generic/patches-3.14/044-UBI-rename-block-device-ioctls.patch
 create mode 100644 target/linux/generic/patches-3.14/045-UBI-block-Remove-__initdata-from-ubiblock_param_ops.patch
 create mode 100644 target/linux/generic/patches-3.14/046-UBI-avoid-workqueue-format-string-leak.patch
 create mode 100644 target/linux/generic/patches-3.14/047-UBI-make-UBI_IOCVOLCRBLK-take-a-parameter-for-future.patch

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-11 12:59:06 +00:00
Felix Fietkau 08bd449e86 atheros: fix too short msleep
Use msleep(20) instead of msleep(10) to make code closer to reality
since msleep can sleep for up to 20ms even we request shorter delay.
All updated calls are located in PCI initialization routine which is
called only once upon device boot. So there should be no performance
issues caused by more longer delay.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-10 09:06:25 +00:00
Felix Fietkau 37006f3b37 atheros: shorten lines
Wrap lines over 80 chars or make them shorter by other ways.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-10 09:06:22 +00:00
Felix Fietkau 91443b20ca atheros: constify some static structures
Constify some static structures as suggested by checkpatch.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-10 09:06:18 +00:00
Felix Fietkau a1189cbd7d atheros: avoid __FUNCTION__ usage
Use __func__ instead of gcc specific __FUNCTION__ as suggested by
checkpatch.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-10 09:06:14 +00:00
Felix Fietkau 2a6e03d7ad atheros: trailing statements fixes
Move trailing statements to next line with indentation as suggested by
checkpatch.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41092 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-10 09:06:10 +00:00
Felix Fietkau f10e6fd9af atheros: spaces fixes
Add missed spaces and remove odd space as suggested by checkpatch.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-10 09:06:06 +00:00
Felix Fietkau 4348822245 atheros: indent fixes
Various indent fixes suggested by checkpatch: use tabs, use same level
of indentation for switch and case, correct indentation levels.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41090 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-10 09:06:03 +00:00
Felix Fietkau 3b68214e57 atheros: fix includes
Remove some unnecessary includes and use <linux/foo.h> instead of
<asm/foo.h> when it possible as suggested by checkpatch.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-10 09:05:58 +00:00
Felix Fietkau d5ce5c199b atheros: various printk(...) fixes
Use more particular functions dev_<level> or pr_<level>(...) insead of
direct printk(...) call. Add KERN_LEVEL to calls what missed it.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41088 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-10 09:05:55 +00:00
Felix Fietkau 7b39c76660 atheros: various braces fixes
Fix braces location, remove unnecessary empty lines before or after code
block, remove useless braces. All cases are detected by checkpatch.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-10 09:05:51 +00:00
Felix Fietkau 29a33c9e0a atheros: do not initialize statics to 0 or false
as suggested by checkpatch.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-10 09:05:47 +00:00
Felix Fietkau cea8debc60 atheros: remove trailing whitespace
as suggested by checkpatch.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41085 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-10 09:05:43 +00:00
Felix Fietkau 5bdef6a357 atheros: do not assignment in if condition
Remove assignments from if conditions as suggested by checkpatch.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-10 09:05:40 +00:00
Felix Fietkau 9206683f4b atheros: remove parentheses around return values
Remove parentheses around return values since return is no a function,
as suggested by checkpatch.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41083 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-10 09:05:36 +00:00
Felix Fietkau 19c6fdf34a atheros: parenthesis around complex macroses value
Use parenthesis around complex macroses value as suggested by
checkpatch.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41082 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-10 09:05:32 +00:00
Felix Fietkau bb7b461319 atheros: various comments fixes
Fix comment issues detected by checkpatch. Convert C99 // comments to
ordinary /* ... */ comments. Correct block comments style or convert
them to single line comments.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41081 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-10 09:05:28 +00:00
Felix Fietkau e17ca070e7 atheros: avoid CamelCase
Change fooBar variables names to foo_bar as suggested by checkpatch,
write few tables names in lower case and correctly place __initdata
keyword.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41080 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-10 09:05:25 +00:00
Felix Fietkau b0caf60f09 brcm47xx: merge FEATURES lines in the legacy subtarget
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-08 09:51:38 +00:00
Felix Fietkau 459c9c3fc6 brcm47xx: fix kmod-usb-brcm47xx build on legacy and mips74k subtargets
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41052 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-08 09:45:55 +00:00
Hauke Mehrtens 436d42c5cd brcm47xx: activate some compiler optimizations for 74K CPUs
With this patch the mips74k subtarget will be compiled with optimized 
compiler options to generated smaller and faster code. This currently 
breaks broadcom-wl, because the binary blob is only compiled with 
mipsr1 support.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41050 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-07 17:36:02 +00:00
Felix Fietkau 7e4ffc4002 brcm47xx: move the low_mem feature flag to the legacy subtarget
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41049 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-07 17:21:30 +00:00
Hauke Mehrtens 3b8f1d816c brcm47xx: remove old gpio and nvram interfaces
These were only used by broadcom-diag any more.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41048 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-07 17:04:37 +00:00
Hauke Mehrtens c8621d02f5 brcm47xx: mips74k: optimize kernel config
This saves abount 15 kB of compressed kernel size.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-07 15:42:33 +00:00
Hauke Mehrtens 6143a2a98d bcm47xx: use eth0 for switch name
This fixes some strange problems with tg3. I assume that the Ethernet 
driver was not brought up if the switch was named switch0.

This was reported and tested by ernesto (Faulp3lz).

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41042 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-07 15:41:41 +00:00
Felix Fietkau 758e298a5d brcm47xx: add a "legacy" subtarget that is usable for low-end 802.11g devices like WRT54G
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-07 15:19:40 +00:00
Hauke Mehrtens 42acb52779 brcm47xx: add mips74k subtarget for newer devices
All new devices (with MIPS 74K CPU) are based on BCMA SoC and have
Ethernet core supported by bgmac. Create a new subtarget to generate
optimized builds.
This is just a beginning, further tweaks (like kernel configuration)
are still possible. This decreases default root.squashfs by ~128 kB.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41025 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 21:25:03 +00:00
Hauke Mehrtens 431f863e5e brcm47xx: move current target to "generic" subtarget
This allows creating more subtargets and optimize builds per family.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 21:23:58 +00:00
John Crispin 7beffd41f7 lantiq: fix eep handling patch
0b79a4a66d17d2c7c12cde8d13637c1b0e5152c2 broke the patch

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-05 08:19:52 +00:00
Luka Perkov a7e553eb42 imx6: kernel: update 3.14 pcie patches
Remove old irq map patch and replace it with the propper upstream patches
allowing IMX6 PCIe devices behind PCIe switches to work properly.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-04 23:01:30 +00:00
John Crispin 63b3537817 lantiq: ath5k fix in wifi and ethernet eeprom handling patch.
ath5k fix in wifi and ethernet eeprom handling patch.

Without the line that adds the patch of_ath5k_eeprom_probe cause a
kernel panic, at least with the ARV4518PW.
Tested only in the modem-router mentioned above.

This patch is based in Bruno's hack present in patch #5454.

Signed off by: Bruno Rodríguez <bruno.rodriguez.1980@gmail.com>
Signed off by: José Vázquez Fernández <ppvazquezfer@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40999 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-04 07:20:22 +00:00
Luka Perkov bbf2911c5c imx6: ventana: remove non-trunk packages from defaults
The canutils package is in the packages repo and not part of trunk, so we
should not enable them by default.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40991 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 21:23:36 +00:00
Luka Perkov b8d1fab615 imx6: ventana: add default kernel modules
Add the following kernel modules by default (which are present on most Ventana
baseboards):
 - kmod-leds-gpio (user leds)
 - kmod-sound-core (required as a dependency of the other sound modules)
 - kmod-pps-gpio (Pulse-Per-Second)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40990 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 21:23:35 +00:00
Luka Perkov 84426e4c48 imx6: update board names per device-tree updates
The Gateworks Ventana board names have been adjusted per upstream patches
to include all IMX6 SoC variants.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40989 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 21:23:34 +00:00
Luka Perkov 82149ec1f3 imx6: update 3.14 ventana dts with upstream fixes
update the Ventana DTS files with upstream fixes:
 - The 'model' property in the imx-audio-sgtl5000 binding specifies the
   user-visible name of the audio device. This should be something common and
   not baseboard specific.
 - removed obsolete crts
 - fix include typo: The imx6q-gw51xx needs to include imx6qdl-gw51xx.dtsi
 - fix gw52xx clock for sgtl5000 ananlog audio codec
 - fix LVDS mapping for Ventana GW52xx/GW53xx/GW54xx
 - add LVDS backlight for Ventana
 - update model descriptions for all processor variants

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 21:23:32 +00:00
Luka Perkov 5c4644e913 imx6: update 3.10 ventana dts
update the Ventana DTS files with upstream fixes:
 - The 'model' property in the imx-audio-sgtl5000 binding specifies the
   user-visible name of the audio device. This should be something common an
   not baseboard specific.
 - update model descriptions for all processor variants

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40987 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 21:23:29 +00:00
Luka Perkov bea73b5198 kernel: add another new config symbol for kernel 3.14
It was augmented by CONFIG_USB_GADGET...

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Acked-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 19:48:22 +00:00
Felix Fietkau 6b987a0730 brcm47xx: enable the low-memory feature flag
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 17:04:45 +00:00
Felix Fietkau e90a2269bc build: add a feature flag for low-memory systems
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 17:04:38 +00:00
Felix Fietkau 4843ecacb9 ar71xx: fix compile error in r40969, refresh patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40977 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 16:24:12 +00:00
John Crispin 9a219d9942 ar71xx: WNDAP360 adding wifi LED support
I added WIFI LED support (so now AP blinks nicely), I removed WPS
button GPIO (as it doesn't exist) and changed GPIO for reset button.

Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40976 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 15:02:54 +00:00
John Crispin f662ba0148 ar71xx: add profile and build image for HiWiFi HC6361.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40975 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 14:56:41 +00:00
John Crispin 66f9773a0a ar71xx: add user-space support for HiWiFi HC6361 board.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40974 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 14:56:35 +00:00
John Crispin 836b104462 ar71xx: add kernel support for HiWiFi HC6361.
This board manufactured by HiWiFi has the following features.

 - Atheros 9331 SoC.
 - 16MB flash and 64MB RAM.
 - 4GB eMMC storage via SK6226 USB 2.0 controller.
 - 2 LAN and 1 WAN ethernet ports with LEDs on them.
 - 3 blue LEDs on the front panel.
 - 1 button labeled as "reset".
 - Powered by a USB cable.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40973 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 14:56:24 +00:00
John Crispin fe38013347 ar71xx: add support to TP-LINK TL-WA730RE v1
The TL-WA730RE seems to be almost identical to TL-WA701ND, just
that it comes without PoE and a stock-firmware claiming the device
to be a "Range Extender".

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40972 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 14:45:25 +00:00
John Crispin a152a7a24e ar71xx: fix board detection for TL-WA7510N
Detect TL-WA7510N v1 by the board name as defined in mach-tl-wa901nd.c
and add hardware ID to tplink_board_detect

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40971 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 14:45:21 +00:00
John Crispin a2bf8ca2a7 ar71xx: enable sysupgrade on wnr2000-v3
tested, works.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 14:45:17 +00:00
John Crispin 7b35f47896 ar71xx: add support for dlink dir-615-e1
Dlink dir-615-e1 can use dir-600-a1's image, but the image can't be
uploaded through dlink's normal firmware update web page.

Add profile for dir-615-e1 so the generated image can be uploaded
through the firmware update web page.

Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40969 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 14:43:35 +00:00
Felix Fietkau 1904d51b94 target/imagebuilder: add missing package index (fixes #16675)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40968 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 13:27:31 +00:00
John Crispin 2915a6b90d ar71xx: adjust OM2P profile for the OpenMesh OM2P-HSv2 board
Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40966 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 13:21:52 +00:00
John Crispin c037717ff5 ar71xx: add sysupgrade support for OpenMesh OM2P-HSv2
Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40963 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 13:21:38 +00:00
John Crispin dbda454bbe ar71xx: add user-space support for OpenMesh OM2P-HSv2
Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40962 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 13:21:31 +00:00
John Crispin 133068da21 ar71xx: add kernel support for the OpenMesh OM2P-HSv2
Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40961 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 13:21:26 +00:00
John Crispin 0715328c78 ar71xx: adjust OM2P profile for the OpenMesh OM2Pv2 board
Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40960 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 13:21:22 +00:00
John Crispin 5de9accafe ar71xx: add sysupgrade support for OpenMesh OM2Pv2
Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40957 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 13:21:07 +00:00
John Crispin a625de6b42 ar71xx: add user-space support for OpenMesh OM2Pv2
Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 13:21:02 +00:00
John Crispin 886f70b365 ar71xx: add kernel support for the OpenMesh OM2Pv2 board
Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40955 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 13:20:52 +00:00
John Crispin 482bc23fc3 lantiq: fix up eth_mac and ath_eep support
this patch got messed up by the last rebase

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:45:29 +00:00
John Crispin d048f53bf4 x86: Compile xen-pci-frontend as module
modified version of -> http://patchwork.openwrt.org/patch/5535/

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:45:25 +00:00
John Crispin c554d57d38 ralink: fix asiarf/awm002 switch setup
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:44:57 +00:00
John Crispin cef164b23e ralink: add seama image can be upgrade by sysupgrade
generate sysupgrade image by combine two images.
one is kernel image with seama header.
another is root fs image.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:43:49 +00:00
John Crispin 4c58e12447 lantiq: Fix ARV7510PW22 etop
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:43:43 +00:00
John Crispin ef1d9b2906 lantiq: Fix ARV4518 etop
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40919 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:43:35 +00:00
John Crispin 38c81b2552 target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC
ARGC is a 'C-ism', but not known/valid in shell-syntax - insert the correct
var $# (=number of args) here. under normal conditions this had no impact,
but we should at least correct it. the error was observable like this:

root@box:~ [ -e "/etc/functions.sh" ] && . /etc/functions.sh
root@box:~ [ -e "/lib/functions.sh" ] && . /lib/functions.sh
root@box:~ . /lib/upgrade/platform.sh
root@box:~ . /lib/upgrade/common.sh
root@box:~ platform_check_image /tmp/myfirmware.bin
ash: bad number
root@box:~ echo $?
0

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:43:22 +00:00
John Crispin 8a723aceb1 ramips: add missing profile for DIR-615-D
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:43:07 +00:00
John Crispin 6695dc87b5 ramips: fix not set lan/wan mac address
The first switch case is default case. Then it will only
match default case. cause not update the lan/wan mac address.
And in the default switch case the param lan_mac is empty.
it will case error message 'arithmetic syntax error' when
call macaddr_add function.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:43:04 +00:00
John Crispin 67a8c469a9 ralink: Add support for samsung cy-swr1100 wireless router
It is base on rt3662 soc with dual band 802.11n
wireless router. Use rtl8367R switch chip.
This patch adds a profile for this board.
It use seama image header. so i also enable it
on kernel config.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40908 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:42:52 +00:00
John Crispin 27f53b6560 ramips: Support for Teltonika RUT5XX
Hi Hartmut,

Thanks for your feedback, I have reformated the patch accordingly.

Added support for Teltonika RUT5XX hardware.

Signed-off-by: Steffen Weinreich <steve@weinreich.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40907 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:42:48 +00:00
John Crispin 0764f95460 ralink: Enable Asus RT-N10+ in menuconfig targets
This patch adds "Asus RT-N10+" as a target option in menuconfig. The device has been supported for a while but is currently missing a profile (.mk).
Signed-off-by: Randolph Kuntz <8D961920@galaxymail.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:41:45 +00:00
Luka Perkov e23676609b kernel: update 3.14 to 3.14.5
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40901 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 09:25:33 +00:00
Zoltan HERPAI b18c872a71 sunxi: add support for Lemaker bananaPi
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40898 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-01 18:44:10 +00:00
Zoltan HERPAI 5a47fc0d71 sunxi: fix typo in uci-defaults network config
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-01 12:18:53 +00:00
Hauke Mehrtens ae61421afa bcm53xx: add support for the PCIe controller
This patch adds support for the PCIe controller
In addition to the PCIe controller a sprom is now provided by a device
tree driver to bcma from some nvram.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-29 19:25:40 +00:00
Luka Perkov 611855797c kirkwood: cosmetic: move POGOE02 profile to different file
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40873 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-28 21:43:43 +00:00
Luka Perkov d5c281f5b4 kirkwood: add support for Linksys EA4500
Support is added only for kernel 3.14 - do not show it until
the switch is made.

Following uboot env changes are needed to make it work on stock uboot:

---
setenv owrt_bootargs_root ubi.mtd=3 root=ubi0:rootfs rootfstype=ubifs rw
setenv owrt_mtdparts mtdparts=orion_nand:0x80000@0x0(uboot),0x20000@0x80000(uboot_env),0x200000@0x200000(kernel),-@0x400000(root)
setenv owrt_boot nand read.e \${loadaddr} 0x200000 0x200000 \; setenv bootargs \$(console) \$(owrt_mtdparts) \${owrt_bootargs_root} \; bootm \${loadaddr}
setenv bootcmd run owrt_boot
saveenv
---

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40871 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-28 21:43:39 +00:00
Felix Fietkau 04e1b79564 ubifs: remove obsolete CONFIG_UBIFS_FS_XATTR symbol
550-ubifs-symlink-xattr-support.patch contains a reference to the
by now obsolete config symbol CONFIG_UBIFS_FS_XATTR which leads to
the functionality originally added by the patch in r30794 being
left-out during compile since commit 1bdcc63112a0
("UBIFS: remove xattr Kconnfig option") in v3.5.
Fix this by removing the #ifdef from all affected kernels as XATTR
support is now always enabled for UBIFS as well.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40864 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-27 20:34:03 +00:00
Felix Fietkau 4abf4e223e ar71xx: disable usb workarounds for ar913x again (should fix #16610)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-25 16:14:16 +00:00
Jo-Philipp Wich 93ada54130 Revert "ar71xx: Fix tagged+untagged operation on AR8327N (#12181)"
Revert the tagged + untagged rework for now due to regressions in
vlan setup on certain AR83xx switches.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40842 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-24 17:04:12 +00:00
Felix Fietkau 30c105064f ar71xx: enable usb quirks for all chipidea based devices
The most important one is qca_force_host_mode, which also sets the
'Stream Disable' bit in the usbmode register.

Fixes usb stability issues on AR933x and AR7241/AR7242

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-24 08:01:42 +00:00
Felix Fietkau 5352064817 ar71xx: fix typo in tl-wr710n mac setup (fixes #16469)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-24 08:01:33 +00:00
Felix Fietkau b82d436d9b kernel: add a ssb backport required for a new mac80211 update
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40833 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-23 18:48:31 +00:00
Steven Barth f0cf7240b0 Add missing bracket in MAP-E FMR kernel support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40830 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-23 08:53:38 +00:00
Luka Perkov 2faec4168b kirkwood: add Pogoplug E02 kernel support for 3.14
This also fixes a typo in the UBIFS_OPTS

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40827 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-23 08:16:56 +00:00
Steven Barth 45e371ab95 Add kernel support for MAP-E FMRs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40822 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-22 20:04:48 +00:00
Luka Perkov 4f7c05be73 kirkwood: add support for 3.14
* support for pogoplug_e02 is missing

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40808 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-21 12:04:09 +00:00
Felix Fietkau e78459e2b7 mac80211: update to wireless-testing 2014-05-19
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-20 09:35:17 +00:00
Jo-Philipp Wich 608c7e8730 ar71xx: Fix tagged+untagged operation on AR8327N (#12181)
Replace the global "vlan_tagged" variable with an array storing the
tagging state per vlan.

The code was taken from #12181, tested and cleaned up by Saverio Proto
with additional bug fixes supplied by Álvaro Fernández.

Tested-by: Jo-Philipp Wich <jow@openwrt.org>
Signed-off-by: Saverio Proto <zioproto@gmail.com>
Signed-off-by: Álvaro Fernández <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40777 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-19 15:48:18 +00:00
Luka Perkov 164fe72921 kernel: update 3.14 to 3.14.4
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-14 21:49:27 +00:00
Jo-Philipp Wich 5a8f0b0f4c imagebuilder: bundle dtc (#12953, #14741)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-14 12:29:36 +00:00
Hauke Mehrtens 28e07a7e77 brcm47xx: profiles: fix white spaces (s/ $//)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40763 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-14 10:09:31 +00:00
Hauke Mehrtens ee42391db2 brcm47xx: image: respect device flash block size
We should be more careful and don't generate 128K JFFS2 images for
devices with flashes using 64K blocks (nor the other way).

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-14 10:08:56 +00:00
Hauke Mehrtens 29489441e4 brcm47xx: image: document some defines arguments
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-14 10:08:22 +00:00
Hauke Mehrtens a9eafbc037 kernel-3.14: add missing config symbols
Signed-off-by: Daniel Golle <daniel@makrotopia.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40760 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-14 09:55:55 +00:00
Luka Perkov a9ccf0aace imx6: make boardname consistent with other targets
Signed-off-by: Michael Heimpold <mhei@heimpold.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40758 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-13 21:56:05 +00:00
Luka Perkov 88426b55de imx6: drop support for 3.13
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-12 12:29:22 +00:00
Luka Perkov 80d399cf58 imx6: add support for 3.14
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-12 12:29:19 +00:00
Hauke Mehrtens af992d94f2 kernel: update to kernel 3.14.3
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40736 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-08 21:53:27 +00:00
Hauke Mehrtens 80cecc006e kernel: add missing config options for kernel 3.14
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40735 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-08 21:52:55 +00:00
Hauke Mehrtens a6b27b5ba7 kernel: fix some compile warnings with kernel 3.14
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-08 21:52:40 +00:00
Hauke Mehrtens 5e451f462b kernel: fix warning in swconfig.c with kernel 3.14
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40733 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-08 21:52:19 +00:00
Hauke Mehrtens 5e4a3e57db kernel: modify mtd related patches for 3.14
The change is the same as ("kernel/generic: modify mtd related
patches"). Since these files are under files directory, not a files
directory of specific kernel version, better to also change them. So
it will avoid adding files to future specific files directory
(e.g. files-3.14) for this mtd related change.

Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40732 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-08 21:52:04 +00:00
Hauke Mehrtens 3a2eca5351 kernel/generic: modify mtd related patches for 3.14
Function register_mtd_parser always returned 0 (at least since v3.3)
before being changed to return void in v3.14-rc1~65^2~93 (mtd: make
register_mtd_parser return void), so it's not needed to check the
return value of this function. Also add __init flag to caller.

This fix compile errors in 3.14 kernel like:
drivers/mtd/mtdsplit_seama.c: In function 'mtdsplit_seama_init':
drivers/mtd/mtdsplit_seama.c:99:2: error: void value not ignored as it ought to be
  return register_mtd_parser(&mtdsplit_seama_parser);
  ^

Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40731 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-08 21:51:36 +00:00
Felix Fietkau cf4f53a170 lantiq: strip FCS from received ethernet frames on XRX200
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40719 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-07 18:36:58 +00:00
Florian Fainelli 561f592884 rb532: Fix ext4 and squashfs images
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40717 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-07 01:16:14 +00:00
Felix Fietkau 75c3ff3dee lantiq: support loading the dsl firmware from a flash partition as a raw gzipped tarfile
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40715 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-06 21:06:22 +00:00
Felix Fietkau 604c39ac26 x86_64: enable high res timers by default
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-05 18:44:46 +00:00
Felix Fietkau 8ae260bca8 x86: enable high res timers by default
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40697 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-05 18:44:38 +00:00
Felix Fietkau d7f5ff48ed ar71xx/ath9k: fix reading the WMAC revision on AR953x (fixes #15581)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-04 23:26:20 +00:00
Zoltan HERPAI a619a87d01 mxs: rename files so that profiles are sorted alphabetically
While at it, make spelling at little bit more consistent,
at least for my taste :-)

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



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40679 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-03 14:56:25 +00:00
Zoltan HERPAI 8f82b19fd5 mxs: fix typo in patch filename
Signed-off-by: Michael Heimpold <mhei@heimpold.de>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40678 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-03 14:37:02 +00:00
Hauke Mehrtens edb99c5d23 kernel: unify the two kmod-usb-mxs-phy packages
There are two packages with the name kmod-usb-mxs-phy in OpenWrt which 
causes warnings on every build.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-02 21:13:21 +00:00
Hauke Mehrtens 047c3f4aaa kernel: add missing config options
These options are missing and were spotted by the buildbots.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40661 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-02 21:08:22 +00:00
Zoltan HERPAI 4cb5d8663f octeon/mpc83xx: remove CONFIG_NETWORK_FILESYSTEMS override
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40642 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-01 18:49:58 +00:00
Hauke Mehrtens 507fef5ebc kernel: fix compile error with gcc-4.8 and kernel 3.3
With gcc-4.8 I get a compile error with kernel 3.3.
This patch fixes this problem by backporting a patch from a more recent kernel version.

  CC      arch/mips/mm/page.o
arch/mips/mm/page.c:89:6: error: 'clear_page' alias in between function and variable is not supported
 void clear_page(void *page) __attribute__((alias("clear_page_array")));
      ^
arch/mips/mm/page.c:84:12: error: 'clear_page_array' aliased declaration [-Werror]
 static u32 clear_page_array[0x120 / 4];
            ^
arch/mips/mm/page.c:108:6: error: 'copy_page' alias in between function and variable is not supported
 void copy_page(void *to, void *from) __attribute__((alias("copy_page_array")));
      ^
arch/mips/mm/page.c:102:12: error: 'copy_page_array' aliased declaration [-Werror]
 static u32 copy_page_array[0x540 / 4];
            ^
arch/mips/mm/page.c:108:6: error: 'copy_page' alias in between function and variable is not supported
 void copy_page(void *to, void *from) __attribute__((alias("copy_page_array")));
      ^
arch/mips/mm/page.c:102:12: error: 'copy_page_array' aliased declaration [-Werror]
 static u32 copy_page_array[0x540 / 4];
            ^
arch/mips/mm/page.c:89:6: error: 'clear_page' alias in between function and variable is not supported
 void clear_page(void *page) __attribute__((alias("clear_page_array")));
      ^
arch/mips/mm/page.c:84:12: error: 'clear_page_array' aliased declaration [-Werror]
 static u32 clear_page_array[0x120 / 4];
            ^
cc1: all warnings being treated as errors
make[7]: *** [arch/mips/mm/page.o] Error 1

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40619 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-01 13:07:44 +00:00
Zoltan HERPAI 856c92b623 sunxi: various a13 changes
- add rtl8192cu into A13 Olinuxino profile
 - make wlan0 the default interface

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



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-01 10:23:55 +00:00
Zoltan HERPAI 2747f35a6e sunxi: add rtl8192cu to pcDuino profile
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-01 10:02:43 +00:00
Zoltan HERPAI 842e6071e4 sunxi: add default network config for missing boards
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40612 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-30 22:04:34 +00:00
Zoltan HERPAI 51de145549 sunxi: add rtl8188eu into pcduino v3 profile
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-30 21:54:47 +00:00
Zoltan HERPAI 2b5864b2a5 sunxi: add board support for LinkSprite pcDuino v3
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-30 19:50:15 +00:00
Hauke Mehrtens f64df837c2 kernel: add missing config options
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-29 21:03:00 +00:00
Hauke Mehrtens f30d5854d0 at91: Add AT91 board and model name to /tmp/sysinfo
From 9158e3282db592e78fb32a2c8a0903ef21b97f5c Mon Sep 17 00:00:00 2001
From: Owen Kirby <osk@exegin.com>
Date: Fri, 11 Apr 2014 18:28:56 -0700
Subject: [PATCH 3/3] [at91] Add AT91 board and model name to /tmp/sysinfo.

This patch extracts the board name and model information from the /proc/device-tree
node in order to provide something a little more friendly on the LuCI sysinfo page
than just "AT91SAM9 (Device Tree)"

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-29 21:02:40 +00:00
Hauke Mehrtens a177d6bfaf at91: AT91SAM9G20-EK fixes
From 272f548fe8d0b811e0589e535f650f0507f6bccd Mon Sep 17 00:00:00 2001
From: Owen Kirby <osk@exegin.com>
Date: Fri, 11 Apr 2014 17:59:55 -0700
Subject: [PATCH 2/3] [at91] AT91SAM9G20-EK fixes.

While testing the 3.10 kernel update, I found that the out-of-the-box device tree for the
the AT91SAM9G20EK uses a UBIFS rootfs and stores the DTB separately from the zImage.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-29 21:02:05 +00:00