openwrt/openwrt.git
5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 years agofirmware-utils/mkdir615h1: fix magic XOR calculation
John Crispin [Tue, 24 Jun 2014 18:13:00 +0000 (18:13 +0000)]
firmware-utils/mkdir615h1: fix magic XOR calculation

Signed-off-by: Forest Crossman <cyrozap@gmail.com>
SVN-Revision: 41314

5 years agouboot-envtools: fix build if ubi volume support is disabled
John Crispin [Tue, 24 Jun 2014 18:12:56 +0000 (18:12 +0000)]
uboot-envtools: fix build if ubi volume support is disabled

Insert a missing #ifdef UBI around the use of libubi_close().
As the preceding if (libubi) will never be true on non-UBI builds,
compiling only failed when disabling optimization.

Also rebase patch to latest u-boot.git HEAD.

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

5 years agolantiq: remove deprecated jffs2_nand configuration
John Crispin [Tue, 24 Jun 2014 18:12:52 +0000 (18:12 +0000)]
lantiq: remove deprecated jffs2_nand configuration

As far as I am aware, amongst the lantiq boards, jffs2_nand was
only used on the BTHOMEHUBV2B. Ubi-related modifications to the
device tree for that board mean that the resulting jffs2 images
no longer work, and are no longer required anyway. So I suggest
removing the related configuration, which this patch does.

If anyone else is using jffs2_nand on a lantiq target please speak
up!

Incidentally, for a jffs2 rootfs partition concatenated to the
kernel image to be recognised and mounted correctly on nand
this patch or something equivalent is required:
http://patchwork.openwrt.org/patch/5110/
It is marked as accepted in patchwork but doesn't seem to have
been committed. As far as I am concerned it too is deprecated.

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
SVN-Revision: 41312

5 years agoimage.mk: introduce Image/Build/UbinizeImage make target
John Crispin [Tue, 24 Jun 2014 18:12:47 +0000 (18:12 +0000)]
image.mk: introduce Image/Build/UbinizeImage make target

paramters:
$(1) board name
$(2) ubinize-image options (e.g. --no-kernel and/or --uboot-env)
$(3) rootfstype (e.g. squashfs or ubifs)
$(4) kernel image file
$(5) options to pass-through to ubinize (i.e. $($(PROFILE)_UBI_OPTS)))

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

5 years agolantiq: ubinize autoresize flag for rootfs_data
John Crispin [Tue, 24 Jun 2014 18:12:41 +0000 (18:12 +0000)]
lantiq: ubinize autoresize flag for rootfs_data

Setting this flag allows rootfs_data to expand on first boot
to fill remaining free space on nand.

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
SVN-Revision: 41310

5 years agokernel: update 3.14 to 3.14.8
Luka Perkov [Tue, 24 Jun 2014 12:27:36 +0000 (12:27 +0000)]
kernel: update 3.14 to 3.14.8

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

5 years agodnsmasq: use config_get_bool for dnsmasq
Steven Barth [Sun, 22 Jun 2014 15:34:36 +0000 (15:34 +0000)]
dnsmasq: use config_get_bool for dnsmasq

SVN-Revision: 41302

5 years agomac80211: disable greenfield by default
Felix Fietkau [Sun, 22 Jun 2014 11:52:53 +0000 (11:52 +0000)]
mac80211: disable greenfield by default

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

5 years agoiw: update to 3.15
Felix Fietkau [Sun, 22 Jun 2014 11:42:28 +0000 (11:42 +0000)]
iw: update to 3.15

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

5 years agomac80211: revert a faulty upstream change which is causing channel 12 to be enabled...
Felix Fietkau [Sun, 22 Jun 2014 11:42:24 +0000 (11:42 +0000)]
mac80211: revert a faulty upstream change which is causing channel 12 to be enabled for US regdomain

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

5 years agodnsmasq: set procd respawn
Steven Barth [Sun, 22 Jun 2014 09:08:14 +0000 (09:08 +0000)]
dnsmasq: set procd respawn

SVN-Revision: 41297

5 years agobrcm63xx: allow bcm963xx and livebox support at the same time
Jonas Gorski [Sat, 21 Jun 2014 19:23:38 +0000 (19:23 +0000)]
brcm63xx: allow bcm963xx and livebox support at the same time

Use the CFE_EPTSEAL to tell them apart at runtime. Added for now only
for the 3.14 until properly tested.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 41296

5 years agobrcm63xx: update variant detection patches and fix VARID shift
Jonas Gorski [Sat, 21 Jun 2014 19:23:28 +0000 (19:23 +0000)]
brcm63xx: update variant detection patches and fix VARID shift

The variant id field shift was wrong, causing the variant detection
to fail.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 41295

5 years agobrcm63xx: fix up borked patch
Jonas Gorski [Sat, 21 Jun 2014 19:23:18 +0000 (19:23 +0000)]
brcm63xx: fix up borked patch

Fix up patch borked by quilt fuzzy application of patches.

SVN-Revision: 41294

5 years agocoding style cleanups, drop old kernel support
Imre Kaloz [Sat, 21 Jun 2014 10:00:07 +0000 (10:00 +0000)]
coding style cleanups, drop old kernel support

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

5 years agoupdate mamba dts
Imre Kaloz [Fri, 20 Jun 2014 23:05:23 +0000 (23:05 +0000)]
update mamba dts

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

5 years agomake script executable, add WRT1900AC detection
Imre Kaloz [Fri, 20 Jun 2014 22:35:09 +0000 (22:35 +0000)]
make script executable, add WRT1900AC detection

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

5 years agomake thermal framework registered sensors also register as hwmons
Imre Kaloz [Fri, 20 Jun 2014 20:44:18 +0000 (20:44 +0000)]
make thermal framework registered sensors also register as hwmons

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