aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
Commit message (Collapse)AuthorAgeFilesLines
* kernel: remove obsolete patch adding usb_find_device_by_nameFelix Fietkau2016-07-203-252/+0
| | | | | | ledtrig-usbdev does not need it anymore Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ledtrig-usbdev: use upstream function for iterating USB devicesRafał Miłecki2016-07-201-5/+27
| | | | | | This will allow us to drop LEDE patch adding usb_find_device_by_name. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* ar71xx: fix default network config of WZR-HP-G300NH and CR3000Jo-Philipp Wich2016-07-201-2/+2
| | | | | | | | | | | The network defaults for the WZR-HP-G300NH and CR3000 models wrongly set the lan interface to a vlan tagged device while the switch was set up in untagged mode, leading to broken lan side ethernet connectivity by default. Fix the issue by emitting untagged interfaces, consistent with the switch setting on the device. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ar71xx: add support for gl-ar300mZhao Gang2016-07-2011-0/+217
| | | | | | | This add initial support for gl-ar300m router. Product page: http://www.gl-inet.com/ar300m/ Signed-off-by: Zhao Gang <gang.zhao.42@gmail.com>
* x86/generic: enable CONFIG_SATA_VIAFlorian Klink2016-07-191-0/+1
| | | | This enables support for VIA SATA.
* kernel: backport cosmetic UBIFS patches to kernel 4.1Daniel Golle2016-07-192-0/+102
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: backport yet another cosmetic ubifs patchDaniel Golle2016-07-191-0/+65
| | | | | | | | | | On UBI-enabled devices using squashfs as their rootfs an error message like UBIFS error (ubi0:3 pid 1): init_constants_early: too few LEBs (12), min. is 17 was thrown while probe-mounting the rootfs which later on succeeds and thus shouldn't alert the user. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: add kmod-ledtrig-timer to default package setDaniel Golle2016-07-181-3/+3
| | | | | | It is needed for preinit/failsafe indications to work. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: use DHCP by default on ethernet interface (lan)Daniel Golle2016-07-181-1/+1
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: sync kernel config-4.1 with changes made to config-4.4Daniel Golle2016-07-181-7/+1
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: add DTB for Akitio devices in patches-4.1Daniel Golle2016-07-181-2/+3
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: revert to kernel 4.1Daniel Golle2016-07-1821-2/+899
| | | | | | | | | A bug resulting in the NAND not being detected by newer kernels has kept me sleepless for months and yet I wasn't able to discover the cause. Bring back patches and files for 4.1 until this has been resolved. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* ipq806x: add patch for kernel compiler flagsJosh Bendavid2016-07-171-0/+13
| | | | Signed-off-by: Josh Bendavid <joshbendavid@gmail.com>
* ipq806x: change compiler flags to arm cortex-a15Josh Bendavid2016-07-171-1/+1
| | | | Signed-off-by: Josh Bendavid <joshbendavid@gmail.com>
* ramips: mt7621: add missing kernel symbolJo-Philipp Wich2016-07-161-0/+1
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ar71xx: add software transmit timestamp supportStephen Walker2016-07-152-0/+3
| | | | | | Add software transmit timestamp and ethtool (-T) timestamp support Signed-off-by: Stephen Walker <stephendwalker+github@gmail.com>
* ar71xx: define wmac reset function for QCA955xFelix Fietkau2016-07-152-3/+85
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: clean up redundant code related to DEVICE_DTSFelix Fietkau2016-07-1510-20/+6
| | | | | | | | It is used by a core build template, so the variable should be initialized and added to DEVICE_VARS in the core. Same for DEVICE_DTS_DIR Signed-off-by: Felix Fietkau <nbd@nbd.name>
* bcm53xx: image: don't suppress "mv" command echoingRafał Miłecki2016-07-141-1/+1
| | | | | | | | We call all commands normally, with standard echoing. It's useful for debugging with V=s. Don't make lzma compression an exception, it's a bit confusing this way. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* bcm53xx: simplify image building codeFelix Fietkau2016-07-142-40/+15
| | | | | | Use append-ubi template for ubinize, remove mkfs override Signed-off-by: Felix Fietkau <nbd@nbd.name>
* bcm53xx: remove duplicate template data from the image makefileFelix Fietkau2016-07-141-8/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image: clean up UBI related device variable definitionsFelix Fietkau2016-07-143-6/+5
| | | | | | | Move UBI related variable export to core, since the variables are used by a core Build/ template Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ipq806x: remove obsolete UBINIZE_OPTS variablesFelix Fietkau2016-07-141-1/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: add support for jjPlus JWAP230Piotr Dymacz2016-07-1310-0/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | jjPlus JWAP230 is based on Qualcomm Atheros QCA9558 + QCA8337. Short specification: - 720/600/200 MHz (CPU/DDR/AHB) - 2x 10/100/1000 Mbps Ethernet - 128 MB of RAM (DDR2) - 16 MB of FLASH - 3T3R 2.4 GHz with external PA (SST12LP15A), up to 28 dBm - 3x MMCX connectors - power input: 802.3at PoE or wide range DC (36-57 V) - optional 802.3af PSE - 1x mini-PCIe connector with PCIe, USB buses and SIM slot - 1x mini-PCIe connector with PCIe bus - 1x USB type-A connector - 6x LED, 1x button (hardware reset) - RS232 (MAX3223) and (E)JTAG headers Default configuration: - WAN on eth1 (RJ45 near LEDs with PoE input) - LAN on eth0 (RJ45 near DC jack) - left top LED set to be status LED - all LEDs configurable form user space Flash instruction (do it under U-Boot, using RS232): 1. tftp 0x80060000 lede-ar71xx-generic-jwap230-squashfs-sysupgrade.bin 2. erase 0x9f050000 +$filesize 3. cp.b $fileaddr 0x9f050000 $filesize 4. setenv bootcmd "bootm 0x9f050000" 5. saveenv && reset Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* kernel/mtd: add support for EON EN25Q128Piotr Dymacz2016-07-131-0/+10
| | | | Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: add support for Wallys DR531Piotr Dymacz2016-07-1311-0/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wallys DR531 is based on Qualcomm Atheros QCA9531 v2. Short specification: - 550/400/200 MHz (CPU/DDR/AHB) - 2x 10/100 Mbps Ethernet - 64 MB of RAM (DDR2) - 8 MB of FLASH - 2T2R 2.4 GHz with external PA (SE2576L), up to 30 dBm - 2x MMCX connectors - mini-PCIe connector with PCIe/USB buses and SIM slot - 7x LED, 1x button, 1x optional buzzer - UART, (E)JTAG and LED headers Default configuration: - WAN on eth1 (RJ45 near DC jack) - LAN on eth0 (RJ45 near button) - S4 LED set to be status LED - all LEDs configurable form user space - button configured for reset Flash instruction (do it under U-Boot, using UART): 1. tftp 0x80060000 lede-ar71xx-generic-dr531-squashfs-sysupgrade.bin 2. erase 0x9f050000 +$filesize 3. cp.b $fileaddr 0x9f050000 $filesize 4. setenv bootcmd "bootm 0x9f050000" 5. saveenv && reset Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: fix build error when initramfs is disabledFelix Fietkau2016-07-131-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: update kernel 4.4 to version 4.4.15Hauke Mehrtens2016-07-1319-208/+62
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ar71xx: fix a legacy image porting issueFelix Fietkau2016-07-132-8/+1
| | | | | | | Get rid of remaining IMAGE_PROFILE references and move template calls the right place Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x64: add legacy IDE, fix VirtualBox bug #84 and Fujitsu Futro S550-2Lucian Cristian2016-07-121-1/+3
| | | | Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* kernel: Add upstream fix for module loadingAlexey Brodkin2016-07-111-0/+46
| | | | | | | | | | Instead of disabling unwinding entirely this upstream patch just disables generation of async unwind tables. Once the patch in question lands in stable 4.4 tree this change essentially must be removed (otherwise patch application will fail). Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* Revert "linux: arc: disable kernel unwinding to fix modules loading"Alexey Brodkin2016-07-112-2/+5
| | | | | | | | | | This reverts commit acd41539d630688e9891003c9b51cace3e113316. There's a fix in upstream that will at some point land in 4.4 stable as well so we'll get rid of this hack and with the next commit will apply upstream fix. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* linux/archs38: Add wireless AP capabilities similarly to axs101Alexey Brodkin2016-07-112-2/+2
| | | | | | | Now when ath9k-htc USB dongle works with axs103 in OHCI mode quite fine adding corresponding features to default configuration. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* ar71xx: Fix PowerCloud CAP324 No Cloud titleDaniel Dickinson2016-07-111-1/+1
| | | | | | CAP324 nocloud was missing (No-Cloud) in description Signed-off-by: Daniel Dickinson <lede@daniel.thecshore.com>
* ramips: modify audio kernel module and add dma optionsMichael Lee2016-07-111-2/+42
| | | | | | | | | * add gdma and hsdma kernel modules * i2s support all ramips targets except rt288x * i2s need gdma to transfer data * add simple audio kernel module. it support device tree binding Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: Add support for D-Link DCH-M225Michael Lee2016-07-119-0/+233
| | | | | | | | D-Link DCH-M225 is based on Mediatek MT7620 with 64MB ram, 8MB flash, 3.5mm audio out support. but no ethernet and usb ports. so you must default enable wifi. Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: add MT7620 pinmux bits for mdio as refclkMichael Lee2016-07-111-0/+42
| | | | | | The MT7620 uses a 2 bit wide configuration of the mdio. Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: enable MTD_SPLIT_SEAMA_FW for mt7620Michael Lee2016-07-111-0/+1
| | | | Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: Add support for the NixCore X1 ModuleL. D. Pinney2016-07-118-0/+270
| | | | | | | | | The NixCore X1 is a Ralink/MediaTek rt5350 WiFi Module. http://nixcores.com/ Signed-off-by: L. D. Pinney <ldpinney@gmail.com> Acked-by: Drew Gaylo <drew@nixcores.com>
* ramips: fix partition size for RT5350F-OLINUXINORene Treffer2016-07-112-2/+2
| | | | | | | | | The partition size is wrong, leading to out-of-disk-space even on no/moderate use. Upstream fix from vendor: https://github.com/OLIMEX/openwrt/commit/2f25eb57edc79d33c4810d185c193be4293c434a Suggested fix for openwrt: https://dev.openwrt.org/ticket/20321 Signed-off-by: Rene Treffer <treffer@measite.de>
* ramips: fix usb phy initialisationJohn Crispin2016-07-112-1/+36
| | | | | | this broke usb20 device detection. Signed-off-by: John Crispin <john@phrozen.org>
* ar71xx: base-files: remove the now unneeded 09_fix-seama-headerYousong Zhou2016-07-111-21/+0
| | | | | | | | | | | | It was intended as a workaround when jffs2 eof mark was included in the checksum calculation in seama header. When qihoo-c301 support was introduced the board name was not inserted into the case list (because I was not aware of it's existence), but the issue was fixed by excluding the jffs2 marker as part of the checksum data Now we are at it, drop it. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* ar71xx: image: fix typo in MTDPARTS def for qihoo-c301Yousong Zhou2016-07-111-1/+1
| | | | | Reported-by: Syrone Wong <wong.syrone@gmail.com> Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* ar71xx: image: seama: fix making factory and sysupgrade imageYousong Zhou2016-07-111-11/+12
| | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* brcm2708: update linux 4.4 patches to latest versionÁlvaro Fernández Rojas2016-07-09405-776/+4719
| | | | | | | As usual these patches were extracted and rebased from the raspberry pi repo: https://github.com/raspberrypi/linux/tree/rpi-4.4.y Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm63xx: fix image generation with offsets/blocksizes != 64KJonas Gorski2016-07-091-2/+2
| | | | | | | | | | | Defer the CFE_EXTRAs evaluation to allow overriden BLOCK_SIZE and IMAGE_OFFSET take effect, and replace the unused IMAGE_SIZE with IMAGE_OFFSET in DEVICE_VARS. This fixes image generation for targets using different offsets or blocksizes. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: fix CVG834G compatible stringJonas Gorski2016-07-091-1/+1
| | | | | | | The CVG834G claimed to be a BCM6348, but is actually BCM3368. Since we don't test against it, this was harmless. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* bcm53xx: fix kernel config after USB2 PHY driver backportFelix Fietkau2016-07-081-4/+5
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* bcm53xx: use upstream fix simplifying USB power GPIO usageRafał Miłecki2016-07-073-27/+37
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* bcm53xx: backport driver for Northstar's USB 2.0 PHYRafał Miłecki2016-07-072-0/+302
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>