aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
Commit message (Collapse)AuthorAgeFilesLines
...
* mvebu: ClearFog renamed upstream to ClearFog ProMarko Ratkaj2017-05-145-11/+11
| | | | | | The conventional model is now known as the "Clearfog Pro" Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
* mvebu: ClearFog DT file renamed upstreamMarko Ratkaj2017-05-141-0/+80
| | | | | | | The conventional model is now known as the "Clearfog Pro". We keep the old armada-388-clearfog.dts file for compatibility reasons. Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
* ar71xx: enable nand-utils in the mikrotik subtarget to ensure it makes it to ↵Felix Fietkau2017-05-122-2/+4
| | | | | | | | initramfs Without it, sysupgrade from initramfs to nand fails Signed-off-by: Felix Fietkau <nbd@nbd.name>
* bcm53xx: backport MDIO bus clock initialization fixRafał Miłecki2017-05-112-0/+96
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: backport USB 3.0 PHY patch cleaning all writesRafał Miłecki2017-05-113-0/+354
| | | | | | It doesn't change any bevahior just cleanes up the code. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* ramips: fixup-mac-address: add missing includeJo-Philipp Wich2017-05-111-0/+1
| | | | | | | | | Add missing include of ramips.sh in order to import the missing ramips_board_name() procedure. Fixes FS#774. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ramips: add support for Asus RT-AC51UØrjan Malde2017-05-107-0/+147
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specification: - SoC: MediaTek MT7620A (580 MHz) - RAM: 64 MiB (Winbond W9751G6JB-25) - Flash: 16 MiB (Spansion S25FL128SAIF00) - LAN: x4 100M - WAN: x1 100M - Others: USB 2.0, reset button, wps button and 9 LEDs Issues: - 5 GHz band is not functional (missing driver support) Installation: Asus windows recovery tool: - install the Asus firmware restoration utility - unplug the router, hold the reset button while powering it on - release when the power LED flashes slowly - specify a static IP on your computer: IP address: 192.168.1.75; Subnet mask 255.255.255.0 - Start the Asus firmware restoration utility, specify the sysupgrade image, and press upload TFTP Recovery method: - set computer to a static ip, 192.168.1.75 - connect computer to the LAN 1 port of the router - hold the reset button while powering on the router for a few seconds - send firmware image using a tftp client; i.e from linux: $ tftp tftp> binary tftp> connect 192.168.1.1 tftp> put lede-ramips-mt7620-rt-ac51u-squashfs-sysupgrade.bin tftp> quit Signed-off-by: Ørjan Malde <foxyred333@gmail.com>
* ramips: add new device ZyXEL Keenetic as knAlexey Belyaev2017-05-107-4/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This device exactly same as NBG-419N but with USB port and USB Led. Specification: - SoC: Ralink RT3052 (MIPS24Kc) @384MHz - RAM: 32 MiB - Flash: 8 MiB - WLAN: WiSoC 2T2R/300Mbps (2.4GHz) - LAN: 4x100M - WAN: 1x100M - USB: 1x2.0 Installation via serial console (57600 8N1) from TFTP server - rename the firmware to something shorter, for example "sysupgrade.bin" (max. 32 chars) - copy firmware TFTP server's directory - when you power on device, and see U-Boot log, immediatly push "2" once. - You will see this message: 2: System Load Linux Kernel then write to Flash via TFTP. Warning!! Erase Linux in Flash then burn new one. Are you sure? - Push "y", and enter: device IP, then TFTP server's IP, and then image firmware file name. The firmware will be downloaded within ~30 seconds and flashed to the device (It will take about 2 minutes). Signed-off-by: Alexey Belyaev <spider@spider.vc> [squash commits, compact commit message, fix compatible string, remove superfluous pinmuxes] Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: use GPIO_ACTIVE macros in UBNT-ERX.dtsSven Roederer2017-05-061-3/+4
| | | | | | | - reorder includes - use GPIO_ACTIVE_LOW macro instead of hardcoded "1" Signed-off-by: Sven Roederer <devel-sven@geroedel.de>
* ramips: strip padding from TP-Link sysupgrade imagesHenryk Heisig2017-05-051-3/+3
| | | | | | This reduce size of sysupgrade firmware. Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* ramips: add factory firmware for Tp-Link C20i/C50Henryk Heisig2017-05-051-0/+4
| | | | | | TP-Link firmware doesn't accept sysupgrade.bin with metadata. Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* brcm63xx: fix invalid Asmax AR 1004g DTS referenceMarcin Jurkowski2017-05-051-1/+1
| | | | | | | Build profile for Asmax AR 1004g refers to an invalid DTS "rg100a". The correct DTS for this device is "ar1004g". Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
* lantiq: fix avm fritz box mac addressesMathias Kresin2017-05-055-9/+17
| | | | | | | | | It has been shown that the Fritz boxes have the correct mac address set in the wireless calibration data/eeeprom. Use this mac address as base for the ethernet and xdsl interface increment/decrement the address to match the values stored in the tffs. Signed-off-by: Mathias Kresin <dev@kresin.me>
* x86: fix lifting kernel CPU requirements and always enable PAEDaniel Golle2017-05-053-10/+243
| | | | | | | | | commit 89878f60f4 x86: lift kernel minimum CPU requirement to Pentium MMX caused kconfig havoc. Fix this and make sure PAE is enabled even on legacy CPUs as the minimum required CPU has been Pentium MMX for a while now and hence PAE is supported even on the x86_legacy target. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* x86/legacy: add missing config symbolJo-Philipp Wich2017-05-051-0/+1
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* x86: lift kernel minimum CPU requirement to Pentium MMXDaniel Golle2017-05-053-3/+3
| | | | | | | Anything older than that isn't supported since commit f4f8f4a180366, hence also switch to Pentium MMX when building the kernel. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* x86: generic: use HIGHMEM64G instead of HIGHMEM4GDaniel Golle2017-05-051-1/+2
| | | | | | | | commit 4b4f73937371 switched on HIGHMEM4G which implicitely disabled PAE and hence also NX and other useful and security-relevant features. Re-enable PAE by switching to HIGHMEM64G. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* x86: keep /boot mounted for kexecDaniel Golle2017-05-051-4/+7
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* ramips: purge default packages on MT7621Daniel Golle2017-05-049-29/+48
| | | | | | | | | | | | | | In order to have a smaller initramfs image remove all packages not needed on all devices and add them explicitely for those actually needing them. Also remove wpad-mini from ramips default package set and add it to all sub-targets except for MT7621. While at it reorder packages alphabetically and replace kmod-mt76 with kmod-mt7603 and/or kmod-mt76x2 depending on the chip actually used on a specific board. Hopefully fixes FS#758 Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* sunxi: clean up modules definitionsMatthias Schiffer2017-05-043-45/+5
| | | | | | | | | | | | | | | | | | Module definitions for kmod-wdt-sunxi and kmod-eeprom-sunxi are removed (wdt-sunxi was builtin anyways; nvmem-sunxi, which is the new name of eeprom-sunxi is changed to builtin). As kmod-eeprom-sunxi was specified in DEFAULT_PACKAGES, but not available on kernel 4.4, it was breaking the image builder. Support for kmod-sunxi-ir is added for kernel 4.4 (it is unclear why it was disable before, it builds fine with with kernel 4.4). Condtionals only relevant for pre-4.4 kernels are removed from modules.mk, as sunxi does't support older kernels anymore. Fixes FS#755. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ramips: enable ramdisk for mt7621Paul Spooren2017-05-041-1/+1
| | | | | | Fixes #758 Signed-off-by: Paul Spooren <paul@spooren.de>
* octeon: port missing 4.9 patchesFelix Fietkau2017-05-046-0/+1766
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* armvirt: 64: enable usb supportYousong Zhou2017-05-032-1/+1
| | | | | | | | | It was originally only enabled for the "32" subtarget along with the "usb" feature which is now also shared by the "64" target This should fix the phase1 build of armvirt/64 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* ipq806x: fix EA8500 switch configurationJo-Philipp Wich2017-05-031-1/+1
| | | | | | | | | Do not assign the CPU port twice, this confuses LuCI and possible other programs relying on topology information in board.json. Ref: https://github.com/openwrt/luci/issues/1086 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* mediatek: fix sysupgrade on eMMC boardsJohn Crispin2017-05-033-7/+9
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* imx6: remove linux 4.4 supportFelix Fietkau2017-05-0226-3811/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* target/arc770: switch to 4.9 kernelAlexey Brodkin2017-05-023-13/+33
| | | | | | | | With update of ARC tools to arc-2016.09 based on GCC v6.x we have to bump Linux kernel version so both toolchain and the kernel use the same ARC ABIv4. Signed-off-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
* target/archs38: switch to 4.9 kernelAlexey Brodkin2017-05-023-18/+39
| | | | | | | | With update of ARC tools to arc-2016.09 based on GCC v6.x we have to bump Linux kernel version so both toolchain and the kernel use the same ARC ABIv4. Signed-off-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
* linux-4.9: Fix building of DWC3 moduleAlexey Brodkin2017-05-021-0/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DWC3 driver uses of_usb_get_phy_mode() which is implemented in drivers/usb/phy/of.c and in bare minimal configuration it might not be pulled in kernel binary. In case of ARC or ARM this could be easily reproduced with "allnodefconfig" +CONFIG_USB=m +CONFIG_USB_DWC3=m. On building all ends-up with: ---------------------->8------------------ Kernel: arch/arm/boot/Image is ready Kernel: arch/arm/boot/zImage is ready Building modules, stage 2. MODPOST 5 modules ERROR: "of_usb_get_phy_mode" [drivers/usb/dwc3/dwc3.ko] undefined! make[1]: *** [__modpost] Error 1 make: *** [modules] Error 2 ---------------------->8------------------ This was affecting Lede in case of CONFIG_ALL_KMODS=y. The patch is already scheduled for v4.12 and once it is backported to 4.9.y it must be removed from here. Note this patch makes sense not only for ARC instead it fixes a generic issue which may affect more arches and platforms thus putting it in "generic/" folder. Signed-off-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com> Signed-off-by: Felix Fietkau <nbd@nbd.name> [patch rename]
* target: mpc85xx: make kernel_menuconfigAlexandru Ardelean2017-05-021-14/+33
| | | | | | | It's the best method I know (so far) to refresh the kernel config to a default state. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* target: mpc85xx: tl_wdr4900_v1: drop 'fsl_rstcr_restart' hookAlexandru Ardelean2017-05-021-1/+0
| | | | | | | | | | | | Since commit: http://github.com/torvalds/linux/commit/7120438e5d82f445acbfe131a1b58eab7e83fa33 Seems that fsl_rstcr_restart() has been converted to a reset handler and dropped as hook/callback. Apply the same to the `tl_wdr4900_v1` target. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* target: mpc85xx: refresh kernel patchesAlexandru Ardelean2017-05-023-136/+9
| | | | | | | | | | | | | Re-applied patches: 001-powerpc-85xx-add-gpio-keys-to-of-match-table.patch 100-powerpc-85xx-tl-wdr4900-v1-support.patch Dropped patch: 200-spi-fsl-espi-preallocate-local-buffer.patch now part of kernel upstream hash https://github.com/torvalds/linux/commit/1423877b73ed5f4982eaba8bed359605b9918a2b Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* target: mpc85xx: switch to kernel 4.9Alexandru Ardelean2017-05-025-1/+1
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* mediatek: fix mt7530 mcm resetJohn Crispin2017-04-293-3/+12
| | | | | | | Early SoC versions with an ECO of 1 required the gpio reset. Mass production SoCs no longer need this work around. Signed-off-by: John Crispin <john@phrozen.org>
* x86: enable 4G high memory support for generic (32bit) subtargetJo-Philipp Wich2017-04-272-4/+8
| | | | | | | | | This is required to fully support a number of 32bit x86 systems equipped with more than one GB ram, e.g. certain Atom CPU machines. Ref: https://forum.lede-project.org/t/17-01-1-x86-doesnt-detect-all-of-the-ram/3295 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ramips: ZTE-Q7: fix switch driver initialization in DTS (FS#716)Jo-Philipp Wich2017-04-271-2/+4
| | | | | | | | | | Add the changes suggested by FS#716 to fix the switch driver initialization on the ZTE Q7. Also remove the `pinctrl-names` field obsoleted by the changes. Reported-by: Harry Lau <harrylwc@gmail.com> Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ramips: fix syntax error in board.d/01_ledsMathias Kresin2017-04-271-1/+1
| | | | | | | | | | Fixes the following error: syntax error: unexpected newline (expecting ")") Fixes: FS#739 Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: ZBT-WE826: include the correct dtsiMathias Kresin2017-04-273-6/+4
| | | | | | | | | Fix a copy/paste error and include the ZBT-WE826 dtsi instead of the ZBT-WG3526 one. Fix the syntax error in the ZBT-WE826 dtsi to prevent an compile error. Signed-off-by: Mathias Kresin <dev@kresin.me>
* imx6: ventana: add GW553x board identificationTim Harvey2017-04-261-0/+5
| | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* imx6: disable MSI interruptsTim Harvey2017-04-262-40/+24
| | | | | | | | | | | | The IMX6 PCIe host controller does not fire legacy interrupts if MSI is enabled. A patch is being worked on to enable MSI at runtime only when it is needed but meanwhile this patch will disable MSI for the imx6 kernel. This fixes the no interrupt issue on cards/drivers that use legacy interrupts such as ath9k. Signed-off-by: Tim Harvey <tharvey@gateworks.com> Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* imx6: apply upstream mmc fix for DDR50 cards on UHS-I capable boardsTim Harvey2017-04-261-0/+42
| | | | | | https://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git/commit/?h=fixes&id=9f327845358d3dd0d8a5a7a5436b0aa5c432e757 Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* apm821xx: Merge the Cisco Meraki MX60 & MX60WChris Blake2017-04-261-7/+1
| | | | | | | | | Both of these boards share the same DTS, and hardware. The only difference would be the PCI-E slot, and ath9k card found on the MX60W. Due to the similarities, it would be more efficient to merge these profiles. Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
* apm821xx: Add default packages to NAND targetChris Blake2017-04-263-8/+9
| | | | | | | | | This moves core router packages to the NAND target, to ensure they are applied to all images. This change is being done due to an issue found when flashing the MX60W image, which came without these when built as a multi image. Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
* ar71xx: fold 641-MIPS-ath79-fix-AR934x-OTP-offsets.patch into the patch that ↵Felix Fietkau2017-04-2615-131/+91
| | | | | | it fixes Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: Add OTP support for AR934xChris Blake2017-04-261-0/+66
| | | | | | | | | | The patch 523-MIPS-ath79-OTP-support only supports the OTP offsets for AR933x chips, which has changed on newer platforms such as the AR934x. The follwoing change is to add support for reading the OTP on the AR934x. Tested on an Aerohive AP-121. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
* kernel: remove out of tree direct-io disable hackFelix Fietkau2017-04-269-251/+0
| | | | | | | Direct-IO support has to be enabled for the release build anyway, so this hack is not worth keeping Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: use the ZBT-WE826 power LED for status indicationMathias Kresin2017-04-252-2/+1
| | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: add ZBT-WE826 32MB variantMathias Kresin2017-04-259-19/+57
| | | | | | | | The ZBT-WG826 is available with 16 or 32 MByte of flash. Split the device tree source file, rename the currently supported 16 MByte version and add the 32 MByte variant. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: rename Digineo AC1200 Pro to ZBT-WG3526 32MBMathias Kresin2017-04-258-29/+23
| | | | | | | | The Digineo AC1200 Pro is the 32MB flash variant of the ZBT-WG3526 with unpopulated/exposed sdhci slot. Rename to board to the OEM/ODM name and add the sdhci kernel module to use it for multiple clones. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: prepare ZBT-WG3526 for hardware variantsMathias Kresin2017-04-256-11/+14
| | | | | | | | The ZBT-WG3526 is available with 16 or 32 MByte of flash. Rename the current supported 16MByte version to indicate which flash size variant is supported. Signed-off-by: Mathias Kresin <dev@kresin.me>