aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
Commit message (Collapse)AuthorAgeFilesLines
* ipq806x: sync with latest patches sent by QCAJohn Crispin2016-08-1811-93/+1350
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* kernel: bgmac: add support for BCM53573Rafał Miłecki2016-08-182-11/+171
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: bgmac: fix regression in MII registrationRafał Miłecki2016-08-181-0/+29
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: bgmac: backport 3 remaining small fixesRafał Miłecki2016-08-173-0/+95
| | | | | | This makes bgmac in sync with upstream verison. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: bgmac: backport patch adding platform supportRafał Miłecki2016-08-173-25/+1289
| | | | | | It also reworks bcma support by moving specific code to separated file. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: bgmac: backport patch switching to feature_flagsRafał Miłecki2016-08-173-5/+451
| | | | | | | It was needed upstream to avoid bcma references in the main code. To match this new code our patch adding SRAB was also updated. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* archs38: Introduce images for SD-cardsAlexey Brodkin2016-08-1613-80/+132
| | | | | | | | | | | | | | | | | | Historically on ARC we started from initramfs-based images because: a) It was much easier to debug especially when toolchain and other components were changing quite dynamically b) It was our usual approach for embedded Linux But now with ARC port of Lede/OpenWRT getting more stable and mature we're ready for more real-life scenarios with FS permanently stored on SD-card. This essentially benefits from ability to setup devices that survive reboots with all settings and extra packages kept in place. Still we keep an ability to build images with initramfs. This allows us to use storage-less simulators for testing still. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: John Crispin <john@phrozen.org>
* archs38: Remove MMC kernel modules, they are built-in nowAlexey Brodkin2016-08-162-2/+2
| | | | | | | | If we want to boot from SD-card we need to have corresponding drivers already built-in so there's no point in having these modules. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* archs38: Update kernel configurationAlexey Brodkin2016-08-161-2/+9
| | | | | | | | | | | | | | Now when we're switching to FS on SD-card it's necessary to have full stack of MMC block & FC drivers built-in otherwise kernel won't be able to mount FS with needed modules. Also we enable parsing of input parameters passed to the kernel by U-Boot. Otherwise kernel won't know where to look for command line and what's worse device tree blob (we had to disable this by default for cases when kernel is loaded by JTAG and core registers may have undefined state lading to kernel going bonkers). Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* archs38: Reduce generalizationAlexey Brodkin2016-08-161-23/+11
| | | | | | | | | | | | | | As support of ARC HS38 in OpenWRT/Lede matures we don't need debug-only output binaries any longer, so purging vmlinux for AXS10x boards. As for uImage for nSIM it makes completely no sense because there's no way to run U-Boot on nSIM. So we remove add_archs38_XXX scripts making code more compact and cleaner. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* arc: use patched .dts from sourcesAlexey Brodkin2016-08-1613-943/+194
| | | | | | | | | | | | | | Instead of using off-the-tree .dts files for ARC boards we're switching to use in-tree ones. And for that to work properly we apply upstream patch that adds currently missing "model" property. Upstream patch and discussion could be found here: http://lists.infradead.org/pipermail/linux-snps-arc/2016-August/001394.html Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Jonas Gorski <jonas.gorski@gmail.com> Cc: John Crispin <john@phrozen.org>
* kernel: backport bgmac patch moving MDIO code into separated fileRafał Miłecki2016-08-172-9/+685
| | | | | | This prepares bgmac for the biggest change: dropping bcma dependency. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: backport simple bgmac cleanup & fix from JonRafał Miłecki2016-08-163-5/+524
| | | | | | | These 2 trivial patches will be followed by a bigger bgmac rework so they are worth backporting in a separated patch. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: add BCM53573 flash fix sent upstreamRafał Miłecki2016-08-161-0/+57
| | | | | | | This fixes flash corruptions. It touches bcm47xxsflash driver shared between brcm47xx and bcm53xx so put it in generic. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: update bgmac by adding Florian's upstream changesRafał Miłecki2016-08-165-4/+202
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* swconfig: revert the portmapping patches, they seem to cause a segfaultJohn Crispin2016-08-165-1/+124
| | | | | | | | | | | | Revert "kernel/swconfig: remove obsolete portmapping feature from swconfig" This reverts commit 675407baa44a8700de20b6b2857009a552a807ba. Revert "swconfig: remove obsolete portmapping feature" This reverts commit fca1eb349ef31b133a62880cbd562d6bf17500aa. Signed-off-by: John Crispin <john@phrozen.org>
* bcm53xx: fix warning caused by m25p80 patchRafał Miłecki2016-08-161-5/+2
| | | | | | | | | | It was adding unused variable: drivers/mtd/devices/m25p80.c: In function 'm25p80_write': drivers/mtd/devices/m25p80.c:85:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: support watchdog (and so reboot) on BCM53573Rafał Miłecki2016-08-161-0/+104
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* lantiq/xrx200-net: Add support for eth0 as WAN interfaceMartin Schiller2016-08-151-1/+1
| | | | | | | | Use priv->wan instead of priv->id as indicator if packets should go to the Ethernet WAN group (DPID=1) or not (DPID=0). This way, it's independant of interface names or indexes. Signed-off-by: Martin Schiller <mschiller@tdt.de>
* lantiq: add kmod-ledtrig-usbdev to device packages which have usb ledMatti Laakso2016-08-151-5/+5
| | | | | | | | By default USB LEDs are associated with usbdev trigger. However, not all devices which have USB LEDs have kmod-ledtrig-usbdev in their list of default packages. Add it to the relevant devices. Signed-off-by: Matti Laakso <matti.laakso@outlook.com>
* rb532: rename patches directory to patches-4.1Stijn Tintel2016-08-153-24/+22
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* orion: rename patches directory to patches-3.18Stijn Tintel2016-08-154-54/+52
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* omap: rename patches directory to patches-4.4Stijn Tintel2016-08-151-4/+3
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* au1000: rename patches directory to patches-3.18Stijn Tintel2016-08-155-31/+30
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* malta: enable be64 and le64 subtargetsYousong Zhou2016-08-156-1/+18
| | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* octeon: remove the now redundant cpu cflags overrideYousong Zhou2016-08-151-1/+0
| | | | | | The flags are now properly defined in include/target.mk Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* lantiq/xrx200-net: add interrupt for second DMA TX channel to vr9.dtsiMartin Schiller2016-08-151-1/+1
| | | | Signed-off-by: Martin Schiller <mschiller@tdt.de>
* lantiq/xrx200-net: fix "tx ring full" error by introducing second DMA TX channelMartin Schiller2016-08-151-17/+31
| | | | | | | | | | With an own DMA TX channel for each network device (eth0 + eth1) there won't be any "tx ring full" errors any more. This patch also move the spinlocks to the channel level instead of locking the whole xrx200_hw structure. Signed-off-by: Martin Schiller <mschiller@tdt.de>
* kernel/swconfig: remove obsolete portmapping feature from swconfigJohn Crispin2016-08-155-124/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ar71xx: fix profile name of Mercury MW4530RChuanhong Guo2016-08-152-2/+2
| | | | | | | | The mw4530r-v1 profile in tp-link.mk is for Mercury MW4530R. There is no such a device called TL-WDR4530. Also change MERCURY to Mercury in /lib/ar71xx.sh Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
* kernel: fix crashlog on x86/64Jo-Philipp Wich2016-08-151-2/+6
| | | | | | | | | | | | The bootmem area reserved for crashlog might be smaller than CRASHLOG_OFFSET bytes, leading to an integer underflow when calculating the memory address in crashlog_set_addr() which subsequently causes the kernel to crash when attempting to vmap() the crashlog pages. Change the logic to only consider the offset when the size of the used memory area is sufficient. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* bcm53xx: add quick fixes for BCM53573Rafał Miłecki2016-08-151-0/+97
| | | | | | | | It adds and uses ILP clock that requires some other work (in progress) for upstreaming it. Other than that it adds a quick fix for bcma to add serial flash before trying to read SPROM. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: add temporary BCM53573 ILP clock driverRafał Miłecki2016-08-151-0/+235
| | | | | | | | It wasn't accepted upstream as there was a discusson on Northstar vs. BCM53573. Once we get a new ARM arch Kconfig entry it should be possible to upstream it. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: prepare for building Tenda AC9 TRX imageRafał Miłecki2016-08-151-0/+8
| | | | | | It'll be enabled when we complete basic support. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: drop target's preinit network support scriptRafał Miłecki2016-08-141-7/+0
| | | | | | We don't need it anymore since the rework of generic preinit script. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* mvebu: rework ClearFog bundle.tar.gz generationJo-Philipp Wich2016-08-141-12/+6
| | | | | | | Instead of introducing a fake filesystem type, move the tar generation step directly into the image build step. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* bcm53xx: support USB 2.0 controller on BCM53573Rafał Miłecki2016-08-143-9/+171
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: backport USB 3.0 controller init patchRafał Miłecki2016-08-143-42/+87
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: backport USB 3.0 Northstar PHY driverRafał Miłecki2016-08-142-0/+362
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: rename PHY patches to use 07* prefixRafał Miłecki2016-08-142-0/+0
| | | | | | | This is not a strict rule but it matches better this one: 7xx - network / phy driver patches Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* mvebu: add ClearFog .tar.gz bundleJo-Philipp Wich2016-08-131-0/+26
| | | | | | | | | | The previous image building code rework removed the rootfs.tar.gz with embedded kernel and dtb build artifact which is required to build suitable SD images. Reintroduce a .tar.gz artifact locally which embeds kernel and dtb, similar to how the old code handled it. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* kernel: backport upstream challenge ACK fix (CVE-2016-5696)Jo-Philipp Wich2016-08-133-0/+218
| | | | | | | | | | | | Yue Cao claims that current host rate limiting of challenge ACKS (RFC 5961) could leak enough information to allow a patient attacker to hijack TCP sessions. He will soon provide details in an academic paper. Backports upstream commit 75ff39ccc1bd5d3c455b6822ab09e533c551f758 to the used LEDE kernel versions. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* brcm63xx: switch to board based failsafe networkingJonas Gorski2016-08-131-37/+0
| | | | Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: backport mtd of node changes from upstreamJonas Gorski2016-08-1312-23/+608
| | | | | | | Should fix parser data containing uninitialized values for of probed physmap flashes, which could break e.g. the redboot parser. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* oxnas: set preinit network interfaceDaniel Golle2016-08-111-0/+7
| | | | | | set network interface for failsafe mode to eth0 for all boards Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* ramips: fix legacy image buildFelix Fietkau2016-08-111-4/+7
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: fix crashlog issues on highmem systemsFelix Fietkau2016-08-111-19/+32
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* bcm53xx: add profiles for Buffalo devicesRafał Miłecki2016-08-111-2/+24
| | | | | | | This generates proper images when using CONFIG_TARGET_MULTI_PROFILE and CONFIG_TARGET_PER_DEVICE_ROOTFS. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: include USB modules in images for devices with USB portsRafał Miłecki2016-08-111-9/+16
| | | | | | This allows using USB out of the box. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: add profiles for all other (SoftMAC) devicesRafał Miłecki2016-08-111-31/+34
| | | | | | | Thanks to this images for SoftMAC devices don't get brcmfmac anymore and b43 is added for devices with (quite poor) support only. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>