Commit Graph

424 Commits (0d7130a68ff89f2f5479b8d78e26fddfe7b9c665)

Author SHA1 Message Date
John Crispin 858714fd06 lantiq: fix kernel config for DEU support
Trying to load the DEU modules results in unresolved symbols. This
provides them. This requires the previous patch to be applied first.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-29 16:33:37 +00:00
John Crispin baa114b59c lantiq: make xrx200 network driver use a tasklet for rx housekeeping
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37085 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-29 16:33:28 +00:00
John Crispin 42f6edb43c lantiq: remove 3.7 kernel patches
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-29 16:33:18 +00:00
John Crispin d2642de749 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 16:54:15 +00:00
John Crispin 1c19298315 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 16:54:07 +00:00
John Crispin 94d75044c4 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 16:54:03 +00:00
John Crispin 6c95162c34 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36901 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 08:25:12 +00:00
John Crispin 46a5493d48 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 08:25: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
Luka Perkov 0124271f8e lantiq: fix formating in .dts files
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-08 11:36:07 +00:00
Jonas Gorski 103893f67e target: don't build jffs2 nor images by default
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36863 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-05 20:58:59 +00:00
John Crispin 689059dc86 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36807 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-31 13:25:07 +00:00
John Crispin 1ab2d61148 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36783 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30 16:01:06 +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 319317b752 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36779 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30 16:00:32 +00:00
John Crispin 6e8045c0da 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36778 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30 16:00:24 +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
Gabor Juhos 590f53b235 kernel: update linux 3.8 to 3.8.13
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36724 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-26 16:02:31 +00:00
Jonas Gorski c3152edcbd kernel: move CONFIG_MIPS_SEAD3 to generic
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-12 21:41:55 +00:00
Gabor Juhos f4c75506c0 kernel: update linux 3.8 to 3.8.12
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36576 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-08 08:53:53 +00:00
John Crispin 8a699d1704 lantiq: enable portmaps again and set max port to 2
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-07 10:58:52 +00:00
Gabor Juhos eeea332f33 kernel: update linux 3.8 to 3.8.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-01 22:15:18 +00:00
Gabor Juhos 440bb56dc2 kernel: update linux 3.8 to 3.8.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36493 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-30 10:43:59 +00:00
Gabor Juhos 14fec491c7 kernel: update linux 3.8 to 3.8.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-26 16:55:42 +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
John Crispin d23f17e56d lantiq: fix board detection helpers
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-25 19:03:37 +00:00
John Crispin d88043aa65 lantiq: move dts files to thir own folder
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-25 19:03:32 +00:00
John Crispin f8a2ed97df lantiq: disable sw portmaps on xrx200 ethernet as segment solation does not work yet
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-25 19:03:25 +00:00
John Crispin bf46e96234 lantiq: make lzma-loader based images for VG3503J
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36440 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-25 19:03:21 +00:00
John Crispin b40108b0d0 lantiq: update VG3503J.dts to match new partition layout
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-25 19:03:17 +00:00
John Crispin c69c086dfb lantiq: add lzma-loader source
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-25 19:03:13 +00:00
Gabor Juhos 5afe312fc7 kernel: update linux 3.8 to 3.8.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36363 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-19 08:07:34 +00:00
Gabor Juhos 9198c2f4ab kernel: update linux 3.8 to 3.8.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36332 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-14 09:25:53 +00:00
John Crispin 0aa4ffad7a [lantiq] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-11 19:18:07 +00:00
John Crispin 5bb33bd0cf [lantiq] add FE phy firmware
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-11 19:17:48 +00:00
John Crispin ce4da1634d [lantiq] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36312 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-11 07:12:37 +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
Gabor Juhos 67dfec2fa8 kernel: update linux 3.8 to 3.8.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36215 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-06 11:40:44 +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 f73f19c966 [lantiq] add a missing patch that makes board detection work again
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36186 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 10:01:03 +00:00
Gabor Juhos 84da566873 kernel: update linux 3.8 to 3.8.3
Also refresh the related generic/platform patches.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-15 14:39:51 +00:00
John Crispin 762628c216 [lantiq] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36030 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-14 18:43:54 +00:00
John Crispin 6bead98ab0 [lantiq] fix buttons on vr9 eval kit
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36029 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-14 18:43:49 +00:00
John Crispin 8df178a888 [lantiq] select vdsl packages on vr9 boards
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36028 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-14 18:43:44 +00:00
John Crispin 3750d2ab0a [lantiq] fix fritzbox 3370 partitions/memory/cmdline
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-14 18:43:39 +00:00
John Crispin 1a11814aec [lantiq] build jffs images for nand based fritzbox
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-14 18:43:34 +00:00
John Crispin d5d3a4d87b [lantiq] bump to v3.8
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36014 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-14 18:42:29 +00:00
John Crispin b9be683c5c [lantiq] move GPHY FW blobs to non versioned folder
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-14 18:42:21 +00:00
John Crispin 92c75fe5c3 [lantiq] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35992 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-12 13:53:08 +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
John Crispin c1d133c6d7 [lantiq] unbreak dgn3500 spi-gpio
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35989 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-12 13:52:47 +00:00
Gabor Juhos f4b2c62d60 kernel: update linux 3.7 to 3.7.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 13:57:40 +00:00
Gabor Juhos ca34712a7c kernel: update linux 3.7 to 3.7.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35644 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-17 21:32:42 +00:00
Gabor Juhos 240c27a41f kernel: update linux 3.7 to 3.7.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-15 07:36:15 +00:00
Gabor Juhos 8601a4452e kernel: update linux 3.7 to 3.7.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-12 09:51:11 +00:00
Gabor Juhos d619b697b5 kernel: update linux 3.7 to 3.7.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35476 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-04 10:02:56 +00:00
Gabor Juhos 046963da3a kernel: update linux 3.7 to 3.7.5
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 18:29:45 +00:00
John Crispin a26376e1bf [lantiq] dont load gptu on ase
fixes #12792

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35357 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-28 17:46:07 +00:00
John Crispin d9ec668adb [lantiq] refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35355 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-28 17:44:20 +00:00
John Crispin 1c3c233117 [lantiq] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35354 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-28 17:43:35 +00:00
John Crispin 33fa22f868 [lantiq] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-28 17:43:25 +00:00
John Crispin b2873fb2ed [lantiq] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35352 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-28 17:42:59 +00:00
Felix Fietkau a35962e3b7 kernel: clean up crypto related kconfig options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 17:23:12 +00:00
Gabor Juhos 1ccd35ab43 kernel: update linux 3.7 to 3.7.4
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35318 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-24 17:08:37 +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
Gabor Juhos 3ab3849ad3 kernel: update linux 3.7 to 3.7.3
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35216 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-18 11:44:42 +00:00
Gabor Juhos 64cfd63980 kernel: update linux 3.7 to 3.7.2
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35100 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-12 11:43:08 +00:00
John Crispin d54e68a196 [lantiq] fixes USB reset on ARV7518
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35077 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-10 06:44:58 +00:00
John Crispin e965a05114 [lantiq] fixes none-pci build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-09 09:04:09 +00:00
John Crispin 14fa63abc1 [lantiq] adds missing symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-30 21:31:10 +00:00
John Crispin 4a54ead634 [lantiq] fixes usb port on arv 4518
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-30 12:38:40 +00:00
Felix Fietkau c28528a913 mips: use -mno-branch-likely for kernel and userspace, saves ~11k kernel size after lzma and ~12k squashfs size in the default configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-28 19:17:19 +00:00
John Crispin 6ee5434d24 [lantiq] ar9 did not load atm driver properly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 10:16:52 +00:00
John Crispin a52f5c57e3 [lantiq] dont use input layer for gpio buttons
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34839 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 20:04:20 +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 c2951f7a26 [lantiq] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 20:04:04 +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 9e6f0ec839 [lantiq] minor tweaks to WBMR image
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 20:03:54 +00:00
John Crispin 99a3a72f11 [lantiq] add missing PHY_BASIC_FEATURES to 100mbit phys
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34826 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 14:41:35 +00:00
John Crispin f0eac14112 [lantiq] fix typo inside fritz3370 devicetree file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34825 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 14:41:30 +00:00
John Crispin e975fbe3fb [lantiq] more devicetree fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34824 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 13:47:55 +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
John Crispin 2a00066a53 [lantiq] add phy-reset gpio handling to xrx200-net
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34822 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 13:47:44 +00:00
John Crispin 270bb4fee4 [lantiq] add more lantiq phy ids based on daniels uboot code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34821 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 13:47:40 +00:00
John Crispin f4d889b9be [lantiq] refresh patch and install v1.1 gphy blobs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34820 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 13:47:35 +00:00
John Crispin 2187917371 [lantiq] adds a fix for ar8216 mii detection on etop driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34795 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 16:20:24 +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
John Crispin ffe3325930 [lantiq] minor basefiles fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 15:17:42 +00:00
John Crispin bfed5c6801 [lantiq] fix gptu clocks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34789 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 15:17:31 +00:00
John Crispin cb8fc67686 [lantiq] more board file fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34788 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 15:17:11 +00:00
John Crispin 422825b495 [lantiq] fix gptu patch - tapi should now load
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34777 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 20:12:57 +00:00
John Crispin 018816333c [lantiq] update to 3.7.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34771 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 19:32:01 +00:00
John Crispin 9383f6fa7d [lantiq] make pinctrl-falcon honour status="disbaled";
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34714 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-16 10:03:28 +00:00
John Crispin 10ddaf7cbc [lantiq] fix falcon profile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-16 10:03:23 +00:00
John Crispin bcb1d9c43b [lantiq] fix i2c-lantiq module
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34712 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-16 10:03:18 +00:00
John Crispin 84b15c5385 [lantiq] add falcon devicetree files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34711 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-16 10:03:11 +00:00
John Crispin a7f6281e29 [lantiq] select hcd as a default package for the dgn3500
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34702 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 11:01:16 +00:00
John Crispin ab0787e58f [lantiq] EASY80920 has 2 usb ports
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34701 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 11:01:11 +00:00
John Crispin 4257df4d28 [lantiq] remove 3.3 and 3.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34699 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 02:01:08 +00:00
John Crispin dc4a41291d [lantiq] cleanup basefiles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 02:01:00 +00:00
John Crispin 8bfb4ab15b [lantiq] clean up modules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34697 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 02:00:55 +00:00
John Crispin 62e5c9fddf [lantiq] add devicetrees
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34691 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 02:00:20 +00:00
John Crispin 48db0765a6 [lantiq] add linux-v3.7
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34687 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 01:59:45 +00:00
Gabor Juhos 2c0ebd76cf kernel: update linux 3.6 to 3.6.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-11 20:14:39 +00:00
Gabor Juhos 77279cff10 kernel: update linux 3.6 to 3.6.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34578 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-08 15:01:33 +00:00
Gabor Juhos 6e6c016e80 remove common symbols from 3.6 configs
The removed symbols are present in the generic configuration.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34404 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 15:21:41 +00:00
Gabor Juhos b8f87e36f2 remove common symbols from 3.3 configs
The removed symbols are present in the generic configuration.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 15:21:35 +00:00
Gabor Juhos 56e999eaf3 kernel: update linux 3.6 to 3.6.8
Also refresh the affected patches.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34402 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 07:42:19 +00:00
John Crispin 811c89a11d [lantiq] adds proper package selection for dgn3500
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34286 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-21 06:06:48 +00:00
Gabor Juhos a0e5999983 kernel: update linux 3.6 to 3.6.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-18 08:41:31 +00:00
John Crispin 1d0ec1e960 [lantiq] fixes ar9 / dgn3500 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34180 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-13 08:54:14 +00:00
John Crispin 5c300b9f41 [lantiq] add more profiles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-09 19:26:58 +00:00
John Crispin 3a08b05184 [lantiq] a few more dts files (WIP)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-09 19:26:43 +00:00
John Crispin c27f32609a [lantiq] add mtd split and atm patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34129 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-09 19:26:30 +00:00
John Crispin ce0ec8cf6f [lantiq] add OWRTDTB marker patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34100 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-06 10:39:43 +00:00
John Crispin 8dd03e55f9 [lantiq] add support for arv7525
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-06 07:38:24 +00:00
Gabor Juhos d7e7749443 kernel: update linux 3.6 to 3.6.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-05 13:22:09 +00:00
John Crispin 434f5edbf7 [lantiq] 3.6 is not the default yet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-03 13:29:44 +00:00
John Crispin 403bf784c9 [lantiq] adds dts files and make devicetree images buildable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34064 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-02 20:07:47 +00:00
John Crispin 2b11c5869f [lantiq] update ase target for 3.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-02 20:07:41 +00:00
John Crispin 613f20baba [lantiq] add subtarget, as of 3.6 we dont seperate xway SoC
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-02 20:07:36 +00:00
John Crispin 3c3f1ddfbd [lantiq] adds 3.6 files, patches and config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34061 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-02 20:07:26 +00:00
John Crispin 5a5e4b2782 [lantiq] move files/ -> files-3.3/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-02 20:07:02 +00:00
John Crispin bd7dc4e3ea [lantiq] prepare Makefile for 3.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34059 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-02 20:06:51 +00:00
Gabor Juhos e036077e9e target: refresh all target configs with kconfig.pl
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33987 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-29 10:11:05 +00:00
John Crispin fb47a917c2 drop GPIODEV platform code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33825 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-17 21:53:37 +00:00
John Crispin e179b44f1d [lantiq] tapi was not registeredproperly for most arcadyan boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33591 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-28 20:57:06 +00:00
Gabor Juhos df1e2bf058 generic: move GENERIC_PWM symbol into the generic config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 06:38:31 +00:00
Luka Perkov aeec5aa62f lantiq: fix sx76x default uci network configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33324 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-06 00:09:46 +00:00
John Crispin 00f2d18224 [lantiq] pci gpio mapping
This patch fixes the GPIO ALTSEL settings for some of the GPIOs used by the PCI subsystem in Lantiq Danube. These changes are required for more than one PCI device to work. Tested with an ARV7510PW having two PCI-devices; a VIA USB controller and a Ralink WLAN mini-PCI card.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-08 12:14:43 +00:00
John Crispin 2307592764 [lantiq] W502V/ARV4525 wireless mac bugfix
The ARV4525 board init is passing the wrong offset to
arv_register_ath5k() resulting in a bogus mac.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-04 20:14:52 +00:00
John Crispin ce06d1cf7b [lantiq] cleanup patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32953 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-03 08:53:02 +00:00
John Crispin 894d03b715 [lantiq] fixes i2c clock enable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02 13:29:49 +00:00
John Crispin f3513b1b9b [lantiq] add lantiq svip support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32925 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-31 18:49:54 +00:00
John Crispin c5b2a22982 [lantiq] rebase config-3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32797 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-24 17:28:25 +00:00
John Crispin 33b2ded9b9 [lantiq] move CONFIG_ETHERNET_PACKET_MANGLE to a generic config file
This broke falcon builds

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32794 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-24 15:33:01 +00:00
John Crispin ff53498dd2 [lantiq] clean up generic image building
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-05 17:49:42 +00:00
John Crispin 266c70cdf4 [kernel] bump to 3.3.8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-05 06:57:51 +00:00
Luka Perkov 1a03c75de1 uboot-envtools: update to 2012.04.01
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-04 21:55:49 +00:00
John Crispin 8cf477bc73 [lantiq] adds unset Kbuild symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-02 14:03:32 +00:00
John Crispin c7942cd68f [kernel] adds patch to make Tantos (psb6970) switch buildable again
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-30 17:41:28 +00:00
Gabor Juhos 66fca35779 lantiq: use the generic uci-default functions for initial LED setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 16:39:21 +00:00
John Crispin c9b641b53d [lantiq] move files-3.3 -> files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 16:13:02 +00:00
John Crispin 78bf2cbd71 [lantiq] 3.2 R.I.P.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 16:12:59 +00:00
John Crispin 7ee1e4f822 [lantiq] dgn3500 support with eeprom loading from sysfs
WIFI eeprom:
As discussed, it is impossible for nand and spi flash platforms to have the eeprom data available from mtd. I suggested to load the eeprom from user-space. I've looked into regular firmware loading but this is only possible when using modules.  I've created a sysfs entry that allows reading and writing the eeprom data to the platform data. After loading the eeprom data I rely on pci-hotplug support to disable the bogus pci device and rescan the bus (with fixups and all). Because hotplug is not available, an init script is created that performs the copy from mtd to platform data. I think it is best to eventually move the sysfs functions to dev_wifi_athxk.c file, this would get rid of the external to the ath9k platform data.

