aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu
Commit message (Collapse)AuthorAgeFilesLines
* mvebu: add support for SFPJonas Gorski2016-09-2930-0/+6212
| | | | | | | | Add patches for SFP support and package it for ClearFog. Tested with a Juniper SFP module. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> Acked-by: Felix Fietkau <nbd@nbd.name>
* mvebu: disable MSI interruptsJonas Gorski2016-09-291-2/+0
| | | | | | | | | | | | | | | | MSI interrupts do not seem to be working on mvebu, and they break ath10k. Since nothing else seems to be using them, especially not mwlwifi, disable them until we can fix MSI interrupts. Works around the following issue: [ 9.001457] ath10k_pci 0000:02:00.0: failed to receive control response completion, polling.. [ 10.001453] ath10k_pci 0000:02:00.0: Service connect timeout [ 10.007126] ath10k_pci 0000:02:00.0: failed to connect htt (-110) [ 10.092224] ath10k_pci 0000:02:00.0: could not init core (-110) [ 10.098177] ath10k_pci 0000:02:00.0: could not probe fw (-110) Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> Acked-by: Felix Fietkau <nbd@nbd.name>
* mvebu: add switch config for clearfog proJonas Gorski2016-09-261-0/+3
| | | | | | Check for switch0 existance and add default switch config if found. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* mvebu: add sysupgrade support for clearfogJonas Gorski2016-09-265-8/+79
| | | | | | | | Add and enable sysupgrade support for clearfog boards, based on how the brcm2708 target does it. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> Acked-by: Felix Fietkau <nbd@nbd.name>
* mvebu: add switch node to clearfogJonas Gorski2016-09-262-1/+22
| | | | | | | | Add a switch node to clearfog to probe and initialize it on Clearfog Pro. This make the switch work and allows using all six switch ports. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> Acked-by: Felix Fietkau <nbd@nbd.name>
* mvebu: replace ClearFog dts files with patches from upstreamJonas Gorski2016-09-267-582/+909
| | | | | | | | Make the dts file match with what is upstream, to ensure it has the latest changes and switching to newer kernels is easier. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> Acked-by: Felix Fietkau <nbd@nbd.name>
* mvebu: enable PCA955x driver for clearfog to enable pcie and usbJonas Gorski2016-09-261-0/+2
| | | | | | | | | Some of the PCIe and USB signals use a GPIO expander on I2C on ClearFog, so enable the driver so that they can be configured to their required values. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> Acked-by: Felix Fietkau <nbd@nbd.name>
* uboot-mvebu: make hidden and be m for clearfog to fix IB failing to add itJonas Gorski2016-09-261-1/+1
| | | | | | | | | | | | | Uboot-mvebu isn't a real package, which will break the image builder when it tries to install it during the packing step. Instead of cleafog selecting it through its default packages, make it default to m if the clearfog profile is selected. This will ensure it is always build, but never added to the rootfs. This fixes creating images for clearfog with IB. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> Acked-by: Felix Fietkau <nbd@nbd.name>
* uboot-mvebu: also install into KDIR to ensure it packaged in IBJonas Gorski2016-09-261-1/+1
| | | | | | | | The clearfog image requires u-boot, so package it into KDIR to make sure it is available in imageBuilder. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> Acked-by: Felix Fietkau <nbd@nbd.name>
* kernel: update kernel 4.4 to version 4.4.20Álvaro Fernández Rojas2016-09-151-1/+1
| | | | | | | Refresh patches for all targets that support kernel 4.4. Compile-tested on brcm2708 only. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* image: remove padding parameter from append-kernel/append-rootfsMathias Kresin2016-09-131-2/+2
| | | | | | | | | | | Using pad-to instead of passing the optional padding to append-kernel or append-rootfs. It could be that the value of a variable is passed. In case the variable is empty no error is thrown. Furthermore the purpose of the extra parameter is hard to get without reading the code. Signed-off-by: Mathias Kresin <dev@kresin.me>
* image: add KERNEL_SIZE to the default device varsMathias Kresin2016-09-131-2/+0
| | | | | This reverts commit ec37a565878fd79d4127cbb843c17ce3b8dc97c0 and fixes the underlying issue.
* build: drop UBI EOF marker from images by defaultFelix Fietkau2016-09-121-0/+1
| | | | | | | | Only add them where they are actually required. Should help with compatibility issues with stock U-Boot images that access UBI Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mvebu: fix OpenBlocks AX3 imageMathias Kresin2016-09-111-1/+1
| | | | | | | | The KERNEL_SIZE variable is unset and no padding is applied. This looks like a typo to me since the ubinized image need to be aligned to the flash blocksize. Signed-off-by: Mathias Kresin <dev@kresin.me>
* mvebu: use ext4/f2fs overlay filesystem for solidrun clearfogFelix Fietkau2016-09-103-15/+12
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mvebu: enable ext4, f2fs and loop device supportFelix Fietkau2016-09-102-1/+11
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image: use k as unit suffix for blocksizeMathias Kresin2016-09-041-4/+4
| | | | | | | Use k as unit suffix for kilobyte to have a the same unit regardless of the used filesystem. Signed-off-by: Mathias Kresin <dev@kresin.me>
* 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>
* 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: update kernel 4.4 to version 4.4.19Stijn Tintel2016-08-232-60/+0
| | | | | | | | 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>
* mvebu: fix boot stalls on WRT1900AC V1John Crispin2016-08-181-0/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* 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>
* 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>
* mvebu: fix NAND flash issues (FS#67)Felix Fietkau2016-07-312-36/+69
| | | | | | | | Remove the previous PIO delay patch and add a revert patch for a faulty upstream commit, which seems to have introduced this issue in the first place Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: rename sysupgrade-nand to sysupgrade-tarJo-Philipp Wich2016-07-291-1/+1
| | | | | | | Now that the "sysupgrade-nand" step is used by non-NAND targets as well, rename it to "sysupgrade-tar" to make it more generic. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* mvebu: limit image builds to profile selectionFelix Fietkau2016-07-261-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mvebu: switch to the new image build codeFelix Fietkau2016-07-216-405/+127
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mvebu: Configure status LED for WRT1900ACSRujun Wang2016-06-151-0/+3
| | | | Signed-off-by: Rujun Wang <chinawrj@gmail.com>
* kernel: update kernel 4.4 to version 4.4.13Álvaro Fernández Rojas2016-06-121-58/+0
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* mvebu: add a patch to deal with excessive latencies/delays during flash PIO ↵Felix Fietkau2016-06-101-0/+36
| | | | | | command processing Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mvebu: configure switch on WRT1200AC and WRT1900ACv2/SClaudio Leite2016-05-231-6/+4
| | | | | | Also collapses the three identical configurations into one block. Signed-off-by: Claudio Leite <leitec@staticky.com>
* mvebu: backport upstream ethernet driver improvements and enable buffer ↵Felix Fietkau2016-05-2229-6/+4334
| | | | | | manager support Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mvebu: fix device I/O coherency issuesFelix Fietkau2016-05-221-0/+47
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove bogus CONFIG_LOG_BUF_SHIFT overridesFelix Fietkau2016-05-211-1/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mvebu: correct patch name of the crypto sram fixFelix Fietkau2016-05-211-0/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mvebu: fix bus ranges for the crypto processor sramFelix Fietkau2016-05-211-0/+13
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mvebu: tune kernel config for performanceFelix Fietkau2016-05-211-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mvebu: enable core drivers in the kernel config instead of packaging themFelix Fietkau2016-05-218-93/+66
| | | | | | Simplify profile package selection Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mvebu: add some more flash driver fixesFelix Fietkau2016-05-213-0/+156
| | | | | | | Disable marvell,nand-keep-config property on WRT1900AC to allow the flash driver to properly probe the chip Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mvebu: rename recently added flash driver fixFelix Fietkau2016-05-211-0/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mvebu: prevent crash in the flash driver in case of a spurious interruptFelix Fietkau2016-05-211-0/+13
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mvebu: backport an upstream NAND flash driver fixFelix Fietkau2016-05-211-0/+428
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mvebu: update to linux 4.4Felix Fietkau2016-05-2022-3069/+15
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mvebu: fix portability issues in the image makefile codeFelix Fietkau2016-05-201-5/+5
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>