openwrt.git
9 years agoprocd: various cleanups to /lib/upgrade/nand.sh
blogic [Mon, 16 Jun 2014 18:55:14 +0000 (18:55 +0000)]
procd: various cleanups to /lib/upgrade/nand.sh

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

9 years agoprocd: update to latest git HEAD
blogic [Mon, 16 Jun 2014 18:55:09 +0000 (18:55 +0000)]
procd: update to latest git HEAD

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

9 years agoprocd: rename procd_add_network_trigger
blogic [Mon, 16 Jun 2014 18:55:05 +0000 (18:55 +0000)]
procd: rename procd_add_network_trigger

i got complaints about the bad naming of the api. lets rename it while there are no users yet.

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

9 years agokernel/3.1{0, 2, 3, 4}: mtd: m25p80: add support for EON EN25QH128
blogic [Mon, 16 Jun 2014 18:55:01 +0000 (18:55 +0000)]
kernel/3.1{0, 2, 3, 4}: mtd: m25p80: add support for EON EN25QH128

This flash is used in newer Ubnt UniFi AP Pro

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41219 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: replace a ubifs patch by upstream commit
blogic [Mon, 16 Jun 2014 18:54:57 +0000 (18:54 +0000)]
kernel: replace a ubifs patch by upstream commit

A modified version of 552-ubifs-respect-silent-mount-flag.patch has
been merged upstream. Replace the patch in OpenWrt with the version
which has been merged.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41218 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: fixes XDXRN502J reset button
blogic [Mon, 16 Jun 2014 18:54:53 +0000 (18:54 +0000)]
ramips: fixes XDXRN502J reset button

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

9 years agoramips: add vlan configuration for asiarf awm002-evb
blogic [Mon, 16 Jun 2014 18:54:48 +0000 (18:54 +0000)]
ramips: add vlan configuration for asiarf awm002-evb

Without this, the ports all end up on vlan 1.  This enables a separate
WAN port that works.

Signed-off-by: Russell Senior <russell@personaltelco.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41216 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: restore AWM002-EVB profile in asiarf.mk
blogic [Mon, 16 Jun 2014 18:54:42 +0000 (18:54 +0000)]
ramips: restore AWM002-EVB profile in asiarf.mk

In a recent revision (r41177) John Crispin removed the profile for the
AsiaRF AWM002 eval board while adding another AsiaRF board.  This
patch restores AWM002 and also corrects a misspelling and an
apparently errant reference to an Allnet ALL0239-3G device.

Signed-off-by: Galen Seitz <galens@seitzassoc.com>
Signed-off-by: Russell Senior <russell@personaltelco.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41215 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agolantiq BTHOMEHUBV2B - update dts for automatic detection of ubi partition and rootfs...
blogic [Mon, 16 Jun 2014 18:54:38 +0000 (18:54 +0000)]
lantiq BTHOMEHUBV2B - update dts for automatic detection of ubi partition and rootfs type

This patches the BTHOMEHUB2B device tree to make use of the
new code for automatic detection of the ubi partition and the
rootfs type within it. Gets rid of the ugly alternative bootargs
lines.

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
Acked-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41214 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agolantiq: fixup vgv7519 usb support
blogic [Mon, 16 Jun 2014 18:54:33 +0000 (18:54 +0000)]
lantiq: fixup vgv7519 usb support

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

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

9 years agoncurses: Install xterm-256color
cyrus [Mon, 16 Jun 2014 18:21:02 +0000 (18:21 +0000)]
ncurses: Install xterm-256color

Based on a patch by Jonathan Bennett <jbscience87@gmail.com>

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

9 years agoodhcpd: add more consistent hostname-writing
cyrus [Mon, 16 Jun 2014 16:45:05 +0000 (16:45 +0000)]
odhcpd: add more consistent hostname-writing

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

9 years agoodhcpd: update hostfile more often
cyrus [Mon, 16 Jun 2014 09:09:13 +0000 (09:09 +0000)]
odhcpd: update hostfile more often

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

