openwrt/staging/thess.git
10 years agolantiq: fix up eth_mac and ath_eep support
John Crispin [Mon, 2 Jun 2014 12:45:29 +0000 (12:45 +0000)]
lantiq: fix up eth_mac and ath_eep support

this patch got messed up by the last rebase

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

10 years agox86: Compile xen-pci-frontend as module
John Crispin [Mon, 2 Jun 2014 12:45:25 +0000 (12:45 +0000)]
x86: Compile xen-pci-frontend as module

modified version of -> http://patchwork.openwrt.org/patch/5535/

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

10 years agoinclude: Allow git kernel branch selection
John Crispin [Mon, 2 Jun 2014 12:45:22 +0000 (12:45 +0000)]
include: Allow git kernel branch selection

This allows the selection of a specific branch in the menuconfig
when using a kernel downloaded from GIT.

Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
SVN-Revision: 40946

10 years agoinclude: Clean-up kernel git command options management
John Crispin [Mon, 2 Jun 2014 12:45:19 +0000 (12:45 +0000)]
include: Clean-up kernel git command options management

The way git options are managed in kernel-defaults.mk makes additions

difficult. If requires different code path for each option; it's
ok so far as we handle only one option, but if we want to make the git
clone mechanism more flexible, more option will be required, which
will become tedious.

So; we'll move the GIT options into a variable, that may or may not be
set depending on the configuration, and we'll pass this variable to the
git command.

Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
SVN-Revision: 40945

10 years agoconfig: Remove KERNEL_GIT_LOCAL_REPOSITORY option
John Crispin [Mon, 2 Jun 2014 12:45:16 +0000 (12:45 +0000)]
config: Remove KERNEL_GIT_LOCAL_REPOSITORY option

The GIT_LOCAL_REPOSITORY option adds the --reference argument to the
git clone kernel command line, if KERNEL_GIT_CLONE_URI is set.

This option is intended to speed-up the repo creation by using local
objets rather than downloading it. However, a local repo can be cloned
much faster by setting GIT_LOCAL_REPOSITORY directly to the local tree.

In that case, git clone will bypass the normal "git aware" transport
mechanism and clone the repository by copying and hardlinking objects
rather than downloading it, resulting in a significant speed increase.

That makes the GIT_LOCAL_REPOSITORY option pretty useless so we'll just
remove it and recommand the usage of KERNEL_GIT_CLONE_URI directly.

Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
SVN-Revision: 40944

10 years agobase-files: Allow installation of symlinks using RAMFS_COPY_BIN env var.
John Crispin [Mon, 2 Jun 2014 12:45:13 +0000 (12:45 +0000)]
base-files: Allow installation of symlinks using RAMFS_COPY_BIN env var.

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

Signed-off-by: karl.vogel@gmail.com
SVN-Revision: 40943

10 years agocomgt: add support for defining dial number in config file
John Crispin [Mon, 2 Jun 2014 12:45:09 +0000 (12:45 +0000)]
comgt: add support for defining dial number in config file

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
SVN-Revision: 40942

10 years agokernel: Fix xen domU kmod-xen-kbd package
John Crispin [Mon, 2 Jun 2014 12:45:05 +0000 (12:45 +0000)]
kernel: Fix xen domU kmod-xen-kbd package

modified version of http://patchwork.openwrt.org/patch/5526/

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

10 years agosoloscli: upgrade to 1.04
John Crispin [Mon, 2 Jun 2014 12:45:01 +0000 (12:45 +0000)]
soloscli: upgrade to 1.04

- The package does not compile at the moment. Since there is a new
  upstream version avaiable, use this new source instead.
- Upstream has already included our both patches.
- This is only compile tested, since I do not own any test hardware.

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

10 years agoralink: fix asiarf/awm002 switch setup
John Crispin [Mon, 2 Jun 2014 12:44:57 +0000 (12:44 +0000)]
ralink: fix asiarf/awm002 switch setup

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

10 years agomac80211: query driver for max A-MPDU length exponent
John Crispin [Mon, 2 Jun 2014 12:44:54 +0000 (12:44 +0000)]
mac80211: query driver for max A-MPDU length exponent

