openwrt/staging/lynxis/omap.git
10 years agotools/cmake: disable qt related checks to fix build issues
Felix Fietkau [Sat, 7 Sep 2013 18:33:07 +0000 (18:33 +0000)]
tools/cmake: disable qt related checks to fix build issues

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

10 years agobrcm47xx: add me as maintainer
Hauke Mehrtens [Sat, 7 Sep 2013 15:46:27 +0000 (15:46 +0000)]
brcm47xx: add me as maintainer

SVN-Revision: 37916

10 years agoar71xx: use the lzma loader for the WRT160NL
Gabor Juhos [Sat, 7 Sep 2013 11:40:45 +0000 (11:40 +0000)]
ar71xx: use the lzma loader for the WRT160NL

Partition layout before:
  0x000000040000-0x0000001a0000 : "kernel"
  0x0000001a0000-0x0000007e0000 : "rootfs"
  mtd: partition "rootfs" set to be root filesystem
  mtd: partition "rootfs_data" created automatically, ofs=0x350000, len=0x490000
  0x000000350000-0x0000007e0000 : "rootfs_data"

after:
  0x000000040000-0x000000140000 : "kernel"
  0x000000140000-0x0000007e0000 : "rootfs"
  mtd: partition "rootfs" set to be root filesystem
  mtd: partition "rootfs_data" created automatically, ofs=0x2f0000, len=0x4f0000
  0x0000002f0000-0x0000007e0000 : "rootfs_data"

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

10 years agoppc40x: remove 3.8 support
Gabor Juhos [Sat, 7 Sep 2013 11:34:08 +0000 (11:34 +0000)]
ppc40x: remove 3.8 support

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

10 years agoppc40x: switch to 3.10
Gabor Juhos [Sat, 7 Sep 2013 11:34:06 +0000 (11:34 +0000)]
ppc40x: switch to 3.10

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

10 years agoppc40x: add support for 3.10
Gabor Juhos [Sat, 7 Sep 2013 11:34:03 +0000 (11:34 +0000)]
ppc40x: add support for 3.10

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

10 years agobrcm63xx: drop linux 3.9 support
Jonas Gorski [Fri, 6 Sep 2013 19:01:17 +0000 (19:01 +0000)]
brcm63xx: drop linux 3.9 support

It is EOL since quite a while, so no need to keep it around.

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

10 years agobrcm63xx: switch to linux 3.10
Jonas Gorski [Fri, 6 Sep 2013 19:01:13 +0000 (19:01 +0000)]
brcm63xx: switch to linux 3.10

3.10 is stable enough, and 3.9 is EOL since a while.

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

10 years agoodhcp6c: more compatibility fixes
Steven Barth [Thu, 5 Sep 2013 21:13:51 +0000 (21:13 +0000)]
odhcp6c: more compatibility fixes

SVN-Revision: 37907

10 years agokernel: b53: support phy ids for BCM5365
Jonas Gorski [Thu, 5 Sep 2013 20:30:34 +0000 (20:30 +0000)]
kernel: b53: support phy ids for BCM5365

BCM5365 (and probably other older variants) use a different phy id, so
the phy driver never attached for them.
Fix this by adding the appropriate phy id to the fixup and the phy
driver.

Reported-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 37906

10 years agomac80211: kmod-rtl_pci: fix dependencies
Hauke Mehrtens [Thu, 5 Sep 2013 20:17:28 +0000 (20:17 +0000)]
mac80211: kmod-rtl_pci: fix dependencies

This fixes the following error:
rtl_pci: Unknown symbol rtl_lps_leave (err 0)
rtl_pci: Unknown symbol rtl_lps_enter (err 0)
rtl8192ce: Unknown symbol rtl_pci_disconnect (err 0)
rtl8192ce: Unknown symbol rtl_pci_probe (err 0)
rtl8192de: Unknown symbol rtl_pci_disconnect (err 0)
rtl8192de: Unknown symbol rtl_pci_probe (err 0)
rtl8192se: Unknown symbol rtl_pci_disconnect (err 0)
rtl8192se: Unknown symbol rtl_pci_probe (err 0)

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

10 years agokernel: kmod-libphy, kmod-tg3: fix load order
Hauke Mehrtens [Thu, 5 Sep 2013 19:57:44 +0000 (19:57 +0000)]
kernel: kmod-libphy, kmod-tg3: fix load order

