aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/base-files
Commit message (Collapse)AuthorAgeFilesLines
* lantiq: print profile name in dsl lucistatFelix Fietkau2016-03-071-0/+1
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48949 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: do not set default firmware fileFelix Fietkau2016-03-071-1/+1
| | | | | | | | | We are now shipping a DSL firmware, do not set it by default to some file name. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48941 3c298f89-4303-0410-b956-a3cf2f4a3e73
* use "-gt" instead of ">" with [ in /lib/functions/lantiq_dsl.shJohn Crispin2016-02-121-2/+2
| | | | | | | | | Avoids inadvertent file creation when executing `/etc/init.d/dsl_control status`. Signed-off-by: Jonathan A. Kollasch <jakllsch@kollasch.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48700 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48328 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix VDSL device detection with Linux 4.4Felix Fietkau2016-01-181-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48319 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: match default xdsl mode and default wan interfaceJohn Crispin2016-01-011-1/+5
| | | | | | Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48047 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: convert vendorid into human readable formJohn Crispin2016-01-011-0/+67
| | | | | | Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48046 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add the current profile to the stats outputJohn Crispin2016-01-011-0/+30
| | | | | | Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48045 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: use devicename:colour:function led naming schemeJohn Crispin2016-01-011-4/+4
| | | | | | | | | | | | | | | | The leds of the following boards are not renamed due to lack of manuals/informations: - ARV7519PW - ARV7510PW22 - ARV4510PW The leds of the ARV4518PWR01* boards are unchanged, since the leds doesn't match the leds from the manual or pictures (e.g. there shouldn't be a wps led). Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48042 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add support for indicating the boot state using three ledsJohn Crispin2016-01-012-54/+16
| | | | | | | | | | | | | | The BTHOMEHUBV5A has a RGB power led, where every colour is perfect to indicate the current boot state. This patch adds support for such cases. The existing led sequences should be the same as before. Boards which are using a led different from power (like TDW89x0) are changed to switch of the led after boot Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48041 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: use dsl led defined in DTSJohn Crispin2016-01-012-15/+18
| | | | | | | | | | | | | | | | | dsl_control (dsl_notify.sh) is the only process which is aware of the state of the atm/ptm interface. Use the dsl led exclusive for the dsl line state. On boards which don't have a distinct internet and a dsl led, let the netdev status of the atm interface trigger the shared led. Triggering the shared led according to the status of the ppp interface isn't suitable, since the led would be switched of if the ppp connection goes down, but the line is still in sync. Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48040 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: use power leds defined in DTSJohn Crispin2016-01-011-15/+19
| | | | | | | | Use the power leds defined in the dts file instead of hardcoded led names. Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48039 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: use default leds defined in DTSJohn Crispin2016-01-012-20/+23
| | | | | | | | | | | | | Remove all now double defined leds from the led board file. Use pppoe as default for all broadband connections, since it's the default in OpenWrt now. Rename the the wifi leds to make sure, the not applicable default values get overwritten. Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48038 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: BTHOMEHUBV2B - remove missing usb led workaroundJohn Crispin2016-01-011-1/+0
| | | | | | | | The workaround shouldn't be in the default configuration. Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48032 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Fix LED handling.John Crispin2015-12-171-24/+32
| | | | | | | | | | - Use common OpenWrt blink patterns instead of custom ones - Add preinit_regular hook - Handle the TDW89X0 that does not have a configurable power LED Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47914 3c298f89-4303-0410-b956-a3cf2f4a3e73
* all: drop old uci-defaults.shJo-Philipp Wich2015-12-112-2/+2
| | | | | | | | | Replace former uci-defaults.sh implementation with the uci-defaults-new.sh one and update all users accordingly. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47867 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix led setup after switch to uci-defaults-new.shJohn Crispin2015-12-111-6/+7
| | | | | | | | | | | | | | | | | | | | | | | The switch to uci-defaults-new.sh revealed a bug in the former used uci-defaults.sh, which failed to add leds with colons in the led name. This bug isn't any longer present in uci-defaults-new.sh and therefore all via DT defined leds will be added to /etc/config/system with their initial on/off state, regardless whether they are already added by the board specific led mappings. This results for a BTHOMEHUBV5A into the following led configuration: - soc:blue:power is added as led_power with the initial state "switched on" - soc:blue:power is added as led_soc_blue_power with the initial state "switched off" With the final result of a switched off power led after boot. The only led that needs to be added is the BTHOMEHUBV5A specific dimmed led. Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47850 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix logic error in dsl board.d codeJo-Philipp Wich2015-12-061-1/+1
| | | | | | | | | | | Starting with r47755 the pppoe wan interface section isn't any longer added to the network config on firstboot, using the default configuration. Since the commit message does not mention such a change, I assume that this wasn't intentionally. Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47793 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add VDSL2 vectoring status informationFelix Fietkau2015-12-051-1/+12
| | | | | | Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47785 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: get rid of the dsl_fw mtd partitionFelix Fietkau2015-12-051-35/+0
| | | | | | | | | Now that we have redistributable vdsl/adsl firmware blobs in /lib/firmware, we can drop the dsl_fw partition and extend the firmware partition. Signed-off-by: Andre Heider <a.heider@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47783 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: move esi calls to dsl_cpe_control scripts to fix ordering wrt. ↵Felix Fietkau2015-12-041-7/+0
| | | | | | | | loading vr9 drivers Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47764 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: switch from uci-defaults to board.dJo-Philipp Wich2015-12-043-214/+154
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47755 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Synchronize access to the DSL command pipeJohn Crispin2015-10-191-0/+2
| | | | | | | | | | Whenever two processes were executing different commands at the same time then one of the commands sometimes got the response of the other command. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47213 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: bugfix wrong non pre-emptive crc errors outputJohn Crispin2015-10-111-1/+1
| | | | | | | | | This patch fixes a wrong non pre-emptive crc errors output of dsl_control.sh status. Signed-off-by: Luca Debernardi <luca.debernardi@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47172 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47152 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: several ARV7519RW22 fixesJohn Crispin2015-10-052-0/+8
| | | | | | | | | | | | | | 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/trunk@47132 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Add target TP-Link TD-W8980John Crispin2015-10-051-1/+1
| | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47130 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47127 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
* 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 support for Arcadyan ARV8539PW22 (Speedport W 504V)John Crispin2015-07-072-1/+8
| | | | | | | | lantiq: Add support for Arcadyan ARV8539PW22 (Speedport W 504V) Signed-off-by: Jannis Pinter <jannis@pinterjann.is> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46224 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Add support for the BT Home Hub 5AJohn Crispin2015-07-074-2/+61
| | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46223 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Add support for Arcadyan VGV7510KW22 (known as o2 Box 6431)John Crispin2015-06-053-0/+26
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45897 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: DGN3500 cleanupsJohn Crispin2015-01-181-2/+0
| | | | | | | | | This patch builds on the previous three to streamline support for the Netgear DGN3500. Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44032 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Fix initscript issueJohn Crispin2015-01-181-1/+1
| | | | | | | | | Currently this initscript fails if the macaddr has any leading zeroes. This patch corrects the problem. Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44029 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add profile and userspace for P2812HNUF1/3, switch from UBI_GLUEBI to UBI_BLOCKJohn Crispin2015-01-173-2/+11
| | | | | | | | Add profile and userspace for P2812HNUF1/3, switch from UBI_GLUEBI to UBI_BLOCK Signed-off-by: Sylwester Petela <sscapi@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43987 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: BT Home Hub 3A - userspaceJohn Crispin2015-01-083-2/+7
| | | | | | | | BT Home Hub 3A - userspace Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43879 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Fix adsl led on Home Hub 2BJohn Crispin2015-01-081-1/+1
| | | | | | | | This fixes the adsl led on the Home Hub 2B. Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43876 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: vgv7519 - set some defaults for ledsJohn Crispin2014-11-141-0/+7
| | | | | | Signed-off-by: Eddi De Pieri <eddi@depieri.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43256 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: set default led configuration from /sys entry later, after per board ↵John Crispin2014-11-141-5/+5
| | | | | | | | settings Signed-off-by: Eddi De Pieri <eddi@depieri.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43255 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: vgv7519: fix board_config on dts, read mac address and setJohn Crispin2014-10-291-0/+6
| | | | | | Signed-off-by: Eddi De Pieri <eddi@depieri.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43109 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq_dsl.sh: properly detect vdsl_cpe_control and add missing quotesJohn Crispin2014-10-291-3/+7
| | | | | | | | | | lantiq_dsl.sh didn't work with VDSL chipsets for now, fix that by detecting whether vdsl_cpe_control or dsl_cpe_control should be used. Also add missing quotes around shell string comparision. Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43101 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq - vgv7519: load rt5362 eeprom from bootloader param patitionJohn Crispin2014-10-061-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42824 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: led name has changed from adsl -> dslJohn Crispin2014-10-061-4/+4
| | | | | | | | | | make the notify script aware of this. https://dev.openwrt.org/ticket/18005 Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42798 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Lantiq: fix build warning from dsl_fs scriptJohn Crispin2014-09-161-1/+1
| | | | | | | | | | | fix inclusion of functions.sh in dsl_fs init script without this, the following error is seen during build: ./etc/init.d/dsl_fs: line 4: /lib/functions.sh: No such file or directory Signed-off-by: Thomas Langer <thomas.langer@lantiq.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42575 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add default switch setup to td8970John Crispin2014-09-151-0/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42544 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: improve ARV7519RW22 supportJohn Crispin2014-08-181-1/+1
| | | | | | | | | | | | | - use full board name - rename uboot-env partition - add dsl_fw partition - remove unneeded pinmux groups - move gigabit ethernet to LAN - load mac address from mtd Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42180 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: detect board in preinit stateJohn Crispin2014-07-142-2/+9
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41638 3c298f89-4303-0410-b956-a3cf2f4a3e73