aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/base-files/etc/uci-defaults
Commit message (Collapse)AuthorAgeFilesLines
* lantiq: use shared code for LED migrationAdrian Schmutzler2020-01-031-45/+6
| | | | | | | | | | Shared base-files package contains functions for LED migration that are already used by several targets. Apply those also to lantiq and drop the (redundant) local code. While at it, reorder board names in file. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* lantiq: remove includes of non-existent /lib/functions/lantiq.shAdrian Schmutzler2020-01-031-1/+0
| | | | | | | lantiq.sh is still included in files which do not use it anymore. Remove the includes. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* lantiq: create ATM/PTM interfaces with dsl as netdev nameMathias Kresin2018-01-101-0/+12
| | | | | | | | | | | | | | | | | | | | | Renaming an atm etherbride using 'ip link' (via hotplug) is racy since the original netdev might disappear before br2684ctl has finished appling it's setting: local2.notice br2684ctl[1667]: Interface "nas0" created sucessfully local2.notice br2684ctl[1667]: Communicating over ATM 0.8.35, encapsulation: LLC kern.info kernel: dsl0: renamed from nas0 kern.err kernel: br2684:br2684_regvcc: tried to attach to non-existent device local2.err br2684ctl[1667]: Could not configure interface:No such device or address By passing the final used netdev name to br2684ctl_wrap another race condition workaround will be enabled again. Change the lantiq ptm driver to create a netdev with the name dsl as well. Albeit the rename via 'ip link' works fine so far, using a different approach for ptm then atm could be confusing. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: use the compatible string as board nameMathias Kresin2017-12-161-12/+13
| | | | | | | | | | | Use the first compatible string as board name in userspace. Add the new board name as well as the former used board name to the image metadata to keep compatibilty with already deployed installations. Don't add the former used boardname for boards which exists only in master or evaluation boards. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: xway: rename nas0/ptm0 to dsl0Mathias Kresin2017-10-251-2/+0
| | | | | | | | | | | This change makes it possible to configure the wan/dsl ppp interface settings independantly from the used TC-Layer (ATM/PTM). By using dsl0 as interface name as for the xrx200 we can get rid of a few conditionals which were introduced because of the different default TC-Layer in xway and xrx200. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: xrx200: rename nas0/ptm0 to dsl0Martin Schiller2017-10-151-0/+57
| | | | | | | | | | | | | This change makes it possible to configure the wan/dsl ppp interface settings independantly from the used TC-Layer (ATM/PTM). Now you can move a device from an ADSL/ATM port to an VDSL/PTM port without any configuration changes for example. Signed-off-by: Martin Schiller <ms@dev.tdt.de> [use the dsl0 interface name for the default netdev trigger in 01_led, add ip dependency] Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: show xdsl line init status on shared dsl/internet ledMathias Kresin2017-06-171-0/+27
| | | | | | | | | | | | | On boards which don't have a distinct internet and dsl led, use the shared LED to indicate the xdsl line state and any traffic that is send/received via the netdev. This traffic doesn't necessarily need to be internet traffic. Rename the shared LED of existing configs to "dsl", to match the new defaults. The configuration of the to be renamed LED is identical with the new defaults. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: improve DGN3500 LED definitionsKevin Darbyshire-Bryant2017-04-211-0/+54
| | | | | | | | | | | | | | | | Add red:internet led on gpio 30 previously claimed as missing. Wifi led was claimed as blue however there are no blue leds on the board at all. Actually there are two wifi leds, green & amber so add definitions for those. Make the newly discovered green wifi led gpio 14 the default. There is no amber power led on this board. The mention of the amber power led in the manual means power red and power green at the same time. Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk> [removed unnecessary aliases, add migration script] Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: use wpad-mini for WBMR boardsMathias Kresin2016-10-151-16/+0
| | | | | | | | | | The WBMR boards are the only ones in the whole tree selecting the wpad and hostapd-utils package by default. Remove the wps uci-default script as well, there is no obvious reason why the wps config need to be set only for this board. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: switch from uci-defaults to board.dJo-Philipp Wich2015-12-042-288/+0
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47755
* 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> SVN-Revision: 47132
* 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> SVN-Revision: 47130
* 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> SVN-Revision: 46224
* lantiq: Add support for the BT Home Hub 5AJohn Crispin2015-07-072-1/+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-052-0/+15
| | | | SVN-Revision: 45897
* 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> SVN-Revision: 44032
* 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> SVN-Revision: 43987
* 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> SVN-Revision: 43879
* 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> SVN-Revision: 43876
* lantiq: vgv7519 - set some defaults for ledsJohn Crispin2014-11-141-0/+7
| | | | | | Signed-off-by: Eddi De Pieri <eddi@depieri.net> SVN-Revision: 43256
* 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> SVN-Revision: 43255
* 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> SVN-Revision: 43109
* lantiq: add default switch setup to td8970John Crispin2014-09-151-0/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42544
* 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> SVN-Revision: 42180
* lantiq: add support for /tmp/sysinfoJohn Crispin2014-07-023-4/+4
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41472
* lantiq: more vdsl related cleanupsJohn Crispin2014-04-111-10/+10
| | | | | | | | | | | * 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> SVN-Revision: 40460
* 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> SVN-Revision: 40439
* 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> SVN-Revision: 40371
* 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> SVN-Revision: 40329
* lantiq: fix initial VLAN conf for P2601HNFXJohn Crispin2014-03-301-2/+3
| | | | | | Signed-off-by: Antonios Vamporakis <ant@area128.com> SVN-Revision: 40321
* lantiq: add support for Arcadyan ARV7519PWJohn Crispin2014-03-301-0/+9
| | | | | | | | | | | 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> SVN-Revision: 40319
* 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> SVN-Revision: 40317
* lantiq: Add support for Astoria ARV7510PW22John Crispin2014-01-151-1/+1
| | | | | | | | This board is pretty similar to ARV752DPW22. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 39303
* 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> SVN-Revision: 39230
* 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> SVN-Revision: 38733
* lantiq: fix TDW8970 lan/wan macJohn Crispin2013-11-071-1/+9
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38677
* lantiq: Fix ar8216 switch configuration for WBMR-HP-G300H devicesJohn Crispin2013-11-071-2/+3
| | | | | | | | | | | The switch is renamed to "switch0" in newer (3.10) linux kernels. Configure the switch using vlans by default and only configure the physical switch ports that are present. Signed-off-by: Richard Mortimer <richm@oldelvet.org.uk> Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38673
* lantiq: add support for ZyXEL P2601HNFXLuka Perkov2013-09-191-0/+6
| | | | SVN-Revision: 38049
* lantiq: add support for ZTE H201LLuka Perkov2013-09-192-0/+6
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38048
* lantiq: add (incomplete) support for Aztech GR7000Luka Perkov2013-08-061-0/+6
| | | | | | | | | | *) can not connect to switch chip *) only one usb port is working *) wifi is not working Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 37712
* lantiq: several a803 related fixesJohn Crispin2013-08-051-1/+1
| | | | | | | | based on work from Matti Laasko that he posted in the wiki Signed-off-by: John Crispin <blogic@openwrt.or SVN-Revision: 37704
* lantiq: fix VG3503J ethernet/gphy led supportJohn Crispin2013-08-012-5/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37634
* lantiq: add a hook to make leds work on the secondary usb busJohn Crispin2013-07-251-1/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37538
* lantiq: Fix ar8216 switch configurationJohn Crispin2013-05-301-2/+2
| | | | | | | | On linux 3.8 the switch is named as "switch0", but the network configuration script names it as "eth0", causing no communication over ethernet due to no proper VLAN config. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 36782
* lantiq: DGN3500 supportJohn Crispin2013-05-301-0/+5
| | | | | | | | | This requires all the preceding patches and finishes support for the DGN3500, also removing an obsolete file. Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> SVN-Revision: 36781
* lantiq: fix LED-handling oversightsJohn Crispin2013-05-301-1/+1
| | | | | | | | | This reassigns the PPPoE status to the LED that was intended to indicate it, rather than the DSL sync light. Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> SVN-Revision: 36777
* lantiq: make leds and network work on VG3503JJohn Crispin2013-04-252-0/+10
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36445
* Adapt default network configuration for IPv6Steven Barth2013-04-091-0/+4
| | | | SVN-Revision: 36278
* add support for AudioCodes AC-252John Crispin2013-03-121-1/+1
| | | | | | | | | user-space support for extracting the EEPROM for the RaLink WiFi is still missing. Besides this, it's all working. Signed-off-by: Daniel Golle <dgolle@allnet.de> SVN-Revision: 35990
* all targets: use numerically prefixed uci-defaults file names to better ↵Jo-Philipp Wich2013-01-183-0/+0
| | | | | | control order of execution SVN-Revision: 35217