aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* kernel: Revert "kernel: set root on NFS when enabled"Florian Fainelli2016-02-111-13/+0
| | | | | | | | | | This reverts r48591, users needing NFS root will know how to configure their platform and kernel command-line appropriately. Reported-by: Petr Štetiar <ynezz@true.cz> Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48689 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: fix Seama format after replacing EOF with sysupgrade dataRafał Miłecki2016-02-101-2/+13
| | | | | | | | | | Seama header has MD5 similarly to TRX and its CRC32. We need to update it after replacing anything in Seama entity content to make bootloader accept it. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48688 3c298f89-4303-0410-b956-a3cf2f4a3e73
* libubox: properly handle "null" values in blobmsg_add_json_element()Jo-Philipp Wich2016-02-091-2/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48687 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: fix kmodloader resource leaks (#21826)Jo-Philipp Wich2016-02-091-1/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48686 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: add netifd's default prelocal table to /etc/iproute2/rt_tablesJo-Philipp Wich2016-02-092-1/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48685 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: fix WRT1900AC v1 LED driver moduleJo-Philipp Wich2016-02-092-9/+9
| | | | | | | | | | | | | Update OpenWRT build tree to reflect changes in TLC-591xx LED family driver. In kernels < 4.0 the driver was present in form of a patch for the TLC-59116 chip, and was upstreamed later in kernels > 4.0 to support the entire chip family. Signed-off-by: Sebastian Careba <nitroshift@yahoo.com> [jow: fix Kconfig symbol name] Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48684 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: fix open() error handling (#21826)Jo-Philipp Wich2016-02-091-2/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48683 3c298f89-4303-0410-b956-a3cf2f4a3e73
* x86: preserve partition table on sysupgradeJo-Philipp Wich2016-02-094-2/+55
| | | | | | | | | | | | | | With this patch sysupgrade will write directly to the partitions instead of to the main disk. The UUID is copied from the image to the MBR as well. This prevents the mbr from being completely overwritten and losing the partition table. The -p option has been added to maintain the original behavior and overwite the entire disk with the new image. Tests have been added to ensure that the image partitions match up with the active partitions. Signed-off-by: Rob Mosher <nyt-openwrt@countercultured.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48682 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix build error on oversized images by putting the dir-860l-b1 size ↵Felix Fietkau2016-02-081-2/+2
| | | | | | | | check at the end of the chain Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48681 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: enable CONFIG_KALLSYMS_UNCOMPRESSED=yFelix Fietkau2016-02-081-1/+1
| | | | | | | | | It was enabled ages ago when it was added. It still saves about 10k after LZMA, so let's enable it again. Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48680 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dropbear: honor CONFIG_TARGET_INIT_PATHJo-Philipp Wich2016-02-082-6/+17
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48679 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: honor CONFIG_TARGET_INIT_PATHJo-Philipp Wich2016-02-084-10/+16
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48678 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: honor CONFIG_TARGET_INIT_PATHJo-Philipp Wich2016-02-081-3/+10
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48677 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rules.mk: add TARGET_INIT_PATH toplevel variablesJo-Philipp Wich2016-02-081-0/+2
| | | | | | | | | Add a new variable TARGET_INIT_PATH which holds the default $PATH variable value configured in menuconfig. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48676 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: add missing kconfig symbolJo-Philipp Wich2016-02-082-0/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48675 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mt76: update to the latest version, fixes fragmented rx issuesFelix Fietkau2016-02-081-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48674 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: improve a-msdu rx performance by avoiding unnecessary data copyingFelix Fietkau2016-02-081-0/+132
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48673 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix a memory leak in a-msdu rxFelix Fietkau2016-02-081-0/+22
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48672 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: update A-MSDU tx patch to the latest versionFelix Fietkau2016-02-082-21/+29
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48671 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: refresh patchFelix Fietkau2016-02-081-3/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48670 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux: fix kmod-backlight-pwmJo-Philipp Wich2016-02-081-9/+8
| | | | | | | | Also remove erroneous =m overrides from kconfig symbol list. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48669 3c298f89-4303-0410-b956-a3cf2f4a3e73
* x86: remove unrelated config overrideJo-Philipp Wich2016-02-081-1/+0
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48668 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm2708: add missing symbolsJohn Crispin2016-02-084-0/+12
| | | | | | | | | | | | enable CONFIG_PWM enable the RASPI PWM stuff fix buildbot w. 4.1 compile tested only Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48667 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: HLK-RM04 - Enable GPIO14 for WPS buttonJohn Crispin2016-02-084-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The top half of UARTF on the HLK-RM04 is used for GPIO. mode 1 mode 2 RIN GPIO14 DSR_N GPIO13 DCD_N GPIO12 DTR_N GPIO11 RXD GPIO10 CTS_N GPIO09 TXD GPIO08 RTS_N GPIO07 This patch applies 3'b101 mode to UARTF: GPIO14 GPIO13 GPIO12 GPIO11 RXD CTS_N TXD RTS_N Because the base rt5350.dtsi file forces 3'b000 mode, remove the pin setting from this file and apply it directly to the files that inherit from it (WIZFI630A.dts and WT1520.dtsi). This change makes the rt5350.dtsi file consistent with the mt7620a.dtsi file. Signed-off-by: John Clark <inindev@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48665 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rampis: HLK-RM04 - Setup I2C as GPIOJohn Crispin2016-02-081-1/+20
| | | | | | | | | | | | | | | | | | | The I2C function of the RT5350 SoC on the HLK-RM04 is used for GPIO1 and GPIO2. Take note that the I2C_SD pin is GPIO1 on the RT5350 and is exposed on the HLK-RM04 as GPIO0 Likewise the I2C_SCLK pin is GPIO2 on the RT5350 and is exposed on the HLK-RM04 as GPIO1 group mode 1 mode 2 hlk-rm04 pin & export i2c i2c_sd gpio1 (pin 8, hlk-rm04:gpio0) i2c i2c_sclk gpio2 (pin 9, hlk-rm04:gpio1) reference: http://www.hlktech.net/product_detail.php?ProId=39 http://cdn.sparkfun.com/datasheets/Wireless/WiFi/RT5350.pdf Signed-off-by: John Clark <inindev@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48664 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: HLK-RM04 - Fix push button functionsJohn Crispin2016-02-081-3/+7
| | | | | | | | | The RESET button of the HLK-RM04 is connected to GPIO0, linux function 0x198 The WPS button of the HLK-RM04 is connected to GPIO14, linux function 0x211 Signed-off-by: John Clark <inindev@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48663 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: HLK-RM04 - Remove power LED configJohn Crispin2016-02-081-9/+0
| | | | | | | | | The power LED on the HLK-RM04 is hard wired to the power bus and is not under GPIO control, remove the bogus config for it. (Note that GPIO0 is actually connected to the RESET button.) Signed-off-by: John Clark <inindev@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48662 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: For sysfixtime use hwclock if RTC availableJohn Crispin2016-02-081-0/+14
| | | | | | | | | | | | | | | | | On systems that have an RTC prefer it to the file-based time fixup (i.e. use hwclock when there is a permanent clock instead of the faked up time logic that is needed when there is not RTC). We can't rely on hctosys kernel feature either as we're usually using RTC as kernel modules which are usually being loaded after hctosys was run, leading in the following error: hctosys: unable to open rtc device (rtc0) Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com> Signed-off-by: Petr Štetiar <ynezz@true.cz> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48661 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/gmp: update to 6.1.0John Crispin2016-02-081-3/+3
| | | | | | | | Update gmp to version 6.1.0, released in November 2015. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48660 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/cmake: update to 3.4.3John Crispin2016-02-081-2/+2
| | | | | | | | Update cmake to 3.4.3. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48659 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: VGV7510KW22/VGV7519 update spi pinmux groupJohn Crispin2016-02-082-2/+2
| | | | | | | | | | | | | With the backport of the kernel 4.5 pinctrl-xway patches (3551609d & 826bca29) the pinmux group "spi" was splitted into "spi_di", "spi_do" & "spi_clk". But the no longer existing group "spi" is still used by some device tree source files. This fixes the detection of the wireless chipset of the VGV7510KW22. Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48658 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: BTHOMEHUBV5A - explicit select the flash deviceJohn Crispin2016-02-081-1/+1
| | | | | | | | | | | | | The stock u-boot doesn't disable unused flash banks. Therefore, the nand driver tries to initialize a not connected NOR flash and the device hangs on boot. Workaround the issue by selecting the second flash bank (NAND). Signed-off-by: Mathias Kresin <openwrt@kresin.me> Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48657 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix wrong parameter order in xway_nand driverJohn Crispin2016-02-081-1/+1
| | | | | | Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48656 3c298f89-4303-0410-b956-a3cf2f4a3e73
* relayd: update to the latest version, fixes some more connectivity issues ↵Felix Fietkau2016-02-081-2/+2
| | | | | | | | (#21817) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48655 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux-firmware: package BCM4366 firmwareRafał Miłecki2016-02-081-0/+3
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48654 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix flowrings infinite loops in brcmfmac on BCM4366Rafał Miłecki2016-02-071-0/+307
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48653 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: register only the built-in switch MDIO bus, hook up eth0 to it, ↵Felix Fietkau2016-02-071-1/+2
| | | | | | | | should hopefully fix regression reported in #21520 Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48652 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix MDIO bus probe on QCA956xFelix Fietkau2016-02-071-1/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48651 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fold patch 622-MIPS-ath79-add-support-for-QCA956x-ethernet.patch ↵Felix Fietkau2016-02-073-343/+56
| | | | | | | | into files/ Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48650 3c298f89-4303-0410-b956-a3cf2f4a3e73
* busybox: fix route tables in ip rule show outputFelix Fietkau2016-02-071-0/+23
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48649 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: merge a fix for minstrel expected throughput reportingFelix Fietkau2016-02-071-0/+51
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48648 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: merge a few mesh fixesFelix Fietkau2016-02-073-0/+301
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48647 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: set mac address in default network config via device sectionsFelix Fietkau2016-02-071-1/+7
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48646 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mpc85xx: fix TL-WDR4900 mac address assignment to match original firmwareFelix Fietkau2016-02-072-1/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48645 3c298f89-4303-0410-b956-a3cf2f4a3e73
* udev: delete package, it is old and not used by any core packages/targetsFelix Fietkau2016-02-075-343/+0
| | | | | | | | udev or eudev will be added to the packages feed instead Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48644 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iptables: using external kernel tree should not alter patch behaviour.Felix Fietkau2016-02-071-4/+0
| | | | | | | | | iptables is the only exception in the package tree, causing patch behaviour to be inconsistent on this package. Signed-off-by: Rick van der Zwet <rick.vanderzwet@anywi.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48643 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: don't add -fno-plt for ARCFelix Fietkau2016-02-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | Curent ARC toolchain fails to build libstdc++ if -fno-plt is used. Lots of following error messages appear: ------------------->8------------------ ... staging_dir/toolchain-arc_arc700_gcc-arc-2015.06_uClibc-1.0.9/arc-openwrt-linux-uclibc/bin/ld: BFD (GNU Binutils) 2.23.2 assertion fail elf32-arc.c:2786 collect2: error: ld returned 1 exit status ------------------->8------------------ In newer binutils (still in development) for ARC rewritten from scratch this seem to not happen, so once new binutils for ARC hit the street this patch might be reverted. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Felix Fietkau <nbd@openwrt.org> Cc: Jo-Philipp Wich <jow@openwrt.org> Cc: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48642 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: merge fix for noise floor calibrationFelix Fietkau2016-02-073-6/+93
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48641 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add first brcmfmac patches for 14e4:4365 BCM4366 supportRafał Miłecki2016-02-067-0/+381
| | | | | | | | | It's not really supported yet as it still fails with: brcmfmac: brcmf_pcie_download_fw_nvram: FW failed to initialize Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48640 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: detect image format when writingRafał Miłecki2016-02-063-13/+60
| | | | | | | | | | | | | | | Recently TRX checking code was changed to detect Seama format and don't abort whole writing operation because of it. This isn't a good long-term solution. It's a poor idea to teach every format handler recognizing all possible formats. Instead it should be handled in a generic code which should run check depending on the detected format. This will also allow further improvements like fixing formats other than TRX after replacing JFFS2. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48639 3c298f89-4303-0410-b956-a3cf2f4a3e73