Commit graph

236 commits

Author SHA1 Message Date
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