Commit graph

409 commits

Author SHA1 Message Date
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
John Crispin
3a948770cf add linux-v3.7
SVN-Revision: 34687
2012-12-15 01:59:45 +00:00
Gabor Juhos
2b378d11c8 kernel: update linux 3.6 to 3.6.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34639
2012-12-11 20:14:39 +00:00
Gabor Juhos
2581173660 kernel: update linux 3.6 to 3.6.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34578
2012-12-08 15:01:33 +00:00
Gabor Juhos
c2f018fca2 remove common symbols from 3.6 configs
The removed symbols are present in the generic configuration.

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

SVN-Revision: 34404
2012-11-29 15:21:41 +00:00
Gabor Juhos
1f516235ea remove common symbols from 3.3 configs
The removed symbols are present in the generic configuration.

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

SVN-Revision: 34403
2012-11-29 15:21:35 +00:00
Gabor Juhos
3a4d0ebd5c kernel: update linux 3.6 to 3.6.8
Also refresh the affected patches.

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

SVN-Revision: 34402
2012-11-29 07:42:19 +00:00
John Crispin
f7ead0a2d5 adds proper package selection for dgn3500
SVN-Revision: 34286
2012-11-21 06:06:48 +00:00
Gabor Juhos
ff1e854511 kernel: update linux 3.6 to 3.6.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34227
2012-11-18 08:41:31 +00:00
John Crispin
3b419e506c fixes ar9 / dgn3500 support
SVN-Revision: 34180
2012-11-13 08:54:14 +00:00
John Crispin
71ddec8091 add more profiles
SVN-Revision: 34131
2012-11-09 19:26:58 +00:00
John Crispin
88e4d93802 a few more dts files (WIP)
SVN-Revision: 34130
2012-11-09 19:26:43 +00:00
John Crispin
a30b3066ce add mtd split and atm patch
SVN-Revision: 34129
2012-11-09 19:26:30 +00:00
John Crispin
7404e59bbd add OWRTDTB marker patch
SVN-Revision: 34100
2012-11-06 10:39:43 +00:00
John Crispin
3a1851964e add support for arv7525
SVN-Revision: 34097
2012-11-06 07:38:24 +00:00
Gabor Juhos
e8669729bc kernel: update linux 3.6 to 3.6.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34086
2012-11-05 13:22:09 +00:00
John Crispin
05fbb370dc 3.6 is not the default yet
SVN-Revision: 34065
2012-11-03 13:29:44 +00:00
John Crispin
a9ad36b7f1 adds dts files and make devicetree images buildable
SVN-Revision: 34064
2012-11-02 20:07:47 +00:00
John Crispin
c8ae6dac56 update ase target for 3.6
SVN-Revision: 34063
2012-11-02 20:07:41 +00:00
John Crispin
dc8641f7fa add subtarget, as of 3.6 we dont seperate xway SoC
SVN-Revision: 34062
2012-11-02 20:07:36 +00:00
John Crispin
dd619da4fc adds 3.6 files, patches and config
SVN-Revision: 34061
2012-11-02 20:07:26 +00:00
John Crispin
736835343c move files/ -> files-3.3/
SVN-Revision: 34060
2012-11-02 20:07:02 +00:00
John Crispin
fa316620a7 prepare Makefile for 3.6
SVN-Revision: 34059
2012-11-02 20:06:51 +00:00
Gabor Juhos
e91dc2e5b3 target: refresh all target configs with kconfig.pl
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33987
2012-10-29 10:11:05 +00:00
John Crispin
6993e19532 drop GPIODEV platform code
SVN-Revision: 33825
2012-10-17 21:53:37 +00:00
John Crispin
9dc218f88f tapi was not registeredproperly for most arcadyan boards
SVN-Revision: 33591
2012-09-28 20:57:06 +00:00
Gabor Juhos
43147ffec5 generic: move GENERIC_PWM symbol into the generic config
SVN-Revision: 33383
2012-09-13 06:38:31 +00:00
Luka Perkov
4c76b3635b lantiq: fix sx76x default uci network configuration
SVN-Revision: 33324
2012-09-06 00:09:46 +00:00
John Crispin
64b385dda7 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>

SVN-Revision: 33054
2012-08-08 12:14:43 +00:00
John Crispin
5f438c3565 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>

