aboutsummaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* bcm53xx: backport BCM5301x patches from 2016-07-06Rafał Miłecki2016-07-077-46/+287
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* ramips: fix build error in ubnt-erx initramfs factory imageFelix Fietkau2016-07-062-4/+5
| | | | | | | Build initramfs kernel image, but skip factory image if initramfs size is too big. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* usb: Remove annoying warning about bogus URBAlexey Brodkin2016-07-051-0/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When USB Wi-Fi dongle based on Atheros AR9271 is connected to OHCI (USB 1.1) controller following warnings flood debug console: ------------------------>8--------------------------- usb 1-1: new full-speed USB device number 2 using ohci-platform usb 1-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested usb 1-1: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size: 51008 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb_submit_urb+0x162/0x404 usb 1-1: BOGUS urb xfer, pipe 1 != type 3 Modules linked in: CPU: 0 PID: 4 Comm: kworker/0:0 Not tainted 4.6.3 #10 Workqueue: events request_firmware_work_func Stack Trace: arc_unwind_core.constprop.1+0x94/0x10c ---[ end trace 2249b79eac9991d1 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb_submit_urb+0x162/0x404 usb 1-1: BOGUS urb xfer, pipe 1 != type 3 Modules linked in: CPU: 0 PID: 4 Comm: kworker/0:0 Tainted: G W 4.6.3 #10 Workqueue: events request_firmware_work_func Stack Trace: arc_unwind_core.constprop.1+0x94/0x10c ---[ end trace 2249b79eac9991d2 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4 at drivers/usb/core/urb.c:450 usb_submit_urb+0x162/0x404 usb 1-1: BOGUS urb xfer, pipe 1 != type 3 Modules linked in: CPU: 0 PID: 4 Comm: kworker/0:0 Tainted: G W 4.6.3 #10 Workqueue: events request_firmware_work_func Stack Trace: arc_unwind_core.constprop.1+0x94/0x10c ---[ end trace 2249b79eac9991d3 ]--- ... ------------------------>8--------------------------- With removed warning Wi-Fi dongle works properly. Even though this is not the best solution it gets us a working Wireless AP. Anyways new discussion was started in linux-usb mailing list to find a proper solution instead of that hack. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* linux/archs38: Disable USB 2.0Alexey Brodkin2016-07-052-2/+2
| | | | | | | | | As of today USB 2.0 (AKA EHCI) doesn't work on axs103 board and so there's no reason to build corresponding software for it. Once USB 2.0 gets fixed on axs103 thi patch might be reverted. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* lantiq: mac address setting on BTHOMEHUBV3ABen Mulvihill2016-07-051-2/+1
| | | | | | | | | | Rename uboot environment partition on BT Home Hub 3A so that mac address setting works correctly. Also, the mac address field in the ath9k calibration data is not used, and should not be referenced in the dts. Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
* tools: add kernel2minor utility for Mikrotik devicesSergey Sergeev2016-07-052-2/+5
| | | | | | | | This patch adds support of Mikrotik yaffs2 filesystem image for kernel file and tools/kernel2minor package. We neede this to boot kernel through RouterBoot on new Mikrotik NOR flash devices. Signed-off-by: Sergey Sergeev <adron@yapic.net>
* ramips: fix buffalo wmr-300 lan portJohn Crispin2016-07-051-2/+4
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ar71xx: fix nand device profileJohn Crispin2016-07-054-19/+19
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ramips: fix MT7621 gsw handlingJohn Crispin2016-07-051-0/+31
| | | | | | based on https://forum.openwrt.org/viewtopic.php?pid=323671#p323671 Signed-off-by: John Crispin <john@phrozen.org>
* ramips: fix mt7621 SoC detectionJohn Crispin2016-07-051-0/+11
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* bcm53xx: calculate Seama MD5 using content of kernel partitionRafał Miłecki2016-07-041-1/+1
| | | | | | | We don't want checksum to cover any part of UBI as even its part with SquashFS may be changed due to e.g. flash wearing. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* Revert "bcm53xx: use uncompressed zImages"Rafał Miłecki2016-07-041-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit b3be33f135f447d56ef9a5461e7e675d5cc35730. CFE is known to fail in some non-standard cases, e.g. when using kernel or format different that what was tested by Broadcom. This kernel change triggered some problem with booting OpenWrt kernel stored in Seama. As long as Seama checksum was covering enough data, it was working fine. We need to change it however, because calculating MD5 over part of UBI containing SquashFS is unsafe. UBI may move PEBs depending on flash wearing level which would break CFE booting the image. For some reason this kernel change was breaking CFE. Calculating MD5 over 0x47ffc0 B data or less (there is 0x40 B long header) was stopping booting process at: Starting program at 0x00008000 As our kernel is usually 0x3fffc0 B it was affected by this problem. Reverting this change fixes sysupgrade (which already uses kernel size for MD5 calculation) and will allow us to adjust "fixseama" command call on the first boot. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* ipq806x: enable ath10k firmware for 988x, 99x0 and 9984 by defaultFelix Fietkau2016-07-041-2/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: fix up switch settings for Sitecom WL-351 v1 002John Crispin2016-07-034-2/+93
| | | | | | | | | Pinmux for rgmii needs to be set to rgmii, not gpio. Hide the ESW switch on boot (using new rgmii esw devicetree attribute). Also add a Sitecom-specific profile, since the image needs to include the rtl8366 kernel driver. Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
* x86: enable kmod-igb on 64-bit by defaultFelix Fietkau2016-07-031-1/+1
| | | | | | It is used on APU2 devices Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86: stop relying on hexdump for image build signatureFelix Fietkau2016-07-031-1/+1
| | | | | | | Use perl to generate random number instead. See https://github.com/freifunk-gluon/gluon/issues/811 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* imx6: fix redundant PROFILES overrides in image makefileFelix Fietkau2016-07-021-2/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* imx6: fix build breakage introduced in 9e41c3f54e3cFelix Fietkau2016-07-021-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* imx6: fix image makefile indentation for Device/ sectionsFelix Fietkau2016-07-021-40/+40
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: fix build of kmod-udptunnel4 and kmod-udptunnel6Hauke Mehrtens2016-07-023-0/+33
| | | | | | | | | | The kernel config option CONFIG_NET_UDP_TUNNEL is not visible and can not directly be activated. When kmod-udptunnel4 or kmod-udptunnel6 are build these packages could be empty when no other kernel module selects CONFIG_NET_UDP_TUNNEL. Reported-by: Baptiste Jonglez <baptiste@bitsofnetworks.org> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ar71xx: spi-rb4xx fix.Sergey Sergeev2016-07-021-1/+1
| | | | | | | | In new kernels we should use clk_prepare_enable instead of clk_enable since clk_enable does not make proper initialization that leads to rise WARN_ON messages and not working spi bus on the device. Signed-off-by: Sergey Sergeev <adron@yapic.net>
* ar71xx: prevent spurious ethernet resets from dma hang check false positivesFelix Fietkau2016-07-022-6/+12
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: Fix ipv6 mc snooping if bridge has no ipv6 addressdaniel2016-06-301-0/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch is a backport for current LEDE 4.4 Kernels. It is already upstream, for linux-next and stable. The initial commit message is below: The bridge is falsly dropping ipv6 mulitcast packets if there is: 1. No ipv6 address assigned on the brigde. 2. No external mld querier present. 3. The internal querier enabled. When the bridge fails to build mld queries, because it has no ipv6 address, it slilently returns, but keeps the local querier enabled. This specific case causes confusing packet loss. Ipv6 multicast snooping can only work if: a) An external querier is present OR b) The bridge has an ipv6 address an is capable of sending own queries Otherwise it has to forward/flood the ipv6 multicast traffic, because snooping cannot work. This patch fixes the issue by adding a flag to the bridge struct that indicates that there is currently no ipv6 address assinged to the bridge and returns a false state for the local querier in __br_multicast_querier_exists(). Special thanks to Linus Lüssing. Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
* ar71xx: seama: fix making factory imagesYousong Zhou2016-06-303-58/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | rootfs part needs to be aligned to erase block size which is passed as the 6th argument to Image/Build/Seama and is now 65536 since commit commit 5119ee9 "ar71xx: fix bogus hardcoded kernel image size for Seama images (fixes #20585)", but $(($(6) - 64)) still assumes that the argument is a limit on kernel partition size, i.e. 1310720, so the generated factory image is wrong in that the kernel will fail to find the rootfs (FlySpray link at [1]) This patch will workaround it with the following steps 1. Calculate the required space for seama header and META data in step 5 2. Pre-padding 64 bytes to lzma-compressed loader 3. Generate correctly padded image-$(2).tmp 4. Strip out the padding 5. Seal it with seama utility While at it convert seama to new build method [1] FS#35 - mynet-n750 factory images don't find root partition, https://bugs.lede-project.org/index.php?do=details&task_id=35 Reported-by: Steven Haigh <netwiz@crc.id.au> Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* ar71xx: image: unify indentation with 2 whitespacesYousong Zhou2016-06-301-112/+112
| | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* ar71xx: image: remove duplicate IMAGES definitionYousong Zhou2016-06-301-1/+0
| | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* ar71xx: hiwifi-hc6361: move packages selection to generic.mkYousong Zhou2016-06-302-14/+9
| | | | | | | Remove kmod-crypto-deflate and kmod-ledtrig-gpio as the device works the same by default without them Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>