aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* build: use host cflags/ldflags for openssl prereq checkFelix Fietkau2015-10-051-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47138 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: improve read performance of the m25p80 chunked io patchFelix Fietkau2015-10-051-7/+58
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47137 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lldpd: wrap procd command args in separate quotesJohn Crispin2015-10-051-3/+3
| | | | | | | | | | | | Seems the match pattern was being adapted from 'eth0' to ' eth0' because of the way I added the procd command args. This did not seem to be a problem when there were multiple interfaces, just on devices with single interfaces for lldpd to listen on. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47136 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: add URL option for OEM manufacturer infoJohn Crispin2015-10-053-0/+13
| | | | | | | | | This URL can be embedded e.g. within UPnP announcements where a link to the manufacturer's homepage is desired. Signed-off-by: Michael Heimpold <mhei@heimpold.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47135 3c298f89-4303-0410-b956-a3cf2f4a3e73
* openvpn: add handling for route-pre-down optionJohn Crispin2015-10-051-1/+1
| | | | | | | | | OpenVPN 2.3 added a route-pre-down option, to run a command before routes are removed upon disconnection. Signed-off-by: Jeffery To <jeffery.to@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47134 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uboot_envtools: add P2812HNUF1John Crispin2015-10-051-0/+3
| | | | | | | | Add generation of /etc/fw_env.config for P2812HNUF1 Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47133 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: several ARV7519RW22 fixesJohn Crispin2015-10-053-9/+21
| | | | | | | | | | | | | | Fixes ARV7519RW22 flash register (only 1 flash). Power LED is green, not red. Rename message LEDs to internet. Add LEDs configuration (lan, wan, power). Enable switch VLANs. Fix secondary USB. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: José Vázquez Fernández <ppvazquezfer@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47132 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: make v4.1 the default kernelJohn Crispin2015-10-051-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47131 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Add target TP-Link TD-W8980John Crispin2015-10-057-251/+300
| | | | | | | | | The device is similar to the TD-W8970, beside a different Atheros 2.4 GHz wireless chip and the additional, PCI connected, WAVE300 5 GHz wireless. Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47130 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix ath_pci_fixup hang on bridged devicesJohn Crispin2015-10-052-2/+20
| | | | | | | | | | | | | | | | Port of r41856. In contrast to the brcm63xx target, it isn't sufficient to enable/disable the bridge. The device needs to be enabled/disabled to fix the hang. The bridge will be automatically enabled by the time the connected device is enabled. Fixes boot on TD-W8980. Signed-off-by: Mathias Kresin <openwrt@kresin.me> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47129 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Change the data-type of mac address in ETOP driverJohn Crispin2015-10-052-10/+1
| | | | | | | | This adds the changes from r46219 to the linux 4.1 patches as well. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47128 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: bugfix uninitialized variablesJohn Crispin2015-10-051-0/+2
| | | | | | | Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com> Reported-by: Sylwester Petela <sscapi@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47127 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm2708: keep boot partition mounted to allow users to change config.txtJohn Crispin2015-10-052-6/+7
| | | | | | | | | This way it's easier to configure device tree overlays, customize other parameters... Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47126 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm2708: add support for device tree overlaysJohn Crispin2015-10-052-0/+16
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47125 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm2708: switch device tree compilation to linuxJohn Crispin2015-10-052-7/+3
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47124 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm2708: fix kmod-sound-soc-bcm2708-i2s configJohn Crispin2015-10-051-0/+2
| | | | | | | | | | | Right now, selecting kmod-sound-soc-bcm2708-i2s causes build errors due to missing configs. kmod-regmap enables I2C and SPI, causing build errors due to depending variables not defined. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47123 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: improve systick timerJohn Crispin2015-10-051-6/+145
| | | | | | | | | | | | when sleep mode is disable use MIPS as clocksource and clockevent instead of systick. because MIPS timer has higher resolution 5ns less than systick 20us and larger counter bits 32 > 16. clean interrupt by write compare register at isr. fix typo cause sleep mode not enable. Signed-off-by: Michael Lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47122 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix use remove_irq to release irqaction resourceJohn Crispin2015-10-051-1/+1
| | | | | | Signed-off-by: Michael Lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47121 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for 16MB VoCoreJohn Crispin2015-10-054-35/+93
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47120 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix size-cells for spi nodesJohn Crispin2015-10-056-6/+6
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47119 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Ralink RT3883 RGMII pinmux fix.John Crispin2015-10-051-2/+2
| | | | | | | | | Due to datasheet of rt3883 SoC rgmii1 port handles pins 84-95 and rgmii2 port handles pins 72-83. When this function ports gets added to rt3883_pinmux_data there's wrong pinmux bits set (RT3883_GPIO_MODE_GE1 manages 84-95 pins and RT3883_GPIO_MODE_GE2 manages 72-83). So when enabling rgmii2 as GPIO driver confuses hardware and nothing work, neither rgmii nor gpio. Also in '0030-pinctrl-ralink-add-pinctrl-driver.patch' typo in name of rgmii2 port. Signed-off-by: Nick Leiten <nickleiten@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47118 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Enable rx of 1536 bytes ethernet frames on MT7621John Crispin2015-10-051-4/+4
| | | | | | | | | | | The default switch frame size (with FCS + header) is 1536 bytes. But the GMAC only accepted frames up to 1522 bytes. Setting it to 1536 allows to receive ethernet frames using the full of MTU 1500 + an extra VLAN header + VLAN header added by the switch. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47117 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Fix too small rx bufferJohn Crispin2015-10-051-4/+12
| | | | | | | | | | | | | | | | | | The driver assumes that the maximum received buffer for non-jumbo frames is 1536 bytes. But the allocation of the rx fragment doesn't reflect that. It currently allocates fragments which will only be large enough to be used as rx buffer with the size of 1534 bytes. This is problematic because the GMAC will now try to write to 2 bytes which don't belong to its receive buffer when a large enough ethernet frame is received. This may already be a problem on existing chips but will at least become a problem when the 1536 byte rx modus is enabled on MT7621a. It is required on this SoC to receive ethernet frames which use their full 1500 bytes MTU and a VLAN header next to the switch VLAN tag. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47116 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Fix setting of rx buffer lengthJohn Crispin2015-10-052-2/+3
| | | | | | | | | | | | | | The length of the DMA rx buffer was always set to 0 because the function for extracting the length was used to calculate the value for setting it. Instead the macro has to be split in a get and set function similar to the TX_DMA_(GET_|)PLEN(0|1) macro. No problem was noticed on MT7621a before this was changed and thus maybe it was hidden by different problem which is not yet fixed. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47115 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Allow to receive vlan over untag ports on MT7530John Crispin2015-10-051-3/+33
| | | | | | | | | | | | | | | | | | | | The MT7530 switch driver with enable_vlan set will automatically set all ports to the user port mode. The hardware will remove the incoming vlan tag on these ports and use it for its internal vlan. This is usually not wanted and makes it impossible to communicate via vlan over the switch in both directions. It is possible to configure a switch port to "transparent mode" when this port is only used as untag in the switch VLANs. This will disable the VLAN untagging of packets when they were received on this port. The tagging on "tag" ports based on the vlan id is still working. The transparent port mode cannot be used when a port is both used in a VLAN as "tag" and in another one as "untag" port. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47114 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Add build files for HiWiFi HC5x61 modelsJohn Crispin2015-10-052-0/+53
| | | | | | | | | | | | | | HiWiFi HC5661/5761/5861 models are manufactured by http://www.hiwifi.com <http://www.hiwifi.com/>. These models have similar hardware specs(MT7620A + 128M DDR2 + 16M flash). This patch adds support for them. The original author is Justin Liu (rssnsj@gmail.com). I ported the patch to trunk and submitted it here with his approval. v3 fix 1: Spaces -> Tabs 2: Removed some packages Signed-off-by: Xiaoning Kang <kangxn@163.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47113 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Add DTS files for HiWiFi HC5x61 modelsJohn Crispin2015-10-054-0/+299
| | | | | | | | | | | | | | HiWiFi HC5661/5761/5861 models are manufactured by http://www.hiwifi.com. These models have similar hardware specs(MT7620A + 128M DDR2 + 16M flash). This patch adds support for them. The original author is Justin Liu (rssnsj@gmail.com). I ported the patch to trunk and submitted it here with his approval. v3 fix 1: Merged most stuff into dtsi file 2: Remove unnecessary empty lines. Signed-off-by: Xiaoning Kang <kangxn@163.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47112 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Add base-files for HiWiFi HC5x61 modelsJohn Crispin2015-10-055-10/+45
| | | | | | | | | | | | | | | HiWiFi HC5661/5761/5861 models are manufactured by http://www.hiwifi.com. These models have similar hardware specs(MT7620A + 128M DDR2 + 16M flash). This patch adds support for them. The original author is Justin Liu (rssnsj@gmail.com). I ported the patch to trunk and submitted it here with his approval. v3 fix 1: Fixed model order 2: Remove manufacturer name from model name 3: Use a hacky but prettier way to get mac address. Signed-off-by: Xiaoning Kang <kangxn@163.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47111 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Correct WeIO board nameJohn Crispin2015-10-051-1/+1
| | | | | | | | Trivial parch to correct WeIO board name in the system. Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47110 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target/mpc85xx: check if 'generic' subtarget for image file ↵John Crispin2015-10-051-2/+5
| | | | | | | | | | | cuImage.tl-wdr4900-v1 Only add 'cuImage.tl-wdr4900-v1' to KERNEL_IMAGES if the selected subtarget is 'generic'. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47109 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iwinfo: nl80211: add support for reading TX power from netlinkJo-Philipp Wich2015-10-051-2/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47108 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rename firmware for Chinese version of TL-WR941ND v6Rafał Miłecki2015-10-051-2/+3
| | | | | | | | | | | | | It seems there are two *different* versions on TL-WR941ND v6: Chinese and European one. Currently supported by OpenWrt is Chinese one. Rename firmware to make it clear. For details see: http://wiki.openwrt.org/toh/tp-link/tl-wr941nd https://forum.openwrt.org/viewtopic.php?id=59295 Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47107 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix gcc 5 buildMatteo Croce2015-10-042-0/+26
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47106 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix binutils 2.15.1 buildMatteo Croce2015-10-041-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47105 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 4.1 to 4.1.10Hauke Mehrtens2015-10-0441-137/+90
| | | | | | | | | | | | | | | | | | | | Fixes a regression on spi flash devices (upstream commit 1583eaece6fa). Changelogs: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.7 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.8 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.9 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.10 096-ipv4-off-by-one-in-continuation-handling-in-proc-net.patch was applied upstream and dropped. Signed-off-by: Mathias Kresin <openwrt@kresin.me> [update from 4.1.9 to 4.1.10] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47104 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toplevel.mk: drop LD_LIBRARY_PATH overridesJo-Philipp Wich2015-10-031-2/+0
| | | | | | | | | | | | | Overriding LD_LIBRARY_PATH for host utilities frequently leads to problems with host executables loading shared libraries from the staging_dir, leading to crashes due to incompatible ABIs. Since most host utilties either embed a proper rpath or are reworked to link statically we do not need the workaround anymore. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47103 3c298f89-4303-0410-b956-a3cf2f4a3e73
* libnl: Install include files into libnl3Felix Fietkau2015-10-021-2/+2
| | | | | | | | | Install header files into same location as pkgconfig/libnl-3.0.pc says: Cflags: -I${includedir}/libnl3 Signed-off-by: Bruno Randolf <br1@einfach.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47102 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iproute2: adapt coexistence layer to new unified pathSteven Barth2015-10-021-5/+5
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47081 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: sanitize and unify $PATHSteven Barth2015-10-024-5/+5
| | | | | | | | Previously init and hotplug paths were different from console. Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47080 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: make nand_do_platform_check check image onlyRafał Miłecki2015-10-021-3/+0
| | | | | | | | | | | Recently all targets have been updated to call nand_do_upgrade directly. It's not needed anymore to leave a magic /tmp/sysupgrade-nand-path mark during image check. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Acked-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47079 3c298f89-4303-0410-b956-a3cf2f4a3e73
* musl: re-enable des crypto support, fixes pppd MPPE issuesFelix Fietkau2015-10-011-56/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47078 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain/uClibc: add support of uClibc-ngFelix Fietkau2015-10-0126-3/+553
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | uClibc-ng is a spin-off of original uClibc, see http://www.uclibc-ng.org/ We try to regularly add changes from uClibc to uClibc-ng. We even sent patches and bug reports to the uClibc mailing list. The config file is compatible between uClibc-ng 1.0 and uClibc git master. This might change in the future. Our main goal is to provide regularly a stable and tested release to make embedded system developers happy. The main advantage of uClibc-ng over olde good uClibc is regular releases so there's no need to keep tons of patches on top of years old 0.9.33.2 Build-tested for [1] ARM: Sunxi generic [2] MIPS: Netgear WNDR3600/3700/3800 Run-tested for [yet out of the tree] Synopsys Designware ARC AXS101. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Waldemar Brodkorb <wbx@uclibc-ng.org> Cc: Mathieu Olivari <mathieu@codeaurora.org> Cc: Felix Fietkau <nbd@openwrt.org> Cc: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47077 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add irq to mt7628 gpio nodeJohn Crispin2015-10-011-0/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47076 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rpcd: update to latest git HEADJohn Crispin2015-10-011-2/+3
| | | | | | | | Provides ubus calls for sysupgrade and password changing. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47075 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: the mmc driver can now handle CD lines that are active lowJohn Crispin2015-10-011-4/+14
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47074 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: speed selection was broken in spi-mt7621John Crispin2015-10-011-4/+5
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47073 3c298f89-4303-0410-b956-a3cf2f4a3e73
* quilt: add further relocatability fixesJo-Philipp Wich2015-09-292-4/+58
| | | | | | | | | Prevent quilt's build system from generating useless compat wrappers and hardcoded absolute utility paths to binaries in staging_dir/host/. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47070 3c298f89-4303-0410-b956-a3cf2f4a3e73
* prereq-build: test availability of Perl Thread::Queue moduleJo-Philipp Wich2015-09-291-0/+4
| | | | | | | | This is needed for building automake. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47069 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uml: backport another upstream patch to fix compile errorsFelix Fietkau2015-09-282-1/+95
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47067 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: add a dependency on fstoolsFelix Fietkau2015-09-281-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47066 3c298f89-4303-0410-b956-a3cf2f4a3e73