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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 years agopackage the gpio-fan module
Imre Kaloz [Fri, 20 Jun 2014 20:42:47 +0000 (20:42 +0000)]
package the gpio-fan module

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

10 years agodefine the power led for the WRT1900AC
Imre Kaloz [Fri, 20 Jun 2014 19:13:01 +0000 (19:13 +0000)]
define the power led for the WRT1900AC

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

10 years agonetifd: various routing table handling fixes
Steven Barth [Fri, 20 Jun 2014 17:51:25 +0000 (17:51 +0000)]
netifd: various routing table handling fixes

SVN-Revision: 41287

10 years agoocteon: add sysupgrade support for the erlite
John Crispin [Fri, 20 Jun 2014 13:41:16 +0000 (13:41 +0000)]
octeon: add sysupgrade support for the erlite

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

10 years agoocteon: build a sysupgrade image for erlite
John Crispin [Fri, 20 Jun 2014 13:41:12 +0000 (13:41 +0000)]
octeon: build a sysupgrade image for erlite

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

10 years agobase-files: regenerate the /lib64 symlink when switching to a ramdisk
John Crispin [Fri, 20 Jun 2014 13:41:08 +0000 (13:41 +0000)]
base-files: regenerate the /lib64 symlink when switching to a ramdisk

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

10 years agoRevert "netifd: fix handling of "lookup main" for ip rules (#15315)"
Jo-Philipp Wich [Fri, 20 Jun 2014 12:28:35 +0000 (12:28 +0000)]
Revert "netifd: fix handling of "lookup main" for ip rules (#15315)"

The netifd fixes went to the wrong repository, revert until it is sorted out.

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

