openwrt/staging/lynxis/omap.git
10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 years agoramips: sync 3.10 configs
Gabor Juhos [Wed, 25 Sep 2013 16:39:23 +0000 (16:39 +0000)]
ramips: sync 3.10 configs

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

10 years agolantiq/3.10: unbreak the mtd-split patch
Gabor Juhos [Wed, 25 Sep 2013 16:22:04 +0000 (16:22 +0000)]
lantiq/3.10: unbreak the mtd-split patch

Compile tested only.

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

10 years agokernel/3.10: add upstream commit id to the backported hso patches
Gabor Juhos [Wed, 25 Sep 2013 14:38:57 +0000 (14:38 +0000)]
kernel/3.10: add upstream commit id to the backported hso patches

Also remove the internal patch numbers.

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

10 years agokernel/3.10: refresh patches
Gabor Juhos [Wed, 25 Sep 2013 14:38:56 +0000 (14:38 +0000)]
kernel/3.10: refresh patches

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

10 years agoavr32: remove 3.8 support
Gabor Juhos [Wed, 25 Sep 2013 13:34:52 +0000 (13:34 +0000)]
avr32: remove 3.8 support

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

10 years agoavr32: switch to 3.10
Gabor Juhos [Wed, 25 Sep 2013 13:34:51 +0000 (13:34 +0000)]
avr32: switch to 3.10

It works:
    _______                     ________        __
   |       |.-----.-----.-----.|  |  |  |.----.|  |_
   |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
   |_______||   __|_____|__|__||________||__|  |____|
            |__| W I R E L E S S   F R E E D O M
   -----------------------------------------------------
   BARRIER BREAKER (Bleeding Edge, r38163)
   -----------------------------------------------------
    * 1/2 oz Galliano         Pour all ingredients into
    * 4 oz cold Coffee        an irish coffee mug filled
    * 1 1/2 oz Dark Rum      with crushed ice. Stir.
    * 2 tsp. Creme de Cacao
   -----------------------------------------------------
  root@OpenWrt:/# uname -a
  Linux OpenWrt 3.10.12 #1 Tue Sep 24 18:47:12 CEST 2013 avr32 GNU/Linux
  root@OpenWrt:/# cat /proc/cpuinfo
  processor       : 0
  chip type       : AT32AP700x revision C
  cpu arch        : AVR32B revision 1
  cpu core        : AP7 revision 0
  cpu MHz         : 140.000
  i-cache         : 16K (4 ways x 128 sets x 32)
  d-cache         : 16K (4 ways x 128 sets x 32)
  features        : dsp simd ocd perfctr java
  bogomips        : 281.23
  root@OpenWrt:/#

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

10 years agoavr32: add support for 3.10
Gabor Juhos [Wed, 25 Sep 2013 13:33:49 +0000 (13:33 +0000)]
avr32: add support for 3.10

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

10 years agofeeds: enable cloning of specific git commit
Luka Perkov [Wed, 25 Sep 2013 13:02:55 +0000 (13:02 +0000)]
feeds: enable cloning of specific git commit

Following syntax should be used to enable this feature:

src-git custom git://openwrt/custom-feed^SHA_COMMIT_ID

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

10 years agouhttpd: fix appending https ports to cmdline
Felix Fietkau [Wed, 25 Sep 2013 07:44:48 +0000 (07:44 +0000)]
uhttpd: fix appending https ports to cmdline

Otherwise it is started only on non-secure ports.

Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
SVN-Revision: 38171

10 years agoquilt: update to 0.60
Luka Perkov [Tue, 24 Sep 2013 20:01:03 +0000 (20:01 +0000)]
quilt: update to 0.60

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

10 years agobison: update to 3.0
Luka Perkov [Tue, 24 Sep 2013 20:01:02 +0000 (20:01 +0000)]
bison: update to 3.0

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

10 years agom4: update to 1.4.17
Luka Perkov [Tue, 24 Sep 2013 20:01:00 +0000 (20:01 +0000)]
m4: update to 1.4.17

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

10 years agosdcc: drop tool, it is not used since r31227
Luka Perkov [Tue, 24 Sep 2013 16:21:30 +0000 (16:21 +0000)]
sdcc: drop tool, it is not used since r31227

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

10 years agouml: work around mangled parameter handling for ubd
Steven Barth [Tue, 24 Sep 2013 13:36:42 +0000 (13:36 +0000)]
uml: work around mangled parameter handling for ubd

SVN-Revision: 38166

10 years agouml: fix some kernel compilation issues with GCC
Steven Barth [Tue, 24 Sep 2013 13:36:38 +0000 (13:36 +0000)]
uml: fix some kernel compilation issues with GCC

SVN-Revision: 38165

10 years agouml: work-around console issue with procd
Steven Barth [Tue, 24 Sep 2013 13:36:33 +0000 (13:36 +0000)]
uml: work-around console issue with procd

SVN-Revision: 38164

10 years agoppc44x: remove 3.8 support
Gabor Juhos [Tue, 24 Sep 2013 13:17:48 +0000 (13:17 +0000)]
ppc44x: remove 3.8 support

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

10 years agoppc44x: switch to 3.10
Gabor Juhos [Tue, 24 Sep 2013 13:17:47 +0000 (13:17 +0000)]
ppc44x: switch to 3.10

Compile tested only. The target is marked as
broken since 16 months so the kernel version
does not matter too much.

The target is scheduled for removal.

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