This patch enables netifd to query 802.11ac-driver for the maximum
supported A-MPDU length exponent, possibly increasing VHT throughput by
more aggressive frame aggregation.

v2: refreshed patch

Signed-off-by: Matti Laakso <malaakso at elisanet.fi>
SVN-Revision: 40938

10 years agopackage: netifd: remove blank line at the end of file
John Crispin [Mon, 2 Jun 2014 12:44:51 +0000 (12:44 +0000)]
package: netifd: remove blank line at the end of file

Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>
SVN-Revision: 40937

10 years agoqos-script: Add comments to existing rules
John Crispin [Mon, 2 Jun 2014 12:44:47 +0000 (12:44 +0000)]
qos-script: Add comments to existing rules

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 40936

10 years agoqos-script: Improve usability by adding comment field to rules
John Crispin [Mon, 2 Jun 2014 12:44:44 +0000 (12:44 +0000)]
qos-script: Improve usability by adding comment field to rules

It's quite unconveniet to remember which ports are used by which applications, especially for not so advanced users.
Together with luci patch (discussed on IRC) this improves qos-scripts usability.

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 40935

10 years agohostapd: Add optional support for hostapd own_ip_addr in wireless config
John Crispin [Mon, 2 Jun 2014 12:44:40 +0000 (12:44 +0000)]
hostapd: Add optional support for hostapd own_ip_addr in wireless config

`own_ip_addr` is used by hostapd as NAS-IP-Address.
This is used to identify the AP that is requesting the authentication of the
user and could be used to define which AP's can authenticate users.
Some vendors implement only NAS-Identifier or NAS-IP-Address and not both.
This patch adds ownip as an optional parameter in /etc/config/wireless.

Signed-off-by: Thomas Wouters <thomaswouters@gmail.com>
SVN-Revision: 40934

10 years agoppp: allow to set PPP interface name via config
John Crispin [Mon, 2 Jun 2014 12:44:36 +0000 (12:44 +0000)]
ppp: allow to set PPP interface name via config

allows to set PPP interface name manually via new
network interface option pppname.
If not set, default naming will be used (e.g. pppoe-eth0)

Signed-off-by: Ulrich Weber <uw@ocedo.com>
SVN-Revision: 40933

10 years agokernel: Enable kmod-hid-generic driver when selecting usb-hid
John Crispin [Mon, 2 Jun 2014 12:44:33 +0000 (12:44 +0000)]
kernel: Enable kmod-hid-generic driver when selecting usb-hid

kmod-hid-generic needs to be selected when enabling usb-hid in order to get generic devices working.

This fixes keyboards support in linux 3.3+ kernels.
https://dev.openwrt.org/ticket/12631
https://dev.openwrt.org/ticket/12686

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 40932

10 years agoopenvpn: enable ipv6 parameters
John Crispin [Mon, 2 Jun 2014 12:44:30 +0000 (12:44 +0000)]
openvpn: enable ipv6 parameters

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

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

10 years agoutil-linux: Disable sulogin in util-linux package
John Crispin [Mon, 2 Jun 2014 12:44:27 +0000 (12:44 +0000)]
util-linux: Disable sulogin in util-linux package

The sulogin tool doesn't compile because it cannot find shadow.h. As the
tool is not available in openwrt it is now not selected during the build
process.

Signed-off-by: Tjalling Hattink <t.hattink@fugro.nl>
SVN-Revision: 40930

10 years agouboot-envtools: add support for environment in ubi volume
John Crispin [Mon, 2 Jun 2014 12:44:19 +0000 (12:44 +0000)]
uboot-envtools: add support for environment in ubi volume

On UBI enabled devices, U-Boot might store it's environment on
UBI volume(s). Support this in uboot-envtools, so fw_setenv and
fw_printenv can work on these platforms.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 40929

10 years agofstools: stage libubi-utils static library and headers
John Crispin [Mon, 2 Jun 2014 12:44:16 +0000 (12:44 +0000)]
fstools: stage libubi-utils static library and headers

Use InstallDev to make libubi-utils available for linking in
uboot-envtools.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 40928

