aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* arm64: boot-wrapper: Add mirrorDaniel Engberg2016-11-161-1/+3
| | | | | | | Adds Google's mirror as primary source and kernel.org as fallback. Same as commit 0d4f02dfd650612aac6c11860139be03a0f54bee Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* layerscape: ls1012ardb: only reserve ext4 fs as default firmware.binYutang Jiang2016-11-161-4/+0
| | | | | | | | | In Device/ls1012ardb IMAGES variable, there are two separate firmware references to the same packages, while do mult-job compile, the same package build process will arise conflict occasionally. So, only reserve one ext4 fs as the default firmware.bin. Signed-off-by: Yutang Jiang <yutang.jiang@nxp.com>
* layerscape: ls1043ardb: add pad-rootfs to reduce the size of firmware.binYutang Jiang2016-11-161-1/+1
| | | | Signed-off-by: Yutang Jiang <yutang.jiang@nxp.com>
* package/firmware/fman-ucode: Use HTTPSDaniel Engberg2016-11-161-1/+1
| | | | | | Change URL to use HTTPS instead of HTTP Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* package/devel/trace-cmd: Add mirrorDaniel Engberg2016-11-161-1/+3
| | | | | | | Adds Google's mirror as primary source and kernel.org as fallback. Same as commit 0d4f02dfd650612aac6c11860139be03a0f54bee Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* kernel: update kernel 4.4 to version 4.4.31Koen Vandeputte2016-11-167-25/+20
| | | | | | | + Refresh patches compile/run-tested on cns3xxx & imx6. Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* ar71xx: Add usable, inactive LEDs on OpenMesh devicesJaylin Yu2016-11-161-0/+27
| | | | | | | | | | | OpenMesh devices have often LEDs which are not yet used by OpenWrt. These should still be available as disabled LEDs in the system configuration for easier modification. Signed-off-by: Jaylin Yu <jaylin.yu@open-mesh.com> [sven.eckelmann@open-mesh.com: Remove LEDs already specified via diag.sh, add wifi/status LEDs] Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* mac80211: Make wlcore platform-independentAlexey Brodkin2016-11-161-1/+1
| | | | | | | | | | | | | | | | | TI wl18xx and wl12xx are Wi-Fi/Bluetooth combo modules that could be found on different existing boards. But it is possible to get those modules as a separate component and use with existing boards as well as new boards equipped with either module may appear so we remove dependency on OMAP instead we add dependency on MMC because this Wi-Fi module uses SDIO interface. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Jo-Philipp Wich <jo@mein.io> Cc: Felix Fietkau <nbd@nbd.name> Cc: Imre Kaloz <kaloz@openwrt.org> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
* ar71xx: add support for Buffalo BHR-4GRV2FUKAUMI Naoki2016-11-1614-4/+442
| | | | Signed-off-by: FUKAUMI Naoki <naobsd@gmail.com>
* x86-generic: add MMC support to boot off SD cardsAndreas Ziegler2016-11-161-0/+8
| | | | | | | | | MMC support has been added to x86-64 a while ago, there is no reason not to support it in x86-generic as well. Signed-off-by: Andreas Ziegler <github@andreas-ziegler.de> [Matthias Schiffer: add commit message] Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* x86: add PATA support to generic and 64 subtargetsAndreas Ziegler2016-11-162-0/+14
| | | | | | | | | | | | PATA support has been removed from x86-generic without any note in LEDE r538. Not including them makes the generated images incompatible with older (and some newer) hardware without any significant gain. Add it back, and also add the same drivers (as far as available) to x86-64. Signed-off-by: Andreas Ziegler <github@andreas-ziegler.de> [Matthias Schiffer: add back x86-generic, update commit message] Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* x86: refresh generic subtarget configMatthias Schiffer2016-11-161-4/+2
| | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ar71xx, ramips: reduce CPU load and flickering on devices using rssliedsMartin Weinelt2016-11-162-9/+9
| | | | | | | | | Polling every 40ms causes more than 10% CPU load on weak devices. An interval of 200ms is much more reasonable. Signed-off-by: Martin Weinelt <martin@darmstadt.freifunk.net> [Matthias Schiffer: adapt OpenWrt patch; add ramips; extend commit message] Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ar71xx: enable HSR tuner on Ubiquiti UAP Outdoor+Matthias Schiffer2016-11-151-0/+1
| | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ar71xx: fix DEVICE_TITLE for Ubiquiti UAP Outdoor+Matthias Schiffer2016-11-151-1/+1
| | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ath9k: add support for the HSR tuner of the Ubiquiti UAP Outdoor+Matthias Schiffer2016-11-153-0/+426
| | | | | | | | Without setting the HSR to the selected channel, the WLAN of the UAP Outdoor+ will exhibit high packet loss in RX. Based-on-patch-by: Stefan Rompf <stefan@loplof.de> Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ath9k: fix ath9k_hw_gpio_get() to return 0 or 1 on successMatthias Schiffer2016-11-151-0/+29
| | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* odhcpd: Add reload supportHans Dedecker2016-11-142-1/+5
| | | | | | | | odhcpd daemon has hitless config reload support by means of the sighup signal; add reload_service function which uses sighup signal to reload the config Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* ramips: fix polling switch interruptsFelix Fietkau2016-11-142-2/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: add port index in switch config for buffalo WHR-* and WSR-* devicesFelix Fietkau2016-11-141-4/+7
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* bcm53xx: add switch config for Buffalo WXR-1900DHP and WZR-1750DHPFelix Fietkau2016-11-141-0/+7
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: fix port indexing for WBMR-300Felix Fietkau2016-11-141-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: add hack to detect missing mt7621 cpu coresFelix Fietkau2016-11-141-0/+61
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ubox: update to the latest versionFelix Fietkau2016-11-141-3/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: fix status LED for WHR-300HP2Felix Fietkau2016-11-141-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* arptables: bump to 2015-05-20Ralph Sennhauser2016-11-143-64/+13
| | | | | | | | | | | | | | | | | | This fixes building with musl and drops the dependency on the OpenWrt kernel-header patches: 270-uapi-kernel.h-glibc-specific-inclusion-of-sysinfo.h.patch 271-uapi-libc-compat.h-do-not-rely-on-__GLIBC__.patch 272-uapi-if_ether.h-prevent-redefinition-of-struct-ethhd.patch Use the new upstream location at netfilter.org and use a define instead of a patch to "optimize". See also: https://git.netfilter.org/arptables/log/ Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com> [Jo-Philipp Wich: add mirror SHA256 sum] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* conntrack-tools: update to v1.4.4Jo-Philipp Wich2016-11-141-6/+2
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* libnetfilter-conntrack: update to v1.0.6Jo-Philipp Wich2016-11-141-2/+2
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* nettle: enable fat buildNikos Mavrogiannopoulos2016-11-141-0/+1
| | | | | | | | | This allows to include optimizations such as ARM neon which are detected on run-time. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> [Jo-Philipp Wich: picked from openwrt#191 and rebased onto LEDE master] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* toolchain: fix MIPS softfloat build issue for gcc-5.4.0BangLang Huang2016-11-141-0/+174
| | | | Signed-off-by: BangLang Huang <banglang.huang@foxmail.com>
* mvebu: revert remove of mvsw61xx device tree nodesMathias Kresin2016-11-132-0/+53
| | | | | | | | | | The marvell,88e6352 and marvell,88e6172 compatible strings are used in target/linux/generic/files/drivers/net/phy/mvsw61xx.c. No idea why grep missed them when I searched for them. Thanks to Syrone Wong for noticing and reporting my mistake. Signed-off-by: Mathias Kresin <dev@kresin.me>
* treewide: dts: use keycode defines from input dt-bindingMathias Kresin2016-11-13211-349/+757
| | | | | | | | | | | | | | | | | | | | | All compiled device tree files not mentioned are binary identical to the former ones. Fix the obvious decimal/hex confusion for the power key of ramips/M2M.dts. Due to the include of the input binding header, the BTN_* node names in: - ramips/GL-MT300A.dts - ramips/GL-MT300N.dts - ramips/GL-MT750.dts - ramips/Timecloud.dts will be changed by the compiler to the numerical equivalent. Move the binding include of lantiq boards to the file where they are used the first time to hint the user where the values do come from. Signed-off-by: Mathias Kresin <dev@kresin.me>
* treewide: dts: use C style includesMathias Kresin2016-11-127-7/+7
| | | | | | | No functional change but allows me to use one script to compile all device tree source files. Signed-off-by: Mathias Kresin <dev@kresin.me>
* treewide: dts: fix dtc compiler warningsMathias Kresin2016-11-128-57/+10
| | | | | | | | | | | Fixes invalid device tree parameters. Drop the mvsw61xx node used in mvebu device tree source files. It looks like some kind of ethernet switch cargo cult. Neither the marvell,88e6352 nor the marvell,88e6172 compatible strings can be found in any LEDE file or in the kernel sources. Signed-off-by: Mathias Kresin <dev@kresin.me>
* apm821xx: remove replaced netgear, wndr4700-usb dwc2 definitonChristian Lamparter2016-11-121-48/+0
| | | | | | | This special dwc2 device definition for the Netgear WNDR4700 has been replaced by amcc,usb-otg-405ex. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* apm821xx: consolidate apm821xx device trees filesChristian Lamparter2016-11-126-1472/+990
| | | | | | | | | | | | | This patch moves the common SoC device tree entries from the currently four supported platforms into a common apm82181.dtsi. Furthermore, this patch also changes the GPIO, IRQ and input definitions of the supported platforms to use the defined dt-bindings macros for GPIO_ACTIVE_LOW|HIGH, KEY_WPS|RESTART|*, IRQ_TYPE_* when it's appropriate. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* apm821xx: add amcc, usb-otg-405ex devicetree definitionChristian Lamparter2016-11-121-0/+44
| | | | | | | | | | | This patch adds support for the amcc,usb-otg-405ex device which is found in all APM82181 SoCs. Note: The system can't use the generic "snps,dwc2" compatible because of the special ahbcfg configuration. The default GAHBCFG_HBSTLEN_INCR4 of snps,dwc2 can cause a system hang when the USB and SATA is used concurrently. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* lantiq: fix pci issue if mem kernel parameter is usedEddi De Pieri2016-11-121-0/+22
| | | | | | | | | | | | | | | | | | | | As specified by e0229a16b0001c08e6c2611fa0bb9814507fced4 if the VR9 based router provides FXS ports and they should enabled then the following must added to the kernel command line: mem=[TOTALMEMSIZE-2M] vpe1_load_addr=ADDRESS vpe1_mem=2M By adding mem= parameter a pci device stop working correctly. The pci-lantiq.c module use get_num_physpages() to compute dynamically the memory amount of the board. The mem= make the module to compute in the wrong way the BAR11MASK, so in this situation the mask is misaligned with the dma area that the hardware expects. This patch is a port of what legacy ifxmips_pci.c does. Signed-off-by: Eddi De Pieri <eddi@depieri.net>
* iw: fix build error caused by redeclaration of NL80211_ATTR_PADRafał Miłecki2016-11-121-6/+2
| | | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Fixes: 7aff00ab199 ("iw: update to version 4.9")
* iw: update to version 4.9Rafał Miłecki2016-11-125-88/+24
| | | | | | | This adds support for "channels" command which displays more details about channels. It includes e.g. info about available widths. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* iw: update to version 4.7Rafał Miłecki2016-11-128-634/+48
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* ar71xx: generate region-coded factory images for TP-Link TL-WR841ND v11Matthias Schiffer2016-11-111-0/+3
| | | | | | | | The latest stock firmwares for US and EU regions have started checking the region code. Tested-by: Andreas Ziegler <ml@andreas-ziegler.de> Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* arm64: boot-wrapper: add mirror checksumJo-Philipp Wich2016-11-101-0/+1
| | | | | | | | Some builders have troubles cloning the boot-wrapper-aarch64.git repository so provide a mirror checksum to allow downloading from sources.lede-project.org instead. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* base-files: Prefer busybox arp over /proc/net/arp aliasMarek Lindner2016-11-101-1/+1
| | | | | | | | | A firmware compiled with BUSYBOX_CONFIG_ARP should also use by default the arp binary from busybox. Otherwise the extra functionality the user requested can only be used when running arp with the path to the binary. Signed-off-by: Marek Lindner <marek.lindner@open-mesh.com> Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ramips: add TEW-691GR/TEW-692GR 2.4 GHz interface mac addressesMathias Kresin2016-11-092-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Assign an unused MAC addresses to the 2.4GHz wifi interface as it was originally planed but not possible. The MAC address numbering of the TEW-691GR changes to the following pattern: LAN: AA:BB:CC:DD:EE:0C WIFI: AA:BB:CC:DD:EE:0D WAN: AA:BB:CC:DD:EE:0F The MAC address numbering of the TEW-692GR changes to the following pattern: LAN: AA:BB:CC:DD:EE:e4 WAN: AA:BB:CC:DD:EE:e5 2.4GHz: AA:BB:CC:DD:EE:e7 5 GHz: AA:BB:CC:DD:EE:e8 Set the label and compatible string for the TEW-692GR PCIe wireless according to the the PCI binding documentation. Use the wifi@0,0 label and the pci0,0 compatible string since the PCI vendor and device id is unknown. It should work anyway since the compatible string isn't evaluated (yet). Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: use the ralink,mtd-eeprom device tree propertyMathias Kresin2016-11-097-33/+26
| | | | | | | | | | | | | | | | | | | | | Use the ralink,mtd-eeprom instead of invoking the userspace firmware loader. Set the label and compatible string according to the the PCI binding documentation. Use the wifi@0,0 label and the pci0,0 compatible string in case the PCI vendor and device id is unknown. It should work anyway since the compatible string isn't evaluated (yet). This commit might fixes the PCIe wireless for the Buffalo WHR-600D. This board was mentioned in the board 10-rt2x00-eeprom firmware hotplug script but never had the correct eeprom name set to trigger the firmware from flash extraction. Use the usual eeprom for the soc wmac of the Dovado Tiny AC. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: drop ralink eeprom handling functionMathias Kresin2016-11-091-73/+9
| | | | | | | The eeprom handling function from the rt2x00 driver is used and this code is obsolete. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: use the device tree bindings from rt2x00 driverMathias Kresin2016-11-0911-170/+136
| | | | | | | | | | | | | Set a device specific wireless mac address for ARV7506PW11, VGV7519 and VGV7510KW22. The one from the EEPROM is a generic one and the same on all boards. Use the wifi@0,0 label and the pci0,0 compatible string for the ARV7519PW and ARV7525PW since the pci vendor and device id is unknown. It should work anyway since the compatible string isn't evaluated (yet). Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: fix VGV7519 and VGV7510KW22 mac addressesMathias Kresin2016-11-093-4/+5
| | | | | | | | | | | | | | | | | The VGV7510KW22 stock firmware uses the following mac-addresses: lan (ifno 1): AA:BB:CC:DD:EE:60 wlan (ifno 2): AA:BB:CC:DD:EE:61 atm0 (ifno 3): AA:BB:CC:DD:EE:62 atm1/wan (ifno 4): AA:BB:CC:DD:EE:63 The VGV7519 stock firmware uses the following mac-addresses: lan: AA:BB:CC:DD:EE:EF wlan: AA:BB:CC:DD:EE:EF wan: AA:BB:CC:DD:EE:EE Signed-off-by: Mathias Kresin <dev@kresin.me>
* mac80211: rt2x00: add support for mac addr from device treeMathias Kresin2016-11-0911-90/+197
| | | | | | | Backport upstream accepted patch which allows to override the EEPROM mac address with one from device tree. Signed-off-by: Mathias Kresin <dev@kresin.me>