Commit Graph

13161 Commits (8b62e7b22da0e433acfefeb72b6e6b9d64c70b7d)

Author SHA1 Message Date
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
Hauke Mehrtens 653081299d Update AT91 kernel to 3.10.34
From 2064e6d069ec8df7f5e988547fe7f2a1a7ad890f Mon Sep 17 00:00:00 2001
From: Owen Kirby <osk@exegin.com>
Date: Thu, 10 Apr 2014 19:02:15 -0700
Subject: [PATCH 1/3] [at91]  Update AT91 kernel to 3.10.34.

This patch updates the kernel of the AT91 target to version 3.10.34.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-29 21:00:50 +00:00
Felix Fietkau 797927ebec atheros: remove useless get_c0_compare_int fix
Remove get_c0_compare_int fix which is useless for latest kernels.

Tested on Ubnt Bullet2, which could successfully boot without this
workaround.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40593 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-29 16:19:36 +00:00
Felix Fietkau ee93382886 cns3xxx: ethernet - revert: clean up tx descs only when needed
This reverts commit 0772ab938c0aedd7f4cc7127059d6ce8cf929dfa.

Trying to optimize calls to eth_complete_tx in this fasion causes a regression
where when sending only the tx queue can get disabled until a packet is
received. This original call to eth_schedule_poll() is scheduled so it
should not cause a performance issue.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40592 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-29 15:52:12 +00:00
Hauke Mehrtens cf8e102068 kernel: deactivate fs cache config option
r40587 added some kernel config options, on which these two ones depend.
This fixes the build of the buildbots.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-28 21:40:09 +00:00
Zoltan HERPAI 350127428d mxs: enable usbgadget feature for Duckbills
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Acked-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40585 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-28 07:43:29 +00:00
Hauke Mehrtens dd1c8926c7 bcm53xx: add default config for switch
This scripts adds a default config for the switch.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-23 22:02:18 +00:00
Hauke Mehrtens 311a83d879 bcm53xx: add initial support for kernel 3.14
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-23 21:53:50 +00:00
John Crispin 83cb143edd ralink: add dir-645 to the eeprom hotplug script
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40561 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-23 07:52:56 +00:00
John Crispin 3baabfda99 ramips: register clock device for the WMAC on RT3883
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-23 07:51:57 +00:00
John Crispin 522d86d5bb ramips: Add support for the 7Links PX-4885 wireless router.
The 7Links PX-4885 is a small battery-powered wireless router.
It is based on a RT5350F WiSoC and features one ethernet port and one
USB port. It is a Hame MPR-A1 clone, except it has different GPIOs,
a different battery and more RAM (32 MB).
This patch adds a profile for this board, the corresponding device tree
file and the adequate base-files changes (incl. sysupgrade).

Signed-off-by: Hugo Grostabussiat <bonstra@bonstra.fr.eu.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-22 08:08:51 +00:00
John Crispin d5e2e74b3e lantiq: BT Home Hub 2B - overlayfs on top of ubi
BT Home Hub 2B: use overlayfs on top of ubi.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-22 08:08:46 +00:00
John Crispin f4e347c404 ramips: build factory-compatible image for AR725W
Signed-off-by: Claudio Leite <leitec@staticky.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-22 08:08:42 +00:00
John Crispin 6bf0d7f058 ramips: add Airlink101 AR725W userland support
Signed-off-by: Claudio Leite <leitec@staticky.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40550 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-22 08:08:35 +00:00
John Crispin e43d64217f ramips: Add Airlink101 AR725W board support
Signed-off-by: Claudio Leite <leitec@staticky.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40549 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-22 08:08:31 +00:00
John Crispin 6e77b0af5c Fix vr9_phy22f_a2x.bin firmware linking
vr9_phy22f_a2x.bin needs to be linked in order to get ethernet support.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-22 08:08:06 +00:00
John Crispin 4fb275842c linux/generic: add MIB counters and port status to ADM6996 switch
This patch adds port status information and MIB counters to the ADM6996
switch driver.

