Commit Graph

32024 Commits (13f50151bc99f2d36d768e6b9da7d11aa0a00507)
 

Author SHA1 Message Date
Felix Fietkau 13f50151bc 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
9 years ago
Felix Fietkau 51ab7ade4e 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
9 years ago
Felix Fietkau 26d71e9b25 netifd: update to the latest version, fixes setting RPS/XPS for wlan devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46421
9 years ago
Felix Fietkau 473ddd592c 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
9 years ago
John Crispin c89f360059 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
9 years ago
John Crispin 2d955b51fe ar71xx: use automatic firmware partition splitting for devolo dLAN devices
Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>

SVN-Revision: 46414
9 years ago
Felix Fietkau 621dd13590 cfg80211: fix a locking issue (#20098)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46413
9 years ago
Felix Fietkau 363f32c8ac ramips: enable mt76 by default for mt7621
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46410
9 years ago
Felix Fietkau 9ed820a4a7 mt76: update to the latest version, fixes rx buffer allocation issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46409
9 years ago
Steven Barth 706adb1601 odhcp6c: add option "sourcefilter" to disable source filter
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46408
9 years ago
Hauke Mehrtens 59671b844a 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
9 years ago
John Crispin d42b6c1afb 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
9 years ago
John Crispin eff79253f2 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
9 years ago
John Crispin 84b89e4ec4 brcm2708: add gzip image compression
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 46404
9 years ago
John Crispin 08a416e3b9 brcm2708: add Raspberry Pi Compute Module support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 46403
9 years ago
John Crispin f7ac790356 brcm2708: switch to linux 4.1
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 46402
9 years ago
John Crispin b19a645b40 brcm2708: add upstream (bcm2835) modules and improve downstream ones (bcm2708)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 46401
9 years ago
John Crispin bc5009472d generic: add missing linux 4.1 symbols
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 46400
9 years ago
John Crispin 208ab54e3e brcm2708: add linux 4.1 support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 46399
9 years ago
John Crispin 03b56c9350 brcm2708: split target config into subtargets
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 46398
9 years ago
John Crispin 623da91e4d 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
9 years ago
John Crispin 8ef50ec40b 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
9 years ago
Jo-Philipp Wich b052a00c0b toplevel.mk: fix LD_LIBRARY_PATH for host binaries
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 46394
9 years ago
Steven Barth 56e7ba4a1e odhcpd: fix last commit
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46393
9 years ago
Steven Barth 9a977c2b11 odhcpd: fix dhcpv6 relay forwarding
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46392
9 years ago
Jonas Gorski 4981c7da0d 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
9 years ago
Jonas Gorski 71e0bd0165 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
9 years ago
Jonas Gorski e7b5dd0e1d 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
9 years ago
Jonas Gorski 491cfb06d0 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
9 years ago
Jonas Gorski 30f9eb4cef 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
9 years ago
Jonas Gorski 730f06410e 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
9 years ago
Jonas Gorski 46a69e96a4 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
9 years ago
Luka Perkov d4ff533bcc 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
9 years ago
Felix Fietkau 7f359e52ce 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
9 years ago
Felix Fietkau b04b1ca933 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
9 years ago
Felix Fietkau 33b72b8e0f 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
9 years ago
Felix Fietkau 00e599b0b7 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
9 years ago
Felix Fietkau 2666403c3a 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
9 years ago
Felix Fietkau 52ea491bdf 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
9 years ago
Felix Fietkau e23c3bb339 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
9 years ago
Steven Barth f08895d0e9 odhcpd: also unify router and DNS lifetimes
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46376
9 years ago
Steven Barth d8e082c593 odhcpd: fix RA lifetime calculation
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46375
9 years ago
Jo-Philipp Wich c5fbcf59e0 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
9 years ago
Hauke Mehrtens 6c8c019b78 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
9 years ago
Hauke Mehrtens e06f6ae640 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
9 years ago
Hauke Mehrtens 750a62195c 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
9 years ago
Steven Barth a5641a6444 odhcpd: use 65535s as default lifetime and make interval configurable
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46370
9 years ago
Hauke Mehrtens 60cecc6fa5 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
9 years ago
Jo-Philipp Wich 52bfee77e4 linux: enable kmod-acpi-button for x86_64 (#20080)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 46368
9 years ago
John Crispin 94ef06a8c2 brcm2708: partially revert r46347 to fix sysupgrade
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 46367
9 years ago