summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bcm53xx: use USB patches sent upstream by HaukeRafał Miłecki2015-06-168-162/+383
| | | | | | | | | | | | | | | This stabilizes USB support. The old patch was handling initialization in a different order that was causing some problems with few USB 3.0 devices. Some weren't detected, some were working unstable, sometimes USB 3.0 could hang the whole controller. A still known issue (but not a regression) is controller hang triggered by connecting USB 1.1 device when not having OHCI controller enabled (kmod-usb-ohci). Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45997
* toolchain: switch to musl by default, except for mips64Felix Fietkau2015-06-152-5/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45995
* kernel: use bcma-hcd.ko on bcm53xx for ohciRafał Miłecki2015-06-151-0/+1
| | | | | | | | | | On bcm53xx we still need usb-ohci to support USB 1.1 devices and it obviously needs bcma-hcd.ko that will init controller and register platform device. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45994
* kernel: add missing config symbol (#19870)Felix Fietkau2015-06-152-0/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45992
* mt76: update to the latest version to fix a build error (#19871)Felix Fietkau2015-06-151-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45990
* Update dnsmasq to v2.73.Steven Barth2015-06-151-3/+3
| | | | | | Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk> SVN-Revision: 45988
* Revert "kernel: add rtl8723au driver (staging)"Felix Fietkau2015-06-151-21/+0
| | | | | | | | | This one cannot possibly work, as it depends on cfg80211, which is built out of tree. Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45985
* elfutils: bump to 0.162Felix Fietkau2015-06-159-447/+634
| | | | | | | | | | | Besides source.tgz, 001-elfutils-portability.patch (provided by upstream project) where updated. Other patches where updated to fix hulk warnings and minor conflicts. Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com> SVN-Revision: 45984
* ar71xx/image: move ubnt images to new BuildCodeFelix Fietkau2015-06-151-89/+175
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 45983
* ar71xx/image: add build step mkubntimage2 mkubntkernelimage for unifi boardsFelix Fietkau2015-06-151-0/+22
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 45982
* ar71xx/image: new build step Build/mkubntimage for ubnt factory imagesFelix Fietkau2015-06-151-0/+29
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 45981
* image.mk: add Build step pad-toFelix Fietkau2015-06-151-0/+5
| | | | | | | pad-to can be used in a pipe to pad the image to a specific chunk-size. Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 45980
* image.mk: add Build step combined-imageFelix Fietkau2015-06-151-0/+7
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 45979
* Makefile: move the cleaning of staging_dir/target* from dirclean to cleanFelix Fietkau2015-06-141-2/+2
| | | | | | | | | | | | | | | | | | Currently "make clean" only clears the build_dir/target*, but leaves staging_dir/target* intact. "make clean" should also clean the staging_dir/target* directories, as in the current situation some old packages or libraries may be linked into the firmware from staging_dir despite a "make clean". The patch reorganises clean / dirclean functionality so that * "make clean" also clears the staging_dir/target* in addition to build_dir/target*. * "make dirclean" clears toolchain and host(=tools) directories from both build_dir and staging_dir signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> SVN-Revision: 45973
* procd: update to the latest version, adds a few fixesFelix Fietkau2015-06-141-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45972
* ar71xx: return limit as number of processed frames when re-scheduling NAPI pollFelix Fietkau2015-06-141-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45971
* ar8216: Fix problem with AR8337 MAC swap handlingFelix Fietkau2015-06-146-4/+10
| | | | | | | | | | | | | | | | | | | | | AR8337 supports a configuration bit to swap MAC0 and MAC6. Currently this is set in general if an AR8337 is detected and causes issues with devices using an AR8334 (internally an AR8337, just less chip pins). And it might even cause issues with AR8337-based devices with different board designs. Swapping the MAC's however isn't needed for AR8337 in general. It's just needed in case of certain board designs (affected devices seem to be based on Atheros reference board AP135/136-010). Therefore this configuration bit should be moved to platform data. The patch includes the needed changes to the device initialization code of affected devices. Hopefully I didn't miss any .. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 45970
* elfutils: import package from packages.gitFelix Fietkau2015-06-1410-0/+2988
| | | | | | | | | elfutils is required by perf. So we'll move this package from packages.git and make it part of the core distribution. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45969
* bzip2: import package from packages.gitFelix Fietkau2015-06-141-0/+87
| | | | | | | | | | bzip2 is required by elfutils, itself required by perf. So we'll move this package from packages.git and make it part of the core distribution. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45968
* argp-standalone: import package from packages.gitFelix Fietkau2015-06-142-0/+127
| | | | | | | | | | argp-standalone is required by elfutils, itself required by perf. So we'll move this package from packages.git and make it part of the core distribution. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45967
* include/scan.mk: Add -a argument to the grep to treat all Makefiles as a ↵Felix Fietkau2015-06-141-1/+1
| | | | | | | | | | | | | | | | text file. Hello, I found out that in some rare cases grep can treat Makefile as a binary file. That happened to me on UTF-8 Gentoo if Makefile contained a character which was from extended ASCII table. Without this patch the output of the grep command in the $(FILELIST) target is not valid (contains line "Binary file matches") and following commands fail to create feed index file. Best Regards, Martin Strbacka Signed-off-by: Martin Strbacka <martin.strbacka@nic.cz> SVN-Revision: 45966
* ar71xx: Add pll_1000 value for eth0 to Ubiquiti Rocket M XWFelix Fietkau2015-06-141-1/+2
| | | | | | | | | | This patch adds the pll_1000 value for eth0 interface. This makes the Rocket M XW image compatible with other Ubiquiti devices with similar hardware with a Gigabit Ethernet port. Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net> SVN-Revision: 45965
* build: do another init script enabling run, fixes init scripts added via ↵Felix Fietkau2015-06-141-0/+4
| | | | | | | | files/ (#19857) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45964
* oxnas: change file extension of u-boot+initramfs imageFelix Fietkau2015-06-141-1/+1
| | | | | | | | | | The *u-boot-initramfs* images are not ITB/FIT images but are rather supposed to be loaded to RAM and jumped-into. To avoid confusion, change the file extension from itb to bin. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 45963
* openvpn: bump PKG_RELEASE.Felix Fietkau2015-06-141-1/+1
| | | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 45962
* openvpn: let instances drop to nobody in default config.Felix Fietkau2015-06-141-0/+2
| | | | | | | | | This is for security precautions. As persist_tun and persist_key are already there, this should not cause compatibility issue. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 45961
* openvpn: fix handling option auth_retry.Felix Fietkau2015-06-141-2/+2
| | | | | | | | | As reported in ticket #19104, auth_retry takes a <type> argument with 3 choices: none, nointeract, interact. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 45960
* libubox: update to the latest version, adds a few fixesFelix Fietkau2015-06-141-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45959
* ar71xx: fix mac offset in firmware fileFelix Fietkau2015-06-141-1/+1
| | | | | | | | | In new firmware-4.bin (for ath10k) mac offset is 0x114 (276), not 0x118 (280). This also closes #19751, bug introduced in #45624 Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> SVN-Revision: 45958
* firmware-tools/ptgen: use stdint types for struct pteFelix Fietkau2015-06-141-7/+8
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45957
* firmware-tools/ptgen: fix endianness conversion for PTE .start, .length field.Felix Fietkau2015-06-141-4/+4
| | | | | | | | They are of 32-bit little endian integers. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 45956
* procd: correct the order of respawn params in the comments.Felix Fietkau2015-06-141-1/+1
| | | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 45955
* ar71xx: fix 100/10mbps ethernet link issues on mynet range extenderFelix Fietkau2015-06-142-4/+69
| | | | | | | | | | | | | | | | | | The mynet range extender hardware is suffering from ethernet link loss when booting with a recent openwrt image. This only happens on 100mbps links, with 1Gbps speed the link was fine. The cause of the problem is that the AR8035 PHY (aka F1E) requires turning on and off the special TX delay setting depending on the speed of the link. The 10mbps mode only needed the proper pll value, which was extracted from the vendor code. Reported-by: Pascal Paradis Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> SVN-Revision: 45954
* samba36: remove host build pathsFelix Fietkau2015-06-141-3/+6
| | | | | | | | | | | | | - fix iconv detection because it adds host paths - disable python detection (host python-config is found) iconv issue is reported by buildbot config.log + replicated locally see config.log in logs.tar.gz python issue observed locally on Arch Linux Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> SVN-Revision: 45953
* mt76: update to the latest version, adds many fixesFelix Fietkau2015-06-131-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45952
* openssl: 1.0.2c (srsly, you guys, srsly)Steven Barth2015-06-121-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 45950
* ppp: bump PKG_RELEASESteven Barth2015-06-121-1/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 45949
* ppp : Unnumbered supportSteven Barth2015-06-121-1/+39
| | | | | | | | | | | | | | | | | Adds PPP unnumbered support via the parameter unnumbered which points to a logical OpenWRT interface. The PPP proto shell handler will "borrow" an IP address from the unnumbered interface (if multiple IP addresses are present the longest prefix different from 32 will be "borrowed") for which a host interface dependency will be created. Due to the host interface dependency the PPP unnumbered interface will only "borrow" an IP address from an interface which is up. The borrowed IP address will be shared as local IP address by the PPP daemon and no other local IP will be accepted from the peer in the IPCP negotiation. A typical use case is the usage of a public IP subnet on the Lan interface which will be shared by the PPP interface as local IP address. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> SVN-Revision: 45948
* openssl: fixes CVE-2015-4000 CVE-2015-1788 CVE-2015-1789 CVE-2015-1790 ↵Steven Barth2015-06-111-1/+1
| | | | | | | | CVE-2015-1792 CVE-2015-1791 Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 45947
* openssl: 1.0.2b (hey, we made it nearly 3 months this time!)Steven Barth2015-06-117-32/+18
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 45946
* brcm63xx: fix A4001N image padding sizeJonas Gorski2015-06-111-1/+1
| | | | | | | | | | | | When r42245 moved A4001N to DT based detection the image padding size was accidentally increased from 4 to 8 MiB. This made images unflashable on these devices. Fixes #19836. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 45945
* toolchain/gcc: upgrade Linaro GCC 4.9 to 4.9-2015.03Imre Kaloz2015-06-1116-38/+34
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 45944
* bcm53xx: update NVRAM driver to MIPS version from upstream-sfrRafał Miłecki2015-06-101-21/+16
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45943
* brcm47xx: backport BCM47XX patches (NVRAM & BCMA_HOST_PCI)Rafał Miłecki2015-06-1010-12/+354
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45942
* odhcp6c: work around RIOs matching PIOs as sent by some apple routersSteven Barth2015-06-102-1/+5
| | | | | | | | Thanks to Mikael Abrahamsson for reporting. Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 45941
* 6to4: Remove sourcerouting parameter registrationSteven Barth2015-06-101-1/+0
| | | | | | | | | Commit 31214c38c8dd0f70366b523f9b0335145b9386bd removes IPv6 unneeded source-dest-routing workarounds; as a result sourcerouting parameter is unused and can be removed. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> SVN-Revision: 45940
* 6rd: Remove sourcerouting parameter registrationSteven Barth2015-06-101-1/+0
| | | | | | | | | Commit 31214c38c8dd0f70366b523f9b0335145b9386bd removes IPv6 unneeded source-dest-routing workarounds; as a result sourcerouting parameter is unused and can be removed. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> SVN-Revision: 45939
* b53: fix memory out of bounds access on 64 bit targetsJonas Gorski2015-06-101-2/+2
| | | | | | | | | | | | | On device reset the sizes for the vlan and port tables were wrongly calculated based on the pointer size instead of the struct size. This causes buffer overruns on 64 bit targets, resulting in panics. Fix this by dereferencing the pointers. Reported-by: Fedor Konstantinov <blmink@mink.su> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 45938
* b53: widen stp state mask to 3 bits (instead of 2)Jonas Gorski2015-06-101-1/+1
| | | | | | | | | | | | | | | At least on my b53 chip, the mask is 3 bits wide, and because of this some STP states are not set properly and discarded when read. Maybe for some other chips it makes sense to have just 2 bits width, but I don't have other versions around to test/validate. If that's the case then maybe we could add another STP state mask. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 45937
* map: add sleep work-around for lw4o6 race-conditionSteven Barth2015-06-092-1/+4
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 45936