aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic
Commit message (Collapse)AuthorAgeFilesLines
* kernel: fix MIPS memory function optimization build error in decompressorFelix Fietkau2017-02-281-10/+20
| | | | | | | | | | | | | | | | | | Fixes the following build error: CC arch/mips/boot/compressed/decompress.o OBJCOPY arch/mips/boot/compressed/vmlinux.bin XZKERN arch/mips/boot/compressed/vmlinux.bin.z OBJCOPY arch/mips/boot/compressed/piggy.o LD vmlinuz arch/mips/boot/compressed/decompress.o: In function `lzma2_lzma': /tmp2/mehrtens/linux/arch/mips/boot/compressed/../../../../lib/xz/xz_dec_lzma2.c:884: undefined reference to `memmove' make[1]: *** [vmlinuz] Error 1 make: *** [vmlinuz] Error 2 lib/decompress_unxz.c only defines its own memmove function if there is no macro with the same name. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: sort generic configsJonas Gorski2017-02-283-62/+60
| | | | | | | Use kconfig.pl to sort the generic configs and get rid of duplicate entries. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* kernel: add another missing TPM symbolJohn Crispin2017-02-273-0/+3
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* kernel: add missing TPM related config symbol for 3.18Felix Fietkau2017-02-271-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: fix TPM related config symbols for 4.9Felix Fietkau2017-02-271-1/+7
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: add missing HW_RANDOM_TPM symbolJohn Crispin2017-02-273-0/+3
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* kernel: update 4.9 to 4.9.13Ansuel Smith2017-02-271-8/+8
| | | | | | refresh patch 630-packet_socket_type Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* kernel: Add TPM Module supportChris Blake2017-02-273-0/+18
| | | | | | | | The following will enable the TPM kernel module, as well as support for the atmel i2c TPM driver. Tested and confirmed working on an Aerohive AP-121 Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
* kernel: update 4.9 to 4.9.12Ansuel Smith2017-02-265-26/+26
| | | | | | | | Refresh generic patch Compiled and tested WRT1900ACS Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* kernel: update kernel 4.4 to 4.4.50Kevin Darbyshire-Bryant2017-02-236-34/+34
| | | | | | | | | | Bump kernel from 4.4.49 to 4.4.50 Compile tested: All targets Run tested: ar71xx Archer C7 v2 Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
* kernel: add missing config symbol for linux 3.18Felix Fietkau2017-02-221-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: mtdsplit: Add support for Mikrotik NOR firmwareThibaut VARENE2017-02-225-0/+125
| | | | | | | | | | | | | | | | The RouterBOOT bootloader does not care where the kernel lives in the SPI flash, all that matters is that the kernel is wrapped in the custom yaffs container as generated by kernel2minor. This container has a fixed signature as follows: 00000000 00 00 00 01 00 00 00 01 ff ff 6b 65 72 6e 65 6c |..........kernel| This patch adds mtdsplit support for identifying that signature and triggering the search for the rootfs. rootfs is expected at EB boundary since we use wget mtd_find_rootfs_from(). We make no use of the yaffs file size field because it contains invalid data in the image generated by kernel2minor. Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
* Revert "kernel: ar8327/ar8337: disable ARL access code to avoid lockups ↵Stijn Tintel2017-02-221-6/+0
| | | | | | | | | | | (FS#384)" This reverts commit ec1a695daa7390a6c24e3b28d3956f194cba2cb5. Revert the workaround, the problem was properly fixed in 237454991618e0e8b7ceb8a8a2a43fca12c1a454. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* mediatek: add more missing symbolsJohn Crispin2017-02-161-0/+2
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ar8216: flush ARL table during reset after init_globalsGünther Kelleter2017-02-161-0/+1
| | | | | | | | | | commit 33b72b8e0faf7a39faabece584fd6da61cd8f8df "ar8216: adjust ATU flushing in case of link changes" introduced portwise flushing on link down events. Now the ARL table could be in a chaotic state after boot where ar8xxx_sw_get_arl_table looped forever (depending on the entries collected while booting). Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>
* kernel: update kernel 4.9 to version 4.9.10Hauke Mehrtens2017-02-163-102/+10
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: fix crashes on MIPS when loading kernel modules under memory pressureFelix Fietkau2017-02-153-3/+12
| | | | | | | | | | | When memory is tight, modules may need to be loaded into vmalloc() space. The code then has to generate jump trampolines which enable relocations between vmalloc space and physical address space. The code had a bug that was freeing these trampolines even when the module was successfully loaded. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: add missing symbol for v4.9John Crispin2017-02-151-0/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* kernel: add missing tracing related config symbols for linux 4.9Felix Fietkau2017-02-131-1/+4
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: fix kmod-rxrpc with kernel 4.9Hauke Mehrtens2017-02-121-0/+3
| | | | | | rxkad will be build into af-rxrpc now and is of type boolean. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: fix compile error on linux 4.9 with CONFIG_KALLSYMS disabledMartin Blumenstingl2017-02-121-2/+3
| | | | | | | | Upstream linux commit 7523e4dc5057e "module: use a structure to encapsulate layout." moves some of the struct module members into a separate struct module_layout. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
* kernel: MIPS: IRQ Stack: Fix erroneous jal to plat_irq_dispatchHauke Mehrtens2017-02-122-0/+70
| | | | | | | This backports the following fix to our mips IRQ stack patches: https://patchwork.linux-mips.org/patch/15110/ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: add missing config option for kernel 4.9Hauke Mehrtens2017-02-111-0/+1
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: add rest controller option for kernel 4.9Hauke Mehrtens2017-02-111-0/+9
| | | | | | | Deactivate the reset controllers which could be activated on kernel 4.9 by default. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: fix linux 4.9 host tools portability issuesFelix Fietkau2017-02-111-0/+28
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: add missing symbols to generic/config-4.9John Crispin2017-02-111-0/+4
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* kernel: fix 304-mips_disable_fpu.patch for v4.9John Crispin2017-02-111-9/+42
| | | | | | | the function prototype has changed, make the new stub consistent with this change. Signed-off-by: John Crispin <john@phrozen.org>
* kernel: move upstream accepted bcm47xxpart TRX cleanupsRafał Miłecki2017-02-104-6/+20
| | | | | | Use 0xx prefix for accepted patches. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: backport bcm47xxsflash support for reading 32 MiB flashesRafał Miłecki2017-02-095-0/+288
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* generic: add missing symbols for linux 4.9Álvaro Fernández Rojas2017-02-081-0/+15
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* generic: add missing kernel symbolsÁlvaro Fernández Rojas2017-02-071-0/+23
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: update spi-nor in 4.9 to spi-nor tree version (next branch)Rafał Miłecki2017-02-0712-28/+784
| | | | | | | These are patches queued for 4.11. It adds support for even more hw and removes some annoying WARN_ONCE. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: update spi-nor in 4.9 to version from Linus's tree (4.10)Rafał Miłecki2017-02-0713-15/+200
| | | | | | This adds support for more devices. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: fix build error in mtdsplit driverKoen Vandeputte2017-02-071-1/+1
| | | | | | | Add missing parentheses. Fixes kernel build issue when using this driver. Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: merge b53 API patch with the one handling all switch driversRafał Miłecki2017-02-062-88/+88
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: add missing config symbols for 4.9Felix Fietkau2017-02-061-0/+25
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: fix crashlog build error on 4.9Felix Fietkau2017-02-061-2/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: add compile fix for linux 4.9 on x86Felix Fietkau2017-02-061-0/+13
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: port b53 to use kernel 4.5+ APIRafał Miłecki2017-02-063-17/+96
| | | | | | For backward 4.4 compatibility I added patch reverting my changes. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: update kernel 4.4 to version 4.4.47Stijn Tintel2017-02-061-5/+5
| | | | | | | | | | Refresh patches for all targets that support kernel 4.4. Compile-tested on all targets that use kernel 4.4 and aren't marked broken, except arc770 and arch38 due to broken toolchain. Runtime-tested on ar71xx, octeon, ramips and x86/64. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* kernel: add linux 4.9 supportFelix Fietkau2017-02-04168-0/+27745
| | | | | Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Tim Harvey <tharvey@gateworks.com> [fixes]
* kernel: update phy drivers for 4.9Felix Fietkau2017-02-039-134/+1194
| | | | | | add backport patches for older kernels Signed-off-by: Felix Fietkau <nbd@nbd.name>
* 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>
* generic: rtl8366rb: fix compatible stringMathias Kresin2017-02-031-1/+1
| | | | | | | 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>
* 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>
* 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>
* rtl8366_smi: add linux 4.4 compatibilityFelix Fietkau2017-02-011-4/+9
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* 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>