Commit Graph

398 Commits (fe380133470a2c4563ba32292e8dd7e790bd4cb7)

Author SHA1 Message Date
John Crispin 482bc23fc3 lantiq: fix up eth_mac and ath_eep support
this patch got messed up by the last rebase

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:45:29 +00:00
John Crispin 4c58e12447 lantiq: Fix ARV7510PW22 etop
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:43:43 +00:00
John Crispin ef1d9b2906 lantiq: Fix ARV4518 etop
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40919 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:43:35 +00:00
John Crispin 38c81b2552 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:43:22 +00:00
Felix Fietkau cf4f53a170 lantiq: strip FCS from received ethernet frames on XRX200
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40719 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-07 18:36:58 +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 d5e2e74b3e lantiq: BT Home Hub 2B - overlayfs on top of ubi
BT Home Hub 2B: use overlayfs on top of ubi.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-22 08:08:46 +00:00
John Crispin 6e77b0af5c Fix vr9_phy22f_a2x.bin firmware linking
vr9_phy22f_a2x.bin needs to be linked in order to get ethernet support.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-22 08:08:06 +00:00
John Crispin 3e12489885 lantiq: fix maximum ethernet header length
The total ethernet frame length should be written to the hardware
register LTQ_ETOP_IGPLEN instead of just the value of the MTU. This
patch fixes network issues on various Danube boards, especially when
VLAN tagging is enabled.

Signed-off-by: Matti Laakso <malaakso at elisanet.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40541 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-22 08:07:53 +00:00
John Crispin f627418007 lantiq: ARV7519RW22: several fixes
- Fix ethernet ports.
- Clean DTS files.
- WiFi is lantiq based (not supported yet), remove ath9k.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40519 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-16 12:01:09 +00:00
John Crispin b433167dcb lantiq: enable switch on td8970
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 21:22:21 +00:00
John Crispin e3dfb167cc Fix ARV7519RW images
This patch moves ARV7519RW definitions to VR9 section from the AR9 section and removes a whitespace that breaks jffs2 image generation.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 21:22:08 +00:00
Gabor Juhos 0e6867db1e kernel: update 3.10 to 3.10.36
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 11:59:07 +00:00
John Crispin 8161bcad5c lantiq: add an extra partition to the TDW8970 flash that can be used to store the vdsl firmware
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40461 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-11 20:40:34 +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 4555edf466 lantiq: make dsl_notify.sh executable
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-09 16:31:14 +00:00
John Crispin e720d5f69d lantiq: there is a V2 of VG3503J that needs a newer fe phy firmware
this should really be auto detected by the kernel, lets used this workaround until the real
solution is ready

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-07 15:10:22 +00:00
John Crispin c9a7f5dfff lantiq: remove unmaintained code
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40392 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-06 09:21:44 +00:00
John Crispin f53bc819fe lantiq: cleanup the dsl control scripts
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40381 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-05 16:34:20 +00:00
John Crispin 456b6c0bbd lantiq: nand fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40372 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-03 14:27:02 +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 8d8017f979 lantiq: BT Home Hub 2B support - board support
Board support patch for BT Home Hub 2B

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40370 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-03 14:26:54 +00:00
John Crispin bb51a39fa7 lantiq: BT Home Hub 2B support - jedec probe
Lantiq nor patch. Adds support for jedec probing if cfi
probing fails.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40369 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-03 14:26:50 +00:00
John Crispin 3d1da2bc3f lantiq: make td8970 wifi led work
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40368 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-03 14:26:46 +00:00
John Crispin 42d3266aa8 lantiq: fix vr9 ubi handling
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40364 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-03 14:26:24 +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 cd9f4bad16 lantiq: fix mtd_split for brnboot firmware images
The existing code only tries to split a parition with name "rootfs"
while actually looking for kernel+rootfs, where usually "firmware" is
used as a partition name. This doesn't make sense, as even if there
was a partition 'rootfs' given by mtdparts or via device-tree, this
code would lead to another partition called 'rootfs' being created
which would not be properly distinguished in the current user-space
code.

While potentially we could use CONFIG_MTD_SPLIT_FIRMWARE_NAME to make
that configurable, the lack of users of brnboot and the fact that we
can freely decide the partition name made me simply change the
hard-coded string constant from "rootfs" to "firmware".

(I'm going to add support for ARV7506PW which run brnboot and needs
this change)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40324 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:16:35 +00:00
John Crispin 10b47b6cc6 lantiq: fixup ath5k support
http://patchwork.openwrt.org/patch/4417/

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:16:31 +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 6141a0bda7 lantiq: P2601HNFX dts update for STP and buttons
- Set correct AltSel for STP pins
- Set front button to rfkill

Signed-off-by: Antonios Vamporakis <ant@area128.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40320 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:16:19 +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 038a7b4587 lantiq: reset gphys on reboot
If gphys are not reset upstream uboot can not use them anymore.

Signed-off-by: Antonios Vamporakis <ant@area128.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40318 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:16:10 +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 8f230ce464 lantiq: add ubifs support in image Makefile
Signed-off-by: Antonios Vamporakis <ant@area128.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40316 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:16:02 +00:00
John Crispin fb9122aab6 lantiq: add ubifs to FEATURES
Signed-off-by: Antonios Vamporakis <ant@area128.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:15:58 +00:00
John Crispin 4c4b6660ae lantiq: xrx200: add ubi support in the kernel
Signed-off-by: Antonios Vamporakis <ant@area128.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:15:54 +00:00
John Crispin c82c9d8ed7 lantiq: add inital support for xrx200 switch
Signed-off-by: Antonios Vamporakis <ant@area128.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40313 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:15:50 +00:00
John Crispin b64ca40dfb lantiq: xrx200: fix duplex
Both the GPL driver from ZyXEL and the xrx200 driver have this error. The flags
are reversed. Full duplex is marked as half and the other way around. With this
fix the switch will push full GBit speeds.

Signed-off-by: Antonios Vamporakis <ant@area128.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40312 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:15:46 +00:00
John Crispin 9b9581a940 lantiq: fixup 3370 dts file
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40311 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:15:41 +00:00
John Crispin 5fce5385d4 lantiq: fix nand/ebu locking
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:15:37 +00:00
John Crispin d0d3877633 lantiq: add tffs driver
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40309 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-30 09:15:33 +00:00
John Crispin 1eb49f46ab lantiq: drop old svip folders
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40294 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-27 13:34:56 +00:00
Gabor Juhos 4d85ad8010 kernel: update 3.10 to 3.10.34
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40291 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-27 09:28:33 +00:00
Gabor Juhos a73d292127 kernel: update 3.10 to 3.10.32
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39707 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-23 10:59:40 +00:00
Luka Perkov c3ad61d1fb lantiq: fix typo in pinctl driver
Signed-off-by: Antonios Vamporakis <ant@area128.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-15 22:54:34 +00:00
Luka Perkov 86f4b429dd lantiq: fix PCI problems on ARV4510PW
Some ARV4510PW units seem to have unstable PCI due to missing pull-up
resistors. This patch makes sure that the GPIO lines are driven properly.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-15 22:54:32 +00:00
Gabor Juhos ae7072b9ff kernel: update 3.10 to 3.10.28
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39399 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-26 11:30:34 +00:00