This fixes the following error:
tg3: Unknown symbol mdiobus_alloc_size (err 0)
tg3: Unknown symbol phy_ethtool_sset (err 0)
tg3: Unknown symbol phy_mii_ioctl (err 0)
tg3: Unknown symbol phy_connect (err 0)
tg3: Unknown symbol mdiobus_register (err 0)
tg3: Unknown symbol mdiobus_free (err 0)
tg3: Unknown symbol phy_start (err 0)
tg3: Unknown symbol phy_start_aneg (err 0)
tg3: Unknown symbol mdiobus_unregister (err 0)
tg3: Unknown symbol phy_ethtool_gset (err 0)
tg3: Unknown symbol phy_stop (err 0)
tg3: Unknown symbol phy_disconnect (err 0)

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

10 years agokernel: kmod-ssb, kmod-b44: fix load order
Hauke Mehrtens [Thu, 5 Sep 2013 19:56:04 +0000 (19:56 +0000)]
kernel: kmod-ssb, kmod-b44: fix load order

This fixes the following error:
b44: Unknown symbol ssb_device_is_enabled (err 0)
b44: Unknown symbol ssb_pcicore_dev_irqvecs_enable (err 0)
b44: Unknown symbol ssb_bus_may_powerdown (err 0)
b44: Unknown symbol ssb_pcihost_register (err 0)
b44: Unknown symbol ssb_device_disable (err 0)
b44: Unknown symbol ssb_device_enable (err 0)
b44: Unknown symbol ssb_driver_unregister (err 0)
b44: Unknown symbol __ssb_driver_register (err 0)
b44: Unknown symbol ssb_bus_powerup (err 0)
b44: Unknown symbol ssb_clockspeed (err 0)
b44: Unknown symbol ssb_dma_translation (err 0)

Reported-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 37903

10 years agokernel: kmod-firewire: fix dependencies
Hauke Mehrtens [Thu, 5 Sep 2013 19:53:21 +0000 (19:53 +0000)]
kernel: kmod-firewire: fix dependencies

This fixes the following error:
firewire_core: Unknown symbol crc_itu_t (err 0)

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

10 years agomac80211: do not download carl9170 firmware separately, but use the one from linux...
Hauke Mehrtens [Thu, 5 Sep 2013 19:43:38 +0000 (19:43 +0000)]
mac80211: do not download carl9170 firmware separately, but use the one from linux-firemware

linux-firemware contains the same version we loaded without this patch.

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

10 years agokernel: kmod-fs-xfs: fix dependencies
Hauke Mehrtens [Thu, 5 Sep 2013 19:41:00 +0000 (19:41 +0000)]
kernel: kmod-fs-xfs: fix dependencies

This fixes the following error:
xfs: Unknown symbol exportfs_decode_fh (err 0)

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

10 years agokernel: kmod-usb-serial-keyspan: fix dependencies
Hauke Mehrtens [Thu, 5 Sep 2013 19:39:55 +0000 (19:39 +0000)]
kernel: kmod-usb-serial-keyspan: fix dependencies

This fixes the following error:
keyspan: Unknown symbol ezusb_fx1_ihex_firmware_download (err 0)

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

10 years agoath10k: enable Atheros 802.11ac driver
Hauke Mehrtens [Thu, 5 Sep 2013 19:35:14 +0000 (19:35 +0000)]
ath10k: enable Atheros 802.11ac driver

This enables usage of the ath10k driver on OpenWrt. Only 2.0 PCI hardware
is supported. The ath10k firmware is currently only available
through github so use that as its source for now.

This goes build tested, not run time tested.

[Hauke: I did some minor changes]

Cc: ath10k@lists.infradead.org
Cc: Kalle Valo <kvalo@qca.qualcomm.com>
Cc: Kathy Giori <kgiori@qca.qualcomm.com>
Cc: Mathieu Olivari <mathieu@qca.qualcomm.com>
Cc: Jerome Proffit <jproffit@qca.qualcomm.com>
Cc: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Cc: Matthew McClintock <mmcclint@qca.qualcomm.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 37898

10 years agoAdd missing symbol
Imre Kaloz [Thu, 5 Sep 2013 10:08:59 +0000 (10:08 +0000)]
Add missing symbol

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 37897

10 years agokernel: b53: allow access the MIB counters on BCM5365
Hauke Mehrtens [Wed, 4 Sep 2013 16:15:10 +0000 (16:15 +0000)]
kernel: b53: allow access the MIB counters on BCM5365