10 years agopackage/Makefile: Substituted deprecated -perm +mode with -perm /mode
John Crispin [Mon, 2 Jun 2014 12:44:13 +0000 (12:44 +0000)]
package/Makefile: Substituted deprecated -perm +mode with -perm /mode

The find(1) -perm +mode is no longer supported and has been deprecated since
2005.

This could resolve #13855 ticket.

Signed-off-by: Rocco Folino <lordzen87@gmail.com>
SVN-Revision: 40927

10 years agoimage: ext4: rename config options as these are only used for ext4 image creation
John Crispin [Mon, 2 Jun 2014 12:44:10 +0000 (12:44 +0000)]
image: ext4: rename config options as these are only used for ext4 image creation

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

10 years agoimage: ext4: allow creation of a journaling filesystem
John Crispin [Mon, 2 Jun 2014 12:44:07 +0000 (12:44 +0000)]
image: ext4: allow creation of a journaling filesystem

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

10 years agoimage: ext4: allow to choose a block size for the rootfs
John Crispin [Mon, 2 Jun 2014 12:44:04 +0000 (12:44 +0000)]
image: ext4: allow to choose a block size for the rootfs

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

10 years agoimage: ext4: move ext4 specific options into submenu
John Crispin [Mon, 2 Jun 2014 12:43:53 +0000 (12:43 +0000)]
image: ext4: move ext4 specific options into submenu

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

10 years agoralink: add seama image can be upgrade by sysupgrade
John Crispin [Mon, 2 Jun 2014 12:43:49 +0000 (12:43 +0000)]
ralink: add seama image can be upgrade by sysupgrade

generate sysupgrade image by combine two images.
one is kernel image with seama header.
another is root fs image.

Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 40922

10 years agotools: genext2fs: add support for blocksize != 1024
John Crispin [Mon, 2 Jun 2014 12:43:46 +0000 (12:43 +0000)]
tools: genext2fs: add support for blocksize != 1024

This patch series is extracted from
http://ftp.de.debian.org/debian/pool/main/g/genext2fs/genext2fs_1.4.1-4.debian.tar.gz

The patches are used in Debian for quite a long time, so I assume that
this is solid material. At least, my Ubuntu host fsck.ext4 does not bark :-)

The goal is to allow building filesystems with larger blocksizes instead of the
current default of 1k. This should improve performance and lifetime when the
filesystem is stored e.g. on a SD card (on Raspberry Pi/I2SE Duckbill for example)
which uses internal flash memory. Writing to flash memory is slow because writing
the data of one block results in erasing a whole erase block of the flash memory.
Thus it is preferable to align the filesystem block size on a flash device with
the erase blocksize, or at least bring it closer to the later one, to avoid
unnecessary write amplification.

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

10 years agolantiq: Fix ARV7510PW22 etop
John Crispin [Mon, 2 Jun 2014 12:43:43 +0000 (12:43 +0000)]
lantiq: Fix ARV7510PW22 etop

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 40920

10 years agolantiq: Fix ARV4518 etop
John Crispin [Mon, 2 Jun 2014 12:43:35 +0000 (12:43 +0000)]
lantiq: Fix ARV4518 etop

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 40919

10 years agolantiq: Add ARV7510PW22 support
John Crispin [Mon, 2 Jun 2014 12:43:31 +0000 (12:43 +0000)]
lantiq: Add ARV7510PW22 support

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 40918

10 years agokernel: Add kernel modules for USB gadget serial devices.
John Crispin [Mon, 2 Jun 2014 12:43:28 +0000 (12:43 +0000)]
kernel: Add kernel modules for USB gadget serial devices.

This patch adds support for building the kernel modules for gadget serial devices.

Signed-off-by: Owen Kirby <osk@exegin.com>
Acked-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 40917

10 years agoiptables: Makefile: only build ip6tc, if IPv6 is enabled
John Crispin [Mon, 2 Jun 2014 12:43:25 +0000 (12:43 +0000)]
iptables: Makefile: only build ip6tc, if IPv6 is enabled

