Commit Graph

30651 Commits (1b59aa43103e12225949642f9c53c455de4132a5)

Author SHA1 Message Date
Jo-Philipp Wich f282f01cd8 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41266 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-19 07:56:24 +00:00
Steven Barth f439aef6cd dnsmasq: removing nettle 3.0 support due to nettle downgrade
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 17:06:37 +00:00
Steven Barth 4456b621cb nettle: downgrade to 2.7.1 since gnutls is incompatible with 3.0
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41263 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 17:06:30 +00:00
Florian Fainelli 14704677a4 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41262 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 16:34:23 +00:00
Steven Barth c4c0b61fb7 odhcpd: improve static DHCPv4 leases (thanks arnd)
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41260 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 12:10:10 +00:00
Steven Barth 7272a611a1 netifd: various bugfixes (thanks Hans Dedecker)
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 11:29:09 +00:00
Jo-Philipp Wich a586bc77e7 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41258 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:10:30 +00:00
John Crispin d8e56de762 imx6: use /lib/imx6.sh inside the uci-defaults script
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41257 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:08:16 +00:00
John Crispin 814e6c7b35 imx6: add a script to detect the board name and populate /tmp/sysinfo
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:08:12 +00:00
John Crispin e1da5d10df 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41255 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:08:08 +00:00
John Crispin 4e453069d6 relayd: update to latest git head
this fixes multicast fowarding on relayd links

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41254 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:08:05 +00:00
John Crispin 472709eaec octeon: fix up the cpu flags
Signed-off-by: Martin Fäcknitz <faecknitz@hotsplots.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41253 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:08:01 +00:00
John Crispin 3e07c0ac3a octeon: add 3 upstream patches that fix issues on the esr-lite
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41252 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:07:57 +00:00
John Crispin f2126e7f19 toolchain: use different defaults for octeon
force eglibc and gcc4.6+linaro for octeon

Signed-off-by: Martin Fäcknitz <faecknitz@hotsplots.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41251 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:07:53 +00:00
John Crispin dad6cd83d1 include/target.mk: add CPU_CFLAGS_octeon
Signed-off-by: Martin Fäcknitz <faecknitz@hotsplots.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41250 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:07:49 +00:00
Steven Barth 12b41b0c5f dnsmasq: compatibility with nettle 3.0
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:04:47 +00:00
Steven Barth d42c79ad4d nettle: import from packages, update to 3.0
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41248 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:04:43 +00:00
Steven Barth 482db48d30 gmp: import from packages, update and reduce size
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41247 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:04:38 +00:00
Steven Barth 3d5f483474 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41246 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:04:34 +00:00
Steven Barth 15646b2175 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:04:29 +00:00
Steven Barth 10cb433539 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:04:25 +00:00
Steven Barth 01a531434d dnsmasq: add upstream patch to build against libnettle-mini
Signed-off-by: Andre Heider <a.heider@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41243 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:04:21 +00:00
Steven Barth 251afc0c34 dnsmasq: respect target's LDFLAGS
Append local flags, don't overwrite.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:04:17 +00:00
Steven Barth 06e56f40f6 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41241 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-18 10:04:02 +00:00
Luka Perkov bb3c6eaa04 mvebu: be consistent with kernel config file names
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41240 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-17 21:04:45 +00:00
John Crispin 98d34860a4 procd: forgot to update the git id in the last commit
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41239 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-17 17:51:35 +00:00
John Crispin cfe127980c procd: make upgarded depend on mips, the static linking on arm fails
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-17 15:40:05 +00:00
John Crispin 31f99ff64c 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41237 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-17 15:40:02 +00:00
John Crispin 7911faae00 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-17 15:38:54 +00:00
Imre Kaloz dfb41660c7 [kernel]: package the TLC59116 led driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41235 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-17 15:15:05 +00:00
Imre Kaloz 520be62713 [mvebu]: add dummy fixup for 3.10
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41234 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-17 15:14:02 +00:00
Imre Kaloz dcb29419e5 build images for the WRT1900AC
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41233 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-17 15:13:33 +00:00
Imre Kaloz b3ca518850 [mvebu]: preliminary support for the WRT1900AC (work in progress)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-17 15:13:10 +00:00
Imre Kaloz f71d455502 [kernel]: package the TI TMP421 driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41231 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-17 15:03:05 +00:00
Imre Kaloz e5f83a5da4 [kernel]: bundle ehci-orion with kmod-usb2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-17 15:02:28 +00:00
Jo-Philipp Wich 925763c949 mpc85xx: fix typo in TP-Link WDR4900 profile
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41229 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-17 15:01:47 +00:00
Steven Barth 6dca6d5903 odhcpd: don't enable relaying by default anymore
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-17 13:05:24 +00:00
Steven Barth b0147d9e5b iproute2: update version to 3.15.0, refresh patches, add maintainer
Signed-off-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-17 12:43:30 +00:00
Steven Barth abd3b2c90e odhcpd: also honor leasetime for dhcpv6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41226 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-17 07:59:15 +00:00
Steven Barth 0ef8d8758c odhcpd: Improve NotOnLink-behavior and make hostid more convient to configure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41225 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-17 07:44:24 +00:00
John Crispin bbb8942009 ramips: RT-N56U support fixes and factory image creation
Signed-off-by: Mikko Hissa <mikko.hissa@werzek.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41224 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-16 18:57:20 +00:00
John Crispin 8167453148 include/image.mk: cleanup the SysupgradeNAND template
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41223 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-16 18:55:18 +00:00
John Crispin a0be38dafa procd: various cleanups to /lib/upgrade/nand.sh
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41222 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-16 18:55:14 +00:00
John Crispin 0e42bc27c7 procd: update to latest git HEAD
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41221 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-16 18:55:09 +00:00
John Crispin 1b895a65a4 procd: rename procd_add_network_trigger
i got complaints about the bad naming of the api. lets rename it while there are no users yet.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41220 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-16 18:55:05 +00:00
John Crispin 31bede7b73 kernel/3.1{0, 2, 3, 4}: mtd: m25p80: add support for EON EN25QH128
This flash is used in newer Ubnt UniFi AP Pro

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41219 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-16 18:55:01 +00:00
John Crispin afcb9a0e28 kernel: replace a ubifs patch by upstream commit
A modified version of 552-ubifs-respect-silent-mount-flag.patch has
been merged upstream. Replace the patch in OpenWrt with the version
which has been merged.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41218 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-16 18:54:57 +00:00
John Crispin 5bbd82ea7c ramips: fixes XDXRN502J reset button
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41217 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-16 18:54:53 +00:00
John Crispin c138d72719 ramips: add vlan configuration for asiarf awm002-evb
Without this, the ports all end up on vlan 1.  This enables a separate
WAN port that works.

Signed-off-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41216 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-16 18:54:48 +00:00
John Crispin 10132c1857 ramips: restore AWM002-EVB profile in asiarf.mk
In a recent revision (r41177) John Crispin removed the profile for the
AsiaRF AWM002 eval board while adding another AsiaRF board.  This
patch restores AWM002 and also corrects a misspelling and an
apparently errant reference to an Allnet ALL0239-3G device.

Signed-off-by: Galen Seitz <galens@seitzassoc.com>
Signed-off-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41215 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-16 18:54:42 +00:00