aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
Commit message (Collapse)AuthorAgeFilesLines
* oxnas: kd20: generate image compatible with stock firmwareDaniel Golle2016-09-042-6/+47
| | | | | | | | * adjust MTD partitions to match vendor's scheme * generate *factory.tar.gz image compatible with stock web-if firmware upgrade interface Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: allow booting with legacy loadersDaniel Golle2016-09-044-23/+387
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* ar71xx: fix ethernet driver fast reset issue causing tx timeoutsFelix Fietkau2016-09-031-1/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: fix legacy initramfs imagesFelix Fietkau2016-09-031-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mvebu: use ptgen instead of fdisk to make the clearfog image script more ↵Felix Fietkau2016-09-021-55/+17
| | | | | | portable Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mvebu: add sdcard image creation scriptJosua Mayer2016-09-023-2/+153
| | | | | | | | | | | | | | | | Added gen_mvebu_sdcard_img.sh to facilitate creating an fixed-size sdcard image, adding the bootloader and populating it with actual data. Added the required rules for creating a 4GB sdcard image according to this layout: p0: boot (fat32) p1: rootfs (squashfs) p2: rootfs_data (ext4) This should be generic to any mvebu boards that can boot from block storage. Added the new sdcard image to the Clearfog image profile. Signed-off-by: Josua Mayer <josua.mayer97@gmail.com> Signed-off-by: Felix Fietkau <nbd@nbd.name> [cleanup]
* mvebu: clearfog: require uboot-mvebu-clearfogJosua Mayer2016-09-022-1/+2
| | | | | | | | | The u-boot variant for the clearfog is provided by the uboot-mvebu-clearfog, and not by the generic uboot-mvebu packae. Make sure the clearfog variant is selected when building for it. Signed-off-by: Josua Mayer <josua.mayer97@gmail.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
* imx6: disable EOF markers on UBIFelix Fietkau2016-08-311-0/+1
| | | | | | The boot loader does not recognize them and might mess up the volume Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86: enable fpu for all subtargetsFelix Fietkau2016-08-302-2/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mvebu: add fpu to featuresJosua Mayer2016-08-301-1/+1
| | | | | | | This triggers HAS_FPU=y, and unsets CONFIG_SOFT_FLOAT. Considering all mvebu boards have an fpu, this is the desirable behaviour. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mvebu: enable ARM crypto accelerationFelix Fietkau2016-08-301-0/+19
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mvebu: enable NEON supportFelix Fietkau2016-08-301-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mvebu: make MMC driver for Clearfog builtinJosua Mayer2016-08-301-0/+5
| | | | | | | | microSD is the primary boot media for the Clearfog Pro board, and should work unconditionally. Signed-off-by: Josua Mayer <josua.mayer97@gmail.com> Signed-off-by: Felix Fietkau <nbd@nbd.name> [cleanup]
* mvebu: refresh kernel configFelix Fietkau2016-08-301-5/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: spi-nor: add support for ESMT_f25l32qa and ESMT_f25l64qaFelix Fietkau2016-08-303-2/+23
| | | | | | | | Add Support for the ESMT_F25L32QA and ESMT_F25L64QA. These are 4MB and 8MB SPI NOR Chips from Elite Semiconductor Memory Technology Signed-off-by: L. D. Pinney <ldpinney@gmail.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: make serial port sysrq-disable patch more generic (FS#112)Felix Fietkau2016-08-293-25/+26
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: generate US- and EU-specific images for the Archer C7 v2Matthias Schiffer2016-08-281-1/+3
| | | | | | | | | | | | TP-Link has started providing US- and EU-specific stock firmwares that only allow upgrading to firmwares with the same region code. Provide factory images for both these regions. To avoid confusing users outside these regions, we still provide a "universal" factory.bin without a region code, although flashing either of the US and EU images would work as well. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* arc770: Introduce images for SD-cardsAlexey Brodkin2016-08-288-73/+102
| | | | | | | | | | | | | | | | | | | 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> Cc: Jo-Philipp Wich <jo@mein.io>
* arc770: Remove MMC kernel modules, they are built-in nowAlexey Brodkin2016-08-282-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>
* arc770: Update kernel configurationAlexey Brodkin2016-08-281-1/+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>
* arc770: Reduce generalizationAlexey Brodkin2016-08-281-25/+13
| | | | | | | | | | | | | | As support of ARC 770 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_arcYYY_XXX scripts making code more compact and cleaner. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* bcm53xx: use the latest 6th version of ILP clock driver patchRafał Miłecki2016-08-262-44/+67
| | | | | | It still wasn't accepted, so don't switch to 0xx prefix yet. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: backport clk *_hw_* API for registering struct clk_hwRafał Miłecki2016-08-262-0/+416
| | | | | | | Drivers have been modified to use it and new ones have to be written this way, so we need it for backporting code. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* ar71xx: disable flow control to the built-in switch on AR934xFelix Fietkau2016-08-251-1/+0
| | | | | | | It apparently causes a regression on some devices if the ethernet cable is plugged in while booting. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: fix ath5k EEPROM loadingMathias Kresin2016-08-241-9/+27
| | | | | | | | | | With 12fe4b579801ea812b64fc7e689716cd39c895ec I switched the ath5k eeprom extraction to an alternate code path. Unfortunately this code seams to be broken since ages and broke the ath5k EEPROM extraction. Reported-by: Mohammed Berdai <mohammed.berdai@gmail.com> Signed-off-by: Mathias Kresin <dev@kresin.me> Acked-by: John Crispin <john@phrozen.org>
* linux/arc*: disable MAC frame filter in DW GMACAlexey Brodkin2016-08-242-0/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | DW GMAC on ARC SDP boards doesn't enter promiscuous mode if Ethernet PHY haven't got established link. Good examples are auto-negotiation in progress or disconnected cable. We do see Linux kernel sets GMAC's MAC filter register properly but GMAC's hardware doesn't accept new settings. We believe it is a hardware issue, most probably problem of integration of DW GMAC and PHY on the board. As a work-around we completely disable frame filtering in GMAC hardware (once and for good) which forces GMAC to enter promiscuous mode with the first write to MAC filter register. That gives us working bridge that consists of eth0 and wlan0 (USB Wi-Fi dongle). I.e. we finally have working "Dumb AP" setup made of ARC AXS10x boards. Given that hack is quite dirty (in loaded wired networks this will effectively load CPU with junk packets even if user doesn't need promisc mode) and there's no indication any other boards with DW GMAC suffer from the same issue we're patching only kernel for ARC boards. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: John Crispin <john@phrozen.org>, Cc: Felix Fietkau <nbd@nbd.name>
* ipq806x: fix ipq8065 s2a/s2b regulator frequency (fixes ethernet performance)Roman Yeryomin2016-08-241-2/+2
| | | | Signed-off-by: Roman Yeryomin <roman@advem.lv>
* ipq806x: Archer C2600: Renaming LED accordance with the standardCezary Jackiewicz2016-08-243-20/+20
| | | | Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
* ipq806x: enable ondemand governorJohn Crispin2016-08-241-1/+2
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* kernel: backport patch for specifying USB ports/devices in DTRafał Miłecki2016-08-242-0/+287
| | | | | | | | This allows referencing USB ports/devices that are always present in a device. This applies to some internal devices, root hub ports and internal USB hubs. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* ipq806x: rename R7800 device tree file, merge R7500v2 dts additionJo-Philipp Wich2016-08-244-13/+4
| | | | | | | The R7800 is an IPQ8065, so rename its dts file to reflect that fact. Also fold the R7500v2 dts addition into the existing 800-devicetree.patch. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* realview: rename config-default to config-4.4Stijn Tintel2016-08-241-0/+0
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* rb532: rename config-default to config 4.1Stijn Tintel2016-08-241-0/+0
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* orion: rename config-default to config-3.18Stijn Tintel2016-08-241-0/+0
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* gemini: rename config-default to config-4.4Stijn Tintel2016-08-241-0/+0
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* arm64: rename config-default to config-4.4Stijn Tintel2016-08-241-0/+0
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* gemini: rename patches directory to patches-4.4Stijn Tintel2016-08-2413-0/+0
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* gemini: drop Linux 4.1 supportJo-Philipp Wich2016-08-2342-6743/+1
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* gemini: add Linux 4.4 supportRoman Yeryomin2016-08-2324-0/+6220
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> [Jo-Philipp Wich: change commit title] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ramips: mt7621: switch to 24kcJonas Gorski2016-08-231-1/+1
| | | | | | | | 1004kc is just a SMP capable 34kc, and GCC treats 24kc and 34kc exactly the same and will generate identical code, so there is no need to tune to 1004kc instead of 24kc. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* lantiq: switch from 34k to 24kJonas Gorski2016-08-233-3/+3
| | | | | | | GCC treats 24kc and 34kc exactly the same and will generate identical code, so there is no need to tune to 34kc instead of 24kc. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* ar71xx: switch to 24kcJonas Gorski2016-08-231-1/+1
| | | | | | | GCC treats 24kc and 34kc exactly the same and will generate identical code, so there is no need to tune to 34kc instead of 24kc. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* kernel: update kernel 4.4 to version 4.4.19Stijn Tintel2016-08-2360-937/+398
| | | | | | | | 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. Runtime-tested on ar71xx, octeon and x86/64. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* brcm47xx: add missing config symbolStijn Tintel2016-08-232-1/+2
|
* bcm53xx: backport patch adding ARCH_BCM_53573 symbolRafał Miłecki2016-08-233-2/+64
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* imx6: Fix pointing to msata/mmc bootdevsKoen Vandeputte2016-08-221-4/+4
| | | | | | | | | Point to correct devices when booting from msata or MMC Changes fetched from Gateworks git Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com> [Jo-Philipp Wich: rebased to apply against current LEDE version] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ipq806x: Build image for Netgear Nighthawk X4 R7500v2Alexis Green2016-08-228-1/+383
| | | | | | Signed-off-by: Alexis Green <alexis@cessp.it> [Jo-Philipp Wich: add missing DEVICE_TITLE, fix model name in commit title] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* oxnas: drop explicit pre-init ifaceDaniel Golle2016-08-221-2/+0
| | | | | | | | | According to Jonas Gorski this is no longer needed, the problem originally addressed by first adding 07_preinit_iface and subsequently merging that into 02_network was probably a bug during the transition to the new board.d pre-init approach. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: bgmac: use upstream accepted patchesRafał Miłecki2016-08-224-11/+42
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* lantiq: fix building AVM/EVA sysupgrade images on NOR devicesMartin Blumenstingl2016-08-221-1/+3
| | | | | | | | | | | | Device/AVM unconditionally inherits Device/NAND, which changes the sysupgrade image to sysupgrade-tar (instead of a "raw" sysupgrade image as used in the Device/Default template). This moves the Device/NAND call to the FRITZ3370 device definition, as this is the only AVM/EVA device that uses NAND. Additionally we have to define the IMAGE_SIZE for the AVM/EVA NOR devices to ensure that the images are not discarded. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>