aboutsummaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* treewide: clean up download hashesFelix Fietkau2016-12-161-1/+1
| | | | | | Replace *MD5SUM with *HASH, replace MD5 hashes with SHA256 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: add support for TP-LINK TL-WR940N v4David Lutz2016-12-1614-1/+186
| | | | Signed-off-by: David Lutz <kpanic@hirnduenger.de>
* realview: drop the targetYousong Zhou2016-12-168-422/+0
| | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* armvirt: new targetYousong Zhou2016-12-166-0/+363
| | | | | | | | | | | | | | | | | | | | An ARM Cortex-A15 machine provided by QEMU. Kernel drivers enabled: - pl011, uart - pl031, rtc - pl061, gpio - pci-host-generic - virtio_{mmio,pci,net,blk,scsi,9p,console,balloon} - smp with NR_CPUS=4 - cpu-hotplug - ext4 - neon, vfp extensions support (otherwise userland will fail with illegal instruction signal (code 0x00000004)) - DEBUG_BUGVERBOSE for debug purposes Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* ar71xx: fix TL-WR842N v2 switch port orderJo-Philipp Wich2016-12-141-1/+5
| | | | | | | | | | | | | | The TL-WR842N v2 has the following switch port layout with swconfig port 0 being connected to eth1: Power LAN4 LAN3 LAN2 LAN1 WAN USB (*) | [...] | [...] | [...] | [...] | [...] | [.] swconfig port: 1 4 3 2 n/a netdev: eth1 eth1 eth1 eth1 eth0 Adjust the board defaults to match this model specific layout. Signed-off-by: Jo-Philipp Wich <jo@mein.io>