aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* qos-scripts: remove faulty fallback of the device variable to eth0 (#20834)Felix Fietkau2015-11-241-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47629 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix compile errorHauke Mehrtens2015-11-241-1/+1
| | | | | | | | | This fixes a problem introduced in r47624. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47628 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix typo in image makefile (#18712)Felix Fietkau2015-11-241-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47627 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: disable software protection bits for macronix flash chips at initFelix Fietkau2015-11-242-0/+28
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47626 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath10k: fix memory allocation issues on platforms where DMA coherent memory ↵Felix Fietkau2015-11-242-0/+157
| | | | | | | | is constrained Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47625 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update m25p80 in 4.1 to the latest version from 4.4-rc1Felix Fietkau2015-11-2424-140/+1980
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47624 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: show hint when JFFS2-partition is full and overlayfs mounted ↵John Crispin2015-11-241-0/+4
| | | | | | | | | | | | | | | | | read-only since r45833 and r45848 the overlayfs is automatically mounted read-only (and blocks remounts as r/w) when JFFS2 is full. see ticket #19564 because of this normal file deletion is not possible anymore. if a user logins interactively (e.g. SSH) show a hint for this, that files must be removed in /overlay/upper/... v2: fix subject line Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47623 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add GL-Domino Pi support V3John Crispin2015-11-249-0/+204
| | | | | | | | This is the patch for GL-Domino Pi V3. Updated against the latest trunk. Signed-off-by: alzhao<alzhao@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47622 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add GL-AR300 support V3John Crispin2015-11-249-0/+177
| | | | | | | | This is the patch for GL-AR300 V3, tested against the latest trunk. Signed-off-by: alzhao<alzhao@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47621 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add GL-AR150 support V3John Crispin2015-11-249-3/+195
| | | | | | | | This is the 3rd version. Modified against the latest trunk. Signed-off-by: alzhao<alzhao@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47620 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add support for netis WF-2881John Crispin2015-11-2410-4/+198
| | | | | | | | | | | | | | | | | | | | | | | | | netis WF-2881 is an MT7621AT based router with MT7602EN, MT7612EN. It has 128MB DDR3, 128MB SLC NAND FLASH, 5-port Gbps switch and 1x USB 3.0. The following patch adds support for this device. this device only works on top of UBI. Tested and working: * ethernet * both WiFi radios * USB 3.0 * buttons (reset button) * ethernet switch and USB diag LEDs * UART * GPIOs * sysupgrade Tested and not working * failsafe Signed-off-by: YounJae Rho <luxflow@live.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47619 3c298f89-4303-0410-b956-a3cf2f4a3e73
* oxnas: set irq of usb&sata to cpu1John Crispin2015-11-241-0/+22
| | | | | | | | | V2: The KD-20 also has USB 3.0.I modiy the set_irq_affinity usb 2 to set_irq_affinity ?hci_hcd 2 to bind usb 2.0&3.0 to cpu1. Signed-off-by: Shonn Lu <countrysideboy@qq.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47618 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for Youku YK1John Crispin2015-11-246-2/+141
| | | | | | | | | Changes since V1: I resend this patch for current trunk.The former V1 patch is for CC branch. Signed-off-by: Shonn Lu <countrysideboy@qq.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47617 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add second spi master sysclkJohn Crispin2015-11-241-0/+30
| | | | | | | | for mt7620, rt3883 and rt5350 Signed-off-by: Michael Lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47616 3c298f89-4303-0410-b956-a3cf2f4a3e73
* wpa-supplicant: Get 802.11s ssid information from option mesh_idJohn Crispin2015-11-241-0/+3
| | | | | | | | | | | | The scripts for authsae and iw use the option mesh_id to get set the "meshid" during a mesh join. But the script for wpad-mesh ignores the option mesh_id and instead uses the option ssid. Unify the mesh configuration and let the wpa_supplicant script also use the mesh_id from the configuration. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47615 3c298f89-4303-0410-b956-a3cf2f4a3e73
* authsae: Use kbit/s as mcast_rate unit like wpadJohn Crispin2015-11-241-2/+10
| | | | | | | | | | | | | | | The OpenWrt wireless configuration for mcast_rate is defined as Kbit/s when using wpa_supplicant for IBSS/802.11s and iw for unencrypted IBSS/802.11s. But when using authsae, the unit for the same option is redefined as Mbit/s. Better use the same unit for this option independent of the backend which is used. Old values for mcast_rate (< 1000) are still interpreted Mbit/s to avoid problems during upgrades from older versions. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47614 3c298f89-4303-0410-b956-a3cf2f4a3e73
* authsae: Fix meshid in authsae configJohn Crispin2015-11-241-1/+1
| | | | | | | | | The variable $mesh_id was never defined in authsae_start_interface and thus the option meshid in $authsae_conf_file was always set to "". Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47613 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Build initramfs by default for Mikrotik devicesJohn Crispin2015-11-241-1/+1
| | | | | | Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47612 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uboot-imx6: fix build with gcc-5John Crispin2015-11-244-0/+266
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47611 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm2708: fix multi-device image generationJohn Crispin2015-11-241-1/+1
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47610 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: config_generate: honour port_mask property (#20963)Jo-Philipp Wich2015-11-242-2/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47609 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipq806x: another fix to the stmmac DMA configuration to fix remaining data ↵Felix Fietkau2015-11-222-2/+158
| | | | | | | | corruption issues Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47603 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update ubox to version 2015-11-22Hauke Mehrtens2015-11-221-3/+2
| | | | | | | | | | This version fixes a potential uncontrolled format string problem. This makes it possible to activate the format security check. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47600 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mountd: update mountd to version 2015-11-22Hauke Mehrtens2015-11-221-3/+2
| | | | | | | | | | This version fixes a potential uncontrolled format string problem. This makes it possible to activate the format security check. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47599 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fstools: update fstools to version 2015-11-22Hauke Mehrtens2015-11-221-3/+2
| | | | | | | | | | This version fixes a potential uncontrolled format string problem. This makes it possible to activate the format security check. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47598 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "mvebu: migrate led and network setup to board detection framework"Jo-Philipp Wich2015-11-222-9/+9
| | | | | | | | | Roll back the mvebu conversion to board detection code as we need to fix some strcutural issues first. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47597 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix network default config of the TEW-732BRJo-Philipp Wich2015-11-221-0/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47595 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipq806x: fix a nasty stmmac data corruption bug caused by faulty DMA ↵Felix Fietkau2015-11-222-0/+78
| | | | | | | | initialization Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47594 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipq806x: update stmmac to the version from linux 4.3Felix Fietkau2015-11-2217-1621/+6664
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47593 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath10k-firmware: add board-2.bin for qca99x0Felix Fietkau2015-11-221-0/+14
| | | | | | | | | Keep board.bin as fallback for devices without OTP that load caldata from flash Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47592 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add support for choosing a different url filename part than the ↵Felix Fietkau2015-11-222-4/+9
| | | | | | | | output file Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47591 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: use the correct path in case of modified preinit optionsFelix Fietkau2015-11-222-3/+3
| | | | | | | | | | | | | If the user sets any preinit options in .config, the wrong path may get applied due to wrong default value in image-config.in and due to Makefile writing also the unchanged options into 00_preinit.conf Modify the default path in image-config.in to match the current default path set by r47080. Also modify the fall-back default in Makefile. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47590 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux: add support of Synopsys ARC770-based boardsFelix Fietkau2015-11-2220-0/+983
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch introduces support of new boards with ARC cores. [1] Synopsys SDP board This is a new-generation development board from Synopsys that consists of base-board and CPU tile-board (which might have a real ASIC or FPGA with CPU image). It sports a lot of DesignWare peripherals like GMAC, USB, SPI, I2C etc and is intended to be used for early development of ARC-based products. [2] nSIM This is a virtual board implemented in Synopsys proprietary software simulator (even though available for free for open source community). This board has only serial port as a peripheral and so it is meant to be used for runtime testing which is especially useful during bring-up of new tools and platforms. What's also important ARC cores are very configurable so there're many variations of options like cache sizes, their line lengths, additional hardware blocks like multipliers, dividers etc. And this board could be used to make sure built software still runs on different HW configurations. Cc: Felix Fietkau <nbd@openwrt.org> Cc: Jo-Philipp Wich <jow@openwrt.org> Cc: Jonas Gorski <jogo@openwrt.org> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47589 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: mtd: Backport GD25Q128B support to 3.18Felix Fietkau2015-11-225-4/+19
| | | | | | | | | | | | Support is present in 3.19 and above as kernel commit: fcc87a95195236b0935183361a72e4a98bf577d8 Changes to other existing patches are a result of "make target/linux/refresh". Signed-off-by: Srdjan Rosic <srdjan.rosic@gmail.com> Signed-off-by: Srdjan Rosic <rosic@google.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47588 3c298f89-4303-0410-b956-a3cf2f4a3e73
* usign: Revert r47582 "usign: activate format-security checks"Hauke Mehrtens2015-11-221-0/+1
| | | | | | | | | | I accidentally deactivated it. This should be set to active it in any case independently what was set in the user config. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47587 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iperf: activate format-security checksHauke Mehrtens2015-11-222-1/+96
| | | | | | | | | This patch was taken from debian. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47586 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gettext-full: activate format-security checksHauke Mehrtens2015-11-222-1/+59
| | | | | | | | | This patch was taken from upstream libcroco Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47585 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gettext-full: update to version 0.19.6Hauke Mehrtens2015-11-227-9/+9
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47584 3c298f89-4303-0410-b956-a3cf2f4a3e73
* px5g-standalone: activate format-security checksHauke Mehrtens2015-11-222-3/+2
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47583 3c298f89-4303-0410-b956-a3cf2f4a3e73
* usign: activate format-security checksHauke Mehrtens2015-11-221-1/+0
| | | | | | | | | This still compiles with format-security checks activated. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47582 3c298f89-4303-0410-b956-a3cf2f4a3e73
* xfsprogs: activate format-security checksHauke Mehrtens2015-11-228-25/+38
| | | | | | | | | This patch was taken from upstream. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47581 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: update dtsi files to support second spi deviceJohn Crispin2015-11-227-380/+143
| | | | | | Signed-off-by: Michael Lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47580 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: use transfer_one instead of transfer_one_message on rt2880 spiJohn Crispin2015-11-221-65/+62
| | | | | | | | | | | | * use kernel buildin transfer_one_message. we only need to implement transfer_one and set_cs function * should support use gpio as cs pin * deselected the spi device when setup and add debug info * only reset device when first driver probe Signed-off-by: Michael Lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47579 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: move rt2880 spi clock and reset init code to spi_prepare_messageJohn Crispin2015-11-221-68/+62
| | | | | | | | | | before spi transfer. use spi_prepare_message to setup spi hardware. it will setup MSB, spi mode and speed remove sys_freq member and speed check code Signed-off-by: Michael Lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47578 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: improve rt2880 spi setupJohn Crispin2015-11-221-11/+62
| | | | | | | | | | * check clock rate, SPI mode, and word sizes * setup spi polarity * enable spi1 hw if need Signed-off-by: Michael Lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47577 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: clean up rt2880 spi probe/removeJohn Crispin2015-11-221-25/+34
| | | | | | | | | | * fill struct according to the member order * add error clean up * set min/max spi speed. so we don't need to check again Signed-off-by: Michael Lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47576 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: improve rt2880 spi wait ready functionJohn Crispin2015-11-221-16/+15
| | | | | | | | | | | use loops_per_jiffy, spi clock speed and write bytes to get the spi loop count. if loop to 0 than spi operation timeout. remove usleep. we only write 1 byte to spi device. use busy loop would be better. Signed-off-by: Michael Lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47575 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: remove rt2880 spi lock and clean bit operationJohn Crispin2015-11-221-18/+5
| | | | | | Signed-off-by: Michael Lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47574 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add rt2880/mt7620 spi register definesJohn Crispin2015-11-221-2/+63
| | | | | | Signed-off-by: Michael Lee <igvtee@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47573 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm2708: add device detection and use it for network, leds and preinitJohn Crispin2015-11-229-18/+110
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47572 3c298f89-4303-0410-b956-a3cf2f4a3e73