Commit Graph

69 Commits (6f2f59573ff1ea1d7c17c4552561bbfc375f8dfd)

Author SHA1 Message Date
John Crispin 1bf7220e1f lantiq: DGN3500 cleanups
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
2015-01-18 09:41:04 +00:00
John Crispin 7ec3fcc08d lantiq: Fix initscript issue
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
2015-01-18 09:40:47 +00:00
John Crispin fed2fd6184 Add profile and userspace for P2812HNUF1/3, switch from UBI_GLUEBI to UBI_BLOCK
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
2015-01-17 07:07:15 +00:00
John Crispin 2f58f4729b lantiq: BT Home Hub 3A - userspace
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
2015-01-08 20:25:48 +00:00
John Crispin adabf431dc lantiq: Fix adsl led on Home Hub 2B
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
2015-01-08 20:25:28 +00:00
John Crispin d95ba48831 lantiq: vgv7519 - set some defaults for leds
Signed-off-by: Eddi De Pieri <eddi@depieri.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-14 16:53:53 +00:00
John Crispin 890f77892e lantiq: set default led configuration from /sys entry later, after per board 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
2014-11-14 16:53:48 +00:00
John Crispin 576cb5c5eb lantiq: vgv7519: fix board_config on dts, read mac address and set
Signed-off-by: Eddi De Pieri <eddi@depieri.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43109 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-29 20:50:40 +00:00
John Crispin 1946621665 lantiq - vgv7519: load rt5362 eeprom from bootloader param patition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42824 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 20:08:30 +00:00
John Crispin e5d6c00e3b Lantiq: fix build warning from dsl_fs script
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
2014-09-16 14:53:06 +00:00
John Crispin 228eec0a3c lantiq: add default switch setup to td8970
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-15 10:18:37 +00:00
John Crispin d0400dfc43 lantiq: improve ARV7519RW22 support
- 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
2014-08-18 13:08:56 +00:00
John Crispin 6ec3299aa8 lantiq: add support for /tmp/sysinfo
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 16:33:11 +00:00
Felix Fietkau 75c3ff3dee lantiq: support loading the dsl firmware from a flash partition as a raw 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
2014-05-06 21:06:22 +00:00
John Crispin bef7ea0796 lantiq: more vdsl related cleanups
* 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
2014-04-11 20:40:24 +00:00
John Crispin c34f225392 lantiq: move the dsl-modem config to network.@dsl-modem[-1]
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
2014-04-10 08:14:33 +00:00
John Crispin 792a98e9ed lantiq: BT Home Hub 2B support - userspace
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
2014-04-03 14:26:58 +00:00
John Crispin d2b1dccc38 lntiq: add support for Astoria ARV7519RW.
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
2014-03-30 10:02:30 +00:00
John Crispin 7081cc98e1 lantiq: do an endianness swap to the RT2860 eeprom for ARV752DPW(22)
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
2014-03-30 09:16:52 +00:00
John Crispin 2f8977ef9d lantiq: add esi
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
2014-03-30 09:16:43 +00:00
John Crispin 6c0ee14c86 lantiq: fix initial VLAN conf for P2601HNFX
Signed-off-by: Antonios Vamporakis <ant@area128.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40321 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:16:23 +00:00
John Crispin cbc606f1f7 lantiq: add support for Arcadyan ARV7519PW
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
2014-03-30 09:16:15 +00:00
John Crispin 4a3d655e10 lantiq: add support for ZyXEL P2812HNUFX
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
2014-03-30 09:16:06 +00:00
John Crispin ac3caf5ea4 lantiq: Add support for Astoria ARV7510PW22
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
2014-01-15 19:16:51 +00:00
John Crispin c537a63fcf lantiq: improve Arcadyan ARV4510PW support
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
2014-01-12 12:07:07 +00:00
John Crispin ff91a491c3 lantiq: DGN3500 fixups
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
2013-11-11 13:15:08 +00:00
John Crispin 14edb11091 lantiq: remove old hotplug handler
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-11 12:19:15 +00:00
John Crispin d687cbcb1e lantiq: fix TDW8970 lan/wan mac
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38677 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-07 12:46:24 +00:00
John Crispin d0852c356d lantiq: Fix ar8216 switch configuration for WBMR-HP-G300H devices
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
2013-11-07 12:46:08 +00:00
John Crispin 8a9e5281be lantiq: fix up diag.sh
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
2013-10-08 15:28:33 +00:00
Luka Perkov 5e8d7e5382 lantiq: add support for ZyXEL P2601HNFX
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38049 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19 00:50:46 +00:00
Luka Perkov 73a4aa94e7 lantiq: add support for ZTE H201L
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38048 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19 00:50:44 +00:00
Luka Perkov 38c3bb5bc1 lantiq: add (incomplete) support for Aztech GR7000
*) 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
2013-08-06 10:17:16 +00:00
John Crispin 25b1705c80 lantiq: several a803 related fixes
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
2013-08-05 10:42:00 +00:00
John Crispin 3ffded1fa0 lantiq: fix VG3503J ethernet/gphy led support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37634 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-01 14:30:40 +00:00
John Crispin 676534c57b lantiq: add a hook to make leds work on the secondary usb bus
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37538 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-25 20:29:01 +00:00
Felix Fietkau 901cda385d lantiq: update ralink wlan firmware hotplug script for new eeprom size
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37334 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-15 11:06:07 +00:00
John Crispin 80ecbd5197 lantiq: diag.sh with both red and green power LEDs
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
2013-06-10 08:25:02 +00:00
John Crispin 7c378bdf02 lantiq: Fix ar8216 switch configuration
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
2013-05-30 16:00:59 +00:00
John Crispin 2e43b9adfe lantiq: DGN3500 support
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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36781 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30 16:00:50 +00:00
John Crispin 9bfb1223ce lantiq: fix LED-handling oversights
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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36777 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30 16:00:15 +00:00
John Crispin 8d3add94db lantiq: make leds and network work on VG3503J
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-25 19:03:41 +00:00
Steven Barth 4c9003ffc7 Adapt default network configuration for IPv6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36278 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 08:03:08 +00:00
John Crispin 0f8a260d4b [lantiq] Migrate lantiq platform to common led helper functions
http://patchwork.openwrt.org/patch/3316/

Signed-off-by: Michael Heimpold <mhei@heimpold.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36187 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 10:01:07 +00:00
John Crispin 0d45d11435 [lantiq] add support for AudioCodes AC-252
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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35990 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-12 13:52:54 +00:00
Jo-Philipp Wich d8c155dfc9 all targets: use numerically prefixed uci-defaults file names to better control order of execution
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35217 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-18 12:42:53 +00:00
John Crispin 5a6b12149a [lantiq] default switch setup for WBMR
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34838 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 20:04:12 +00:00
John Crispin 6a50405768 [lantiq] adds script to set wps info on boards with a wps button
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34836 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 20:03:59 +00:00
John Crispin 3973731301 [lantiq] improve button handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34823 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 13:47:50 +00:00
Mirko Vogt f1b359fecb Do not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 16:07:50 +00:00