aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* generic: fix relocate build with binutils 2.25.1Jonas Gorski2016-01-241-1/+2
| | | | | | | | | | | | | | The new .abiflags section was kept, pushing the appended arguments to the wrong offset and causing it to read the section instead, making it fail on boot. Fix this by dropping this section as well as the other sections. Closes #21679. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48474 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix build of lzma-loader with binutils 2.25.1Jonas Gorski2016-01-241-1/+2
| | | | | | | | Apply the same fix as ar71xx needed in r46893. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48473 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: simplify init codeJonas Gorski2016-01-241-6/+1
| | | | | | | | | Directly return the return value of genl_register_family_with_ops() instead of storing it in a temporary variable, then returning it. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48472 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: drop linux < 3.13 code pathsJonas Gorski2016-01-241-20/+0
| | | | | | | | | The oldest kernel we support is 3.18, no need to keep code paths for older kernels. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48471 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add -fno-plt to default cflags, it improves PIC code optimizationFelix Fietkau2016-01-241-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48470 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: re-enable highmem support for MT7621 now that it's fixedFelix Fietkau2016-01-242-0/+13
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48469 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix MIPS highmem breakageFelix Fietkau2016-01-242-0/+190
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48468 3c298f89-4303-0410-b956-a3cf2f4a3e73
* musl: Add format attribute to some function declarationsHauke Mehrtens2016-01-241-0/+209
| | | | | | | | | | | | | | | | | | | | | | | | | | GCC and Clang are able to check the format arguments given to a function and warn the user if there is a error in the format arguments or if there is a potential uncontrolled format string security problem in the code. GCC does this automatically for some functions like printf(), but it is also possible to annotate other functions in a way that it will check them too. This feature is used by glibc for many functions. This patch adds the attribute to the some functions of musl expect for these functions where gcc automatically adds it. GCC automatically adds checks for these functions: printf, fprintf, sprintf, scanf, fscanf, sscanf, strftime, vprintf, vfprintf and vsprintf. The documentation from gcc is here: https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html The documentation from Clang is here: http://clang.llvm.org/docs/AttributeReference.html#format-gnu-format Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48467 3c298f89-4303-0410-b956-a3cf2f4a3e73
* musl: mips: add vdso supportHauke Mehrtens2016-01-231-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | vdso support is available on mips starting with kernel 4.4, see kernel commit a7f4df4e21 "MIPS: VDSO: Add implementations of gettimeofday() and clock_gettime()" for details. These are my micro benchmark results for 1.000.000 calls to clock_gettime(CLOCK_MONOTONIC, &tp) without vdso: root@OpenWrt:/# time ./vdso-test real 0m 0.95s user 0m 0.24s sys 0m 0.70s with vdso: root@OpenWrt:/# time /usr/bin/vdso-test real 0m 0.35s user 0m 0.34s sys 0m 0.00s Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48466 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uclient: update to the latest version, now truncates files when overwriting themFelix Fietkau2016-01-231-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48465 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add a package for bcm-phy-lib.ko, fixes build errors with ↵Felix Fietkau2016-01-231-1/+14
| | | | | | | | kmod-phy-broadcom Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48464 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uclient: update to the latest version, improves interoperability with quirky ↵Felix Fietkau2016-01-231-2/+2
| | | | | | | | servers Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48463 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ustream-ssl: update to the latest version, fixes handling SSL connection ↵Felix Fietkau2016-01-231-2/+2
| | | | | | | | close notification Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48462 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add a fix for deadlocks on dump_stackFelix Fietkau2016-01-231-0/+118
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48461 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "kernel: work around CONFIG_CPU_SW_DOMAIN_PAN breakage on ARM11 MPCore"Felix Fietkau2016-01-231-44/+0
| | | | | | | | | | | | This reverts commit r48335 The workaround is incomplete and cannot cover all possible cases. The only real solution to this problem is to disable this feature on ARM11MPcore entirely. Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48460 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing config symbolFelix Fietkau2016-01-231-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48459 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux-atm: add missing br2684ctl patch chunkFelix Fietkau2016-01-231-0/+9
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48458 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ltq-vdsl-app: mask out VDSL bits when ATM is selected, fixes compatibility ↵Felix Fietkau2016-01-231-2/+5
| | | | | | | | issues with some DSLAMs Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48457 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "ar71xx: Use full 128MB flash on Netgear WNDR4300 and WNDR3700v4"Felix Fietkau2016-01-221-1/+1
| | | | | | | | | | | | This reverts commit r48276. This can overwrite the caldata_backup partition, so the layout needs to be changed in a different way. Thanks to Arjen de Korte for spotting the issue. Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48456 3c298f89-4303-0410-b956-a3cf2f4a3e73
* qos-scripts: bump versionFelix Fietkau2016-01-221-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48455 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: Add kernel module for Freescale SNVS RTC on chip moduleFelix Fietkau2016-01-221-0/+16
| | | | | | Signed-off-by: Petr Štetiar <ynezz@true.cz> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48454 3c298f89-4303-0410-b956-a3cf2f4a3e73
* x86_64: Add missing symbolsFelix Fietkau2016-01-222-0/+12
| | | | | | Update to kernel 4.4 missed some symbols, fix that. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48453 3c298f89-4303-0410-b956-a3cf2f4a3e73
* qos-scripts: Add IPv6 supportFelix Fietkau2016-01-222-28/+64
| | | | | | | | | | | | | | | This adds IPv6 support to qos-scripts for both tc/qdisc and the iptables classification rules. The tc/qdisc part is accomplished by removing "protocol ip" from the tc command line, causing the rule to be applied to all protocols. The iptables part is accomplished by adding each rule using both iptables and ip6tables. This patch is based on previous work by Ilkka Ollakka and Dominique Martinet. Signed-off-by: Michael Marley <michael@michaelmarley.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48452 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: fix sysupgrade 'wget' handlingFelix Fietkau2016-01-221-1/+1
| | | | | | | | | | | with r48379 and r48386 the path of wget changed. respect that and adjust the dirname. this fixes #21680 Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48451 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add uclient-fetch to the default packages, in case opkg is not selectedFelix Fietkau2016-01-221-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48450 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport bcma stuff sent for 4.6Rafał Miłecki2016-01-226-0/+1418
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48449 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: allow multiple virtual interfaces on DFS channelsFelix Fietkau2016-01-224-4/+59
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48448 3c298f89-4303-0410-b956-a3cf2f4a3e73
* flock: do not use ccache, fixes build errorFelix Fietkau2016-01-211-0/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48447 3c298f89-4303-0410-b956-a3cf2f4a3e73
* qos-scripts: Allow classification by the traffic's source interfaceFelix Fietkau2016-01-211-0/+3
| | | | | | | | | | | This adds a "srciface" option that can be used on classification rules in /etc/config/qos. This is useful to allow prioritization based on the local network from which the traffic originates, for example to deprioritize traffic from a guest network. Signed-off-by: Michael Marley <michael@michaelmarley.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48446 3c298f89-4303-0410-b956-a3cf2f4a3e73
* qos-scripts: stop overriding tx queue lengthFelix Fietkau2016-01-211-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48445 3c298f89-4303-0410-b956-a3cf2f4a3e73
* musl: backport a fix that caused the wrong relocations to be emitted on some ↵Felix Fietkau2016-01-211-0/+55
| | | | | | | | architectures Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48444 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: clean up redundant SLUB/SLAB related defines for 4.4Felix Fietkau2016-01-215-13/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48443 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: switch to SLUB by default in 4.4 (for improved performance)Felix Fietkau2016-01-211-2/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48442 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uclient: update to the latest version, fixes overwrite with wget -OFelix Fietkau2016-01-211-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48441 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: only strip the platform/ prefix from path for pci devicesFelix Fietkau2016-01-211-1/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48440 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix check for existing config section from r48426Felix Fietkau2016-01-211-3/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48439 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: ignore EEPROM mismatch on flash based devices (fixes #21611)Felix Fietkau2016-01-211-0/+38
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48438 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: make backlight support depend on display supportFelix Fietkau2016-01-211-1/+3
| | | | | | | | Mark backlight core package as hidden Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48437 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: mark kmod-drm as hidden so that it only gets selected if a driver ↵Felix Fietkau2016-01-211-1/+2
| | | | | | | | for it can be selected Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48436 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: reduce AddDepends related cargo cult programming in video.mkFelix Fietkau2016-01-211-37/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48435 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: video: add DRM core and IMX DRM support for HDMI/LVDSFelix Fietkau2016-01-211-0/+172
| | | | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48434 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: video: add fbcon supportFelix Fietkau2016-01-211-1/+48
| | | | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48433 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add backlight kernel module supportFelix Fietkau2016-01-211-0/+46
| | | | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48432 3c298f89-4303-0410-b956-a3cf2f4a3e73
* oprofile: delete the package, it has become useless now that perf is workingFelix Fietkau2016-01-213-143/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48431 3c298f89-4303-0410-b956-a3cf2f4a3e73
* elfutils: fix compatibility with non-glibc buildsFelix Fietkau2016-01-211-0/+33
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48429 3c298f89-4303-0410-b956-a3cf2f4a3e73
* x86: fix kernel crash on geode devices (#21667)Felix Fietkau2016-01-211-0/+12
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48428 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: download.mk: bugfix download.pl argument call orderFelix Fietkau2016-01-211-1/+1
| | | | | | | | | Change wrong download.pl argument call order. See download.pl argument list. Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48427 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: strip platform/ prefix from device path to improve compatibility ↵Felix Fietkau2016-01-211-0/+1
| | | | | | | | between kernel versions Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48426 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: make the path phy lookup more robust regarding config upgrades, ↵Felix Fietkau2016-01-212-9/+7
| | | | | | | | allow partial path matching Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48425 3c298f89-4303-0410-b956-a3cf2f4a3e73
* grub2: switch back to installing to STAGING_DIR_HOSTFelix Fietkau2016-01-211-0/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48424 3c298f89-4303-0410-b956-a3cf2f4a3e73