The driver supports also the older ADM6996L-variant, but I'm not able to
test this patch on that chip. According to the datasheet the same
registers exist there as well, so I think it should work, but any
feedback is appreciated.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40542 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-22 08:08:02 +00:00
John Crispin 3e12489885 lantiq: fix maximum ethernet header length
The total ethernet frame length should be written to the hardware
register LTQ_ETOP_IGPLEN instead of just the value of the MTU. This
patch fixes network issues on various Danube boards, especially when
VLAN tagging is enabled.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40541 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-22 08:07:53 +00:00
Zoltan HERPAI 5718a85751 [3.14]: add missing symbols in prepping for afs patchset
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-21 18:16:03 +00:00
Zoltan HERPAI c28d493a23 [3.10]: add missing symbols in prepping for afs patchset
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40539 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-21 18:14:17 +00:00
Zoltan HERPAI 11747d7c63 [3.13]: add missing symbols in prepping for afs patchset
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40538 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-21 18:13:19 +00:00
Luka Perkov 5ecc844892 imx6-gateworks: enable new canbus packages
The canbus package was recently changed to a more active project. This patch
updates the default package names to include the same functionality as before.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-19 21:39:04 +00:00
John Crispin f627418007 lantiq: ARV7519RW22: several fixes
- Fix ethernet ports.
- Clean DTS files.
- WiFi is lantiq based (not supported yet), remove ath9k.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40519 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-16 12:01:09 +00:00
Zoltan HERPAI fa93edd23e sunxi: remove mainlined patches
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-14 21:36:39 +00:00
Gabor Juhos f5c08bb572 ar71xx: rb91x: fix ethernet packet loss issues
The RB91x boards are suffering from ethernet packet loss after a cold
boot. The cause of the problem is that the AR8035 PHYs requires special
register settings to work reliably on these boards.

Enable the RGMII TX, RX delays and disable SmartEE functionality of
the AR8035 PHYs. Also enable the RXD delay in the ETH_CFG register
to fix the issue.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-13 20:41:52 +00:00
Gabor Juhos bda46948be ar71xx/mikrotik: enable the AT803x PHY driver
It will be used on the RB91x boards.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-13 20:41:51 +00:00
Gabor Juhos 228514d2e6 ar71xx: allow to configure AR803x PHYs via platform data
Add a patch for the at803x phy driver, in order to be able
to configure some register settings via platform data.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-13 20:41:50 +00:00
Gabor Juhos e898710327 ar71xx: add phy_mmd_{read,write} helpers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-13 20:41:48 +00:00
Gabor Juhos c222d6e2b5 ar71xx: enable console on the RB91x boards
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40505 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-13 20:41:42 +00:00
John Crispin b7957c0e8f ralink: add port_init for rt2880
Forgotten patch to fix ethernet for rt2880.
Based on previously submitted patch from Claudio.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-13 18:01:08 +00:00
Gabor Juhos 48316a1c91 ar71xx: add profile and build image for the ZyXEL NBG6716 board
Signed-off-by: André Valentin <avalentin@marcant.net>
Patchwork: http://patchwork.openwrt.org/patch/5101/
[juhosg: remove the non-existing zyxelnand subtarget specific stuff]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40502 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-13 08:29:09 +00:00
Gabor Juhos fb913e5156 ar71xx: add user-space support for the ZyXEL NBG6716 board
Signed-off-by: André Valentin <avalentin@marcant.net>
Patchwork: http://patchwork.openwrt.org/patch/5101/
[juhosg: use zyxel prefix in LED names]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40500 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-13 08:29:07 +00:00
Gabor Juhos fe88489107 ar71xx: add kernel support for ZyXEL NBG 6716
With this patch OpenWRT supports the following on the ZyXEL NBG 6716:
-WiFi 2G (ath9k)
-WiFi 5G (ath10k)
-NAND flash
-2 Ethernet interfaces
-USB 2.0
-LEDs including switch
-reasonale defaults at first boot

Signed-off-by: André Valentin <avalentin@marcant.net>
Patchwork: http://patchwork.openwrt.org/patch/5101/
[juhosg:
  - rename and refresh kernel patch,
  - fix a few typos,
  - change button key codes,
  - use zyxel prefix in LED names]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-13 08:29:05 +00:00
