openwrt/staging/stintel.git
10 years agoimx6: add a script to detect the board name and populate /tmp/sysinfo
John Crispin [Wed, 18 Jun 2014 10:08:12 +0000 (10:08 +0000)]
imx6: add a script to detect the board name and populate /tmp/sysinfo

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

10 years agoar71xx: Fixes for 951Ui-2HnD board support
John Crispin [Wed, 18 Jun 2014 10:08:08 +0000 (10:08 +0000)]
ar71xx: Fixes for 951Ui-2HnD board support

WAN and LAN are swapped the wrong way around.  This patch fixes that by adding the 951Ui-2HnD to ar71xx.sh and the relevant entry in 02_network.

This patch also defines the ACT LED as the status LED in diag.sh.

Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com>
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41255

10 years agorelayd: update to latest git head
John Crispin [Wed, 18 Jun 2014 10:08:05 +0000 (10:08 +0000)]
relayd: update to latest git head

this fixes multicast fowarding on relayd links

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

10 years agoocteon: fix up the cpu flags
John Crispin [Wed, 18 Jun 2014 10:08:01 +0000 (10:08 +0000)]
octeon: fix up the cpu flags

Signed-off-by: Martin Fäcknitz <faecknitz@hotsplots.de>
SVN-Revision: 41253

10 years agoocteon: add 3 upstream patches that fix issues on the esr-lite
John Crispin [Wed, 18 Jun 2014 10:07:57 +0000 (10:07 +0000)]
octeon: add 3 upstream patches that fix issues on the esr-lite

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

10 years agotoolchain: use different defaults for octeon
John Crispin [Wed, 18 Jun 2014 10:07:53 +0000 (10:07 +0000)]
toolchain: use different defaults for octeon

force eglibc and gcc4.6+linaro for octeon

Signed-off-by: Martin Fäcknitz <faecknitz@hotsplots.de>
SVN-Revision: 41251

10 years agoinclude/target.mk: add CPU_CFLAGS_octeon
John Crispin [Wed, 18 Jun 2014 10:07:49 +0000 (10:07 +0000)]
include/target.mk: add CPU_CFLAGS_octeon

Signed-off-by: Martin Fäcknitz <faecknitz@hotsplots.de>
SVN-Revision: 41250

10 years agodnsmasq: compatibility with nettle 3.0
Steven Barth [Wed, 18 Jun 2014 10:04:47 +0000 (10:04 +0000)]
dnsmasq: compatibility with nettle 3.0

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 41249

10 years agonettle: import from packages, update to 3.0
Steven Barth [Wed, 18 Jun 2014 10:04:43 +0000 (10:04 +0000)]
nettle: import from packages, update to 3.0

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 41248

10 years agogmp: import from packages, update and reduce size
Steven Barth [Wed, 18 Jun 2014 10:04:38 +0000 (10:04 +0000)]
gmp: import from packages, update and reduce size

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 41247

10 years agodnsmasq: various house-keeping updates
Steven Barth [Wed, 18 Jun 2014 10:04:34 +0000 (10:04 +0000)]
dnsmasq: various house-keeping updates

* Add Authoritative DNS and IPSET to full variant
* Remove some bloat from IPSET support
* Reintroduce "DHCP no address warning"-patch

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 41246

10 years agodnsmasq: add UCI DNSSEC runtime support
Steven Barth [Wed, 18 Jun 2014 10:04:29 +0000 (10:04 +0000)]
dnsmasq: add UCI DNSSEC runtime support

Ship keys for the root zone and add two uci options to enable
DNSSEC checks:

Option 'dnssec': Activate DNSSEC validation
Option 'dnsseccheckunsigned': Ensure answers without DNSSEC are in
unsigned zones.

Signed-off-by: Andre Heider <a.heider@gmail.com>
SVN-Revision: 41245

10 years agodnsmasq: Add a full variant
Steven Barth [Wed, 18 Jun 2014 10:04:25 +0000 (10:04 +0000)]
dnsmasq: Add a full variant

This variant includes support for DHCPv6 and DNSSEC.
DNSSEC adds a dependency on libnettle.

Signed-off-by: Andre Heider <a.heider@gmail.com>
SVN-Revision: 41244

10 years agodnsmasq: add upstream patch to build against libnettle-mini
Steven Barth [Wed, 18 Jun 2014 10:04:21 +0000 (10:04 +0000)]
dnsmasq: add upstream patch to build against libnettle-mini

