openwrt/openwrt.git
11 years agokernel: bgmac: fix BCM4707 patch
Hauke Mehrtens [Wed, 2 Oct 2013 23:12:46 +0000 (23:12 +0000)]
kernel: bgmac: fix BCM4707 patch

The bool logic was the wrong way around.

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

11 years agokernel: refresh patches
Hauke Mehrtens [Wed, 2 Oct 2013 22:26:43 +0000 (22:26 +0000)]
kernel: refresh patches

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

11 years agokernel: bcma: update to wireless-testing master-2013-10-01
Hauke Mehrtens [Wed, 2 Oct 2013 22:26:15 +0000 (22:26 +0000)]
kernel: bcma: update to wireless-testing master-2013-10-01

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

11 years agokernel: bgmac: move other bgmac patches to generic
Hauke Mehrtens [Wed, 2 Oct 2013 22:25:26 +0000 (22:25 +0000)]
kernel: bgmac: move other bgmac patches to generic

The bgmac driver will be used on the brcm47xx and the bcm53xx target.

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

11 years agokernel: bgmac: move bgmac patches already applied in mainline kernel to generic
Hauke Mehrtens [Wed, 2 Oct 2013 22:24:01 +0000 (22:24 +0000)]
kernel: bgmac: move bgmac patches already applied in mainline kernel to generic

The bgmac driver will be used on the brcm47xx and the bcm53xx target.
These are only the patches already applied in current net-next/master
branch.

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

11 years agopackage/index: fix index creating when building without signing
Steven Barth [Wed, 2 Oct 2013 16:38:28 +0000 (16:38 +0000)]
package/index: fix index creating when building without signing

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 38287

11 years agoodhcp6c: validate hop-limit on RAs
Steven Barth [Wed, 2 Oct 2013 14:16:05 +0000 (14:16 +0000)]
odhcp6c: validate hop-limit on RAs

SVN-Revision: 38285

11 years agoAdd package signing infrastructure
Steven Barth [Wed, 2 Oct 2013 12:12:10 +0000 (12:12 +0000)]
Add package signing infrastructure

Add package signing key and certificate configuration options to the
"Image configuration" submenu. If enabled, the Packages.gz list will
be signed as file Packages.sig. The passphrase for the signing key can
be sourced from a file or entered by the user. The signing certificate
is automatically added to the firmware image if opkg-smime is selected.

Signed-off-by: Evan Hunt <each@isc.org>
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 38284

11 years ago6relayd: remove compat ULA setting by default (too many bad sideeffects)
Steven Barth [Wed, 2 Oct 2013 06:14:39 +0000 (06:14 +0000)]
6relayd: remove compat ULA setting by default (too many bad sideeffects)

SVN-Revision: 38283

11 years agoimx6: add default profile
Luka Perkov [Wed, 2 Oct 2013 00:33:49 +0000 (00:33 +0000)]
imx6: add default profile

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

11 years agokirkwood: drop PROFILE from image names
Luka Perkov [Wed, 2 Oct 2013 00:33:48 +0000 (00:33 +0000)]
kirkwood: drop PROFILE from image names

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

11 years agokirkwood: add linux 3.10 support
Luka Perkov [Wed, 2 Oct 2013 00:33:47 +0000 (00:33 +0000)]
kirkwood: add linux 3.10 support

Backport appropriate patches to allow using device tree only board
defintions.

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

11 years agokirkwood: prepare for 3.10
Luka Perkov [Wed, 2 Oct 2013 00:33:45 +0000 (00:33 +0000)]
kirkwood: prepare for 3.10

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

11 years agokirkwood: explicitly set CPU_TYPE to xscale
Luka Perkov [Wed, 2 Oct 2013 00:33:43 +0000 (00:33 +0000)]
kirkwood: explicitly set CPU_TYPE to xscale

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

11 years agoc80211: add iwldvm to iwlwifi, this is needed to support the old wifi card.
Hauke Mehrtens [Tue, 1 Oct 2013 22:41:46 +0000 (22:41 +0000)]
c80211: add iwldvm to iwlwifi, this is needed to support the old wifi card.

This closes #14258

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

11 years agokernel: add industrialio-triggered-buffer.ko only when the config option is selected.
Hauke Mehrtens [Tue, 1 Oct 2013 22:40:32 +0000 (22:40 +0000)]
kernel: add industrialio-triggered-buffer.ko only when the config option is selected.

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

