aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq
Commit message (Collapse)AuthorAgeFilesLines
* 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> SVN-Revision: 46941
* 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> SVN-Revision: 46939
* 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> SVN-Revision: 46917
* 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> SVN-Revision: 46915
* 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> SVN-Revision: 46914
* 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> SVN-Revision: 46913
* kernel: add CONFIG_MIPS_CDMM config optionHauke Mehrtens2015-09-111-1/+0
| | | | | | | | This driver was added in kernel 4.1. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46881
* 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> SVN-Revision: 46869
* kernel: update 3.18 to 3.18.21Jonas Gorski2015-09-022-4/+4
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.21 Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46768
* lantiq: remove dead EASY33016 image recipeJonas Gorski2015-08-301-35/+0
| | | | | | | | | | Support for lantiq_svip_be has been removed a while ago, so EASY33016 images weren't buildable anymore. Remove the recipes as well as gzip compressed kernel support, as EASY33016 was the last user of it. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46760
* kernel: update 4.1 to 4.1.6Jonas Gorski2015-08-231-3/+3
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.6 Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46713
* lantiq: Support newer versions of the PEF7071 ethernet PHYsJohn Crispin2015-08-172-2/+2
| | | | | | | | | | The BT Home Hub 5A uses three PEF7071 with PHY ID 0xd565a401. Daniel's PHY driver (for his u-boot sources) already supports that PHY because it uses a PHY ID mask of 0xfffffff8. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 46670
* image.mk: move KDIR_TMP definition to a central locationJonas Gorski2015-08-141-2/+0
| | | | | | | | | | | Instead of each target defining it the same, move the KDIR_TMP definition to include/image.mk. In addition Image/Build/SysupgradeNAND already requires KDIR_TMP to be set, so it makes sense to have it globally defined. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46592
* image: fix jffs2(_nand) image generationJonas Gorski2015-08-051-1/+2
| | | | | | | | | | | | Variables dependend on JFFS2_BLOCKSIZE and NANDBLOCK_SIZE are used for template generation, so need to be present before inclusion of image.mk in target image Makefiles. So move all declarations to before any includes. Fixes: r42878 ("image.mk: clean up and parallelize mkfs calls") Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46564
* kernel: update 4.1 to 4.1.4Jonas Gorski2015-08-052-3/+3
| | | | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.4 Signed-off-by: Daniel Golle <daniel@makrotopia.org> [jogo: fix brcm2708 patches, refresh target patches] Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46560
* lantiq: Silence the PCIe error interrupt printk also in 4.1John Crispin2015-07-241-1/+1
| | | | | | | | | This ports 9e2a7b779e6f0914395da3657b00f0ac00209bfd to the 4.1 patches. I forgot this when preparing the initial 4.1 patch. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 46453
* kernel: refresh patches for 4.1Jonas Gorski2015-07-221-1/+1
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46441
* kernel: refresh patches on linux 3.18Hauke Mehrtens2015-07-122-2/+2
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46308
* lantiq: Add support for Arcadyan ARV8539PW22 (Speedport W 504V)John Crispin2015-07-075-1/+185
| | | | | | | | lantiq: Add support for Arcadyan ARV8539PW22 (Speedport W 504V) Signed-off-by: Jannis Pinter <jannis@pinterjann.is> SVN-Revision: 46224
* lantiq: Add support for the BT Home Hub 5AJohn Crispin2015-07-077-2/+360
| | | | | | | | | | | | | | | u-boot support depends on the next "upstream" version ([0]) from Daniel Schwierzeck. Since the installation process is quite complicated a "how to" was added to the wiki: [1] [0] https://github.com/danielschwierzeck/u-boot-lantiq/tree/openwrt/v2014.01-next [1] http://wiki.openwrt.org/toh/bt/homehub_v5a V2: Use the correct PCI interrupt (fixes 2.4GHz wifi) Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 46223
* lantiq: Silence the printk when a PCIe error interrupt arrivesJohn Crispin2015-07-071-1/+1
| | | | | | | | | | Basically the only error I am seeing is "Correctable Error". Also newer lantiq PCIe drivers have this message wrapped in a "if debug enabled" block. So it should be safe to disable this warning. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 46222
* lantiq: Make the MEI address available for kernel driversJohn Crispin2015-07-071-0/+1
| | | | | | | | Newer DSL driver versions depend on the address information. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 46221
* lantiq: Change the data-type of mac address in ETOP driverJohn Crispin2015-07-072-10/+1
| | | | | | | | Make it consistent with the net_device struct and the xrx200 driver Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 46219
* lantiq: Add support for linux 4.1John Crispin2015-07-0739-0/+19662
| | | | | | | | | | | | | | | | All (still relevant) patches were refresh. The following patches were dropped because they are applied upstream: - 0003-MIPS-lantiq-handle-vmmc-memory-reservation.patch - 0005-MIPS-lantiq-add-reset-controller-api-support.patch - 0006-MIPS-lantiq-reboot-gphy-on-restart.patch - 0009-MIPS-lantiq-command-line-work-around.patch - 0010-MIPS-lantiq-export-soc-type.patch - 0011-lantiq-add-support-for-xrx200-firmware-depending-on-.patch - 0037-MIPS-lantiq-move-eiu-init-after-irq_domain-register.patch Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 46216
* kernel: update 3.18 to 3.18.17Jonas Gorski2015-06-301-1/+1
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.17 Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46150
* 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> SVN-Revision: 46011
* 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. SVN-Revision: 45899
* lantiq: Add support for Arcadyan VGV7510KW22 (known as o2 Box 6431)John Crispin2015-06-058-0/+388
| | | | SVN-Revision: 45897
* 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> SVN-Revision: 45882
* 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> SVN-Revision: 45868
* lantiq: fix imagebuilderJohn Crispin2015-05-301-4/+14
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45851
* 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> SVN-Revision: 45718
* 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> SVN-Revision: 45717
* 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> SVN-Revision: 45711
* The ability to read MAC addresses from MTD is useful for other targets ↵Imre Kaloz2015-05-031-76/+0
| | | | | | | | besides ramips and lantiq as well. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 45596
* 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> SVN-Revision: 45068
* 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> SVN-Revision: 44867
* lantiq: make xrx200 targets use the upstream dwc2 driverJohn Crispin2015-03-175-9/+9
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44857
* lantiq: drop 3.14 supportJohn Crispin2015-03-1647-17512/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44812
* 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> SVN-Revision: 44771
* lantiq: enable atm-esi by default for xrx200Felix Fietkau2015-03-151-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44769
* kenrel: refresh patchesJohn Crispin2015-03-119-268/+268
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44678
* 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> SVN-Revision: 44677
* 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> SVN-Revision: 44676
* 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> SVN-Revision: 44675
* 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> SVN-Revision: 44674
* 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> SVN-Revision: 44673
* 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> SVN-Revision: 44672
* 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> SVN-Revision: 44615
* 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> SVN-Revision: 44614