oweals/openwrt.git
8 years agouclient: update to the latest version with better help and DELETE
Rafał Miłecki [Thu, 16 Jun 2016 12:51:40 +0000 (14:51 +0200)]
uclient: update to the latest version with better help and DELETE

This slightly improves output of help messages and supports sending
message body for DELETE.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
8 years agopackage-ipkg: do not include feeds.mk at metadata dump time to speed up scanning
Felix Fietkau [Thu, 16 Jun 2016 09:56:14 +0000 (11:56 +0200)]
package-ipkg: do not include feeds.mk at metadata dump time to speed up scanning

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoinclude/feeds.mk: allow installation from feed packages that are installed but no...
Felix Fietkau [Thu, 16 Jun 2016 09:41:52 +0000 (11:41 +0200)]
include/feeds.mk: allow installation from feed packages that are installed but no longer in feeds.conf

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agopackage-ipkg.mk: fix Provides for packages with multiple PROVIDES entries
Matthias Schiffer [Thu, 16 Jun 2016 02:11:41 +0000 (04:11 +0200)]
package-ipkg.mk: fix Provides for packages with multiple PROVIDES entries

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
8 years agohostapd: fix breakage with non-nl80211 drivers
Felix Fietkau [Wed, 15 Jun 2016 17:28:48 +0000 (19:28 +0200)]
hostapd: fix breakage with non-nl80211 drivers

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agotools/cmake: fix parallel build with Make 4.2+
Matthias Schiffer [Wed, 15 Jun 2016 16:54:02 +0000 (18:54 +0200)]
tools/cmake: fix parallel build with Make 4.2+

Avoid using the --parallel argument to the CMake bootstrap, as that doesn't
allow us to remove the -j argument. Instead, pass the HOST_JOBS arguments
in MAKEFLAGS.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
8 years agobuild: don't add -j for parallel builds with Make 4.2+
Matthias Schiffer [Wed, 15 Jun 2016 16:56:17 +0000 (18:56 +0200)]
build: don't add -j for parallel builds with Make 4.2+

Make usually passes -j and jobserver arguments as part of MAKEFLAGS. LEDE
removes MAKEFLAGS to have better control of the build, and re-adds the
jobserver arguments with -j to the Make commandline where desired.

Make 4.2+ behave differently with these arguments passed on the commandline
than in MAKEFLAGS: -j will override the jobserver argument and the job
count will be unlimited.

Moving the flags to MAKEFLAGS will need many packages to be changed and
tested; therefore, we opt for a less invasive change for now and just
remove -j for Make 4.2+, as the jobserver argument alone is enough to
enable parallel builds for these Make versions.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
8 years agohostapd: fix compilation error in wext backend
Jo-Philipp Wich [Wed, 15 Jun 2016 17:10:11 +0000 (19:10 +0200)]
hostapd: fix compilation error in wext backend

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agoscripts: feeds: fix version detection for Make >= 4.2.1
Jo-Philipp Wich [Wed, 15 Jun 2016 14:39:26 +0000 (16:39 +0200)]
scripts: feeds: fix version detection for Make >= 4.2.1

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agoRevert "lantiq: Use correct macaddr generating logic for the DGN3500"
Felix Fietkau [Wed, 15 Jun 2016 16:40:12 +0000 (18:40 +0200)]
Revert "lantiq: Use correct macaddr generating logic for the DGN3500"

