aboutsummaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* lantiq: activate spi-xway on TDW89X0John Crispin2015-10-071-59/+47
| | | | | | | | use the hardware spi core in favour of spi-gpio. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47159
* lantiq: spi driver fixJohn Crispin2015-10-071-14/+28
| | | | | | | | adds a missing wait busy. based on the UGW patch 2060.. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47158
* omap24xx: Add missing kconfig optionsMichael Büsch2015-10-071-0/+3
| | | | SVN-Revision: 47155
* omap24xx: KERNEL_PATCHVER:=4.1Michael Büsch2015-10-071-1/+1
| | | | SVN-Revision: 47154
* omap24xx: Remove 4.0Michael Büsch2015-10-071-0/+0
| | | | SVN-Revision: 47153
* lantiq: bugfix luci lantiq_dsl statusJohn Crispin2015-10-071-25/+25
| | | | | | | | Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com> Signed-off-by: Helge Mader <hmader@tdt.de> Reported-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47152
* ramips: fix /target/linux/ramips/dts/HC5XXX.dtsiJohn Crispin2015-10-071-2/+0
| | | | | | | | dtb complained about those lines Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47151
* ramips: enable mt76 by default for the mt7620 subtarget (for devices with ↵Felix Fietkau2015-10-062-3/+2
| | | | | | | | mt7620 + mt7612) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47146
* ramips: improve read performance of the m25p80 chunked io patchFelix Fietkau2015-10-051-7/+58
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47137
* lantiq: several ARV7519RW22 fixesJohn Crispin2015-10-053-9/+21
| | | | | | | | | | | | | | Fixes ARV7519RW22 flash register (only 1 flash). Power LED is green, not red. Rename message LEDs to internet. Add LEDs configuration (lan, wan, power). Enable switch VLANs. Fix secondary USB. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: José Vázquez Fernández <ppvazquezfer@gmail.com> SVN-Revision: 47132
* lantiq: make v4.1 the default kernelJohn Crispin2015-10-051-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47131
* lantiq: Add target TP-Link TD-W8980John Crispin2015-10-056-251/+295
| | | | | | | | | The device is similar to the TD-W8970, beside a different Atheros 2.4 GHz wireless chip and the additional, PCI connected, WAVE300 5 GHz wireless. Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 47130
* lantiq: fix ath_pci_fixup hang on bridged devicesJohn Crispin2015-10-052-2/+20
| | | | | | | | | | | | | | | | Port of r41856. In contrast to the brcm63xx target, it isn't sufficient to enable/disable the bridge. The device needs to be enabled/disabled to fix the hang. The bridge will be automatically enabled by the time the connected device is enabled. Fixes boot on TD-W8980. Signed-off-by: Mathias Kresin <openwrt@kresin.me> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 47129
* lantiq: Change the data-type of mac address in ETOP driverJohn Crispin2015-10-052-10/+1
| | | | | | | | This adds the changes from r46219 to the linux 4.1 patches as well. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 47128
* lantiq: bugfix uninitialized variablesJohn Crispin2015-10-051-0/+2
| | | | | | | Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com> Reported-by: Sylwester Petela <sscapi@gmail.com> SVN-Revision: 47127
* brcm2708: keep boot partition mounted to allow users to change config.txtJohn Crispin2015-10-052-6/+7
| | | | | | | | | This way it's easier to configure device tree overlays, customize other parameters... Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 47126
* brcm2708: add support for device tree overlaysJohn Crispin2015-10-052-0/+16
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 47125
* brcm2708: switch device tree compilation to linuxJohn Crispin2015-10-052-7/+3
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 47124
* brcm2708: fix kmod-sound-soc-bcm2708-i2s configJohn Crispin2015-10-051-0/+2
| | | | | | | | | | | Right now, selecting kmod-sound-soc-bcm2708-i2s causes build errors due to missing configs. kmod-regmap enables I2C and SPI, causing build errors due to depending variables not defined. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 47123
* ramips: improve systick timerJohn Crispin2015-10-051-6/+145
| | | | | | | | | | | | when sleep mode is disable use MIPS as clocksource and clockevent instead of systick. because MIPS timer has higher resolution 5ns less than systick 20us and larger counter bits 32 > 16. clean interrupt by write compare register at isr. fix typo cause sleep mode not enable. Signed-off-by: Michael Lee <igvtee@gmail.com> SVN-Revision: 47122
* ramips: fix use remove_irq to release irqaction resourceJohn Crispin2015-10-051-1/+1
| | | | | | Signed-off-by: Michael Lee <igvtee@gmail.com> SVN-Revision: 47121
* ramips: add support for 16MB VoCoreJohn Crispin2015-10-054-35/+93
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 47120
* ramips: fix size-cells for spi nodesJohn Crispin2015-10-056-6/+6
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 47119
* ramips: Ralink RT3883 RGMII pinmux fix.John Crispin2015-10-051-2/+2
| | | | | | | | | Due to datasheet of rt3883 SoC rgmii1 port handles pins 84-95 and rgmii2 port handles pins 72-83. When this function ports gets added to rt3883_pinmux_data there's wrong pinmux bits set (RT3883_GPIO_MODE_GE1 manages 84-95 pins and RT3883_GPIO_MODE_GE2 manages 72-83). So when enabling rgmii2 as GPIO driver confuses hardware and nothing work, neither rgmii nor gpio. Also in '0030-pinctrl-ralink-add-pinctrl-driver.patch' typo in name of rgmii2 port. Signed-off-by: Nick Leiten <nickleiten@gmail.com> SVN-Revision: 47118
* ramips: Enable rx of 1536 bytes ethernet frames on MT7621John Crispin2015-10-051-4/+4
| | | | | | | | | | | The default switch frame size (with FCS + header) is 1536 bytes. But the GMAC only accepted frames up to 1522 bytes. Setting it to 1536 allows to receive ethernet frames using the full of MTU 1500 + an extra VLAN header + VLAN header added by the switch. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 47117
* ramips: Fix too small rx bufferJohn Crispin2015-10-051-4/+12
| | | | | | | | | | | | | | | | | | The driver assumes that the maximum received buffer for non-jumbo frames is 1536 bytes. But the allocation of the rx fragment doesn't reflect that. It currently allocates fragments which will only be large enough to be used as rx buffer with the size of 1534 bytes. This is problematic because the GMAC will now try to write to 2 bytes which don't belong to its receive buffer when a large enough ethernet frame is received. This may already be a problem on existing chips but will at least become a problem when the 1536 byte rx modus is enabled on MT7621a. It is required on this SoC to receive ethernet frames which use their full 1500 bytes MTU and a VLAN header next to the switch VLAN tag. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 47116
* ramips: Fix setting of rx buffer lengthJohn Crispin2015-10-052-2/+3
| | | | | | | | | | | | | | The length of the DMA rx buffer was always set to 0 because the function for extracting the length was used to calculate the value for setting it. Instead the macro has to be split in a get and set function similar to the TX_DMA_(GET_|)PLEN(0|1) macro. No problem was noticed on MT7621a before this was changed and thus maybe it was hidden by different problem which is not yet fixed. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 47115
* ramips: Allow to receive vlan over untag ports on MT7530John Crispin2015-10-051-3/+33
| | | | | | | | | | | | | | | | | | | | The MT7530 switch driver with enable_vlan set will automatically set all ports to the user port mode. The hardware will remove the incoming vlan tag on these ports and use it for its internal vlan. This is usually not wanted and makes it impossible to communicate via vlan over the switch in both directions. It is possible to configure a switch port to "transparent mode" when this port is only used as untag in the switch VLANs. This will disable the VLAN untagging of packets when they were received on this port. The tagging on "tag" ports based on the vlan id is still working. The transparent port mode cannot be used when a port is both used in a VLAN as "tag" and in another one as "untag" port. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 47114
* ramips: Add build files for HiWiFi HC5x61 modelsJohn Crispin2015-10-052-0/+53
| | | | | | | | | | | | | | HiWiFi HC5661/5761/5861 models are manufactured by http://www.hiwifi.com <http://www.hiwifi.com/>. These models have similar hardware specs(MT7620A + 128M DDR2 + 16M flash). This patch adds support for them. The original author is Justin Liu (rssnsj@gmail.com). I ported the patch to trunk and submitted it here with his approval. v3 fix 1: Spaces -> Tabs 2: Removed some packages Signed-off-by: Xiaoning Kang <kangxn@163.com> SVN-Revision: 47113
* ramips: Add DTS files for HiWiFi HC5x61 modelsJohn Crispin2015-10-054-0/+299
| | | | | | | | | | | | | | HiWiFi HC5661/5761/5861 models are manufactured by http://www.hiwifi.com. These models have similar hardware specs(MT7620A + 128M DDR2 + 16M flash). This patch adds support for them. The original author is Justin Liu (rssnsj@gmail.com). I ported the patch to trunk and submitted it here with his approval. v3 fix 1: Merged most stuff into dtsi file 2: Remove unnecessary empty lines. Signed-off-by: Xiaoning Kang <kangxn@163.com> SVN-Revision: 47112
* ramips: Add base-files for HiWiFi HC5x61 modelsJohn Crispin2015-10-055-10/+45
| | | | | | | | | | | | | | | HiWiFi HC5661/5761/5861 models are manufactured by http://www.hiwifi.com. These models have similar hardware specs(MT7620A + 128M DDR2 + 16M flash). This patch adds support for them. The original author is Justin Liu (rssnsj@gmail.com). I ported the patch to trunk and submitted it here with his approval. v3 fix 1: Fixed model order 2: Remove manufacturer name from model name 3: Use a hacky but prettier way to get mac address. Signed-off-by: Xiaoning Kang <kangxn@163.com> SVN-Revision: 47111
* ar71xx: Correct WeIO board nameJohn Crispin2015-10-051-1/+1
| | | | | | | | Trivial parch to correct WeIO board name in the system. Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com> SVN-Revision: 47110
* target/mpc85xx: check if 'generic' subtarget for image file ↵John Crispin2015-10-051-2/+5
| | | | | | | | | | | cuImage.tl-wdr4900-v1 Only add 'cuImage.tl-wdr4900-v1' to KERNEL_IMAGES if the selected subtarget is 'generic'. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> SVN-Revision: 47109
* ar71xx: rename firmware for Chinese version of TL-WR941ND v6Rafał Miłecki2015-10-051-2/+3
| | | | | | | | | | | | | It seems there are two *different* versions on TL-WR941ND v6: Chinese and European one. Currently supported by OpenWrt is Chinese one. Rename firmware to make it clear. For details see: http://wiki.openwrt.org/toh/tp-link/tl-wr941nd https://forum.openwrt.org/viewtopic.php?id=59295 Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47107
* lantiq: fix binutils 2.15.1 buildMatteo Croce2015-10-041-1/+1
| | | | SVN-Revision: 47105
* kernel: update 4.1 to 4.1.10Hauke Mehrtens2015-10-0440-135/+88
| | | | | | | | | | | | | | | | | | | Fixes a regression on spi flash devices (upstream commit 1583eaece6fa). Changelogs: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.7 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.8 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.9 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.10 096-ipv4-off-by-one-in-continuation-handling-in-proc-net.patch was applied upstream and dropped. Signed-off-by: Mathias Kresin <openwrt@kresin.me> [update from 4.1.9 to 4.1.10] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47104
* ralink: add irq to mt7628 gpio nodeJohn Crispin2015-10-011-0/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47076
* ralink: the mmc driver can now handle CD lines that are active lowJohn Crispin2015-10-011-4/+14
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47074
* ralink: speed selection was broken in spi-mt7621John Crispin2015-10-011-4/+5
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 47073
* uml: backport another upstream patch to fix compile errorsFelix Fietkau2015-09-282-1/+95
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47067
* uml: fix build with gcc 5Felix Fietkau2015-09-271-0/+44
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47062
* uml: update to linux 4.1Felix Fietkau2015-09-277-3977/+63
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47061
* brcm47xx: describe 300-fork_cacheflush.patch & 310-no_highpage.patchRafał Miłecki2015-09-272-0/+20
| | | | | | | | These were initially commited in r9285. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47058
* brcm47xx: describe 160-kmap_coherent.patchRafał Miłecki2015-09-271-0/+8
| | | | | | | | It was initially commited in r6642. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47057
* brcm47xx: describe 610-pci_ide_fix.patchRafał Miłecki2015-09-271-0/+27
| | | | | | | | It was initially commited in r20924. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47056
* bcm53xx: add early support for Linksys EA6300 V1Rafał Miłecki2015-09-263-0/+96
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47052
* kernel: crypto: fix ubsec_ssb.c compilation with 4.0+Rafał Miłecki2015-09-251-1/+1
| | | | | | | | | SSB_DEVTABLE_END was removed in 4.0 by upstream commit 673e2baaa6d9 ("treewide: Remove unnecessary SSB_DEVTABLE_END macro"). Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47047
* kernel: backport some SPI layer improvements from 4.1 to 3.18, significantly ↵Felix Fietkau2015-09-243-0/+314
| | | | | | | | improves flash speed on ramips Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47045
* kernel: remove old "rootfs" splitterRafał Miłecki2015-09-243-78/+1
| | | | | | | | | | | | | A year ago I made this old splitter obsolete (see r42828), it's time to completely remove it now. For all this time we got these warnings: "Dedicated partitioner didn't create "rootfs_data" partition, please fill a bug report!" and "Support for built-in "rootfs_data" splitter will be removed, please use CONFIG_MTD_SPLIT_SQUASHFS_ROOT" but I'm not aware of any bug reports related to that. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47040
* oxnas: add platform_pre_upgrade for sysupgradeRafał Miłecki2015-09-241-0/+4
| | | | | | | | | | | | | | | | | We're in process of cleaning nand_do_platform_check. Currently it leaves a special mark in /tmp/sysupgrade-nand-path triggering some diffent code path in nand_upgrade_stage1. This can be a bit confusing. The plan is to have the check function only check the image and nothing else. Then platform code (platform_pre_upgrade) should trigger NAND specific upgrade path. This is what this patch implements. This follows all other targets making it finally possible to change nand_do_platform_check. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47039