openwrt.git
8 years agouhttpd: move to git.openwrt.org
nbd [Mon, 4 Jan 2016 15:12:21 +0000 (15:12 +0000)]
uhttpd: move to git.openwrt.org

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48122 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agorpcd: move to git.openwrt.org
nbd [Mon, 4 Jan 2016 15:12:16 +0000 (15:12 +0000)]
rpcd: move to git.openwrt.org

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48121 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoubox: move to git.openwrt.org
nbd [Mon, 4 Jan 2016 15:12:10 +0000 (15:12 +0000)]
ubox: move to git.openwrt.org

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48120 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoprocd: move to git.openwrt.org
nbd [Mon, 4 Jan 2016 15:12:00 +0000 (15:12 +0000)]
procd: move to git.openwrt.org

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48119 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agopackages: use OPENWRT_GIT to point at the main openwrt git repo
nbd [Mon, 4 Jan 2016 15:11:49 +0000 (15:11 +0000)]
packages: use OPENWRT_GIT to point at the main openwrt git repo

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48118 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobuild: add a variable pointing to the main openwrt git repositories (useful if we...
nbd [Mon, 4 Jan 2016 15:11:43 +0000 (15:11 +0000)]
build: add a variable pointing to the main openwrt git repositories (useful if we want to support using a mirror later)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48117 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoexport KERNEL_INITRAMFS_IMAGE
nbd [Mon, 4 Jan 2016 15:11:37 +0000 (15:11 +0000)]
export KERNEL_INITRAMFS_IMAGE

`Build/ubnt-erx-factory-kernel` in `target\linux\ramips\image\Makefile`
references `$(KERNEL_INITRAMFS_IMAGE)`
which is not exported

Signed-off-by: YounJae Rho <luxflow@live.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48116 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoralink: add a few mt7688 fixes that got lost in the v4.3 bump
blogic [Mon, 4 Jan 2016 14:21:24 +0000 (14:21 +0000)]
ralink: add a few mt7688 fixes that got lost in the v4.3 bump

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48115 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoralink: update the usb phy driver to the version sent upstream
blogic [Mon, 4 Jan 2016 14:21:17 +0000 (14:21 +0000)]
ralink: update the usb phy driver to the version sent upstream

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48114 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoralink: fix USB compatible strings
blogic [Mon, 4 Jan 2016 14:21:11 +0000 (14:21 +0000)]
ralink: fix USB compatible strings

switch to the upstream compatible strings for ehci and ohci support.

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48113 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: fix USB patch breaking 4.4 compilation
rmilecki [Mon, 4 Jan 2016 12:28:46 +0000 (12:28 +0000)]
bcm53xx: fix USB patch breaking 4.4 compilation

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48112 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: update bcma by backporting 4.4 and 4.5 patches
rmilecki [Mon, 4 Jan 2016 12:22:24 +0000 (12:22 +0000)]
kernel: update bcma by backporting 4.4 and 4.5 patches

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48111 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobuild: use directory name instead of PKG_NAME for staging files and package metadata
nbd [Mon, 4 Jan 2016 01:33:32 +0000 (01:33 +0000)]
build: use directory name instead of PKG_NAME for staging files and package metadata

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48110 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: add at803x fix for sgmii mode
nbd [Sun, 3 Jan 2016 23:13:16 +0000 (23:13 +0000)]
kernel: add at803x fix for sgmii mode

Some (possibly broken) bootloaders incorreclty initialize at8033
phy. This patch enables sgmii autonegotiation mode.

Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48109 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: move at803x phy patch to generic
nbd [Sun, 3 Jan 2016 23:13:11 +0000 (23:13 +0000)]
kernel: move at803x phy patch to generic

Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48108 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobuild: filter out relative directory entries from $PATH
nbd [Sun, 3 Jan 2016 23:13:03 +0000 (23:13 +0000)]
build: filter out relative directory entries from $PATH

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48107 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimage.mk: use new pure make functions for sanitizing image filenames
nbd [Sun, 3 Jan 2016 20:58:02 +0000 (20:58 +0000)]
image.mk: use new pure make functions for sanitizing image filenames

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48106 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobuild: add pure make tolower/toupper funtions that do not require shell calls
nbd [Sun, 3 Jan 2016 20:57:53 +0000 (20:57 +0000)]
build: add pure make tolower/toupper funtions that do not require shell calls

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48105 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: add rtl8xxxu
nbd [Sun, 3 Jan 2016 20:57:38 +0000 (20:57 +0000)]
mac80211: add rtl8xxxu

OpenWrt is often used to develop or test new devices
Some users might want to test and help to improve
this new driver

upstream commit notice 26f1fad29ad973b0fb26a9ca3dcb2a73dde781aa

New driver: rtl8xxxu (mac80211)
This is an alternate driver for a number of Realtek WiFi USB devices,
including RTL8723AU, RTL8188CU, RTL8188RU, RTL8191CU, and RTL8192CU.
It was written from scratch utilizing the Linux mac80211 stack.

After spending months cleaning up the vendor provided rtl8723au
driver, which comes with it's own 802.11 stack included, I decided to
rewrite this driver from the bottom up.

Many thanks to Johannes Berg for 802.11 insights and help and Larry
Finger for help with the vendor driver.

The full git log for the development of this driver can be found here:
git git://git.kernel.org/pub/scm/linux/kernel/git/jes/linux.git
    branch rtl8723au-mac80211

This driver is still under development, but has proven to be very
stable for me. It currently supports station mode only. It has support
for OFDM and CCK rates. It does lack certain features found in the
staging driver, such as power management, AMPDU, and 40MHz channel
support. In addition it does not support AD-HOC, AP, and monitor mode
support at this point.

The driver is known to work with the following devices:
Lenovo Yoga (rtl8723au)
TP-Link TL-WN823N (rtl8192cu)
Etekcity 6R (rtl8188cu)
Daffodil LAN03 (rtl8188cu)
Alfa AWUS036NHR (rtl8188ru)

Compile tested only

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48104 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: iwlwifi: update firmware to ucode -16 version
nbd [Sun, 3 Jan 2016 20:57:31 +0000 (20:57 +0000)]
mac80211: iwlwifi: update firmware to ucode -16 version

We don't use Kernel drivers but ucode -16 is
usable on Kernel 4.3+ - with backports and mac80211
this should work on older Kernel versions too.

Intel does not provide a changelog.

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48103 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: mt7601u use linux-firmware
nbd [Sun, 3 Jan 2016 20:57:23 +0000 (20:57 +0000)]
mac80211: mt7601u use linux-firmware

upstream added mt7601u firmware with commit
9df5430a3c1bf4fa92d9198b6d7d8713408ff6bc Add firmware for mt7601u. version 34

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48102 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: ensure that LOADADDR is passed to lzma-loader
nbd [Sun, 3 Jan 2016 20:57:16 +0000 (20:57 +0000)]
ar71xx: ensure that LOADADDR is passed to lzma-loader

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48101 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agopackage/network/config/gre: ipv6 gre kmod package name was wrong
nbd [Sun, 3 Jan 2016 20:57:06 +0000 (20:57 +0000)]
package/network/config/gre: ipv6 gre kmod package name was wrong

Source package gre was depending on kmod-ip6-gre, however the actual
kernel module package that is created is kmod-gre6.  Therefore
update (source) package gre for ipv6 gre support.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48100 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agowpa_supplicant: set regulatory domain the same way as hostapd
nbd [Sun, 3 Jan 2016 20:56:57 +0000 (20:56 +0000)]
wpa_supplicant: set regulatory domain the same way as hostapd

In sta-only configuration, wpa_supplicant needs correct regulatory
domain because otherwise it may skip channel of its AP during scan.

Another alternative is to fix "iw reg set" in mac80211 netifd script.
Currently it fails if some phy has private regulatory domain which
matches configured one.

Signed-off-by: Dmitry Ivanov <dima@ubnt.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48099 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoiproute2: update to 4.3.0
nbd [Sun, 3 Jan 2016 20:56:45 +0000 (20:56 +0000)]
iproute2: update to 4.3.0

iproute2-4.0 had connmark support added by nbd.  This does not work
with 4.x kernels.  iproute2-4.3 is the latest version and has his
changes mainlined.  This patch updates the package to iproute2-4.3
and fixes the patches so that it compiles.  This should resolve
ticket #21374.

Signed-off-by: Rob Mosher <nyt-openwrt@countercultured.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48098 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: fix factory images for WNR2200 (#19807)
nbd [Sun, 3 Jan 2016 14:45:26 +0000 (14:45 +0000)]
ar71xx: fix factory images for WNR2200 (#19807)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48085 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agotarget/sdk: Fix filename with external toolchain
nbd [Sun, 3 Jan 2016 14:45:18 +0000 (14:45 +0000)]
target/sdk: Fix filename with external toolchain

When building SDK with external toolchain, don't
include _gcc in the filename

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48084 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimages imagebuilder: Allow to add sanitized extra name
nbd [Sun, 3 Jan 2016 14:44:56 +0000 (14:44 +0000)]
images imagebuilder: Allow to add sanitized extra name

For final output image names allow user to add an
extra string (which is sanitized).  This is particularly
useful with ImageBuilder where you may generate multiple
images from the same base and for the same board,
with different package selections and additional files
(via FILES=).

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48083 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimages: use configured distribution name for output image names
nbd [Sun, 3 Jan 2016 14:44:48 +0000 (14:44 +0000)]
images: use configured distribution name for output image names

We allow to configure the version distribution name;
let's also use it for the final image filenames.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48082 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agotargets: Use configured distribution name for SDK, IB, and Toolchain tarball names
nbd [Sun, 3 Jan 2016 14:44:42 +0000 (14:44 +0000)]
targets: Use configured distribution name for SDK, IB, and Toolchain tarball names

We allow to configure the version distribution name;
let's also use it for the tarballs (SDK, ImageBuilder,
and SDK).

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48081 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agotarget/toolchain: Fix tarball filename
nbd [Sun, 3 Jan 2016 14:44:36 +0000 (14:44 +0000)]
target/toolchain: Fix tarball filename

Toolchain makefile was missing include of version.mk
so the openwrt version was missing from the filename.
This patch fixes that.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48080 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobuild: for cmake, always use ccache from staging dir instead of relying on the host
nbd [Sun, 3 Jan 2016 14:44:30 +0000 (14:44 +0000)]
build: for cmake, always use ccache from staging dir instead of relying on the host

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48079 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobusybox: adjust convert_menuconfig.pl to emit relative path references for Config...
nbd [Sun, 3 Jan 2016 11:38:31 +0000 (11:38 +0000)]
busybox: adjust convert_menuconfig.pl to emit relative path references for Config.in files and refresh generated files

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48078 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobusybox: fix handling of special characters in path when converting menuconfig
nbd [Sun, 3 Jan 2016 11:36:38 +0000 (11:36 +0000)]
busybox: fix handling of special characters in path when converting menuconfig

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48077 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomalta: fix generating network configuration
nbd [Sun, 3 Jan 2016 11:36:26 +0000 (11:36 +0000)]
malta: fix generating network configuration

With the default network config provided by package base-files present,
board_detect won't create a new config from board.json.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48076 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: another fix to wndr3700_board_detect
nbd [Sun, 3 Jan 2016 11:09:45 +0000 (11:09 +0000)]
ar71xx: another fix to wndr3700_board_detect

My last bugfix (r47538) introduced a new bug in wndr3700_board_detect
(again...).

Assigning the result of ar71xx_get_mtd_offset_size_format to the model
variable before stripping of garbage using awk will cause all NUL bytes to
be removed before awk is applied, leading to model strings like
"NETGEAR WNDRMACv2NETGEAR", where a NUL byte after the v2 is supposed to
terminate the string.

Fix by calling ar71xx_get_mtd_offset_size_format twice, once piping to awk
directly.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48075 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoledtrig-netdev: don't stop timer on events for different interfaces
rmilecki [Sat, 2 Jan 2016 20:38:56 +0000 (20:38 +0000)]
ledtrig-netdev: don't stop timer on events for different interfaces

This fixes regression introduced in my recent ledtrig-netdev commit.
Events triggered by different interfaces were stopping timer so it
wasn't working for tx/rx mode.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48072 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoperf: select objdump instead of the full binutils package
nbd [Sat, 2 Jan 2016 16:19:39 +0000 (16:19 +0000)]
perf: select objdump instead of the full binutils package

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48071 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: clean up and refresh kernel patches
nbd [Sat, 2 Jan 2016 14:48:27 +0000 (14:48 +0000)]
ramips: clean up and refresh kernel patches

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48070 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: fix performance counters on mt7621
nbd [Sat, 2 Jan 2016 14:48:11 +0000 (14:48 +0000)]
ramips: fix performance counters on mt7621

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48069 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoperf: add myself as a maintainer
nbd [Sat, 2 Jan 2016 14:48:04 +0000 (14:48 +0000)]
perf: add myself as a maintainer

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48068 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoperf: fix musl compatibility
nbd [Sat, 2 Jan 2016 14:47:57 +0000 (14:47 +0000)]
perf: fix musl compatibility

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48067 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoperf: fix parallel build support, explicitly disable more library dependencies
nbd [Sat, 2 Jan 2016 14:47:48 +0000 (14:47 +0000)]
perf: fix parallel build support, explicitly disable more library dependencies

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48066 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoperf: build in a copy of the source dir instead of relying on make clean
nbd [Sat, 2 Jan 2016 14:47:42 +0000 (14:47 +0000)]
perf: build in a copy of the source dir instead of relying on make clean

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48065 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoralink: more esw_rt3050 fixes
blogic [Sat, 2 Jan 2016 11:44:08 +0000 (11:44 +0000)]
ralink: more esw_rt3050 fixes

the IRQ was not setup properly causing an oops

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48064 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: switch to simpler devm_gpiod_get in USB driver
rmilecki [Sat, 2 Jan 2016 10:49:46 +0000 (10:49 +0000)]
bcm53xx: switch to simpler devm_gpiod_get in USB driver

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48062 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: make bcm47xxpart work with TRX flashed at bad block(s)
rmilecki [Sat, 2 Jan 2016 00:33:48 +0000 (00:33 +0000)]
kernel: make bcm47xxpart work with TRX flashed at bad block(s)

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48061 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: drop bcm47xxpart patch for Xiaomi
rmilecki [Sat, 2 Jan 2016 00:33:31 +0000 (00:33 +0000)]
kernel: drop bcm47xxpart patch for Xiaomi

It was never tested, most likely not working (because of le32_to_cpu)
and not upstreamed.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48060 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogeneric/4.4: update to 4.4-rc7
kaloz [Fri, 1 Jan 2016 22:02:47 +0000 (22:02 +0000)]
generic/4.4: update to 4.4-rc7

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48059 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoV2 ar71xx : Add Support for the Bitmain Antrouter R1
blogic [Fri, 1 Jan 2016 21:21:13 +0000 (21:21 +0000)]
V2 ar71xx : Add Support for the Bitmain Antrouter R1

This patch adds support for the Bitmain Antrouter R1

http://wiki.openwrt.org/toh/bitmain/r1

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48058 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: ltq-vmmc: Fix compilation with linux 4.4
blogic [Fri, 1 Jan 2016 21:21:04 +0000 (21:21 +0000)]
lantiq: ltq-vmmc: Fix compilation with linux 4.4

gpio.h needs the linux/ prefix with linux 4.4.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48057 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: Add the xbar to vr9.dts
blogic [Fri, 1 Jan 2016 21:21:00 +0000 (21:21 +0000)]
lantiq: Add the xbar to vr9.dts

linux 4.4 (since commit 08b3c894e56580b8ed3e601212a25bda974c3cc2
"MIPS: lantiq: Disable xbar fpi burst mode") requires that the xbar is
defined in the .dts of vrx200 (VR9) SoCs.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48056 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: Remove LED GPIO definitions in MQmaker WiTi device tree
blogic [Fri, 1 Jan 2016 21:20:54 +0000 (21:20 +0000)]
ramips: Remove LED GPIO definitions in MQmaker WiTi device tree

LED's were defined wrong in the device tree file, they are hardware driven because they are connected directly to the switch chip and wireless chips respectively, thus no GPIO addresses are assigned to them. It is safe to remove them from the device tree file to stop confusion.

Signed-off-by: Sebastian Careba <nitroshift@yahoo.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48055 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoltq-vdsl-app: re-add lowlevel settings
blogic [Fri, 1 Jan 2016 21:20:24 +0000 (21:20 +0000)]
ltq-vdsl-app: re-add lowlevel settings

Add back a slightly modified version of the lowlevel settings which
where removed with r46920.

In compare to the old lowlevel settings, the B43c tone is added to
tone_adsl_b and tone_adsl_bv.

If an unsupported tone value is used, the auto probing mode is used, in
compare to the fallback to tone_adsl_av and tone_vdsl_av with the old
lowlevel settings.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48054 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoltq-vdsl-app: enable G.993.5 XTSE bit by default
blogic [Fri, 1 Jan 2016 21:20:16 +0000 (21:20 +0000)]
ltq-vdsl-app: enable G.993.5 XTSE bit by default

According to ITU-T G.997.1 Amendment 2 (04/2013) section 2.1, bit 3 of
XTSE octet 8 either allow or denies the initialization of G.993.5.

Even if the current redistributable xDSL firmware doesn't include
G.993.5 vectoring support, enable this bit by default to allow people to
get their G.993.5 line working using a custom xDSL firmware.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48053 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoltq-vdsl-app: let the driver/app probe the xtse on missing annex
blogic [Fri, 1 Jan 2016 21:20:08 +0000 (21:20 +0000)]
ltq-vdsl-app: let the driver/app probe the xtse on missing annex

r47933 revealed that the driver/app in combination with the chosen
firmware does a good job in selecting a working xtse.

Use this probing mode if no annex is specified.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48052 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoltq-vdsl-app: add/enable missing G.993.2 XTSE bits
blogic [Fri, 1 Jan 2016 21:20:02 +0000 (21:20 +0000)]
ltq-vdsl-app: add/enable missing G.993.2 XTSE bits

This patch adds the missing VDSL2 bits to the annex specific XTSE (like
it should be according to the comments above the XTSE bits).

Since r47933 it's mandatory to remove the annex option to switch to
VDSL2 (only) operation mode.

As shown by ticket #21436 and a few mails I received personally, even
experienced users are not aware that they have to remove the annex
option to get their VDSL2 line working and as shown by this patch it
doesn't need to be that "complicated".

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48051 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoltq-vdsl-app: use the final xtse format
blogic [Fri, 1 Jan 2016 21:19:55 +0000 (21:19 +0000)]
ltq-vdsl-app: use the final xtse format

This way we can drop the call to sed.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48050 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoralink: add WRTnode2 platform and led support
blogic [Fri, 1 Jan 2016 21:19:50 +0000 (21:19 +0000)]
ralink: add WRTnode2 platform and led support

Signed-off-by: xzmu <xzmu@wrtnode.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48049 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoledtrig-netdev: add support for renamed devices
blogic [Fri, 1 Jan 2016 21:19:41 +0000 (21:19 +0000)]
ledtrig-netdev: add support for renamed devices

The ppp0 interface is renamed after the connection is established. Due
to a missing NETDEV_REGISTER event, the ledtrig-netdev isn't aware of
the renamed interface and literally ignores the device
(no tx/rx indication, led isn't switched off with 'ifdown wan').

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48048 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: match default xdsl mode and default wan interface
blogic [Fri, 1 Jan 2016 21:19:32 +0000 (21:19 +0000)]
lantiq: match default xdsl mode and default wan interface

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48047 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: convert vendorid into human readable form
blogic [Fri, 1 Jan 2016 21:19:27 +0000 (21:19 +0000)]
lantiq: convert vendorid into human readable form

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48046 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: add the current profile to the stats output
blogic [Fri, 1 Jan 2016 21:19:21 +0000 (21:19 +0000)]
lantiq: add the current profile to the stats output

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48045 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: TDW8980 - use devicename:colour:function led naming scheme
blogic [Fri, 1 Jan 2016 21:19:12 +0000 (21:19 +0000)]
lantiq: TDW8980 - use devicename:colour:function led naming scheme

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48044 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: P2812HNUFX - move usb leds to P2812HNU-F1
blogic [Fri, 1 Jan 2016 21:18:59 +0000 (21:18 +0000)]
lantiq: P2812HNUFX - move usb leds to P2812HNU-F1

The P2812HNU-F3 doesn't have usb leds. Only the P2812HNU-F1 has those
leds.

Reported-by: Sylwester Petela <sscapi@gmail.com>
Signed-off-by: Mathias Kresin <openwrt@kresin.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48043 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: use devicename:colour:function led naming scheme
blogic [Fri, 1 Jan 2016 21:18:54 +0000 (21:18 +0000)]
lantiq: use devicename:colour:function led naming scheme

The leds of the following boards are not renamed due to lack of
manuals/informations:

- ARV7519PW
- ARV7510PW22
- ARV4510PW

The leds of the ARV4518PWR01* boards are unchanged, since the leds doesn't
match the leds from the manual or pictures (e.g. there shouldn't be a wps led).

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48042 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: add support for indicating the boot state using three leds
blogic [Fri, 1 Jan 2016 21:18:47 +0000 (21:18 +0000)]
lantiq: add support for indicating the boot state using three leds

The BTHOMEHUBV5A has a RGB power led, where every colour is perfect to
indicate the current boot state. This patch adds support for such cases.

The existing led sequences should be the same as before.

Boards which are using a led different from power (like TDW89x0) are
changed to switch of the led after boot

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48041 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: use dsl led defined in DTS
blogic [Fri, 1 Jan 2016 21:18:38 +0000 (21:18 +0000)]
lantiq: use dsl led defined in DTS

dsl_control (dsl_notify.sh) is the only process which is aware of the
state of the atm/ptm interface. Use the dsl led exclusive for the dsl
line state.

On boards which don't have a distinct internet and a dsl led, let the
netdev status of the atm interface trigger the shared led.

Triggering the shared led according to the status of the ppp interface
isn't suitable, since the led would be switched of if the ppp
connection goes down, but the line is still in sync.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48040 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: use power leds defined in DTS
blogic [Fri, 1 Jan 2016 21:18:30 +0000 (21:18 +0000)]
lantiq: use power leds defined in DTS

Use the power leds defined in the dts file instead of hardcoded led names.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48039 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: use default leds defined in DTS
blogic [Fri, 1 Jan 2016 21:18:21 +0000 (21:18 +0000)]
lantiq: use default leds defined in DTS

Remove all now double defined leds from the led board file. Use pppoe
as default for all broadband connections, since it's the default in
OpenWrt now.

Rename the the wifi leds to make sure, the not applicable default
values get overwritten.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48038 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: define default leds in dts files
blogic [Fri, 1 Jan 2016 21:18:08 +0000 (21:18 +0000)]
lantiq: define default leds in dts files

- ARV7525PW: use the power led as dsl led as done by the stock firmware
- FRITZ3370: use the info led as internet led
- FRITZ7320: use the power led as dsl led as done by the stock firmware

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48037 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: ARV752DPW - fix dts file
blogic [Fri, 1 Jan 2016 21:18:00 +0000 (21:18 +0000)]
lantiq: ARV752DPW - fix dts file

Use the same led logic and labels as the OEM firmware (red = okay,
blue = failure).

Add the red internet led.

Remove missing usb led workaround. The workaround shouldn't be in the
default configuration.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48036 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: ARV752DPW22 - fix dts file
blogic [Fri, 1 Jan 2016 21:17:55 +0000 (21:17 +0000)]
lantiq: ARV752DPW22 - fix dts file

No need to switch (and keep) on all leds at boot. Use the same led
logic and labels as the OEM firmware (red = okay, blue = failure).

Add the red internet led.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48035 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: DGN1000B - fix typo in dts file
blogic [Fri, 1 Jan 2016 21:17:50 +0000 (21:17 +0000)]
lantiq: DGN1000B - fix typo in dts file

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48034 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: ARV4518PWR01* move redundant parts to dtsi
blogic [Fri, 1 Jan 2016 21:17:42 +0000 (21:17 +0000)]
lantiq: ARV4518PWR01* move redundant parts to dtsi

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48033 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: BTHOMEHUBV2B - remove missing usb led workaround
blogic [Fri, 1 Jan 2016 21:17:34 +0000 (21:17 +0000)]
lantiq: BTHOMEHUBV2B - remove missing usb led workaround

The workaround shouldn't be in the default configuration.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48032 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq: P2812HNUFX - move leds to dtsi
blogic [Fri, 1 Jan 2016 21:17:26 +0000 (21:17 +0000)]
lantiq: P2812HNUFX - move leds to dtsi

Beside the used labels, they are the same on both boards.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48031 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoralink: fix rt3050/5350 ethernet switch support
blogic [Fri, 1 Jan 2016 21:17:21 +0000 (21:17 +0000)]
ralink: fix rt3050/5350 ethernet switch support

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48030 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: set the wifi mac address to the same as LAN on witi
nbd [Fri, 1 Jan 2016 18:58:02 +0000 (18:58 +0000)]
ramips: set the wifi mac address to the same as LAN on witi

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48029 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomt76: update to the latest version from the mt7603 branch, adds support for overridin...
nbd [Fri, 1 Jan 2016 18:57:54 +0000 (18:57 +0000)]
mt76: update to the latest version from the mt7603 branch, adds support for overriding the mac address via OF

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48028 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: add a script to fix up the broken mac address on the witi board
nbd [Fri, 1 Jan 2016 18:57:39 +0000 (18:57 +0000)]
ramips: add a script to fix up the broken mac address on the witi board

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48027 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: fold of_get_mac_address_mtd into of_get_mac_address
nbd [Fri, 1 Jan 2016 18:57:29 +0000 (18:57 +0000)]
kernel: fold of_get_mac_address_mtd into of_get_mac_address

This makes it easier to keep drivers in sync with upstream

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48026 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: fix kernel configuration for mt7628
nbd [Fri, 1 Jan 2016 15:20:38 +0000 (15:20 +0000)]
ramips: fix kernel configuration for mt7628

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48025 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: add missing clk_round_rate function to fix buildbot errors
nbd [Fri, 1 Jan 2016 14:33:09 +0000 (14:33 +0000)]
ramips: add missing clk_round_rate function to fix buildbot errors

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48024 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: fix inverted LEDs for RE6500
nbd [Fri, 1 Jan 2016 12:27:45 +0000 (12:27 +0000)]
ramips: fix inverted LEDs for RE6500

Signed-off-by: Bjoern Dobe <bjoern@dobecom.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48022 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: add mac address assignment for eth0 on RE6500
nbd [Fri, 1 Jan 2016 12:26:38 +0000 (12:26 +0000)]
ramips: add mac address assignment for eth0 on RE6500

Signed-off-by: Bjoern Dobe <bjoern@dobecom.de>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48021 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: fix firmware partition size
nbd [Fri, 1 Jan 2016 12:26:30 +0000 (12:26 +0000)]
ramips: fix firmware partition size

Signed-off-by: Bjoern Dobe <bjoern@dobecom.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48020 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: fix memory size for RE6500
nbd [Fri, 1 Jan 2016 12:26:26 +0000 (12:26 +0000)]
ramips: fix memory size for RE6500

Signed-off-by: Bjoern Dobe <bjoern@dobecom.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48019 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: fix duplication of sch_netem in multiple packages (#21479)
nbd [Fri, 1 Jan 2016 12:26:09 +0000 (12:26 +0000)]
kernel: fix duplication of sch_netem in multiple packages (#21479)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48018 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agodante: fix MD5SUM
nico [Thu, 31 Dec 2015 09:20:59 +0000 (09:20 +0000)]
dante: fix MD5SUM

MD5SUM is wrong, it was not updated during last update to v1.4.1.

Thanks to Daniel Dickinson <openwrt@daniel.thecshore.com> for reporting it.

Signed-off-by: Nicolas Thill <nico@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48017 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimx6: images: ventana: change name of ubi output
luka [Tue, 29 Dec 2015 23:40:41 +0000 (23:40 +0000)]
imx6: images: ventana: change name of ubi output

Change the name of the .ubi produced to strip out the word 'factory'. This is
mainly due to the fact that there is no difference between the Ventana 'factory'
image vs the standard image.

Name changes from:
openwrt-imx6-ventana-squashfs.nand-factory_<size>.ubi to
openwrt-imx6-ventana-squashfs-nand_<size>.ubi

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48016 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agouboot-imx6: add support for i.MX6q SABRE board
luka [Mon, 28 Dec 2015 04:56:33 +0000 (04:56 +0000)]
uboot-imx6: add support for i.MX6q SABRE board

U-boot ships with the `mx6qsabresd` configuration file to configure a
bootloader suitable for booting the Freescale i.MX6q SABRE evaluation board
from SD card. Expose this option in the uboot-imx6 Makefile.

Signed-off-by: Keno Fischer <keno@juliacomputing.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48014 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimx6: fix device-tree mac address assignment for ventana sky2/eth1
luka [Mon, 28 Dec 2015 04:56:27 +0000 (04:56 +0000)]
imx6: fix device-tree mac address assignment for ventana sky2/eth1

Some Ventana boards have a Marvell sky2 GigE controller as eth1 however
assigning the mac address through device-tree is difficult because the
PCI slot can move around depending on board configuration and slot population.

To work around this we add a patch to the sky2 driver to allow accessing its
mac address via a device-tree alias.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48013 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimx6: add i2c retries for Ventana /dev/i2c-0
luka [Mon, 28 Dec 2015 04:56:13 +0000 (04:56 +0000)]
imx6: add i2c retries for Ventana /dev/i2c-0

On Ventana boards the Gateworks System Controller is the only device on I2C1
(/dev/i2c-0) and it can NAK transfers if it is busy in an ADC loop. Because
this is a multi-function device with several slave addresses it is best to
add retries at the controller level instead of within each slave driver. This
adds a patch that adds 3 retries for i2c transactions only for Ventana boards
and only for I2C1

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48012 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimx6: imx: thermal: use CPU temperature grade info for thresholds
luka [Mon, 28 Dec 2015 04:56:07 +0000 (04:56 +0000)]
imx6: imx: thermal: use CPU temperature grade info for thresholds

This is a backport of a2291badc355d58ead5c19ae0609468947416040 from thermal-soc
accepted upstream.

The IMX6Q/IMX6DL SoC's have a 2-bit temperature grade stored in OTP. Instead
of assuming 85C for passive cooling threshold and 100C for critical base
these thresholds off the thermal gade max CPU temperature:
 - passive threshold: max - 10C
 - critical threshold: max - 5C

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48011 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimx6: Add pwm nodes
luka [Mon, 28 Dec 2015 04:55:54 +0000 (04:55 +0000)]
imx6: Add pwm nodes

Upstream status: Accepted

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48010 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimx6: ventana: add ecspi3 host controller for GW52xx
luka [Mon, 28 Dec 2015 04:55:48 +0000 (04:55 +0000)]
imx6: ventana: add ecspi3 host controller for GW52xx

Certain board revisions of the GW52xx support an SPI host controller with
a single chip-select going to an off board connector.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48009 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimx6: Add 4.3 support
luka [Mon, 28 Dec 2015 04:55:45 +0000 (04:55 +0000)]
imx6: Add 4.3 support

Build and boot tested on the following hardware:
 * GW54xx
 * GW53xx
 * GW52xx
 * GW51xx
 * GW552x
 * GW551x

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48008 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimx6: drop lingering files
luka [Mon, 28 Dec 2015 04:55:33 +0000 (04:55 +0000)]
imx6: drop lingering files

Since 3.18 kernel support was dropped, remove lingering files.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48007 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years ago6in4: Corrected tunnelbroker tunnel update URL
hauke [Sun, 27 Dec 2015 20:42:26 +0000 (20:42 +0000)]
6in4: Corrected tunnelbroker tunnel update URL

Changed the tunnel update URL into format tunnelbrokers
example has, that made it work again. Current method gives "Username/Password
Authentication Failed." when I tried the wget line manually and logread
eventually says also "6in4: update failed". With corrected URL it works fine:
"good 111.222.333.444" or "nochg 111.222.333.444" and logread concurs with
success, and tunnel actually updates.

Tested-by: Vaasa Hacklab <info@vaasa.hacklab.fi>
Signed-off-by: Sami Olmari <sami@olmari.fi>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48006 3c298f89-4303-0410-b956-a3cf2f4a3e73