aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* rpcd: update to the latest versionLuka Perkov2015-07-151-2/+2
| | | | | | | | | This update adds a couple of file plugin enhancements, such as base64 support and setting mode when files are written. Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46384 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/ipkg-build: fix a build regression introduced in r46360 (fixes #20082)Felix Fietkau2015-07-151-1/+1
| | | | | | | | go to the $TOPDIR directory before trying to extract a git/svn timestamp Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46383 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar8216: add swconfig attributes for ARL table flushingFelix Fietkau2015-07-153-1/+67
| | | | | | | | Add swconfig attributes for flushing the ARL table globally or per port. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46382 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar8216: adjust ATU flushing in case of link changesFelix Fietkau2015-07-151-6/+4
| | | | | | | | | | If a link goes down, don't flush the complete ARL table. Only flush the entries for the respective port. Don't touch ARL table if a link goes up. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46381 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar8216: add ARL table flushing per portFelix Fietkau2015-07-154-4/+47
| | | | | | | | | | | | | Adds functions for flushing ARL table entries per port. Successfully tested on AR8327. Implementation for AR8216/AR8236/AR8316 is based on the AR8236 datasheet and assumes that the three chips share a common ATU register layout. Compile-tested only for AR8216/AR8236/AR8316. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46380 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar8216: add reading ARL table for AR8216/AR8236/AR8316Felix Fietkau2015-07-152-8/+98
| | | | | | | | | | | | | | | | Adds the chip-specific part of reading ARL table for AR8216/AR8236/AR8316. It's based on the AR8236 datasheet and compile-tested only as I couldn't find datasheets for AR8216/AR8316 and don't own devices with these chips. The existing ar8216_atu_flush implementation was used for all three chip types, therefore I guess they share a common ATU register layout. More testing would be appreciated. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46379 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/e2fsprogs: add a darwin-compat patchFelix Fietkau2015-07-151-0/+22
| | | | | | | | | On darwin we need to import stdint to get these integer typedefs. Patch by: Lawrence D'Anna <larry@elder-gods.org> Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46378 3c298f89-4303-0410-b956-a3cf2f4a3e73
* wpa-supplicant: add 802.11r client supportFelix Fietkau2015-07-152-2/+7
| | | | | | | | | | | | Add 802.11r client support to wpa_supplicant. It's only enabled in wpa_supplicant-full. hostapd gained 802.11r support in commit r45051. Tested on a TP-Link TL-WR710N sta psk client with two 802.11r enabled openwrt accesspoints (TP-Link TL-WDR3600). Signed-off-by: Stefan Hellermann <stefan@the2masters.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46377 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd: also unify router and DNS lifetimesSteven Barth2015-07-151-1/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46376 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd: fix RA lifetime calculationSteven Barth2015-07-151-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46375 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/feeds: return error status from feed updateJo-Philipp Wich2015-07-141-4/+4
| | | | | | | | | | | | | | | | This patch is a modified version of the patch being discussed at here: https://patchwork.ozlabs.org/patch/471303/ from Martin Strbacka <martin.strbacka@nic.cz> My version modifies scripts/feeds so that an error with one of the feeds just raises the error flag, but script continues and tries to update the other feeds. After all feeds have been updated, the script returns 1 if at least one feed failed, and 0 on success with all feeds. The user can then utilise the status in his build script, if he wants. signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46374 3c298f89-4303-0410-b956-a3cf2f4a3e73
* robocfg: remove robocfgHauke Mehrtens2015-07-144-1251/+0
| | | | | | | | | | | This controls the old Broadcom switch driver which was removed over a year ago, since then this is useless. Use swconfig instead it works with more (Broadcom) switches. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46373 3c298f89-4303-0410-b956-a3cf2f4a3e73
* adm5120: do not config something as moduleHauke Mehrtens2015-07-141-38/+26
| | | | | | | | | | | All modules should be build by a package and only selected by such a package. Remove all the config options selected as module and also refresh the config. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46372 3c298f89-4303-0410-b956-a3cf2f4a3e73
* admswconfig: fix compile with muslHauke Mehrtens2015-07-141-0/+11
| | | | | | | | | | caddr_t is not defined everywhere any more, cast it the the real pointer type of ifr_data. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46371 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd: use 65535s as default lifetime and make interval configurableSteven Barth2015-07-141-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46370 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: fix usb3 build with kernel 4.1Hauke Mehrtens2015-07-141-1/+1
| | | | | | | | | | One argument was removed with kernel 4.1 from xhci_handshake() which caused a compile error. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46369 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux: enable kmod-acpi-button for x86_64 (#20080)Jo-Philipp Wich2015-07-141-1/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46368 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm2708: partially revert r46347 to fix sysupgradeJohn Crispin2015-07-141-3/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46367 3c298f89-4303-0410-b956-a3cf2f4a3e73
* x86: add kmod-acpi-button and kmod-button-hotplug to default packagesJohn Crispin2015-07-142-2/+2
| | | | | | | | | | | | | | Since r40909 openwrt can automatically shutdown when you press the power button or try to shutdown a kvm virtual machine. When booting a recent CC-rc2 or trunk image, it doesn't work, as two kernel modules are missing. Add these two kernel modules to the default packages, so users don't need to install them manually. Signed-off-by: Stefan Hellermann <stefan@the2masters.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46366 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ccache: Make ccache aware of OpenWRT provided GCC patch.Felix Fietkau2015-07-142-20/+37
| | | | | | | | | | | | | | | | The OpenWRT GCC patch, 910-mbsd_multi.patch adds an extra option to gcc that depends on an environment variable. Standard ccache is unaware of this option and therefor can produce stdout from gcc that doesn't correspond to what you would get if you actually do a direct compilation with gcc. This commit adds a patch to ccache to make it aware of the new option and removes the feature from the ccache package to use the host system's installed ccache binary. Signed-off-by: Karl Vogel <karl.vogel@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46364 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add early support for Netgear R7000Rafał Miłecki2015-07-143-0/+127
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46363 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts: fix 64bit uclibc external toolchain detectionJohn Crispin2015-07-141-1/+1
| | | | | | | | according to gcc, UCLIBC_DYNAMIC_LINKER64 Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46362 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: Prevent more gzip timestampsJohn Crispin2015-07-1414-17/+17
| | | | | | | | | To improve reproducibility, prevent the inclusion of timestamps in the gzip header. Signed-off-by: Reiner Herrmann <reiner@reiner-h.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46361 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipkg-build: use deterministic timestamps in ipk tarballsJohn Crispin2015-07-141-3/+14
| | | | | | | | | | | As a follow-up to r46026, this commit sets the modification times of files inside the tarballs to deterministic values. It uses the date of the last git or svn commit and falls back to the old behavior if those are not available. Signed-off-by: Reiner Herrmann <reiner@reiner-h.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46360 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: added gpio spi refclk support for wrtnode boardJohn Crispin2015-07-141-1/+1
| | | | | | | | | This syncs the dts file with the one provided by the wrtnode team: https://github.com/WRTnode/openwrt-patches/blob/master/R41508/wrtnode_factory_firmware_dts.patch Signed-off-by: Christian Mehlis <christian@m3hlis.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46359 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: Split libsw out of swconfig for reuse in other packagesJohn Crispin2015-07-142-3/+15
| | | | | | | Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46358 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd: unsolicited unicast RAs + fix NDP-relaySteven Barth2015-07-141-2/+2
| | | | | | | | | | | | odhcpd now sends unsolicited RAs also via unicast to known link-local neighbors. This is an attempt to work-around common smartphone issues https://code.google.com/p/android/issues/detail?id=32662 Also NDP-relay should now work more reliably now Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46357 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to latest git HEADJohn Crispin2015-07-141-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46356 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: fix gcc 4.6 build with gcc5John Crispin2015-07-145-6/+27
| | | | | | | | | | | | | | | | build error: cfns.gperf:101:1: error: 'gnu_inline' attribute present on 'libc_name_p' cfns.gperf:26:14: error: but not here observed on Arch Linux affected versions gcc 4.6, gcc 4.7 reported & fixed in DragonFlyBSD issue #136 https://github.com/DragonFlyBSD/DPorts/issues/136 Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46355 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gemini: switch to 4.1John Crispin2015-07-141-1/+1
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46354 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gemini: add 4.1 supportJohn Crispin2015-07-1415-0/+6026
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46353 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gemini: add NAS packages to Raidsonic profileJohn Crispin2015-07-141-0/+7
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46352 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gemini: copy kernel image to BIN_DIRJohn Crispin2015-07-141-1/+2
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46351 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: added led support for wrtnode boardJohn Crispin2015-07-141-0/+12
| | | | | | | | | This syncs the dts file with the one provided by the wrtnode team: https://github.com/WRTnode/openwrt-patches/blob/master/R41508/wrtnode_factory_firmware_dts.patch Signed-off-by: Christian Mehlis <christian@m3hlis.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46350 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: adding support for OY-0001 Wireless RouterJohn Crispin2015-07-146-0/+139
| | | | | | | | | | Adding support for OY-0001 Wireless Router. OY-0001 is a wireless router made by oyewifi.com. Below is the details: MT7620A, 128MB DDR2, 16MB FLASH, SD Slot, USB 2.0, 4 x LAN + 1 x WAN. Signed-off-by: Tom Deng <2579131212@qq.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46349 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: mt7620 ArcherC20i USB supportJohn Crispin2015-07-141-0/+8
| | | | | | | | | USB port of TP-Link Archer C20i does not work with trunk and CC. This patch adds two nodes (ehci and ohci) to the device tree enabling USB. Signed-off-by: Gunnar Thorburn <gunnar@thorburn.se> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46348 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm2708: Implement sysupgradeJohn Crispin2015-07-144-1/+39
| | | | | | | | | | | | | Implement sysupgrade for Raspberry Pi, similar to the way it is done on x86: The config files are saved in the boot partition and moved to where they are normally expected in preinit. Also add optional gzip compression for the SD card image, since this can save a lot of space (76M vs 6M), also similar to x86. Signed-off-by: Bruno Randolf <br1@einfach.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46347 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix build with CONFIG_MTD unsetJohn Crispin2015-07-143-6/+33
| | | | | | | | | | Fixed typo in the patch provided by Hauke: https://lists.openwrt.org/pipermail/openwrt-devel/2015-July/034274.html Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46346 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: add missing symbolJohn Crispin2015-07-143-0/+3
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46345 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm2708: add DT supportJohn Crispin2015-07-145-29/+75
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46344 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm2708-gpu-fw: update to latest versionJohn Crispin2015-07-141-3/+3
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46343 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the devolo dLAN pro 1200+ WiFi acJohn Crispin2015-07-1411-6/+249
| | | | | | Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46342 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: added option to configure the gpio led trigger in uci-defaultsJohn Crispin2015-07-142-0/+27
| | | | | | Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46341 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: make ath10k firmware v2 selectableJohn Crispin2015-07-141-0/+19
| | | | | | | | | | Added option for old firmware version (10.1 API v2). It seems that recent firmware versions are constantly crashing (at least on a QCA9880-BR4A-R) and this provides the option to select an older version instead. Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46340 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support to use gpio irqsJohn Crispin2015-07-141-0/+224
| | | | | | Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46339 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the devolo dLAN pro 500 Wireless+John Crispin2015-07-1410-6/+279
| | | | | | Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46338 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: fix some more compatibility issuesSteven Barth2015-07-131-5/+10
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46335 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: work-around more ISP DHCPv6-PD issuesSteven Barth2015-07-131-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46317 3c298f89-4303-0410-b956-a3cf2f4a3e73
* x86: Make virtualization guests built for pentium4 with SMPHauke Mehrtens2015-07-124-1/+17
| | | | | | | Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46314 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: use the -sf suffix for musl ldso on powerpcFelix Fietkau2015-07-123-6/+19
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46313 3c298f89-4303-0410-b956-a3cf2f4a3e73