openwrt/staging/stintel.git
10 years agobrcm63xx: CPVA502+ board fixes
Jonas Gorski [Mon, 30 Jun 2014 13:34:28 +0000 (13:34 +0000)]
brcm63xx: CPVA502+ board fixes

Some fixes for Telsey CPVA502+ bcm6348 routers:
- reset the external PHY (eth1) with proper platform code, not using a led definiton
- eth1 is an external phy, not a switch, deleted forced link speed
- fixed led color

Patch made for 3.14 kernel patches.

Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com>
[jogo: also fix 3.14, refresh patches]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 41420

10 years agoopenvpn: update to version 2.3.4
Felix Fietkau [Mon, 30 Jun 2014 12:43:03 +0000 (12:43 +0000)]
openvpn: update to version 2.3.4

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

10 years agobusybox: fix validation in sysntpd init script
Luka Perkov [Mon, 30 Jun 2014 10:11:18 +0000 (10:11 +0000)]
busybox: fix validation in sysntpd init script

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

10 years agoprocd: fix uci_validation
John Crispin [Mon, 30 Jun 2014 09:57:29 +0000 (09:57 +0000)]
procd: fix uci_validation

Regardles of the return code from validate_data _error variable will be 0 due
to 'local' command in the previous line. With this patch we are able to catch
the return code from validate_data tool.

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

10 years agoubox: update to latest git
John Crispin [Mon, 30 Jun 2014 09:57:25 +0000 (09:57 +0000)]
ubox: update to latest git

this adds validation fixes

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

10 years agobuild: Introduce PKG_CHECK_FORMAT_SECURITY
Felix Fietkau [Mon, 30 Jun 2014 08:19:52 +0000 (08:19 +0000)]
build: Introduce PKG_CHECK_FORMAT_SECURITY

The idea is to get rid of
http://en.wikipedia.org/wiki/Uncontrolled_format_string
by using "-Wformat -Werror=format-security" by default

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
SVN-Revision: 41412

10 years agobuild: disable the PKG_CHECK_FORMAT_SECURITY check for the failing packages
Felix Fietkau [Mon, 30 Jun 2014 08:19:48 +0000 (08:19 +0000)]
build: disable the PKG_CHECK_FORMAT_SECURITY check for the failing packages

The idea is to gradually fix the packages

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
SVN-Revision: 41411

10 years agorbcfg: fix format string bug
Felix Fietkau [Mon, 30 Jun 2014 08:19:44 +0000 (08:19 +0000)]
rbcfg: fix format string bug

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
SVN-Revision: 41410

10 years agoodhcpd: fix build failure with musl
Steven Barth [Mon, 30 Jun 2014 07:56:33 +0000 (07:56 +0000)]
odhcpd: fix build failure with musl

SVN-Revision: 41409

