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
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
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
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
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
Steven Barth [Mon, 30 Jun 2014 07:56:33 +0000 (07:56 +0000)]
odhcpd: fix build failure with musl
SVN-Revision: 41409
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Steven Barth [Thu, 26 Jun 2014 12:20:47 +0000 (12:20 +0000)]
firewall3: add fw3 zone function to enumerate devices
SVN-Revision: 41349
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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