Signed-off-by: Andre Heider <a.heider@gmail.com>
SVN-Revision: 41243

10 years agodnsmasq: respect target's LDFLAGS
Steven Barth [Wed, 18 Jun 2014 10:04:17 +0000 (10:04 +0000)]
dnsmasq: respect target's LDFLAGS

Append local flags, don't overwrite.

Signed-off-by: Andre Heider <a.heider@gmail.com>
SVN-Revision: 41242

10 years agodnsmasq: use COPTS for compile time options
Steven Barth [Wed, 18 Jun 2014 10:04:02 +0000 (10:04 +0000)]
dnsmasq: use COPTS for compile time options

As documented in config.h.
Doing otherwise will break dnsmasq's pkg-wrapper script to find its
libs to link to.

Signed-off-by: Andre Heider <a.heider@gmail.com>
SVN-Revision: 41241

10 years agomvebu: be consistent with kernel config file names
Luka Perkov [Tue, 17 Jun 2014 21:04:45 +0000 (21:04 +0000)]
mvebu: be consistent with kernel config file names

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

10 years agoprocd: forgot to update the git id in the last commit
John Crispin [Tue, 17 Jun 2014 17:51:35 +0000 (17:51 +0000)]
procd: forgot to update the git id in the last commit

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

10 years agoprocd: make upgarded depend on mips, the static linking on arm fails
John Crispin [Tue, 17 Jun 2014 15:40:05 +0000 (15:40 +0000)]
procd: make upgarded depend on mips, the static linking on arm fails

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

10 years agoprocd: some cleanup for SysupgradeNAND
John Crispin [Tue, 17 Jun 2014 15:40:02 +0000 (15:40 +0000)]
procd: some cleanup for SysupgradeNAND

Removed unused ubi file file from template as ubinized images are
passed directly and not inside the tarball.
Also removed left-over white-space.

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

10 years agolantiq: DGN3500 (all known variants) factory and sysupgrade image building support
John Crispin [Tue, 17 Jun 2014 15:38:54 +0000 (15:38 +0000)]
lantiq: DGN3500 (all known variants) factory and sysupgrade image building support

This patch adds factory image building for the DGN3500, all variants,
and fixes sysupgrade images to make them play nice with the sercomm
secondary boot loader.

The factory images can be used directly in the update dialog in the
interface of the stock firmware and via the special Sercomm bootmode
and a special windows flashing utility (allegedly present in the CD
that came with the device -- but it's also compatible with the NSLU2
Upgrade_207_XP utility.) The special bootmode can be activated by
turning the device on while holding the reset button pressed, then
releasing it when the power led starts blinking red and green. Please
notice that if using the 207 utility, it will always report that the
flashing failed even though it completed successfully. Just power
cycle the router manually after the utility reports the failure and
OpenWRT will boot. This same utility (despite reporting failure in
this case too) can revert a DGN3500 (any variant) to the appropriate
stock Netgear firmware.

This patch is a heavily modified version of a package I found on the
OpenWRT forum with a couple fixes and features added -- mainly the
generation of all the different image variants to support all known
models directly, atm known variants are AnnexA-WW, AnnexA-NA and
AnnexB-DE/GR.

I tested the patch successfully on my device.

Signed-off-by: Marco Antonio Mauro <marcus90@gmail.com>
SVN-Revision: 41236

10 years agopackage the TLC59116 led driver
Imre Kaloz [Tue, 17 Jun 2014 15:15:05 +0000 (15:15 +0000)]
package the TLC59116 led driver

SVN-Revision: 41235

10 years agoadd dummy fixup for 3.10
Imre Kaloz [Tue, 17 Jun 2014 15:14:02 +0000 (15:14 +0000)]
add dummy fixup for 3.10

SVN-Revision: 41234

10 years agobuild images for the WRT1900AC
Imre Kaloz [Tue, 17 Jun 2014 15:13:33 +0000 (15:13 +0000)]
build images for the WRT1900AC

SVN-Revision: 41233

10 years agopreliminary support for the WRT1900AC (work in progress)
Imre Kaloz [Tue, 17 Jun 2014 15:13:10 +0000 (15:13 +0000)]
preliminary support for the WRT1900AC (work in progress)

SVN-Revision: 41232

10 years agopackage the TI TMP421 driver
Imre Kaloz [Tue, 17 Jun 2014 15:03:05 +0000 (15:03 +0000)]
package the TI TMP421 driver

SVN-Revision: 41231