when disabling ipv6, the iptables build breaks without a manul clean or this patch

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
SVN-Revision: 40916

10 years agotarget/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC
John Crispin [Mon, 2 Jun 2014 12:43:22 +0000 (12:43 +0000)]
target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC

ARGC is a 'C-ism', but not known/valid in shell-syntax - insert the correct
var $# (=number of args) here. under normal conditions this had no impact,
but we should at least correct it. the error was observable like this:

root@box:~ [ -e "/etc/functions.sh" ] && . /etc/functions.sh
root@box:~ [ -e "/lib/functions.sh" ] && . /lib/functions.sh
root@box:~ . /lib/upgrade/platform.sh
root@box:~ . /lib/upgrade/common.sh
root@box:~ platform_check_image /tmp/myfirmware.bin
ash: bad number
root@box:~ echo $?
0

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
SVN-Revision: 40915

10 years agodropbear: make missing variables local
John Crispin [Mon, 2 Jun 2014 12:43:16 +0000 (12:43 +0000)]
dropbear: make missing variables local

Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>
SVN-Revision: 40914

10 years agoinclude: fix kernel download failure with git & local trees
John Crispin [Mon, 2 Jun 2014 12:43:13 +0000 (12:43 +0000)]
include: fix kernel download failure with git & local trees

When using the options EXTERNAL_KERNEL_TREE or KERNEL_GIT_CLONE_URI,
the command "make downloads" fails as it tries to download the kernel
tarball despite the option. This doesn't happen during a regular build
as in that case, the dependency is conditionned through the LINUX_SITE
variable, which is not set in these cases.

Below is a snapshot of the error for an target using a 3.14 kernel:

make[3]: *** No rule to make target `.../dl/linux-3.14.tar.xz',
needed by `download'.  Stop.

Change-Id: I1244969c1bbf9c81a6a64d68ae88ac58b0f8e79e
Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
SVN-Revision: 40913

10 years agobase-files: remove function service_kill
John Crispin [Mon, 2 Jun 2014 12:43:10 +0000 (12:43 +0000)]
base-files: remove function service_kill

Function service_kill is deprecated and has no user, so remove it.

Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>
SVN-Revision: 40912

10 years agoramips: add missing profile for DIR-615-D
John Crispin [Mon, 2 Jun 2014 12:43:07 +0000 (12:43 +0000)]
ramips: add missing profile for DIR-615-D

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 40911

10 years agoramips: fix not set lan/wan mac address
John Crispin [Mon, 2 Jun 2014 12:43:04 +0000 (12:43 +0000)]
ramips: fix not set lan/wan mac address

The first switch case is default case. Then it will only
match default case. cause not update the lan/wan mac address.
And in the default switch case the param lan_mac is empty.
it will case error message 'arithmetic syntax error' when
call macaddr_add function.

Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 40910

10 years agobase-files: add simple shutdown script
John Crispin [Mon, 2 Jun 2014 12:43:00 +0000 (12:43 +0000)]
base-files: add simple shutdown script

Since svn rev [38557] we support power buttons, for example
the ACPI power button on x86 machines.
Add a simple shutdown script to /etc/rc.button, to gracefully shutdown
the machine after the power button is pressed.

Tested on x86 and x86_64 in a kvm virtual machine.

Signed-off-by: Stefan Hellermann <stefan@the2masters.de>
SVN-Revision: 40909

10 years agoralink: Add support for samsung cy-swr1100 wireless router
John Crispin [Mon, 2 Jun 2014 12:42:52 +0000 (12:42 +0000)]
ralink: Add support for samsung cy-swr1100 wireless router

It is base on rt3662 soc with dual band 802.11n
wireless router. Use rtl8367R switch chip.
This patch adds a profile for this board.
It use seama image header. so i also enable it
on kernel config.

Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 40908

10 years agoramips: Support for Teltonika RUT5XX
John Crispin [Mon, 2 Jun 2014 12:42:48 +0000 (12:42 +0000)]
ramips: Support for Teltonika RUT5XX

Hi Hartmut,

Thanks for your feedback, I have reformated the patch accordingly.

Added support for Teltonika RUT5XX hardware.

