Commit graph

321 commits

Author SHA1 Message Date
John Crispin
44b1688e6c lantiq: Tune the XWAY subtarget cflags
This patch sets the cflags -mtune=34kc -mdsp only in XWAY subtarget, while the others remain with mtune=mips32r2.
Although the Danube has a Mips 24KEc core performs well with the above cflags.

Signed-off-by: José Vázquez Fernández <ppvazquezfer@gmail.com>

SVN-Revision: 37006
2013-06-21 16:54:15 +00:00
John Crispin
5d441ae7ea lantiq: set mips16 support.
Set mips16 support in XWAY subtarget.

This patch is based in changeset #36600

Signed-off-by: José Vázquez Fernández <ppvazquezfer@gmail.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37005
2013-06-21 16:54:07 +00:00
John Crispin
81c57ec131 lantiq: Fix ARV7518 DTS definitions
Fix EBU leds by removing req2 and gnt2 from pinmux.
Fix rfkill button gpio.
Enable reset button.
Fix power led activation status.

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

SVN-Revision: 37004
2013-06-21 16:54:03 +00:00
John Crispin
76c79f50d7 lantiq: Fixes to athxk EEPROM loading
Use platform data array for storing ath5k EEPROM instead of creating another one.
EEPROM size is 2048 words (2 bytes), so we must read 4096 bytes from flash.
No need to keep the checksum fix now that the EEPROM is loaded completely.
Add a manual eeprom swap for ath9k and keep the endian way.
Use mac-offset property retrieved from the DTS.

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

SVN-Revision: 36901
2013-06-10 08:25:12 +00:00
John Crispin
7638caf35d lantiq: make kernel_oldconfig
Seems the existing kernel config for 3.8 was cp'ed from 3.7; this patch
is the result of "make kernel_oldconfig" with defaults for new options.

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

SVN-Revision: 36900
2013-06-10 08:25:07 +00:00
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
2013-06-10 08:25:02 +00:00
Luka Perkov
da7590cd21 lantiq: fix formating in .dts files
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 36882
2013-06-08 11:36:07 +00:00
Jonas Gorski
1beaf031d1 target: don't build jffs2 nor images by default
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36863
2013-06-05 20:58:59 +00:00
John Crispin
e9ef65175d lantiq: revert [36779] as it caused a regression
submitter was informed of a endinaess swap regression and replied with "works on my board"

revert the patch and make arv7518 wifi work again

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

SVN-Revision: 36807
2013-05-31 13:25:07 +00:00
John Crispin
e60cb01c45 lantiq: ARV752DPW: fix reboot loop caused by wrong GPIO setting
The GPIO buttons of ARV752DPW are active low.

Treating them as active high caused a reboot loop as a reset-button
press is detected by gpio-button-hotplug/gpio-keys-polled on startup.

This fixes: https://dev.openwrt.org/ticket/12642

Signed-off-by: Rafael Gieschke <rafael@gieschke.de>

SVN-Revision: 36783
2013-05-30 16:01:06 +00:00
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
2013-05-30 16:00:59 +00:00
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
2013-05-30 16:00:50 +00:00
John Crispin
d1f3751d05 lantiq: wifi calibration from MTD
This patch enables retrieving the wifi calibration data from an MTD
partition. It requires the previous patch.

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

SVN-Revision: 36779
2013-05-30 16:00:32 +00:00
John Crispin
83c3cd4ed9 lantiq: postpone PCI and wifi init
This postpones the initialization of PCI and wifi until after the MTD
initialization, so that calibration data may be loaded from there.

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