11 years agoep93xx: fix kmod-input-keyboard-ep93xx dependencies
Hauke Mehrtens [Tue, 1 Oct 2013 22:39:28 +0000 (22:39 +0000)]
ep93xx: fix kmod-input-keyboard-ep93xx dependencies

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

11 years agoep93xx: fix sound dependencies for ep93xx
Hauke Mehrtens [Tue, 1 Oct 2013 22:38:40 +0000 (22:38 +0000)]
ep93xx: fix sound dependencies for ep93xx

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

11 years agoat91: fix missing drivers/iio/adc/at91-adc.ko in kmod-at91-adc
Hauke Mehrtens [Tue, 1 Oct 2013 22:37:17 +0000 (22:37 +0000)]
at91: fix missing drivers/iio/adc/at91-adc.ko in kmod-at91-adc

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

11 years agonetifd: don't remove & readd addresses that only have a changed lifetime
Steven Barth [Tue, 1 Oct 2013 17:30:05 +0000 (17:30 +0000)]
netifd: don't remove & readd addresses that only have a changed lifetime

SVN-Revision: 38269

11 years agoprocd: fix incorrect use of sizeof() in vsnprintf()
Jo-Philipp Wich [Tue, 1 Oct 2013 14:41:07 +0000 (14:41 +0000)]
procd: fix incorrect use of sizeof() in vsnprintf()

SVN-Revision: 38268

11 years agoprocd: update to latest git head
John Crispin [Mon, 30 Sep 2013 20:48:51 +0000 (20:48 +0000)]
procd: update to latest git head

this fixes the syslog problem when using eglibc on x86.

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

11 years agolantiq: add support for VGV7519 KPN Experia box v8
John Crispin [Mon, 30 Sep 2013 20:48:46 +0000 (20:48 +0000)]
lantiq: add support for VGV7519 KPN Experia box v8

Signed-off-by: Maikel Bloemendal <mbloemendal@gmail.com>
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38266

11 years agoralink: dts fixes
John Crispin [Mon, 30 Sep 2013 20:48:39 +0000 (20:48 +0000)]
ralink: dts fixes

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

11 years agoralink: fix DIR-320-B1 board detection
John Crispin [Mon, 30 Sep 2013 20:48:34 +0000 (20:48 +0000)]
ralink: fix DIR-320-B1 board detection

https://dev.openwrt.org/ticket/14226

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

11 years agoralink: Change size of image for DIR-320 B1 to 8MB
John Crispin [Mon, 30 Sep 2013 20:48:27 +0000 (20:48 +0000)]
ralink: Change size of image for DIR-320 B1 to 8MB

http://patchwork.openwrt.org/patch/4102/

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

11 years agokernel: lib-textsearch needs to be auto probed for amanda nat to work
John Crispin [Mon, 30 Sep 2013 20:48:12 +0000 (20:48 +0000)]
kernel: lib-textsearch needs to be auto probed for amanda nat to work

https://dev.openwrt.org/ticket/14232

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

11 years agouClibc: fix scoped-IPv6-addresses in getnameinfo
Steven Barth [Mon, 30 Sep 2013 08:41:00 +0000 (08:41 +0000)]
uClibc: fix scoped-IPv6-addresses in getnameinfo

SVN-Revision: 38261

