aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
Commit message (Collapse)AuthorAgeFilesLines
* linux: correct deps for x86-xen-domu targetSven Roederer2016-12-281-1/+0
| | | | | | | | | | depending packages have been moved to kernel-config - kmod-xen-kbddev in 9fde361 - kmod-xen-fs, kmod-xen-evtchn, kmod-xen-netdev in 018807d this will also fix imagebuilder Signed-off-by: Sven Roederer <devel-sven@geroedel.de>
* kirkwood: enable initramfs images by defaultFelix Fietkau2016-12-271-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ppc44x: fix build of crypto4xx_core.cHauke Mehrtens2016-12-251-0/+46
| | | | | | | | crypto4xx_probe() is in the __init section and referenced by code form other sections, which causes a build error. Backport a patch from mainline kernel to fix this. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* lantiq: fix falcon buildJohn Crispin2016-12-251-1/+1
| | | | | | | | | The following commit changed the build templates name but forgot to update the TARGET_DEVICES variable properly. commit f9226158bed52aeae408730 (lantiq: rename EASY98000 to EASY98000NOR) Signed-off-by: John Crispin <john@phrozen.org>
* lantiq: rename EASY98000 to EASY98000NORHauke Mehrtens2016-12-241-2/+1
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* rb532: remove linux 4.1 supportFelix Fietkau2016-12-244-224/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* rb532: Switch to kernel 4.4Florian Fainelli2016-12-241-1/+1
| | | | Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* rb532: Backport fix to resolve oops during korina_restartFlorian Fainelli2016-12-241-0/+56
| | | | Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* rb532: Add support for kernel 4.4Florian Fainelli2016-12-244-0/+225
| | | | Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* rb532: Fix initramfs kernel imagesFlorian Fainelli2016-12-241-1/+1
| | | | | | | The generic lzma-loader uses vmlinux.lzma as an input to compress so we need to provide a lzma compressed version of the initramfs kernel. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* lantiq: drop the FRITZ7360SL led-dsl aliasMathias Kresin2016-12-241-1/+0
| | | | | | | | | | | | | The power LED can not be used for indicating the xDSL line state and the in system (boot) state at the same time in LEDE. As soon as the xDSL Line goes down, the power LED is switched off. During xDSL handshake the power led would blink with the same or a similar pattern as during boot. Both might confuse users. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: add FRITZ7360SL phy reset gpiosMathias Kresin2016-12-241-5/+5
| | | | | | | | | | | | | | | Due to a hardware bug of Atheros 8030 phys, the driver need to reset the phys on link state change. Use the correct compatible string for the at903x phys connected to switch port 0 and 1. Fix the pinmux of the gpio lines connected to the reset pin of the phys and define the reset-pins to let the driver do the fixups. Fixes FS#343 Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: fix DGN1000B boot status ledsMathias Kresin2016-12-241-9/+7
| | | | | | The alias node should not be a child of the chosen node. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: use new image build code for more devicesMathias Kresin2016-12-2420-413/+447
| | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: use different board names for variantsMathias Kresin2016-12-2414-30/+49
| | | | | | | | | | | | Use different names for flash size related board variants, to make sure that only images for the actual flash size are considered as valid by the image validation code. Remove the flash size suffix from the string returned by ramips_board_detect() to ensure that existing scripts relying on the former used boardname are still working. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: sort rt305x image file alphabeticalMathias Kresin2016-12-241-218/+155
| | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: use D-Link DIR-600 B1 image for B2 versionMathias Kresin2016-12-246-121/+1
| | | | | | | Everything set for the B1 is identical to the values uses for the B2 version. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: fix image validation errorsMathias Kresin2016-12-244-13/+15
| | | | | | | | | | | The name from the Device define will be used in the metadata. Due to typos/different spelling, this name might not match the one exported in /lib/ramips.sh. Fix all name mismatches which were found by checking if the name used in the metadata exists in /lib/ramips.sh. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: use destinct 11AC NAS board nameMathias Kresin2016-12-246-30/+44
| | | | | | | | | | Use a distinct board name even if the board is near to identical to the WeVO W2914NS v2. To make sure that a 11AC NAS image can not be installed on a WeVO W2914NS v2, both board need to use different names. Signed-off-by: Mathias Kresin <dev@kresin.me>
* orion: remove linux 3.18 supportFelix Fietkau2016-12-245-890/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* orion: enable SoC drivers in the kernel configFelix Fietkau2016-12-242-216/+37
| | | | | | Clean up packaged modules Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kirkwood: clean up profiles, move to image makefileFelix Fietkau2016-12-246-234/+28
| | | | | | Adds support for per-device rootfs Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kirkwood: enable SoC drivers in the kernel configFelix Fietkau2016-12-241-6/+17
| | | | | | Clean up packaged modules Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kirkwood: clean up FEATURESFelix Fietkau2016-12-241-1/+1
| | | | | | | | | Remove dt: it is implicitly enabled based on the kernel config Remove tar.gz and jffs2_nand: Legacy build code has been removed, NAND devices are only supported with UBI now. Remove ubifs: deprecated, use squashfs images instead Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kirkwood: remove legacy image build codeFelix Fietkau2016-12-241-96/+0
| | | | | | This has been mostly non-functional for a while now Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kirkwood: convert iconnect, ib62x0 and pogoplug_e02 to the new image build codeFelix Fietkau2016-12-241-4/+19
| | | | | | | Update the correspoding u-boot configs to stop relying on kernel-in-rootfs, which was removed a while back Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: fix tplink image building fix sysupgrade firmware on MR200Henryk Heisig2016-12-241-4/+5
| | | | Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* ramips: enablemodem: move /lib/ramips.sh to start()Henryk Heisig2016-12-241-1/+2
| | | | | | Fix build error: /etc/init.d/enablemodem: line 2: /lib/ramips.sh: No such file or directory Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* generic: ar8216: fix invalid bounds check imported from ChromeOS (FS#347)Jo-Philipp Wich2016-12-231-1/+1
| | | | | | | | The priv->vlan_id member is of size AR8X16_MAX_VLANS, not AR8X16_MAX_PORTS, so check for the proper maximum value in order to avoid capping valid VLAN IDs to 7 (AR8X16_MAX_PORTS - 1). Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* Revert "arm64: boot-wrapper: Add mirror"Felix Fietkau2016-12-221-3/+1
| | | | | | | | This reverts commit ef258a0a41eb31fd77ad2868b8ec97accc44fd93. Similar to 43c09f2885b413aa44a65ddf85778e40349f2199, multiple git mirrors are not supported Signed-off-by: Felix Fietkau <nbd@nbd.name>
* treewide: clean up and unify PKG_VERSION for git based downloadsFelix Fietkau2016-12-221-4/+2
| | | | | | Also use default defintions for PKG_SOURCE_SUBDIR, PKG_SOURCE Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86/64: enable Hyper-V support in the x86_64 kernel configTedaz2016-12-221-1/+32
| | | | | | | | | | | | Enabled Hyper-V network interface card driver, display adapter driver, storage driver, keyboard driver, mouse driver and Hyper-V utility and EFI boot support in the kernel for subtarget x86/64. Convert the img file to vhd by Ubuntu qemu-img, rather than by the buildroot's built-in qemu-img. Tested on Windows Server 2008 r2 and 2012 r2 Gen1 and Gen2 VMs. Signed-off-by: Tedaz <tedaz99999@hotmail.com>
* ramips: Add support to TP-Link Archer MR200Henryk Heisig2016-12-228-1/+240
| | | | | | | | | | CPU: MT7620N 580MHz Flash: 8MB RAM: 64MB build-in modem 3G/4G four ethernet port 10/100Mbps Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* ramips: add support for ZyXEL Keenetic Omni / Omni IIVitaly Chekryzhev2016-12-228-0/+277
| | | | | | Factory image can be installed via Zyxel WebUI. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
* ar71xx: RE450: enable building of TP-Link RE450Radek Dostál2016-12-221-0/+16
| | | | Signed-off-by: Radek Dostál <rd@radekdostal.com>
* ar71xx: add support for TP-Link RE450Tal Keren2016-12-2213-0/+220
| | | | | | | | | | | | | | | | | | | | | | | Add full support for TP-Link RE450. The wireless SoC is similiar to Archer C7: QCA9558 + QCA9880 (pci). The ethernet interface is AR8035, but the mdio is connected to the gpio and the chipset builtin mdio bus isn't used, which is unique (and weird), so the kernel gpio mdio module is used. The two ethernet leds are connected to the GPIO, so they are both configured, one to indicate link status and the other to indicate data transfer. The generation of the image was added to the image Makefile. The return value of tplink-safeloader is not ignored anymore (to fail on error) The result factory image is flashable from the stock web ui. Signed-off-by: Tal Keren <kooolk@gmail.com> [rd@radekdostal.com: ar71xx: RE450: do not build RE450 for nand] Signed-off-by: Radek Dostál <rd@radekdostal.com> [hyniu@o2.pl: ar71xx: RE450: Renaming LED accordance with the standard] Signed-off-by: Henryk Heisig <hyniu@o2.pl> [jo@mein.io: squash fixes from Radek and Henryk into original commit] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ar71xx: sort items in 11-ath10k-caldata alphabeticallyRadek Dostál2016-12-221-21/+21
| | | | | Requested-by: Mathias Kresin <dev@kresin.me> Signed-off-by: Radek Dostál <rd@radekdostal.com>
* firmware-utils: kernel image generator for TP-Link RE450Tal Keren2016-12-221-0/+10
| | | | | | | | | | | | | | | | | The firmware image that is used in TP-Link RE450 (and some more devices from the RE series) is tplink-safeloader. In the kernel partition, the kernel is compressed in a regular tp-link firmware that is just used for booting. Since it is only used for compressing and booting, only four fields are filled in the header: Vendor, version, kernel load address and kernel entry point. mktplinkfw-kernel is a simpler version of mktpolinkfw that generate such images. It also specifies the hardware id (as it is in the product info section), so when doing a sysupgrade - the existing code will check for hardware compatibility. Signed-off-by: Tal Keren <kooolk@gmail.com> [rd@radekdostal.com: add build target to .../image/tp-link.mk] Signed-off-by: Radek Dostál <rd@radekdostal.com>
* ar71xx: remove redundant -j from TL-WR1043ND v4 kernel build commandMatthias Schiffer2016-12-211-1/+1
| | | | | | | mktplinkfw ignores -j in combined mode, the EOF marker is added by tplink-safeloader. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* target/linux/x86/image: add explicit prefix to grub-mkimage commandAlexandru Ardelean2016-12-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | In the latest version of grub-mkimage, the prefix option is mandatory. Not supplying it fails with: ``` Prefix not specified (use the -p option). ``` In grub-2.02-beta2 a DEFAULT_DIRECTORY was defined in `include/grub/osdep/hostfile_unix.h` as: ``` #if defined (__NetBSD__) /* NetBSD uses /boot for its boot block. */ # define DEFAULT_DIRECTORY "/"GRUB_DIR_NAME #else # define DEFAULT_DIRECTORY "/"GRUB_BOOT_DIR_NAME"/"GRUB_DIR_NAME #endif ``` Where: * GRUB_BOOT_DIR_NAME == boot * GRUB_DIR_NAME == grub This was used if the -p option was omitted. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* ar71xx: add support for TP-LINK WR1043ND v4Ludwig Thomeczek2016-12-2013-3/+243
| | | | Signed-off-by: Ludwig Thomeczek <ledesrc@wxorx.net>
* ar71xx: rename mktplinkfw-initramfs to more generic mktplinkfw-combinedMatthias Schiffer2016-12-201-5/+5
| | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* brcm2708: unbreak the spidev buildJohn Crispin2016-12-201-4/+6
| | | | | | a generic patch made this patch fail to apply cleanly leading to aborted builds Signed-off-by: John Crispin <john@phrozen.org>
* linux: drop deprected hifn795x patchJohn Crispin2016-12-201-17/+0
| | | | | | this was needed years ago by the OCF Signed-off-by: John Crispin <john@phrozen.org>
* linux: drop HSO support patchJohn Crispin2016-12-201-25/+0
| | | | | | | | | This patch is part of a series adding support for 0x9200 and 0x9300. The prior was merged into the upstream kernel while the latter was not due to lack of testers. Drop the patch as it is untested and most likely unused. Signed-off-by: John Crispin <john@phrozen.org>
* ipq806x: EA8500 fix sysupgrade over stock firmwareAdrian Panella2016-12-201-4/+26
| | | | | | | | | | When running sysupgrade for the first time over the second partition (that still had stock firmware) the rootfs wasn't flashed as there wasn't enough space. This happend because stock also uses UBI, but the volume name wasn't recognised and wasn't deleted before flashing. Signed-off-by: Adrian Panella <ianchi74@outlook.com>
* ramips: adding registration for si3210Giuseppe Lippolis2016-12-202-0/+28
| | | | | | | | | | | | | | | The si3210 is a SLIC device providing a complete analog telephone interface and therefore frequently used in soho router. The si3210 have a native spi interface to be controlled by the CPU but currently there is no dedicated driver in lede. Adding a registration for this device in spidev allow to control the device in user space. This way of patching is also in line with the rationale of the spidev driver, see: http://marc.info/?t=148145791900001&r=1&w=2 The si3210 has been also added in the DWR-512 DT to properly describe the HW. Signed-off-by: Giuseppe Lippolis <giu.lippolis@gmail.com>
* mediatek: enable support for vfpv4 and neonChristian Lamparter2016-12-201-0/+1
| | | | | | | | | | | | | | | | | | | While researching for the armvirt target, I looked at the existing arm platforms. It turns out that the mediatek target with its sole MT7623N/A chip is sold as a "highly integrated multimedia network router system-on-chip". To that end, it lists support for the "NEON multimedia processing engine with SIMDv2 / VFPv4 ISA support". <http://topics.mediatek.com/en/products/connectivity/wifi/home-network/wifi-ap/mt7623na/> So this patch enables the CPU_SUBTYPE to use this information. This should have the nice side effect that LEDE's phase2 builders no longer need to built a separate "cortex-a7" target, so this should free up some resources. Cc: John Crispin <john@phrozen.org> Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* kernel: bump to 4.4.39Kevin Darbyshire-Bryant2016-12-2011-32/+22
| | | | | | | | Bump & refresh patches for all 4.4 targets. Compile & run tested: ar71xx Archer C7 v2 Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
* ramips: WNDR3700v5 fix mtd partitions and radiosL. D. Pinney2016-12-201-6/+7
| | | | | | | Fix the mtd partition layout and enable both radios in the dts Tested-by Andrius Štikonas <andrius@stikonas.eu> Signed-off-by: L. D. Pinney <ldpinney@gmail.com>