summaryrefslogtreecommitdiff
path: root/target/linux
Commit message (Collapse)AuthorAgeFilesLines
* kernel: update 3.18 to 3.18.20Hauke Mehrtens2015-08-098-26/+26
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.20 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46570
* ipq806x: enable NAND flash support in the kernelFelix Fietkau2015-08-073-3/+39
| | | | | | | | | | | | | | | | | Previous patch set backported the recently posted NAND flash driver to 3.18 and 4.1 kernel. This patch now enables it in the kernel config. There is no change to the partition layout and init yet. But the NAND flash can be seen in the mtd list on an AP148: root@OpenWrt:/# cat /proc/mtd dev: size erasesize name mtd0: 10000000 00020000 "qcom-nandc" ... Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 46569
* ipq806x: add NAND flash controller supportFelix Fietkau2015-08-0716-26/+4739
| | | | | | | | | | | | | These patches add support for ipq806x NAND flash controller. Most of these are cherry-picked & backported from LKML: *https://lkml.org/lkml/2015/8/3/16 This patch just modifies the kernel code, but doesn't change the config. It should be harmless. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 46568
* ipq806x: Add ADM supportFelix Fietkau2015-08-0718-8/+2448
| | | | | | | | | | | | | | | | These are cherry-picked & backported from LKML: *https://lkml.org/lkml/2015/3/17/19 They are enabled on both 3.18 and 4.1 kernel. Patches 150 to 154 are applying changes merged since 3.18; they enable mechanisms used by the ADM driver. ADM engine is used by the NAND controller, so it is necessary to bring-up NAND flash support. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 46567
* kirkwood: add wpad-mini to router profilesJonas Gorski2015-08-051-2/+2
| | | | | | | | Without it the wifi isn't really usable. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46565
* image: fix jffs2(_nand) image generationJonas Gorski2015-08-058-13/+23
| | | | | | | | | | | | Variables dependend on JFFS2_BLOCKSIZE and NANDBLOCK_SIZE are used for template generation, so need to be present before inclusion of image.mk in target image Makefiles. So move all declarations to before any includes. Fixes: r42878 ("image.mk: clean up and parallelize mkfs calls") Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46564
* brcm63xx: fix crash on 6358/6368 when booting from thread 1Jonas Gorski2015-08-051-0/+49
| | | | | | | | | | | It looks like RAC flushes cause random corruption(?) when the second thread is set as default. Fixes #20160. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46563
* brcm63xx: Add support for Plusnet 2704NJonas Gorski2015-08-059-0/+236
| | | | | | | | BCM6318: add support for Plusnet / Sagem 2704N (V1) Signed-off-by: Matt Goring <matt.goring@googlemail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46562
* brcm63xx: build image for DSL-275XB D1Jonas Gorski2015-08-051-1/+1
| | | | | | | | It boots fine, so no reason to not build it. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46561
* kernel: update 4.1 to 4.1.4Jonas Gorski2015-08-0516-316/+40
| | | | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.4 Signed-off-by: Daniel Golle <daniel@makrotopia.org> [jogo: fix brcm2708 patches, refresh target patches] Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46560
* ipq806x: add ethernet (stmmac) supportFelix Fietkau2015-08-041-0/+5
| | | | | | | | | We forgot to enable the stmmac driver for 4.1 kernel, so ethernet interfaces don't show-up on this kernel. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 46559
* ipq806x: refresh kernel configsFelix Fietkau2015-08-042-13/+0
| | | | | | | | Remove options which have been moved into the generic config ever since. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 46558
* ipq806x: fix freeze in PCIe code when booting with an old u-bootFelix Fietkau2015-08-049-31/+757
| | | | | | | | | | | | | | | | | | | | Old bootloader (same ones which have DT disabled) don't perform any PCIe initialization. The consequence is a freeze during PCIe bring-up on these old u-boot. Same kernel with a newer bootloaders works fine as they contain the corresponding PCIe init code. In this change, we'll add the missing init and make sure the kernel doesn't rely on some preexisting init to get PCIe to work. That includes the following changes: *GPIOs: set function & drive strength *Clocks: add init code for aux & ref clocks *PCIe driver: additional init of the hardware controller Tested 3.18 and 4.1 on an AP148 with bootloader branch 0.0.1 Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 46557
* ipq806x: fix pcie pinmux naming in ipq806x dtsFelix Fietkau2015-08-046-49/+40
| | | | | | | | | | PCIe controller nodes are numbers 0/1/2 in the chipset dtsi file, but the pinmux nodes are numbers 1/2/3. We'll make it consistent by changing the pinmux numbering to match the controller's one. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 46556
* ipq806x: add support for non-dt enabled ap148 bootloaderFelix Fietkau2015-08-047-9/+47
| | | | | | | | | | | | | | | | | | | Certain AP148 platforms (and derivative) use bootloaders which did not have DT enabled. In order to support these old platforms, we'll now make the following modifications: *explicitely add the memory node in the AP148 DT: this used to be added by new u-boot through a run-time patch mechanism. We'll now add it explicitely so it works on boots which don't support that feature. New boots will have the node twice, the second one will be ignored. *add the zImage generation next to the FIT image for AP148. Other platforms using non-DT enabled bootloaders may want to leverage this zImage code to generate their own firmare as well. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 46555
* ipq806x: update bleeding-edge kernel from 4.0 to 4.1Felix Fietkau2015-08-0441-1520/+127
| | | | | | | | Default kernel doesn't change and stays on 3.18 for now. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 46554
* ar71xx: remove linux 3.18 supportFelix Fietkau2015-08-0498-10450/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46553
* ar71xx: Fix gpio_count setting for QCA953x in ath79_gpio_output_selectFelix Fietkau2015-08-022-2/+2
| | | | | | | Reported-by: Steve Brown <sbrown@cortland.com> Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 46547
* ramips: Fix Ticket #20153 swap radio calibration data pointers on the RE6500Felix Fietkau2015-08-021-2/+2
| | | | | | | | This patch fixes weak radio signal reported by nikola.georgiev Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 46545
* ar71xx: fix lzma-loader kernel command line passingFelix Fietkau2015-08-021-1/+2
| | | | | | | | | The generic kernel cmdline parser ignores argv[0], this caused a regression for all lzma-loader based boards with linux 4.1 Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46544
* ar71xx: fix mr3220 device profile (#19990)Felix Fietkau2015-08-011-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46541
* kernel: add missing symbol for 4.1Zoltan Herpai2015-07-311-0/+1
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 46539
* bcm53xx: allow device tree to override SPI flash partition layoutFelix Fietkau2015-07-311-2/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46538
* sunxi: fix networking on Olimex A20 MicroZoltan Herpai2015-07-311-1/+1
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 46536
* mvebu: update dts files for mamba / WRT1900ACImre Kaloz2015-07-312-4/+4
| | | | | | | | | Fix for default button states in WRT1900AC dts files. This prevents overlay wipe when reset is pressed. Signed-off-by: Rob Mosher <nyt-openwrt@countercultured.net> SVN-Revision: 46530
* kernel: add a few missing symbols for 4.1Zoltan Herpai2015-07-311-0/+23
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 46529
* mvebu: fix gpio config on the WRT1200ACImre Kaloz2015-07-311-3/+3
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 46527
* mxs: switch to 4.1Zoltan Herpai2015-07-311-1/+1
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 46526
* mxs: add support for 4.1Zoltan Herpai2015-07-316-0/+1218
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 46525
* mxs: build sound-soc-mxs only on 3.18 for nowZoltan Herpai2015-07-311-1/+1
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 46524
* bcm53xx: update Disable MMU and Dcache during decompressionHauke Mehrtens2015-07-261-139/+30
| | | | | | | | This replaces the old patch with the version from Florian. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46504
* kernel: add missing CONFIG_ARM_CCI400_PMU config optionHauke Mehrtens2015-07-261-0/+1
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46503
* kernel: add CONFIG_REGMAP_MMIO config optionHauke Mehrtens2015-07-263-0/+3
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46501
* bcm53xx: update configHauke Mehrtens2015-07-261-9/+2
| | | | | | | | This activates CONFIG_MULTIUSER and sets the maximal number of cpus to 2. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46500
* ramips: swap radio calibration data pointers for DIR-860LFelix Fietkau2015-07-261-2/+2
| | | | | | | | Fixes low 5 GHz tx power issues Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46497
* kernel: cdc_ncm: Add support for moving NDP to end of NCM frameHauke Mehrtens2015-07-253-48/+537
| | | | | | | | | | | | This patch was missing for kernel 4.0 and 4.1 in r46464. I also replaced the version in OpenWrt with the version which went upstream into the Linux mainline kernel. This closes #20193 and #20192 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46493
* brcm63xx: switch to new image building systemJonas Gorski2015-07-251-260/+497
| | | | | | | | | | | | Switches BCM63xx to the new IB system. Images are generated per device definitions. There are no changes in the produced images except for some name changes, caused by the new IB system. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46490
* brcm63xx: use new tool for generating redboot imagesJonas Gorski2015-07-252-30/+5
| | | | | | | | | Simplify image/Makefile by using the new perl script for RedBoot. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46489
* kmod-regmap: make regmap-mmio user selectableJonas Gorski2015-07-253-3/+6
| | | | | | | | | | | | | | | REGMAP_MMIO is a hidden symbol, so it cannot be directly selected. If nothing selects it, it will fail the build with: ERROR: module '/store/buildbot/slave/slave/rb532/build/build_dir/target-mipsel_mips32_musl-1.1.10/linux-rb532/linux-3.18.19/drivers/base/regmap/regmap-mmio.ko' is missing. make[2]: *** [/store/buildbot/slave/slave/rb532/build/bin/rb532/packages/base/kmod-regmap_3.18.19-1_rb532.ipk] Error 1 Fix this by adding a description to allow selecting it manually. Fixes: r46451 ("kmod-regmap: enable MMIO support") Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46485
* kernel: remove kmod-crypto-aes, AES crypto support is always built into the ↵Felix Fietkau2015-07-242-1/+2
| | | | | | | | kernel Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46483
* kernel: fix oprofile performance counter interrupt handling on mipsFelix Fietkau2015-07-242-1/+74
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46482
* ramips: add additional uarts to mt7628.dtsiJohn Crispin2015-07-241-2/+63
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46477
* ramips: make sd driver depend on mt7688John Crispin2015-07-241-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46476
* ramips: add CD polling to sd driverJohn Crispin2015-07-241-12/+15
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46475
* ramips: various mt7688 pinmux fixesJohn Crispin2015-07-241-11/+13
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46474
* ramips: add subtarget for mt7688John Crispin2015-07-247-1/+254
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46473
* ramips: add clock strecthing support to i2c driverJohn Crispin2015-07-241-32/+35
| | | | | | | | fixes #19816 Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46472
* generic: cdc_ncm: Add support for moving NDP to end of NCM frameJohn Crispin2015-07-241-0/+195
| | | | | | | | | | | | | | | | | | | | | | NCM specs are not actually mandating a specific position in the frame for the NDP (Network Datagram Pointer). However, some Huawei devices will ignore our aggregates if it is not placed after the datagrams it points to. Add support for doing just this, in a per-device configurable way. While at it, update NCM subdrivers, disabling this functionality in all of them, except in huawei_cdc_ncm where it is enabled instead. We aren't making any distinction between different Huawei NCM devices, based on what the vendor driver does. Standard NCM devices are left unaffected: if they are compliant, they should be always usable, still stay on the safe side. This change has been tested and working with a Huawei E3131 device (which works regardless of NDP position) and an E3372 device (which mandates NDP to be after indexed datagrams). Signed-off-by: Enrico Mioso <mrkiko.rs@gmail.com> Signed-off-by: Matti Laakso <malaakso@elisanet.fi> SVN-Revision: 46464
* generic: Add missing symbols when tracing is enabledJohn Crispin2015-07-241-0/+2
| | | | | | Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 46463
* generic: add missing symbolJohn Crispin2015-07-241-0/+1
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 46462