Commit graph

394 commits

Author SHA1 Message Date
Felix Fietkau
5ab4fe9c0e lantiq: strip FCS from received ethernet frames on XRX200
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40719
2014-05-07 18:36:58 +00:00
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
2014-05-06 21:06:22 +00:00
John Crispin
4f3c740110 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>

SVN-Revision: 40553
2014-04-22 08:08:46 +00:00
John Crispin
5836cde0e0 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>

SVN-Revision: 40543
2014-04-22 08:08:06 +00:00
John Crispin
cdc53e2ec9 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>

SVN-Revision: 40541
2014-04-22 08:07:53 +00:00
John Crispin
c4aae8fbc5 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>

SVN-Revision: 40519
2014-04-16 12:01:09 +00:00
John Crispin
9fbbd04f45 lantiq: enable switch on td8970
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40498
2014-04-12 21:22:21 +00:00
John Crispin
f2b0a6365e 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>

SVN-Revision: 40495
2014-04-12 21:22:08 +00:00
Gabor Juhos
d2812cb036 kernel: update 3.10 to 3.10.36
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40467
2014-04-12 11:59:07 +00:00
John Crispin
60edb8f47b 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>

SVN-Revision: 40461
2014-04-11 20:40:34 +00:00
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
2014-04-11 20:40:24 +00:00
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
2014-04-10 08:14:33 +00:00
John Crispin
f1963c02f4 lantiq: make dsl_notify.sh executable
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40436
2014-04-09 16:31:14 +00:00
John Crispin
858b972e66 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>

SVN-Revision: 40418
2014-04-07 15:10:22 +00:00
John Crispin
c821836395 lantiq: remove unmaintained code
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40392
2014-04-06 09:21:44 +00:00
John Crispin
f464b7d176 lantiq: cleanup the dsl control scripts
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40381
2014-04-05 16:34:20 +00:00
John Crispin
a05356f48a lantiq: nand fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40372
2014-04-03 14:27:02 +00:00
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
2014-04-03 14:26:58 +00:00
John Crispin
709cab91d2 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>

SVN-Revision: 40370
2014-04-03 14:26:54 +00:00
John Crispin
469b8297fa 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>

SVN-Revision: 40369
2014-04-03 14:26:50 +00:00
John Crispin
78a7ae428f lantiq: make td8970 wifi led work
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40368
2014-04-03 14:26:46 +00:00
John Crispin
58eccdac4f lantiq: fix vr9 ubi handling
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40364
2014-04-03 14:26:24 +00:00
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
2014-03-30 10:02:30 +00:00
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
2014-03-30 09:16:52 +00:00
John Crispin
5a6268c078 lantiq: add esi
http://patchwork.openwrt.org/patch/3703/

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

SVN-Revision: 40326
2014-03-30 09:16:43 +00:00
John Crispin
8b0507c9ca 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)

SVN-Revision: 40324
2014-03-30 09:16:35 +00:00
John Crispin
0c73e85cd0 lantiq: fixup ath5k support
http://patchwork.openwrt.org/patch/4417/

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

SVN-Revision: 40323
2014-03-30 09:16:31 +00:00
John Crispin
112059073e lantiq: fix initial VLAN conf for P2601HNFX
Signed-off-by: Antonios Vamporakis <ant@area128.com>

SVN-Revision: 40321
2014-03-30 09:16:23 +00:00
John Crispin
5a98a6b9cf 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>

SVN-Revision: 40320
2014-03-30 09:16:19 +00:00
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
2014-03-30 09:16:15 +00:00
John Crispin
3a43738e21 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>

SVN-Revision: 40318
2014-03-30 09:16:10 +00:00
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
2014-03-30 09:16:06 +00:00
John Crispin
9b78e13aa3 lantiq: add ubifs support in image Makefile
Signed-off-by: Antonios Vamporakis <ant@area128.com>

SVN-Revision: 40316
2014-03-30 09:16:02 +00:00
John Crispin
2803e79be6 lantiq: add ubifs to FEATURES
Signed-off-by: Antonios Vamporakis <ant@area128.com>

SVN-Revision: 40315
2014-03-30 09:15:58 +00:00
John Crispin
07eb49b7e0 lantiq: xrx200: add ubi support in the kernel
Signed-off-by: Antonios Vamporakis <ant@area128.com>

SVN-Revision: 40314
2014-03-30 09:15:54 +00:00
John Crispin
82da5ca248 lantiq: add inital support for xrx200 switch
Signed-off-by: Antonios Vamporakis <ant@area128.com>

SVN-Revision: 40313
2014-03-30 09:15:50 +00:00
John Crispin
32e2246270 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>

SVN-Revision: 40312
2014-03-30 09:15:46 +00:00
John Crispin
93e5c8cefc lantiq: fixup 3370 dts file
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40311
2014-03-30 09:15:41 +00:00
John Crispin
561a7ef93b lantiq: fix nand/ebu locking
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40310
2014-03-30 09:15:37 +00:00
John Crispin
d6a138141c lantiq: add tffs driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40309
2014-03-30 09:15:33 +00:00
John Crispin
defdec0f3a lantiq: drop old svip folders
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40294
2014-03-27 13:34:56 +00:00
Gabor Juhos
627baa28d3 kernel: update 3.10 to 3.10.34
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40291
2014-03-27 09:28:33 +00:00
Gabor Juhos
f677b1bc7e kernel: update 3.10 to 3.10.32
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39707
2014-02-23 10:59:40 +00:00
Luka Perkov
6e0fd6d518 lantiq: fix typo in pinctl driver
Signed-off-by: Antonios Vamporakis <ant@area128.com>

SVN-Revision: 39588
2014-02-15 22:54:34 +00:00
Luka Perkov
eddc327c7c 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>

SVN-Revision: 39587
2014-02-15 22:54:32 +00:00
Gabor Juhos
a2543d72d8 kernel: update 3.10 to 3.10.28
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39399
2014-01-26 11:30:34 +00:00
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
2014-01-15 19:16:51 +00:00
Luka Perkov
26dcf1c7c9 lantiq: update kernel configuration
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39296
2014-01-15 14:11:36 +00:00
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
2014-01-12 12:07:07 +00:00
Gabor Juhos
0e2586a774 kernel: update 3.10 to 3.10.26
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39220
2014-01-11 16:06:37 +00:00