aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/xrx200
Commit message (Collapse)AuthorAgeFilesLines
* lantiq: drop kernel 4.14 supportMathias Kresin2019-07-041-97/+0
| | | | | | | The current state of the kernel 4.14 support is in the openwrt-19.07 branch. No need to keep a not default used kernel in this branch. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: make patches applyHauke Mehrtens2019-07-041-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | The following patches are dropped because they are now upstreamed: - 0002-gpio-stp-xway-Implement-get-callback.patch upstreamed with commit 5b9b2b5284f819 ("gpio: stp-xway: Implement get callback") - 0027-01-net-phy-intel-xway-add-VR9-version-number.patch upstreamed with commit 5b73d9955fb4b0 ("net: phy: intel-xway: add VR9 version number") - 0027-02-net-phy-intel-xway-add-VR9-v1.1-phy-ids.patch upstreamed with commit f452518c982e57 ("net: phy: intel-xway: add VR9 v1.1 phy ids") The following patches were updated: - 0018-MTD-nand-lots-of-xrx200-fixes.patch the mainline driver now resides in drivers/mtd/nand/raw/xway_nand.c (instead of drivers/mtd/nand/xway_nand.c) - 0025-NET-MIPS-lantiq-adds-xrx200-net.patch the DMA API now requires a valid device to be passed to all operations - 0028-NET-lantiq-various-etop-fixes.patch the DMA API now requires a valid device to be passed to all operations Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: copy target to kernel 4.19Hauke Mehrtens2019-07-041-0/+97
| | | | | | | | This just copies the files from the kernel 4.14 specific folders into the kernel 4.19 specific folder, no changes are done to the files in this commit. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* lantiq/xrx200: enable initramfs imagesStijn Segers2019-05-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Commit eae6cac6a3 ("lantiq: add support for AVM FRITZ!Box 7362 SL"), but one needs an initramfs image to flash OpenWrt from stock firmware (as described in the commit log). This patch has the initramfs image built by default. Thanks to blogic (for pointing to the FEATURES declaration in the target Makefiles) and Musashino on the forum for suggesting config/Config-images.in needed editing too. While at it, reorder the TARGET_INITRAMFS_COMPRESSION_LZMA declarations alphabetically. This patch will result in initramfs images for all lantiq subtargets that have the ramdisk flag set. I tested on the falcon and ase subtargets, which lack that flag, to confirm they don't produce any initramfs images with this patch - which they do not. Given the limited scope of the lantiq (sub)target(s), blogic indicated this should be OK. Signed-off-by: Stijn Segers <foss@volatilesystems.org> Signed-off-by: Petr Štetiar <ynezz@true.cz> [fixed the wrong reference to eae6cac6a3 commit]
* lantiq-vdsl-fw: update to provide recent vectoring firmwareDaniel Golle2018-06-151-1/+1
| | | | | | | | | | | | | | Recent Speedport firmware downloads only work over HTTPS, so the user either needs to provide the already downloaded file or install ustream-ssl-* as well as ca-certificates or ca-bundle. So to get VDSL2 with vectoring on xRX200, simply run vdsl_fw_install.sh on the target and either provide the downloaded file as instructed or make sure the device is connected to the Internet and can download that HTTPS url itself. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* Revert "lantiq: get rid of ltq-vdsl-fw"Daniel Golle2018-06-151-0/+1
| | | | | | This reverts commit 0938233fcdef67d969f9429a10761cc640c6d56d. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* lantiq: switch to kernel 4.14Mathias Kresin2018-05-171-90/+0
| | | | | | Use kernel 4.14 by default. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: kernel 4.14: update patches and configHauke Mehrtens2018-02-201-2/+9
| | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: kernel 4.14: copy patches, config and dts filesHauke Mehrtens2018-02-201-0/+90
| | | | | | | This just copies the patches, configuration and dts files into the directories hich are used for kernel 4.14. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* lantiq: make dts files and kernel config kernel version specificMathias Kresin2018-02-201-0/+0
| | | | | | | | | | Move the devicetree source files to a kernel specific directory in preparation of adding kernel 4.14 support. Rename the subtarget kernel config files to match a specific kernel version. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: nand: drop ubifs imagesMathias Kresin2017-12-111-1/+1
| | | | | | | | | | | | | | | Users are confused which image type they should use and there are more drawbacks than adavantages in using a r/w ubifs rootfs in constrast to a read-only squashfs rootfs like: - less available free flash space due to better compression of squashfs images - no support for factory reset due to r/w filesystem - possibility to break failsafe due to r/w filesystem Therefore, drop support for r/w ubifs rootfs images. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: select PCI support in subtargetsMathias Kresin2017-10-041-0/+7
| | | | | | | | | | | | | | | | AmazonSE and Falcon do not have support for PCI and it can't be unselected in the subtarget kernel config. This way the enabled PCI support is inherit from the higher level config to the subtarget. If CONFIG_PCI is selected, PCI_SUPPORT will be autoselected as well and all packages depending on this config symbol will be build and at least some of them fail due to missing pci functions. The issue can be observed if all kmods and all non-shared packages are build. Fix the issue by enabling PCI support only in subtargets with PCI support. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: xrx200: cleanup kernel configMathias Kresin2017-10-041-3/+8
| | | | | | | | | | | CONFIG_MTSCHED & CONFIG_PERFCTRS were never defined in the kernel. CONFIG_LANTIQ_PHY was replaced by CONFIG_INTEL_XWAY_PHY with the switch to the upstreamed driver. Add autoselected dependecies to the kernel config. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: xrx200: fix sorting of kernel configMathias Kresin2017-10-041-6/+6
| | | | | | | Use the kconfig script to sort the kernel config. It makes further changes more obvious. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: add support for kernel 4.9Hauke Mehrtens2017-02-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following patches were dropped because they are already applied upstream: 0012-pinctrl-lantiq-fix-up-pinmux.patch 0013-MTD-lantiq-xway-fix-invalid-operator.patch 0014-MTD-lantiq-xway-the-latched-command-should-be-persis.patch 0015-MTD-lantiq-xway-remove-endless-loop.patch 0016-MTD-lantiq-xway-add-missing-write_buf-and-read_buf-t.patch 0017-MTD-xway-fix-nand-locking.patch 0044-pinctrl-lantiq-introduce-new-dedicated-devicetree-bi.patch 0045-pinctrl-lantiq-Fix-GPIO-Setup-of-GPIO-Port3.patch 0046-pinctrl-lantiq-2-pins-have-the-wrong-mux-list.patch 0047-irq-fixes.patch 0047-mtd-plat-nand-pass-of-node.patch 0060-usb-dwc2-Add-support-for-Lantiq-ARX-and-XRX-SoCs.patch 0120-MIPS-lantiq-add-support-for-device-tree-file-from-bo.patch 0121-MIPS-lantiq-make-it-possible-to-build-in-no-device-t.patch 122-MIPS-store-the-appended-dtb-address-in-a-variable.patch The PHY driver was reduced to the code adding the LED configuration, the rest is already upstream: 0023-NET-PHY-adds-driver-for-lantiq-PHY11G.patch The SPI driver was replaced with the version pending for upstream inclusion: New driver: 0090-spi-add-transfer_status-callback.patch 0091-spi-lantiq-ssc-add-support-for-Lantiq-SSC-SPI-controller.patch Old driver: 0100-spi-add-support-for-Lantiq-SPI-controller.patch Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* lantiq: enable SMP for XRX200Felix Fietkau2017-02-011-0/+19
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: remove mips16 feature flag from target makefilesFelix Fietkau2017-01-241-1/+1
| | | | | | | It can be implicitly derived from the MIPS32 revision support in the kernel configuration Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove ubifs xz decompression supportFelix Fietkau2017-01-091-1/+0
| | | | | | | It has been unused, and less useful than squashfs for cases where flash space usage matters. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: add vpe/watchdog modules to kernelStefan Koch2016-10-311-0/+6
| | | | | | | | | (required not-distributable firmware blob - dump it by yourself from original firmware) Signed-off-by: Eddi De Pieri <eddi@depieri.net> (cherry picked from commit 064f467264c5c9b6eca0bb96b587f9412b770cc5) Signed-off-by: Stefan Koch <stefan.koch10@gmail.com>
* lantiq: switch from 34k to 24kJonas Gorski2016-08-231-1/+1
| | | | | | | GCC treats 24kc and 34kc exactly the same and will generate identical code, so there is no need to tune to 34kc instead of 24kc. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* lantiq: add cpu temperatur sensor driver for xrx200Florian Eckert2016-08-031-0/+2
| | | | Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
* build: remove MIPS dsp/dsp2 CPU_SUBTYPEFelix Fietkau2016-08-031-1/+0
| | | | | | | There does not seem to be any meaningful difference in generated code. This will save some time and space on snapshot builds Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: disable jffs2 support on xrx200Felix Fietkau2016-07-201-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* Revert "lantiq: enable SMP for XRX200"Felix Fietkau2016-06-271-19/+0
| | | | | | | | | This reverts commit cc3bfdb62f941dff3e2983591c78b6d39ca8d88a. Apparently the ethernet driver is not SMP safe, as reported in https://bugs.lede-project.org/index.php?do=details&task_id=27 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: convert remaining legacy targets to the new image generation codeJohn Crispin2016-06-174-38/+0
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* lantiq: Add Support for Fritz!Box 7360 SLJohn Crispin2016-06-132-0/+8
| | | | | Signed-off-by: Sebastian Ortwein <krone@animeland.de> Tested-by: Guido Lipke <lipkegu@gmail.com>
* lantiq: enable swconfig LED supportFelix Fietkau2016-06-111-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: enable SMP for XRX200Felix Fietkau2016-06-111-0/+19
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: add Buffalo WBMR-300HPD supportFelix Fietkau2016-06-111-0/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: refresh xrx200 kernel configFelix Fietkau2016-06-111-29/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: un-macro the image building codeJohn Crispin2016-06-055-68/+11
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* lantiq: VGV7510KW22 - enable the IP101A phyMathias Kresin2016-05-271-0/+1
| | | | | | | | | | | | The RJ45 WAN port is used for xDSL as well as the IP101A. The pins 1,2,3,6 of the RJ45 are connected to the IP101A and the pins 4,5 are connected to the xdsl chip. Drop the ip101a-rst node. It can't be controlled and is not required at all. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: VG3503J - merge profilesMathias Kresin2016-05-231-6/+0
| | | | | | | | The only difference between the VG3503J profiles is the version of the gphy firmware that gets loaded. This can be handled perfect fine in one device tree source file. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: move ubi/ubifs options to the image makefileFelix Fietkau2016-05-193-12/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: add dsl firmware to default packagesFelix Fietkau2016-03-072-5/+5
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48942
* lantiq: add support for TP-Link VR200vHauke Mehrtens2016-01-181-0/+7
| | | | | | | | | This adds basic support for TP-Link VR200v. Currently the following parts are not working: FXO, Voice, DECT, WIFI (both) Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48328
* lantiq: Switch to the new SPI driverFelix Fietkau2016-01-171-2/+1
| | | | | | | | | | | | | | | | Compared to the "old" driver: - Each device must assign a pinctrl setting to the SPI node to allow the new SPI driver to configure the SPI pins. While here we are also using separate input and output settings so we are independent of whether the bootloader configures the pins correctly. - We use the new "compatible" strings to make the driver choose the correct number of chip-selects for each SoC. - The new driver starts counting the chip-selects at 1 (instead of 0, like the old one did). Thus we have to adjust the devices accordingly. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 48293
* lantiq: Disable CONFIG_SPI_GPIOFelix Fietkau2016-01-171-1/+0
| | | | | | | | | All devices are now using the HW SPI driver, so this is not necessary anymore. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 48291
* lantiq: get rid of ltq-vdsl-fwJohn Crispin2015-12-111-1/+0
| | | | | | | | | Because of dsl-vrx200-firmware-xdsl-* there's no need anymore to download a dsl firmware at runtime. Signed-off-by: Andre Heider <a.heider@gmail.com> SVN-Revision: 47851
* lantiq: move esi calls to dsl_cpe_control scripts to fix ordering wrt. ↵Felix Fietkau2015-12-041-2/+1
| | | | | | | | loading vr9 drivers Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47764
* lantiq: Add target TP-Link TD-W8980John Crispin2015-10-051-0/+7
| | | | | | | | | 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: Add support for the BT Home Hub 5AJohn Crispin2015-07-071-0/+9
| | | | | | | | | | | | | | | 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: Add support for Arcadyan VGV7510KW22 (known as o2 Box 6431)John Crispin2015-06-051-0/+14
| | | | SVN-Revision: 45897
* 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-161-68/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44812
* lantiq: enable atm-esi by default for xrx200Felix Fietkau2015-03-151-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44769
* kernel: move KERNFS to generic configJohn Crispin2015-03-061-1/+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-061-1/+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
* kernel: move MTD_SPLIT_SUPPORT to generic configJohn Crispin2015-03-061-1/+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> SVN-Revision: 44612