This reverts commit 492964e741f1e0254b6ed7c0a095551a31d25dc9, which
makes no sense. /etc/board.d cannot be used for system init stuff.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agohostap-driver: mark as broken, it causes extra bloat in hostapd and is probably not...
Felix Fietkau [Wed, 15 Jun 2016 16:27:44 +0000 (18:27 +0200)]
hostap-driver: mark as broken, it causes extra bloat in hostapd and is probably not used anymore

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agomt76: update to latest version, adds survey support for mt76x2
Felix Fietkau [Wed, 15 Jun 2016 15:50:51 +0000 (17:50 +0200)]
mt76: update to latest version, adds survey support for mt76x2

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agohostapd: implement fallback for incomplete survey data
Felix Fietkau [Wed, 15 Jun 2016 15:31:48 +0000 (17:31 +0200)]
hostapd: implement fallback for incomplete survey data

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agohostapd: update to version 2016-06-15
Felix Fietkau [Wed, 15 Jun 2016 15:11:43 +0000 (17:11 +0200)]
hostapd: update to version 2016-06-15

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agohostapd: Update to version 2016-05-05
Michal Hrusecky [Thu, 12 May 2016 12:07:15 +0000 (14:07 +0200)]
hostapd: Update to version 2016-05-05

Fixes CVE-2016-4476 and few possible memory leaks.

Signed-off-by: Michal Hrusecky <Michal.Hrusecky@nic.cz>
8 years agolibubox: update to the latest version, fixes an uloop signal handling race condition
Felix Fietkau [Wed, 15 Jun 2016 15:01:06 +0000 (17:01 +0200)]
libubox: update to the latest version, fixes an uloop signal handling race condition

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agorealview: sync kernel config file
John Crispin [Wed, 15 Jun 2016 13:57:01 +0000 (15:57 +0200)]
realview: sync kernel config file

Signed-off-by: John Crispin <john@phrozen.org>
8 years agomt76: update to the latest version, fixes a monitor mode injection crash
Felix Fietkau [Wed, 15 Jun 2016 13:00:14 +0000 (15:00 +0200)]
mt76: update to the latest version, fixes a monitor mode injection crash

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agolantiq: refresh patches
Felix Fietkau [Wed, 15 Jun 2016 12:17:27 +0000 (14:17 +0200)]
lantiq: refresh patches

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agokernel: refresh patches
Felix Fietkau [Wed, 15 Jun 2016 12:17:19 +0000 (14:17 +0200)]
kernel: refresh patches

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agokernel: replace SMP cacheflush fix with some patches from linux-mti.git
Felix Fietkau [Wed, 15 Jun 2016 12:17:06 +0000 (14:17 +0200)]
kernel: replace SMP cacheflush fix with some patches from linux-mti.git

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agobcm53xx: use uncompressed zImages
Felix Fietkau [Tue, 14 Jun 2016 10:01:22 +0000 (12:01 +0200)]
bcm53xx: use uncompressed zImages

The boot loader expects LZMA compressed kernel images

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agokernel: add support for uncompressed zImage on ARM
Felix Fietkau [Tue, 14 Jun 2016 10:00:32 +0000 (12:00 +0200)]
kernel: add support for uncompressed zImage on ARM

This can be used to prevent double compression for platforms where the
boot loader already expects compressed images.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agokernel: add common config symbols
Felix Fietkau [Tue, 14 Jun 2016 09:03:09 +0000 (11:03 +0200)]
kernel: add common config symbols

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agobcm53xx: refresh kernel config
Felix Fietkau [Tue, 14 Jun 2016 09:04:03 +0000 (11:04 +0200)]
bcm53xx: refresh kernel config

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoipq806x: add missing kernel config symbol
Jo-Philipp Wich [Wed, 15 Jun 2016 11:20:39 +0000 (13:20 +0200)]
ipq806x: add missing kernel config symbol

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agomvebu: Configure status LED for WRT1900ACS
Rujun Wang [Wed, 15 Jun 2016 10:42:14 +0000 (18:42 +0800)]
mvebu: Configure status LED for WRT1900ACS

Signed-off-by: Rujun Wang <chinawrj@gmail.com>
8 years agorealview: bump to v4.4
John Crispin [Wed, 15 Jun 2016 09:48:23 +0000 (11:48 +0200)]
realview: bump to v4.4

Signed-off-by: John Crispin <john@phrozen.org>
8 years agofirmware-utils: oseama: support extracting entity
Rafał Miłecki [Thu, 5 May 2016 12:32:00 +0000 (14:32 +0200)]
firmware-utils: oseama: support extracting entity