John Crispin b433167dcb lantiq: enable switch on td8970
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 21:22:21 +00:00
John Crispin e3dfb167cc Fix ARV7519RW images
This patch moves ARV7519RW definitions to VR9 section from the AR9 section and removes a whitespace that breaks jffs2 image generation.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 21:22:08 +00:00
John Crispin f1174041ad Fix Asus rt-n15 board support
* gpio leds and buttons
* ethernet

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 21:22:04 +00:00
John Crispin 55fa3fbfeb rt2880 DT fixes
* add pinctrl
* fix ethernet port
* make wifi available by default

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40493 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 21:22:00 +00:00
John Crispin 1cd890aa1b Fix pinmux-rt2880
The last arg to FUNC() is count, not last pin.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 21:21:56 +00:00
John Crispin 3e74690bae Add wmac clock for rt2880
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 21:21:53 +00:00
John Crispin 9f3447fc0e Don't try to generate whr-g300n image if it's going to be more than 4M
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40489 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 21:21:44 +00:00
Gabor Juhos 80894a6f0e ar71xx: build firmware image for the WNDR3700 v4 board
Based on the the WNDR3700v4 support patch from Ralph Perlich:
  http://patchwork.openwrt.org/patch/4763/

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40481 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 20:22:41 +00:00
Gabor Juhos 48f1cf06f7 ar71xx/image: allow to use more arguments for some macros
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40480 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 20:00:37 +00:00
Gabor Juhos cf374f9f3c ar71xx: wndr4300: indicate WNDR3700v4 in the kernel support files
Apart from the wireless chip, the WNDR3700 v4 and the WNDR4300
is the same device. Indicate this in the kernel files.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40479 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 19:58:23 +00:00
Gabor Juhos 97b13abe6e ar71xx: wndr4300: enable 5V power for the USB port
The 5V power of the USB is controlled by a GPIO pin of
the external WiFi chip. Setup the GPIO bitmasks in the
platform data of the WiFi chip to ensure that the 5V
power gets enabled by the ath9k driver.

Based on the the WNDR3700v4 support patch from Ralph Perlich:
  http://patchwork.openwrt.org/patch/4763/

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40478 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 19:58:20 +00:00
Gabor Juhos 6a530ccb78 ar71xx: wndr4300: use KEY_RFKILL code for the Wireless button
Based on the the WNDR3700v4 support patch from Ralph Perlich:
  http://patchwork.openwrt.org/patch/4763/

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40477 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 17:53:34 +00:00
Gabor Juhos f9db453786 ar71xx: add default LED config for WiFi LEDs on the WNDR4300
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40476 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 17:42:36 +00:00
Gabor Juhos f667a2e3c3 ar71xx: wndr4300: add LED for 2.4Ghz wifi interface
Based on the the WNDR3700v4 support patch from Ralph Perlich:
  http://patchwork.openwrt.org/patch/4763/

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40475 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 17:42:35 +00:00
Gabor Juhos 701b173389 ar71xx: wndr4300: select GPIO_OUT functionality for LED GPIOs
The bootloader does not initializes the output function
correctly for all LEDs. DO that from the board setup code.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 17:42:34 +00:00
Gabor Juhos 8204dc3a79 ar71xx: wndr4300: change 'orange' to 'amber' in LED color names
The hardware manual says amber so change the color part of
the LED names to reflect that. Also update the constant names.

Based on the the WNDR3700v4 support patch from Ralph Perlich:
  http://patchwork.openwrt.org/patch/4763/

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 17:42:33 +00:00
Gabor Juhos 98ce0e1393 ar71xx: fix typos in TP-Link rssileds definition
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
Patchwork: http://patchwork.openwrt.org/patch/5109/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 16:01:45 +00:00
Gabor Juhos 04eb23bc3c ar71xx: add rssileds for Ubiquiti XM boards
Adds support for the received signal strength indicator LEDs of the
Bullet M, Nanostation M and Rocket M devices.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 16:01:43 +00:00
Gabor Juhos f3d5e445cf x86/net5501: remove broken flag
According to Christophe, the kernel boots on the Soekris net5501
board.