10 years agoscripts: unset GREP_OPTIONS in env and feeds (fixes #16924)
Felix Fietkau [Mon, 30 Jun 2014 06:50:22 +0000 (06:50 +0000)]
scripts: unset GREP_OPTIONS in env and feeds (fixes #16924)

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

10 years agomvebu: drop 3.10 support
Luka Perkov [Sun, 29 Jun 2014 23:29:57 +0000 (23:29 +0000)]
mvebu: drop 3.10 support

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

10 years agobase-files: define yes/no as valid boolean options
Luka Perkov [Sun, 29 Jun 2014 23:05:05 +0000 (23:05 +0000)]
base-files: define yes/no as valid boolean options

ubox validate_data defines yes/no as valid boolean options, do the same in
config_get_bool too.

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

10 years agopppd: fix build with musl
Felix Fietkau [Sun, 29 Jun 2014 22:26:08 +0000 (22:26 +0000)]
pppd: fix build with musl

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

10 years agorpcd: update to the latest version, fixes build with musl
Felix Fietkau [Sun, 29 Jun 2014 22:26:05 +0000 (22:26 +0000)]
rpcd: update to the latest version, fixes build with musl

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

10 years agosamba36: fix build error with musl
Felix Fietkau [Sun, 29 Jun 2014 22:26:02 +0000 (22:26 +0000)]
samba36: fix build error with musl

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

10 years agorelayd: update to the latest version, fixes musl compile and multicast relaying
Felix Fietkau [Sun, 29 Jun 2014 22:25:58 +0000 (22:25 +0000)]
relayd: update to the latest version, fixes musl compile and multicast relaying

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

10 years agolibrpc: fix compile errors with musl
Felix Fietkau [Sun, 29 Jun 2014 22:25:54 +0000 (22:25 +0000)]
librpc: fix compile errors with musl

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

10 years agomusl: add sgidefs.h
Felix Fietkau [Sun, 29 Jun 2014 22:25:51 +0000 (22:25 +0000)]
musl: add sgidefs.h

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

10 years agomusl: add a few more glibc types to includes
Felix Fietkau [Sun, 29 Jun 2014 22:25:46 +0000 (22:25 +0000)]
musl: add a few more glibc types to includes

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

10 years agogettext-full: use uclibc workarounds for musl as well
Felix Fietkau [Sun, 29 Jun 2014 22:25:43 +0000 (22:25 +0000)]
gettext-full: use uclibc workarounds for musl as well

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

10 years agomusl: remove fake glibc defines
Felix Fietkau [Sun, 29 Jun 2014 22:25:40 +0000 (22:25 +0000)]
musl: remove fake glibc defines

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

10 years agostrace: fix compile with musl
Felix Fietkau [Sun, 29 Jun 2014 22:25:36 +0000 (22:25 +0000)]
strace: fix compile with musl

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

10 years agomusl: update to version 1.1.3
Felix Fietkau [Sun, 29 Jun 2014 22:25:32 +0000 (22:25 +0000)]
musl: update to version 1.1.3

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

10 years agonetifd: update to the latest version, fixes a crash on reload with hotplugged devices
Felix Fietkau [Sun, 29 Jun 2014 21:27:28 +0000 (21:27 +0000)]
netifd: update to the latest version, fixes a crash on reload with hotplugged devices

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

10 years agofix the WPS button's GPIO number on the mamba
Imre Kaloz [Sun, 29 Jun 2014 21:26:01 +0000 (21:26 +0000)]
fix the WPS button's GPIO number on the mamba

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

10 years agokernel: add missing config symbols
Jonas Gorski [Sun, 29 Jun 2014 18:36:39 +0000 (18:36 +0000)]
kernel: add missing config symbols

Spotted by several buildbots.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Patchwork: http://patchwork.openwrt.org/patch/5768/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 41391

10 years agonetifd: update to the latest version, addds a few fixes and enables multicast->unicas...
Felix Fietkau [Sun, 29 Jun 2014 18:34:22 +0000 (18:34 +0000)]
netifd: update to the latest version, addds a few fixes and enables multicast->unicast for igmp snooping on wireless devices

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

10 years agoubox: add explicit dependency on libubus to catch ABI changes
Felix Fietkau [Sun, 29 Jun 2014 15:41:39 +0000 (15:41 +0000)]
ubox: add explicit dependency on libubus to catch ABI changes

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

10 years agoupgrade to Linux 3.14.9
Imre Kaloz [Sun, 29 Jun 2014 13:11:57 +0000 (13:11 +0000)]
upgrade to Linux 3.14.9

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

10 years agobuild firmware images for the Mamba (Linksys WRT1900AC)
Imre Kaloz [Sun, 29 Jun 2014 13:10:35 +0000 (13:10 +0000)]
build firmware images for the Mamba (Linksys WRT1900AC)

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

10 years agoset nand and squashfs features
Imre Kaloz [Sun, 29 Jun 2014 13:09:15 +0000 (13:09 +0000)]
set nand and squashfs features

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

10 years agoadd uboot-envtools by default
Imre Kaloz [Sun, 29 Jun 2014 13:06:48 +0000 (13:06 +0000)]
add uboot-envtools by default

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

10 years agohandle the dual-firmware layout on the WRT1900AC
Imre Kaloz [Sun, 29 Jun 2014 13:03:55 +0000 (13:03 +0000)]
handle the dual-firmware layout on the WRT1900AC

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

10 years agouse the power led on the WRT1900AC for status reporting
Imre Kaloz [Sun, 29 Jun 2014 12:53:09 +0000 (12:53 +0000)]
use the power led on the WRT1900AC for status reporting

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

10 years agofixup mac addresses on the WRT1900AC
Imre Kaloz [Sun, 29 Jun 2014 12:51:39 +0000 (12:51 +0000)]
fixup mac addresses on the WRT1900AC

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

10 years agoautomatically generate network config
Imre Kaloz [Sun, 29 Jun 2014 12:50:12 +0000 (12:50 +0000)]
automatically generate network config

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

10 years agoadd mvebu support
Imre Kaloz [Sun, 29 Jun 2014 12:38:35 +0000 (12:38 +0000)]
add mvebu support

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

10 years agoupdate mamba dts
Imre Kaloz [Sun, 29 Jun 2014 11:44:58 +0000 (11:44 +0000)]
update mamba dts

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

10 years agokernel: add missing config symbol
Felix Fietkau [Sun, 29 Jun 2014 11:35:07 +0000 (11:35 +0000)]
kernel: add missing config symbol

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

10 years agoconntrack-tools: fix build on octeon
Felix Fietkau [Sun, 29 Jun 2014 11:33:03 +0000 (11:33 +0000)]
conntrack-tools: fix build on octeon

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

10 years agoconntrack-tools: leave out bogus reject files on unpacking
Felix Fietkau [Sun, 29 Jun 2014 11:33:00 +0000 (11:33 +0000)]
conntrack-tools: leave out bogus reject files on unpacking

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

10 years agopx5g-standalone: disable long long to fix compiler errors on mips64
Felix Fietkau [Sun, 29 Jun 2014 11:03:46 +0000 (11:03 +0000)]
px5g-standalone: disable long long to fix compiler errors on mips64

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

10 years agoeglibc: temporarily disable parallel build until fixed
Felix Fietkau [Sun, 29 Jun 2014 11:03:42 +0000 (11:03 +0000)]
eglibc: temporarily disable parallel build until fixed

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

10 years agoxburst: remove bogus led support override
Felix Fietkau [Sun, 29 Jun 2014 10:25:30 +0000 (10:25 +0000)]
xburst: remove bogus led support override

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

10 years agox86/kvm_guest: fix out of sync config-3.10
John Crispin [Sun, 29 Jun 2014 10:11:17 +0000 (10:11 +0000)]
x86/kvm_guest: fix out of sync config-3.10

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

10 years agokernel: xen-kbdfront.ko is at a different path Signed-off-by: John Crispin <blogic...
John Crispin [Sun, 29 Jun 2014 09:48:41 +0000 (09:48 +0000)]
kernel: xen-kbdfront.ko is at a different path Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41371

10 years agoscripts/ubinize-image.sh: fix ubinize-image.sh when used with --kernel
John Crispin [Sun, 29 Jun 2014 06:59:29 +0000 (06:59 +0000)]
scripts/ubinize-image.sh: fix ubinize-image.sh when used with --kernel

r41359 broke support for building ubinized images which do
include a kernel volume.

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

10 years agokernel: implement optinal multicast->unicast conversion for igmp snooping
Felix Fietkau [Sat, 28 Jun 2014 22:27:54 +0000 (22:27 +0000)]
kernel: implement optinal multicast->unicast conversion for igmp snooping

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

10 years agokernel: enable bridge igmp snooping
Felix Fietkau [Sat, 28 Jun 2014 22:27:49 +0000 (22:27 +0000)]
kernel: enable bridge igmp snooping

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

10 years agoar71xx: refresh patches
Felix Fietkau [Sat, 28 Jun 2014 22:27:46 +0000 (22:27 +0000)]
ar71xx: refresh patches

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

10 years agoxburst: remove bogus config override
Felix Fietkau [Sat, 28 Jun 2014 19:48:03 +0000 (19:48 +0000)]
xburst: remove bogus config override

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

10 years agoar7: backport an upstream fixing serial console
Florian Fainelli [Fri, 27 Jun 2014 22:17:00 +0000 (22:17 +0000)]
ar7: backport an upstream fixing serial console

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

10 years agokernel: update 3.14 to 3.14.9
Luka Perkov [Fri, 27 Jun 2014 21:10:02 +0000 (21:10 +0000)]
kernel: update 3.14 to 3.14.9

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

10 years agoupdate config for 3.14
Imre Kaloz [Fri, 27 Jun 2014 20:38:42 +0000 (20:38 +0000)]
update config for 3.14

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

10 years agobuild squashfs on ubi and SysupgradeNAND images
Imre Kaloz [Fri, 27 Jun 2014 13:00:25 +0000 (13:00 +0000)]
build squashfs on ubi and SysupgradeNAND images

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

10 years agomake UbinizeImage work nicely without a kernel volume
Imre Kaloz [Fri, 27 Jun 2014 12:58:08 +0000 (12:58 +0000)]
make UbinizeImage work nicely without a kernel volume

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

10 years ago6in4: send password unhashed
Jo-Philipp Wich [Fri, 27 Jun 2014 10:40:44 +0000 (10:40 +0000)]
6in4: send password unhashed

The preferred he.net /nic/update endpoint expects the password or updatekey in
plain text and not as md5 sum, therfore remove the hashing operation from the
script.

This effectively renders the "updatekey" option redundant but we keep it around
for backwards compatibility. Both "option password" and "option updatekey" will
have end up in the "&password=" parameter of the update url and are passed through
unmodified.

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

10 years agotoolchain: only take last found libgcc* file
Jo-Philipp Wich [Fri, 27 Jun 2014 10:40:21 +0000 (10:40 +0000)]
toolchain: only take last found libgcc* file

The current $(wildcard ...) match might return multiple files which will break subsequent cp commands
with an error like:

  cp: target `/home/user/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/root-ar71xx/tmp-libc/lib/libgcc_s_pic.a' is not a directory

Prevent this issue by only taking the last path returned by globbing.

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

10 years agoinclude UbinizeImage parameters' description in the file
Imre Kaloz [Fri, 27 Jun 2014 10:32:09 +0000 (10:32 +0000)]
include UbinizeImage parameters' description in the file

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

10 years agobusybox: use ntp enabled config option
John Crispin [Fri, 27 Jun 2014 07:55:03 +0000 (07:55 +0000)]
busybox: use ntp enabled config option

Even if enabled option is missing from ntp configuration we are still keeping
default behavior.

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

10 years agobase-files: add enabled config option for ntp service
John Crispin [Fri, 27 Jun 2014 07:52:06 +0000 (07:52 +0000)]
base-files: add enabled config option for ntp service

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

10 years agoralink: refresh kernel patches
John Crispin [Thu, 26 Jun 2014 13:47:50 +0000 (13:47 +0000)]
ralink: refresh kernel patches

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

10 years agokernel: refresh generic patches
John Crispin [Thu, 26 Jun 2014 13:47:46 +0000 (13:47 +0000)]
kernel: refresh generic patches

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

10 years agokernel: update 3.10.36->3.10.44
John Crispin [Thu, 26 Jun 2014 13:47:42 +0000 (13:47 +0000)]
kernel: update 3.10.36->3.10.44

205-fix-headers_install.patch is obseleted by upstream commit 3246a0352e3d58380b9386570f1db1faf7edf8a8

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

10 years agoar71xx: r41348 is missing these files
John Crispin [Thu, 26 Jun 2014 13:47:35 +0000 (13:47 +0000)]
ar71xx: r41348 is missing these files

sorry, the downside when applying patches with patch

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

10 years agofirewall3: add fw3 zone function to enumerate devices
Steven Barth [Thu, 26 Jun 2014 12:20:47 +0000 (12:20 +0000)]
firewall3: add fw3 zone function to enumerate devices

SVN-Revision: 41349

10 years agoar71xx: add support for EasyLink M150 and M-mini
John Crispin [Thu, 26 Jun 2014 11:49:47 +0000 (11:49 +0000)]
ar71xx: add support for EasyLink M150 and M-mini

v3 refreshes the patch on trunk@41337

This patch adds support for the EasyLink EL-M150 and M-mini

http://wiki.openwrt.org/toh/easylink/el-m150
http://wiki.openwrt.org/toh/easylink/el-m-mini

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
SVN-Revision: 41348

10 years agoscripts/ubinize-image.sh: fix parameter handling
John Crispin [Thu, 26 Jun 2014 11:43:42 +0000 (11:43 +0000)]
scripts/ubinize-image.sh: fix parameter handling

ubinize-image.sh previously used ${var:offset:length} substitutions
which are not valid in standard shell.
Replace the existing parameter matching by a case ... esac expression.

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

10 years agoar71xx: nbg6716: Enable procd nand sysupgrage
John Crispin [Thu, 26 Jun 2014 11:43:38 +0000 (11:43 +0000)]
ar71xx: nbg6716: Enable procd nand sysupgrage

This enables the procd nand upgrade for ZyXEL NBG 6716. Also the ubi config
is cleaned up to match the wndr4300.

Signed-off-by: André Valentin <avalentin@marcant.net>
SVN-Revision: 41346

10 years agomdns: add the new openwrt mdns daemon
John Crispin [Thu, 26 Jun 2014 11:43:34 +0000 (11:43 +0000)]
mdns: add the new openwrt mdns daemon

this is still wip, you can use the following ubus calls.

ubus call mdns scan # triggers a scan
ubus call mdns browse # look at the currenlty cached records
ubus call mdns hosts # look at the currenlty cached hosts

TODO
- ipv6, currenlty AAAA records are handled but only on v4 sockets
- finish the service announce code

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

10 years agobase-files: add a post start hook to the procd init.d api
John Crispin [Thu, 26 Jun 2014 11:43:30 +0000 (11:43 +0000)]
base-files: add a post start hook to the procd init.d api

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

10 years agoralink: fix up WRTNode vs WRTNODE in the dts file
John Crispin [Thu, 26 Jun 2014 11:43:26 +0000 (11:43 +0000)]
ralink: fix up WRTNode vs WRTNODE in the dts file

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

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

10 years agoiputils: fix compile when using eglibc
John Crispin [Thu, 26 Jun 2014 11:42:57 +0000 (11:42 +0000)]
iputils: fix compile when using eglibc

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

10 years agomvebu: drop preinit script
Luka Perkov [Thu, 26 Jun 2014 10:21:32 +0000 (10:21 +0000)]
mvebu: drop preinit script

The /lib/mvebu.sh script can now handle this task.

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

10 years agouboot-envtools: use new scripts from /lib/ to match boards
Luka Perkov [Thu, 26 Jun 2014 10:14:14 +0000 (10:14 +0000)]
uboot-envtools: use new scripts from /lib/ to match boards

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

10 years agoimx6: move imx6.sh to /lib/ for consistency
Luka Perkov [Thu, 26 Jun 2014 10:14:13 +0000 (10:14 +0000)]
imx6: move imx6.sh to /lib/ for consistency

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

10 years agokirkwood: move kirkwood.sh to /lib/ for consistency
Luka Perkov [Thu, 26 Jun 2014 10:13:47 +0000 (10:13 +0000)]
kirkwood: move kirkwood.sh to /lib/ for consistency

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

10 years agoubus: update to the latest version, fixes netifd related crashes on ubus calls during...
Felix Fietkau [Wed, 25 Jun 2014 08:32:14 +0000 (08:32 +0000)]
ubus: update to the latest version, fixes netifd related crashes on ubus calls during reload

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

10 years agokirkwood: base-files: use /lib/functions/kirkwood.sh
Luka Perkov [Tue, 24 Jun 2014 18:18:53 +0000 (18:18 +0000)]
kirkwood: base-files: use /lib/functions/kirkwood.sh

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

10 years agokirkwood: base-files: add script to detect board name and populate /tmp/sysinfo
Luka Perkov [Tue, 24 Jun 2014 18:18:51 +0000 (18:18 +0000)]
kirkwood: base-files: add script to detect board name and populate /tmp/sysinfo

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

10 years agobase-files: update copyright headers
Luka Perkov [Tue, 24 Jun 2014 18:18:50 +0000 (18:18 +0000)]
base-files: update copyright headers

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

10 years agoar71xx: fix wndr3700v4 image header
John Crispin [Tue, 24 Jun 2014 18:14:23 +0000 (18:14 +0000)]
ar71xx: fix wndr3700v4 image header

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

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

10 years agoar71xx: remove old jffs2 marker from image generation on nand targets
John Crispin [Tue, 24 Jun 2014 18:14:18 +0000 (18:14 +0000)]
ar71xx: remove old jffs2 marker from image generation on nand targets

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

10 years agoralink: Update MT7530 switch driver.
John Crispin [Tue, 24 Jun 2014 18:14:14 +0000 (18:14 +0000)]
ralink: Update MT7530 switch driver.

- Support set VLAN ID of each vlan.
- Support untag feature.
- Replace register address with C MACRO.
- There are 8 ports for MT7530 actually.

Signed-off-by: Xiongfei Guo <xfguo@credosemi.com>
SVN-Revision: 41331

10 years agompc83xx: add missing kernelnames into Makefile
John Crispin [Tue, 24 Jun 2014 18:14:09 +0000 (18:14 +0000)]
mpc83xx: add missing kernelnames into Makefile

add missing kernelnames to Makefile because those files are needed in 'target/linux/mpc83xx/image/Makefile'. Without them a compilation for mpc83xx is not possible - the buildbot stops with the error "No such file or directory"

Signed-off-by: Claudio Thomas <ct@xmodus-systems.de>
SVN-Revision: 41330

10 years agoconfig/Config-images.in: enable zlib as the default ubi compression
John Crispin [Tue, 24 Jun 2014 18:14:05 +0000 (18:14 +0000)]
config/Config-images.in: enable zlib as the default ubi compression

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

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

10 years agolibubox: update to latest git head
John Crispin [Tue, 24 Jun 2014 18:14:01 +0000 (18:14 +0000)]
libubox: update to latest git head

this adds 5 lua fixes to the tree

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

10 years agoprocd: fix nand.sh kernel_length typo
John Crispin [Tue, 24 Jun 2014 18:13:56 +0000 (18:13 +0000)]
procd: fix nand.sh kernel_length typo

sysupgrade otherwise skips kernel part on devices which got
kernel in ubi due to kern_length being undefined, kernel_length
is being used instead.

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

10 years agoSysupgradeNAND: include rootfs-type in image name
John Crispin [Tue, 24 Jun 2014 18:13:51 +0000 (18:13 +0000)]
SysupgradeNAND: include rootfs-type in image name

also add quotes to paths

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

10 years agoatheros[ar2315-spiflash]: remove duplicated definitions
John Crispin [Tue, 24 Jun 2014 18:13:47 +0000 (18:13 +0000)]
atheros[ar2315-spiflash]: remove duplicated definitions

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41325

10 years agoatheros[ar2315-spiflash]: update driver id
John Crispin [Tue, 24 Jun 2014 18:13:43 +0000 (18:13 +0000)]
atheros[ar2315-spiflash]: update driver id

Make id more specific and consistent with others platform drivers.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41324

10 years agoatheros[ar2315-spiflash]: make local variables and functions static
John Crispin [Tue, 24 Jun 2014 18:13:39 +0000 (18:13 +0000)]
atheros[ar2315-spiflash]: make local variables and functions static

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41323

10 years agoatheros[ar2315-spiflash]: I/O fixes
John Crispin [Tue, 24 Jun 2014 18:13:35 +0000 (18:13 +0000)]
atheros[ar2315-spiflash]: I/O fixes

Directly use ioread/iowrite functions to avoid odd dependency. And
carefully annotate I/O memory pointers.

Singed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41322

10 years agoatheros[ar2315-spiflash]: make spiflash header local
John Crispin [Tue, 24 Jun 2014 18:13:31 +0000 (18:13 +0000)]
atheros[ar2315-spiflash]: make spiflash header local

We do not need global access to it, so move it from arch include to the
mtd subdir.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41321

10 years agoatheros[ar2315-spiflash]: pass I/O mem regions via resources
John Crispin [Tue, 24 Jun 2014 18:13:27 +0000 (18:13 +0000)]
atheros[ar2315-spiflash]: pass I/O mem regions via resources

Pass I/O memory regions (flash read and MMR) via platform device
resources array and use them inside spiflash driver.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41320

10 years agoatheros[ar231x-pci]: do not touch iomem_resource ranges
John Crispin [Tue, 24 Jun 2014 18:13:22 +0000 (18:13 +0000)]
atheros[ar231x-pci]: do not touch iomem_resource ranges

Moving the start of IO mem to 0x10000000 leads to allocation conflict
with SPI flash memory region, which starts at 0x08000000.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41319

10 years agoatheros[ar2315-spiflash]: print detected flash size
John Crispin [Tue, 24 Jun 2014 18:13:17 +0000 (18:13 +0000)]
atheros[ar2315-spiflash]: print detected flash size

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41318

10 years agoatheros[ar2315]: don't detect flash size during board initialization
John Crispin [Tue, 24 Jun 2014 18:13:13 +0000 (18:13 +0000)]
atheros[ar2315]: don't detect flash size during board initialization

We should not detect actual flash size during board initialization to
find board config at the end of the flash, just use large enough mapping
size (currently 128 mbit). If mapping size is larger than the actual
flash size, than flash will simply be mapped multiple times. This change
simplifies code by removing duplication and saves about 200 bytes of
uncompressed kernel :)

Tested with Ubnt LS2 board equipped with STM 25p32v6p NOR flash (32 mbit).

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41317

10 years agoatheros[ar231x-eth]: merge patch
John Crispin [Tue, 24 Jun 2014 18:13:09 +0000 (18:13 +0000)]
atheros[ar231x-eth]: merge patch

Merge 3_10-updates.patch into the ar2313_ethernet.patch since it contains
only one ethernet driver fix.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 41316

10 years agofstools: fix factory reset on ubifs overlay
John Crispin [Tue, 24 Jun 2014 18:13:05 +0000 (18:13 +0000)]
fstools: fix factory reset on ubifs overlay

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