b53_no_ops has no elements and b53_port_ops has one element, this makes
the code access some random memory when trying to access the mib
counter functions.

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

10 years agokobs-ng: add new package
Luka Perkov [Tue, 3 Sep 2013 23:22:16 +0000 (23:22 +0000)]
kobs-ng: add new package

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

10 years agousbreset: rewrite to not rely on /proc/bus/usb anymore
Jo-Philipp Wich [Tue, 3 Sep 2013 15:46:39 +0000 (15:46 +0000)]
usbreset: rewrite to not rely on /proc/bus/usb anymore

SVN-Revision: 37893

10 years agoar71xx: fix NetGear initramfs image names
Gabor Juhos [Tue, 3 Sep 2013 07:22:27 +0000 (07:22 +0000)]
ar71xx: fix NetGear initramfs image names

The '-initramfs' string is duplicated in the image names,
fix it.

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

10 years agoFix IPv6 NAT breaking older kernels
Steven Barth [Tue, 3 Sep 2013 06:29:46 +0000 (06:29 +0000)]
Fix IPv6 NAT breaking older kernels

SVN-Revision: 37891

10 years agokernel: update 3.10 to 3.10.10
Gabor Juhos [Mon, 2 Sep 2013 19:12:54 +0000 (19:12 +0000)]
kernel: update 3.10 to 3.10.10

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

