aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/base-files/etc
Commit message (Collapse)AuthorAgeFilesLines
* lantiq: Fix typo in LED diag script.John Crispin2016-04-261-1/+1
| | | | | | | Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> Acked-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49242 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
* 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: 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-011-8/+11
| | | | | | | | | | | | | | | | | 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-011-20/+7
| | | | | | | | | | | | | 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: 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: 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: 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-073-1/+60
| | | | | | | | | | | | | | | 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: 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-172-1/+10
| | | | | | | | 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-082-1/+6
| | | | | | | | 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 - 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: 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: add support for /tmp/sysinfoJohn Crispin2014-07-024-5/+5
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41472 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: support loading the dsl firmware from a flash partition as a raw ↵Felix Fietkau2014-05-061-5/+27
| | | | | | | | gzipped tarfile Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40715 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: more vdsl related cleanupsJohn Crispin2014-04-112-10/+23
| | | | | | | | | | | * atm module needs to be loaded before linux-atm * use absolute firmware paths * extended validation * add a script for mounting an optional firmware partition Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40460 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: move the dsl-modem config to network.@dsl-modem[-1]John Crispin2014-04-101-0/+32
| | | | | | | | make sure uci_defaults generates a proper uci config for the v/adsl modem Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40439 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: BT Home Hub 2B support - userspaceJohn Crispin2014-04-032-0/+12
| | | | | | | | Basic userspace configuration for BT Home Hub 2B Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40371 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lntiq: add support for Astoria ARV7519RW.John Crispin2014-03-301-0/+5
| | | | | | | | | | | | | | | These patches add support for the Astoria ARV7519RW aka Livebox 2.1 The PCI and PCIe interfaces have been disabled. Also, because there are two revisions of this board with different GPHY firmwares, two targets were defined. V2: rewrote partitions to work with an u-boot specifically made for these boards. Signed off by: Esteban Benito <estebanjbs@gmail.com> Signed off by: Carles Gadea <carlesgrg@gmail.com> Tested by: José Vázquez Fernández <ppvazquezfer@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40329 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: do an endianness swap to the RT2860 eeprom for ARV752DPW(22)John Crispin2014-03-301-4/+13
| | | | | | | | | | | | | | | | | | | | ARV7510PW22, ARV752DPW and ARV752DPW22 have the RT2860 eeprom stored in flash as big-endian, but the driver needs it in little-endian format. We have to swab it before handing it over. This requires my earlier patch for busybox. Funnily enough, ARV752DPW works also with the incorrect eeprom, but undoubtedly unoptimally. I have a hunch that also the final remaining Lantiq board would require this swabbing, but I'm not sure, so I just swab it in the three boards that I know about. v2: * Swab also on ARV7510PW22 based on feedback from Alvaro Rojas * Fix the offset with bs=2 Signed-off-by: Matti Laakso <malaakso at elisanet.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40328 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add esiJohn Crispin2014-03-301-0/+7
| | | | | | | | http://patchwork.openwrt.org/patch/3703/ Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40326 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix initial VLAN conf for P2601HNFXJohn Crispin2014-03-301-2/+3
| | | | | | Signed-off-by: Antonios Vamporakis <ant@area128.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40321 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add support for Arcadyan ARV7519PWJohn Crispin2014-03-302-1/+10
| | | | | | | | | | | This patch adds almost full support for this board. - WiFi is still not working - USB will not power up. According to some reports, it may be a passive port Signed-off-by: Antonios Vamporakis <ant@area128.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40319 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add support for ZyXEL P2812HNUFXJohn Crispin2014-03-301-0/+6
| | | | | | | | | | | This patch adds almost full support for this board. WiFi is still not working. The FXS ports are not functional due to missing support for the TAPI driver on VR9 SoC. Signed-off-by: Antonios Vamporakis <ant@area128.com> Tested-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40317 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Add support for Astoria ARV7510PW22John Crispin2014-01-152-2/+2
| | | | | | | | This board is pretty similar to ARV752DPW22. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39303 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: improve Arcadyan ARV4510PW supportJohn Crispin2014-01-121-4/+12
| | | | | | | | | Arcadyan ARV4510PW has already a build profile in OpenWrt, but it is severely lacking. This patch brings it up-to-date. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39230 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: DGN3500 fixupsJohn Crispin2013-11-111-0/+2
| | | | | | | | Just fixing up a few things for the Netgear DGN3500. Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38733 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: remove old hotplug handlerJohn Crispin2013-11-111-53/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38727 3c298f89-4303-0410-b956-a3cf2f4a3e73