aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/base-files
Commit message (Collapse)AuthorAgeFilesLines
* 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
* lantiq: generate /tmp/sysinfo/lantiq_board_name if missingJohn Crispin2014-07-101-0/+2
| | | | | | | | | | | Run lantiq_board_detect from lantiq_board_name and lantiq_board_model. This was the one thing missing from r41474 for sysupgrade board detection to work properly. Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41567 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: enable SysupgradeNAND for BTHOMEHUBV2BJohn Crispin2014-07-101-0/+10
| | | | | | | | | | | | | | | | | Enables SysupgradeNAND for BTHOMEHUBV2B. Depends on the following patches: http://patchwork.openwrt.org/patch/5817/ http://patchwork.openwrt.org/patch/5848/ http://patchwork.openwrt.org/patch/5851/ Many thanks everyone for your help the last couple of days. Ben Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41566 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add support for /tmp/sysinfoJohn Crispin2014-07-025-8/+28
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41472 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGCJohn Crispin2014-06-021-1/+1
| | | | | | | | | | | | | | | | | | | ARGC is a 'C-ism', but not known/valid in shell-syntax - insert the correct var $# (=number of args) here. under normal conditions this had no impact, but we should at least correct it. the error was observable like this: root@box:~ [ -e "/etc/functions.sh" ] && . /etc/functions.sh root@box:~ [ -e "/lib/functions.sh" ] && . /lib/functions.sh root@box:~ . /lib/upgrade/platform.sh root@box:~ . /lib/upgrade/common.sh root@box:~ platform_check_image /tmp/myfirmware.bin ash: bad number root@box:~ echo $? 0 Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40915 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: make dsl_notify.sh executableJohn Crispin2014-04-091-0/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40436 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: cleanup the dsl control scriptsJohn Crispin2014-04-052-0/+305
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40381 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
* lantiq: fix TDW8970 lan/wan macJohn Crispin2013-11-071-1/+9
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38677 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38673 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix up diag.shJohn Crispin2013-10-081-2/+0
| | | | | | | | init no longer exists as a parameter Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38342 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add support for ZyXEL P2601HNFXLuka Perkov2013-09-191-0/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38049 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add support for ZTE H201LLuka Perkov2013-09-192-0/+6
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38048 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add v3.10 patchesJohn Crispin2013-09-171-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38031 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add tplink header id to sysupgrade and fix a commentJohn Crispin2013-08-061-1/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37719 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37712 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: several a803 related fixesJohn Crispin2013-08-052-2/+2
| | | | | | | | based on work from Matti Laasko that he posted in the wiki Signed-off-by: John Crispin <blogic@openwrt.or git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37704 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix VG3503J ethernet/gphy led supportJohn Crispin2013-08-012-5/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37634 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37538 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: update ralink wlan firmware hotplug script for new eeprom sizeFelix Fietkau2013-07-151-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37334 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: diag.sh with both red and green power LEDsJohn Crispin2013-06-101-0/+20
| | | | | | | | | | This provides a boot LED sequence suitable for devices with both red and green LEDs for power. This assumes no "default-on" settings in the device tree. Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36899 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36782 3c298f89-4303-0410-b956-a3cf2f4a3e73