10 years agonetifd: fix handling of "lookup main" for ip rules (#15315)
Jo-Philipp Wich [Fri, 20 Jun 2014 09:58:16 +0000 (09:58 +0000)]
netifd: fix handling of "lookup main" for ip rules (#15315)

Reworks the handling of RT_TABLE_MAIN in system-linux.c so that ip rules
with lookup main can be properly setup.

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

10 years agobase-files: depend on jsonfilter and rewrite network.sh to use it
Jo-Philipp Wich [Thu, 19 Jun 2014 16:06:44 +0000 (16:06 +0000)]
base-files: depend on jsonfilter and rewrite network.sh to use it

Switches /lib/functions/network.sh from jshn based json parsing to
jsonfilter expression while keeping the existing api.

Expensive methods like "network_find_wan" are up to 20x faster now.

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

10 years agojsonfilter: implement custom separators and support limiting the results, fix handlin...
Jo-Philipp Wich [Thu, 19 Jun 2014 15:30:59 +0000 (15:30 +0000)]
jsonfilter: implement custom separators and support limiting the results, fix handling of negative array indices

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

10 years agoprocd: update to latest git head
John Crispin [Thu, 19 Jun 2014 14:13:45 +0000 (14:13 +0000)]
procd: update to latest git head

this fixes the upgraded linking issue on arm.

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

10 years agoprocd: various improvements to nand.sh
John Crispin [Thu, 19 Jun 2014 14:13:41 +0000 (14:13 +0000)]
procd: various improvements to nand.sh

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

10 years agoimx6: add sysupgrade support
John Crispin [Thu, 19 Jun 2014 14:13:38 +0000 (14:13 +0000)]
imx6: add sysupgrade support

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

10 years agoimx6: the script populating /tmp/sysinfo/ was in the wrong path
John Crispin [Thu, 19 Jun 2014 14:13:34 +0000 (14:13 +0000)]
imx6: the script populating /tmp/sysinfo/ was in the wrong path

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

10 years agoocteon: enable the ext4 feature
John Crispin [Thu, 19 Jun 2014 14:13:30 +0000 (14:13 +0000)]
octeon: enable the ext4 feature

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

10 years agoocteon: add basic board detection
John Crispin [Thu, 19 Jun 2014 14:13:20 +0000 (14:13 +0000)]
octeon: add basic board detection

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

10 years agotoolchain: make the default eglibc selection work even if TOOLCHAINOPTS is not enabled
John Crispin [Thu, 19 Jun 2014 14:13:16 +0000 (14:13 +0000)]
toolchain: make the default eglibc selection work even if TOOLCHAINOPTS is not enabled

default config build fail on octeon without this.

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

10 years agokernel: drop now unused ubi forced detach patch
John Crispin [Thu, 19 Jun 2014 14:13:12 +0000 (14:13 +0000)]
kernel: drop now unused ubi forced detach patch

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

10 years agoramips: cleanup some rt305x profiles
John Crispin [Thu, 19 Jun 2014 14:13:07 +0000 (14:13 +0000)]
ramips: cleanup some rt305x profiles

move both asus boards to asus.mk
rename HW5503G profile to HW550-3G to match name in image/Makefile
(fixes #16599)

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

10 years agolantiq: copy rootfs-overlay.ubi to bin/lantiq
John Crispin [Thu, 19 Jun 2014 14:13:04 +0000 (14:13 +0000)]
lantiq: copy rootfs-overlay.ubi to bin/lantiq

At the moment, an rootfs.ubi is copied over to bin/lantiq
but rootfs-overlay.ubi is not. This adds it.

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

10 years agolantiq: refresh patches
John Crispin [Thu, 19 Jun 2014 14:12:59 +0000 (14:12 +0000)]
lantiq: refresh patches

this adds ben's ath9k fixup

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

10 years agobase-files: add upgraded to the list of daemons not killed
John Crispin [Thu, 19 Jun 2014 14:12:55 +0000 (14:12 +0000)]
base-files: add upgraded to the list of daemons not killed

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

10 years agojsonfilter: improve error reporting
Jo-Philipp Wich [Thu, 19 Jun 2014 07:56:24 +0000 (07:56 +0000)]
jsonfilter: improve error reporting

The CLI now describes expression errors more precisely, e.g.:

  Syntax error: Invalid escape sequence
  In expression @["foo\x"]
  Near here ----------^

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

10 years agodnsmasq: removing nettle 3.0 support due to nettle downgrade
Steven Barth [Wed, 18 Jun 2014 17:06:37 +0000 (17:06 +0000)]
dnsmasq: removing nettle 3.0 support due to nettle downgrade

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

10 years agonettle: downgrade to 2.7.1 since gnutls is incompatible with 3.0
Steven Barth [Wed, 18 Jun 2014 17:06:30 +0000 (17:06 +0000)]
nettle: downgrade to 2.7.1 since gnutls is incompatible with 3.0

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

10 years agoimx6: fix typo on wandboard detection
Florian Fainelli [Wed, 18 Jun 2014 16:34:23 +0000 (16:34 +0000)]
imx6: fix typo on wandboard detection

Revision r41256 introduced a typo (wandaboard => wandboard), but later
revisions expect to match on "wandboard"

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

10 years agoodhcpd: improve static DHCPv4 leases (thanks arnd)
Steven Barth [Wed, 18 Jun 2014 12:10:10 +0000 (12:10 +0000)]
odhcpd: improve static DHCPv4 leases (thanks arnd)

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

10 years agonetifd: various bugfixes (thanks Hans Dedecker)
Steven Barth [Wed, 18 Jun 2014 11:29:09 +0000 (11:29 +0000)]
netifd: various bugfixes (thanks Hans Dedecker)

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

10 years agojsonpath: rename to jsonfilter and rewrite from flex/bison to lemon
Jo-Philipp Wich [Wed, 18 Jun 2014 10:10:30 +0000 (10:10 +0000)]
jsonpath: rename to jsonfilter and rewrite from flex/bison to lemon

This commit renames the jsonpath binary to jsonfilter to avoid clashing with a Python
extension of the same name.

The utility itself has been rewritten to use SQLite3's lemon parser generator instead
of a flex/bison combination which results in a much smaller binary.

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

10 years agoimx6: use /lib/imx6.sh inside the uci-defaults script
John Crispin [Wed, 18 Jun 2014 10:08:16 +0000 (10:08 +0000)]
imx6: use /lib/imx6.sh inside the uci-defaults script

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

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