aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
Commit message (Collapse)AuthorAgeFilesLines
* kernel: unbreak the atm abiJohn Crispin2015-09-161-7/+7
| | | | | | | | | the lantiq dsl hack to struct atm_trafprm broke the ABI fix this by moving the variables to the end of the struct Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46964 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Fix pinmux functions for MT7621John Crispin2015-09-162-16/+16
| | | | | | | | | The pinctrl-rt2880 code doesn't support multiple functions with the same name. This will result in a incorrect pinmux configuration. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46963 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add UBNT airGateway Pro supportJohn Crispin2015-09-168-3/+88
| | | | | | | | This patch adds kernel and userspace support for the Ubiquiti Networks airGateway Pro. Signed-off-by: Matthew Reeve <mreeve at tenxnetworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46961 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add mt7621/3/8 support to the I2C driverJohn Crispin2015-09-161-9/+34
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46959 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix reported vendor nameJohn Crispin2015-09-161-0/+22
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46958 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add proper mt7688 detectionJohn Crispin2015-09-162-2/+116
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46957 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add speed and mode settings to spi-mt7621John Crispin2015-09-161-13/+178
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46956 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add get_direction() callback and irq support to gpio-mt7621John Crispin2015-09-161-12/+188
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46955 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: more m7628 pinmux fixesJohn Crispin2015-09-161-0/+131
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46954 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add mt7628 pwm driverJohn Crispin2015-09-161-0/+204
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46953 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: make pinctrl work on newer socsJohn Crispin2015-09-161-20/+27
| | | | | | | | newer socs have 2 mux registers Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46952 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: make the mt7628 spi driver work for both cs linesJohn Crispin2015-09-161-8/+7
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46951 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: make the early_printk code detect which uart is usedJohn Crispin2015-09-161-2/+27
| | | | | | | | only tested on mt7628 Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46950 3c298f89-4303-0410-b956-a3cf2f4a3e73
* omap24xx: remove obsolete kernel 3.3 patchesFelix Fietkau2015-09-1624-12809/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46947 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipq806x: add platform_pre_upgrade for sysupgradeRafał Miłecki2015-09-151-0/+11
| | | | | | | | | | | | | | | | We're in process of cleaning nand_do_platform_check. Currently is 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 ar71xx, lantiq and partially bcm53xx. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46945 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: add platform_pre_upgrade for sysupgradeRafał Miłecki2015-09-151-1/+11
| | | | | | | | | | | | | | | | We're in process of cleaning nand_do_platform_check. Currently is 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 ar71xx, lantiq and partially bcm53xx. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46944 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: update list on NAND devices in platform_pre_upgradeRafał Miłecki2015-09-151-1/+1
| | | | | | | | Meanwhile BTHOMEHUBV5A board was added. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46941 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add platform_pre_upgrade for sysupgradeJohn Crispin2015-09-151-0/+10
| | | | | | | | | | | | | | | | | | | | As explained in recent sysupgrade/nand.sh commits, current NAND sysupgrade is a bit misleading because of nand_do_platform_check behavior. It leaves a special mark in /tmp/sysupgrade-nand-path triggering some diffent code path in nand_upgrade_stage1. 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. Please note that because of current nand_upgrade_stage1 implementation this patch doesn't change any behaior yet. It only prepares lantiq target for changing nand_do_platform_check (it will be possible after preparing all other targets as well). Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46939 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add TP-LINK TL-WDR3320 v2 supportJohn Crispin2015-09-1410-1/+256
| | | | | | | | | | This patch adds support for TP-LINK TL-WDR3320 v2. This router uses a chinese version 2 firmware header,. Signed-off-by: Weijie Gao <hackpascal@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46934 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: extract ath10k wifi board.bin for the OpenMesh MR1750 boardJohn Crispin2015-09-141-0/+4
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46933 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: create profile and build image for the OpenMesh MR1750 boardJohn Crispin2015-09-142-2/+14
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46932 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: enable sysupgrade for the OpenMesh MR1750John Crispin2015-09-142-1/+8
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46929 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add user-space support for the OpenMesh MR1750 boardJohn Crispin2015-09-144-0/+13
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46927 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for the OpenMesh MR1750 boardJohn Crispin2015-09-143-0/+169
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46926 3c298f89-4303-0410-b956-a3cf2f4a3e73
* realview: create sd card image for qemuJohn Crispin2015-09-142-0/+32
| | | | | | | | | | | | | | | | | enables a real rootfs with custom size use qemu with: qemu-system-arm -M realview-pbx-a9 \ -kernel openwrt-realview-vmlinux.elf \ -nographic -m 1024M \ -sd openwrt-realview-sdcard.img \ --append "console=ttyAMA0 root=/dev/mmcblk0p1" modified script from brcm2708 target Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46924 3c298f89-4303-0410-b956-a3cf2f4a3e73
* realview: enable sd card supportJohn Crispin2015-09-141-0/+4
| | | | | | | | qemu can be run with -sd <imagename> Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46923 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: assign proper GPIO pin for Ubiquiti Nanostation modelsJohn Crispin2015-09-141-2/+2
| | | | | | | | | | | | | The GPIO pins for "POE passthrough" of Ubiquiti Nanostation models are the following: * Ubiquiti Nanostation M XM: Pin 8 * Ubiquiti Nanostation M XW: Pin 2 The previous definition of the pins was mixed up between XM and XW model. Signed-off-by: Lars Kruse <lists@sumpfralle.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46922 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Added WIZnet WizFi630A Platform based on Ralink RT5350John Crispin2015-09-147-1/+217
| | | | | | | | This patch is to add the WIZnet WizFi630A board as a new platform. The board is in mini pci express form factor. Signed-off-by: Tobias Welz <tw@wiznet.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46921 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for Planex DB-WRT01John Crispin2015-09-147-0/+111
| | | | | | | | | | This patch add support for Planex DB-WRT01. DANBOARD route on the MT7620A SoC with two Ethernet port and a 802.11n 2.4 GHz radio. DANBOARD is Cartoon character. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46918 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: get more status information from xDSLJohn Crispin2015-09-141-12/+400
| | | | | | | | | Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com> Signed-off-by: Helge Mader <hmader@tdt.de> Tested-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Tested-by: Andre Heider <a.heider@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46917 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Add AR9 compatibility bits to DWC2 driverJohn Crispin2015-09-142-4/+6
| | | | | | | | | | | | Add AR9 DTS definition to be recognized by the DWC2 driver. The same driver parameters can be mostly used except that some boards seem to erroneously report OTG HNP/SRP capability of the USB HCD. Forcing the HNP/SRP off allows these boards to work with the DWC2 as well. Signed-off-by: Antti Seppälä <a.seppala@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46915 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Introduce DWC2 compatible DTS definitions for AR9 USBJohn Crispin2015-09-141-1/+10
| | | | | | | | | | | | Since the AR9 USB is very similar to the VR9 USB it too can be used with the upstream DWC2 driver. Here are the DTS definitions which make it compatible with the DWC2 driver. Signed-off-by: Antti Seppälä <a.seppala@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46914 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Initialize USB on AR9 platformJohn Crispin2015-09-142-4/+6
| | | | | | | | | | Based on the ltq-hcd driver the AR9 USB can be initialized the same way as the VR9 platform. Use the same initialization bits for both platforms. Signed-off-by: Antti Seppälä <a.seppala@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46913 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix chunked-io support for big flash chips (#20504)Felix Fietkau2015-09-141-3/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46904 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix build of lzma-loader with binutils 2.25.1Hauke Mehrtens2015-09-121-1/+2
| | | | | | | | | | | | | | | | | To make the lzma-loader build with binutils 2.25.1 it is needed to remove the .MIPS.abiflags section otherwise I get the following compile error: mips-openwrt-linux-musl-objcopy -O binary -R .reginfo -R .note -R .comment -R .mdebug -S loader loader.bin mips-openwrt-linux-musl-objcopy: Warning: Writing section `.text' to huge (ie negative) file offset 0xffffffff80a00000. mips-openwrt-linux-musl-objcopy:loader.bin[.text]: File truncated This should close #20487. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46893 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add NAND flash chip description for Asus RT-AC87UHauke Mehrtens2015-09-124-3/+35
| | | | | | | | | This should fix #20492. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46892 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: enable external amplifier for Xiaomi MiWiFi MiniFelix Fietkau2015-09-121-0/+5
| | | | | | | | Attempt to boost the 2.4 GHz signal, currently very low. Signed-off-by: D. Andrei Măceș <dmaces@nd.edu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46891 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: reorder some arch patchesRafał Miłecki2015-09-118-18/+18
| | | | | | | | | | This moves arch patches affecting many DTS files. Thanks to this change we can put some ready-to-mainline patches at 300-319 and simplify backporting process. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46889 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add CONFIG_MIPS_CDMM config optionHauke Mehrtens2015-09-113-2/+1
| | | | | | | | | This driver was added in kernel 4.1. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46881 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: detect Netgear R6300 V1 & support reset buttonRafał Miłecki2015-09-111-6/+44
| | | | | | | | It's still far from complete support. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46880 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: Added missing symbols into 4.1 & 4.0 kernel default .configHauke Mehrtens2015-09-112-0/+7
| | | | | | | | | | | | | As requested here #20432 I've tried to fix the missing symbols from the specified default kernel config files. I ran into this problem trying to build an image for x86_64 target with a custom kernel configuration. Signed-off-by: Manganini Mirko <mmanganini@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46879 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: update to kernel 4.1Hauke Mehrtens2015-09-111-1/+1
| | | | | | | | | This makes bcm53xx use kernel 4.1 by default now. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46878 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: update to kernel 4.1Hauke Mehrtens2015-09-111-1/+1
| | | | | | | | | This makes bcm53xx use kernel 4.1 by default now. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46877 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: increase max image sizeHauke Mehrtens2015-09-111-0/+7
| | | | | | | | | | | | | | | | the trx utile uses a maximum image size of 7.2MB. There are brcm47xx devices even with serial flash with bigger flash chips, but OpenWrt was not able to create images for these devices. This patch provides an additional parameter which increases this limit to 32 MB. There is a warning in the trx utile code which suggests that bigger images could overwrite the nvram partition on some devices, but normally the program writing the image should make sure that it is safe to write it to the flash. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46872 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: break long lines in image MakefileHauke Mehrtens2015-09-111-7/+18
| | | | | | | | | | This patch changes nothing on the behaviour, it just breaks long lines with bin/trx to make it easier to add additional parameters. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46871 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm2708: remove linux 3.18 supportFelix Fietkau2015-09-11116-310327/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46870 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Use the BAR0 base address in the ath PCI fixup codeFelix Fietkau2015-09-112-8/+8
| | | | | | | | | | | Fixes support for AR9287 on TP-Link TD-W8980 and possibly other devices which have an ath wifi chip at a PCI address other than 0xb8000000 (TD-W8980 for example has it's wifi chip at 0xbc000000). Signed-off-by: Geoffrey McRae <geoff@spacevs.com> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46869 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvsw61xx: match swconfig function namesFelix Fietkau2015-09-111-4/+4
| | | | | | Signed-off-by: Claudio Leite <leitec@staticky.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46865 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvsw61xx: use standard swconfig get_port_linkFelix Fietkau2015-09-111-76/+18
| | | | | | | | | The previous "link" and "status" functions were non-standard, and thus less useful for parsing. Signed-off-by: Claudio Leite <leitec@staticky.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46864 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Restore buildability of the AP121 targetFelix Fietkau2015-09-111-2/+4
| | | | | | | | | Increase space for kernel and also introduce a 8M flash target into the Makefile. Signed-off-by: Attila Lendvai <attila@lendvai.name> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46862 3c298f89-4303-0410-b956-a3cf2f4a3e73