1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-09-12 16:45:31 +03:00
Commit Graph

1379 Commits

Author SHA1 Message Date
florian
ebbec463c7 [ar71xx] add support for the Atheros AP113 reference board
This reference board is equipped with:
- AR7242 SoC
- AR9580 on-board Wi-Fi
- AR8316 switch

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-28 13:19:49 +00:00
florian
ccc47d58db [ar71xx] refresh 3.2 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-28 13:19:43 +00:00
juhosg
8fcb797999 ar71xx: use 64k block size for WZR-HP-AG300H
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29917 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-27 10:42:41 +00:00
juhosg
406018ae4d ar71xx: fix sysupgrade image building of atheros boards after r29899
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-27 07:51:09 +00:00
juhosg
72a8cff4c1 ar71xx: create the temporary directory before building initramfs images
Thanks to Florian for reporting.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-26 21:28:34 +00:00
juhosg
b8f0111122 ar71xx: create a profile and build images for Compex WPE72
[juhosg: remove ath9k from the the profile package list, build WPE72
image with the Default profile as well]

Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-26 17:01:44 +00:00
juhosg
af63c6a4f8 ar71xx: add support for Compex WPE72/WPE72NX
This patch adds support for Compex WPE72 bare board and Compex WPE72NX
Indoor Access Point.

[juhosg: add support to 3.2 as well]

Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-26 17:01:41 +00:00
juhosg
0bca69f7bf ar71xx: TL-MR3020: fix board detection, fix missing mandatory package and modify LED behaviour
This patch fixes the board detection of the TL-MR3020.

The LED behaviour has also been modified:
* The WPS LED is the diag LED now.
* A netdev trigger for the LAN LED has been added.

The profile of the TL-MR3020 has been updated because the needed package
"kmod-ledtrig-usbdev" was missing which resulted in a non-working usbdev
trigger for the 3G/USB LED.

