Commit Graph

67 Commits (6f6dc62ca25ef1e4169a6c575e80594bf72e2ec8)

Author SHA1 Message Date
John Crispin c8bde9da4a lantiq: detect board in preinit state
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41638
10 years ago
John Crispin 332b4d556f lantiq: generate /tmp/sysinfo/lantiq_board_name if missing
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>

SVN-Revision: 41567
10 years ago
John Crispin 03fef9a2d2 lantiq: enable SysupgradeNAND for BTHOMEHUBV2B
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>

SVN-Revision: 41566
10 years ago
John Crispin e2915c6981 lantiq: add support for /tmp/sysinfo
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41472
10 years ago
John Crispin f933a741a9 target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC
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>

SVN-Revision: 40915
10 years ago
Felix Fietkau 6142d061b5 lantiq: support loading the dsl firmware from a flash partition as a raw gzipped tarfile
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40715
10 years ago
John Crispin 390e856cb2 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>

SVN-Revision: 40460
10 years ago
John Crispin eebc673f1e 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>

SVN-Revision: 40439
10 years ago
John Crispin f1963c02f4 lantiq: make dsl_notify.sh executable
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40436
10 years ago
John Crispin f464b7d176 lantiq: cleanup the dsl control scripts
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40381
10 years ago
John Crispin 15139d468c lantiq: BT Home Hub 2B support - userspace
Basic userspace configuration for BT Home Hub 2B

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

SVN-Revision: 40371
10 years ago
John Crispin e36568e74b 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>

SVN-Revision: 40329
10 years ago
John Crispin 42e8cb6388 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>

SVN-Revision: 40328
10 years ago
John Crispin 5a6268c078 lantiq: add esi
http://patchwork.openwrt.org/patch/3703/

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40326
10 years ago
John Crispin 112059073e lantiq: fix initial VLAN conf for P2601HNFX
Signed-off-by: Antonios Vamporakis <ant@area128.com>

SVN-Revision: 40321
10 years ago
John Crispin e733242a23 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>

SVN-Revision: 40319
10 years ago
John Crispin 9531390aad 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>

SVN-Revision: 40317
10 years ago
John Crispin 053d596297 lantiq: Add support for Astoria ARV7510PW22
This board is pretty similar to ARV752DPW22.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 39303
11 years ago
John Crispin f58b424c9e 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>

SVN-Revision: 39230
11 years ago
John Crispin 000cefd85e lantiq: DGN3500 fixups
Just fixing up a few things for the Netgear DGN3500.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>

SVN-Revision: 38733
11 years ago
John Crispin 30fafd0617 lantiq: remove old hotplug handler
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38727
11 years ago
John Crispin 7ee1546ca3 lantiq: fix TDW8970 lan/wan mac
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38677
11 years ago
John Crispin f198adc030 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>

SVN-Revision: 38673
11 years ago
John Crispin 654dfb1784 lantiq: fix up diag.sh
init no longer exists as a parameter

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38342
11 years ago
Luka Perkov 3b33adeb99 lantiq: add support for ZyXEL P2601HNFX
SVN-Revision: 38049
11 years ago
Luka Perkov 7d2c5682b9 lantiq: add support for ZTE H201L
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38048
11 years ago
John Crispin 1878a3d6ab lantiq: add v3.10 patches
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38031
11 years ago
John Crispin e993e0c2cf lantiq: add tplink header id to sysupgrade and fix a comment
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37719
11 years ago
Luka Perkov 27fa640548 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>

SVN-Revision: 37712
11 years ago
John Crispin 288adb6634 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

SVN-Revision: 37704
11 years ago
John Crispin b4c722267e lantiq: fix VG3503J ethernet/gphy led support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37634
11 years ago
John Crispin 32f7ae4ce6 lantiq: add a hook to make leds work on the secondary usb bus
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37538
11 years ago
Felix Fietkau fc96e8e4b0 lantiq: update ralink wlan firmware hotplug script for new eeprom size
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37334
11 years ago
John Crispin f7daed8b9a 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>

SVN-Revision: 36899
11 years ago
John Crispin c2b1e9eeef 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>

SVN-Revision: 36782
11 years ago
John Crispin 090a75447b 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>

SVN-Revision: 36781
11 years ago
John Crispin b585923cc9 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>

SVN-Revision: 36777
11 years ago
John Crispin b42a173664 lantiq: make leds and network work on VG3503J
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36445
11 years ago
John Crispin 520bf46375 lantiq: fix board detection helpers
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36444
11 years ago
Steven Barth ea94d66b0f Adapt default network configuration for IPv6
SVN-Revision: 36278
11 years ago
John Crispin d9bb7ff7a5 Migrate lantiq platform to common led helper functions
http://patchwork.openwrt.org/patch/3316/

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

SVN-Revision: 36187
11 years ago
John Crispin e3a6ea65e1 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>

SVN-Revision: 35990
11 years ago
Jo-Philipp Wich 3a2cccda2e all targets: use numerically prefixed uci-defaults file names to better control order of execution
SVN-Revision: 35217
12 years ago
John Crispin 90a3761b0b default switch setup for WBMR
SVN-Revision: 34838
12 years ago
John Crispin 9818a1f00b adds script to set wps info on boards with a wps button
SVN-Revision: 34836
12 years ago
John Crispin 59cc6d9ddd improve button handling
SVN-Revision: 34823
12 years ago
Mirko Vogt e34a4e0c7b Do not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh)
SVN-Revision: 34793
12 years ago
John Crispin 687920ba3e minor basefiles fixes
SVN-Revision: 34790
12 years ago
John Crispin 1dece11487 cleanup basefiles
SVN-Revision: 34698
12 years ago
Luka Perkov 4c76b3635b lantiq: fix sx76x default uci network configuration
SVN-Revision: 33324
12 years ago