This updates oseama in firmware-utils to the version from packages
keeping them synced.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
8 years agoocteon: export the FILESYSTEMS variable during image generation
John Crispin [Wed, 15 Jun 2016 08:14:34 +0000 (10:14 +0200)]
octeon: export the FILESYSTEMS variable during image generation

squashfs will be used for all images if this is not done

Signed-off-by: John Crispin <john@phrozen.org>
8 years agoocteon: Ignore MEM boot param when too small
John Crispin [Tue, 14 Jun 2016 11:29:30 +0000 (13:29 +0200)]
octeon: Ignore MEM boot param when too small

Cisco RV0XX u-boot sets MEM=2048 as boot param. We assume that at least
4MB (mem_alloc_size) of ram is needed to run linux on cavium boards, so
if mem < 4M - ignore it and set default value

Signed-off-by: Michał Osowiecki <michal.osowiecki@gmail.com>
8 years agoipq806x: restore old stmmac dma patch which is still needed to fix data corruption
Josh Bendavid [Wed, 15 Jun 2016 00:56:36 +0000 (02:56 +0200)]
ipq806x: restore old stmmac dma patch which is still needed to fix data corruption

Signed-off-by: Josh Bendavid <joshbendavid@gmail.com>
8 years agoRevert "ipq806x: add mangle bootargs options in config-4.4"
Josh Bendavid [Tue, 14 Jun 2016 13:07:21 +0000 (15:07 +0200)]
Revert "ipq806x: add mangle bootargs options in config-4.4"

This reverts commit 53147c2237231842b4d185f69c2bc0d79aff8b85.

These config changes break booting on C2600 and probably other devices.

Signed-off-by: Josh Bendavid <joshbendavid@gmail.com>
8 years agoocteon: convert to new image building code
John Crispin [Sun, 15 May 2016 07:44:34 +0000 (09:44 +0200)]
octeon: convert to new image building code

Signed-off-by: John Crispin <john@phrozen.org>
8 years agomediatek/ralink: fix boardnames
John Crispin [Tue, 14 Jun 2016 06:37:52 +0000 (08:37 +0200)]
mediatek/ralink: fix boardnames

Signed-off-by: John Crispin <john@phrozen.org>
8 years agotools: build msdostools for omap
Alexander Couzens [Wed, 15 Jun 2016 05:12:45 +0000 (22:12 -0700)]
tools: build msdostools for omap

omap requires msdos partition to boot from sdcard.
Prepare for upcoming full sdcard image generation.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
8 years agoomap: remove NAMESPACES config symbols
Dirk Neukirchen [Sat, 4 Jun 2016 16:36:27 +0000 (18:36 +0200)]
omap: remove NAMESPACES config symbols

they are available in config/Config-kernel.in

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
8 years agoomap: remove XFRM config symbols
Dirk Neukirchen [Sat, 4 Jun 2016 16:35:09 +0000 (18:35 +0200)]
omap: remove XFRM config symbols

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
8 years agoomap: remove config symbol W1
Dirk Neukirchen [Sat, 4 Jun 2016 16:35:02 +0000 (18:35 +0200)]
omap: remove config symbol W1

it is available as module

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
8 years agoomap: remove config symbol NETFILTER
Dirk Neukirchen [Sat, 4 Jun 2016 16:34:16 +0000 (18:34 +0200)]
omap: remove config symbol NETFILTER

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
8 years agoomap: remove BMP085 symbol
Dirk Neukirchen [Sat, 4 Jun 2016 16:34:09 +0000 (18:34 +0200)]
omap: remove BMP085 symbol

BMP085 is a pressure sensor and available as module

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
8 years agotools/mkfwimage2: remove 256 length limit for partition images
Alexander Couzens [Sat, 11 Jun 2016 02:12:38 +0000 (04:12 +0200)]
tools/mkfwimage2: remove 256 length limit for partition images

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
8 years agolantiq: the io space was still not big enough for UHCI
John Crispin [Tue, 14 Jun 2016 06:34:05 +0000 (08:34 +0200)]
lantiq: the io space was still not big enough for UHCI