[juhosg: the board name changes has been removed, and the kernel files
has been changed instead.]

Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-25 07:44:45 +00:00
juhosg
f662489883 ar71xx: TL-MR3020: fix GPIO polarity for button and switch
This patch fixes the GPIO polarity for the button and the sliding
switch. The buttons are not active low. "Pressed" and "Released"
events are wrong without the patch.

Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29904 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-25 07:44:43 +00:00
juhosg
3f391b2e19 ar71xx: use the lzma loader on the Planex boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 20:12:10 +00:00
juhosg
a805739180 ar71xx: rename Sysupgrade/{KR,RK} to Sysupgrade/{KR,RK}uImage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 20:12:08 +00:00
juhosg
f2dce5bf3d ar71xx: fix the AP/Router LED definitons on MZK-W300NH
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 18:40:38 +00:00
juhosg
280177d53b ar71xx: preset WLAN LED config on MZK-W300NH
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 18:40:36 +00:00
juhosg
c8f5aae9fd ar71xx: remove hardcoded MTD layout from planex files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 18:40:34 +00:00
juhosg
8b3aaef2dd ar71xx: pass mtdlayout to Planex boards via command line
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 18:40:33 +00:00
juhosg
7fe033da7a ar71xx: remove an unused header file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 18:40:31 +00:00
juhosg
3ea7ce5200 ar71xx: nuke fs_all variable in image/Makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 09:47:25 +00:00
juhosg
6c5c90403f ar71xx: create interim kernel files in a separate dir
This reduces the size of the ImageBuilder tarball a lot.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29879 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 09:47:23 +00:00
juhosg
50e8ce781c ar71xx: prebuild all loaders in Image/Prepare stage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 09:47:22 +00:00
juhosg
71feb1ed02 ar71xx: 3.2: fix build errors if PCI is not enabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-23 08:52:21 +00:00
juhosg
be456a1234 ar71xx: fix compiler warning if PCI is not enabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29869 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-23 08:52:18 +00:00
juhosg
e0b80e41eb ar71xx: add initial support for 3.2
Tested on the following boards:
  ALFA AP96
  TL-MR3220 v1
  TL-WR1043ND v1
  TL-WR2543ND v1
  TL-WR703N v1
  TL-WR741ND v1
  TL-WR741ND v4
  WNDR3700 v1
  WZR-HP-G300NH

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29868 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 22:38:19 +00:00
juhosg
22b99f32a1 ar71xx: move arch specific files to files-2.6.39
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29867 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 22:38:11 +00:00
juhosg
b66dee35c3 ar71xx: build ALFA AP96 images with default profile as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 22:33:15 +00:00
juhosg
acc9c3cbf5 ar71xx: wrt160nl_part: include module.h and fix compiler warnings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 17:55:38 +00:00
juhosg
681c0cf274 ar71xx: tplinkpart: include module.h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 17:55:36 +00:00
juhosg
523cf1638c ar71xx: rename vsc7385 spi driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 13:51:57 +00:00
juhosg
e3c5dcc5ee ar71xx: rename ap81 spi driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 13:51:56 +00:00
juhosg
047bbb085a ar71xx: rename rb4xx spi drivers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 13:51:54 +00:00
juhosg
d73151f6d4 ar71xx: rename the nxp_74hc153 driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 13:51:52 +00:00
juhosg
3746d2ed29 ar71xx: change board id of the UniFi board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 13:51:50 +00:00
juhosg
fa5eb96b17 ar71xx: include linux/module.h in the micrel phy driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 13:51:49 +00:00
juhosg
1b3efb3352 ar71xx: move irq_to_gpio and gpio_to_irq into gpio.c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 18:00:50 +00:00
juhosg
74844fd50b ar71xx: disable ath79 in order to get rid of Kconfig warnings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29711 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:19 +00:00
juhosg
6734a832bc ar71xx: pb44_spi: add shutdown handler
This allows to access the flash from a kexec'd kernel.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29710 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:18 +00:00
juhosg
7bb349bc59 ar71xx: pb44_spi: call pb44_spi_{en,dis}able from probe/remove
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:17 +00:00
juhosg
ddfc10f668 ar71xx: pb44_spi: introduce pb44_spi_{en,dis}able helpers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29708 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:15 +00:00
juhosg
3e74da5245 ar71xx: ar71xx_spi: add shutdown handler
This allows to access the flash from a kexec'd kernel.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29707 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:14 +00:00
juhosg
8e61fd2405 ar71xx: ar71xx_spi: save and restore regs from probe/remove
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29706 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:13 +00:00
juhosg
302dc3a936 ar71xx: ar71xx_wdt: add shutdown handler
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:11 +00:00
juhosg
0dad098602 ar71xx: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 19:36:43 +00:00
juhosg
e1a6e8b311 ar71xx: add a profile and build images for the TL-WR2543N/ND
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29682 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 19:36:42 +00:00
juhosg
19be413163 ar71xx: add initial support for the TL-WR2543N/ND board
The WLAN LEDs are not working yet.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 19:36:35 +00:00
juhosg
3e84f7b9f1 ar71xx: allow to specify max read size for m25p80
Reading from the flash chip on the TL-WR2543ND seems buggy.
If the SPI flash driver tries to read too much data in one
SPI transfer, the flash chip returns bogus values. This can
be caused by a buggy flash chip on my board, or it can
be a bug in our SPI driver.

Add a workaround to the m25p80 driver until I find out the
root cause of the problem. The patch allows to specify the
maximum numner of bytes which can be read safely withint
one SPI transfer.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29679 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 19:36:33 +00:00
juhosg
54bc3d42c4 ar71xx: local mac support on the wndr3700
The wndr3700 at least has no eth0 mac address and usually leverages
the first wireless device's mac when in a bridged scenario. If,
however, you want to route, and not bridge the interfaces, you
need a unique mac address for it.

This patch sets the local bit on the mac address pulled from the
wireless chip and uses the resulting address for eth0.

Patch-by: Dave Taht <dave.taht@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29675 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 17:24:44 +00:00
juhosg
c2243d1fb9 generic: improve MIPS kexec support
It is based on patches from the linux-longsoon-community git tree:
http://dev.lemote.com/cgit/linux-loongson-community.git/

Now the kernel can use the command line parameter from kexec-tools.

Runtime tested on ar71xx with 2.6.39.4 (the wathdog must be stopped
before executing the new kernel). Compile tested with lantiq (3.1.4)
and brcm47xx (3.0.12).

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29674 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 16:29:16 +00:00
juhosg
66663e2809 ar71xx: fix sysupgrade on the TL-WR841N/ND v7 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-06 15:54:59 +00:00
juhosg
01c809eff1 ar71xx: add support for Redwave RW2458N
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29669 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-06 07:20:59 +00:00
juhosg
4c93839943 ar71xx: fix RB-750 network configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29668 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-06 07:20:54 +00:00
juhosg
c63a29ee7f ar71xx: fix sections mismatch warnings in the nand drivers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29667 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-05 18:08:33 +00:00