9 years agoodhcpd: fix dhcpv4 hostname attribute handling
cyrus [Mon, 16 Jun 2014 08:33:49 +0000 (08:33 +0000)]
odhcpd: fix dhcpv4 hostname attribute handling

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

9 years agoodhcpd: accept FQDN as search domain
cyrus [Sun, 15 Jun 2014 22:49:58 +0000 (22:49 +0000)]
odhcpd: accept FQDN as search domain

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

9 years agoppp: bump to 2.4.6
cyrus [Sun, 15 Jun 2014 20:55:17 +0000 (20:55 +0000)]
ppp: bump to 2.4.6

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41193 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoubi-utils: fix wrong PKG_NAME, bump copyright, add build dependency on zlib
jow [Sun, 15 Jun 2014 19:34:51 +0000 (19:34 +0000)]
ubi-utils: fix wrong PKG_NAME, bump copyright, add build dependency on zlib

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41192 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: disable the clk_* backport, it is unused by drivers and has the wrong ifdef
nbd [Fri, 13 Jun 2014 13:29:18 +0000 (13:29 +0000)]
mac80211: disable the clk_* backport, it is unused by drivers and has the wrong ifdef

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

9 years agomac80211: fix disabling of 802.11n features
nbd [Fri, 13 Jun 2014 10:10:05 +0000 (10:10 +0000)]
mac80211: fix disabling of 802.11n features