Signed-off-by: John Crispin <john@phrozen.org>
8 years agolantiq: add ARV4525PW wifi led
John Crispin [Tue, 14 Jun 2016 03:11:54 +0000 (05:11 +0200)]
lantiq: add ARV4525PW wifi led

Signed-off-by: John Crispin <john@phrozen.org>
8 years agolantiq: fix VG3503J loader generation
John Crispin [Tue, 14 Jun 2016 03:00:48 +0000 (05:00 +0200)]
lantiq: fix VG3503J loader generation

Signed-off-by: John Crispin <john@phrozen.org>
8 years agolantiq: fix fritz7320 wifi support
John Crispin [Mon, 13 Jun 2016 19:50:13 +0000 (21:50 +0200)]
lantiq: fix fritz7320 wifi support

Signed-off-by: John Crispin <john@phrozen.org>
8 years agolantiq: fix io_space_limit
John Crispin [Fri, 3 Jun 2016 11:13:55 +0000 (13:13 +0200)]
lantiq: fix io_space_limit

this broke uhci pci support on some arv units

Signed-off-by: John Crispin <john@phrozen.org>
8 years agoramips: fix kmod-sound-mt7620 packaging
Jo-Philipp Wich [Tue, 14 Jun 2016 12:31:15 +0000 (14:31 +0200)]
ramips: fix kmod-sound-mt7620 packaging

Commit 9ff8928bb9c28be701eb963e591afcfd54b9d8c9 renamed the snd-soc-mt7620-i2s
driver and dropped snd-soc-mt7620-wm8960 which selected CONFIG_SND_SOC_WM8960
breaking all ramips builds due to undefined kernel config symbols.

Rework the kmod-sound-mt7620 package to explicitely select the
CONFIG_SND_SOC_WM8960 symbols and change it to bundle the renamed .ko file.

Also remove the @BROKEN flag and exclude it on the rt288x subtarget instead.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agobcm53xx: refresh kernel config
Rafał Miłecki [Tue, 14 Jun 2016 10:19:25 +0000 (12:19 +0200)]
bcm53xx: refresh kernel config

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
8 years agoRevert "ar71xx: enable flow control for ethernet MACs with built-in switch"
Felix Fietkau [Tue, 14 Jun 2016 08:44:56 +0000 (10:44 +0200)]
Revert "ar71xx: enable flow control for ethernet MACs with built-in switch"

This reverts commit 1beb5bec6453abb220c5be4ddb9e6dc02d08d735.

It was found to cause the WAN port to fail on some AR934x devices

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agobrcm47xx: add the small_Flash feature
John Crispin [Mon, 13 Jun 2016 19:39:14 +0000 (21:39 +0200)]
brcm47xx: add the small_Flash feature

Signed-off-by: John Crispin <john@phrozen.org>
8 years agoath25: add the small_Flash feature
John Crispin [Mon, 13 Jun 2016 19:37:20 +0000 (21:37 +0200)]
ath25: add the small_Flash feature

Signed-off-by: John Crispin <john@phrozen.org>
8 years agoconfig: add a small_flash feature
John Crispin [Mon, 13 Jun 2016 19:35:03 +0000 (21:35 +0200)]
config: add a small_flash feature

this causes KALLSYMS to be off by default

Signed-off-by: John Crispin <john@phrozen.org>
8 years agolantiq: fix ARV452CQW button gpio setup
John Crispin [Mon, 13 Jun 2016 19:13:41 +0000 (21:13 +0200)]
lantiq: fix ARV452CQW button gpio setup

Signed-off-by: John Crispin <john@phrozen.org>
8 years agolantiq: add AVM image mageic to sysupgrade script
John Crispin [Mon, 13 Jun 2016 18:24:45 +0000 (20:24 +0200)]
lantiq: add AVM image mageic to sysupgrade script

