aboutsummaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* ramips: Add back sdhci-mt7620 driver to default configRosen Penev2017-01-181-4/+4
| | | | | | The driver no longer causes kernel panics and CPU hangs. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* bcm53xx: use accepted BCM5301X patches for R8000 and Luxul devicesRafał Miłecki2017-01-183-0/+9
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* sdk: do not strip static librariesJo-Philipp Wich2017-01-181-1/+1
| | | | | | | | | | | | | Do not strip static libraries shipped with the SDK in order to preserve the archive index. If we strip the index of the shipped libraries, host programs will fail to link these libraries with errors like: libssl.a: error adding symbols: Archive has no index; run ranlib to add one The error was found while investigating a Python host build failure within the SDK environment. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* x86: add kernel module for sp5100_tco watchdogChris Blake2017-01-161-0/+15
| | | | | | | | | | | This change adds the sp5100_tco driver as a kernel module for the x86 target. Specifically, this can be used by the PCEngines APU2/APU3. The reason for having this as a kernel module is to allow users to load/unload it on demand, as the I2C interface on the APU2/APU3 will not work while this module is loaded. More info can be found on GitHub at https://github.com/riptidewave93/LEDE-APU2/pull/5#issuecomment-255667736 Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
* x86: Add sp5100_tco AMD patchesChris Blake2017-01-164-0/+217
| | | | | | | | | | | | | | This adds the following patches to the x86 target: sp5100_tco: Add AMD Mullins platform support sp5100_tco: Add AMD Carrizo platform support sp5100_tco: fix the device check for SB800 and later chipsets watchdog: sp5100_tco: properly check for new register layouts With these added, the sp5100_tco driver can then be used on newer AMD platforms, such as the PCEngines APU2/APU3 boards. Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
* x86: remove the xen_domu subtargetFelix Fietkau2017-01-166-135/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86/generic: add xen DomU supportFelix Fietkau2017-01-163-4/+67
| | | | | | Copy the relevant config options from the xen_domu subtarget Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: fix up the kernel config for the mikrotik subtargetFelix Fietkau2017-01-161-0/+64
| | | | | | Limit enabled devices to routerboards, disable all other devices Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: fix network config for Mikrotik RB411UCezary Jackiewicz2017-01-161-0/+1
| | | | | | | Mikrotik RB411U has only one ethernet port - eth0. This patch allows to create correct config with one lan section. Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
* ar71xx: add support for RB-941-2nDThibaut VARENE2017-01-1611-4/+243
| | | | | | | | | | | | | | | | Add full support for Mikrotik RB-941-2nD (hAP lite) Original patch by Sergey Sergeev <adron@yapic.net> and more information is available here: https://wiki.openwrt.org/toh/mikrotik/rb941_2nd I updated and adapted the patch to apply cleanly to LEDE trunk and added proper numbering for the switch ports (matching case labels). Tested working on actual hardware with the information provided in the above webpage. Sysupgrade works. Signed-off-by: Thibaut VARENE <hacks@slashdirt.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove yaffs2 support, it is no longer neededFelix Fietkau2017-01-1656-17333/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* adm5120: mark the rb1xx subtarget as brokenFelix Fietkau2017-01-161-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: convert mikrotik routerboard support to UBIFelix Fietkau2017-01-1613-114/+80
| | | | | | | | | | Remove the wget2nand script, drop the need for manual installation, use sysupgrade instead. There are now two different NAND images, one for 64 MiB flashes, the other for >= 128 MiB Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: create a proper default profile for the mikrotik subtarget, drop ↵Felix Fietkau2017-01-162-23/+6
| | | | | | other profiles Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: ar8327/ar8337: disable ARL access code to avoid lockups (FS#384)Jo-Philipp Wich2017-01-161-0/+6
| | | | | | | | | | Running ar8327_get_arl_entry() early after boot leads to MDIO related system lockups on several devices using this driver. Since dumping the ARL table contens is an optional, uncritical feature, simply disable the code for now. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* kernel: make ledtrig-netdev use a work queue for updatesFelix Fietkau2017-01-161-16/+16
| | | | | | | | This fixes hangs in igb that happen if the update call interrupts an already existing dev_get_stats call. In that case the calling CPU deadlocks because it's trying to acquire the same spinlock recursively. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* bcm53xx: add pending BCM5301X patches: Netgear R8000 WiFi & Luxul DTSRafał Miłecki2017-01-154-1/+343
| | | | | | | | This specifies wireless limitations for Netgear R8000 making sure people won't use channels incorrectly (limited performance). There are also 2 new DTS files not used by us yet. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: fix bcma serial console regressionRafał Miłecki2017-01-151-0/+92
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* ipq806x: refactor ipq8065 device treePavel Kubelun2017-01-151-1124/+2
| | | | | | | | | | | | | | | | At the moment we have 2 seperate device tree sources: 1 for ipq8064 soc located in kernel source and 1 custom in LEDE for ipq8065. ipq8064 and ipq8065 SoCs are completely identical except ipq8065 has higher cpu frequencies and adjusted corresponding power supply. This commit makes ipq8065 DTS to contain only specific for ipq8065 DT entries while pulling all the basic SoC stuff from ipq8064 DTS. It makes easier to manage ipq806x device trees and instead of committing changes into 2 seperate equal DTS we are ending up with only 1. It also enables ipq8065 devices to automatically receive changes made in upstream kernel. Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: enable hw pseudo random number generatorPavel Kubelun2017-01-152-1/+17
| | | | | | Enables support for pseudo random number generator in device tree. Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: update eMMC and SDCC3 nodes in device treePavel Kubelun2017-01-151-7/+9
| | | | | | | Enable bam dma support for eMMC and SDCC3 in device tree and update nodes to reflect Qualcomm SDK. Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ipq806x: disable usb3 phy suspend and add usb tcsr controlPavel Kubelun2017-01-153-1/+43
| | | | | | | | | According to Qualcomm SDK usb3 phy suspend should be disabled for ipq806x. This may solve issue on some ipq806x devices that breaks usb3 storage peripherals during system boot. Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
* ramips: add back the i2c-mt7621 moduleJohn Crispin2017-01-151-0/+16
| | | | | | mt7628/88 are still using this module. Signed-off-by: John Crispin <john@phrozen.org>
* ramips: Added Onion Omega2 and Omega2+Lazar Demin2017-01-158-0/+249
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for the Onion Omega2 and Omega2+ (https://onion.io) Specifications: - SoC: MediaTek MT7688AN (580MHz, ramips) - Omega2 - RAM: 64MB DDR - Storage: 16MB NOR SPI flash onboard - Omega2+ - RAM: 128MB DDR - Storage: 32MB NOR SPI flash onboard + microSD slot - Wireless: Built into MT7688AN (mt76) with onboard 1x chip antenna and u.FL connecter - Ethernet: 1x100M pins on Omega2 & Omega2+, can use Ethernet Expansion and an Omega Dock to get a physical Ethernet port - Strongly recommend using the Omega2 & Omega2+ with a Dock (Expansion Dock, Power Dock, Arduino Dock 2, Mini Dock) - All Docks Provide: - Micro-USB port to provide power to the Omega - On the Expansion and Mini Docks, can also access the terminal (UART0) via serial - USB 2.0 socket connected to Omega - Just the Expansion Dock, Power Dock, and Arduino Dock 2 provide: - Omega GPIO breakout - Allows for connection of Omega Expansions: - Ethernet Expansion - Relay Expansion - PWM Expansion - OLED Expansion - Ethernet Expansion - Proto Expansion - Cellular Expansion Signed-off-by: Lazar Demin <lazar@onion.io>
* ar71xx: Detect USB port on Mikrotik RB750UPJoão Chaínho2017-01-151-0/+3
| | | | | | The USB port on Mikrotik RB750UP isn’t detected. This patch provides a fix. Tested and working. Signed-off-by: João Chaínho <joaochainho@gmail.com>
* ramips: Add I2C driver to the default kernel configRosen Penev2017-01-153-23/+7
| | | | | | | | | | I made a commit that added the RTC driver to the kernel config with the intent that it would fix hctosys. Unfortunately while the RTC driver is in there, it's connected through I2C, the driver for which comes in module form and is thus loaded late. After this commit, it works fine. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* imx6: kernel: Backport serial port fixesPetr Štetiar2017-01-154-0/+249
| | | | Signed-off-by: Petr Štetiar <ynezz@true.cz>
* kernel: backport MIPS changes introducing a separate IRQ stackFelix Fietkau2017-01-1517-15/+312
| | | | | | | | Prevents crashes when IRQs arrive when the current kernel stack context already contains deeply nested function calls, e.g. when stacking lots of network devices on top of each other Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: update 4.4 kernel to 4.4.42Hauke Mehrtens2017-01-1339-96/+91
| | | | | | | Refresh patches on all 4.4 supported platforms. Compile & run tested: lantiq/xrx200 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* imagebuilder: remove existing debug kernel imageFelix Fietkau2017-01-131-0/+1
| | | | | | Reduces tarball size and improves build time Signed-off-by: Felix Fietkau <nbd@nbd.name>
* imagebuilder: remove existing root filesystem imagesFelix Fietkau2017-01-131-0/+1
| | | | | | Reduces tarball size and improves build time Signed-off-by: Felix Fietkau <nbd@nbd.name>
* xburst: remove hack to determine entry pointFelix Fietkau2017-01-131-6/+1
| | | | | | xburst has CONFIG_BOOT_RAW set, so jumping to the load address is valid Signed-off-by: Felix Fietkau <nbd@nbd.name>
* malta: remove hack to determine entry pointFelix Fietkau2017-01-131-5/+1
| | | | | | Malta has CONFIG_BOOT_RAW set, so jumping to the load address is valid Signed-off-by: Felix Fietkau <nbd@nbd.name>
* sdk: exclude locale files to save some spaceFelix Fietkau2017-01-131-1/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mvebu: simplify etc/board.d/02_networkPaul Wassi2017-01-132-9/+5
| | | | | | | | | Unify switch configuration on Linksys WRTxx00AC series. LAN = eth0, WAN = eth1 Signed-off-by: Paul Wassi <p.wassi@gmx.at> [Álvaro]: also change WAN LEDs Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* mvsw61xx: add support for MV88E6352Imre Kaloz2017-01-132-0/+7
| | | | | | MV88E6352 is used on Linksys WRT3200ACM Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
* mvebu: several fixes for Linksys WRT3200ACMÁlvaro Fernández Rojas2017-01-131-44/+40
| | | | | | | | - Fix WLAN LEDs definition. - Fix USB pinctrl definition. - Remove SDHCI definition. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* mxs: gzip ext4 imagesFelix Fietkau2017-01-131-0/+3
| | | | | | Significantly reduces disk usage Signed-off-by: Felix Fietkau <nbd@nbd.name>
* arc770: gzip rootfs image to save some spaceFelix Fietkau2017-01-131-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* archs38: gzip rootfs image to save some spaceFelix Fietkau2017-01-131-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mvebu: remove the clearfog-bundleFelix Fietkau2017-01-131-13/+1
| | | | | | It is obsoleted by proper SD card image support Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image: when using the new image build code, gzip ext4 images by defaultFelix Fietkau2017-01-131-1/+0
| | | | | | | | | This reduces the amount of hacks in the makefile code. Remove the apm821xx code to do the same - it was broken and left both compressed and uncompressed images in $(BIN_DIR) Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86: disable crashlogFelix Fietkau2017-01-131-0/+1
| | | | | | | | It could cause crashes with some forms of virtualization, and it is unlikely to work properly with most systems. It's safer to just disable it. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86: disable a workaround for a buggy glibc versionFelix Fietkau2017-01-131-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* octeon: disable ext4 imagesFelix Fietkau2017-01-131-1/+1
| | | | | | They're pretty large and squashfs images tend to be more useful anyway Signed-off-by: Felix Fietkau <nbd@nbd.name>
* armvirt: add kernel config change missing from 0d44f0cbFelix Fietkau2017-01-131-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: default to external USB power on RB-912UAGFelix Fietkau2017-01-131-1/+1
| | | | | | | | | There's a GPIO that can switch between power to USB pins for the internal MiniPCIe slot or the external USB port. People are more likely to use the external one so enable it by default. Existing configurations should be unaffected Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86/64: enable the fusion scsi driverFelix Fietkau2017-01-131-0/+6
| | | | | | | Is it used by VMware Fusion by default. This allows images to boot without further config changes in VMware. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* armvirt: enable the USB feature flagFelix Fietkau2017-01-131-1/+1
| | | | | | USB devices can be passed through from the host to the guest Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: fix WLI-TX4-AG300N boot and networkYo Abe2017-01-131-2/+11
| | | | | | | | | | | | | | | | Partition label "linux" prevents the root file system to be mounted at boot time leading to a kernel panic. After changing it to "firmware", the 2 uimage partitions "kernel", "rootfs" and squashfs "rootfs_data" are correctly recognized. The attached IP175C 10/100 MBit switch cannot connect to a link with fixed 1000Mbit speed. The correct link speed is 100MBit. The switch is detected and can be configured via mdio bus and should allow two separable VLANs to be configured for the 4 available ports. Signed-off-by: Yo Abe <abe.geel@gmail.com> [picked from openwrt/PR#330] Signed-off-by: Mathias Kresin <dev@kresin.me>