10 years agoar71xx: image: reorder Image/Build/* macros
Gabor Juhos [Mon, 2 Sep 2013 19:05:58 +0000 (19:05 +0000)]
ar71xx: image: reorder Image/Build/* macros

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

10 years agoar71xx: image: simplify more oneliner macros
Gabor Juhos [Mon, 2 Sep 2013 19:05:57 +0000 (19:05 +0000)]
ar71xx: image: simplify more oneliner macros

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

10 years agoar71xx: image: simplify oneliner loader macros
Gabor Juhos [Mon, 2 Sep 2013 19:05:56 +0000 (19:05 +0000)]
ar71xx: image: simplify oneliner loader macros

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

10 years agoar71xx: image: simplify oneliner initramfs macros
Gabor Juhos [Mon, 2 Sep 2013 19:05:55 +0000 (19:05 +0000)]
ar71xx: image: simplify oneliner initramfs macros

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

10 years agoar71xx: image: simplify oneliner buildkernel macros
Gabor Juhos [Mon, 2 Sep 2013 19:05:54 +0000 (19:05 +0000)]
ar71xx: image: simplify oneliner buildkernel macros

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

10 years agoscripts/feeds: ensure that --ff is enabled
Florian Fainelli [Mon, 2 Sep 2013 18:25:10 +0000 (18:25 +0000)]
scripts/feeds: ensure that --ff is enabled

Users may have merge.ff set to false, which will force merge commits to
be generated.  The intent here is to have a fast-forward merge when
possible, so let's make sure fast-forwards are enabled.

Signed-off-by: John Szakmeister <john@szakmeister.net>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 37884

10 years agobuild scripts: fix 'make defconfig' damage
Florian Fainelli [Mon, 2 Sep 2013 18:25:06 +0000 (18:25 +0000)]
build scripts: fix 'make defconfig' damage

Looking at the target 'defconfig' in include/toplevel, it doesn't
directly reference $(HOME)/.openwrt/defconfig nor does it reference any
prerequisites using it as a target.

Therefore, building "defconfig" as a target uses the defaults in the
tree, but not the defaults that a user might have explicitly specified.

This patch fixes this regression from r36361.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
[florian: apply with the proper patch level, wrap at 80 columns]
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 37883

10 years agomcs814x: dlan-usb-extender: fix usbdev trigger
Florian Fainelli [Mon, 2 Sep 2013 18:25:01 +0000 (18:25 +0000)]
mcs814x: dlan-usb-extender: fix usbdev trigger

Every device I connect to the USB port is detected as 2-1, not 1-1.
So adjust the default setting accordingly.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 37882

10 years agoar71xx: optimize kernel generation
Gabor Juhos [Mon, 2 Sep 2013 18:03:39 +0000 (18:03 +0000)]
ar71xx: optimize kernel generation

When the squashfs and jffs2 images are generated
in the same turn, the compressed kernel images
are generated twice with the same parameters.

Move compressed kernel generation into a separate
phase to avoid that.

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

10 years agogeneric: remove linux version checks from myloader.c
Gabor Juhos [Mon, 2 Sep 2013 16:33:13 +0000 (16:33 +0000)]
generic: remove linux version checks from myloader.c

The myloader partition parser code uses ifdef wrappers
to make the code usable on kernels below version 3.2.
All targets are using kernel 3.3 at least so the wraper
is not needed. Remove that.

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

10 years agoar71xx: image: dynamically generate Image/Build/Template/* macros
Gabor Juhos [Mon, 2 Sep 2013 16:10:44 +0000 (16:10 +0000)]
ar71xx: image: dynamically generate Image/Build/Template/* macros

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

10 years agoar71xx: configure OBS4 line on TL-WR841N-v8/MR3420v2
Gabor Juhos [Mon, 2 Sep 2013 16:09:12 +0000 (16:09 +0000)]
ar71xx: configure OBS4 line on TL-WR841N-v8/MR3420v2

It also fixes USB Power on MR3420v2.

This time we took the information from the source of GPL:
http://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg18970.html
Confirmed and tested:
https://dev.openwrt.org/ticket/13201#comment:41
Thanks to oguretsagressive for testing.

Signed-off-by: Dmytro <dioptimizer@gmail.com>
SVN-Revision: 37878

10 years agoAdd rpcd - an extensible backend server for ubus-over-json-rpc operations, session...
Jo-Philipp Wich [Mon, 2 Sep 2013 15:36:51 +0000 (15:36 +0000)]
Add rpcd - an extensible backend server for ubus-over-json-rpc operations, session and acl management.

SVN-Revision: 37877

10 years agoar71xx: remove fs_* variables from image/Makefile
Gabor Juhos [Mon, 2 Sep 2013 09:24:59 +0000 (09:24 +0000)]
ar71xx: remove fs_* variables from image/Makefile

Those are not needed since we are generating the
initramfs images along with the others.

Remove the variables and use the template names
directly.

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

10 years agopackage/rotary-gpio-custom: fix checkpatch errors module source
Gabor Juhos [Mon, 2 Sep 2013 08:45:32 +0000 (08:45 +0000)]
package/rotary-gpio-custom: fix checkpatch errors module source

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

10 years agopackage/w1-gpio-custom: fix checkpatch errors in module source
Gabor Juhos [Mon, 2 Sep 2013 08:45:31 +0000 (08:45 +0000)]
package/w1-gpio-custom: fix checkpatch errors in module source

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

10 years agopackage/i2c-gpio-custom: fix checkpatch errors in module source
Gabor Juhos [Mon, 2 Sep 2013 08:45:30 +0000 (08:45 +0000)]
package/i2c-gpio-custom: fix checkpatch errors in module source

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

10 years agopackage/kernel: add spi-gpio-custom module
Gabor Juhos [Mon, 2 Sep 2013 08:45:29 +0000 (08:45 +0000)]
package/kernel: add spi-gpio-custom module

The package makes it possible to create custom SPI
buses via GPIO lines.

This module is based on i2c-gpio-custom and allows to
configure an SPI bus via GPIO lines and expose it to
userspace without rebuilding the kernel. This is maily
intended to connect microcontrollers and other simple
SPI devices without making an ad-hoc kernel driver.

Signed-off-by: Marco Burato <zmaster.adsl@gmail.com>
[juhosg:
  - change subject,
  - extend and reformat commit message,
  - cleanup checkpatch errors/warnings in module source]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 37872

10 years agoar71xx: fix initramfs image generation for Cameo933x profiles
Gabor Juhos [Mon, 2 Sep 2013 07:42:03 +0000 (07:42 +0000)]
ar71xx: fix initramfs image generation for Cameo933x profiles

Initramfs images are not generated for profiles which
are using the squashfs-only template. Add the missing
'Image/Build/Template/squashfs-only/initramfs' to fix
that.

Also, 'Image/Build/Cameo933x/initramfs' uses wrong
parameters for 'MkuImageLzma/initramfs' due to a
misplaced commma. Remove that to fix the generated
initramfs images.

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

10 years agox86/alix2: remove kernel config for 3.8
Gabor Juhos [Mon, 2 Sep 2013 07:36:46 +0000 (07:36 +0000)]
x86/alix2: remove kernel config for 3.8

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

10 years agox86/alix2: switch to 3.10.9
Gabor Juhos [Mon, 2 Sep 2013 07:36:45 +0000 (07:36 +0000)]
x86/alix2: switch to 3.10.9

Taken from the 'alix2: update to LINUX_VERSION 3.10.9'
patch: http://patchwork.openwrt.org/patch/3971/.

Russell says in the original patch:

"Initial whack at updating alix2 to a current kernel. It builds
and runs without problems so far. I copied target/linux/config-3.8,
target/linux/x86/alix2/config-3.8, and target/linux/patches-3.8 to
their 3.10 equivalents and tweaked until it built.  The patches
required no changes."

Signed-off-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 37869

10 years agox86/alix2: add kernel config for 3.10
Gabor Juhos [Mon, 2 Sep 2013 07:36:44 +0000 (07:36 +0000)]
x86/alix2: add kernel config for 3.10

Taken from the 'alix2: update to LINUX_VERSION 3.10.9'
patch: http://patchwork.openwrt.org/patch/3971/.

Russell says in the original patch:

"Initial whack at updating alix2 to a current kernel. It builds
and runs without problems so far. I copied target/linux/config-3.8,
target/linux/x86/alix2/config-3.8, and target/linux/patches-3.8 to
their 3.10 equivalents and tweaked until it built.  The patches
required no changes."

The current patch contains additional configuration tweaks.

Signed-off-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 37868

10 years agox86: add support for 3.10
Gabor Juhos [Mon, 2 Sep 2013 07:36:40 +0000 (07:36 +0000)]
x86: add support for 3.10

Add kernel configuration and patches for Linux 3.10.

Taken from the 'alix2: update to LINUX_VERSION 3.10.9'
patch: http://patchwork.openwrt.org/patch/3971/.

Russell says in the original patch:

"Initial whack at updating alix2 to a current kernel. It builds
and runs without problems so far. I copied target/linux/config-3.8,
target/linux/x86/alix2/config-3.8, and target/linux/patches-3.8 to
their 3.10 equivalents and tweaked until it built.  The patches
required no changes."

The current patch contains additional configuration tweaks,
and the kernel patches were refreshed.

Signed-off-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 37867

10 years agonetfilter: Add IPv6-NAT support for kernel and ipt Thanks to Berni, Adam Novak and...
Steven Barth [Sun, 1 Sep 2013 17:59:48 +0000 (17:59 +0000)]
netfilter: Add IPv6-NAT support for kernel and ipt Thanks to Berni, Adam Novak and Sedat Dilek for patches and inspiration

SVN-Revision: 37866

10 years agoiptables: Update to 1.4.20
Steven Barth [Sun, 1 Sep 2013 13:46:10 +0000 (13:46 +0000)]
iptables: Update to 1.4.20

SVN-Revision: 37865

10 years agoscripts/checkpatch.pl: Fix whitespace errors
Vasilis Tsiligiannis [Sat, 31 Aug 2013 11:16:49 +0000 (11:16 +0000)]
scripts/checkpatch.pl: Fix whitespace errors

Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
SVN-Revision: 37864

10 years agoscripts/{cleanfile,cleanpatch}: Add scripts for cleaning up file and patch whitespaces
Vasilis Tsiligiannis [Sat, 31 Aug 2013 11:16:44 +0000 (11:16 +0000)]
scripts/{cleanfile,cleanpatch}: Add scripts for cleaning up file and patch whitespaces

Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
SVN-Revision: 37863

10 years agoscripts/checkpatch.pl: Remove checks for __setup's documentation
Vasilis Tsiligiannis [Sat, 31 Aug 2013 11:15:06 +0000 (11:15 +0000)]
scripts/checkpatch.pl: Remove checks for __setup's documentation

Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
SVN-Revision: 37862

10 years agoscripts/checkpatch.pl: Remove check for deprecated features
Vasilis Tsiligiannis [Sat, 31 Aug 2013 11:15:03 +0000 (11:15 +0000)]
scripts/checkpatch.pl: Remove check for deprecated features

Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
SVN-Revision: 37861

10 years agoscripts/checkpatch.pl: Introduce 'checkpatch.pl' script
Vasilis Tsiligiannis [Sat, 31 Aug 2013 11:14:53 +0000 (11:14 +0000)]
scripts/checkpatch.pl: Introduce 'checkpatch.pl' script

Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
SVN-Revision: 37860

10 years agoimx6: add uboot-envtools to default packages
Luka Perkov [Thu, 29 Aug 2013 23:06:32 +0000 (23:06 +0000)]
imx6: add uboot-envtools to default packages

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

10 years agouboot-imx6: update to v2013.07
Luka Perkov [Thu, 29 Aug 2013 23:06:31 +0000 (23:06 +0000)]
uboot-imx6: update to v2013.07

Update includes upstream support for Wandboard Quad too.

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

10 years agouboot-envtools: update to v2013.07
Luka Perkov [Thu, 29 Aug 2013 23:06:29 +0000 (23:06 +0000)]
uboot-envtools: update to v2013.07

SVN-Revision: 37857

10 years agonetifd: update to the latest version, fixes a bridge handling corner case on config...
Felix Fietkau [Thu, 29 Aug 2013 22:20:36 +0000 (22:20 +0000)]
netifd: update to the latest version, fixes a bridge handling corner case on config reload

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

10 years agomvebu: remove maintainer ship role
Florian Fainelli [Wed, 28 Aug 2013 16:19:59 +0000 (16:19 +0000)]
mvebu: remove maintainer ship role

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

10 years agokernel: fix booting issues on imx23 and imx6 targets
Felix Fietkau [Wed, 28 Aug 2013 07:38:36 +0000 (07:38 +0000)]
kernel: fix booting issues on imx23 and imx6 targets

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

10 years agoimx6: disable sdma until license issues are solved
Luka Perkov [Wed, 28 Aug 2013 00:07:43 +0000 (00:07 +0000)]
imx6: disable sdma until license issues are solved

Also, synchronize patches with upstream.

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

10 years agoimage: add hooks for kernel/DTB installation in root filesystem
Luka Perkov [Wed, 28 Aug 2013 00:07:41 +0000 (00:07 +0000)]
image: add hooks for kernel/DTB installation in root filesystem

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
SVN-Revision: 37852

10 years agoConfig.in: improve wording for kernel/DT inclusion flags
Luka Perkov [Wed, 28 Aug 2013 00:07:40 +0000 (00:07 +0000)]
Config.in: improve wording for kernel/DT inclusion flags

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
SVN-Revision: 37851

10 years agoimx6: refresh 3.10 kernel config
Luka Perkov [Wed, 28 Aug 2013 00:07:37 +0000 (00:07 +0000)]
imx6: refresh 3.10 kernel config

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

10 years agoar71xx: add some pending patches
Gabor Juhos [Tue, 27 Aug 2013 18:06:49 +0000 (18:06 +0000)]
ar71xx: add some pending patches

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

10 years agokernel: don't hide the 'Warning: unable to open an initial console' message
Gabor Juhos [Tue, 27 Aug 2013 12:03:01 +0000 (12:03 +0000)]
kernel: don't hide the 'Warning: unable to open an initial console' message

The 'Warning: unable to open an initial console' message
indicates an error in the rootfs. Remove the patch which
hides the warning.

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

10 years agoimage: ensure that /dev/console exist in rootfs images
Gabor Juhos [Tue, 27 Aug 2013 12:02:58 +0000 (12:02 +0000)]
image: ensure that /dev/console exist in rootfs images

Linux expects that the /dev/console node is present in
the rootfs image. Create the node in rootfs images, in
order to make std{in,out,err} usable even in early init
process.

Note: tar.gz and cpio.gz images are not handled yet.

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

10 years agokernel: ensure that /dev/console exists in initramfs
Gabor Juhos [Tue, 27 Aug 2013 12:02:54 +0000 (12:02 +0000)]
kernel: ensure that /dev/console exists in initramfs

Linux expects that the /dev/console node is present
in the rootfs image. Create the node in initramfs,
in order to make std{in,out,err} usable even in early
init process.

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

10 years agoar71xx: don't hardwire cpu_has_dsp{,2} to zero
Gabor Juhos [Tue, 27 Aug 2013 10:48:25 +0000 (10:48 +0000)]
ar71xx: don't hardwire cpu_has_dsp{,2} to zero

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

10 years agoar71xx: don't register USB device on WNDAP360
Gabor Juhos [Tue, 27 Aug 2013 10:48:24 +0000 (10:48 +0000)]
ar71xx: don't register USB device on WNDAP360

Apparently registering usb device on newest trunk causes
this AP not to boot...
Since there is no USB socket in that device anyway this
can be simply removed (and device boots then no problem).

[juhosg:
  - tweak subject line and description,
  - remove #include "dev-usb.h",
  - remove 'select ATH79_DEV_USB' from Kconfig]

Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 37844

10 years agomac80211: add a bunch of rt2x00 specific changes
Gabor Juhos [Tue, 27 Aug 2013 10:44:06 +0000 (10:44 +0000)]
mac80211: add a bunch of rt2x00 specific changes

Backport some rt2x00 specific changes from
wireless-testing/master-2013-08-26 to add
support for RT3573 based devices.

Also refresh the rt2x00 specific patches.

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

10 years agokernel: fixing a potential deadlock in block2mtd for kernel 3.6/3.8/3.9
Felix Fietkau [Mon, 26 Aug 2013 17:47:14 +0000 (17:47 +0000)]
kernel: fixing a potential deadlock in block2mtd for kernel 3.6/3.8/3.9

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

10 years agomklibs: Fix mklibs usage when *.so files reside in subdirs
Felix Fietkau [Mon, 26 Aug 2013 17:31:27 +0000 (17:31 +0000)]
mklibs: Fix mklibs usage when *.so files reside in subdirs

Currently package/Makefile only passes /lib /usr/lib and /usr/lib/ebtables
to mklibs. However, other libs can also reside in different subdirectories
(in my case /usr/lib/ipsec). Hence, create the list of library directories
dynamically.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 37841

10 years agomac80211: merge a few ad-hoc mode fixes
Felix Fietkau [Mon, 26 Aug 2013 17:31:23 +0000 (17:31 +0000)]
mac80211: merge a few ad-hoc mode fixes

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

10 years agomac80211: disable CCK rates for 802.11n clients on brcmsmac to fix crash issues
Felix Fietkau [Mon, 26 Aug 2013 17:31:15 +0000 (17:31 +0000)]
mac80211: disable CCK rates for 802.11n clients on brcmsmac to fix crash issues

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

10 years agolldpd: Add libbsd dependency when using eglibc
Vasilis Tsiligiannis [Sun, 25 Aug 2013 18:47:08 +0000 (18:47 +0000)]
lldpd: Add libbsd dependency when using eglibc

Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
SVN-Revision: 37837

10 years agox86/alix2: add kmod-usb2-pci to default packages
Gabor Juhos [Sun, 25 Aug 2013 14:42:34 +0000 (14:42 +0000)]
x86/alix2: add kmod-usb2-pci to default packages

The USB controller is sitting on the PCI bus and
without the package the EHCI controller is not
usable.

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

10 years agoar71xx: build factory image for DIR-505 A1
Gabor Juhos [Sat, 24 Aug 2013 10:11:53 +0000 (10:11 +0000)]
ar71xx: build factory image for DIR-505 A1

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

10 years agoar71xx: allow to override kernel size in the CameoHornet profile
Gabor Juhos [Sat, 24 Aug 2013 10:11:45 +0000 (10:11 +0000)]
ar71xx: allow to override kernel size in the CameoHornet profile

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

10 years agokernel: update 3.10 to 3.10.9
Gabor Juhos [Fri, 23 Aug 2013 17:31:04 +0000 (17:31 +0000)]
kernel: update 3.10 to 3.10.9

Also refresh 3.10 patches.

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

10 years agogeneric: refresh kernel configs with kconfig.pl
Gabor Juhos [Fri, 23 Aug 2013 17:31:02 +0000 (17:31 +0000)]
generic: refresh kernel configs with kconfig.pl

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

10 years agoramips: remove lantiq specific patches
Gabor Juhos [Fri, 23 Aug 2013 17:07:28 +0000 (17:07 +0000)]
ramips: remove lantiq specific patches

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

10 years agoramips: use correct image size parameter for DIR-610 A1
Gabor Juhos [Fri, 23 Aug 2013 17:07:27 +0000 (17:07 +0000)]
ramips: use correct image size parameter for DIR-610 A1

Fixes the following error:

  bash: line 0: [: ralink_default_fw_size_4M: integer expression expected

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

10 years agoramips: use correct parameters in the Seama template
Gabor Juhos [Fri, 23 Aug 2013 17:07:26 +0000 (17:07 +0000)]
ramips: use correct parameters in the Seama template

Fixes DIR-645 image generation errors:

  bash: line 0: [: wrgn39_dlob.hans_dir645: integer expression expected
  ...
  bash: wrgn39_dlob.hans_dir645 - 64: syntax error: invalid arithmetic operator (error token is ".hans_dir645 - 64")  make[4]: *** [install] Error 1

Signed-off-by: Michael Lee <igvtee@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 37828

10 years agoramips: update the RT3883 PCI patch
Gabor Juhos [Fri, 23 Aug 2013 17:07:25 +0000 (17:07 +0000)]
ramips: update the RT3883 PCI patch

Fix the following warning:

  arch/mips/pci/pci-rt3883.c: In function 'rt3883_pci_probe':
  arch/mips/pci/pci-rt3883.c:458:4: warning: use of 'h' length modifier with 'a' type character [-Wformat]

Signed-off-by: Michael Lee <igvtee@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 37827

10 years agokernel/3.10: backport of_pci_get_devfn function from 3.11
Gabor Juhos [Fri, 23 Aug 2013 17:07:20 +0000 (17:07 +0000)]
kernel/3.10: backport of_pci_get_devfn function from 3.11

Fixes the following build error on ramips/rt3883:

  arch/mips/pci/pci-rt3883.c:488:3: error: implicit declaration of function \
  'of_pci_get_devfn' [-Werror=implicit-function-declaration]
  cc1: some warnings being treated as errors

Although the function is only used by the PCI driver
of the RT3883 SoC but at the moment but it might be
useful for other targets as well.

Signed-off-by: Michael Lee <igvtee@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 37826

10 years agokernel: add checksum for 3.10.9
Zoltan Herpai [Thu, 22 Aug 2013 23:56:19 +0000 (23:56 +0000)]
kernel: add checksum for 3.10.9

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 37825

10 years agoimx23: bump kernel to 3.10.9
Zoltan Herpai [Thu, 22 Aug 2013 19:30:46 +0000 (19:30 +0000)]
imx23: bump kernel to 3.10.9

SVN-Revision: 37824

10 years agoimx23: add support for u-boot image build
Zoltan Herpai [Thu, 22 Aug 2013 19:29:07 +0000 (19:29 +0000)]
imx23: add support for u-boot image build

SVN-Revision: 37823

10 years agouboot-imx23: add new package for i.MX233 boards
Zoltan Herpai [Thu, 22 Aug 2013 19:28:06 +0000 (19:28 +0000)]
uboot-imx23: add new package for i.MX233 boards

SVN-Revision: 37822

10 years agonetfilter: fix typo
Luka Perkov [Wed, 21 Aug 2013 23:17:08 +0000 (23:17 +0000)]
netfilter: fix typo

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

10 years agokernel: crashlog: Avoid out-of-bounds write
Felix Fietkau [Wed, 21 Aug 2013 20:59:25 +0000 (20:59 +0000)]
kernel: crashlog: Avoid out-of-bounds write

vsnprintf returns the number of chars that would have been written, not
the actual number of chars written. This can lead to crashlog_buf->len
being too big which in turn can lead to get_maxlen() returning negative
numbers. The length argument of kmsg_dump_get_buffer will be casted to
a size_t which makes a negative input a big positive number allowing
kmsg_dump_get_buffer to write out of bounds.

Fix this by using vscnprintf which returns the actually written number
of chars.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 37820

10 years agomalta: refresh configuration
Luka Perkov [Wed, 21 Aug 2013 00:36:53 +0000 (00:36 +0000)]
malta: refresh configuration

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

10 years agoinclude: introduce subtarget_platform CONFIG_TARGET
Luka Perkov [Wed, 21 Aug 2013 00:36:52 +0000 (00:36 +0000)]
include: introduce subtarget_platform CONFIG_TARGET

Sometimes it is useful to change platform's kernel config file but with loaded
subtarget's kernel config. Good example for this use case is malta.

Example:

$ make kernel_menuconfig CONFIG_TARGET=subtarget_platform

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

10 years agocrypto: add missing depends for crypto-manager
Luka Perkov [Wed, 21 Aug 2013 00:36:19 +0000 (00:36 +0000)]
crypto: add missing depends for crypto-manager

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

10 years agousbmode: update to latest version, includes fix from #14062
Felix Fietkau [Tue, 20 Aug 2013 18:25:20 +0000 (18:25 +0000)]
usbmode: update to latest version, includes fix from #14062

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

10 years agouboot-env: fix spurious esac within ramips uci-defaults
Luka Perkov [Mon, 19 Aug 2013 13:01:17 +0000 (13:01 +0000)]
uboot-env: fix spurious esac within ramips uci-defaults

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

10 years agoupx: upgrade to 3.09
Luka Perkov [Mon, 19 Aug 2013 01:22:29 +0000 (01:22 +0000)]
upx: upgrade to 3.09

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

10 years agompc: upgrade to 1.0.1
Luka Perkov [Mon, 19 Aug 2013 01:22:25 +0000 (01:22 +0000)]
mpc: upgrade to 1.0.1

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