Signed-off-by: John Crispin <john@phrozen.org>
8 years agopackage/lantiq: make lantiq kernel modules work with xway_legacy
John Crispin [Mon, 13 Jun 2016 17:04:56 +0000 (19:04 +0200)]
package/lantiq: make lantiq kernel modules work with xway_legacy

Signed-off-by: John Crispin <john@phrozen.org>
8 years agolantiq: add xway_legacy target
John Crispin [Mon, 13 Jun 2016 17:04:20 +0000 (19:04 +0200)]
lantiq: add xway_legacy target

due to bloat recent builds fail to fit into the flash of the old danube units

Signed-off-by: John Crispin <john@phrozen.org>
8 years agolantiq: gpio-export fails to build if GPIO_SYSFS is not enabled
John Crispin [Mon, 13 Jun 2016 15:18:50 +0000 (17:18 +0200)]
lantiq: gpio-export fails to build if GPIO_SYSFS is not enabled

Signed-off-by: John Crispin <john@phrozen.org>
8 years agofstools: split snapshot-tool into its own package
John Crispin [Mon, 13 Jun 2016 15:15:27 +0000 (17:15 +0200)]
fstools: split snapshot-tool into its own package

Signed-off-by: John Crispin <john@phrozen.org>
8 years agofstools: remove bogus warning in the fstab script
John Crispin [Sun, 12 Jun 2016 01:10:28 +0000 (03:10 +0200)]
fstools: remove bogus warning in the fstab script

/etc/init.d/fstab had some warnings in it to let users know that they
should call "block mount" directly. these ended up in the bootlog.
fix this by splitting the code into boot() and start(). this way the system
will boot without warning but manually starting the script will lead to the
message.

fixes FS#3

Reported-by: Hannu Nyman <hannu.nyman@iki.fi>
Signed-off-by: John Crispin <john@phrozen.org>
8 years agoopenvpn: update to 2.3.11
Magnus Kroken [Sun, 12 Jun 2016 21:49:42 +0000 (23:49 +0200)]
openvpn: update to 2.3.11

Security fixes:
* Fixed port-share bug with DoS potential
* Fix buffer overflow by user supplied data

Full changelog: https://community.openvpn.net/openvpn/wiki/ChangesInOpenvpn23#OpenVPN2.3.11

Signed-off-by: Magnus Kroken <mkroken@gmail.com>
8 years agoar71xx: mach-ubnt-xm.c convert patches to mach file
Arne Zachlod [Sun, 12 Jun 2016 16:17:28 +0000 (18:17 +0200)]
ar71xx: mach-ubnt-xm.c convert patches to mach file

Signed-off-by: Arne Zachlod <arne@nerdkeller.org>
8 years agotools/firmware-utils: Add Archer C50 to mktplinkfw2
Henryk Heisig [Sun, 12 Jun 2016 21:49:02 +0000 (23:49 +0200)]
tools/firmware-utils: Add Archer C50 to mktplinkfw2

Signed-off-by: Henryk Heisig <hyniu@o2.pl>
8 years agoramips/image: Add Archer C50 to mt7620 Makefile
Henryk Heisig [Sun, 12 Jun 2016 21:46:35 +0000 (23:46 +0200)]
ramips/image: Add Archer C50 to mt7620 Makefile

Signed-off-by: Henryk Heisig <hyniu@o2.pl>
8 years agoramips/base-files: Add support for Archer C50
Henryk Heisig [Sun, 12 Jun 2016 21:43:51 +0000 (23:43 +0200)]
ramips/base-files: Add support for Archer C50

Signed-off-by: Henryk Heisig <hyniu@o2.pl>
8 years agoramips/dts: Add support for Archer C50
Henryk Heisig [Sun, 12 Jun 2016 21:37:04 +0000 (23:37 +0200)]
ramips/dts: Add support for Archer C50

Signed-off-by: Henryk Heisig <hyniu@o2.pl>
8 years agolantiq: Add Support for Fritz!Box 7360 SL
John Crispin [Sat, 11 Jun 2016 13:05:52 +0000 (15:05 +0200)]
lantiq: Add Support for Fritz!Box 7360 SL