SVN-Revision: 36778
2013-05-30 16:00:24 +00:00
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
2013-05-30 16:00:15 +00:00
Gabor Juhos
46225b99d9 kernel: update linux 3.8 to 3.8.13
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36724
2013-05-26 16:02:31 +00:00
Jonas Gorski
526aedb705 kernel: move CONFIG_MIPS_SEAD3 to generic
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36617
2013-05-12 21:41:55 +00:00
Gabor Juhos
e57c7d6c12 kernel: update linux 3.8 to 3.8.12
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36576
2013-05-08 08:53:53 +00:00
John Crispin
eb10f052ce lantiq: enable portmaps again and set max port to 2
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36573
2013-05-07 10:58:52 +00:00
Gabor Juhos
8a9fe26f20 kernel: update linux 3.8 to 3.8.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36507
2013-05-01 22:15:18 +00:00
Gabor Juhos
f718179af5 kernel: update linux 3.8 to 3.8.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36493
2013-04-30 10:43:59 +00:00
Gabor Juhos
36d4fd70bc kernel: update linux 3.8 to 3.8.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36453
2013-04-26 16:55:42 +00:00
John Crispin
b42a173664 lantiq: make leds and network work on VG3503J
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36445
2013-04-25 19:03:41 +00:00
John Crispin
520bf46375 lantiq: fix board detection helpers
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36444
2013-04-25 19:03:37 +00:00
John Crispin
157c86371f lantiq: move dts files to thir own folder
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36443
2013-04-25 19:03:32 +00:00
John Crispin
9ae3adbe3c lantiq: disable sw portmaps on xrx200 ethernet as segment solation does not work yet
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36441
2013-04-25 19:03:25 +00:00
John Crispin
d3d18ae812 lantiq: make lzma-loader based images for VG3503J
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36440
2013-04-25 19:03:21 +00:00
John Crispin
a46acc80e4 lantiq: update VG3503J.dts to match new partition layout
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36439
2013-04-25 19:03:17 +00:00
John Crispin
46306c2e47 lantiq: add lzma-loader source
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36438
2013-04-25 19:03:13 +00:00
Gabor Juhos
151cadfe32 kernel: update linux 3.8 to 3.8.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36363
2013-04-19 08:07:34 +00:00
Gabor Juhos
604395650a kernel: update linux 3.8 to 3.8.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36332
2013-04-14 09:25:53 +00:00
John Crispin
d5f87e193c add VG3503J support
this adds basic support. the bootloader on these units is locked down.

until we have a replacement we can do basic testing with these env variables in uboot.

set update_openwrt erase 0xb0020000 0xb073ffff \;tftp 0x81000000 openwrt-lantiq-xway-VG3503J-squashfs.image\;cp.b 0x81000000 0xb0020000 \$(filesize)
set bootcmd cp.b 0xb0020000 0x80002000 0x400000\; go 0x80002000

unfortunatley the bootloader ignores the bootcmd, so autobooting is not possible yet. you need to call "run bootcmd" by hand after each power cycle.

please note that the vdsl firmware is non redistributable. you can find it in the GPL drop that BT provides.

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

SVN-Revision: 36315
2013-04-11 19:18:07 +00:00
John Crispin
fbc1e3732b add FE phy firmware
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36314
2013-04-11 19:17:48 +00:00
John Crispin
0d32469457 add missing pinmux patch
Fix lantiq pinmux which affected PCI and USB.

Known affected boards are: ARV4518 and ARV7518.

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

SVN-Revision: 36312
2013-04-11 07:12:37 +00:00
Steven Barth
ea94d66b0f Adapt default network configuration for IPv6
SVN-Revision: 36278
2013-04-09 08:03:08 +00:00
Gabor Juhos
f78c902cfd kernel: update linux 3.8 to 3.8.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36215
2013-04-06 11:40:44 +00:00
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
2013-04-03 10:01:07 +00:00
John Crispin
a4c745ee74 add a missing patch that makes board detection work again
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36186
2013-04-03 10:01:03 +00:00
Gabor Juhos
07532dca7f kernel: update linux 3.8 to 3.8.3
Also refresh the related generic/platform patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36039
2013-03-15 14:39:51 +00:00
John Crispin
4d5860cdd6 ACMP252: fix USB-enable GPIO and use default PCI configuration for now
EEPROM is an actial serial EEPROM on the WiFi module, therefore we can remove
ralink_eep from the dts.
USB power-enable GPIO turned out to be GPIO #3 (found via probing/brute-force).
PCI works with default settings as long as the vendor bootloader is used.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 36030
2013-03-14 18:43:54 +00:00
John Crispin
0dbe4f502d fix buttons on vr9 eval kit
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36029
2013-03-14 18:43:49 +00:00
John Crispin
9b4a8c6d1e select vdsl packages on vr9 boards
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36028
2013-03-14 18:43:44 +00:00
John Crispin
0f7f1f3347 fix fritzbox 3370 partitions/memory/cmdline
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36027
2013-03-14 18:43:39 +00:00
John Crispin
5452dbad61 build jffs images for nand based fritzbox
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36026
2013-03-14 18:43:34 +00:00
John Crispin
b98ae2b149 bump to v3.8
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36014
2013-03-14 18:42:29 +00:00
John Crispin
3ab75692f3 move GPHY FW blobs to non versioned folder
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36013
2013-03-14 18:42:21 +00:00
John Crispin
48a4b3a0cd fixes NO_XIP on CFI0001 flash
This patch disables the execute-in-place (XIP) support for flash on
lantiq. This has to be disabled since the bus which flash is connected
to does not support unaligned accesses. Resolves data bus errors on
Lantiq routers with Intel command set flash.

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

