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

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

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

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

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

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

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

Append local flags, don't overwrite.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

I tested the patch successfully on my device.

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

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

SVN-Revision: 41235

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

SVN-Revision: 41234

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

SVN-Revision: 41233

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

SVN-Revision: 41232

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

SVN-Revision: 41231

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

SVN-Revision: 41230

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

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