Signed-off-by: Sebastian Ortwein <krone@animeland.de>
Tested-by: Guido Lipke <lipkegu@gmail.com>
8 years agostrace: add option for enabling stack trace support
Yousong Zhou [Thu, 9 Jun 2016 02:04:24 +0000 (10:04 +0800)]
strace: add option for enabling stack trace support

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
8 years agolibunwind: initial version 1.1
Yousong Zhou [Thu, 9 Jun 2016 02:04:23 +0000 (10:04 +0800)]
libunwind: initial version 1.1

The package Makefile was based on work at link [1] with the following
changes

 1. Disable minidebuginfo support thus no dependency on liblzma
 2. Add 2 patches for building against musl-libc and building with
    mips16 enabled
 3. Add LICENSE and DEPENDS info, etc.

[1] https://github.com/rpi-openwrt/rpi-packages/tree/master/libs/libunwind

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
8 years agoramips: add support for DuZun DM06
Michael Lee [Sat, 28 May 2016 14:22:10 +0000 (22:22 +0800)]
ramips: add support for DuZun DM06

DuZun DM06 is a develop board based on mt7628
64M RAM, 8M SPI Flash, 1 WAN, 1 LAN.
wm8960 codec with line out, line in and speaker output.

Signed-off-by: Michael Lee <igvtee@gmail.com>
8 years agoramips: enable wm8960 kernel menuconfig select option
Michael Lee [Sat, 21 May 2016 13:12:53 +0000 (21:12 +0800)]
ramips: enable wm8960 kernel menuconfig select option

Signed-off-by: Michael Lee <igvtee@gmail.com>
8 years agoramips: add i2s clocks
Michael Lee [Tue, 17 May 2016 13:13:35 +0000 (21:13 +0800)]
ramips: add i2s clocks

Signed-off-by: Michael Lee <igvtee@gmail.com>
8 years agoramips: update i2s dtsi files
Michael Lee [Mon, 22 Feb 2016 12:49:25 +0000 (20:49 +0800)]
ramips: update i2s dtsi files

Signed-off-by: Michael Lee <igvtee@gmail.com>
8 years agoramips: improve i2s drivers
Michael Lee [Sun, 15 May 2016 14:59:25 +0000 (22:59 +0800)]
ramips: improve i2s drivers

* remove mt7620-wm8960.c use simple card and DTS to do it
* add old chips support
* add 12Mhz refclk setup. this is hard code. need use clock framework
  rewrite it
* add interrupt error status support for debug. default disable it.
  because it cause to many interrupts
* add setup bclk suport not hard code it
* add 24 bits support for mt7628. not verified
* use regmap api to control registers
* add txdma-req/rxdma-req DTS params for DMA use

Signed-off-by: Michael Lee <igvtee@gmail.com>
8 years agoramips: add i2c clock
Michael Lee [Fri, 8 Jan 2016 13:15:27 +0000 (21:15 +0800)]
ramips: add i2c clock

Signed-off-by: Michael Lee <igvtee@gmail.com>
8 years agoramips: update i2c dtsi files
Michael Lee [Thu, 7 Jan 2016 14:27:45 +0000 (22:27 +0800)]
ramips: update i2c dtsi files

Signed-off-by: Michael Lee <igvtee@gmail.com>
8 years agoramips: update i2c drivers
Michael Lee [Thu, 7 Jan 2016 13:50:24 +0000 (21:50 +0800)]
ramips: update i2c drivers

* add rt_i2c structure to store driver data
* rewrite read/write check function and add i2c error status check.
  so we don't need to wait until time out.
* add 10 bits address support. according to the data sheet i think
  it is possible. but i haven't verify it.
* the most important is start transfer only need once. otherwise
  it cause I2C_STARTERR status.
* add set i2c clock speed register by dts options "clock-frequency".
  not just hard code it.
* add mt7621 i2c driver. i just copy i2c-ralink.c and change register
  names. and the hardware don't support error status. so i remove it.
  but the logic is the same.