SVN-Revision: 32993
2012-08-04 20:14:52 +00:00
John Crispin
060b161ca6 cleanup patches
SVN-Revision: 32953
2012-08-03 08:53:02 +00:00
John Crispin
c2d3274ffc fixes i2c clock enable
SVN-Revision: 32949
2012-08-02 13:29:49 +00:00
John Crispin
f5f36911f0 add lantiq svip support
SVN-Revision: 32925
2012-07-31 18:49:54 +00:00
John Crispin
5178c177dc rebase config-3.3
SVN-Revision: 32797
2012-07-24 17:28:25 +00:00
John Crispin
48869ef7c0 move CONFIG_ETHERNET_PACKET_MANGLE to a generic config file
This broke falcon builds

SVN-Revision: 32794
2012-07-24 15:33:01 +00:00
John Crispin
95e69ac4f1 clean up generic image building
SVN-Revision: 32065
2012-06-05 17:49:42 +00:00
John Crispin
a4d96aae8d bump to 3.3.8
SVN-Revision: 32055
2012-06-05 06:57:51 +00:00
Luka Perkov
7f00e5ffc6 uboot-envtools: update to 2012.04.01
SVN-Revision: 32051
2012-06-04 21:55:49 +00:00
John Crispin
2b4ef2eafa adds unset Kbuild symbol
SVN-Revision: 32026
2012-06-02 14:03:32 +00:00
John Crispin
47ef62d1b8 adds patch to make Tantos (psb6970) switch buildable again
SVN-Revision: 32006
2012-05-30 17:41:28 +00:00
Gabor Juhos
ff74305623 lantiq: use the generic uci-default functions for initial LED setup
SVN-Revision: 31995
2012-05-29 16:39:21 +00:00
John Crispin
f567980d38 move files-3.3 -> files
SVN-Revision: 31912
2012-05-27 16:13:02 +00:00
John Crispin
8002770520 3.2 R.I.P.
SVN-Revision: 31911
2012-05-27 16:12:59 +00:00
John Crispin
81ddc886e1 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>

SVN-Revision: 31910
2012-05-27 16:02:22 +00:00
John Crispin
6e8fe84472 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>

SVN-Revision: 31909
2012-05-27 16:02:20 +00:00
John Crispin
3f2f50c681 Add basic configuration for new board ZTE H201L. Still missing are button and led gpio values.
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 31908
2012-05-27 16:02:16 +00:00
Gabor Juhos
2ae5581447 kernel: update linux 3.3 to 3.3.7
SVN-Revision: 31848
2012-05-23 21:05:32 +00:00
Felix Fietkau
9037c2ccc6 lantiq: allow platforms with rt2x00 to override the mac address without overriding eeprom, fixes bogus wlan mac address on arv4520
SVN-Revision: 31835
2012-05-20 21:58:03 +00:00
Gabor Juhos
39994008cb 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

SVN-Revision: 31737
2012-05-15 10:58:52 +00:00
John Crispin
364f47e454 code style cleanup of the mach files
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 31735
2012-05-15 09:38:05 +00:00
John Crispin
07dca108a9 adds zyxel p2601hnfx support
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 31734
2012-05-15 09:38:02 +00:00
John Crispin
9785ec070e set 3.3.6 as default
SVN-Revision: 31733
2012-05-15 09:37:59 +00:00
John Crispin
c61ada1db8 set 3.3.5 as default
SVN-Revision: 31718
2012-05-14 16:11:26 +00:00
Gabor Juhos
b472e5d12e kernel: update linux 3.3 to 3.3.6
SVN-Revision: 31709
2012-05-14 09:18:32 +00:00
John Crispin
dc4cfd3a64 Add 3.3 config files
SVN-Revision: 31672
2012-05-09 12:52:24 +00:00
John Crispin
75827c538d Add missing 3.3 patches
SVN-Revision: 31671
2012-05-09 12:52:21 +00:00
John Crispin
7d638fbb2f Drop 2.6.32 support
SVN-Revision: 31670
2012-05-09 12:52:19 +00:00
Gabor Juhos
34018a630f kernel: update linux 3.3 to 3.3.5
SVN-Revision: 31645
2012-05-07 20:11:43 +00:00
Felix Fietkau
0ff3c396d3 kernel: rewrite the phy packet hook, put it in the network stack to avoid having to keep non-upstream ethernet driver changes
SVN-Revision: 31637
2012-05-06 21:19:14 +00:00
Gabor Juhos
cbfce53831 kernel: update linux 3.3 to 3.3.4
SVN-Revision: 31541
2012-04-30 08:38:11 +00:00
Jonas Gorski
22b4e6b882 kernel: update linux 3.2 to 3.2.16
SVN-Revision: 31459
2012-04-24 09:25:35 +00:00
John Crispin
d4f3677cba Adding wifi eeprom extract for ARV752DPW - Easybox 802
Signed-off-by: Christian Rustmeier <rustmeier a.t. gmail dotty com>