SPI flash:
It seems that the spi-xway driver is not really working. It causes my kernel to crash in all sorts of ways. I added to bitbang SPI to be able to the calibration data mention above.
I've kept the original mtd partitioning that Netgear uses.

Buttons/LED:
Both buttons are working properly. Two leds are not enabled: The red internet led is connected to the pci_gnt1 pin... I can't disable it because then DMA stops working.
The green wifi led is connected to an unknown atheros gpio.

Signed-off-by: Pieter Voorthuijsen <p.voorthuijsen at gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 16:02:22 +00:00
John Crispin f2dfa4d3a4 [lantiq] fixes zyxel p2601hnfx
moves the linux partition, removes the config partition and the
buttons settings have small adjustments.

Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 16:02:20 +00:00
John Crispin 9669f7a243 [lantiq] Add basic configuration for new board ZTE H201L. Still missing are button and led gpio values.
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31908 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 16:02:16 +00:00
Gabor Juhos e100214e23 kernel: update linux 3.3 to 3.3.7
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-23 21:05:32 +00:00
Felix Fietkau 192dbdd2f5 lantiq: allow platforms with rt2x00 to override the mac address without overriding eeprom, fixes bogus wlan mac address on arv4520
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-20 21:58:03 +00:00
Gabor Juhos cb4c118e50 linux: move certain disabled symbols to the generic configs
* CONFIG_ARCH_DMA_ADDR_T_64BIT
  * CONFIG_ARCH_HAS_ILOG2_U32
  * CONFIG_ARCH_HAS_ILOG2_U64
  * CONFIG_ARCH_PHYS_ADDR_T_64BIT
  * CONFIG_ARCH_SUPPORTS_MSI
  * CONFIG_GENERIC_CPU_DEVICES
  * CONFIG_HWMON_DEBUG_CHIP
  * CONFIG_I2C_PXA_PCI
  * CONFIG_LEDS_GPIO
  * CONFIG_MINIX_FS_NATIVE_ENDIAN
  * CONFIG_MLX4_CORE
  * CONFIG_POWER_SUPPLY
  * CONFIG_POWER_SUPPLY_DEBUG
  * CONFIG_QUOTACTL
  * CONFIG_SDIO_UART
  * CONFIG_SENSORS_K10TEMP
  * CONFIG_SENSORS_SCH56XX_COMMON
  * CONFIG_SENSORS_VIA_CPUTEMP
  * CONFIG_SERIO_AMBAKMI
  * CONFIG_SERIO_I8042
  * CONFIG_SERIO_LIBPS2
  * CONFIG_SERIO_PCIPS2
  * CONFIG_SERIO_RAW
  * CONFIG_SERIO_SERPORT
  * CONFIG_SPI_BITBANG
  * CONFIG_SPI_GPIO

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-15 10:58:52 +00:00
John Crispin e6d50dae72 [lantiq] code style cleanup of the mach files
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31735 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-15 09:38:05 +00:00
John Crispin 499d5b1ca6 [lantiq] adds zyxel p2601hnfx support
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-15 09:38:02 +00:00
John Crispin d92ae2699f [lantiq] set 3.3.6 as default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31733 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-15 09:37:59 +00:00
John Crispin 27cb15eccd [lantiq] set 3.3.5 as default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 16:11:26 +00:00
Gabor Juhos cc87185921 kernel: update linux 3.3 to 3.3.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 09:18:32 +00:00
John Crispin 5c60980c61 [lantiq] Add 3.3 config files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-09 12:52:24 +00:00
John Crispin be7f324d5e [lantiq] Add missing 3.3 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31671 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-09 12:52:21 +00:00
John Crispin f18079cbc3 [lantiq] Drop 2.6.32 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31670 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-09 12:52:19 +00:00
Gabor Juhos 3303e79b79 kernel: update linux 3.3 to 3.3.5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31645 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-07 20:11:43 +00:00
Felix Fietkau f20d1938b5 kernel: rewrite the phy packet hook, put it in the network stack to avoid having to keep non-upstream ethernet driver changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31637 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-06 21:19:14 +00:00
Gabor Juhos 465b2a024c kernel: update linux 3.3 to 3.3.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31541 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-30 08:38:11 +00:00
Jonas Gorski 5520ed39bf kernel: update linux 3.2 to 3.2.16
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-24 09:25:35 +00:00
John Crispin 22d856df2d [lantiq] Adding wifi eeprom extract for ARV752DPW - Easybox 802
Signed-off-by: Christian Rustmeier <rustmeier a.t. gmail dotty com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-23 09:40:37 +00:00
Mirko Vogt ac435b7daf [target/linux/lantiq] change /etc/config/network according to actual VLAN config to enable LAN port 4 on the ARV4520PW board
The VLAN mapping on the ARV4520PW board is the following:

port on Router: | VLAN in software:
LAN 1           | 3
LAN 2           | 2
LAN 3           | 1
LAN 4           | 0
DSL             | 4

So LAN4 is not VLAN4 but VLAN0 (VLAN4 is DSL port) -> set "3 2 1 0 5t" as default switch config.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31391 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-21 08:07:21 +00:00
Jonas Gorski 7865291832 kernel: also update the targets to use 3.2.15
Thanks Gabor for spotting it.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-17 13:12:14 +00:00
Jonas Gorski afbf3d994e kernel: update linux 3.3 to 3.3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-17 12:51:02 +00:00
Jonas Gorski 23578461a9 kernel: update linux 3.2 to 3.2.15
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31335 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-17 12:50:54 +00:00
John Crispin b9f03a5a14 [lantiq] adds 3.3 patches and files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-16 12:31:48 +00:00
John Crispin 37a565ab65 [lantiq] update 3.2 patches
sync with lantiq kernel series

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31260 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-12 12:33:56 +00:00
Jonas Gorski fe073513d5 kernel: update linux 3.2 to 3.2.14
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31222 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-09 14:48:51 +00:00
John Crispin b01dd0668d [lantiq] add Easybox 802 - ARV752DPW
Implements the ARV752DPW architecture in mach-arv.c