Reported-by: Christophe Prevotaux <cprevotaux@nltinc.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40468 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 12:05:18 +00:00
Gabor Juhos 0e6867db1e kernel: update 3.10 to 3.10.36
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 11:59:07 +00:00
Gabor Juhos 9aa3da569e ar71xx: fix image generation
Move the comments out from the shell script to fix build
breakage introduced in r40464.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 11:59:05 +00:00
Gabor Juhos b5f34e6228 ar71xx: avoid spurious restarts caused by the watchdog on AR934x
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40465 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 10:21:04 +00:00
Gabor Juhos 34098d0172 ar71xx: add comments for image Makefile.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5075/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40464 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 09:52:58 +00:00
Gabor Juhos e183598d11 ar71xx: initial support for TP-Link Archer C7v2
The C7v2 has 16 MB flash and QCA9880-BR4A rev 2 supported by ath10k driver.
The C7v1 had 8 MB flash and the unsupported QCA9880-AR1A rev 1.

Signed-off-by: Adam Serbinski <adam@serbinski.com>
Patchwork: http://patchwork.openwrt.org/patch/5071/
[juhosg:
 - remove the v2 specific profile add the ath10k driver to the existing
   Archer C7 profile instead. Although on v1 devices it does not change
   the non-working behaviour, but the ath10k driver is useful for users
   whom have replaced the wifi card with a supported one in their units.
 - update image/Makefile to build firmware image for both boards if the
   Archer C7 profile is selected]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 09:52:54 +00:00
Florian Fainelli cfef89dbe5 brcm2708: add missing configuration symbols
Spotted by buildbot and while doing a CONFIG_ALL=y build.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-11 22:38:54 +00:00
John Crispin 8161bcad5c lantiq: add an extra partition to the TDW8970 flash that can be used to store the vdsl firmware
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40461 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-11 20:40:34 +00:00
John Crispin bef7ea0796 lantiq: more vdsl related cleanups
* atm module needs to be loaded before linux-atm
* use absolute firmware paths
* extended validation
* add a script for mounting an optional firmware partition

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-11 20:40:24 +00:00
Felix Fietkau 50349a4955 x86_64: add usb support (including storage) to the kernel config
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-11 13:22:28 +00:00
Felix Fietkau 7cdbbf654d x86: set default kernel version to 3.10
Place the previous selection (3.3.8) into the only subtarget that did
not override it to 3.10

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-11 13:22:24 +00:00
Felix Fietkau e1080fb8ed x86: remove linux 3.8 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-11 13:22:19 +00:00
Imre Kaloz d6665ff15c [x86_64]: generate esxi compatible vmdks, too
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40452 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-11 10:19:26 +00:00
Imre Kaloz 0ae0a59e5e [x86_64]: reuqire qemu-img to be installed (the one we have in tools is too old)
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-11 10:14:57 +00:00
Felix Fietkau 7ec64aae41 generic: remove obsolete symbol export from block2mtd init patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-10 14:43:22 +00:00
Felix Fietkau 550238fa72 x86: try harder to attach block2mtd to fix boot issues on devices with longer delays
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-10 14:43:17 +00:00
Imre Kaloz eccd1c97b3 [x86_64]: specify the adapter type for the vmdk conversion
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-10 11:09:27 +00:00
John Crispin c34f225392 lantiq: move the dsl-modem config to network.@dsl-modem[-1]
make sure uci_defaults generates a proper uci config for the v/adsl modem

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-10 08:14:33 +00:00
John Crispin 4555edf466 lantiq: make dsl_notify.sh executable
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-09 16:31:14 +00:00
Imre Kaloz 1f25b5788f [x86_64]: enable native KVM and VMware drivers
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-09 11:54:44 +00:00
Imre Kaloz 0914d85469 [x86_64]: upgrade to 3.14
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-09 11:46:18 +00:00
Hauke Mehrtens f379312b9c brcm47xx: refresh patches
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40425 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-08 19:51:36 +00:00
Hauke Mehrtens f762ec24cc kernel: bgmac: rework patch checking packet length
This bgmac patch was an attempt to fix/workaround bug reported in
https://dev.openwrt.org/ticket/7198 noticed on WNR3500L.
Patch assumed length reported by the hardware was 0 and was trying to
read it until getting a different value. This was actually the opposite.
Lenghts were some invalid & huge values that resulted in skb_over_panic.
For example:
skbuff: skb_over_panic: text:83b21074 len:57222 (...)
skbuff: skb_over_panic: text:87af1024 len:43226 (...)
skbuff: skb_over_panic: text:87af5024 len:8739 (...)