SVN-Revision: 31443
2012-04-23 09:40:37 +00:00
Mirko Vogt
87cdc0dd5b 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.

SVN-Revision: 31391
2012-04-21 08:07:21 +00:00
Jonas Gorski
a8f2bc682e kernel: also update the targets to use 3.2.15
Thanks Gabor for spotting it.

SVN-Revision: 31337
2012-04-17 13:12:14 +00:00
Jonas Gorski
3a9b6dc313 kernel: update linux 3.3 to 3.3.2
SVN-Revision: 31336
2012-04-17 12:51:02 +00:00
Jonas Gorski
ee4c47a134 kernel: update linux 3.2 to 3.2.15
SVN-Revision: 31335
2012-04-17 12:50:54 +00:00
John Crispin
83948d6385 adds 3.3 patches and files
SVN-Revision: 31307
2012-04-16 12:31:48 +00:00
John Crispin
e3889bcf7c update 3.2 patches
sync with lantiq kernel series

SVN-Revision: 31260
2012-04-12 12:33:56 +00:00
Jonas Gorski
16b4cbcdd6 kernel: update linux 3.2 to 3.2.14
SVN-Revision: 31222
2012-04-09 14:48:51 +00:00
John Crispin
da3f3f8f9d add Easybox 802 - ARV752DPW
Implements the ARV752DPW architecture in mach-arv.c

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

SVN-Revision: 31206
2012-04-05 20:03:21 +00:00
John Crispin
94af65db49 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>

SVN-Revision: 31205
2012-04-05 20:03:19 +00:00
Jonas Gorski
d87efd8c3c kernel: update linux 3.2 to 3.2.13 and refresh patches
Also remove a duplicate patch from lantiq (already in generic).

SVN-Revision: 31158
2012-04-01 07:56:55 +00:00
Felix Fietkau
5f799a0e97 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.

