aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* package: add libnetfilter-log.John Crispin2014-10-147-0/+297
| | | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42921 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq xway: generate ramdisk image by defaultJohn Crispin2014-10-141-1/+1
| | | | | | | | | | The installation process on nand-based boards using ubi like the BTHOMEHUBV2B makes use of a ramdisk image, so it makes sense to generate this by default. Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42920 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: the USERID code path did not check for duplicate groupsJohn Crispin2014-10-141-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42919 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to latest gitJohn Crispin2014-10-141-2/+2
| | | | | | | | this adds the remaining patches that Michel Stam sent Signed-off-by: Michel Stam <m.stam@fugro.nl> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42918 3c298f89-4303-0410-b956-a3cf2f4a3e73
* libubox: update to latest gitJohn Crispin2014-10-141-2/+2
| | | | | | | | this adds a new helper for setting/overriding the signal handlers Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42917 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uClibc: Backport uClibc master git commit ↵John Crispin2014-10-141-0/+269
| | | | | | | | | | | fd355bc1dbcb794ae1abf0fad1459e28d8567ba0 (eventfd.h: Use new "bits/" scheme for arch-specific flags) This patch adds missing architecture-specific headers for use with eventfd(2). Fixes #16679. Signed-off-by: Luis Dallos <ld@nkvd.ignorelist.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42916 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix seama factory type image generation.John Crispin2014-10-141-2/+4
| | | | | | | | | | | Currently JFFS2 end-of-filesystem marker 0xdeadc0de is included the computation of image's MD5 checksum as part of the seama header. But OpenWrt will erase blocks including and after the marker thus invalidating the checksum after the first boot. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42915 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: qihoo-c301: reset imageNtrynum after each successful boot.John Crispin2014-10-142-0/+9
| | | | | | | | | | | | | | | | | | | | | | | Qihoo C301 has 2 flash chips of which one is used as primary and the other is used as backup. OEM U-Boot will try to boot an activeregion N with imageNstatus=0 and imageNtrynum <= imagemaxtry. If such a region is found, bootloader will try to increment imageNtrynum and boot it. This patch tries to reset imageNtrynum after each successful boot (if the boot process reaches the execution of /etc/init.d/done). root@OpenWrt:/# hexdump -C -n 128 /dev/mtdblock9 00000000 9e f3 63 91 61 63 74 69 76 65 72 65 67 69 6f 6e |..c.activeregion| 00000010 3d 31 00 69 6d 61 67 65 31 73 74 61 74 75 73 3d |=1.image1status=| 00000020 30 00 69 6d 61 67 65 32 73 74 61 74 75 73 3d 30 |0.image2status=0| 00000030 00 69 6d 61 67 65 32 74 72 79 6e 75 6d 3d 30 00 |.image2trynum=0.| 00000040 69 6d 61 67 65 6d 61 78 74 72 79 3d 33 00 69 6d |imagemaxtry=3.im| 00000050 61 67 65 31 74 72 79 6e 75 6d 3d 30 00 00 00 00 |age1trynum=0....| 00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42914 3c298f89-4303-0410-b956-a3cf2f4a3e73
* udev/Config.in: help format, and fix spelling mistakeJohn Crispin2014-10-141-26/+25
| | | | | | | | Formatting and spelling fixes. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42913 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target/toolchain/Config.in: Clarify packaging of toolchain.John Crispin2014-10-141-3/+5
| | | | | | | | | Change the "help" info to emphasize that this option refers specifically to packaging the toolchain that would be built anyway. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42912 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts: fix wrong usage of '==' operatorJohn Crispin2014-10-1423-35/+35
| | | | | | | | | | | | | | [base-files] shell-scripting: fix wrong usage of '==' operator normally the '==' is used for invoking a regex parser and is a bashism. all of the fixes just want to compare a string. the used busybox-ash will silently "ignore" this mistake, but make it portable/clean at least. this patch does not change the behavior/logic of the scripts. Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42911 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rb532: switch to 3.14 and ath5kJohn Crispin2014-10-141-2/+2
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42910 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: fix yaffs compilation on 3.14John Crispin2014-10-141-2/+10
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42909 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rb532: add 3.14 supportJohn Crispin2014-10-145-0/+263
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42908 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: allow pcie to be disabled by dts + vgv7519 fix pci irq + disable ↵John Crispin2014-10-142-1/+56
| | | | | | | | pcie by dts Signed-off-by: Eddi De Pieri <eddi@depieri.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42907 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Fix LED definitions for the DRAGINO2 boardJohn Crispin2014-10-143-17/+35
| | | | | | | | | | | | | | This patch fixes LED definitions for the DRAGINO2 board. 1. It renames the Router/USB led to System, as it is now marked "SYS" on the board. 2. It gives control of the LAN and WAN leds and some other GPIOs to Linux. 3. It fixes the active_low property for the LAN and WAN leds. 4. It sets up WLAN, LAN and WAN leds in the UCI defaults. 5. It allows usage of the System led by the diag.sh script, so it will be used to indicate boot and failsafe status. Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42897 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mpc85xx: use wpad-mini in WDR4900 profile instead of wpadJohn Crispin2014-10-141-1/+1
| | | | | | | | | This change makes the profile of WDR4900 more consistent with other router specific profiles. Signed-off-by: Philipp Borgers <borgers@mi.fu-berlin.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42896 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: fix hangs in PCIe2 host driverRafał Miłecki2014-10-141-5/+33
| | | | | | | | | Accessing CFG regs with no card present results in SoC hang. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42895 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add temp bcma workaround that allows debuggingRafał Miłecki2014-10-141-0/+47
| | | | | | | | | This way we will get logs if case of hang/crash in bcma or related code. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42894 3c298f89-4303-0410-b956-a3cf2f4a3e73
* at91: fix at91-adc dependenciesJohn Crispin2014-10-131-1/+1
| | | | | | | | | | | | Error reported by buildbot: Package kmod-at91-adc is missing dependencies for the following libraries: input-core.ko only compile tested Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42893 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: Build 8M image for 7Links PX-4885John Crispin2014-10-134-40/+85
| | | | | | | | | 7Links PX-4885 (clones) can also be purchased with 8MB flash. Creating images for these routers, use dtsi for common part Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42892 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/feeds: handle missing/broken feeds betterJohn Crispin2014-10-131-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pts/feeds update -a" can fail rather silently for feeds using git, as the script does not pause when updating a feed fails. Instead it prints the error message and calmly continues to the next feed. It is very easy to overlook update errors with the feeds updated first, as their text scrolls rapidly away from the screen. This behaviour has not been a big problem with svn feeds, as svn update stops with a conflict message and interactively forces the user to resolve or postpone the conflict. In any case the svn error is noticed by the user. Majority of the feeds use now git, so this silent failure can affect users doing private builds in an increasing amount. Below is an example of update failing and script continuing: perus@v1404:/Openwrt/barrier$ ./scripts/feeds update -a Updating feed 'packages' from 'https://github.com/openwrt/packages.git;for-14.07' ... remote: Counting objects: 17, done. remote: Compressing objects: 100% (15/15), done. remote: Total 17 (delta 10), reused 8 (delta 1) Unpacking objects: 100% (17/17), done. From https://github.com/openwrt/packages 62031da..dc26009 for-14.07 -> origin/for-14.07 Updating 62031da..dc26009 error: Your local changes to the following files would be overwritten by merge: utils/collectd/Makefile Please, commit your changes or stash them before you can merge. Aborting failed. Updating feed 'luci' from 'http://git.openwrt.org/project/luci.git;luci-0.12' ... Already up-to-date. Create index file './feeds/luci.index' Updating feed 'routing' from 'https://github.com/openwrt-routing/packages.git;for-14.07' ... ... The script prints "failed.", but does not break the updating process. The "update_feed" function returns an error code 1, but that value is not checked in the "update" function, which continues to the next feed. Return 1 as error: ​https://dev.openwrt.org/browser/trunk/scripts/feeds#L547 Call to update_feed without any error monitoring: ​https://dev.openwrt.org/browser/trunk/scripts/feeds#L585 The included patch makes the feeds script to stop updating after failing to update a feed. The script continues to the refresh_config step despite a possible failure in updating, so the stopping action just prevents the other feeds from updating and makes the error more clearly visible. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42891 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fstools: update to latest git HEADJohn Crispin2014-10-131-2/+2
| | | | | | | | this adds support for overlayfs v23 Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42890 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: image: create initramfs TRX nodictionary imagesRafał Miłecki2014-10-131-0/+2
| | | | | | | | Signed-off-by: Stephen Parry <sgparry@mainscreen.com> Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42889 3c298f89-4303-0410-b956-a3cf2f4a3e73
* x86: remove old soekris config hacks, install a more appropriate default ↵Felix Fietkau2014-10-124-56/+7
| | | | | | | | /etc/config/network with lan+wan Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42888 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: fix initial nand sysupgradeFelix Fietkau2014-10-121-0/+14
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42884 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: fix parsing of the has_env parameterFelix Fietkau2014-10-121-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42883 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: remove NO-IR from channel 36-48Felix Fietkau2014-10-121-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42882 3c298f89-4303-0410-b956-a3cf2f4a3e73
* image.mk: remove legacy target rulesFelix Fietkau2014-10-121-7/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42881 3c298f89-4303-0410-b956-a3cf2f4a3e73
* image.mk: parallelize cpio.gz and tar.gz filesystem buildFelix Fietkau2014-10-121-13/+9
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42880 3c298f89-4303-0410-b956-a3cf2f4a3e73
* image.mk: split off jffs2-raw images into a separate make target to improve ↵Felix Fietkau2014-10-121-3/+7
| | | | | | | | parallel build time Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42879 3c298f89-4303-0410-b956-a3cf2f4a3e73
* image.mk: clean up and parallelize mkfs callsFelix Fietkau2014-10-123-47/+51
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42878 3c298f89-4303-0410-b956-a3cf2f4a3e73
* prereq.mk: only define .NOTPARALLEL when processing prereq checksFelix Fietkau2014-10-121-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42877 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel-build.mk: add .NOTPARALLELFelix Fietkau2014-10-121-0/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42876 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mtd-utils: fix a segfault in parsing the device tableFelix Fietkau2014-10-121-0/+11
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42875 3c298f89-4303-0410-b956-a3cf2f4a3e73
* image.mk: call mkfs/prepare for the image builderFelix Fietkau2014-10-121-2/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42874 3c298f89-4303-0410-b956-a3cf2f4a3e73
* image.mk: reduce code duplication, move prepare to a separate make targetFelix Fietkau2014-10-121-37/+20
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42873 3c298f89-4303-0410-b956-a3cf2f4a3e73
* image.mk: remove the unnecessary .NOTPARALLEL flagFelix Fietkau2014-10-121-1/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42872 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: Make mtu configurable of dynamic 6rd tunnel interfaceSteven Barth2014-10-122-2/+5
| | | | | | | | | Patch allows to configure the mtu of the dynamic 6rd tunnel interface when created by dhcp script. In some setups it's desirable to have config control over the 6rd tunnel mtu to maximize the traffic throughput Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42871 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: fix parse errors with some dhcpv6 serversSteven Barth2014-10-121-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42869 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: various i2c related fixesJohn Crispin2014-10-101-20/+21
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42868 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for Nexx WT1520John Crispin2014-10-108-1/+120
| | | | | | Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42867 3c298f89-4303-0410-b956-a3cf2f4a3e73
* comgt: add ncm proto supportJohn Crispin2014-10-105-1/+247
| | | | | | | | This will not work for all board/dongle combinations until we hit 3.17. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42866 3c298f89-4303-0410-b956-a3cf2f4a3e73
* feeds: switch LuCI to Github repoJo-Philipp Wich2014-10-091-1/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42865 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: prepare to support Asus RT-N18URafał Miłecki2014-10-092-0/+116
| | | | | | | | | | DT file doesn't include any GPIOs yet, but let's add it as we got some interest in this device on IRC. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42864 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add support for Buffalo WZR-1750DHPRafał Miłecki2014-10-092-0/+119
| | | | | | | | | Let's generate a simple TRX file as we can't get encrypted one. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42863 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: remove error from detect scriptFelix Fietkau2014-10-091-4/+11
| | | | | | Signed-off-by: Michel Stam <m.stam@fugro.nl> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42861 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ppp: add unconditional autoipv6-triggerSteven Barth2014-10-092-1/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42860 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ppp: remove ugly ipv6-workaroundSteven Barth2014-10-091-9/+0
| | | | | | | | | | | | | | | This is not needed after all: Omitting option ipv6 or setting it to 'auto' will fire up a dhcpv6 subprotocol (this was added). Setting ipv6 to 1 will only cause the IPv6 link to be brought up and an accompanying dhcpv6 or static interface with ifname @wan can be used to configure addresses. Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42859 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing symbols for 3.14Steven Barth2014-10-091-0/+3
| | | | | | | | | spotted by buildbot brcm2708: http://buildbot.openwrt.org:8010/builders/brcm2708/ Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42858 3c298f89-4303-0410-b956-a3cf2f4a3e73