So instead of that not-working patch checking for 0, write a new one
checking for huge values. In case something like that happens, dump
hardware state and drop the packet.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40424 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-08 19:50:17 +00:00
John Crispin deb6f46c01 ralink: fix WHR-300HP2 mtd size
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40419 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-07 15:10:26 +00:00
John Crispin e720d5f69d lantiq: there is a V2 of VG3503J that needs a newer fe phy firmware
this should really be auto detected by the kernel, lets used this workaround until the real
solution is ready

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-07 15:10:22 +00:00
John Crispin c3f869a05f kernel: add a ubi forced detach ioctl
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40417 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-07 15:10:18 +00:00
Felix Fietkau c08c824218 ar71xx: move some always-used led related functionality from kmod packages to the kernel image
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-07 10:44:52 +00:00
Felix Fietkau 8ce376a524 /lib/functions.sh: move rarely used mtd and macaddr related functions to /lib/functions/system.sh
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-07 10:29:47 +00:00
Felix Fietkau 83276fb4e2 ar71xx: add support for the TP-LINK TL-WR841N/ND v9
Everything seems to be working fine. Potential issues:

* VLAN port IDs are reversed with regard to the numbers on the case.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40400 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-07 08:00:02 +00:00
Felix Fietkau 5b91c2dcb4 ar71xx: add support for QCA953x SoC
I don't have access to the specs, so I'm not sure about every detail, but I
haven't seen any problems with my test system, a TL-WR841N v9. It looks pretty
much like a QCA955x without PCI, a little twist in the clock calculation and
a AR9331-compatible switch.

Features not yet supported:

* EHCI (my test system doesn't have USB)
* ? (I have no idea if the QCA953x has any other features I don't know about
that aren't used by the TL-WR841N v9)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40399 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-07 07:59:45 +00:00
Jonas Gorski 788655ef85 brcm63xx: hack around jffs2 corruption with SMP
mempy_fromio seems to be randomly failing when the destination is
unaligned; work around it by forcing the name to be aligned in memory.

Should fix jffs2 and SMP for now, but needs to be some additional
looking into as it does not fix the source.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-06 22:03:42 +00:00
John Crispin c9a7f5dfff lantiq: remove unmaintained code
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40392 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-06 09:21:44 +00:00
Felix Fietkau 08dc8d0477 ramips: fix regression from r39949 (#15382)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40391 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-06 00:09:50 +00:00
Jonas Gorski 8ad8ea2608 brcm63xx: sync mips counters during bringup of cpus
Fixes gettimeofday returning different values depending on which cpu
it is called.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40387 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-05 18:32:34 +00:00
John Crispin f53bc819fe lantiq: cleanup the dsl control scripts
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40381 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-05 16:34:20 +00:00
Jonas Gorski 77e6583816 brcm63xx: update development kernel to linux 3.14
Now that 3.13 will be EOL soon, switch to 3.14.

Known issues:
 * 74x164 is not available because upstream dropped non-DT support
 * jffs2 breaks with SMP

Unknown issues:
 * probably plenty

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40380 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-04 10:17:08 +00:00
Jonas Gorski 212f693446 kernel: make sched_act_connmark compile for 3.14
The upstream API changed, which allowed to simplify the code a bit.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40376 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-04 10:16:49 +00:00
Jonas Gorski 58c687126a kernel: make sched_esfq compile for 3.14
net_random was replaced with prandom_u32.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40375 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-04 10:16:47 +00:00
Jonas Gorski 9d2f3b2e28 kernel: add missing config symbol for linux 3.14
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40374 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-04 10:16:44 +00:00
John Crispin 456b6c0bbd lantiq: nand fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40372 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-03 14:27:02 +00:00
John Crispin 792a98e9ed lantiq: BT Home Hub 2B support - userspace
Basic userspace configuration for BT Home Hub 2B

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40371 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-03 14:26:58 +00:00
John Crispin 8d8017f979 lantiq: BT Home Hub 2B support - board support
Board support patch for BT Home Hub 2B

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40370 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-03 14:26:54 +00:00
John Crispin bb51a39fa7 lantiq: BT Home Hub 2B support - jedec probe
Lantiq nor patch. Adds support for jedec probing if cfi
probing fails.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40369 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-03 14:26:50 +00:00
John Crispin 3d1da2bc3f lantiq: make td8970 wifi led work
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40368 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-03 14:26:46 +00:00
John Crispin 42d3266aa8 lantiq: fix vr9 ubi handling
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40364 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-03 14:26:24 +00:00
Felix Fietkau 9287850cd1 x86: xen_domu is functional, remove broken flag
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40363 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-02 20:45:09 +00:00
Florian Fainelli 21c2b4c072 orion: create a macro for zImage with machine id
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40360 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-01 22:21:11 +00:00
Florian Fainelli 0c1065c6d4 orion: fix KERNELNAME
uImage cannot be built in parallel properly until zImage is ready

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40359 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-01 22:21:00 +00:00
Florian Fainelli 0714783857 orion: fix initramfs uImage generation
We would fail to copy an non-existent uImage-initramfs to $(BIN_DIR)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-01 22:20:49 +00:00
Imre Kaloz a89ef54d18 3.14 final is out
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40352 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-31 13:43:06 +00:00
Hauke Mehrtens 111e9f1888 kernel: backport BCM5357 fix for GPIOs
This backports: bcma: gpio: register 32 GPIOs on BCM5357

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@40347 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 19:08:37 +00:00
Hauke Mehrtens 30de67d409 brcm47xx: backport 3.14 patch for nvram GPIO pin read
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@40346 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 19:07:46 +00:00
Hauke Mehrtens ec78ae869e brcm47xx: Name LEDs colors for Linksys E1000 V2.1
Handle it by creating a new patch for simple database changes.

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@40345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 19:07:13 +00:00
Hauke Mehrtens 374deb8374 brcm47xx: update workarounds patch to V3
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@40344 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 19:06:24 +00:00
John Crispin 34fd7651f8 ralink: fix chuncked-io module
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40342 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 19:03:55 +00:00
John Crispin cf0a74c480 revert: kernel: rtl8306: fix max pvid & remove port isolation
apparently this one was nt a good idea to merge

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40330 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 10:04:55 +00:00
John Crispin d2b1dccc38 lntiq: add support for Astoria ARV7519RW.
These patches add support for the Astoria ARV7519RW aka Livebox 2.1
The PCI and PCIe interfaces have been disabled. Also, because there are
two revisions of this board with different GPHY firmwares, two targets
were defined.
V2: rewrote partitions to work with an u-boot specifically made for
these boards.

Signed off by: Esteban Benito <estebanjbs@gmail.com>
Signed off by: Carles Gadea <carlesgrg@gmail.com>
Tested by: José Vázquez Fernández <ppvazquezfer@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 10:02:30 +00:00
John Crispin 7081cc98e1 lantiq: do an endianness swap to the RT2860 eeprom for ARV752DPW(22)
ARV7510PW22, ARV752DPW and ARV752DPW22 have the RT2860 eeprom stored in
flash as big-endian, but the driver needs it in little-endian format. We
have to swab it before handing it over. This requires my earlier patch
for busybox.

Funnily enough, ARV752DPW works also with the incorrect eeprom, but
undoubtedly unoptimally. I have a hunch that also the final remaining
Lantiq board would require this swabbing, but I'm not sure, so I just
swab it in the three boards that I know about.

v2:
* Swab also on ARV7510PW22 based on feedback from Alvaro Rojas
* Fix the offset with bs=2

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40328 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:16:52 +00:00
John Crispin 2f8977ef9d lantiq: add esi
http://patchwork.openwrt.org/patch/3703/

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:16:43 +00:00
John Crispin cd9f4bad16 lantiq: fix mtd_split for brnboot firmware images
The existing code only tries to split a parition with name "rootfs"
while actually looking for kernel+rootfs, where usually "firmware" is
used as a partition name. This doesn't make sense, as even if there
was a partition 'rootfs' given by mtdparts or via device-tree, this
code would lead to another partition called 'rootfs' being created
which would not be properly distinguished in the current user-space
code.

While potentially we could use CONFIG_MTD_SPLIT_FIRMWARE_NAME to make
that configurable, the lack of users of brnboot and the fact that we
can freely decide the partition name made me simply change the
hard-coded string constant from "rootfs" to "firmware".

(I'm going to add support for ARV7506PW which run brnboot and needs
this change)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40324 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:16:35 +00:00
John Crispin 10b47b6cc6 lantiq: fixup ath5k support
http://patchwork.openwrt.org/patch/4417/

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:16:31 +00:00
John Crispin 6c0ee14c86 lantiq: fix initial VLAN conf for P2601HNFX
Signed-off-by: Antonios Vamporakis <ant@area128.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40321 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:16:23 +00:00
John Crispin 6141a0bda7 lantiq: P2601HNFX dts update for STP and buttons
- Set correct AltSel for STP pins
- Set front button to rfkill

Signed-off-by: Antonios Vamporakis <ant@area128.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40320 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:16:19 +00:00
John Crispin cbc606f1f7 lantiq: add support for Arcadyan ARV7519PW
This patch adds almost full support for this board.

- WiFi is still not working
- USB will not power up. According to some reports, it may be a passive port

Signed-off-by: Antonios Vamporakis <ant@area128.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40319 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:16:15 +00:00
John Crispin 038a7b4587 lantiq: reset gphys on reboot
If gphys are not reset upstream uboot can not use them anymore.

Signed-off-by: Antonios Vamporakis <ant@area128.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40318 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:16:10 +00:00
John Crispin 4a3d655e10 lantiq: add support for ZyXEL P2812HNUFX
This patch adds almost full support for this board. WiFi is still not working.
The FXS ports are not functional due to missing support for the TAPI driver on
VR9 SoC.

Signed-off-by: Antonios Vamporakis <ant@area128.com>
Tested-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40317 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:16:06 +00:00
John Crispin 8f230ce464 lantiq: add ubifs support in image Makefile
Signed-off-by: Antonios Vamporakis <ant@area128.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40316 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:16:02 +00:00
John Crispin fb9122aab6 lantiq: add ubifs to FEATURES
Signed-off-by: Antonios Vamporakis <ant@area128.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:15:58 +00:00
John Crispin 4c4b6660ae lantiq: xrx200: add ubi support in the kernel
Signed-off-by: Antonios Vamporakis <ant@area128.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:15:54 +00:00
John Crispin c82c9d8ed7 lantiq: add inital support for xrx200 switch
Signed-off-by: Antonios Vamporakis <ant@area128.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40313 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:15:50 +00:00
John Crispin b64ca40dfb lantiq: xrx200: fix duplex
Both the GPL driver from ZyXEL and the xrx200 driver have this error. The flags
are reversed. Full duplex is marked as half and the other way around. With this
fix the switch will push full GBit speeds.

Signed-off-by: Antonios Vamporakis <ant@area128.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40312 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:15:46 +00:00
John Crispin 9b9581a940 lantiq: fixup 3370 dts file
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40311 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:15:41 +00:00
John Crispin 5fce5385d4 lantiq: fix nand/ebu locking
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:15:37 +00:00
John Crispin d0d3877633 lantiq: add tffs driver
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40309 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:15:33 +00:00
John Crispin 5e3b47eefc kernel: export gluebi info to sysfs
Export the ubi_num and vol_id into the sysfs record of the gluebi-
emulated mtd device. Previously userspace didn't have a way to
map gluebi-emulated devices back to their corresponding ubi volumes.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40306 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:15:20 +00:00