John Crispin [Fri, 24 Jul 2015 09:12:02 +0000 (09:12 +0000)]
ramips: various mt7688 pinmux fixes
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 46474
John Crispin [Fri, 24 Jul 2015 09:11:56 +0000 (09:11 +0000)]
ramips: add subtarget for mt7688
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 46473
John Crispin [Fri, 24 Jul 2015 09:11:42 +0000 (09:11 +0000)]
ramips: add clock strecthing support to i2c driver
fixes #19816
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 46472
John Crispin [Fri, 24 Jul 2015 09:11:35 +0000 (09:11 +0000)]
buttons: make all button handler scripts return 0
this is required by the new button timeout feature
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 46471
John Crispin [Fri, 24 Jul 2015 09:11:29 +0000 (09:11 +0000)]
bzip2: add host build
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 46470
John Crispin [Fri, 24 Jul 2015 09:11:24 +0000 (09:11 +0000)]
firmware-utils mktplinkfw: print amount of exceeding bytes
This is very useful for trimming images towards 4 MiB flash size.
Signed-off-by: Stephan Maka <stephan@spaceboyz.net>
SVN-Revision: 46469
John Crispin [Fri, 24 Jul 2015 09:11:17 +0000 (09:11 +0000)]
mac80211: Clarify ath9k & ath10k debug selection
Ath debug mode applies to ath10k as well as ath9k.
Update Makefile help text to clarify.
Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
SVN-Revision: 46468
John Crispin [Fri, 24 Jul 2015 09:11:06 +0000 (09:11 +0000)]
dnsmasq: add some missing files to the jail
found with strace, not sure we got all of them though
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
SVN-Revision: 46467
John Crispin [Fri, 24 Jul 2015 09:11:00 +0000 (09:11 +0000)]
base-files: fix /tmp/.jail permissions
We need a+x rights on the path to the root of the jails
so we can use users other than root (like nobody)
This partly fixes jailed dnsmasq
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
SVN-Revision: 46466
John Crispin [Fri, 24 Jul 2015 09:10:55 +0000 (09:10 +0000)]
procd: update to latest git HEAD
fixes http://patchwork.ozlabs.org/patch/497899/
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 46465
John Crispin [Fri, 24 Jul 2015 09:10:47 +0000 (09:10 +0000)]
generic: cdc_ncm: Add support for moving NDP to end of NCM frame
NCM specs are not actually mandating a specific position in the frame for
the NDP (Network Datagram Pointer). However, some Huawei devices will
ignore our aggregates if it is not placed after the datagrams it points
to. Add support for doing just this, in a per-device configurable way.
While at it, update NCM subdrivers, disabling this functionality in all of
them, except in huawei_cdc_ncm where it is enabled instead.
We aren't making any distinction between different Huawei NCM devices,
based on what the vendor driver does. Standard NCM devices are left
unaffected: if they are compliant, they should be always usable, still
stay on the safe side.
This change has been tested and working with a Huawei E3131 device (which
works regardless of NDP position) and an E3372 device (which mandates NDP
to be after indexed datagrams).
Signed-off-by: Enrico Mioso <mrkiko.rs@gmail.com>
Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
SVN-Revision: 46464
John Crispin [Fri, 24 Jul 2015 09:10:41 +0000 (09:10 +0000)]
generic: Add missing symbols when tracing is enabled
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 46463
John Crispin [Fri, 24 Jul 2015 09:10:19 +0000 (09:10 +0000)]
generic: add missing symbol
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 46462
John Crispin [Fri, 24 Jul 2015 09:10:14 +0000 (09:10 +0000)]
brcm2708: add kmod-sound-soc-bcm2708-i2s support
This adds support for I2S SoC Audio modules.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 46461
John Crispin [Fri, 24 Jul 2015 09:10:05 +0000 (09:10 +0000)]
brcm2708: add kmod-video-bcm2835 support
This adds BCM2835 camera interface driver as a kernel module.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 46460
John Crispin [Fri, 24 Jul 2015 09:10:00 +0000 (09:10 +0000)]
ar71xx: Allow to use ath79_gpio_output_select on QCA955x
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 46459
John Crispin [Fri, 24 Jul 2015 09:09:49 +0000 (09:09 +0000)]
ar71xx: add support for Onion Omega
This patch adds support for the Onion Omega.
https://onion.io/omega
Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
Acked-by: Boken Lin <bl@onion.io>
Tested-by: Jacky Huang <huangfangcheng@163.com>
SVN-Revision: 46458
John Crispin [Fri, 24 Jul 2015 09:09:42 +0000 (09:09 +0000)]
ar71xx: Add support for AP147-010 reference board
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 46457
John Crispin [Fri, 24 Jul 2015 09:09:31 +0000 (09:09 +0000)]
ar71xx: Add support for PCIe on QCA953x
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 46456
John Crispin [Fri, 24 Jul 2015 09:09:27 +0000 (09:09 +0000)]
ar71xx: fix wndr3700_board_detect for some NETGEAR WNDR3700v2
There are a few NETGEAR devices which don't terminate the model name in the
ART with a NUL byte, at least some NETGEAR WNDR3700v2. The current awk
expression doesn't match 0xFF bytes, so AR71XX_MODEL contains lots of
trailing 0xFF garbage in this case.
Fix this by matching for the first non-printable character and explicitly
setting LC_CTYPE=C (probably not strictly necessary on OpenWrt, but will
definitely work like this, even when awk supports locales and LANG is set).
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 46455
John Crispin [Fri, 24 Jul 2015 09:09:22 +0000 (09:09 +0000)]
ramips: add support for STORYLiNK SAP-G3200U3
STORYLiNK SAP-G3200U3 is an AC1200 router based on MT7621AT+MT7602EN+MT7612EN.
It has 128MB DDR3, 8MB NOR FLASH, 5-port Gbps switch and 1x USB 3.0.
The following patch adds support for this device.
Tested and working:
* ethernet
* both WiFi radios
* USB 3.0
* buttons
* ethernet switch and USB diag LEDs
* UART
* GPIOs
Tested and not working:
* LEDs for WiFi radios (connected with WiFi chips, not supported in mt76?)
* failsafe mode (known problem, needs workaround like other MTK based devices)
More information in Wiki: http://wiki.openwrt.org/toh/storylink/sap-g3200u3
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
SVN-Revision: 46454
John Crispin [Fri, 24 Jul 2015 09:09:07 +0000 (09:09 +0000)]
lantiq: Silence the PCIe error interrupt printk also in 4.1
This ports
9e2a7b779e6f0914395da3657b00f0ac00209bfd to the 4.1 patches.
I forgot this when preparing the initial 4.1 patch.
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 46453
John Crispin [Fri, 24 Jul 2015 09:09:02 +0000 (09:09 +0000)]
lantiq: Fix ifxos driver on linux 4.1
request_mem_region returns NULL when requesting the region failed, and
a valid pointer when it was successful. Currently the condition is
inverted.
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 46452
John Crispin [Fri, 24 Jul 2015 09:08:57 +0000 (09:08 +0000)]
kmod-regmap: enable MMIO support
This adds MMIO support for kmod-regmap.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 46451
Jonas Gorski [Wed, 22 Jul 2015 12:51:11 +0000 (12:51 +0000)]
kernel: refresh patches for 4.1
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46441
Jonas Gorski [Wed, 22 Jul 2015 12:51:04 +0000 (12:51 +0000)]
kernel: update 4.0 to 4.0.9
Changelog:
* https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.0.9
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46440
Jonas Gorski [Wed, 22 Jul 2015 12:50:59 +0000 (12:50 +0000)]
kernel: update 3.18 to 3.18.19
Changelog:
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.19
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46439
Felix Fietkau [Wed, 22 Jul 2015 12:45:12 +0000 (12:45 +0000)]
ar71xx: refresh kernel config
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46438
Felix Fietkau [Wed, 22 Jul 2015 12:45:07 +0000 (12:45 +0000)]
kernel: update to linux 4.1.3
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46437
Felix Fietkau [Wed, 22 Jul 2015 12:45:03 +0000 (12:45 +0000)]
mac80211: update to wireless-testing 2015-07-21
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46436
Felix Fietkau [Wed, 22 Jul 2015 12:44:55 +0000 (12:44 +0000)]
generic: add more missing linux 4.1 symbols
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 46435
Felix Fietkau [Mon, 20 Jul 2015 10:50:46 +0000 (10:50 +0000)]
tools: drop circular dependency between patch and ccache, build patch without ccache (fixes #20132)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46434
Felix Fietkau [Mon, 20 Jul 2015 06:01:18 +0000 (06:01 +0000)]
ar71xx: remove the use of the obsolete IRQF_DISABLED flag in the NAND flash driver (fixes #20125)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46433
Felix Fietkau [Sun, 19 Jul 2015 17:59:20 +0000 (17:59 +0000)]
ar71xx: switch to linux 4.1
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46432
Felix Fietkau [Sun, 19 Jul 2015 17:59:15 +0000 (17:59 +0000)]
ar71xx: add missing patch chunk to 4.1 unaligned access hacks
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46431
Felix Fietkau [Sun, 19 Jul 2015 17:59:08 +0000 (17:59 +0000)]
ar71xx: reorganize 4.1 patch directory layout
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46430
Felix Fietkau [Sun, 19 Jul 2015 17:59:00 +0000 (17:59 +0000)]
ar71xx: refresh kernel config
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46429
Felix Fietkau [Sun, 19 Jul 2015 17:58:53 +0000 (17:58 +0000)]
kernel: add missing config symbols for 4.1
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46428
Felix Fietkau [Sun, 19 Jul 2015 17:58:46 +0000 (17:58 +0000)]
ar71xx: refresh 4.1 patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46427
Felix Fietkau [Sun, 19 Jul 2015 17:58:40 +0000 (17:58 +0000)]
ar71xx: add 4.1 support
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 46426
Felix Fietkau [Sun, 19 Jul 2015 17:58:27 +0000 (17:58 +0000)]
Revert "ar71xx: Add support for Cisco-Linksys WAP4410N" (r46250)
The commit is incomplete, it does not even build the mach-* file
This reverts commit
6e6adcf7a197b1802cb728ddcccf05f890ca0574
SVN-Revision: 46425
Felix Fietkau [Sun, 19 Jul 2015 14:59:26 +0000 (14:59 +0000)]
mkimage: cross compile fix: pass HOST_*FLAGS in to uboot's makefile
The HOST_*FLAGS are for compiling programs which will run on the machine that is
running the build. Setting these flags is frequently required for unusual
cross-compiles.
Signed-off-by: Lawrence D'Anna <larry@elder-gods.org>
SVN-Revision: 46424
Felix Fietkau [Sun, 19 Jul 2015 14:59:16 +0000 (14:59 +0000)]
strace: add kernel headers include to host cflags to fix build on non-linux systems
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46423
Felix Fietkau [Sun, 19 Jul 2015 14:59:09 +0000 (14:59 +0000)]
strace: cross compile fix: pass HOST_*FLAGS in to ./configure
The HOST_*FLAGS are for compiling programs which will run on the machine that is
running the build. Setting these flags is frequently required for unusual
cross-compiles.
Signed-off-by: Lawrence D'Anna <larry@elder-gods.org>
SVN-Revision: 46422
Felix Fietkau [Sat, 18 Jul 2015 23:14:19 +0000 (23:14 +0000)]
netifd: update to the latest version, fixes setting RPS/XPS for wlan devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46421
Felix Fietkau [Sat, 18 Jul 2015 22:49:39 +0000 (22:49 +0000)]
kernel: fix sched_getaffinity on MIPS SMP systems (fixes enabling RPS/XPS in netifd with musl)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46420
John Crispin [Sat, 18 Jul 2015 21:15:42 +0000 (21:15 +0000)]
ar71xx: Enable ath10k calibration data loading for EnGenius ESR1750 and EPG500.
As r46245 disabled the board.bin template workaround, 5GHz wifi stopped working
on these devices. This adds them to the calibration data loading introduced in
r46244 and thus makes 5GHz work again for these devices.
Signed-off-by: Christian Beier <cb@shoutrlabs.com>
SVN-Revision: 46415
John Crispin [Sat, 18 Jul 2015 21:15:36 +0000 (21:15 +0000)]
ar71xx: use automatic firmware partition splitting for devolo dLAN devices
Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>
SVN-Revision: 46414
Felix Fietkau [Sat, 18 Jul 2015 19:10:38 +0000 (19:10 +0000)]
cfg80211: fix a locking issue (#20098)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46413
Felix Fietkau [Sat, 18 Jul 2015 16:47:05 +0000 (16:47 +0000)]
ramips: enable mt76 by default for mt7621
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46410
Felix Fietkau [Sat, 18 Jul 2015 16:04:58 +0000 (16:04 +0000)]
mt76: update to the latest version, fixes rx buffer allocation issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46409
Steven Barth [Sat, 18 Jul 2015 05:44:50 +0000 (05:44 +0000)]
odhcp6c: add option "sourcefilter" to disable source filter
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46408
Hauke Mehrtens [Fri, 17 Jul 2015 17:55:17 +0000 (17:55 +0000)]
kernel: fix dependecy of kmod-ieee802154_6lowpan
This module also depends on kmod-ieee802154
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 46407
John Crispin [Fri, 17 Jul 2015 12:51:24 +0000 (12:51 +0000)]
swconfig: libsw.so should be installed into /usr/lib/
otherwise it's not picked up by toolchain:
staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_musl-1.1.10/lib/gcc/mipsel-openwrt-linux-musl/4.8.3/../../../../mipsel-openwrt-linux-musl/bin/ld: cannot find -lsw
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 46406
John Crispin [Fri, 17 Jul 2015 12:51:08 +0000 (12:51 +0000)]
ramips: add support for Planex MZK-DP150N
This patch add support for Planex MZK-DP150N.
a mini router on the MT7620A SoC with one Ethernet port and a 802.11n 2.4 GHz radio.
Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com>
SVN-Revision: 46405
John Crispin [Fri, 17 Jul 2015 12:50:52 +0000 (12:50 +0000)]
brcm2708: add gzip image compression
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 46404
John Crispin [Fri, 17 Jul 2015 12:49:27 +0000 (12:49 +0000)]
brcm2708: add Raspberry Pi Compute Module support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 46403
John Crispin [Fri, 17 Jul 2015 12:49:09 +0000 (12:49 +0000)]
brcm2708: switch to linux 4.1
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 46402
John Crispin [Fri, 17 Jul 2015 12:48:59 +0000 (12:48 +0000)]
brcm2708: add upstream (bcm2835) modules and improve downstream ones (bcm2708)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 46401
John Crispin [Fri, 17 Jul 2015 12:48:51 +0000 (12:48 +0000)]
generic: add missing linux 4.1 symbols
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 46400
John Crispin [Fri, 17 Jul 2015 12:48:39 +0000 (12:48 +0000)]
brcm2708: add linux 4.1 support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 46399
John Crispin [Fri, 17 Jul 2015 12:48:11 +0000 (12:48 +0000)]
brcm2708: split target config into subtargets
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 46398
John Crispin [Fri, 17 Jul 2015 12:48:02 +0000 (12:48 +0000)]
brcm2708: remove unneeded base-files
Device tree exports board name/model and device LEDs.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 46397
John Crispin [Fri, 17 Jul 2015 12:47:50 +0000 (12:47 +0000)]
brcm2708: improve profiles and image generation
- Add profiles for bcm2708 subtarget.
- Check subtarget for image generation.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 46396
Jo-Philipp Wich [Fri, 17 Jul 2015 11:37:20 +0000 (11:37 +0000)]
toplevel.mk: fix LD_LIBRARY_PATH for host binaries
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 46394
Steven Barth [Fri, 17 Jul 2015 11:09:13 +0000 (11:09 +0000)]
odhcpd: fix last commit
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46393
Steven Barth [Fri, 17 Jul 2015 08:47:48 +0000 (08:47 +0000)]
odhcpd: fix dhcpv6 relay forwarding
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46392
Jonas Gorski [Thu, 16 Jul 2015 11:15:02 +0000 (11:15 +0000)]
brcm63xx: make use of dt-includes
Now that we have a dtc command that invokes the preprocessor, make use
of it and replace the magic numbers with KEY_* defines.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46391
Jonas Gorski [Thu, 16 Jul 2015 11:13:47 +0000 (11:13 +0000)]
brcm63xx: make use of the new BuildDTB command
Now that we have a BuildDTB command, make use of it instead of calling
dtc directly.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46390
Jonas Gorski [Thu, 16 Jul 2015 11:12:52 +0000 (11:12 +0000)]
image.mk: add a BuildDTB define
Add a Image/BuildDTB command that takes the path to an dts file and
applies the CPP using the default include directories, then uses dtc
to compile the dts as the specified output file.
Additional CPP and DTC flags can be supplied as additional arguments.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46389
Jonas Gorski [Thu, 16 Jul 2015 11:12:41 +0000 (11:12 +0000)]
brcm63xx: HG553 buttons support
This patch adds buttons support for Huawei EchoLife HG553.
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46388
Jonas Gorski [Thu, 16 Jul 2015 11:12:03 +0000 (11:12 +0000)]
kernel: wpan: at86rf230 depends on regmap-spi
kmod-at86rf230 select REGMAP_SPI since 3.17, so add a dependency to
kmod-regmap.
Fixes the following error:
Package kmod-at86rf230 is missing dependencies for the following libraries:
regmap-core.ko
regmap-spi.ko
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46387
Jonas Gorski [Wed, 15 Jul 2015 14:42:04 +0000 (14:42 +0000)]
brcm63xx: switch to 4.1
Switch brcm63xx to 4.1 to give it some initial testing, but keep 3.18
at least until CC-final is out.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46386
Jonas Gorski [Wed, 15 Jul 2015 14:41:45 +0000 (14:41 +0000)]
xtables-addons: update to 2.7 to fix compilation with 4.1
Also drop the configure (not .ac) patch part as autoreconf will
overwrite it anyway with a newly generated version.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Acked-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 46385
Luka Perkov [Wed, 15 Jul 2015 08:23:28 +0000 (08:23 +0000)]
rpcd: update to the latest version
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>
SVN-Revision: 46384
Felix Fietkau [Wed, 15 Jul 2015 08:17:49 +0000 (08:17 +0000)]
scripts/ipkg-build: fix a build regression introduced in r46360 (fixes #20082)
go to the $TOPDIR directory before trying to extract a git/svn timestamp
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46383
Felix Fietkau [Wed, 15 Jul 2015 08:17:42 +0000 (08:17 +0000)]
ar8216: add swconfig attributes for ARL table flushing
Add swconfig attributes for flushing the ARL table globally or per port.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
SVN-Revision: 46382
Felix Fietkau [Wed, 15 Jul 2015 08:17:36 +0000 (08:17 +0000)]
ar8216: adjust ATU flushing in case of link changes
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>
SVN-Revision: 46381
Felix Fietkau [Wed, 15 Jul 2015 08:17:28 +0000 (08:17 +0000)]
ar8216: add ARL table flushing per port
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>
SVN-Revision: 46380
Felix Fietkau [Wed, 15 Jul 2015 08:17:23 +0000 (08:17 +0000)]
ar8216: add reading ARL table for AR8216/AR8236/AR8316
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>
SVN-Revision: 46379
Felix Fietkau [Wed, 15 Jul 2015 08:16:40 +0000 (08:16 +0000)]
tools/e2fsprogs: add a darwin-compat patch
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>
SVN-Revision: 46378
Felix Fietkau [Wed, 15 Jul 2015 08:16:22 +0000 (08:16 +0000)]
wpa-supplicant: add 802.11r client support
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>
SVN-Revision: 46377
Steven Barth [Wed, 15 Jul 2015 07:38:54 +0000 (07:38 +0000)]
odhcpd: also unify router and DNS lifetimes
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46376
Steven Barth [Wed, 15 Jul 2015 06:57:43 +0000 (06:57 +0000)]
odhcpd: fix RA lifetime calculation
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46375
Jo-Philipp Wich [Tue, 14 Jul 2015 22:27:39 +0000 (22:27 +0000)]
scripts/feeds: return error status from feed update
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>
SVN-Revision: 46374
Hauke Mehrtens [Tue, 14 Jul 2015 20:56:04 +0000 (20:56 +0000)]
robocfg: remove robocfg
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>
SVN-Revision: 46373
Hauke Mehrtens [Tue, 14 Jul 2015 20:52:18 +0000 (20:52 +0000)]
adm5120: do not config something as module
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>
SVN-Revision: 46372
Hauke Mehrtens [Tue, 14 Jul 2015 20:51:37 +0000 (20:51 +0000)]
admswconfig: fix compile with musl
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>
SVN-Revision: 46371
Steven Barth [Tue, 14 Jul 2015 20:10:46 +0000 (20:10 +0000)]
odhcpd: use 65535s as default lifetime and make interval configurable
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46370
Hauke Mehrtens [Tue, 14 Jul 2015 18:51:23 +0000 (18:51 +0000)]
bcm53xx: fix usb3 build with kernel 4.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>
SVN-Revision: 46369
Jo-Philipp Wich [Tue, 14 Jul 2015 17:23:56 +0000 (17:23 +0000)]
linux: enable kmod-acpi-button for x86_64 (#20080)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 46368
John Crispin [Tue, 14 Jul 2015 16:24:10 +0000 (16:24 +0000)]
brcm2708: partially revert r46347 to fix sysupgrade
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 46367
John Crispin [Tue, 14 Jul 2015 16:24:02 +0000 (16:24 +0000)]
x86: add kmod-acpi-button and kmod-button-hotplug to default packages
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>
SVN-Revision: 46366
Felix Fietkau [Tue, 14 Jul 2015 10:30:38 +0000 (10:30 +0000)]
ccache: Make ccache aware of OpenWRT provided GCC patch.
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>
SVN-Revision: 46364
Rafał Miłecki [Tue, 14 Jul 2015 10:25:46 +0000 (10:25 +0000)]
bcm53xx: add early support for Netgear R7000
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46363
John Crispin [Tue, 14 Jul 2015 09:57:52 +0000 (09:57 +0000)]
scripts: fix 64bit uclibc external toolchain detection
according to gcc, UCLIBC_DYNAMIC_LINKER64
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 46362
John Crispin [Tue, 14 Jul 2015 09:57:45 +0000 (09:57 +0000)]
build: Prevent more gzip timestamps
To improve reproducibility, prevent the inclusion of timestamps
in the gzip header.
Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>
SVN-Revision: 46361
John Crispin [Tue, 14 Jul 2015 09:57:19 +0000 (09:57 +0000)]
ipkg-build: use deterministic timestamps in ipk tarballs
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>
SVN-Revision: 46360
John Crispin [Tue, 14 Jul 2015 09:57:08 +0000 (09:57 +0000)]
ramips: added gpio spi refclk support for wrtnode board
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>
SVN-Revision: 46359
John Crispin [Tue, 14 Jul 2015 09:56:59 +0000 (09:56 +0000)]
swconfig: Split libsw out of swconfig for reuse in other packages
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 46358