11 years agoscripts/gen-dependencies.sh: use the cross readelf (#12940)
Felix Fietkau [Sun, 29 Sep 2013 20:10:42 +0000 (20:10 +0000)]
scripts/gen-dependencies.sh: use the cross readelf (#12940)

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

11 years agomac80211: add AP inactivity handling / probing fixes to improve stability
Felix Fietkau [Sun, 29 Sep 2013 19:42:00 +0000 (19:42 +0000)]
mac80211: add AP inactivity handling / probing fixes to improve stability

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

11 years agomac80211: really fix the long standing wds ap tx power regression (#14153)
Felix Fietkau [Sun, 29 Sep 2013 12:53:21 +0000 (12:53 +0000)]
mac80211: really fix the long standing wds ap tx power regression (#14153)

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

11 years agorpcd: fix missing option removal when merging subsequent uci set calls
Jo-Philipp Wich [Sun, 29 Sep 2013 11:53:25 +0000 (11:53 +0000)]
rpcd: fix missing option removal when merging subsequent uci set calls

SVN-Revision: 38254

11 years agoubus: restrict unix domain socket permission to 0600 to disallow non-root connections
Jo-Philipp Wich [Sun, 29 Sep 2013 11:53:20 +0000 (11:53 +0000)]
ubus: restrict unix domain socket permission to 0600 to disallow non-root connections

SVN-Revision: 38253

11 years agoubox: support alternative spellings for modinfo and rmmod
Jo-Philipp Wich [Sun, 29 Sep 2013 11:53:17 +0000 (11:53 +0000)]
ubox: support alternative spellings for modinfo and rmmod

After this change, "rmmod" and "modinfo" works even if the user gives
the file name spelling instead of the kernel internal one, so that e.g.
"rmmod nls_iso8859-1.ko" and "rmmod nls_iso8859_1" will both succeed.

SVN-Revision: 38252

11 years agouci: change uci_ptr checking order in uci_delete()
Jo-Philipp Wich [Sun, 29 Sep 2013 11:53:10 +0000 (11:53 +0000)]
uci: change uci_ptr checking order in uci_delete()

SVN-Revision: 38251

11 years agouhttpd: add a config option for using ustream-polarssl, and use it by default
Felix Fietkau [Sun, 29 Sep 2013 11:26:09 +0000 (11:26 +0000)]
uhttpd: add a config option for using ustream-polarssl, and use it by default

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

11 years agoath9k: fix an AP mode powersave issue with aggregation
Felix Fietkau [Sun, 29 Sep 2013 11:07:58 +0000 (11:07 +0000)]
ath9k: fix an AP mode powersave issue with aggregation

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

11 years agoubox: fix kmod loading for modules with varying dashes & underscores in names (#14182...
Jo-Philipp Wich [Sat, 28 Sep 2013 13:12:42 +0000 (13:12 +0000)]
ubox: fix kmod loading for modules with varying dashes & underscores in names (#14182, #14189)

Instead of canonicalizing module names in the internal avl tree simpyl use a
custom strcmp() variant for the avl tree key comparisation. The custom comperator
simply treats dashes and underscores the same, so "nls_iso8859-15" is equal to
"nls-iso8859-15".

This allows us to simplify the code considerably and makes manual "modprobe"
invocations more forgiving when looking up the given module name.

SVN-Revision: 38248

11 years agokernel: disable kmod-iio for linux 3.6 as well (to avoid build issues due to missing...
Felix Fietkau [Sat, 28 Sep 2013 05:22:05 +0000 (05:22 +0000)]
kernel: disable kmod-iio for linux 3.6 as well (to avoid build issues due to missing config symbol changes)

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

11 years agokernel: add missing config symbol
Felix Fietkau [Fri, 27 Sep 2013 21:12:19 +0000 (21:12 +0000)]
kernel: add missing config symbol

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

11 years agokernel: exclude regmap-spi.ko if SPI support cannot be selected
Felix Fietkau [Fri, 27 Sep 2013 21:12:15 +0000 (21:12 +0000)]
kernel: exclude regmap-spi.ko if SPI support cannot be selected

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

11 years agoocteon: remove CONFIG_FW_LOADER override to fix build errors
Felix Fietkau [Fri, 27 Sep 2013 21:12:12 +0000 (21:12 +0000)]
octeon: remove CONFIG_FW_LOADER override to fix build errors

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

11 years agolantiq: add a default for CONFIG_MTD_NAND_XWAY to fix build errors
Felix Fietkau [Fri, 27 Sep 2013 21:12:08 +0000 (21:12 +0000)]
lantiq: add a default for CONFIG_MTD_NAND_XWAY to fix build errors

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

11 years agokernel: make sound-soc-core depend on kmod-ac97
Felix Fietkau [Fri, 27 Sep 2013 21:12:04 +0000 (21:12 +0000)]
kernel: make sound-soc-core depend on kmod-ac97

it has a conditional #ifdef based dependency on it, which trips up on
some targets

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

11 years agokernel: add another missing symbol for iio
Felix Fietkau [Fri, 27 Sep 2013 21:12:01 +0000 (21:12 +0000)]
kernel: add another missing symbol for iio

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

11 years agokernel: add missing symbols for iio on older kernel versions
Felix Fietkau [Fri, 27 Sep 2013 20:54:00 +0000 (20:54 +0000)]
kernel: add missing symbols for iio on older kernel versions

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

11 years agokernel: remove old kernel compat code for pcmcia
Felix Fietkau [Fri, 27 Sep 2013 20:47:09 +0000 (20:47 +0000)]
kernel: remove old kernel compat code for pcmcia

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

11 years agokernel: mark kmod-thermal menuconfig symbol as hidden to avoid building it on targets...
Felix Fietkau [Fri, 27 Sep 2013 20:44:11 +0000 (20:44 +0000)]
kernel: mark kmod-thermal menuconfig symbol as hidden to avoid building it on targets with no thermal drivers

Should fix build errors with Linux 3.3/3.6 targets, which use different
kconfig symbols

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

11 years agobuild: fix typo in arm cflags
Felix Fietkau [Fri, 27 Sep 2013 13:03:45 +0000 (13:03 +0000)]
build: fix typo in arm cflags

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

11 years agopatch: other tools might depend on this one
Luka Perkov [Fri, 27 Sep 2013 12:49:34 +0000 (12:49 +0000)]
patch: other tools might depend on this one

Signed-off-by: Markus Stenberg <markus.stenberg@iki.fi>
SVN-Revision: 38236

11 years agoquilt: add findutils as dependency
Luka Perkov [Fri, 27 Sep 2013 12:32:18 +0000 (12:32 +0000)]
quilt: add findutils as dependency

Signed-off-by: Markus Stenberg <markus.stenberg@iki.fi>
SVN-Revision: 38235

11 years agoar71xx: ar934x-nfc: disable subpage write when hardware ECC is used
Gabor Juhos [Fri, 27 Sep 2013 11:15:34 +0000 (11:15 +0000)]
ar71xx: ar934x-nfc: disable subpage write when hardware ECC is used

It is not supported by the controller.

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

11 years agoimx6: enable cpufreq-imx6q by default
Luka Perkov [Fri, 27 Sep 2013 10:49:37 +0000 (10:49 +0000)]
imx6: enable cpufreq-imx6q by default

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

11 years agomvebu: enable thermal module by default
Luka Perkov [Fri, 27 Sep 2013 10:49:36 +0000 (10:49 +0000)]
mvebu: enable thermal module by default

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

11 years agoimx6: enable thermal module by default
Luka Perkov [Fri, 27 Sep 2013 10:49:35 +0000 (10:49 +0000)]
imx6: enable thermal module by default

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

11 years agokernel: add thermal modules
Luka Perkov [Fri, 27 Sep 2013 10:49:33 +0000 (10:49 +0000)]
kernel: add thermal modules

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

11 years agoimx6: backport thermal driver
Luka Perkov [Fri, 27 Sep 2013 10:49:28 +0000 (10:49 +0000)]
imx6: backport thermal driver

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

11 years agokernel: update 3.10 to 3.10.13
Gabor Juhos [Fri, 27 Sep 2013 07:19:21 +0000 (07:19 +0000)]
kernel: update 3.10 to 3.10.13

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

11 years agomvebu: add myself as maintainer
Luka Perkov [Fri, 27 Sep 2013 01:52:29 +0000 (01:52 +0000)]
mvebu: add myself as maintainer

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

11 years agomvebu: drop 3.8 support
Luka Perkov [Fri, 27 Sep 2013 01:52:28 +0000 (01:52 +0000)]
mvebu: drop 3.8 support

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

11 years agomvebu: switch to 3.10
Luka Perkov [Fri, 27 Sep 2013 01:52:26 +0000 (01:52 +0000)]
mvebu: switch to 3.10

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

11 years agomvebu: add 3.10 support
Luka Perkov [Fri, 27 Sep 2013 01:52:25 +0000 (01:52 +0000)]
mvebu: add 3.10 support

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

11 years agobuild: fix typo
Luka Perkov [Thu, 26 Sep 2013 22:43:06 +0000 (22:43 +0000)]
build: fix typo

vfp3 should be named vfpv3

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

11 years agoinclude/target.mk: fix spacing
Luka Perkov [Thu, 26 Sep 2013 21:53:08 +0000 (21:53 +0000)]
include/target.mk: fix spacing

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

11 years agoopkg: add build variant with signature support
Steven Barth [Thu, 26 Sep 2013 19:51:03 +0000 (19:51 +0000)]
opkg: add build variant with signature support

SVN-Revision: 38220

11 years agorb532: fix initramfs image creation (#14215)
Florian Fainelli [Thu, 26 Sep 2013 19:16:19 +0000 (19:16 +0000)]
rb532: fix initramfs image creation (#14215)

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

11 years agokernel/3.10: use backported patch for PMC SPI flash support
Gabor Juhos [Thu, 26 Sep 2013 18:01:57 +0000 (18:01 +0000)]
kernel/3.10: use backported patch for PMC SPI flash support

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

11 years agokernel/3.10: add '003-11-' prefix for patches backported from 3.11
Gabor Juhos [Thu, 26 Sep 2013 18:01:49 +0000 (18:01 +0000)]
kernel/3.10: add '003-11-' prefix for patches backported from 3.11

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

11 years agokernel/3.9: add missing config symbols
Gabor Juhos [Thu, 26 Sep 2013 17:58:17 +0000 (17:58 +0000)]
kernel/3.9: add missing config symbols

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

11 years agokernel/3.8: add missing config symbols
Gabor Juhos [Thu, 26 Sep 2013 17:58:16 +0000 (17:58 +0000)]
kernel/3.8: add missing config symbols

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

11 years agobuild: include the cpu type as part of the toolchain/target directory name
Felix Fietkau [Thu, 26 Sep 2013 17:53:32 +0000 (17:53 +0000)]
build: include the cpu type as part of the toolchain/target directory name

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

11 years agobuild: unify powerpc target cflags
Felix Fietkau [Thu, 26 Sep 2013 17:53:28 +0000 (17:53 +0000)]
build: unify powerpc target cflags

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

11 years agobuild: unify x86 target cflags
Felix Fietkau [Thu, 26 Sep 2013 17:53:24 +0000 (17:53 +0000)]
build: unify x86 target cflags

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

11 years agobuild: unify arm target cflags
Felix Fietkau [Thu, 26 Sep 2013 17:53:20 +0000 (17:53 +0000)]
build: unify arm target cflags

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

11 years agobuild: unify mips target cflags
Felix Fietkau [Thu, 26 Sep 2013 17:53:14 +0000 (17:53 +0000)]
build: unify mips target cflags

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

11 years agobuild: clean up default cflags handling
Felix Fietkau [Thu, 26 Sep 2013 17:53:09 +0000 (17:53 +0000)]
build: clean up default cflags handling

- reduce redundancy
- introduce a CPU_TYPE variable for cpu specific options

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

11 years agouboot-imx6: fix typo in nitrogen6dlXg
Luka Perkov [Thu, 26 Sep 2013 09:03:47 +0000 (09:03 +0000)]
uboot-imx6: fix typo in nitrogen6dlXg

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

11 years agouboot-imx6: add support for Nitrogen6x boards
Luka Perkov [Thu, 26 Sep 2013 08:36:12 +0000 (08:36 +0000)]
uboot-imx6: add support for Nitrogen6x boards

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
SVN-Revision: 38204

11 years agouboot-imx6: alphabetize wandboard variants
Luka Perkov [Thu, 26 Sep 2013 08:36:09 +0000 (08:36 +0000)]
uboot-imx6: alphabetize wandboard variants

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
SVN-Revision: 38203

11 years agoimx6: enable XZ_DEC_BCJ and XZ_DEC_ARM
Luka Perkov [Wed, 25 Sep 2013 23:35:55 +0000 (23:35 +0000)]
imx6: enable XZ_DEC_BCJ and XZ_DEC_ARM

squashfs is unable to decompress some blocks without that:

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

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 38202

11 years agoimx6: fix spi on gw5400-a
Luka Perkov [Wed, 25 Sep 2013 23:35:54 +0000 (23:35 +0000)]
imx6: fix spi on gw5400-a

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

11 years agobcm53xx: bgmac: use srab switch driver
Hauke Mehrtens [Wed, 25 Sep 2013 21:49:12 +0000 (21:49 +0000)]
bcm53xx: bgmac: use srab switch driver

use the srab switch driver on these SoCs.

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

11 years agobcm53xx: update bgmac driver
Hauke Mehrtens [Wed, 25 Sep 2013 21:47:25 +0000 (21:47 +0000)]
bcm53xx: update bgmac driver

Update the bgmac driver with the patches already used for bcm47xx target.

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

11 years agokernel: b53: add Register Access Bridge Registers (SRAB) interface
Hauke Mehrtens [Wed, 25 Sep 2013 21:44:28 +0000 (21:44 +0000)]
kernel: b53: add Register Access Bridge Registers (SRAB) interface

The SRAB interface is used on BCM4707 and BCM5301X SoCs.

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

11 years agokernel: create firmware partition from MyLoader partition parser
Gabor Juhos [Wed, 25 Sep 2013 20:13:12 +0000 (20:13 +0000)]
kernel: create firmware partition from MyLoader partition parser

This is in preparation for sysupgrade support for Compex devices.

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

11 years agoimage: generate separate jffs2 images w/o padding
Gabor Juhos [Wed, 25 Sep 2013 20:03:20 +0000 (20:03 +0000)]
image: generate separate jffs2 images w/o padding

The new root.jffs2-*-raw images can be used for firmware
images with custom padding requirements.

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

11 years agotools/padjffs2: allow to specify extra offset
Gabor Juhos [Wed, 25 Sep 2013 20:03:19 +0000 (20:03 +0000)]
tools/padjffs2: allow to specify extra offset

This will be useful for firmware images which are
using a custom header.

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

11 years agoavr32: optimize image generation
Gabor Juhos [Wed, 25 Sep 2013 19:32:34 +0000 (19:32 +0000)]
avr32: optimize image generation

 - remove the kernel+rootfs partitions from the MTD partition map,
 - use a temporary directory for intermediate image files,
 - append the root squashfs directly to the kernel,
 - don't hardcode uImage size in the jffs2 images,

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

11 years agoavr32: enable the new mtdsplit code
Gabor Juhos [Wed, 25 Sep 2013 19:32:33 +0000 (19:32 +0000)]
avr32: enable the new mtdsplit code

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

11 years agoar71xx: use correct board id for TL-MR3040 v2
Gabor Juhos [Wed, 25 Sep 2013 18:42:14 +0000 (18:42 +0000)]
ar71xx: use correct board id for TL-MR3040 v2

Fix the image building code so that the kernel correctly
distinguishes between hardware revisions.

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

11 years agoar71xx: add user-space support for TL-MR3040 v2
Gabor Juhos [Wed, 25 Sep 2013 18:42:11 +0000 (18:42 +0000)]
ar71xx: add user-space support for TL-MR3040 v2

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

11 years agoar71xx: improve kernel support for the TL-MR3040 v2
Gabor Juhos [Wed, 25 Sep 2013 18:42:10 +0000 (18:42 +0000)]
ar71xx: improve kernel support for the TL-MR3040 v2

This patch adds support for the hardware slide switch on
the TL-MR3040 v2.

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

11 years agoimx6: add support for gw51xx
Luka Perkov [Wed, 25 Sep 2013 18:07:24 +0000 (18:07 +0000)]
imx6: add support for gw51xx

The Gateworks GW51xx family of products is based on the Freescale
i.MX6DL SoC and offers a small form-factor with peripherals such as:

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

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

11 years agoimx6: add support for gw54xx
Luka Perkov [Wed, 25 Sep 2013 18:07:20 +0000 (18:07 +0000)]
imx6: add support for gw54xx

The Gateworks GW54xx family of products is based on the Freescale
i.MX6Q SoC and offers a large variety of peripherals such as:

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

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

11 years agopackage/kernel: add support for industrial-io and AD799x
Gabor Juhos [Wed, 25 Sep 2013 18:00:35 +0000 (18:00 +0000)]
package/kernel: add support for industrial-io and AD799x

Add support for industrial IO core and (still staging)
driver for AD799x, a high precision I2C ADC family.

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

11 years agopackage/kernel: add hwmon driver for ADT7410
Gabor Juhos [Wed, 25 Sep 2013 18:00:34 +0000 (18:00 +0000)]
package/kernel: add hwmon driver for ADT7410

Add support for the ADT7410 hwmon driver, a high precision
I2C temperature sensor.

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

11 years agopackage/kernel: move I2C-GPIO drivers from i2c.mk to other.mk
Gabor Juhos [Wed, 25 Sep 2013 18:00:33 +0000 (18:00 +0000)]
package/kernel: move I2C-GPIO drivers from i2c.mk to other.mk

Move pca953x support from i2c.mk to other.mk, where other
GPIO drivers are located. Remove duplicate pcf857x support
from i2c.mk.

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

11 years agoimx6: update gw5400-a dts cleanup
Luka Perkov [Wed, 25 Sep 2013 17:55:38 +0000 (17:55 +0000)]
imx6: update gw5400-a dts cleanup

- remove dead code
- alphabatize

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

11 years agoatheros: fix kernel warning about usage of reset gpio
Gabor Juhos [Wed, 25 Sep 2013 17:51:12 +0000 (17:51 +0000)]
atheros: fix kernel warning about usage of reset gpio

During a reset the gpiolib warns about using the reset gpio
without explicit requesting it before:

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

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

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

11 years agokernel/3.10: refresh all target patches
Gabor Juhos [Wed, 25 Sep 2013 17:13:24 +0000 (17:13 +0000)]
kernel/3.10: refresh all target patches

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