Signed-off-by: Christian Rustmeier <rustmeier@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31206 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-05 20:03:21 +00:00
John Crispin 9a4f59ca97 [lantiq] enable usb on dgn3500
A power-enable toggle gpio is not available, it is always on and protected with a resettable fuse.

Signed-off-by: Pieter Voorthuijsen<p.voorthuijsen at gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31205 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-05 20:03:19 +00:00
Jonas Gorski d944e45d65 kernel: update linux 3.2 to 3.2.13 and refresh patches
Also remove a duplicate patch from lantiq (already in generic).

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31158 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-01 07:56:55 +00:00
Felix Fietkau edba77a97d ath9k: make endian check optional
Turns out it triggers on some AR71xx devices where no swapping should be done.
Enable endian check for the lantiq target.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 13:21:53 +00:00
John Crispin 03f8b1d159 [lantiq] cleanup atheros wifi handling
Signed-off-by: Andrej Vlašić <andrej.vlasic0@gmail.com>
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31064 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-25 08:50:38 +00:00
John Crispin eef8a1999f [lantiq] cleanup image makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-25 08:50:32 +00:00
John Crispin 533e67258b [lantiq] update /etc/uci-defaults/*
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-25 08:50:30 +00:00
John Crispin f7ce6d56ca [lantiq] update profiles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31061 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-25 08:50:27 +00:00
John Crispin 62692a5350 [lantiq] bump kernel to 3.2.12
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-25 08:50:09 +00:00
Felix Fietkau 887c0ecd98 targets: replace madwifi in profiles with ath5k, madwifi is unmaintained
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 09:58:13 +00:00
Jonas Gorski a93230e202 lantiq: load dwc_otg early
Needed for using external rootfs on usb sticks.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-14 10:59:52 +00:00
John Crispin f3ef4a04f7 [lantiq] fixes etop locking issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-23 07:42:00 +00:00
John Crispin f2983914cb [lantiq] generate uboot environment data in target
With this patch it is possible to generate uboot environment config file
inside lantiq target. Currently it is only supporting GIGASX76X board.

uboot environment config is used by fw_printenv fw_setenv tools.

Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30537 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 19:07:11 +00:00
John Crispin b7e4ba527f [lantiq] fix compile error in previous commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30534 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 19:07:05 +00:00
John Crispin f7b9691687 [lantiq] Support booting the Speedport W502V using BRN-BOOT.
While the disadvantage is less available flash space, it's easy and
safe to flash without opening the device.
Going back to the original firmware is also possible.

This patch add two firmware utilities, mkbrncmdline and mkbrnboot.

mkbrncmdline patches the uncompressed kernel so the registeres a0 to
a3 are initialized and the memory size is passed in.

mkbrnboot takes the lzma compressed kernel and squashfs images and
creates a firmware image that can be flashed using the BRN-BOOT
recovery kernel, which is booted by holding both buttons when
powering up the device and will listen on http://192.168.2.1.

The firmware file from bin/lantiq/ to use is
openwrt-lantiq-danube-ARV4525PW-BRNDTW502-brnImage

The BRN-BOOT recovery kernel does size-check the image, so if it's
too big to fit into flash it will complain accordingly.

A second patch is needed to make the wired network interface work
since there is no u-boot to pre-initialise it.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30532 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 17:48:04 +00:00
John Crispin 533f7ff4e8 [lantiq] fixes irq locking in ethernet driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30522 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 15:05:58 +00:00
John Crispin 02710eaa1f [lantiq] fixes gpio_export patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30521 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 15:05:57 +00:00
John Crispin ce45d49f3c [ltq-dsl] add annex selection support to ltq_dsl package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 15:05:49 +00:00
Jonas Gorski b1059710a2 kernel: update linux 3.1 to 3.1.10
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29966 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 09:43:57 +00:00
John Crispin 286f36a31d [lantiq] gigaset 76x
* fixes leds
* adds all leds found on the sx763 board
* removes board_config from flash layout because wireless data is stored in kernel (ath5k)
* fix button handling

Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29763 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-17 12:10:35 +00:00
Jonas Gorski 348b4546eb kernel: update linux 3.1 to 3.1.9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-13 14:38:28 +00:00
Jonas Gorski 77eea315ca linux: update 3.1 to 3.1.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29470 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-06 19:50:30 +00:00
John Crispin 35fe83070a lantiq: bump to 3.1.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29348 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-28 10:22:58 +00:00
John Crispin 78a3a35804 lantiq: drop 009-MIPS-make-oprofile-use-cp0_perfcount_irq-if-it-is-se.patch
This patch is/was a duplicate of generic/patches-3.1/307-mips_oprofile_fix.patch

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29294 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-23 12:22:15 +00:00
John Crispin 3e358d18e2 lantiq:
* fixes ath5k eeprom handling
* fixes sx76x
* adds sx76x to userland api
* minor style cleanups

Signed-of-by: Andrej Vlašić <andrej.vlasic0@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29292 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-22 18:50:51 +00:00
John Crispin c8c032629a lantiq: add runtime generation of /etc/config/network
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29161 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-15 18:21:00 +00:00
John Crispin 8f83f4a62f lantiq: fix falcon build breakage
dev-wifi-rt2x00 fails to build on falcon due to missing pci

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29129 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 18:55:58 +00:00
Jonas Gorski e30803b3df linux: update 3.1 to 3.1.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 10:48:05 +00:00
John Crispin b94c5c5031 lantiq: add uci-defaults code for handling leds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 23:40:21 +00:00