10 years agobundle ehci-orion with kmod-usb2
Imre Kaloz [Tue, 17 Jun 2014 15:02:28 +0000 (15:02 +0000)]
bundle ehci-orion with kmod-usb2

SVN-Revision: 41230

10 years agompc85xx: fix typo in TP-Link WDR4900 profile
Jo-Philipp Wich [Tue, 17 Jun 2014 15:01:47 +0000 (15:01 +0000)]
mpc85xx: fix typo in TP-Link WDR4900 profile

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

10 years agoodhcpd: don't enable relaying by default anymore
Steven Barth [Tue, 17 Jun 2014 13:05:24 +0000 (13:05 +0000)]
odhcpd: don't enable relaying by default anymore

SVN-Revision: 41228

10 years agoiproute2: update version to 3.15.0, refresh patches, add maintainer
Steven Barth [Tue, 17 Jun 2014 12:43:30 +0000 (12:43 +0000)]
iproute2: update version to 3.15.0, refresh patches, add maintainer

Signed-off-by: Russell Senior <russell@personaltelco.net>
SVN-Revision: 41227

10 years agoodhcpd: also honor leasetime for dhcpv6
Steven Barth [Tue, 17 Jun 2014 07:59:15 +0000 (07:59 +0000)]
odhcpd: also honor leasetime for dhcpv6

SVN-Revision: 41226

10 years agoodhcpd: Improve NotOnLink-behavior and make hostid more convient to configure
Steven Barth [Tue, 17 Jun 2014 07:44:24 +0000 (07:44 +0000)]
odhcpd: Improve NotOnLink-behavior and make hostid more convient to configure

SVN-Revision: 41225

10 years agoramips: RT-N56U support fixes and factory image creation
John Crispin [Mon, 16 Jun 2014 18:57:20 +0000 (18:57 +0000)]
ramips: RT-N56U support fixes and factory image creation

Signed-off-by: Mikko Hissa <mikko.hissa@werzek.com>
SVN-Revision: 41224

10 years agoinclude/image.mk: cleanup the SysupgradeNAND template
John Crispin [Mon, 16 Jun 2014 18:55:18 +0000 (18:55 +0000)]
include/image.mk: cleanup the SysupgradeNAND template

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

