1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-07 19:22:01 +03:00
Commit Graph

137 Commits

Author SHA1 Message Date
blogic
9216dfc76c [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
blogic
466d98bf88 [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
090fe17a5f 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
blogic
35d604e713 [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
blogic
b9f376d33a [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
juhosg
014e1ffa51 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
blogic
e4b72001f6 [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
blogic
c9e0ccf07c [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
blogic
c8e24ec13e [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
blogic
f72e7bf12d [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
blogic
2b03aafe31 [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
juhosg
530802ba69 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
nbd
fb17c4e710 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
juhosg
5cc763c7b2 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
blogic
6a54667829 [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
blogic
993c2e232f [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
blogic
5af9c39784 [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
blogic
1fffba2171 [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
juhosg
298dcd23d1 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
blogic
510366a907 [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
blogic
d0ba13b35e [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
blogic
dcc5e22d87 [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
juhosg
fe2be6a9a3 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
nbd
d4d537811b 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
juhosg
e51f7c5d1b 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
jogo
b628e1e894 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
blogic
20486e3d63 [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
d2aa64852c [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
jogo
86acf4fb40 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
jogo
4f72aeefd8 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
jogo
d1f448b466 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
blogic
86598e6363 [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
blogic
9e31085943 [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
jogo
bbb153176f 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
blogic
a73a270eb0 [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
blogic
b13c35b00f [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
jogo
f21c103e5a 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
nbd
9f0871090d 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
blogic
5da154a599 [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
blogic
cc457ef6dc [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
blogic
5e588d2fdb [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
blogic
437ba8c432 [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
blogic
4c8d6ad4d0 [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
nbd
c746848b47 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
jogo
a86ab8d8ff 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
blogic
1863b32a32 [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
blogic
6aa1eddee7 [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
blogic
f1215ac7aa [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
blogic
61b8a7cdc6 [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
blogic
13595a7a28 [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