Commit Graph

132 Commits (c454ba36579dcdca717514f4744d8a926ac01d8e)

Author SHA1 Message Date
Gabor Juhos ff74305623 lantiq: use the generic uci-default functions for initial LED setup
SVN-Revision: 31995
12 years ago
John Crispin f567980d38 move files-3.3 -> files
SVN-Revision: 31912
12 years ago
John Crispin 8002770520 3.2 R.I.P.
SVN-Revision: 31911
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
Gabor Juhos 2ae5581447 kernel: update linux 3.3 to 3.3.7
SVN-Revision: 31848
12 years ago
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
12 years ago
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
12 years ago
John Crispin 364f47e454 code style cleanup of the mach files
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 31735
12 years ago
John Crispin 07dca108a9 adds zyxel p2601hnfx support
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 31734
12 years ago
John Crispin 9785ec070e set 3.3.6 as default
SVN-Revision: 31733
12 years ago
John Crispin c61ada1db8 set 3.3.5 as default
SVN-Revision: 31718
12 years ago
Gabor Juhos b472e5d12e kernel: update linux 3.3 to 3.3.6
SVN-Revision: 31709
12 years ago
John Crispin dc4cfd3a64 Add 3.3 config files
SVN-Revision: 31672
12 years ago
John Crispin 75827c538d Add missing 3.3 patches
SVN-Revision: 31671
12 years ago
John Crispin 7d638fbb2f Drop 2.6.32 support
SVN-Revision: 31670
12 years ago
Gabor Juhos 34018a630f kernel: update linux 3.3 to 3.3.5
SVN-Revision: 31645
12 years ago
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
12 years ago
Gabor Juhos cbfce53831 kernel: update linux 3.3 to 3.3.4
SVN-Revision: 31541
12 years ago
Jonas Gorski 22b4e6b882 kernel: update linux 3.2 to 3.2.16
SVN-Revision: 31459
12 years ago
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
12 years ago
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
12 years ago
Jonas Gorski a8f2bc682e kernel: also update the targets to use 3.2.15
Thanks Gabor for spotting it.

SVN-Revision: 31337
12 years ago
Jonas Gorski 3a9b6dc313 kernel: update linux 3.3 to 3.3.2
SVN-Revision: 31336
12 years ago
Jonas Gorski ee4c47a134 kernel: update linux 3.2 to 3.2.15
SVN-Revision: 31335
12 years ago
John Crispin 83948d6385 adds 3.3 patches and files
SVN-Revision: 31307
12 years ago
John Crispin e3889bcf7c update 3.2 patches
sync with lantiq kernel series

SVN-Revision: 31260
12 years ago
Jonas Gorski 16b4cbcdd6 kernel: update linux 3.2 to 3.2.14
SVN-Revision: 31222
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
John Crispin 5ea100c39b cleanup image makefile
SVN-Revision: 31063
12 years ago
John Crispin f27c030141 update /etc/uci-defaults/*
SVN-Revision: 31062
12 years ago
John Crispin ba4a7fca7b update profiles
SVN-Revision: 31061
12 years ago
John Crispin 0f6a9d5c7c bump kernel to 3.2.12
SVN-Revision: 31060
12 years ago
Felix Fietkau db6e326c56 targets: replace madwifi in profiles with ath5k, madwifi is unmaintained
SVN-Revision: 31015
12 years ago
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
12 years ago
John Crispin e5798d7c9b fixes etop locking issue
SVN-Revision: 30689
13 years ago
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
13 years ago
John Crispin 7416a5f0aa fix compile error in previous commit
SVN-Revision: 30534
13 years ago
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
13 years ago
John Crispin 0b07769898 fixes irq locking in ethernet driver
SVN-Revision: 30522
13 years ago
John Crispin 55bf39e98c fixes gpio_export patch
SVN-Revision: 30521
13 years ago
John Crispin 976d3eb854 add annex selection support to ltq_dsl package
SVN-Revision: 30518
13 years ago
Jonas Gorski 1015fab0d7 kernel: update linux 3.1 to 3.1.10
SVN-Revision: 29966
13 years ago
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
13 years ago
Jonas Gorski c560444a58 kernel: update linux 3.1 to 3.1.9
SVN-Revision: 29726
13 years ago