Signed-off-by: Michael Lee <igvtee@gmail.com>
8 years agoramips: add gdma hsdma dts info
Michael Lee [Wed, 2 Dec 2015 13:41:22 +0000 (21:41 +0800)]
ramips: add gdma hsdma dts info

Signed-off-by: Michael Lee <igvtee@gmail.com>
8 years agoramips: enhance dma engine support
Michael Lee [Wed, 2 Dec 2015 13:35:08 +0000 (21:35 +0800)]
ramips: enhance dma engine support

* fix compiler error. device_control operation not support now.
* add old chips support 8 channels. new chips support 16 channels.
* add mt7621 hsdma driver. data sheet says it has two channels.
  but after test only one channel support.
* add memory to memory DMA support. i use dmatest kernel module to
  verify this function. on rt305x it will copy more data. on mt7621
  only two channels can works at the same time. these two chips
  maybe have hardware bugs. because on other chips don't have these bugs.
* use tasklet to handle remaining dma requests.

Signed-off-by: Michael Lee <igvtee@gmail.com>
8 years agofeeds.conf.default: disable management feed
John Crispin [Thu, 9 Jun 2016 15:39:05 +0000 (17:39 +0200)]
feeds.conf.default: disable management feed

looks like the upstream source packages were un-published.

Signed-off-by: John Crispin <john@phrozen.org>
8 years agoubox: update to latest git HEAD
John Crispin [Tue, 7 Jun 2016 22:22:16 +0000 (00:22 +0200)]
ubox: update to latest git HEAD

this adds the new getrandom wrapper tool

Signed-off-by: John Crispin <john@phrozen.org>
8 years agotoolchain/gdb: Use correct folder name for ARC patches
Alexey Brodkin [Thu, 9 Jun 2016 09:38:34 +0000 (12:38 +0300)]
toolchain/gdb: Use correct folder name for ARC patches

Even though ARC tools were released as arc-2016.03
we have a little bit different version name for GDB.
That's because both Binutils and GDB come from the same
git repo but from different branches (and so different tags).

Also removing an extra patch that made its way into release.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
8 years agopackage/devel/gdb-arc: Add target GDB for ARC
Alexey Brodkin [Wed, 8 Jun 2016 06:50:55 +0000 (09:50 +0300)]
package/devel/gdb-arc: Add target GDB for ARC

ARC port of GDB is not yet upstream so we need to use
sources from Synopsys GitHub repo.

Given Synopys' commitment to upstream ARC support in GDB
in the nearest future it might be simpler to add a separate
package for ARC GDB instead of patching generic GDB package.
This way once ARC GDB stuff gets uptreamed we'll only need
to remove that new "gdb-arc" package.

Note 1 very minor change in generic gdb package was done -
it now depends on !arc (while "gdb-arc" depends on "arc").

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
8 years agoipq806x: move dts file to the files folder
John Crispin [Tue, 7 Jun 2016 19:00:28 +0000 (21:00 +0200)]
ipq806x: move dts file to the files folder

Signed-off-by: John Crispin <john@phrozen.org>
8 years agoipg806x: set v4.4 as default
John Crispin [Tue, 7 Jun 2016 18:33:35 +0000 (20:33 +0200)]
ipg806x: set v4.4 as default

Signed-off-by: John Crispin <john@phrozen.org>
8 years agoipq806x: add mangle bootargs options in config-4.4
Adrian Panella [Wed, 25 May 2016 19:06:54 +0000 (14:06 -0500)]
ipq806x: add mangle bootargs options in config-4.4

Add config options to manage dual boot partitions, using MANGLE BOOTARGS

Signed-off-by: Adrian Panella <ianchi74@outlook.com>
8 years agoipq806x: base-files: add support for Linksys EA8500
Adrian Panella [Fri, 13 May 2016 06:13:15 +0000 (01:13 -0500)]
ipq806x: base-files: add support for Linksys EA8500