SVN-Revision: 31084
2012-03-27 13:21:53 +00:00
John Crispin
b982e8166b cleanup atheros wifi handling
Signed-off-by: Andrej Vlašić <andrej.vlasic0@gmail.com>
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 31064
2012-03-25 08:50:38 +00:00
John Crispin
5ea100c39b cleanup image makefile
SVN-Revision: 31063
2012-03-25 08:50:32 +00:00
John Crispin
f27c030141 update /etc/uci-defaults/*
SVN-Revision: 31062
2012-03-25 08:50:30 +00:00
John Crispin
ba4a7fca7b update profiles
SVN-Revision: 31061
2012-03-25 08:50:27 +00:00
John Crispin
0f6a9d5c7c bump kernel to 3.2.12
SVN-Revision: 31060
2012-03-25 08:50:09 +00:00
Felix Fietkau
db6e326c56 targets: replace madwifi in profiles with ath5k, madwifi is unmaintained
SVN-Revision: 31015
2012-03-19 09:58:13 +00:00
Jonas Gorski
fab5be9b4f lantiq: load dwc_otg early
Needed for using external rootfs on usb sticks.

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

SVN-Revision: 30940
2012-03-14 10:59:52 +00:00
John Crispin
e5798d7c9b fixes etop locking issue
SVN-Revision: 30689
2012-02-23 07:42:00 +00:00
John Crispin
1a71f07d00 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>

SVN-Revision: 30537
2012-02-14 19:07:11 +00:00
John Crispin
7416a5f0aa fix compile error in previous commit
SVN-Revision: 30534
2012-02-14 19:07:05 +00:00
John Crispin
cd1a204365 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>

SVN-Revision: 30532
2012-02-14 17:48:04 +00:00
John Crispin
0b07769898 fixes irq locking in ethernet driver
SVN-Revision: 30522
2012-02-14 15:05:58 +00:00
John Crispin
55bf39e98c fixes gpio_export patch
SVN-Revision: 30521
2012-02-14 15:05:57 +00:00
John Crispin
976d3eb854 add annex selection support to ltq_dsl package
SVN-Revision: 30518
2012-02-14 15:05:49 +00:00
Jonas Gorski
1015fab0d7 kernel: update linux 3.1 to 3.1.10
SVN-Revision: 29966
2012-01-31 09:43:57 +00:00
John Crispin
49eb3fd845 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>

SVN-Revision: 29763
2012-01-17 12:10:35 +00:00
Jonas Gorski
c560444a58 kernel: update linux 3.1 to 3.1.9
SVN-Revision: 29726
2012-01-13 14:38:28 +00:00
Jonas Gorski
e33bb9ec66 linux: update 3.1 to 3.1.4
SVN-Revision: 29470
2011-12-06 19:50:30 +00:00
John Crispin
bf7316424c lantiq: bump to 3.1.3
SVN-Revision: 29348
2011-11-28 10:22:58 +00:00
John Crispin
9389593db9 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

SVN-Revision: 29294
2011-11-23 12:22:15 +00:00
John Crispin
4982ca983c 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>

SVN-Revision: 29292
2011-11-22 18:50:51 +00:00
John Crispin
bbe96f13a6 lantiq: add runtime generation of /etc/config/network
SVN-Revision: 29161
2011-11-15 18:21:00 +00:00
John Crispin
79a4642b40 lantiq: fix falcon build breakage
dev-wifi-rt2x00 fails to build on falcon due to missing pci

SVN-Revision: 29129
2011-11-14 18:55:58 +00:00
Jonas Gorski
d8acb75009 linux: update 3.1 to 3.1.1
SVN-Revision: 29007
2011-11-13 10:48:05 +00:00
John Crispin
a8797d0de6 lantiq: add uci-defaults code for handling leds
SVN-Revision: 29004
2011-11-12 23:40:21 +00:00
John Crispin
832e02cd77 lantiq: add /lib/lantiq.sh and make hotplug handlers use it
SVN-Revision: 29003
2011-11-12 23:40:16 +00:00
John Crispin
5dcbbf0160 lantiq: rename leds
SVN-Revision: 29002
2011-11-12 23:40:12 +00:00
John Crispin
d84b7596d9 lantiq: split compat headers out of bsp header patch
SVN-Revision: 29001
2011-11-12 23:40:07 +00:00
John Crispin
2cff80f015 lantiq: adds hotplug handler for loading rt2x00 firmware
SVN-Revision: 29000
2011-11-12 23:40:01 +00:00
John Crispin
3660c51c40 lantiq: adds hotplug handler for handling buttons and makes w303v work with it
SVN-Revision: 28999
2011-11-12 23:39:56 +00:00
John Crispin
4248705108 lantiq: cleanup default package selection
SVN-Revision: 28998
2011-11-12 23:39:51 +00:00
John Crispin
eb20ab87e6 lantiq: w303v has its rt2860 eep on the nor flash. tell compat-wireless how to use it
SVN-Revision: 28994
2011-11-12 18:41:15 +00:00
John Crispin
fda4ee22a0 lantiq: improve falcon package selection
SVN-Revision: 28962
2011-11-11 21:59:11 +00:00
John Crispin
e1dc73be90 lantiq: fix breakage introduced in 3.1 bump
SVN-Revision: 28961
2011-11-11 21:59:01 +00:00
John Crispin
95d36d3efe lantiq: remove obseleted folder. we use 3.1 now
SVN-Revision: 28728
2011-11-03 16:33:27 +00:00
John Crispin
ea36ad76bc lantiq: bump to 3.1
SVN-Revision: 28721
2011-11-03 15:15:52 +00:00
John Crispin
0a866293bd * update patches to 3.0
* add basic vr9 support
* backport 3.1 fixes
* backport 3.2 queue (falcon)

SVN-Revision: 28405
2011-10-10 15:13:46 +00:00
John Crispin
aecc73de77 The enable function was using the global timeout variable for local operations. This resulted in the value of the global variable being corrupted, thus breaking the code.
SVN-Revision: 28310
2011-09-26 10:35:51 +00:00
John Crispin
1ef8066bff * remove obseleted m25p80 patch
SVN-Revision: 28309
2011-09-26 09:36:02 +00:00
John Crispin
cf59e7255d * rebase 3.0 patches * fold some fixes into existing patches
SVN-Revision: 28308
2011-09-26 09:35:02 +00:00