aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq
Commit message (Collapse)AuthorAgeFilesLines
* CC: generic: bump kernel to 3.18.44Zoltan HERPAI2016-10-251-1/+1
| | | | | | | | | Patch 610- is updated as check_entry helper was killed in 3.18.37 Fixes CVE-2016-5195 (dirtycow) Compile-tested on ar71xx, mxs, sunxi, imx6 Runtime-tested on ar71xx (PB42) Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* CC: kernel: update kernel 3.18 to version 3.18.36Hauke Mehrtens2016-09-291-1/+1
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* lantiq: Fix LED handling.John Crispin2016-04-261-24/+32
| | | | | | | | | | | Backport of r47914 to CC. Without this patch the TDW8970 is left without any status LED at all, even during preinit and failsafe. Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49230 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Fix ath9k LED for TDW8970.John Crispin2016-04-263-1/+22
| | | | | | | | | | Backport of r47911, r47912, r47969 to CC. All other required patches have already been backported in r48822. Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49229 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: kernel: update kernel 3.18 to version 3.18.27Hauke Mehrtens2016-03-032-2/+2
| | | | | | | | | | | | | Changelog: * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.24 * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.25 * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.26 * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.27 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48896 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: disable SW_PORTMAP usage in the ethernet driverJohn Crispin2016-01-031-1/+1
| | | | | | | | | using the special tag in this way lead to port mirroring for certain types of traffic. fallback to using th PMAC_EWAN register for the wan portmap. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48086 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: sync spi-xway driver with trunk r47770Felix Fietkau2015-12-051-12/+40
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47792 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: several ARV7519RW22 fixesJohn Crispin2015-10-153-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> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47190 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: kernel: update 3.18 to 3.18.21Jonas Gorski2015-09-111-1/+1
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.21 Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46847 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: kernel: update 3.18 to 3.18.18Hauke Mehrtens2015-07-122-2/+2
| | | | | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.18 Backport of r46299, r46303 and r46308. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46309 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: kernel: update 3.18 to 3.18.17Jonas Gorski2015-07-011-1/+1
| | | | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.17 Backport of r46150. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46155 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.18 to 3.18.16Jonas Gorski2015-06-174-10/+8
| | | | | | | | | | | | | Changelogs: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.15 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.16 Signed-off-by: Jonas Gorski <jogo@openwrt.org> Backport of r46011. git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46015 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Backport gpio-stp-xway to fix the highest bits of the PHY LEDsJohn Crispin2015-06-051-0/+25
| | | | | | This fixes the LAN2 LED on Arcadyan VGV7510KW22. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45899 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Add support for Arcadyan VGV7510KW22 (known as o2 Box 6431)John Crispin2015-06-058-0/+388
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45897 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Make the CRC32 poly value configurable per deviceJohn Crispin2015-06-031-5/+5
| | | | | | | | | This also adds the old hardcoded value to the VGV7519BRN profile to make sure that images are still generated correctly. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45882 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix VG3503J rootfs offsetJonas Gorski2015-06-011-1/+1
| | | | | | | | | | In r44391 the kernel partion size was increased to allow larger kernels, but the rootfs partition offset was missed. Fix this by setting the rootfs offset to the expected value. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45868 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix imagebuilderJohn Crispin2015-05-301-4/+14
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45851 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Fix initialization of the PCI IRQs when PCIe is also enabledJohn Crispin2015-05-231-18/+19
| | | | | | | | | | There are already ifx_pcie_bios_{map_irq,plat_dev_init} hooks defined in ifxmips_pcie.c. Instead of defining a new hook we simply re-use the existing ones (this is basically what the lantiq BSP code does). Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45718 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Fix PCIe bus when PCI is also enabled.John Crispin2015-05-231-10/+10
| | | | | | | | | | | The PCIe bus seems to require a hack/workaround when PCI is enabled as well. Unfortunately this is guarded by an CONFIG_IFX_PCI ifdef, which is only defined in lantiq's BSP code. The config symbol for the upstream lantiq PCI driver is CONFIG_PCI_LANTIQ. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45717 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.18 to 3.18.14Jonas Gorski2015-05-213-7/+7
| | | | | | | | | | | | | | Changelogs: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.12 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.13 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.14 Build tested on brcm63xx and ipq806x, runtested on brcm63xx. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45711 3c298f89-4303-0410-b956-a3cf2f4a3e73
* The ability to read MAC addresses from MTD is useful for other targets besidesImre Kaloz2015-05-031-76/+0
| | | | | | | | | | ramips and lantiq as well. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45596 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: remove arphaned folderJohn Crispin2015-03-273-56/+0
| | | | | | | | the new buildbot was picking this up as a valid target. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45068 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq/xrx200: cleanup default packagesJohn Crispin2015-03-176-52/+21
| | | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44867 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: make xrx200 targets use the upstream dwc2 driverJohn Crispin2015-03-175-9/+9
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44857 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: drop 3.14 supportJohn Crispin2015-03-1647-17512/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44812 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add a better fix to strip FCS from ethernet packets on XRX200Felix Fietkau2015-03-151-0/+25
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44771 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: enable atm-esi by default for xrx200Felix Fietkau2015-03-151-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44769 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kenrel: refresh patchesJohn Crispin2015-03-119-268/+268
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44678 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: make the new dwc2 support only work for vr9John Crispin2015-03-111-4/+5
| | | | | | | | danube needs to be added Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44677 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Convert Zyxel P-2812HNU-FX and TP-Link TD-W8970 to support dwc2John Crispin2015-03-113-1/+19
| | | | | | | | | | | | | | Here the device tree entry for ifxhcd is listed as compatible with one supported in dwc2 (after patching the dwc driver appropriately). A second entry is added to support the second core of the hcd. This entry is listed to be compatible with only dwc2. Done this way there should be backwards support for both hcd drivers (ltq-hcd and dwc2) Signed-off-by: Antti Seppälä <a.seppala@gmail.com> Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44676 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Use platform endianness when accessing dwc2 registersJohn Crispin2015-03-111-0/+3184
| | | | | | | | | | | | | | | | | | | | This patch switches calls to readl/writel to their dwc2_readl/dwc2_writel equivalents which preserve platform endianness. This patch is necessary to access dwc2 registers correctly on big endian systems such as the mips based SoCs made by Lantiq. Then dwc2 can be used to replace ifx-hcd driver for Lantiq platforms found e.g. in OpenWrt. The patch was autogenerated with the following commands: $EDITOR core.h sed -i "s/\<readl\>/dwc2_readl/g" *.c hcd.h hw.h sed -i "s/\<writel\>/dwc2_writel/g" *.c hcd.h hw.h Signed-off-by: Antti Seppälä <a.seppala@gmail.com> Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44675 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Add sensible hw-defaults for dwc2John Crispin2015-03-111-0/+45
| | | | | | | | | | | Lantiq driver does not work with autodetected fifo sizes so use ones from original ltq-hcd driver in dwc2. Other values can be autodetected. Signed-off-by: Antti Seppälä <a.seppala@gmail.com> Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44674 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Configure gpio power output pin when initializing dwc2 usbJohn Crispin2015-03-111-0/+35
| | | | | | | | | Port gpio code from original ltq-hcd driver to dwc2. Signed-off-by: Antti Seppälä <a.seppala@gmail.com> Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44673 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Add usb initialization bits from ltq-hcd to platform initJohn Crispin2015-03-111-0/+95
| | | | | | | | | | | | | | Add VR9 specific usb initialization bits from ltq-hcd to platform initialization. This patch is more of a proof-of-concept than production quality since the initialization registers are different on other lantiq platforms. Signed-off-by: Antti Seppälä <a.seppala@gmail.com> Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44672 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: move KERNFS to generic configJohn Crispin2015-03-062-2/+0
| | | | | | | | KERNFS symbol is selected by SYSFS, so place it in generic config. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44615 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLEDJohn Crispin2015-03-062-2/+0
| | | | | | | | | Disable ARCH_NEEDS_CPU_IDLE_COUPLED by-default in generic config, since only one platfrom (omap) needs them. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44614 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: move MTD_SPLIT_SUPPORT to generic configJohn Crispin2015-03-062-2/+0
| | | | | | | | | | | CONFIG_MTD_SPLIT_SUPPORT symbol default value is 'y' and many platform specific configs explicitly enables it, while no one platform disables this symbol. So place it in generic config and remove from platform specific configs. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44612 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: remove GENERIC_NET_UTILS from platform configsJohn Crispin2015-03-062-2/+0
| | | | | | | | | | CONFIG_GENERIC_NET_UTILS is selected by CONFIG_NET and already enabled in generic config, so we don't need this symbol in platform specific configurations. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44611 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: move CONFIG_MIPS_O32_FP64_SUPPORT to generic configsJonas Gorski2015-03-013-3/+0
| | | | | | | | | Most MIPS targets have it disabled, so move the symbol to the generic configs to keep target configs small. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44583 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: disable buffered writes on Intel command set flashJohn Crispin2015-02-142-0/+22
| | | | | | | | | | | | Some Lantiq SoCs are not able to use buffered writes properly with Intel command set flash due to the way NOR addresses on EBU are manipulated. This patch disables buffered writes on those devices. The only device affected at the moment is ARV4510PW, others use AMD/Fujitsu command set. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44451 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Fix flash for targets with NO_XIPJohn Crispin2015-02-142-2/+2
| | | | | | | | | For targets with NO_XIP ltq_mtd->map[i].phys equals -1 and devm_ioremap fails. Fix this by using pdev->resource[i].start instead. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44450 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix DGN3500 root deviceJohn Crispin2015-02-131-1/+1
| | | | | | Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44428 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: make m25p80 work againJohn Crispin2015-02-122-2/+12
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44421 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix mac addr assignment inside lantiq_etopJohn Crispin2015-02-121-6/+6
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44420 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: PCI should be enabled on vrx200John Crispin2015-02-121-1/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44419 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix VG3503J partition table for newer kernelsJohn Crispin2015-02-112-3/+3
| | | | | | | | the kernel has increased and does not fit into the 1,5MB anymore. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44391 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: td-w8970: fix failsafe modeJohn Crispin2015-02-091-0/+18
| | | | | | | | Fix failsafe mode for TD-W8970, register interface for preinit. Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44353 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: td-w8970: fix reset buttonJohn Crispin2015-02-091-2/+2
| | | | | | | | For TP-LINK TD-W8970 button should work as "reset", not "BTN_1". Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44352 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add 3.18 supportJohn Crispin2015-02-0949-349/+16771
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44348 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix patches after 3.14.32 bumpLuka Perkov2015-02-0810-65/+49
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44320 3c298f89-4303-0410-b956-a3cf2f4a3e73