aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bcm53xx: add upstream nand driverHauke Mehrtens2015-06-258-1647/+3064
| | | | | | | | | This adds the upstream Broadcom nand driver and makes use of it. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46131 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add upstream PCIe driverHauke Mehrtens2015-06-256-536/+379
| | | | | | | | | | This patch adds the missing parts to use the upstream Broadcom PCIe driver and makes use of it. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46130 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add arm l2c overwrite options like in mainline kernelHauke Mehrtens2015-06-2510-31/+631
| | | | | | | | | | Instead of setting the l2c_aux_val variable in the board code make it possible to set these through device tree and make use of that. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46129 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add support for kernel 4.1Hauke Mehrtens2015-06-2544-0/+6094
| | | | | | | | | | This only removes the patches already applied upstream and makes the rest apply cleanly. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46128 3c298f89-4303-0410-b956-a3cf2f4a3e73
* libiconv-full: fix build with fortify sourceJo-Philipp Wich2015-06-252-2/+25
| | | | | | | | | | Avoid redefining `realpath` to fix the following error: .../include/fortify/stdlib.h:36:13: error: 'realpath' undeclared here (not in a function) Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46127 3c298f89-4303-0410-b956-a3cf2f4a3e73
* grub2: disable stack-protectorJo-Philipp Wich2015-06-251-0/+2
| | | | | | | | | | | | | | - enabling "-fstack-protector" results in build errors - Upstream explicitly tests & disables it v2: - use override reference: upstream commit baa2a121e004a95a12e2bb7f2419de6625a30c2d Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46126 3c298f89-4303-0410-b956-a3cf2f4a3e73
* grub2: fix build against muslJo-Philipp Wich2015-06-251-0/+26
| | | | | | | | | Invert the `__GLIBC__` guards into `!__UCLIBC__` ones to avoid invalid references to `_llseek` on musl. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46125 3c298f89-4303-0410-b956-a3cf2f4a3e73
* strace: update to 4.10Jo-Philipp Wich2015-06-253-167/+55
| | | | | | | | | | | | | | | | | | - include upstream fixes for musl compatibility Include <sys/stat.h> for S_I* macros d34e00b293942b1012ddc49ed3ab379a32337611 Include <linux/ioctl.h> for _IOC_* macros 3460dc486d333231998de0f19918204aacee9ae3 strace 4.8 is broken with musl on some arch (arm: omap,oxnas according to buildbot) compile tested only Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46124 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix mklibs with muslMatteo Croce2015-06-252-1/+12
| | | | | | | crate a relative symlink to libc.so because make wildcard function ignores broken symlinks git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46123 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fortify-headers: fix compatibility with -pedanticSteven Barth2015-06-241-0/+122
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46122 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "px5g-standalone: compatibility with fortify-headers"Steven Barth2015-06-241-1/+1
| | | | | | This reverts commit 0c912eec6d95805d30133f34165a1c4e7cbb4bec. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46121 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/feeds: observe -p flag for preferential feedsSteven Barth2015-06-241-3/+3
| | | | | | | | | | | lookup_target was trampling the $feed variable, resulting in the -p flag no longer preferentially installing from the named feed. Make sure to use a local variable for this instead. Signed-off-by: Karl Palsson <karlp@remake.is> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46120 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hardening: make override variables more intuitiveSteven Barth2015-06-241-12/+9
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46119 3c298f89-4303-0410-b956-a3cf2f4a3e73
* px5g-standalone: compatibility with fortify-headersSteven Barth2015-06-231-1/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46118 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: add fortify-headers, enable FORTIFY_SOURCE by defaultSteven Barth2015-06-235-2/+57
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46117 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uclibc: fix _HAS_SSP replacement regexJonas Gorski2015-06-231-1/+1
| | | | | | | | A dot was dropped, making it match too much. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46116 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for tp-link wr740n v5.0 (EU)Luka Perkov2015-06-231-1/+9
| | | | | | | | | | | TP-Link ships wr740n v5.0 to Romania (so probably everywhere except China) with 4 MB flash and 32 MB memory (confirmed by their local support). This patch adds support for the v5.0 clone of v4, i just tested it on my own v5.0 router and it works. Signed-off-by: Daniel Petre <daniel.petre@posteo.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46115 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ccache: upgrade to version 3.1.11Luka Perkov2015-06-231-3/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46114 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: add kernel 4.1 supportJonas Gorski2015-06-22158-0/+16148
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46113 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: add linux 4.1 supportJonas Gorski2015-06-22187-2/+29801
| | | | | | | | | | | | | | | | | | | | Boot tested: http://pastebin.com/L6aAb9xj Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> [jogo: update to 4.1 final add patches added since submission delete patches applied in later rcs restore commit messages in 220-gc-sections and 304-mips_disable_fpu fix 050-backport_netfilter_rtcache to match new API update inlined dma ops with upstream changes add missing config symbols enabled CONFIG_MULTIUSER update kmod defintions for 4.1 ] Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46112 3c298f89-4303-0410-b956-a3cf2f4a3e73
* xtables-addons: disable for kernel 4.1 for nowJonas Gorski2015-06-221-1/+1
| | | | | | | | | Netfilter APIs have changed, so the code requuires updates to compile successfully. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46111 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: disable for kernel 4.1 for nowJonas Gorski2015-06-221-1/+1
| | | | | | | | Backports requires updates to compile successfully. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46110 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netfilter.mk: fix redirect module locations for 3.19+Jonas Gorski2015-06-221-3/+3
| | | | | | | | | | | | ntf_redir_ipvX is part of NAT support, so they should be in the appropriate nft-nat kmods. Since they depend on nf_nat_redirect, nf_nat_redirect should be part of nf-nat, not ipt-nat. Fixes nft-core gaining a missing dependency on nf_nat_redirect.ko. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46109 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc/musl: rework SSP-supportSteven Barth2015-06-227-17/+76
| | | | | | | | | | | Make musl provide libssp_nonshared.a and make GCC link it unconditionally if musl is used. This should be a no-op if SSP is disabled and seems to be the only reliable way of dealing with SSP over all packages due to the mess that is linkerflags handling in packages. Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46108 3c298f89-4303-0410-b956-a3cf2f4a3e73
* otrx: add extra compilation check before using __BYTE_ORDERRafał Miłecki2015-06-221-0/+4
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46106 3c298f89-4303-0410-b956-a3cf2f4a3e73
* otrx: include endian.h to make __BYTE_ORDER work with muslRafał Miłecki2015-06-221-0/+1
| | | | | | | | | | | | Without this the condition if __BYTE_ORDER == __BIG_ENDIAN was always true. Thanks Szabolcs. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46105 3c298f89-4303-0410-b956-a3cf2f4a3e73
* b53: Allow using all 8 ports on BCM53011Rafał Miłecki2015-06-211-1/+1
| | | | | | | | | | | On two tested devices: Netgear R6250 (BCM53011 rev 2) and Luxul XWC-1000 (BCM53011 rev 3) it was possible to use port 7 and eth1 (instead of port 5 and eth0). It seems BCM53011 just like BCM53012 has 8 ports and usually 3 of them are connected to the SoC. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46104 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: fix ar956x device detectionFelix Fietkau2015-06-215-8/+28
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46090 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: mark gcc 4.9 as broken, it miscompiles some code especially on ARMFelix Fietkau2015-06-211-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46089 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: respect ACTIVE_LOW when powering USB using GPIORafał Miłecki2015-06-211-9/+28
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46088 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: enable USB power on Buffalo WZR-1750DHPRafał Miłecki2015-06-213-7/+39
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46087 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: update SPROM driver to include just-sent patchRafał Miłecki2015-06-211-44/+9
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46086 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: refresh patch with USB_MT7621_XHCI_PLATFORMRafał Miłecki2015-06-211-8/+6
| | | | | | | Fixes: edea6dfde4dc ("kernel: make USB_XHCI_PLATFORM selectable") Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46085 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: backport some brcmfmac patchesRafał Miłecki2015-06-218-0/+892
| | | | | | | | | | | There are two important patches in this patchset: updating read pointer quicker & rework of .get_station(). There are few more upstream patches that are p2p-related and weren't backported in this commit. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46084 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: enable USB power on Netgear R6250Rafał Miłecki2015-06-211-0/+38
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46083 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: update xHCI patchRafał Miłecki2015-06-211-9/+22
| | | | | | | | This drops some debugging pr_info and adds platform_device_unregister. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46082 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: fix enabling GPIO-controlled USB powerRafał Miłecki2015-06-211-0/+31
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46081 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add xHCI supportRafał Miłecki2015-06-215-1/+553
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46080 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: make USB_XHCI_PLATFORM selectableRafał Miłecki2015-06-212-0/+92
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46079 3c298f89-4303-0410-b956-a3cf2f4a3e73
* otrx: optimize memory usage by function checking TRX CRCRafał Miłecki2015-06-201-16/+18
| | | | | | | | Allocating huge buffer for the whole TRX wasn't too optimal. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46078 3c298f89-4303-0410-b956-a3cf2f4a3e73
* otrx: make crc32 table global for further optimizationsRafał Miłecki2015-06-201-67/+68
| | | | | | | | | | So far we got only one generic function accessing this table, but implementing optimizations will require calculating crc32 in other code parts as well. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46077 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uclibc++: link against libssp_nonshared instead of libsspSteven Barth2015-06-201-5/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46076 3c298f89-4303-0410-b956-a3cf2f4a3e73
* musl: update musl to 2015-06-20Steven Barth2015-06-201-73/+763
| | | | | | | | Fixes a mips-regression and a missing SSP function Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46075 3c298f89-4303-0410-b956-a3cf2f4a3e73
* libpcap: fixup libtoolSteven Barth2015-06-201-0/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46074 3c298f89-4303-0410-b956-a3cf2f4a3e73
* musl: apply hardening options (e.g. SSP) also to libc itselfSteven Barth2015-06-201-0/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46073 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package-defaults: remove libssp for musl (redundant)Steven Barth2015-06-201-1/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46072 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: musl comes with its own SSP, so use it instead of libsspSteven Barth2015-06-202-0/+15
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46071 3c298f89-4303-0410-b956-a3cf2f4a3e73
* buildroot: move hardening options into separate fileSteven Barth2015-06-202-46/+56
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46070 3c298f89-4303-0410-b956-a3cf2f4a3e73
* musl: read the timezone from /etc/TZFelix Fietkau2015-06-191-0/+28
| | | | | | | | | | | | | | | | | | | | | | Currently the OpenWRT boot scripts write the timezone configuration to /tmp/TZ, relying on the behaviour of uClibc that the timezone is read from /etc/TZ if no TZ env variable is found. This works because /etc/TZ is a symlink to /tmp/TZ. Musl libc however only reads the timezone from the TZ env variable and if it doesn't find it or it's empty, it will look for a zoneinfo file, that doesn't exist. So in musl builds no timezone is ever set. This patch fixes the issue by having musl libc behave like uClibc: if no TZ env variable is found it will try to load it from /etc/TZ. Signed-off-by: Gianluca Anzolin <gianluca at sottospazio.it> Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46069 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ppp: honor LDFLAGSSteven Barth2015-06-194-3/+42
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46068 3c298f89-4303-0410-b956-a3cf2f4a3e73