SVN-Revision: 35992
2013-03-12 13:53:08 +00:00
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
2013-03-12 13:52:54 +00:00
John Crispin
0b881eea72 unbreak dgn3500 spi-gpio
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 35989
2013-03-12 13:52:47 +00:00
Gabor Juhos
23b3b3a194 kernel: update linux 3.7 to 3.7.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35860
2013-03-03 13:57:40 +00:00
Gabor Juhos
3f749d1e8e kernel: update linux 3.7 to 3.7.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35644
2013-02-17 21:32:42 +00:00
Gabor Juhos
162b8e23a5 kernel: update linux 3.7 to 3.7.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35604
2013-02-15 07:36:15 +00:00
Gabor Juhos
bae4bfe3f8 kernel: update linux 3.7 to 3.7.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35571
2013-02-12 09:51:11 +00:00
Gabor Juhos
08ff976720 kernel: update linux 3.7 to 3.7.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35476
2013-02-04 10:02:56 +00:00
Gabor Juhos
562ba537fc kernel: update linux 3.7 to 3.7.5
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35390
2013-01-29 18:29:45 +00:00
John Crispin
a0f7a3c214 dont load gptu on ase
fixes #12792

SVN-Revision: 35357
2013-01-28 17:46:07 +00:00
John Crispin
0de0955931 refresh patches
SVN-Revision: 35355
2013-01-28 17:44:20 +00:00
John Crispin
0183df8ed9 Fix ARV7518 USB
This patch correctly fixes USB on Lantiq ARV7518.
There was a failed attempt on fixing this on r35077 (https://dev.openwrt.org/changeset/35077/).

Signed-off-by: José Vázquez Fernández <ppvazquezfer@gmail.com>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 35354
2013-01-28 17:43:35 +00:00
John Crispin
3534757bb9 Add ath9k eeprom and pci fixup support
Add ath9k eeprom and pci fixup support (again) for linux 3.7.

On linux 3.3, the fixup forced the regdomain to 0x67, causing low TX power.
This patch only corrects checksum, the rest of the EEPROM isn't changed.

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

SVN-Revision: 35353
2013-01-28 17:43:25 +00:00
John Crispin
5eb43d4cf8 Add support for ARV4518PW R01 and rename R01A.
There are two different versions of SMC7908A-ISP: R01 and R01A.
R01 has an internal clock for PCI, meanwhile R01A has an external clock.

This fixes: https://dev.openwrt.org/ticket/12884

Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 35352
2013-01-28 17:42:59 +00:00
Felix Fietkau
ed7ca5d44e kernel: clean up crypto related kconfig options
SVN-Revision: 35327
2013-01-27 17:23:12 +00:00
Gabor Juhos
15be1c9ee7 kernel: update linux 3.7 to 3.7.4
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35318
2013-01-24 17:08:37 +00:00
Jo-Philipp Wich
3a2cccda2e all targets: use numerically prefixed uci-defaults file names to better control order of execution
SVN-Revision: 35217
2013-01-18 12:42:53 +00:00
Gabor Juhos
0de21d9747 kernel: update linux 3.7 to 3.7.3
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35216
2013-01-18 11:44:42 +00:00
Gabor Juhos
c19c30cefd kernel: update linux 3.7 to 3.7.2
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35100
2013-01-12 11:43:08 +00:00
John Crispin
64910f4490 fixes USB reset on ARV7518
SVN-Revision: 35077
2013-01-10 06:44:58 +00:00
John Crispin
4834d09a3f fixes none-pci build
SVN-Revision: 35062
2013-01-09 09:04:09 +00:00
John Crispin
624eb36fff adds missing symbol
SVN-Revision: 34939
2012-12-30 21:31:10 +00:00
John Crispin
ce57efa3ea fixes usb port on arv 4518
SVN-Revision: 34935
2012-12-30 12:38:40 +00:00
Felix Fietkau
41a039f464 mips: use -mno-branch-likely for kernel and userspace, saves ~11k kernel size after lzma and ~12k squashfs size in the default configuration
SVN-Revision: 34909
2012-12-28 19:17:19 +00:00
John Crispin
efe3225e2b ar9 did not load atm driver properly
SVN-Revision: 34840
2012-12-22 10:16:52 +00:00
John Crispin
379cd6e25e dont use input layer for gpio buttons
SVN-Revision: 34839
2012-12-21 20:04:20 +00:00
John Crispin
90a3761b0b default switch setup for WBMR
SVN-Revision: 34838
2012-12-21 20:04:12 +00:00
John Crispin
ae0b9ff1ce Setting the MDC clock to 2.5MHz and changing the mii mode to rgmii seems to fix the communication issues with the ar8316 switch. (ticket #11143)
Tested only on the wbmr-hp-g300h, could affect/break other devices.

Signed-off-by: Sebastian Mayr <sebastian.mayr@student.uibk.ac.at>

SVN-Revision: 34837
2012-12-21 20:04:04 +00:00
John Crispin
9818a1f00b adds script to set wps info on boards with a wps button
SVN-Revision: 34836
2012-12-21 20:03:59 +00:00
John Crispin
3134205dfd minor tweaks to WBMR image
SVN-Revision: 34835
2012-12-21 20:03:54 +00:00
John Crispin
f4b2439554 add missing PHY_BASIC_FEATURES to 100mbit phys
SVN-Revision: 34826
2012-12-21 14:41:35 +00:00
John Crispin
861bf6af49 fix typo inside fritz3370 devicetree file
SVN-Revision: 34825
2012-12-21 14:41:30 +00:00
John Crispin
54c096527a more devicetree fixes
SVN-Revision: 34824
2012-12-21 13:47:55 +00:00
John Crispin
59cc6d9ddd improve button handling
SVN-Revision: 34823
2012-12-21 13:47:50 +00:00
John Crispin
7ce4c81647 add phy-reset gpio handling to xrx200-net
SVN-Revision: 34822
2012-12-21 13:47:44 +00:00
John Crispin
42d668174e add more lantiq phy ids based on daniels uboot code
SVN-Revision: 34821
2012-12-21 13:47:40 +00:00
John Crispin
16c5946f8b refresh patch and install v1.1 gphy blobs
SVN-Revision: 34820
2012-12-21 13:47:35 +00:00
John Crispin
1b0aaff246 adds a fix for ar8216 mii detection on etop driver
SVN-Revision: 34795
2012-12-19 16:20:24 +00:00
Mirko Vogt
e34a4e0c7b Do not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh)
SVN-Revision: 34793
2012-12-19 16:07:50 +00:00
John Crispin
687920ba3e minor basefiles fixes
SVN-Revision: 34790
2012-12-19 15:17:42 +00:00
John Crispin
e472671bde fix gptu clocks
SVN-Revision: 34789
2012-12-19 15:17:31 +00:00
John Crispin
5495ffbfdf more board file fixes
SVN-Revision: 34788
2012-12-19 15:17:11 +00:00
John Crispin
4aa8272c8b fix gptu patch - tapi should now load
SVN-Revision: 34777
2012-12-18 20:12:57 +00:00
John Crispin
af48676b28 update to 3.7.1
SVN-Revision: 34771
2012-12-18 19:32:01 +00:00
John Crispin
7bcb6b5479 make pinctrl-falcon honour status="disbaled";
SVN-Revision: 34714
2012-12-16 10:03:28 +00:00
John Crispin
573cf13419 fix falcon profile
SVN-Revision: 34713
2012-12-16 10:03:23 +00:00
John Crispin
33d3433d75 fix i2c-lantiq module
SVN-Revision: 34712
2012-12-16 10:03:18 +00:00
John Crispin
b637eb598d add falcon devicetree files
SVN-Revision: 34711
2012-12-16 10:03:11 +00:00
John Crispin
3ca51b5399 select hcd as a default package for the dgn3500
SVN-Revision: 34702
2012-12-15 11:01:16 +00:00
John Crispin
85e4da7e23 EASY80920 has 2 usb ports
SVN-Revision: 34701
2012-12-15 11:01:11 +00:00
John Crispin
3dac521a49 remove 3.3 and 3.6
SVN-Revision: 34699
2012-12-15 02:01:08 +00:00
John Crispin
1dece11487 cleanup basefiles
SVN-Revision: 34698
2012-12-15 02:01:00 +00:00
John Crispin
601bc28669 clean up modules.mk
SVN-Revision: 34697
2012-12-15 02:00:55 +00:00
John Crispin
2c33df0376 add devicetrees
SVN-Revision: 34691
2012-12-15 02:00:20 +00:00