openwrt.git
9 years agoimage: add hooks for kernel/DTB installation in root filesystem
luka [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37852 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoConfig.in: improve wording for kernel/DT inclusion flags
luka [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37851 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoimx6: refresh 3.10 kernel config
luka [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37850 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37849 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: don't hide the 'Warning: unable to open an initial console' message
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37848 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoimage: ensure that /dev/console exist in rootfs images
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37847 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: ensure that /dev/console exists in initramfs
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37846 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: don't hardwire cpu_has_dsp{,2} to zero
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37845 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: don't register USB device on WNDAP360
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37844 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: add a bunch of rt2x00 specific changes
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37843 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: fixing a potential deadlock in block2mtd for kernel 3.6/3.8/3.9
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37842 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomklibs: Fix mklibs usage when *.so files reside in subdirs
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37841 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: merge a few ad-hoc mode fixes
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37840 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: disable CCK rates for 802.11n clients on brcmsmac to fix crash issues
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37839 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agolldpd: Add libbsd dependency when using eglibc
acinonyx [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37837 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agox86/alix2: add kmod-usb2-pci to default packages
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37835 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: build factory image for DIR-505 A1
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37834 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: allow to override kernel size in the CameoHornet profile
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37833 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: update 3.10 to 3.10.9
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37832 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agogeneric: refresh kernel configs with kconfig.pl
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37831 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37830 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: use correct image size parameter for DIR-610 A1
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37829 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: use correct parameters in the Seama template
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37828 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: update the RT3883 PCI patch
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37827 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel/3.10: backport of_pci_get_devfn function from 3.11
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37826 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: add checksum for 3.10.9
wigyori [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37825 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

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

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

9 years ago[package]: uboot-imx23: add new package for i.MX233 boards
wigyori [Thu, 22 Aug 2013 19:28:06 +0000 (19:28 +0000)]
[package]: uboot-imx23: add new package for i.MX233 boards

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

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

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37821 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: crashlog: Avoid out-of-bounds write
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37820 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37819 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoinclude: introduce subtarget_platform CONFIG_TARGET
luka [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37818 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years ago[kernel] crypto: add missing depends for crypto-manager
luka [Wed, 21 Aug 2013 00:36:19 +0000 (00:36 +0000)]
[kernel] crypto: add missing depends for crypto-manager

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37817 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agousbmode: update to latest version, includes fix from #14062
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37816 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years ago[package] uboot-env: fix spurious esac within ramips uci-defaults
luka [Mon, 19 Aug 2013 13:01:17 +0000 (13:01 +0000)]
[package] uboot-env: fix spurious esac within ramips uci-defaults

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37814 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years ago[tools] upx: upgrade to 3.09
luka [Mon, 19 Aug 2013 01:22:29 +0000 (01:22 +0000)]
[tools] upx: upgrade to 3.09

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37813 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years ago[tools] mpc: upgrade to 1.0.1
luka [Mon, 19 Aug 2013 01:22:25 +0000 (01:22 +0000)]
[tools] mpc: upgrade to 1.0.1

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37812 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: add back missing declaration in the MIPS DMA patch that broke octeon
nbd [Sun, 18 Aug 2013 05:49:57 +0000 (05:49 +0000)]
kernel: add back missing declaration in the MIPS DMA patch that broke octeon

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

9 years agokernel: drop dead pwm code
luka [Sun, 18 Aug 2013 01:25:41 +0000 (01:25 +0000)]
kernel: drop dead pwm code

The files have last been used with 2.6.x kernel.

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37810 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: drop dead glamo code
luka [Sun, 18 Aug 2013 01:25:40 +0000 (01:25 +0000)]
kernel: drop dead glamo code

The code is not used since the s3c24xx target was removed.

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37809 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: replace local m25p80 patches with upstream submission
luka [Sat, 17 Aug 2013 23:54:41 +0000 (23:54 +0000)]
kernel: replace local m25p80 patches with upstream submission

http://lists.infradead.org/pipermail/linux-mtd/2013-August/048154.html
http://patchwork.ozlabs.org/patch/268019/

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37808 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: drop 010-mtd_mp25p80_add_gd25q32_gd25q64.patch
luka [Sat, 17 Aug 2013 22:29:05 +0000 (22:29 +0000)]
kernel: drop 010-mtd_mp25p80_add_gd25q32_gd25q64.patch

The patch in question has been accepted upstream in commit:

55bf75b7dd8ec875d048824f3cdecf8254e292e5

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37807 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years ago[tools] scons: upgrade to 2.3.0
luka [Sat, 17 Aug 2013 18:39:35 +0000 (18:39 +0000)]
[tools] scons: upgrade to 2.3.0

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37806 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: drop 110-fix_mtd_include.patch
luka [Sat, 17 Aug 2013 17:09:41 +0000 (17:09 +0000)]
kernel: drop 110-fix_mtd_include.patch

Kernel builds just fine without this patch so we can just remove it.

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37805 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobroadcom-diag: remove BUFFALO_UNKNOWN
hauke [Sat, 17 Aug 2013 13:43:07 +0000 (13:43 +0000)]
broadcom-diag: remove BUFFALO_UNKNOWN

This was itriggered by to many non buffalo devices

This closes #14043.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37804 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: fix typo in Broadcom-bgmac-b43 profile name
hauke [Sat, 17 Aug 2013 13:41:22 +0000 (13:41 +0000)]
brcm47xx: fix typo in Broadcom-bgmac-b43 profile name

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

9 years agobroadcom-wl: Add 'N' mode support to broadcom-wl
hauke [Sat, 17 Aug 2013 13:38:30 +0000 (13:38 +0000)]
broadcom-wl: Add 'N' mode support to broadcom-wl

This is partly based on patches sent by Łukasz Kwestarz (See https://lists.openwrt.org/pipermail/openwrt-devel/2012-March/014356.html).

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37802 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoubox: update to git head
jow [Fri, 16 Aug 2013 13:14:21 +0000 (13:14 +0000)]
ubox: update to git head

- support mounting swap files from /etc/config/fstab
- support mounting swap partitions by label

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

9 years agoubox: update to git head
jow [Fri, 16 Aug 2013 11:18:39 +0000 (11:18 +0000)]
ubox: update to git head

- adds support for generic mount options

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

9 years agoprocd: update to git head
jow [Fri, 16 Aug 2013 09:29:37 +0000 (09:29 +0000)]
procd: update to git head

- terminates uloop after forking in service manager
- redirects stdio to /dev/null for services executed from procd

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

9 years agoRevert "[package] e2fsprogs: update to 1.42.8 and add e4defrag"
jow [Fri, 16 Aug 2013 09:29:31 +0000 (09:29 +0000)]
Revert "[package] e2fsprogs: update to 1.42.8 and add e4defrag"

This reverts commit f6b0be49ba0d8eee29e098cc057ced57e7a26dd4.

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

9 years ago[tools] xz: upgrade to 5.0.5
luka [Fri, 16 Aug 2013 00:19:21 +0000 (00:19 +0000)]
[tools] xz: upgrade to 5.0.5

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37797 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years ago[tools] mtools: upgrade to 4.0.18
luka [Fri, 16 Aug 2013 00:19:20 +0000 (00:19 +0000)]
[tools] mtools: upgrade to 4.0.18

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37796 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years ago[tools] mm-macros: upgrade to 0.9.6
luka [Fri, 16 Aug 2013 00:19:18 +0000 (00:19 +0000)]
[tools] mm-macros: upgrade to 0.9.6

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37795 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years ago[tools] cmake: upgrade to 2.8.11.2
luka [Fri, 16 Aug 2013 00:19:17 +0000 (00:19 +0000)]
[tools] cmake: upgrade to 2.8.11.2

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37794 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: merge upstream change to fix mesh rssi thresholds
nbd [Thu, 15 Aug 2013 13:57:11 +0000 (13:57 +0000)]
mac80211: merge upstream change to fix mesh rssi thresholds

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

9 years agoprocd: update to git head
jow [Thu, 15 Aug 2013 10:33:52 +0000 (10:33 +0000)]
procd: update to git head

- terminates uloop after forking in hotplug handler
- redirects stdio to /dev/null for processes executed from hotplug

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

9 years agokernel: fix a small #ifdef bug in the noncoherent dma check rework
nbd [Thu, 15 Aug 2013 09:29:53 +0000 (09:29 +0000)]
kernel: fix a small #ifdef bug in the noncoherent dma check rework

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

9 years agokernel: improve dma ops inlining patches
nbd [Thu, 15 Aug 2013 09:23:07 +0000 (09:23 +0000)]
kernel: improve dma ops inlining patches

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

9 years agouboot-envtools: add support for hornet-ub-x2
luka [Thu, 15 Aug 2013 00:57:48 +0000 (00:57 +0000)]
uboot-envtools: add support for hornet-ub-x2

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37789 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: add support for hornet-ub-x2
luka [Thu, 15 Aug 2013 00:57:47 +0000 (00:57 +0000)]
ar71xx: add support for hornet-ub-x2

The hornet-ub-x2 is hornet-ub variant with double more flash and ram.

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37788 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agocloog: upgrade to 0.18.0
luka [Wed, 14 Aug 2013 23:23:25 +0000 (23:23 +0000)]
cloog: upgrade to 0.18.0

Signed-off-by: Luka Perkov <lperkov@cisco.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37787 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoppl: upgrade to 1.0
luka [Wed, 14 Aug 2013 23:23:23 +0000 (23:23 +0000)]
ppl: upgrade to 1.0

Signed-off-by: Luka Perkov <lperkov@cisco.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37786 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: DIR-610-A1 Support
blogic [Wed, 14 Aug 2013 19:35:27 +0000 (19:35 +0000)]
ramips: DIR-610-A1 Support

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

Signed-off-by: Flavio Silveira <fggs@terra.com.br>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37785 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: fix typo in network uci_defaults script
blogic [Wed, 14 Aug 2013 19:08:55 +0000 (19:08 +0000)]
ramips: fix typo in network uci_defaults script

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

9 years agoramips: dts file cleanup
blogic [Wed, 14 Aug 2013 19:08:44 +0000 (19:08 +0000)]
ramips: dts file cleanup

cleanup some inconsistencies in the dts files

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

9 years agoar71xx: fix TL-WR710N board detection
blogic [Wed, 14 Aug 2013 18:15:58 +0000 (18:15 +0000)]
ar71xx: fix TL-WR710N board detection

Fix for recognize TL-WR710N

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

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37782 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: Fix factory image for DIR 505 A1
blogic [Wed, 14 Aug 2013 18:15:49 +0000 (18:15 +0000)]
ar71xx: Fix factory image for DIR 505 A1

Based on the original firmware, the file must have the tag
HORNET-PACKET-DIR505A1-3, not HORNET-RT-DIR505A1-3.

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

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37781 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: add support for dir810l and asus rp-n53
blogic [Wed, 14 Aug 2013 18:15:35 +0000 (18:15 +0000)]
ramips: add support for dir810l and asus rp-n53

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

9 years agoramips: various updates to the mt7620 dtsi file
blogic [Wed, 14 Aug 2013 18:15:26 +0000 (18:15 +0000)]
ramips: various updates to the mt7620 dtsi file

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

9 years agoramips: update v3.10 patches
blogic [Wed, 14 Aug 2013 18:15:15 +0000 (18:15 +0000)]
ramips: update v3.10 patches

Sync the patches with those sent upstream for v3.12.

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

9 years agofirewall: update to git head
jow [Wed, 14 Aug 2013 15:40:38 +0000 (15:40 +0000)]
firewall: update to git head

- uses "-j CT --notrack" instead of deprecated "-j NOTRACK"
- fixes support for rule sections with target "NOTRACK"

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

9 years agobuild: fix typo in mips16 changes
nbd [Wed, 14 Aug 2013 14:55:49 +0000 (14:55 +0000)]
build: fix typo in mips16 changes

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

9 years agodisable mips16 for a few packages that don't compile with it
nbd [Wed, 14 Aug 2013 14:29:15 +0000 (14:29 +0000)]
disable mips16 for a few packages that don't compile with it

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

9 years agopolarssl: disable mips16
nbd [Wed, 14 Aug 2013 13:02:36 +0000 (13:02 +0000)]
polarssl: disable mips16

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

9 years agoopenssl: to disable mips16, use the new PKG_USE_MIPS16 flag instead of messing with...
nbd [Wed, 14 Aug 2013 13:02:33 +0000 (13:02 +0000)]
openssl: to disable mips16, use the new PKG_USE_MIPS16 flag instead of messing with cflags directly

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

9 years agobuild: decouple the mips16 support flag from the toolchain
nbd [Wed, 14 Aug 2013 13:02:29 +0000 (13:02 +0000)]
build: decouple the mips16 support flag from the toolchain

Add the flags from package.mk instead, and leave libc and gcc
unaffected.

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

9 years agoocf: switch MODULE_LICENSE from BSD to "Dual BSD/GPL" to make the kernel recognize...
nbd [Wed, 14 Aug 2013 08:52:19 +0000 (08:52 +0000)]
ocf: switch MODULE_LICENSE from BSD to "Dual BSD/GPL" to make the kernel recognize modules as GPL-compatible

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

9 years agoath9k: merge a few more cleanups/fixes
nbd [Tue, 13 Aug 2013 10:35:18 +0000 (10:35 +0000)]
ath9k: merge a few more cleanups/fixes

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

9 years agoath9k: reorganize patches
nbd [Tue, 13 Aug 2013 10:35:14 +0000 (10:35 +0000)]
ath9k: reorganize patches

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

9 years agoar71xx: ethernet: reduce tx dma ring size further to improve cache footprint
nbd [Tue, 13 Aug 2013 10:35:10 +0000 (10:35 +0000)]
ar71xx: ethernet: reduce tx dma ring size further to improve cache footprint

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

9 years agomac80211: merge upstream patch to suppress unnecessary ad-hoc mode scan with fixed...
nbd [Tue, 13 Aug 2013 10:35:04 +0000 (10:35 +0000)]
mac80211: merge upstream patch to suppress unnecessary ad-hoc mode scan with fixed-freq, fixed-bssid

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

9 years agokernel: add patch to inline mips dma mapping functions - reduces code size and improv...
nbd [Mon, 12 Aug 2013 17:26:08 +0000 (17:26 +0000)]
kernel: add patch to inline mips dma mapping functions - reduces code size and improves performance

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

9 years agoar71xx: ethernet: reduce tx and rx DMA ring size to improve cache footprint
nbd [Mon, 12 Aug 2013 17:26:03 +0000 (17:26 +0000)]
ar71xx: ethernet: reduce tx and rx DMA ring size to improve cache footprint

256 entries is a bit excessive, even for gigabit speeds

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

9 years agoar71xx: ethernet: cache skb->len in the tx function to avoid accessing it again in...
nbd [Mon, 12 Aug 2013 17:26:00 +0000 (17:26 +0000)]
ar71xx: ethernet: cache skb->len in the tx function to avoid accessing it again in completion

Improves ethernet performance, especially during bridging

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

9 years agortl8367: add support for configuring the VLAN FID
nbd [Mon, 12 Aug 2013 17:25:25 +0000 (17:25 +0000)]
rtl8367: add support for configuring the VLAN FID

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

9 years agoar71xx: fix typo
nbd [Mon, 12 Aug 2013 12:41:53 +0000 (12:41 +0000)]
ar71xx: fix typo

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

9 years agoar71xx: ethernet: skip calls to netdev_completed_queue and netif_wake_queue if no...
nbd [Mon, 12 Aug 2013 11:44:35 +0000 (11:44 +0000)]
ar71xx: ethernet: skip calls to netdev_completed_queue and netif_wake_queue if no tx cleanup was done

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

9 years agoar71xx: ethernet: do not update the unused dev->last_rx field
nbd [Mon, 12 Aug 2013 11:44:31 +0000 (11:44 +0000)]
ar71xx: ethernet: do not update the unused dev->last_rx field

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

9 years agoar71xx: add missing return statement in ethernet mtu change op
nbd [Mon, 12 Aug 2013 11:44:28 +0000 (11:44 +0000)]
ar71xx: add missing return statement in ethernet mtu change op

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

9 years agokernel: remove imx-sdma-fw because of license issues
luka [Mon, 12 Aug 2013 10:48:05 +0000 (10:48 +0000)]
kernel: remove imx-sdma-fw because of license issues

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37755 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoimx6: use kmod-imx-sdma-fw-imx6 by default
luka [Sun, 11 Aug 2013 15:10:44 +0000 (15:10 +0000)]
imx6: use kmod-imx-sdma-fw-imx6 by default

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37754 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: add imx-sdma-fw package
luka [Sun, 11 Aug 2013 15:10:42 +0000 (15:10 +0000)]
kernel: add imx-sdma-fw package

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37753 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoimx6: fix sdma
luka [Sun, 11 Aug 2013 15:10:38 +0000 (15:10 +0000)]
imx6: fix sdma

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37752 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomusl: mark as broken, many packages do not compile with it
nbd [Sat, 10 Aug 2013 19:16:46 +0000 (19:16 +0000)]
musl: mark as broken, many packages do not compile with it

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

9 years agox86: Fix CONFIG_X86_GRUB_SERIAL=""
nbd [Sat, 10 Aug 2013 18:35:29 +0000 (18:35 +0000)]
x86: Fix CONFIG_X86_GRUB_SERIAL=""

With

    .config:CONFIG_X86_GRUB_SERIAL=""

which (AFAICT) is the way to tell GRUB not to use a serial console, in

    target/linux/x86/image/Makefile:ifneq ($(CONFIG_X86_GRUB_SERIAL),)

$(CONFIG_X86_GRUB_SERIAL) expands to `""' (a literal double double-quote),
making the condition unconditionally false.

This patch fixes the situation by passing CONFIG_X86_GRUB_SERIAL through
qstrip before testing.

Signed-off-by: Tamas TEVESZ <ice@extreme.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37749 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: allow mtu > 1500 based on the configured tx/rx mtu register value
nbd [Sat, 10 Aug 2013 15:31:38 +0000 (15:31 +0000)]
ar71xx: allow mtu > 1500 based on the configured tx/rx mtu register value

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

9 years agoath9k: fix an rx descriptor processing race condition
nbd [Sat, 10 Aug 2013 14:00:33 +0000 (14:00 +0000)]
ath9k: fix an rx descriptor processing race condition

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

9 years agomcs814x: enable POSIX file locking
florian [Fri, 9 Aug 2013 20:45:17 +0000 (20:45 +0000)]
mcs814x: enable POSIX file locking

opkg (and possible other tools) are currently broken as it requires
file locking support enabled in the kernel.
Without this results in a message like:

root@OpenWrt:/etc/config# opkg update
Collected errors:
 * opkg_conf_load: Could not lock /var/lock/opkg.lock: Permission denied.

With this patch opkg is fully functional on this platform.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37745 3c298f89-4303-0410-b956-a3cf2f4a3e73