10 years agoppc44x: add support for 3.10
Gabor Juhos [Tue, 24 Sep 2013 13:17:46 +0000 (13:17 +0000)]
ppc44x: add support for 3.10

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

10 years agorb532: remove 3.8 support
Gabor Juhos [Tue, 24 Sep 2013 13:17:45 +0000 (13:17 +0000)]
rb532: remove 3.8 support

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

10 years agorb532: switch 3.10
Gabor Juhos [Tue, 24 Sep 2013 13:17:43 +0000 (13:17 +0000)]
rb532: switch 3.10

Compile tested only. The target is marked as
broken since 9 months so the kernel version
does not matter too much.

The target is scheduled for removal.

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

10 years agorb532: add support for 3.10
Gabor Juhos [Tue, 24 Sep 2013 13:17:42 +0000 (13:17 +0000)]
rb532: add support for 3.10

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

10 years agorb532: image: fix broken ifneq statement
Gabor Juhos [Tue, 24 Sep 2013 13:17:39 +0000 (13:17 +0000)]
rb532: image: fix broken ifneq statement

Fixes the following build error:

  /devel/openwrt/staging_dir/host/bin/patch-cmdline \
  /devel/openwrt/build_dir/target-mipsel_uClibc-0.9.33.2/linux-rb532/vmlinux-initramfs \
  'root=/dev/mtdblock1 rootfstype=yaffs2 '
  Could not open kernel imagemake[5]: *** [install] Error 255

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

10 years agorb532: remove trailing whitespaces from image/Makefile
Gabor Juhos [Tue, 24 Sep 2013 13:17:38 +0000 (13:17 +0000)]
rb532: remove trailing whitespaces from image/Makefile

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

10 years agoar71xx: image: simplify mynet_n600_mtdlayout
Gabor Juhos [Tue, 24 Sep 2013 12:19:57 +0000 (12:19 +0000)]
ar71xx: image: simplify mynet_n600_mtdlayout

Remove the kernel and rootfs partitions. The Seama
parser can find those automatically:

  0x000000070000-0x000000ff0000 : "firmware"
  2 seama-fw partitions found on MTD device firmware
  0x000000070000-0x0000001b0000 : "kernel"
  0x0000001b0000-0x000000ff0000 : "rootfs"
  mtd: partition "rootfs" set to be root filesystem
  1 squashfs-split partitions found on MTD device rootfs
  0x000000360000-0x000000ff0000 : "rootfs_data"
  0x000000ff0000-0x000001000000 : "radiocfg"

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

10 years agoar71xx: enable the Seama firmware parser
Gabor Juhos [Tue, 24 Sep 2013 12:19:54 +0000 (12:19 +0000)]
ar71xx: enable the Seama firmware parser

It will be used for the WD My Net N600 board.

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

10 years agoar71xx: update the Image/Build/WZRHP macro
Gabor Juhos [Tue, 24 Sep 2013 09:36:26 +0000 (09:36 +0000)]
ar71xx: update the Image/Build/WZRHP macro

 - append the root squashfs directly after the kernel,
 - use the 64kraw/128kraw template instead of the 64k/128k,
 - ensure that the generated images have enough erase blocks
   for JFFS2 garbage collection,

Tested on WZR-HP-G300NH and WZR-600DHP boards.

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

10 years agoar71xx: image: use a common macro for Buffalo WZRHP devices
Gabor Juhos [Tue, 24 Sep 2013 09:36:25 +0000 (09:36 +0000)]
ar71xx: image: use a common macro for Buffalo WZRHP devices

The Image/Build/WZRHP64K and the Image/Build/WZRHP128K macros
are similar. Move the common stuff into the Image/Build/WZRHP
macro and update the orignal macros to use that.

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

10 years agoar71xx: image: update Image/Build/CameoAP94 macro
Gabor Juhos [Tue, 24 Sep 2013 08:14:44 +0000 (08:14 +0000)]
ar71xx: image: update Image/Build/CameoAP94 macro

 - append the root squashfs directly after the kernel,
 - use the 64kraw template instead of the 64k,
 - ensure that the generated images have enough erase blocks
   for JFFS2 garbage collection,

Tested on a TEW-673GRU board.

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

10 years agoar71xx: image: use a common macro for Cameo AP94 based devices
Gabor Juhos [Tue, 24 Sep 2013 08:14:43 +0000 (08:14 +0000)]
ar71xx: image: use a common macro for Cameo AP94 based devices

The Image/Build/DIR825B1 and the Image/Build/DLRTDEV macros
are identical. Merge those into a new Image/Build/CameoAP94
macro, and update the device profiles to use the new macro.
Also rename the dir825b1_* mtdlayout macros to cameo_ap94_*.

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

10 years agoar71xx: image: use the board name for temporary mtdpart files
Gabor Juhos [Tue, 24 Sep 2013 06:13:14 +0000 (06:13 +0000)]
ar71xx: image: use the board name for temporary mtdpart files

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

10 years agoar71xx: update the Image/Build/UBNT2 macro
Gabor Juhos [Tue, 24 Sep 2013 05:58:34 +0000 (05:58 +0000)]
ar71xx: update the Image/Build/UBNT2 macro

 - append the root squashfs directly after the kernel,
 - use the 64kraw template instead of the 64k,
 - ensure that the generated images have enough erase blocks
   for JFFS2 garbage collection,

Tested on a WispStation M5 board.

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