r40682 ("mac80211: clean up ht capability handling, drop the use of the
ht_capab list, use individual variables instead") removed the ht_capab list and
replaced it with optional variables to disable features for a phy. But these
variables weren't added in drv_mac80211_init_device_config and thus didn't make
any difference when modifying /etc/config/wireless.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41180 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agorevert an accidentally committed patch chunk
nbd [Fri, 13 Jun 2014 09:40:14 +0000 (09:40 +0000)]
revert an accidentally committed patch chunk

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

9 years agokernel: fix pkt_type filter mask for packet sockets
nbd [Fri, 13 Jun 2014 09:34:03 +0000 (09:34 +0000)]
kernel: fix pkt_type filter mask for packet sockets

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

9 years agoramips: add asiarf awapn2403 support
blogic [Fri, 13 Jun 2014 09:16:15 +0000 (09:16 +0000)]
ramips: add asiarf awapn2403 support

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

9 years agomusl: fix toolchain build failure caused by some header changes
nbd [Thu, 12 Jun 2014 20:30:37 +0000 (20:30 +0000)]
musl: fix toolchain build failure caused by some header changes

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

9 years agoUpdate UML target to 3.10 and various improvements
cyrus [Thu, 12 Jun 2014 17:57:19 +0000 (17:57 +0000)]
Update UML target to 3.10 and various improvements

Updated target to 3.10.36.
Added mconsole exec patch.
Added pseudo-random MAC patch (from NetKit).

Signed-off-by: Markus Stenberg <markus.stenberg@iki.fi>
Reviewed-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41172 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agofeeds.conf.default: add management feed
luka [Thu, 12 Jun 2014 15:08:08 +0000 (15:08 +0000)]
feeds.conf.default: add management feed

This feed will contain packages related to management.

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

9 years agob43: fix a regression on G-PHY devices
nbd [Thu, 12 Jun 2014 14:44:26 +0000 (14:44 +0000)]
b43: fix a regression on G-PHY devices

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

9 years agort2x00: fix crash when using TKIP on USB devices
nbd [Thu, 12 Jun 2014 14:44:23 +0000 (14:44 +0000)]
rt2x00: fix crash when using TKIP on USB devices

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

9 years agoscripts/metadata.pl: avoid adding depends and select for the same symbol
nbd [Thu, 12 Jun 2014 14:35:09 +0000 (14:35 +0000)]
scripts/metadata.pl: avoid adding depends and select for the same symbol

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

9 years agoath9k: fix initial noise floor calibration on older chips
nbd [Thu, 12 Jun 2014 11:41:12 +0000 (11:41 +0000)]
ath9k: fix initial noise floor calibration on older chips

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

9 years agoath9k: make noise floor calibration and periodic calibration mutually exclusive
nbd [Thu, 12 Jun 2014 11:41:08 +0000 (11:41 +0000)]
ath9k: make noise floor calibration and periodic calibration mutually exclusive

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

9 years agob43: fix frequency reporting, fixes scan issues
nbd [Thu, 12 Jun 2014 11:41:04 +0000 (11:41 +0000)]
b43: fix frequency reporting, fixes scan issues

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

9 years agoDisable crashlog for UML
cyrus [Thu, 12 Jun 2014 11:34:44 +0000 (11:34 +0000)]
Disable crashlog for UML

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

9 years agoodhcpd: use search domain instead of domain attribute
cyrus [Thu, 12 Jun 2014 09:22:07 +0000 (09:22 +0000)]
odhcpd: use search domain instead of domain attribute

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

9 years agokernel: update 3.14 to 3.14.7
luka [Wed, 11 Jun 2014 23:39:54 +0000 (23:39 +0000)]
kernel: update 3.14 to 3.14.7

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

9 years agofeeds.conf.default: restore the old package feed temporarily
florian [Wed, 11 Jun 2014 21:09:10 +0000 (21:09 +0000)]
feeds.conf.default: restore the old package feed temporarily

As explained here:
https://forum.openwrt.org/viewtopic.php?id=51078

allow both the old and the new packages feed to co-exist for a grace
period of 3 weeks, allowing maintainers to move packages progressively.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41149 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoprocd: update to the latest version, fixes static linking of upgraded
nbd [Wed, 11 Jun 2014 17:48:35 +0000 (17:48 +0000)]
procd: update to the latest version, fixes static linking of upgraded

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

9 years agonetifd: use procd_add_reload_trigger
nbd [Wed, 11 Jun 2014 17:05:50 +0000 (17:05 +0000)]
netifd: use procd_add_reload_trigger

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

9 years agoprocd: allow passing multiple config files to procd_add_reload_trigger
nbd [Wed, 11 Jun 2014 17:05:46 +0000 (17:05 +0000)]
procd: allow passing multiple config files to procd_add_reload_trigger

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

9 years agoramips: fix rt2x00 handling of default packages for subtargets
nbd [Wed, 11 Jun 2014 17:01:19 +0000 (17:01 +0000)]
ramips: fix rt2x00 handling of default packages for subtargets

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

9 years agoinclude/cmake.mk: fix indentation
nbd [Wed, 11 Jun 2014 17:01:15 +0000 (17:01 +0000)]
include/cmake.mk: fix indentation

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

9 years agocurl: move to core packages
jow [Wed, 11 Jun 2014 15:43:24 +0000 (15:43 +0000)]
curl: move to core packages

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

9 years agoprocd: fix overflow in hotplug socket on certain targets
cyrus [Wed, 11 Jun 2014 15:34:33 +0000 (15:34 +0000)]
procd: fix overflow in hotplug socket on certain targets

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

9 years agobase-files: properly remove stderr from zcat/bzcat
blogic [Wed, 11 Jun 2014 13:00:25 +0000 (13:00 +0000)]
base-files: properly remove stderr from zcat/bzcat

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

9 years agokernel: make sure the new UBIBLOCK symbol does not break builds
blogic [Wed, 11 Jun 2014 13:00:17 +0000 (13:00 +0000)]
kernel: make sure the new UBIBLOCK symbol does not break builds

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

9 years agoar71xx: activate the nand sutarget
blogic [Wed, 11 Jun 2014 13:00:12 +0000 (13:00 +0000)]
ar71xx: activate the nand sutarget

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

9 years agoar71xx: fix up kernel config for the nand subtarget
blogic [Wed, 11 Jun 2014 13:00:04 +0000 (13:00 +0000)]
ar71xx: fix up kernel config for the nand subtarget

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

9 years agoar71xx: add sysupgrade support for wndr4300
blogic [Wed, 11 Jun 2014 13:00:00 +0000 (13:00 +0000)]
ar71xx: add sysupgrade support for wndr4300

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

9 years agoar71xx: remove the explicit ubi.mtd- paramaters and rename ubiroot to ubi
blogic [Wed, 11 Jun 2014 12:59:57 +0000 (12:59 +0000)]
ar71xx: remove the explicit ubi.mtd- paramaters and rename ubiroot to ubi

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

9 years agoprocd: update to latest git HEAD
blogic [Wed, 11 Jun 2014 12:59:49 +0000 (12:59 +0000)]
procd: update to latest git HEAD

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

9 years agofstools: the ubi flash tool is obselete now
blogic [Wed, 11 Jun 2014 12:59:45 +0000 (12:59 +0000)]
fstools: the ubi flash tool is obselete now

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

9 years agoinclude/image.mk: add a target for generating sysupgrade tar files for nand
blogic [Wed, 11 Jun 2014 12:59:41 +0000 (12:59 +0000)]
include/image.mk: add a target for generating sysupgrade tar files for nand

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

9 years agobase-files: add an ugly hack for nand to sysupgrade
blogic [Wed, 11 Jun 2014 12:59:37 +0000 (12:59 +0000)]
base-files: add an ugly hack for nand to sysupgrade

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

9 years agobase-files: include more ubi* tools in sysupgrade ramdisk
blogic [Wed, 11 Jun 2014 12:59:33 +0000 (12:59 +0000)]
base-files: include more ubi* tools in sysupgrade ramdisk

Also add some more busybox symlinks which are useful for sysupgrade
on UBI-enabled devices.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41125 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoubi-utils: cleanup the package
blogic [Wed, 11 Jun 2014 12:59:30 +0000 (12:59 +0000)]
ubi-utils: cleanup the package

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

9 years agolibubox: update to latest git
blogic [Wed, 11 Jun 2014 12:59:26 +0000 (12:59 +0000)]
libubox: update to latest git

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

9 years agokernel: add a NAND_SUPPORT symbol
blogic [Wed, 11 Jun 2014 12:59:22 +0000 (12:59 +0000)]
kernel: add a NAND_SUPPORT symbol

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

9 years agoscripts: add ubinize-image.sh to generate ubi images
blogic [Wed, 11 Jun 2014 12:59:19 +0000 (12:59 +0000)]
scripts: add ubinize-image.sh to generate ubi images

This is a wrapper for the ubinize tool which integrates auto-generation
of the ubinize.cfg for common volume layouts with and without a kernel
volume.
It supports auto-detecting the rootfs-type and decides whether or not
to include a rootfs_data volume based on whether the rootfs is ubifs
or not (and thus is read-only and needs rootfs_data ubifs overlay).
The script allows to create layouts as found in all current
ubinize{,-overlay}.cfg files using

ubinize-image.sh --no-kernel root.{ubifs,squashfs} output.ubi $UBI_OPTS

It also includes support for adding ubootenv and ubootenv2 volumes
typically used by U-Boot for storing its environment in UBI using the
"--uboot-env" parameter.
See also
https://gitorious.org/openwrt-oxnas/openwrt-oxnas/source/target/linux/
oxnas/image/Makefile

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
 create mode 100755 scripts/ubinize-image.sh

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

9 years agokernel: backport the ubiblock patches from 3.14->3.10
blogic [Wed, 11 Jun 2014 12:59:15 +0000 (12:59 +0000)]
kernel: backport the ubiblock patches from 3.14->3.10

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

9 years agokernel: rootfs auto-mount on ubi
blogic [Wed, 11 Jun 2014 12:59:10 +0000 (12:59 +0000)]
kernel: rootfs auto-mount on ubi

Similar to the rootfs hacks on NOR flash devices, this series
introduces support for auto-attaching (ubi device), auto-creating
(ubiblock device) and mounting the "rootfs" (ubifs or squashfs)
volume.
This is needed so OpenWrt can start without relying on the bootloader
to pass the ubi.mtd, ubi.block, rootfs and rootfstype parameters, but
instead auto-detect the root filesystem according to a simple convention.

OpenWrt-specific:
490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch
491-ubi-auto-create-ubiblock-device-for-rootfs.patch
492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch
493-ubi-set-ROOT_DEV-to-ubiblock-rootfs-if-unset.patch

sent upstream:
552-ubifs-respect-silent-mount-flag.patch
http://lists.infradead.org/pipermail/linux-mtd/2014-May/053893.html

v2: actually retry with MS_RDONLY when mounting read-only ubifs root

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41119 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: backport ubiblock support from 3.15
blogic [Wed, 11 Jun 2014 12:59:06 +0000 (12:59 +0000)]
kernel: backport ubiblock support from 3.15

Backport ubiblock support from kernel 3.15 as well as all follow-up
fixes related to ubiblock.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
 create mode 100644 target/linux/generic/patches-3.14/040-UBI-R-O-block-driver-on-top-of-UBI-volumes.patch
 create mode 100644 target/linux/generic/patches-3.14/041-UBI-block-do-not-use-term-attach.patch
 create mode 100644 target/linux/generic/patches-3.14/042-UBI-block-Mark-init-only-symbol-as-__initdata.patch
 create mode 100644 target/linux/generic/patches-3.14/043-UBI-block-Use-u64-for-the-64-bit-dividend.patch
 create mode 100644 target/linux/generic/patches-3.14/044-UBI-rename-block-device-ioctls.patch
 create mode 100644 target/linux/generic/patches-3.14/045-UBI-block-Remove-__initdata-from-ubiblock_param_ops.patch
 create mode 100644 target/linux/generic/patches-3.14/046-UBI-avoid-workqueue-format-string-leak.patch
 create mode 100644 target/linux/generic/patches-3.14/047-UBI-make-UBI_IOCVOLCRBLK-take-a-parameter-for-future.patch

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

9 years agokernel: fix kernel builds for chipidea w/ usb-gadget
cyrus [Wed, 11 Jun 2014 12:19:44 +0000 (12:19 +0000)]
kernel: fix kernel builds for chipidea w/ usb-gadget

Instead of repackaging udc-core.ko again, just add a dependency to
kmod-usb-gadget, which already contains it.

Fixes kmod-chipidea builds for 3.10- with usb-gadget enabled.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41115 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agouhttpd: also bind to IPv6 by default
cyrus [Wed, 11 Jun 2014 12:11:55 +0000 (12:11 +0000)]
uhttpd: also bind to IPv6 by default

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

9 years agoath9k: do a chip reset if noise floor calibration fails, should improve stability
nbd [Wed, 11 Jun 2014 11:28:58 +0000 (11:28 +0000)]
ath9k: do a chip reset if noise floor calibration fails, should improve stability

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

9 years agonetifd: update to latest version, fixes reload issue (#16754) and adds 802.1ad support
nbd [Wed, 11 Jun 2014 10:23:12 +0000 (10:23 +0000)]
netifd: update to latest version, fixes reload issue (#16754) and adds 802.1ad support

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

9 years agonetifd: add support for onlink-flag for routes
cyrus [Tue, 10 Jun 2014 16:04:40 +0000 (16:04 +0000)]
netifd: add support for onlink-flag for routes

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

9 years agostrace: move to trunk, add myself as a maintainer
nbd [Tue, 10 Jun 2014 10:22:18 +0000 (10:22 +0000)]
strace: move to trunk, add myself as a maintainer

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

9 years agoatheros: fix too short msleep
nbd [Tue, 10 Jun 2014 09:06:25 +0000 (09:06 +0000)]
atheros: fix too short msleep

Use msleep(20) instead of msleep(10) to make code closer to reality
since msleep can sleep for up to 20ms even we request shorter delay.
All updated calls are located in PCI initialization routine which is
called only once upon device boot. So there should be no performance
issues caused by more longer delay.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41096 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: shorten lines
nbd [Tue, 10 Jun 2014 09:06:22 +0000 (09:06 +0000)]
atheros: shorten lines

Wrap lines over 80 chars or make them shorter by other ways.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41095 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: constify some static structures
nbd [Tue, 10 Jun 2014 09:06:18 +0000 (09:06 +0000)]
atheros: constify some static structures

Constify some static structures as suggested by checkpatch.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41094 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: avoid __FUNCTION__ usage
nbd [Tue, 10 Jun 2014 09:06:14 +0000 (09:06 +0000)]
atheros: avoid __FUNCTION__ usage

Use __func__ instead of gcc specific __FUNCTION__ as suggested by
checkpatch.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41093 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: trailing statements fixes
nbd [Tue, 10 Jun 2014 09:06:10 +0000 (09:06 +0000)]
atheros: trailing statements fixes

Move trailing statements to next line with indentation as suggested by
checkpatch.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41092 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: spaces fixes
nbd [Tue, 10 Jun 2014 09:06:06 +0000 (09:06 +0000)]
atheros: spaces fixes

Add missed spaces and remove odd space as suggested by checkpatch.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41091 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: indent fixes
nbd [Tue, 10 Jun 2014 09:06:03 +0000 (09:06 +0000)]
atheros: indent fixes

Various indent fixes suggested by checkpatch: use tabs, use same level
of indentation for switch and case, correct indentation levels.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41090 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: fix includes
nbd [Tue, 10 Jun 2014 09:05:58 +0000 (09:05 +0000)]
atheros: fix includes

Remove some unnecessary includes and use <linux/foo.h> instead of
<asm/foo.h> when it possible as suggested by checkpatch.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41089 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: various printk(...) fixes
nbd [Tue, 10 Jun 2014 09:05:55 +0000 (09:05 +0000)]
atheros: various printk(...) fixes

Use more particular functions dev_<level> or pr_<level>(...) insead of
direct printk(...) call. Add KERN_LEVEL to calls what missed it.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41088 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: various braces fixes
nbd [Tue, 10 Jun 2014 09:05:51 +0000 (09:05 +0000)]
atheros: various braces fixes

Fix braces location, remove unnecessary empty lines before or after code
block, remove useless braces. All cases are detected by checkpatch.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41087 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: do not initialize statics to 0 or false
nbd [Tue, 10 Jun 2014 09:05:47 +0000 (09:05 +0000)]
atheros: do not initialize statics to 0 or false

as suggested by checkpatch.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41086 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: remove trailing whitespace
nbd [Tue, 10 Jun 2014 09:05:43 +0000 (09:05 +0000)]
atheros: remove trailing whitespace

as suggested by checkpatch.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41085 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: do not assignment in if condition
nbd [Tue, 10 Jun 2014 09:05:40 +0000 (09:05 +0000)]
atheros: do not assignment in if condition

Remove assignments from if conditions as suggested by checkpatch.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41084 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: remove parentheses around return values
nbd [Tue, 10 Jun 2014 09:05:36 +0000 (09:05 +0000)]
atheros: remove parentheses around return values

Remove parentheses around return values since return is no a function,
as suggested by checkpatch.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41083 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: parenthesis around complex macroses value
nbd [Tue, 10 Jun 2014 09:05:32 +0000 (09:05 +0000)]
atheros: parenthesis around complex macroses value

Use parenthesis around complex macroses value as suggested by
checkpatch.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41082 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: various comments fixes
nbd [Tue, 10 Jun 2014 09:05:28 +0000 (09:05 +0000)]
atheros: various comments fixes

Fix comment issues detected by checkpatch. Convert C99 // comments to
ordinary /* ... */ comments. Correct block comments style or convert
them to single line comments.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41081 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoatheros: avoid CamelCase
nbd [Tue, 10 Jun 2014 09:05:25 +0000 (09:05 +0000)]
atheros: avoid CamelCase

Change fooBar variables names to foo_bar as suggested by checkpatch,
write few tables names in lower case and correctly place __initdata
keyword.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41080 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoodhcpd: various regression fixes (thanks Hans Dedecker)
cyrus [Tue, 10 Jun 2014 08:47:15 +0000 (08:47 +0000)]
odhcpd: various regression fixes (thanks Hans Dedecker)

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

9 years agoSwitching default packages feed to github
cyrus [Tue, 10 Jun 2014 05:17:41 +0000 (05:17 +0000)]
Switching default packages feed to github

New feed: https://github.com/openwrt/packages
Maintainers please move your packages there.

See also: https://lists.openwrt.org/pipermail/openwrt-devel/2014-June/025810.html

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

9 years agomountd: remove a bogus include to fix compile with musl
nbd [Mon, 9 Jun 2014 13:48:00 +0000 (13:48 +0000)]
mountd: remove a bogus include to fix compile with musl

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

9 years agolibnfnetlink: fix musl compile errors
nbd [Mon, 9 Jun 2014 13:47:56 +0000 (13:47 +0000)]
libnfnetlink: fix musl compile errors

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

9 years agoubi-utils: fix musl compile errors
nbd [Mon, 9 Jun 2014 13:47:52 +0000 (13:47 +0000)]
ubi-utils: fix musl compile errors

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

9 years agoutil-linux: use qsort instead of qsort_r to fix compile error with musl
nbd [Mon, 9 Jun 2014 13:47:48 +0000 (13:47 +0000)]
util-linux: use qsort instead of qsort_r to fix compile error with musl

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

9 years agoxfsprogs: fix compile errors with musl
nbd [Mon, 9 Jun 2014 13:47:44 +0000 (13:47 +0000)]
xfsprogs: fix compile errors with musl

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

9 years agouhttpd: update to the latest version, fixes musl compile issues
nbd [Mon, 9 Jun 2014 13:47:40 +0000 (13:47 +0000)]
uhttpd: update to the latest version, fixes musl compile issues

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

9 years agomusl: install a few extra headers to improve compatibility with various packages
nbd [Mon, 9 Jun 2014 13:47:36 +0000 (13:47 +0000)]
musl: install a few extra headers to improve compatibility with various packages

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

9 years agokernel: add missing dependency for kmod-fs-nfs
nbd [Sun, 8 Jun 2014 12:07:42 +0000 (12:07 +0000)]
kernel: add missing dependency for kmod-fs-nfs

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

9 years agovalgrind: avoid including linux/ptrace.h to fix a musl build error
nbd [Sun, 8 Jun 2014 11:21:37 +0000 (11:21 +0000)]
valgrind: avoid including linux/ptrace.h to fix a musl build error

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

9 years agobrcm47xx: merge FEATURES lines in the legacy subtarget
nbd [Sun, 8 Jun 2014 09:51:38 +0000 (09:51 +0000)]
brcm47xx: merge FEATURES lines in the legacy subtarget

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

9 years agobrcm47xx: fix kmod-usb-brcm47xx build on legacy and mips74k subtargets
nbd [Sun, 8 Jun 2014 09:45:55 +0000 (09:45 +0000)]
brcm47xx: fix kmod-usb-brcm47xx build on legacy and mips74k subtargets

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

9 years agouqmi: use -ffunction-sections and --gc-sections, reduces binary size from 57k to 29k
nbd [Sat, 7 Jun 2014 19:14:17 +0000 (19:14 +0000)]
uqmi: use -ffunction-sections and --gc-sections, reduces binary size from 57k to 29k

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

9 years agobrcm47xx: activate some compiler optimizations for 74K CPUs
hauke [Sat, 7 Jun 2014 17:36:02 +0000 (17:36 +0000)]
brcm47xx: activate some compiler optimizations for 74K CPUs

With this patch the mips74k subtarget will be compiled with optimized
compiler options to generated smaller and faster code. This currently
breaks broadcom-wl, because the binary blob is only compiled with
mipsr1 support.

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

9 years agobrcm47xx: move the low_mem feature flag to the legacy subtarget
nbd [Sat, 7 Jun 2014 17:21:30 +0000 (17:21 +0000)]
brcm47xx: move the low_mem feature flag to the legacy subtarget

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

9 years agobrcm47xx: remove old gpio and nvram interfaces
hauke [Sat, 7 Jun 2014 17:04:37 +0000 (17:04 +0000)]
brcm47xx: remove old gpio and nvram interfaces

These were only used by broadcom-diag any more.

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