10 years agoprocd: various cleanups to /lib/upgrade/nand.sh
John Crispin [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>
SVN-Revision: 41222

10 years agoprocd: update to latest git HEAD
John Crispin [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>
SVN-Revision: 41221

10 years agoprocd: rename procd_add_network_trigger
John Crispin [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>
SVN-Revision: 41220

10 years agokernel/3.1{0, 2, 3, 4}: mtd: m25p80: add support for EON EN25QH128
John Crispin [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>
SVN-Revision: 41219

10 years agokernel: replace a ubifs patch by upstream commit
John Crispin [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>
SVN-Revision: 41218

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

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

10 years agoramips: add vlan configuration for asiarf awm002-evb
John Crispin [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>
SVN-Revision: 41216

10 years agoramips: restore AWM002-EVB profile in asiarf.mk
John Crispin [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>
SVN-Revision: 41215

10 years agolantiq BTHOMEHUBV2B - update dts for automatic detection of ubi partition and rootfs...
John Crispin [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>
SVN-Revision: 41214

10 years agolantiq: fixup vgv7519 usb support
John Crispin [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>
SVN-Revision: 41213

10 years agoncurses: Install xterm-256color
Steven Barth [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>

SVN-Revision: 41212

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

SVN-Revision: 41211

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

SVN-Revision: 41197

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

SVN-Revision: 41196

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

SVN-Revision: 41194

10 years agoppp: bump to 2.4.6
Steven Barth [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>
SVN-Revision: 41193

10 years agoubi-utils: fix wrong PKG_NAME, bump copyright, add build dependency on zlib
Jo-Philipp Wich [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>
SVN-Revision: 41192

10 years agomac80211: disable the clk_* backport, it is unused by drivers and has the wrong ifdef
Felix Fietkau [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>
SVN-Revision: 41181

10 years agomac80211: fix disabling of 802.11n features
Felix Fietkau [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>
SVN-Revision: 41180

10 years agorevert an accidentally committed patch chunk
Felix Fietkau [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>
SVN-Revision: 41179

10 years agokernel: fix pkt_type filter mask for packet sockets
Felix Fietkau [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>
SVN-Revision: 41178

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

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

10 years agomusl: fix toolchain build failure caused by some header changes
Felix Fietkau [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>
SVN-Revision: 41173

10 years agoUpdate UML target to 3.10 and various improvements
Steven Barth [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>
SVN-Revision: 41172

10 years agofeeds.conf.default: add management feed
Luka Perkov [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>
SVN-Revision: 41163

10 years agob43: fix a regression on G-PHY devices
Felix Fietkau [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>
SVN-Revision: 41162

10 years agort2x00: fix crash when using TKIP on USB devices
Felix Fietkau [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>
SVN-Revision: 41161

10 years agoscripts/metadata.pl: avoid adding depends and select for the same symbol
Felix Fietkau [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>
SVN-Revision: 41160

10 years agoath9k: fix initial noise floor calibration on older chips
Felix Fietkau [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>
SVN-Revision: 41156

10 years agoath9k: make noise floor calibration and periodic calibration mutually exclusive
Felix Fietkau [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>
SVN-Revision: 41155

10 years agob43: fix frequency reporting, fixes scan issues
Felix Fietkau [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>
SVN-Revision: 41154

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

SVN-Revision: 41153

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

SVN-Revision: 41152

10 years agokernel: update 3.14 to 3.14.7
Luka Perkov [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>
SVN-Revision: 41150

10 years agofeeds.conf.default: restore the old package feed temporarily
Florian Fainelli [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>
SVN-Revision: 41149

10 years agoprocd: update to the latest version, fixes static linking of upgraded
Felix Fietkau [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>
SVN-Revision: 41148

10 years agonetifd: use procd_add_reload_trigger
Felix Fietkau [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>
SVN-Revision: 41147

10 years agoprocd: allow passing multiple config files to procd_add_reload_trigger
Felix Fietkau [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>
SVN-Revision: 41146

10 years agoramips: fix rt2x00 handling of default packages for subtargets
Felix Fietkau [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>
SVN-Revision: 41145

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

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

10 years agocurl: move to core packages
Jo-Philipp Wich [Wed, 11 Jun 2014 15:43:24 +0000 (15:43 +0000)]
curl: move to core packages

SVN-Revision: 41143

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

SVN-Revision: 41142

10 years agobase-files: properly remove stderr from zcat/bzcat
John Crispin [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>
SVN-Revision: 41135

10 years agokernel: make sure the new UBIBLOCK symbol does not break builds
John Crispin [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>
SVN-Revision: 41134

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

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

10 years agoar71xx: fix up kernel config for the nand subtarget
John Crispin [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>
SVN-Revision: 41132

10 years agoar71xx: add sysupgrade support for wndr4300
John Crispin [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>
SVN-Revision: 41131

10 years agoar71xx: remove the explicit ubi.mtd- paramaters and rename ubiroot to ubi
John Crispin [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>
SVN-Revision: 41130

10 years agoprocd: update to latest git HEAD
John Crispin [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>
SVN-Revision: 41129

10 years agofstools: the ubi flash tool is obselete now
John Crispin [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>
SVN-Revision: 41128

10 years agoinclude/image.mk: add a target for generating sysupgrade tar files for nand
John Crispin [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>
SVN-Revision: 41127

10 years agobase-files: add an ugly hack for nand to sysupgrade
John Crispin [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>
SVN-Revision: 41126

10 years agobase-files: include more ubi* tools in sysupgrade ramdisk
John Crispin [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>
SVN-Revision: 41125

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

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

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

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

10 years agokernel: add a NAND_SUPPORT symbol
John Crispin [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>
SVN-Revision: 41122

10 years agoscripts: add ubinize-image.sh to generate ubi images
John Crispin [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

SVN-Revision: 41121

10 years agokernel: backport the ubiblock patches from 3.14->3.10
John Crispin [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>
SVN-Revision: 41120

10 years agokernel: rootfs auto-mount on ubi
John Crispin [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>
SVN-Revision: 41119

10 years agokernel: backport ubiblock support from 3.15
John Crispin [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

SVN-Revision: 41118

10 years agokernel: fix kernel builds for chipidea w/ usb-gadget
Steven Barth [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>
SVN-Revision: 41115

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

SVN-Revision: 41114

10 years agoath9k: do a chip reset if noise floor calibration fails, should improve stability
Felix Fietkau [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>
SVN-Revision: 41113

10 years agonetifd: update to latest version, fixes reload issue (#16754) and adds 802.1ad support
Felix Fietkau [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>
SVN-Revision: 41112

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

SVN-Revision: 41098

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

SVN-Revision: 41097