Signed-off-by: Steffen Weinreich <steve@weinreich.org>
SVN-Revision: 40907

10 years agobase-files: calling stop_service before procd_kill.
John Crispin [Mon, 2 Jun 2014 12:42:44 +0000 (12:42 +0000)]
base-files: calling stop_service before procd_kill.

Before this patch, doing `/e/c/network restart' will emit the folloing
error by `ubus network.wireless down "{}"' because netifd already quit
by that time.

Command failed: not found

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 40906

10 years agokernel: usb.mk: enable chipidea udc mode
John Crispin [Mon, 2 Jun 2014 12:42:41 +0000 (12:42 +0000)]
kernel: usb.mk: enable chipidea udc mode

The chipidea USB OTG controller is dual-role and supports both host and device
modes. Enable device mode.

Tested on Gateworks Ventana imx6 board with g_ether.

Are there any other targets out there that use the CHIPIDEA controller? If so
testing is needed for those.

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

10 years agobase-files: removes logging
John Crispin [Mon, 2 Jun 2014 12:42:37 +0000 (12:42 +0000)]
base-files: removes logging

Since logd haven't started at this point, logging does not work.

Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
SVN-Revision: 40904

10 years agoralink: Enable Asus RT-N10+ in menuconfig targets
John Crispin [Mon, 2 Jun 2014 12:41:45 +0000 (12:41 +0000)]
ralink: Enable Asus RT-N10+ in menuconfig targets

This patch adds "Asus RT-N10+" as a target option in menuconfig. The device has been supported for a while but is currently missing a profile (.mk).
Signed-off-by: Randolph Kuntz <8D961920@galaxymail.org>
SVN-Revision: 40903

10 years agofstools: update to latest version, fixes build on x86_64
Felix Fietkau [Mon, 2 Jun 2014 09:38:09 +0000 (09:38 +0000)]
fstools: update to latest version, fixes build on x86_64

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

10 years agokernel: update 3.14 to 3.14.5
Luka Perkov [Mon, 2 Jun 2014 09:25:33 +0000 (09:25 +0000)]
kernel: update 3.14 to 3.14.5

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

10 years agoodhcpd: add configuration for userclass-filter
Steven Barth [Mon, 2 Jun 2014 07:08:16 +0000 (07:08 +0000)]
odhcpd: add configuration for userclass-filter

SVN-Revision: 40900

10 years agouboot-sunxi: add bananapi support
Zoltan Herpai [Sun, 1 Jun 2014 18:47:14 +0000 (18:47 +0000)]
uboot-sunxi: add bananapi support

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

10 years agosunxi: add support for Lemaker bananaPi
Zoltan Herpai [Sun, 1 Jun 2014 18:44:10 +0000 (18:44 +0000)]
sunxi: add support for Lemaker bananaPi

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

