aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
Commit message (Collapse)AuthorAgeFilesLines
* kernel: update mtdsplit for linux 4.9Felix Fietkau2017-02-0312-15/+300
| | | | | | add backport patches for older kernels Signed-off-by: Felix Fietkau <nbd@nbd.name>
* bcm53xx: set WAN MAC address to don't share one with LAN interfaceRafał Miłecki2017-02-031-1/+10
| | | | | | | | | After analyzing numerous NVRAMs and vendor firmwares it seems the base MAC address is used for LAN interface. WAN interface has different one which sometimes is set directly in NVRAM and sometines needs to be calculated. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* ar71xx: image: fix DEVICE_TITLE for several devicesPiotr Dymacz2017-02-033-4/+4
| | | | | | Be consistent with form and format of the vendor names. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: fix indentation in Kconfig.openwrtPiotr Dymacz2017-02-031-38/+40
| | | | Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: drop help sections from Kconfig.openwrtPiotr Dymacz2017-02-031-19/+0
| | | | Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: fix up mikrotik subtarget kernel configPiotr Dymacz2017-02-031-0/+4
| | | | | | Disable all devices which do not belong to the mikrotik subtarget. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: fix up nand subtarget kernel configPiotr Dymacz2017-02-031-1/+103
| | | | | | Disable all devices which do not belong to the nand subtarget. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: select ATH79_NVRAM only by boards actually use itPiotr Dymacz2017-02-031-4/+5
| | | | Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* rt5350: added pcm interface in .dtsiGiuseppe Lippolis2017-02-031-0/+13
| | | | | | | | Added the missing audio pcm interface in the .dtsi file for the rt5350 device. The update has been verified from the data get from the datasheet and is very similar to the mt7620a.dtsi Signed-off-by: Giuseppe Lippolis <giu.lippolis@gmail.com>
* generic: rtl8366rb: fix compatible stringMathias Kresin2017-02-034-4/+4
| | | | | | | Use a vendor prefix as it has to be for all not core driver. Update the compatible string in the device tree files accordingly. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: fix Sercomm NA930 compatible stringMathias Kresin2017-02-031-1/+1
| | | | | | | The Sercomm NA930 is not a mt7620a evaluation board and shouldn't use the eval board compatible string. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: remove Planex CS-QR10 sound device tree nodeMathias Kresin2017-02-031-11/+0
| | | | | | | | The comptible string is neither added by any LEDE patch nor exists in in the kernel. Drop the sound node which was obviously added accidentally with 9195d8da ("ramips: DTS rework"). Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: cleanup SPI flash device tree properties usageMathias Kresin2017-02-02110-116/+6
| | | | | | | | | Use only the jedec,spi-nor compatible string. Everything else either never worked or is only support to keep compatibility. Remove the linux,modalias property. It is obsolete since kernel 4.4. Signed-off-by: Mathias Kresin <dev@kresin.me>
* generic: mtd: update settings of mx25u3235fAndré Valentin2017-02-021-1/+1
| | | | | | | This patch enabled 4K, dual and quad read. Settings have been verified with a real device. Signed-off-by: André Valentin <avalentin@marcant.net>
* ipq806x: fixup nbg6817 internal mmc and switch configuration in DTSAndré Valentin2017-02-022-4/+1
| | | | | | | | | | | | | The setting mmc-ddr-1_8v in the platform dts leads to read errors. The device is unusable and system reboots in a loop. Because NBG6817 is the only mmc device, I removed it in base dts. The second change removes settings now present in base dts. The third change references was a wrong conversion of constants in the switch settings. Switch now initializes again. Signed-off-by: André Valentin <avalentin@marcant.net>
* kernel: bump to 4.4.46Koen Vandeputte2017-02-021-1/+1
| | | | | | | | | | Refreshed patches for all supported targets. Compile-tested on ar71xx, cns3xxx, imx6, mt7621, oxnas and x86/64. Run-tested on ar71xx, cns3xxx, imx6 and mt7621. Tested-by: Stijn Segers <francesco.borromini@inventati.org> Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* ramips: Introduce CONFIG_MIPS_APPENDED_RAW_DTB to F5D8235 V1 (rt288x)Tobias Wolf2017-02-023-3/+6
| | | | | | | | | | This activates the CONFIG_MIPS_APPENDED_RAW_DTB kernel configuration and configures the F5D8235 V1 target to use append-dtb for kernel creation instead of OWRTDTB. Signed-off-by: Tobias Wolf <github-NTEO@vplace.de> [Jo-Philipp Wich: rewrap commit message] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ramips: Introduce CONFIG_MIPS_APPENDED_RAW_DTB to arch/mips/ralinkTobias Wolf2017-02-021-0/+28
| | | | | | | | | | This commit introduces CONFIG_MIPS_APPENDED_RAW_DTB as an alternative to OWRTDTB. Both solutions can be used concurrently until all board configurations have been changed. Signed-off-by: Tobias Wolf <github-NTEO@vplace.de> [Jo-Philipp Wich: rewrap commit message] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* brcm63xx: board.d: request untagged switch config where applicableJo-Philipp Wich2017-02-021-2/+2
| | | | | | | | In order to prepare support for generating tagged switch configurations by default, explicitely request untagged configs for boards which do not already request tagging to retain default behaviour. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* kernel: fix BCM54612E PHY supportRafał Miłecki2017-02-011-14/+81
| | | | | | | This backports upstream commit 62e13097c46c ("net: phy: broadcom: rehook BCM54612E specific init") Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* mt76: update to the latest versionFelix Fietkau2017-02-0131-49/+35
| | | | | | | | Uses upstream code to parse DT supported band/frequency information. Update existing .dts files to the new format and remove unnecessary overrides. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: remove DT pcie nodes for GL-MT300A/NFelix Fietkau2017-02-012-26/+0
| | | | | | These devices don't have a secondary wifi chip Signed-off-by: Felix Fietkau <nbd@nbd.name>
* rtl8366_smi: add linux 4.4 compatibilityFelix Fietkau2017-02-011-4/+9
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: enable SMP for XRX200Felix Fietkau2017-02-013-2/+21
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* bcm53xx: fix LAN MAC address for devices that use eth2 originallyRafał Miłecki2017-02-011-0/+6
| | | | | | | | We override default Ethernet interface with eth0 which often uses random MAC due to missing proper NVRAM entry. Fix this by manually assigning MAC in the config. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* mvebu: fix usb port ledsMathias Kresin2017-02-011-10/+15
| | | | | | | | | | | | | | | | | | | All mvebu boards have three USB LEDs. The first one is used for the USB1 port. There are two LEDs related to the second USB port. The top (bar) LED gets bright in case any USB device is connected to the second USB port. If the connected device is an USB 3 (SuperSpeed) device, the small dot LED bellow the "bar" LED gets also bright. While at it, use a name for the USB LEDs that matches the names printed on the case. Fixes: FS#423, FS#425 Signed-off-by: Kabuli Chana <newtownbuild@gmail.com> Signed-off-by: Mathias Kresin <dev@kresin.me>
* kernel: backport bgmac support for external PHYsRafał Miłecki2017-01-315-4/+540
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: use upstream accepted bgmac fix for BCM47186B0Rafał Miłecki2017-01-311-1/+4
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: rename bgmac patches to squeeze themRafał Miłecki2017-01-3126-0/+0
| | | | | | | This is a pure rename without any changes. It makes maintaining bgmac simpler and will hopefully make adding new kernel a bit easier. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: update bcma to fix devm memory leaksRafał Miłecki2017-01-313-2/+133
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* ramips: add support for Buffalo WCR-1166DSFUKAUMI Naoki2017-01-319-15/+245
| | | | | | | | | | | | | | | | | | | | | Buffalo WCR-1166DS is a small wireless router with - MT7628AN + MT7612E - 64MiB DDR2 SDRAM - 16MiB SPI flash - 2T2R 11ac/a/b/g/n Wi-Fi - 2x 10/100M ethernet switch - 8x programmable LED - 3x button - UART pad on PCB (J2: 3.3V, GND, TX, RX) factory image can be installed via stock web UI. due to the "dual image" function in the bootloader, the second half of the SPI flash ("firmware2" partition) cannot be used as a part of the file system. Signed-off-by: FUKAUMI Naoki <naobsd@gmail.com>
* bcm53xx: build factory images for WZR-900DHP seriesFUKAUMI Naoki2017-01-311-0/+26
| | | | | | | | | | only factory images for DHP-EU and DHP2-JP (fw ver. 2.x) are built. this will not work for DHP-JP/AP/TW (fw ver. 1.x) because they use different buffalo_csum() formula. Signed-off-by: FUKAUMI Naoki <naobsd@gmail.com> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* ramips: add missing DTS pcie node for WSR-600Felix Fietkau2017-01-311-0/+21
| | | | | | Enables PCI bus and support for the MT7603 and RT5592 chips Signed-off-by: Felix Fietkau <nbd@nbd.name>
* bcm53xx: suppress osafeloader info error messages during flashingFelix Fietkau2017-01-301-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: fix unaligned access in xrx200_poll_rx()Alexander Couzens2017-01-301-2/+2
| | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* ledtrig-netdev: don't cancel work on events for different interfacesSergey Sergeev2017-01-291-3/+3
| | | | | | | | | This fixes logic bug(in function netdev_trig_notify) introduced in 0b2991a8ed32b5d9ba0a7c3441a72e1c1a1c4fde commit. Events triggered by different interfaces were stopping work queue so it wasn't working for tx/rx mode. Signed-off-by: Sergey Sergeev <adron@yapic.net>
* ar71xx: add missing DEVICE_TITLE for mikrotik devicesFelix Fietkau2017-01-291-0/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: prepare jffs2 partition properly in factory.bin for BHR-4GRV2FUKAUMI Naoki2017-01-281-1/+1
| | | | | | "pad-rootfs" is required just after "append-rootfs". Signed-off-by: FUKAUMI Naoki <naobsd@gmail.com>
* mxs: remove stale references to obsolete kernel module packagesMichael Heimpold2017-01-284-12/+4
| | | | | | | Commit 29443e2 (mxs: remove modules.mk, select drivers in the kernel config) missed to remove these references, so cleanup it now. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* kernel: make BCM54210E PHY code work with 4.4Rafał Miłecki2017-01-281-3/+5
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: backport BCM54210E PHY supportRafał Miłecki2017-01-281-3/+73
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* lantiq: fix brnImage signature for the VGV7510KW22BRN imagesMathias Kresin2017-01-281-2/+2
| | | | | | | | The VGV7510KW22BRN and VGV7519BRN do not have the same brnImage signature. It was accidentally changed with ba42c1d ("lantiq: un-macro the image building code"). Signed-off-by: Mathias Kresin <dev@kresin.me>
* kernel: bump to 4.4.45Koen Vandeputte2017-01-273-5/+5
| | | | | | | | Refreshed patches for all supported targets. Compiled & tested on cns3xxx & imx6 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* Revert "ar71xx: fix Archer C7 LED colour names"Mathias Kresin2017-01-271-4/+4
| | | | | | | | | | | This reverts commit e79ecb4c26471526552d2473bb50d331c3dafb87. The commit was incomplete and the issue that should be fixed isn't that easy fixable. The Archer C7 mach file is used for the Archer C5, WDR4900 and WDR7500 as well. Where the WDRs in compare to the Archer do have blue LEDs. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ixp4xx: put apex images into image staging directoryJo-Philipp Wich2017-01-271-2/+2
| | | | | | | | | | | | Do not put the apex images into the kernel build directory as this directory might get removed after kernel updates while the apex packages InstallDev recipe is not getting re-executed because it is still considered current, leading to image build failures later on due to missing images. To ensure that built bootloader images persist over kernel version updates in the buildroot, put them into the new STAGING_DIR_IMAGE directory. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* mxs: put u-boot images into image staging directoryJo-Philipp Wich2017-01-271-2/+2
| | | | | | | | | | | | Do not put the u-boot images into the kernel build directory as this directory might get removed after kernel updates while the u-boot packages InstallDev recipe is not getting re-executed because it is still considered current, leading to image build failures later on due to missing images. To ensure that built bootloader images persist over kernel version updates in the buildroot, put them into the new STAGING_DIR_IMAGE directory. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* oxnas: put u-boot images into image staging directoryJo-Philipp Wich2017-01-271-1/+1
| | | | | | | | | | | | Do not put the u-boot images into the kernel build directory as this directory might get removed after kernel updates while the u-boot packages InstallDev recipe is not getting re-executed because it is still considered current, leading to image build failures later on due to missing images. To ensure that built bootloader images persist over kernel version updates in the buildroot, put them into the new STAGING_DIR_IMAGE directory. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* sunxi: put u-boot images into image staging directoryJo-Philipp Wich2017-01-271-2/+2
| | | | | | | | | | | | Do not put the u-boot images into the kernel build directory as this directory might get removed after kernel updates while the u-boot packages InstallDev recipe is not getting re-executed because it is still considered current, leading to image build failures later on due to missing images. To ensure that built bootloader images persist over kernel version updates in the buildroot, put them into the new STAGING_DIR_IMAGE directory. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* layerscape: put u-boot and ucode images into image staging directoryJo-Philipp Wich2017-01-271-3/+3
| | | | | | | | | | | | Do not put the u-boot and ucode images into the kernel build directory as this directory might get removed after kernel updates while the u-boot packages InstallDev recipe is not getting re-executed because it is still considered current, leading to image build failures later on due to missing images. To ensure that built bootloader images persist over kernel version updates in the buildroot, put them into the new STAGING_DIR_IMAGE directory. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* mvebu: put u-boot images into image staging directoryJo-Philipp Wich2017-01-271-1/+1
| | | | | | | | | | | | Do not put the u-boot images into the kernel build directory as this directory might get removed after kernel updates while the u-boot packages InstallDev recipe is not getting re-executed because it is still considered current, leading to image build failures later on due to missing u-boot images. To ensure that built bootloader images persist over kernel version updates in the buildroot, put them into the new STAGING_DIR_IMAGE directory. Signed-off-by: Jo-Philipp Wich <jo@mein.io>