Signed-off-by: Adrian Panella <ianchi74@outlook.com>
8 years agoipq806x: build Linksys EA8500 images
John Crispin [Tue, 7 Jun 2016 17:29:10 +0000 (19:29 +0200)]
ipq806x: build Linksys EA8500 images

Signed-off-by: Adrian Panella <ianchi74@outlook.com>
8 years agoipq806x: qcom rpm fix support for smb208
Adrian Panella [Mon, 30 May 2016 19:56:50 +0000 (14:56 -0500)]
ipq806x: qcom rpm fix support for smb208

In commit "regulator: qcom: Rework to single platform device" the smb208
regulator used in IPQ8064 was left out.

Add it to that new framework and update Docs and DT accordingly.

Signed-off-by: Adrian Panella <ianchi74@outlook.com>
8 years agouboot-envtools: add ipq806x support
John Crispin [Tue, 7 Jun 2016 17:19:01 +0000 (19:19 +0200)]
uboot-envtools: add ipq806x support

Signed-off-by: Adrian Panella <ianchi74@outlook.com>
8 years agomtd: add linksys_bootcount for ipq806x
Adrian Panella [Thu, 19 May 2016 14:45:38 +0000 (09:45 -0500)]
mtd: add linksys_bootcount for ipq806x

Reset bc is needed for Linksys EA8500's dual boot.

Signed-off-by: Adrian Panella <ianchi74@outlook.com>
8 years agomac80211: ath10k fix otp check patch
Adrian Panella [Mon, 16 May 2016 07:10:56 +0000 (02:10 -0500)]
mac80211: ath10k fix otp check patch

Fix patch to match new updated package version

Signed-off-by: Adrian Panella <ianchi74@outlook.com>
8 years agolantiq: use new property name for eiu irqs
John Crispin [Tue, 7 Jun 2016 16:59:52 +0000 (18:59 +0200)]
lantiq: use new property name for eiu irqs

Signed-off-by: John Crispin <john@phrozen.org>
8 years agolantiq: fix a regression in the eiu irq loading code
John Crispin [Tue, 7 Jun 2016 16:56:51 +0000 (18:56 +0200)]
lantiq: fix a regression in the eiu irq loading code

this worked in 3.18 but broke at some point. the old code that loaded a
irq table was incorrewct anyhow as it mapped the irqs int he domain which
should really be done when the driver using them loads them and not the
irq driver itself.

Signed-off-by: John Crispin <john@phrozen.org>
8 years agolantiq: add default lan setup to board.d script
John Crispin [Tue, 7 Jun 2016 16:59:26 +0000 (18:59 +0200)]
lantiq: add default lan setup to board.d script

Signed-off-by: John Crispin <john@phrozen.org>
8 years agopackage/*: update git urls for project repos
John Crispin [Mon, 6 Jun 2016 19:16:47 +0000 (21:16 +0200)]
package/*: update git urls for project repos

Signed-off-by: John Crispin <john@phrozen.org>
8 years agooseama: support extracting entity
Rafał Miłecki [Fri, 10 Jun 2016 12:38:04 +0000 (14:38 +0200)]
oseama: support extracting entity

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
8 years agobcm53xx: sysupgrade: move TRX specific code to separated function
Rafał Miłecki [Fri, 10 Jun 2016 12:30:57 +0000 (14:30 +0200)]
bcm53xx: sysupgrade: move TRX specific code to separated function

This will allow adding support for other formats (e.g. Seama) in a clean
way.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
8 years agoar71xx: enable flow control for ethernet MACs with built-in switch
Felix Fietkau [Mon, 13 Jun 2016 10:43:34 +0000 (12:43 +0200)]
ar71xx: enable flow control for ethernet MACs with built-in switch

Should fix LAN speed issues on some devices

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agolantiq: add VLAN handling fixes to xrx200 ethernet driver
Felix Fietkau [Sun, 12 Jun 2016 13:38:54 +0000 (15:38 +0200)]
lantiq: add VLAN handling fixes to xrx200 ethernet driver

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