10 years agometadata.pl: suppress profile config.in code for targets that have subtargets (fixes...
Felix Fietkau [Sun, 1 Jun 2014 15:18:47 +0000 (15:18 +0000)]
metadata.pl: suppress profile config.in code for targets that have subtargets (fixes #14480)

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

10 years agosunxi: fix typo in uci-defaults network config
Zoltan Herpai [Sun, 1 Jun 2014 12:18:53 +0000 (12:18 +0000)]
sunxi: fix typo in uci-defaults network config

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

10 years agoca-certificates: bump to 20140325
Steven Barth [Sun, 1 Jun 2014 10:32:37 +0000 (10:32 +0000)]
ca-certificates: bump to 20140325

SVN-Revision: 40894

10 years ago6relayd: superseded by odhcpd
Steven Barth [Sun, 1 Jun 2014 10:28:50 +0000 (10:28 +0000)]
6relayd: superseded by odhcpd

SVN-Revision: 40893

10 years agopolarssl: bump to 1.3.7
Steven Barth [Sun, 1 Jun 2014 09:49:24 +0000 (09:49 +0000)]
polarssl: bump to 1.3.7

SVN-Revision: 40892

10 years agonetifd: replace the sleep 5 with an ubus wait_for call to speed up init script
Felix Fietkau [Sat, 31 May 2014 23:49:23 +0000 (23:49 +0000)]
netifd: replace the sleep 5 with an ubus wait_for call to speed up init script

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

10 years agoeglibc: add support for other mips64 ABI variants as well
Felix Fietkau [Sat, 31 May 2014 13:00:46 +0000 (13:00 +0000)]
eglibc: add support for other mips64 ABI variants as well

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

10 years agofstools: update to the latest version, fixes build for 64 bit targets
Felix Fietkau [Sat, 31 May 2014 12:46:59 +0000 (12:46 +0000)]
fstools: update to the latest version, fixes build for 64 bit targets

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

10 years agoeglibc: fix mips64 abi selection, default to o64 instead of n32
Felix Fietkau [Sat, 31 May 2014 12:30:39 +0000 (12:30 +0000)]
eglibc: fix mips64 abi selection, default to o64 instead of n32

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

10 years agoodhcp6c: fix last commit
Steven Barth [Fri, 30 May 2014 14:50:42 +0000 (14:50 +0000)]
odhcp6c: fix last commit

SVN-Revision: 40887

10 years agoodhcp6c: improve passthrough filter
Steven Barth [Fri, 30 May 2014 14:48:39 +0000 (14:48 +0000)]
odhcp6c: improve passthrough filter

SVN-Revision: 40886

10 years agoinclude/cmake.mk: define CMAKE_AR and CMAKE_RANLIB to fix build errors
Felix Fietkau [Fri, 30 May 2014 11:58:54 +0000 (11:58 +0000)]
include/cmake.mk: define CMAKE_AR and CMAKE_RANLIB to fix build errors

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

10 years agoiwinfo: null-terminate the ssid on nl80211 scan to avoid printing trailing garbage
Felix Fietkau [Fri, 30 May 2014 11:37:35 +0000 (11:37 +0000)]
iwinfo: null-terminate the ssid on nl80211 scan to avoid printing trailing garbage

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

10 years agobusybox: remove redundant 6rd-patch
Steven Barth [Thu, 29 May 2014 21:50:32 +0000 (21:50 +0000)]
busybox: remove redundant 6rd-patch

SVN-Revision: 40882

10 years agoodhcpd: Fix a segfault in DHCPv6 option handling
Steven Barth [Thu, 29 May 2014 21:01:42 +0000 (21:01 +0000)]
odhcpd: Fix a segfault in DHCPv6 option handling

SVN-Revision: 40881

10 years agobcm53xx: add support for the PCIe controller
Hauke Mehrtens [Thu, 29 May 2014 19:25:40 +0000 (19:25 +0000)]
bcm53xx: add support for the PCIe controller

This patch adds support for the PCIe controller
In addition to the PCIe controller a sprom is now provided by a device
tree driver to bcma from some nvram.

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

10 years agobusybox: udhcpc source IP rebind patch
Steven Barth [Thu, 29 May 2014 10:35:34 +0000 (10:35 +0000)]
busybox: udhcpc source IP rebind patch

Patch sets the source IP address of DHCP request messages during rebind to the IP address
assigned to the udhcpc client. Source address 0.0.0.0 can only be used by a client prior
to obtaining its IP address (see RFC2131 § 4.1). Source IP address behavior lines up now with
the ISC dhcp client implementation for DHCP request messages during rebind and DHCP release
messages.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
SVN-Revision: 40878

10 years ago6in4: adjust update url (#16617)
Jo-Philipp Wich [Thu, 29 May 2014 09:22:52 +0000 (09:22 +0000)]
6in4: adjust update url (#16617)

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 40876

10 years agomusl: add a hack to rip out excessive iconv bloat
Felix Fietkau [Wed, 28 May 2014 23:18:47 +0000 (23:18 +0000)]
musl: add a hack to rip out excessive iconv bloat

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

10 years agogcc: define USE_PT_GNU_EH_FRAME for musl as well, reduces binary object size
Felix Fietkau [Wed, 28 May 2014 22:40:31 +0000 (22:40 +0000)]
gcc: define USE_PT_GNU_EH_FRAME for musl as well, reduces binary object size

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

10 years agokirkwood: cosmetic: move POGOE02 profile to different file
Luka Perkov [Wed, 28 May 2014 21:43:43 +0000 (21:43 +0000)]
kirkwood: cosmetic: move POGOE02 profile to different file

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

10 years agouboot-envtools: add support for kirkwood ea4500
Luka Perkov [Wed, 28 May 2014 21:43:42 +0000 (21:43 +0000)]
uboot-envtools: add support for kirkwood ea4500

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

10 years agokirkwood: add support for Linksys EA4500
Luka Perkov [Wed, 28 May 2014 21:43:39 +0000 (21:43 +0000)]
kirkwood: add support for Linksys EA4500

Support is added only for kernel 3.14 - do not show it until
the switch is made.

Following uboot env changes are needed to make it work on stock uboot:

10 years agogcc: disable libsanitzier off_t check to fix musl build
Felix Fietkau [Wed, 28 May 2014 21:33:30 +0000 (21:33 +0000)]
gcc: disable libsanitzier off_t check to fix musl build

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

10 years agoubox: update to latest version, fixes kmodloader issues with musl
Felix Fietkau [Wed, 28 May 2014 21:28:14 +0000 (21:28 +0000)]
ubox: update to latest version, fixes kmodloader issues with musl

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

10 years agouqmi: Add support for QMI-based mobile broadband modems
Felix Fietkau [Wed, 28 May 2014 19:45:20 +0000 (19:45 +0000)]
uqmi: Add support for QMI-based mobile broadband modems

Many of the 4G/LTE and 3G modems utilize the QMI-protocol to control the
modem. At the moment there is no support for them in OpenWrt. This
patch adds support for them in the form of a netifd script and a
control utility. Tested with Huawei E398 and ZTE MF820D (which requires
a delay of ~30 s before responding to QMI commands). I put myself up as
the maintainer, feel free to change this if you desire.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
SVN-Revision: 40868

10 years agouclient: update to the latest version, fixes an issue with http authentication handling
Felix Fietkau [Wed, 28 May 2014 09:44:57 +0000 (09:44 +0000)]
uclient: update to the latest version, fixes an issue with http authentication handling

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

10 years agoubifs: remove obsolete CONFIG_UBIFS_FS_XATTR symbol
Felix Fietkau [Tue, 27 May 2014 20:34:03 +0000 (20:34 +0000)]
ubifs: remove obsolete CONFIG_UBIFS_FS_XATTR symbol

550-ubifs-symlink-xattr-support.patch contains a reference to the
by now obsolete config symbol CONFIG_UBIFS_FS_XATTR which leads to
the functionality originally added by the patch in r30794 being
left-out during compile since commit 1bdcc63112a0
("UBIFS: remove xattr Kconnfig option") in v3.5.
Fix this by removing the #ifdef from all affected kernels as XATTR
support is now always enabled for UBIFS as well.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 40864

10 years agoodhcpd: add support for configuring raw dhcpv6 options
Steven Barth [Mon, 26 May 2014 17:08:57 +0000 (17:08 +0000)]
odhcpd: add support for configuring raw dhcpv6 options

SVN-Revision: 40862

10 years agolibubox: update to latest version, fixes a segfault on json_script cleanup
Felix Fietkau [Mon, 26 May 2014 13:53:48 +0000 (13:53 +0000)]
libubox: update to latest version, fixes a segfault on json_script cleanup

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

10 years agoath9k: fix deprecated syntax in config symbol
Felix Fietkau [Mon, 26 May 2014 08:00:29 +0000 (08:00 +0000)]
ath9k: fix deprecated syntax in config symbol

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

10 years agoath9k: make support for PC-OEM cards optional, reduces module size
Felix Fietkau [Sun, 25 May 2014 22:39:58 +0000 (22:39 +0000)]
ath9k: make support for PC-OEM cards optional, reduces module size

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

10 years agokernel: add a config option for enabling /proc/slabinfo
Felix Fietkau [Sun, 25 May 2014 22:39:54 +0000 (22:39 +0000)]
kernel: add a config option for enabling /proc/slabinfo

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

10 years agoubox: update to the latest version, reduces binary library dependencies
Felix Fietkau [Sun, 25 May 2014 22:39:51 +0000 (22:39 +0000)]
ubox: update to the latest version, reduces binary library dependencies

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

10 years agoprocd: update, fixes a bunch of memleaks
Felix Fietkau [Sun, 25 May 2014 19:38:58 +0000 (19:38 +0000)]
procd: update, fixes a bunch of memleaks

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

10 years agokernel: add a config option for /proc page monitoring (useful for detailed memory...
Felix Fietkau [Sun, 25 May 2014 19:38:55 +0000 (19:38 +0000)]
kernel: add a config option for /proc page monitoring (useful for detailed memory usage info)

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

10 years agoprocd: update to the latest version, fixes some musl compatibility issues
Felix Fietkau [Sun, 25 May 2014 17:51:52 +0000 (17:51 +0000)]
procd: update to the latest version, fixes some musl compatibility issues

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

10 years agobusybox: add back missing crond config change
Felix Fietkau [Sun, 25 May 2014 17:45:22 +0000 (17:45 +0000)]
busybox: add back missing crond config change

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

10 years agobusybox: update to 1.22.1
Felix Fietkau [Sun, 25 May 2014 17:42:09 +0000 (17:42 +0000)]
busybox: update to 1.22.1

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

10 years agobusybox: remove obsolete httpd patches
Felix Fietkau [Sun, 25 May 2014 17:42:02 +0000 (17:42 +0000)]
busybox: remove obsolete httpd patches

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

10 years agobusybox: remove obsolete insmod patches
Felix Fietkau [Sun, 25 May 2014 17:41:59 +0000 (17:41 +0000)]
busybox: remove obsolete insmod patches

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

10 years agobusybox: drop a udhcpc patch that has been superseded by upstream changes a long...
Felix Fietkau [Sun, 25 May 2014 17:41:55 +0000 (17:41 +0000)]
busybox: drop a udhcpc patch that has been superseded by upstream changes a long time ago

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

10 years agobusybox: remove obsolete init patch
Felix Fietkau [Sun, 25 May 2014 17:41:52 +0000 (17:41 +0000)]
busybox: remove obsolete init patch

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

10 years agobusybox: use a config option instead of a patch to select the cron directory
Felix Fietkau [Sun, 25 May 2014 17:41:48 +0000 (17:41 +0000)]
busybox: use a config option instead of a patch to select the cron directory

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

10 years agoar71xx: disable usb workarounds for ar913x again (should fix #16610)
Felix Fietkau [Sun, 25 May 2014 16:14:16 +0000 (16:14 +0000)]
ar71xx: disable usb workarounds for ar913x again (should fix #16610)

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

10 years agomac80211: mark kmod-rtlwifi as hidden (selected by rtlwifi drivers)
Felix Fietkau [Sun, 25 May 2014 12:23:14 +0000 (12:23 +0000)]
mac80211: mark kmod-rtlwifi as hidden (selected by rtlwifi drivers)

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

10 years agoRevert "ar71xx: Fix tagged+untagged operation on AR8327N (#12181)"
Jo-Philipp Wich [Sat, 24 May 2014 17:04:12 +0000 (17:04 +0000)]
Revert "ar71xx: Fix tagged+untagged operation on AR8327N (#12181)"

Revert the tagged + untagged rework for now due to regressions in
vlan setup on certain AR83xx switches.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 40842

10 years agoar71xx: enable usb quirks for all chipidea based devices
Felix Fietkau [Sat, 24 May 2014 08:01:42 +0000 (08:01 +0000)]
ar71xx: enable usb quirks for all chipidea based devices

The most important one is qca_force_host_mode, which also sets the
'Stream Disable' bit in the usbmode register.

Fixes usb stability issues on AR933x and AR7241/AR7242

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

10 years agoar71xx: fix typo in tl-wr710n mac setup (fixes #16469)
Felix Fietkau [Sat, 24 May 2014 08:01:33 +0000 (08:01 +0000)]
ar71xx: fix typo in tl-wr710n mac setup (fixes #16469)

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