Commit Graph

1679 Commits (d54c9653e9ecd22eadce7f66865e91a09ad634dc)

Author SHA1 Message Date
Felix Fietkau 5570b76642 ar71xx: detect and enable MIPS DSP extensions, AR9344 supports them (fixes #11762)
SVN-Revision: 32520
2012-06-28 16:05:08 +00:00
Gabor Juhos 7c87391c55 ar71xx: create profile and build image for the TL-WDR4300 board
SVN-Revision: 32461
2012-06-19 11:51:20 +00:00
Gabor Juhos 2d97a52045 ar71xx: add user space support for the TL-WDR4300
SVN-Revision: 32460
2012-06-19 11:51:18 +00:00
Gabor Juhos 8b9931fd27 ar71xx: add support for the TL-WDR4300 board
SVN-Revision: 32459
2012-06-19 11:51:17 +00:00
Gabor Juhos e6a10d5cdd ar71xx: refresh patches
SVN-Revision: 32458
2012-06-19 11:51:15 +00:00
Gabor Juhos 86c6543259 ar71xx: make AR8327 LEDs working on the DB120 board
SVN-Revision: 32457
2012-06-19 10:44:17 +00:00
Gabor Juhos f509a87f2d ar71xx: remove superfluous include of asm/mach-ath79/pci.h
SVN-Revision: 32455
2012-06-19 10:13:43 +00:00
Gabor Juhos 1a1121158f ar71xx: add a common function to configure USB power GPIOs
SVN-Revision: 32454
2012-06-19 10:13:41 +00:00
Gabor Juhos 27fea0b6d7 ar71xx: correctly detect NETGEAR WNDRMAC
This patch helps properly detect a WNDRMAC device. Before this
patch the model is detected as "NETGEAR ?????????N".

Signed-off-by: Roman A. aka BasicXP <x12ozmouse@ya.ru>

SVN-Revision: 32453
2012-06-19 10:13:38 +00:00
Gabor Juhos ee9bc123fb ar71xx: add USB LED support by default for WNDR3700/WNDR3800/WNDRMAC
This adds kmod-leds-wndr3700-usb package to a default build for
WNDR3700, WNDR3800 and WNDRMAC in order to support the green USB LED.

Signed-off-by: Roman A. aka BasicXP <x12ozmouse@ya.ru>

SVN-Revision: 32452
2012-06-19 10:13:37 +00:00
Felix Fietkau 26cf21df02 ar71xx: add support for the embeddedwireless Dorin board (based on patch by embeddedwireless.de)
SVN-Revision: 32447
2012-06-19 00:22:04 +00:00
Felix Fietkau 5d364d0ca1 ar71xx: add support for reading the MAC address from OTP ROM on AR933x
SVN-Revision: 32446
2012-06-19 00:21:58 +00:00
Felix Fietkau dddf321b6e ar71xx: swap the PHY address of the ethernet port of TL-MR3040/TL-MR11U similar to TL-MR3020 to fix ethernet link detection
SVN-Revision: 32336
2012-06-13 12:54:22 +00:00
Felix Fietkau 624505df56 ar71xx: fix LZMA loader build regression from r32090 (thx, juhosg)
SVN-Revision: 32095
2012-06-06 19:37:49 +00:00
Felix Fietkau 73b8805e78 ar71xx: fix PHY setup on TL-MR3020 (fixes #11572)
SVN-Revision: 32093
2012-06-06 17:24:12 +00:00
Felix Fietkau dc9675282e ar71xx: add a helper function for setting up PHY4 swapping on ar933x
SVN-Revision: 32092
2012-06-06 17:24:09 +00:00
Felix Fietkau 02ab0d3ef9 ar71xx: only build all loader images if the image builder is enabled - saves some time on make target/install
SVN-Revision: 32090
2012-06-06 17:24:01 +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
Gabor Juhos cd7ab1d30b ar71xx: add default LED setup for the DB120 board
SVN-Revision: 31997
2012-05-29 16:39:23 +00:00
Gabor Juhos 4e40bdc190 ar71xx: use the generic uci-default functions for initial LED setup
SVN-Revision: 31992
2012-05-29 16:39:17 +00:00
Felix Fietkau a9cd8446f3 ar71xx: do not override the mdio clock for ar9330. the override value (obtained from an atheros driver) seems to break ethernet functionality
SVN-Revision: 31956
2012-05-28 20:39:50 +00:00
Felix Fietkau 367e4b3994 ar71xx: improve rx performance of the ethernet driver by using build_skb to deliver a cache-hot skb to the network stack
SVN-Revision: 31934
2012-05-28 02:55:59 +00:00
Felix Fietkau 8039a1bbb2 ar71xx: fix MII clock settings for various chips, improves ethernet stability on AR934x
SVN-Revision: 31925
2012-05-27 21:02:41 +00:00
Gabor Juhos 8865f0923e ar71xx: fix TL-WR1041 image size
SVN-Revision: 31923
2012-05-27 17:21:47 +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
Gabor Juhos c57409e79d ar71xx: fix an insignificant typo
Patch from #11485.

SVN-Revision: 31847
2012-05-23 21:05:30 +00:00
Gabor Juhos 013f434f5b ar71xx: fix WLAN led for RB751U-2HnD and RB751G-2HnD
Patch by Kamil Trzciński <ayufan@osk-net.pl>

SVN-Revision: 31846
2012-05-23 21:05:25 +00:00
Gabor Juhos 758f670376 ar71xx: add support for TP-Link TL-MR3040
Support for TP-Link TL-MR3040. Power LED not working - always on red, after
start should be green.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 31845
2012-05-23 21:05:24 +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
Felix Fietkau a3f2fd187b ar71xx: remove AG71XX_RX_PKT_RESERVE, it is no longer necessary (found by Eric Dumazet)
SVN-Revision: 31736
2012-05-15 10:36:39 +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
Gabor Juhos 93c9980b94 ar71xx: fix build error if PCI is disabled
SVN-Revision: 31646
2012-05-07 21:16:22 +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 9486904079 ar71xx: add profile and build image for the TL-WR1041N v2 board
Patch-by: Vince Huang <axishero@foxmail.com>

SVN-Revision: 31610
2012-05-05 17:02:41 +00:00
Gabor Juhos ab897ab04e ar71xx: add support for the TP-Link TL-WR1041N v2 board
Patch-by: Vince Huang <axishero@foxmail.com>

SVN-Revision: 31608
2012-05-05 17:02:35 +00:00
Gabor Juhos 56f2e08537 ar71xx: update 3.3 patches
SVN-Revision: 31602
2012-05-05 13:56:35 +00:00
Gabor Juhos 8fffc6d6df ar71xx: fix a typo in the db120 mach file
Reported-by: Sven Eckelmann <sven@narfation.org>

SVN-Revision: 31601
2012-05-05 13:56:30 +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
Gabor Juhos 3e3a4d3d6b ar71xx: allow to disable link polling on unused PHYs
SVN-Revision: 31533
2012-04-29 18:29:24 +00:00
Gabor Juhos a447f1810c ar71xx: enable MIB counters in the built-in switch of the AR934x
SVN-Revision: 31476
2012-04-25 13:02:11 +00:00
Gabor Juhos 59b0c1b2b9 ar71xx: TL-WR741NDv4: add WLAN LED config
On TP-Link TL-WR741ND version 4, the WLAN LED must be configured to work.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 31461
2012-04-24 11:38:44 +00:00
Jonas Gorski 8fd383ae2e kernel: update linux 3.3 to 3.3.3
SVN-Revision: 31460
2012-04-24 09:25:38 +00:00
Gabor Juhos 9140d4ee44 ar71xx: remove duplicated AP121 Kconfig entry
SVN-Revision: 31382
2012-04-20 16:50:16 +00:00
Gabor Juhos da2cc2c79a ar71xx: nuke 3.2 support
SVN-Revision: 31360
2012-04-19 21:32:05 +00:00
Gabor Juhos 9854d6fb7f ar71xx: switch to 3.3.2
SVN-Revision: 31359
2012-04-19 21:31:58 +00:00
Gabor Juhos a6b4b5fd6e ar71xx: sync 3.3 config
SVN-Revision: 31358
2012-04-19 21:31:53 +00:00
Gabor Juhos ef97415b92 ar71xx: merge/reorganize 3.3 patches
SVN-Revision: 31357
2012-04-19 21:31:50 +00:00
Gabor Juhos 408de85883 ar71xx: use ap91_pci_init for RB751{,G}
SVN-Revision: 31356
2012-04-19 21:31:48 +00:00
Gabor Juhos 0a9832b50d ar71xx: move USB device registration directly into rb751{,g}_setup
SVN-Revision: 31355
2012-04-19 21:31:43 +00:00
Gabor Juhos 78967e6640 ar71xx: add ap9x_pci_get_wmac_data helper
SVN-Revision: 31354
2012-04-19 21:31:42 +00:00
Gabor Juhos 5c9ca38e47 ar71xx: add sanity checks to decode_rle
Also use -EINVAL instead of -1.

SVN-Revision: 31353
2012-04-19 21:31:40 +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 16b4cbcdd6 kernel: update linux 3.2 to 3.2.14
SVN-Revision: 31222
2012-04-09 14:48:51 +00:00
Gabor Juhos f14fd53e3c ar71xx: image: build initramfs images for the WHR boards
SVN-Revision: 31209
2012-04-06 06:45:08 +00:00
Gabor Juhos e295a077ce ar71xx: initial support for Mikrotik RB751G-2HnD and RB751U-2HnD
Great collaboration on these two fantastic routers on the openwrt forum:
https://forum.openwrt.org/viewtopic.php?id=32320
Above all kudos to aryufan. Well done and thank you everyone else who
contributed.

To-Do: LED for wlan is not yet activated
To-Do: TxPower over 20dBm (RB751U) or 22dBm (RB751G) are not accepted by
the router

Signed-off-by: Hanno Schupp <hanno.schupp@gmail.com>
[juhosg: fix line wrapped patch, fix checkpatch errors, add missing
kernel patches]

SVN-Revision: 31208
2012-04-06 06:45:07 +00:00
Gabor Juhos fe6d66afe2 ar71xx: add rb750 to diag.sh
Support status led in diag.sh for RB750

Patch from: Evangelos Arkalis <arkalis.e@gmail.com>

SVN-Revision: 31207
2012-04-06 06:45:04 +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
Gabor Juhos b77217d963 ar71xx: boost SPI flash read performance
mtd_speedtest results:
                           page read speed
                    old         new        delta
DB120            929 KiB/s   2597 KiB/s   +179.55%
TL-WR1043ND v1   754 KiB/s   2166 KiB/s   +187.27%
TL-WR703N v1     745 KiB/s   2176 KiB/s   +192.08%
TL-MR3220 v1     752 KiB/s   2154 KiB/s   +186.44%
TL-WR2543ND v1   564 KiB/s   2130 KiB/s   +277.66%
TL-WR741ND v2    525 KiB/s   1767 KiB/s   +236.57%
ALFA-AP96        702 KiB/s   1977 KiB/s   +181.62%
WNDR3700         697 KiB/s   1965 KiB/s   +181.92%

SVN-Revision: 31118
2012-03-27 19:38:17 +00:00
Gabor Juhos 102c6df148 ar71xx: improve SPI flash read/write performance
mtd_speedtest results:

                        page write speed
                    old         new       delta
DB120            209 KiB/s   226 KiB/s     +8.13%
TL-WR1043ND v1   122 KiB/s   148 KiB/s    +21.31%
TL-WR703N v1     153 KiB/s   194 KiB/s    +26.80%
TL-MR3220 v1     130 KiB/s   156 KiB/s    +20.00%
TL-WR2543ND v1   158 KiB/s   202 KiB/s    +27.85%
TL-WR741ND v2    122 KiB/s   152 KiB/s    +24.59%
ALFA AP96        229 KiB/s   260 KiB/s    +13.54%
WNDR3700         202 KiB/s   223 KiB/s    +10.40%

                         page read speed
                    old        new       delta
DB120            691 KiB/s   929 KiB/s    +34.44%
TL-WR1043ND v1   372 KiB/s   754 KiB/s   +102.69%
TL-WR703N v1     375 KiB/s   745 KiB/s    +98.67%
TL-MR3220 v1     372 KiB/s   752 KiB/s   +102.15%
TL-WR2543ND v1   307 KiB/s   564 KiB/s    +83.71%
TL-WR741ND v2    315 KiB/s   525 KiB/s    +66.67%
ALFA AP96        515 KiB/s   702 KiB/s    +36.31%
WNDR3700         515 KiB/s   697 KiB/s    +35.34%

SVN-Revision: 31117
2012-03-27 19:38:15 +00:00
Gabor Juhos 6455178a6a ar71xx: image: build initramfs images for more boards
SVN-Revision: 31116
2012-03-27 19:38:13 +00:00
Gabor Juhos e2bd975a2a ar71xx: image: add MkuImage{Gzip,Lzma}/initramfs helpers
SVN-Revision: 31115
2012-03-27 19:38:11 +00:00
Gabor Juhos c7966a12b5 ar71xx: image: pass mtdlayout variables by value
SVN-Revision: 31114
2012-03-27 19:38:10 +00:00
Gabor Juhos 692e47f49f ar71xx: image: use MkuImageGzip in Image/Build/AthGzip/initramfs
SVN-Revision: 31113
2012-03-27 19:38:08 +00:00
Gabor Juhos 6cd5fb7001 ar71xx: remove the built-in MTD map of the AP96 board
Pass the mtd_layout via the kernel command line instead.

SVN-Revision: 31112
2012-03-27 19:38:07 +00:00
Gabor Juhos 61ee283899 ar71xx: remove the built-in MTD map of the PB92 board
Pass the mtd_layout via the kernel command line instead

SVN-Revision: 31111
2012-03-27 19:38:05 +00:00
Gabor Juhos 1094dc1996 ar71xx: remove the built-in MTD map of the Zcomax devices
Pass the mtd_layout via the kernel command line instead.

SVN-Revision: 31110
2012-03-27 19:38:04 +00:00
Gabor Juhos 24554ef187 ar71xx: reclaim the 'user_property' partition on WHR-* boards
SVN-Revision: 31109
2012-03-27 19:38:02 +00:00
Gabor Juhos 87e4ec687b ar71xx: remove the built-in MTD maps of several boards
We are passing the MTD layout via the kernel command line, so
it makes no sense to duplicate it in mach-* files. The patch
removes the built-in MTD maps of the following boards:

 * AP113
 * ALFA N2/N5
 * DIR-600
 * DIR-615
 * DIR-825
 * TEW-6{3,5}2BRP
 * TEW-673GRU
 * WHR-G301N
 * WHR-HP-GN
 * WHR-HP-G300N

SVN-Revision: 31108
2012-03-27 19:38:01 +00:00
Gabor Juhos e6b685650b ar71xx: use modules for LED triggers
SVN-Revision: 31107
2012-03-27 19:37:59 +00:00
Gabor Juhos e28cd648b7 ar71xx: disable CONFIG_{I2C,SPI}_GPIO
SVN-Revision: 31104
2012-03-27 19:37:53 +00:00
Gabor Juhos 6627f45a87 ar71xx: sync 3.3 config
SVN-Revision: 31103
2012-03-27 19:37:52 +00:00
Gabor Juhos f4d1e3d147 ar71xx: fix button polarity on TL-WR703N and TL-WR741N v4
SVN-Revision: 31102
2012-03-27 19:37:51 +00:00
Gabor Juhos ff5b7ef713 linux: refresh patches against 3.3
SVN-Revision: 31047
2012-03-20 15:55:07 +00:00
Gabor Juhos c8bf90d414 ar71xx: fix IRQ number for the AR7240 OHCI controller
SVN-Revision: 31044
2012-03-20 15:02:48 +00:00
Gabor Juhos c1dc6df8bd kernel: update linux 3.2 to 3.2.12
SVN-Revision: 31028
2012-03-19 18:23:31 +00:00
Gabor Juhos f86e412389 ar71xx: disable unused file system drivers in the nand subtarget
SVN-Revision: 31027
2012-03-19 15:57:07 +00:00
Gabor Juhos b50cfe077c ar71xx: sync kernel configs
SVN-Revision: 31026
2012-03-19 15:57:06 +00:00
Gabor Juhos 8a2e4b49de ar71xx: add initial support for RB750GL
SVN-Revision: 31025
2012-03-19 15:57:04 +00:00
Gabor Juhos d19f3dd512 ar71xx: make rb750_latch_change 'static void'
SVN-Revision: 31024
2012-03-19 15:57:03 +00:00
Gabor Juhos 5348f46c80 ar71xx: add latch_change field to rb750_led_platform_data
SVN-Revision: 31023
2012-03-19 15:57:01 +00:00
Gabor Juhos 8a471efe01 ar71xx: add platform data for the RB750 NAND driver
SVN-Revision: 31022
2012-03-19 15:56:59 +00:00
Gabor Juhos e89df99083 ar71xx: use a different pll value on DB120
SVN-Revision: 31018
2012-03-19 11:11:22 +00:00
Gabor Juhos e9b45ebaba ar71xx: add AR934x specific interface speed setup for ge0
SVN-Revision: 31017
2012-03-19 11:11:20 +00:00
Gabor Juhos 6028889727 ar71xx: remove static MTD maps from AP121/DB120 boards
SVN-Revision: 31016
2012-03-19 11:11:19 +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
Gabor Juhos 6ac12fbb3c ar71xx: use AR8327 on the DB120 board
SVN-Revision: 31012
2012-03-18 22:06:58 +00:00
Gabor Juhos f601339e79 ar71xx: add profile and generate image for the JA76PF2 board
SVN-Revision: 30958
2012-03-16 18:00:40 +00:00
Gabor Juhos 6036151187 ar71xx: add support for the jjPlus JA76PF2 board
SVN-Revision: 30957
2012-03-16 18:00:34 +00:00
Gabor Juhos a680662391 ar71xx: change LED name prefix on the jjplus boards
SVN-Revision: 30956
2012-03-16 18:00:26 +00:00
Gabor Juhos c00b53f3d0 ar71xx: move micrel PHY driver to the generic linux target
SVN-Revision: 30946
2012-03-15 09:25:53 +00:00
Gabor Juhos ff909edf94 ar71xx: ag71xx: fix ARP frame reception on AR934x switch ports
SVN-Revision: 30926
2012-03-13 17:29:38 +00:00
Gabor Juhos cd6a4cde13 ar71xx: ag71xx: start aneg on switch PHYs after reset
SVN-Revision: 30925
2012-03-13 17:29:37 +00:00
Gabor Juhos 7c9534cfd7 ar71xx: ag71xx: poll PHY status of all available switch ports
SVN-Revision: 30924
2012-03-13 17:29:36 +00:00
Gabor Juhos 8449eecf5f ar71xx: ag71xx: allow to use port 5 of the AR934x built-in switch
SVN-Revision: 30923
2012-03-13 17:29:34 +00:00
Gabor Juhos 1c5ac02a29 ar71xx: reset the switch on AR934x before ethernet device registration
SVN-Revision: 30922
2012-03-13 17:29:33 +00:00
Gabor Juhos 17d3131d3c ar71xx: fix a typo in ar71xx_regs.h
SVN-Revision: 30921
2012-03-13 17:29:31 +00:00
Gabor Juhos 66df117d1b ar71xx: use a dummy callback for interfaces with fixed speed
SVN-Revision: 30913
2012-03-12 20:38:58 +00:00
Gabor Juhos 8b2b37ae58 ar71xx: merge ar934x_bo_ddr_flush patch
SVN-Revision: 30912
2012-03-12 20:38:57 +00:00
Gabor Juhos b0bb0793b9 ar71xx: enable UART function for early_printk/console
SVN-Revision: 30909
2012-03-12 17:32:39 +00:00
Gabor Juhos ccc939ebc0 ar71xx: remove a 3.3 patch, it is already in 3.3-rc7
SVN-Revision: 30903
2012-03-12 16:27:57 +00:00
Gabor Juhos 0814e61841 ar71xx: fix Compex WPE72 detection
SVN-Revision: 30902
2012-03-12 16:27:56 +00:00
Gabor Juhos 088dd4e879 ar71xx: stop image building if a loader is missing
SVN-Revision: 30877
2012-03-11 14:03:28 +00:00
Gabor Juhos 31584880bf ar71xx: add watchdog driver to the default package list
SVN-Revision: 30852
2012-03-08 09:00:17 +00:00
Gabor Juhos 2d89fa7f43 ar71xx: fix WPS button polarity on TL-WR2543N
SVN-Revision: 30849
2012-03-07 19:50:53 +00:00
Gabor Juhos c455a0f7be ar71xx: ag71xx: fix get_port_link callback
SVN-Revision: 30841
2012-03-07 16:32:35 +00:00
Gabor Juhos 5a83b3a5c7 ar71xx: ag71xx: use the generic get_port_link implementation
SVN-Revision: 30840
2012-03-07 16:32:34 +00:00
Gabor Juhos 86d852927e ar71xx: refresh patches against 3.3-rc5
SVN-Revision: 30801
2012-03-03 14:10:29 +00:00
Gabor Juhos 7052847972 ar71xx: ag71xx: keep VLAN tags if VLAN is not enabled
SVN-Revision: 30768
2012-03-01 19:49:05 +00:00
Gabor Juhos 9698a499b6 kernel: update linux 3.2 to 3.2.9
SVN-Revision: 30767
2012-03-01 19:49:02 +00:00
Gabor Juhos 6b37484883 ar71xx: use v6.0.0 in UBTN-XM firmwares (closes #11038)
SVN-Revision: 30712
2012-02-24 20:41:38 +00:00
Felix Fietkau c918810414 ar71xx: switch to kmod-gpio-button-hotplug
SVN-Revision: 30660
2012-02-20 10:51:48 +00:00
Gabor Juhos 3d20de331d ar71xx: fix image signature for UBNT-XM boards
SVN-Revision: 30626
2012-02-18 14:45:52 +00:00
Gabor Juhos 3004f30f01 ar71xx: remove duplicated define from the D-Link profile
SVN-Revision: 30577
2012-02-16 09:03:27 +00:00
Daniel Dickinson 1bb8a7613e Add Ubiquiti UniFi Profile; It's an AP without USB so don't include USB drivers by default
SVN-Revision: 30571
2012-02-16 07:45:28 +00:00
Daniel Dickinson b797f72319 d-link: Add DIR-601 Profile Definition; It needs different factory images than DIR-600
SVN-Revision: 30570
2012-02-16 07:38:33 +00:00
Daniel Dickinson c736e2d4b0 Fix partitions for Cameo-based boards; kernel 3.2 is bigger
SVN-Revision: 30569
2012-02-16 07:29:26 +00:00
Daniel Dickinson 4685a51301 image: For Cameo-based board fix adding mtd layout to kernel commandline)
SVN-Revision: 30568
2012-02-16 07:24:45 +00:00
Gabor Juhos 9a0e17857e ar71xx: add profile and build image for the TP-Link TL-WR842N/ND v1 boards
SVN-Revision: 30508
2012-02-13 17:11:58 +00:00
Gabor Juhos 1c57a22aae ar71xx: add model detection for TL-WR842N/ND
SVN-Revision: 30507
2012-02-13 17:11:57 +00:00
Gabor Juhos 3708227f96 ar71xx: zero partition parser data in m25p80
Ths fixes parsing of RedBoot partitions.

SVN-Revision: 30427
2012-02-10 20:19:06 +00:00
Gabor Juhos 6c07149c2d ar71xx: fix platform description
SVN-Revision: 30419
2012-02-10 15:27:49 +00:00
Gabor Juhos 766999085a ar71xx: ag71xx: add BQL support
It will be usable only from linux-3.3.

Based on a patch by Dave Taht <dave.taht@bufferbloat.net>

SVN-Revision: 30417
2012-02-10 14:56:47 +00:00
Gabor Juhos fc069f030b ar71xx: add dummy DQL helper functions for 3.2
SVN-Revision: 30416
2012-02-10 14:56:44 +00:00
Gabor Juhos 32a18a05f8 ar71xx: add preliminary support for 3.3
SVN-Revision: 30410
2012-02-10 11:53:56 +00:00
Felix Fietkau 512df38f5c ar71xx: disable DDR flush for ethernet on AR934x, it is no longer necessary
SVN-Revision: 30409
2012-02-10 11:46:37 +00:00
Felix Fietkau 61f48beadd ar71xx: fix db120 board detection
SVN-Revision: 30408
2012-02-10 11:46:31 +00:00
Gabor Juhos 73b9a8bf9b ar71xx: allow to build ag71xx w/o PCI support enabled
SVN-Revision: 30407
2012-02-10 11:46:10 +00:00
Gabor Juhos fe0c7aac66 ar71xx: merge 3.2 fixes
SVN-Revision: 30406
2012-02-10 08:19:33 +00:00
Gabor Juhos d72bde99cd ar71xx: merge files-3.2 to files
SVN-Revision: 30405
2012-02-10 08:19:31 +00:00
Gabor Juhos 81b7aaefbe ar71xx: nuke 2.6.39 support
SVN-Revision: 30404
2012-02-10 08:19:28 +00:00
Gabor Juhos 650d777f3d ar71xx: switch to 3.2.5
SVN-Revision: 30403
2012-02-10 08:19:27 +00:00
Gabor Juhos abeab97efc ar71xx: refresh 3.2 patches
SVN-Revision: 30402
2012-02-10 08:19:25 +00:00
Gabor Juhos f754063159 ar71xx: 3.2: remove stray semicolons from the PCI fixup patch
SVN-Revision: 30400
2012-02-09 21:19:57 +00:00
Felix Fietkau 848dedeb8b ar71xx: fix ar934x usb reset handling on 3.2
SVN-Revision: 30399
2012-02-09 20:39:41 +00:00
Gabor Juhos 09c45f50d4 ar71xx: 3.2: get rid of an unused variable in ath79_spi.c
SVN-Revision: 30391
2012-02-08 20:47:58 +00:00
Gabor Juhos c126bed503 ar71xx: 3.2: fix AHB clock name in rb4xx_spi
SVN-Revision: 30390
2012-02-08 20:47:56 +00:00
Gabor Juhos 81f15f5026 ar71xx: add profile and build image for the TEW-673GRU board
SVN-Revision: 30377
2012-02-08 16:26:27 +00:00
Gabor Juhos 48e85cd47b ar71xx: add support for the TRENDNet TEW-673GRU board
SVN-Revision: 30376
2012-02-08 16:26:25 +00:00
Felix Fietkau d9ff9c44ee ar71xx: add usb on the pb92 board
SVN-Revision: 30007
2012-02-03 09:44:51 +00:00
Gabor Juhos 41bd6bd282 ar71xx: fix ethernet LEDs on the WHR-{G301N,HP-G300N,HP-GN} boards
SVN-Revision: 29978
2012-01-31 20:49:34 +00:00
Gabor Juhos c315ce403b ar71xx: merge DIR-600 A1 and DIR-615 E4 support
SVN-Revision: 29976
2012-01-31 18:37:29 +00:00
Gabor Juhos dd47afc197 ar71xx: fix ethernet LEDs on the DIR-600-A1 board
SVN-Revision: 29975
2012-01-31 18:37:24 +00:00
Gabor Juhos 8200f0c61a ar71xx: unify LED names on D-Link boards
SVN-Revision: 29974
2012-01-31 18:37:15 +00:00
Gabor Juhos faeca86e50 ar71xx: support for D-LINK DIR-615 rev. E4
This patch adds support for D-LINK DIR-615 E4 board. It's mostly based
on the existing support for DIR-600 A1, with some changes in the leds
configuration.

It's an updated version of the patch that reliably works on my hw for
about a year (it was built from trunk on Jan 2011). When I decided to
update the firmware and checked for the current support for that device,
I also found previously posted patches by Alexey Loukianov that
mentioned some stability issues. I'm not sure where could be the
difference, the patches are very similar except the wmac led pin number
- I was using 1, and those patches used 17.

[juhosg: add 3.2 support]

Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>

SVN-Revision: 29973
2012-01-31 18:37:09 +00:00
Gabor Juhos 97e4ddd012 ar71xx: add support for TP-Link TL-MR11U
Adds support for TL-MR11U, a portable router with very similar
hardware to the TL-WR703N and TL-MR3020, but with an onboard
2000mAh battery.

Tested, working:
All interfaces (Ethernet, 802.11n, USB)
WPS & Reset switches (Power appears to be a hardware slider)
Ethernet, Wifi, 3G LEDs (Power & charging LEDs hardware controlled)
Sysupgrade

[juhosg: fix indentations to use TABs instead of spaces, fix 3.2 patch
breakage]

Signed-off-by: Simon Taylor <simon.taylor.uk@gmail.com>

SVN-Revision: 29972
2012-01-31 18:37:01 +00:00
Gabor Juhos 8766f32b8c ar71xx: compress kernel binaries in Image/Prepare stage
The lzma compressed kernel is used by one of the loaders.

SVN-Revision: 29971
2012-01-31 18:36:54 +00:00
Gabor Juhos d5d37febb4 ar71xx: use dynamically allocated partitions in wrt160nl_part
SVN-Revision: 29970
2012-01-31 18:36:51 +00:00
Florian Fainelli eeb00634a7 add support for the Atheros AP113 reference board
This reference board is equipped with:
- AR7242 SoC
- AR9580 on-board Wi-Fi
- AR8316 switch

SVN-Revision: 29935
2012-01-28 13:19:49 +00:00
Florian Fainelli 405a0f3905 refresh 3.2 patches
SVN-Revision: 29934
2012-01-28 13:19:43 +00:00
Gabor Juhos b9b768b8d3 ar71xx: use 64k block size for WZR-HP-AG300H
SVN-Revision: 29917
2012-01-27 10:42:41 +00:00
Gabor Juhos ac8116739a ar71xx: fix sysupgrade image building of atheros boards after r29899
SVN-Revision: 29916
2012-01-27 07:51:09 +00:00
Gabor Juhos 013fe76b36 ar71xx: create the temporary directory before building initramfs images
Thanks to Florian for reporting.

SVN-Revision: 29915
2012-01-26 21:28:34 +00:00
Gabor Juhos a5538a18d4 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>

SVN-Revision: 29914
2012-01-26 17:01:44 +00:00
Gabor Juhos e1e84badaa 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>

SVN-Revision: 29912
2012-01-26 17:01:41 +00:00
Gabor Juhos 038d4e0d77 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>

SVN-Revision: 29905
2012-01-25 07:44:45 +00:00
Gabor Juhos c11ac55b29 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>

SVN-Revision: 29904
2012-01-25 07:44:43 +00:00
Gabor Juhos 4f3d6c9ae9 ar71xx: use the lzma loader on the Planex boards
SVN-Revision: 29900
2012-01-24 20:12:10 +00:00
Gabor Juhos 5fa9768cee ar71xx: rename Sysupgrade/{KR,RK} to Sysupgrade/{KR,RK}uImage
SVN-Revision: 29899
2012-01-24 20:12:08 +00:00
Gabor Juhos 095c236694 ar71xx: fix the AP/Router LED definitons on MZK-W300NH
SVN-Revision: 29897
2012-01-24 18:40:38 +00:00
Gabor Juhos 23e1b451dc ar71xx: preset WLAN LED config on MZK-W300NH
SVN-Revision: 29896
2012-01-24 18:40:36 +00:00
Gabor Juhos 23836d5908 ar71xx: remove hardcoded MTD layout from planex files
SVN-Revision: 29895
2012-01-24 18:40:34 +00:00
Gabor Juhos 859c915077 ar71xx: pass mtdlayout to Planex boards via command line
SVN-Revision: 29894
2012-01-24 18:40:33 +00:00
Gabor Juhos 6ad9bf8d17 ar71xx: remove an unused header file
SVN-Revision: 29893
2012-01-24 18:40:31 +00:00
Gabor Juhos 17bb003891 ar71xx: nuke fs_all variable in image/Makefile
SVN-Revision: 29880
2012-01-24 09:47:25 +00:00
Gabor Juhos 1fb88e2541 ar71xx: create interim kernel files in a separate dir
This reduces the size of the ImageBuilder tarball a lot.

SVN-Revision: 29879
2012-01-24 09:47:23 +00:00
Gabor Juhos a43e2f508f ar71xx: prebuild all loaders in Image/Prepare stage
SVN-Revision: 29878
2012-01-24 09:47:22 +00:00
Gabor Juhos 44517a3789 ar71xx: 3.2: fix build errors if PCI is not enabled
SVN-Revision: 29870
2012-01-23 08:52:21 +00:00
Gabor Juhos 778db0a13d ar71xx: fix compiler warning if PCI is not enabled
SVN-Revision: 29869
2012-01-23 08:52:18 +00:00
Gabor Juhos af015f956c 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

SVN-Revision: 29868
2012-01-22 22:38:19 +00:00
Gabor Juhos 386cbfe45b ar71xx: move arch specific files to files-2.6.39
SVN-Revision: 29867
2012-01-22 22:38:11 +00:00
Gabor Juhos 7b7427e52c ar71xx: build ALFA AP96 images with default profile as well
SVN-Revision: 29866
2012-01-22 22:33:15 +00:00
Gabor Juhos e7dee3aeed ar71xx: wrt160nl_part: include module.h and fix compiler warnings
SVN-Revision: 29856
2012-01-22 17:55:38 +00:00
Gabor Juhos a7d344565b ar71xx: tplinkpart: include module.h
SVN-Revision: 29855
2012-01-22 17:55:36 +00:00
Gabor Juhos 6c2638c5e2 ar71xx: rename vsc7385 spi driver
SVN-Revision: 29853
2012-01-22 13:51:57 +00:00
Gabor Juhos bb16739db9 ar71xx: rename ap81 spi driver
SVN-Revision: 29852
2012-01-22 13:51:56 +00:00
Gabor Juhos 5ef8b922fa ar71xx: rename rb4xx spi drivers
SVN-Revision: 29851
2012-01-22 13:51:54 +00:00
Gabor Juhos aad175d5b6 ar71xx: rename the nxp_74hc153 driver
SVN-Revision: 29850
2012-01-22 13:51:52 +00:00
Gabor Juhos ef1c53b7b7 ar71xx: change board id of the UniFi board
SVN-Revision: 29849
2012-01-22 13:51:50 +00:00
Gabor Juhos f90e578903 ar71xx: include linux/module.h in the micrel phy driver
SVN-Revision: 29848
2012-01-22 13:51:49 +00:00
Gabor Juhos fbf81c8e79 ar71xx: move irq_to_gpio and gpio_to_irq into gpio.c
SVN-Revision: 29713
2012-01-11 18:00:50 +00:00
Gabor Juhos 67f62cf5cf ar71xx: disable ath79 in order to get rid of Kconfig warnings
SVN-Revision: 29711
2012-01-11 09:14:19 +00:00
Gabor Juhos 88d8cdd503 ar71xx: pb44_spi: add shutdown handler
This allows to access the flash from a kexec'd kernel.

SVN-Revision: 29710
2012-01-11 09:14:18 +00:00
Gabor Juhos e1b7995aef ar71xx: pb44_spi: call pb44_spi_{en,dis}able from probe/remove
SVN-Revision: 29709
2012-01-11 09:14:17 +00:00
Gabor Juhos 67444c7795 ar71xx: pb44_spi: introduce pb44_spi_{en,dis}able helpers
SVN-Revision: 29708
2012-01-11 09:14:15 +00:00
Gabor Juhos 0f566a376c ar71xx: ar71xx_spi: add shutdown handler
This allows to access the flash from a kexec'd kernel.

SVN-Revision: 29707
2012-01-11 09:14:14 +00:00
Gabor Juhos 09a6e3f662 ar71xx: ar71xx_spi: save and restore regs from probe/remove
SVN-Revision: 29706
2012-01-11 09:14:13 +00:00
Gabor Juhos 714a9bd641 ar71xx: ar71xx_wdt: add shutdown handler
SVN-Revision: 29705
2012-01-11 09:14:11 +00:00
Gabor Juhos 9727256330 ar71xx: refresh patches
SVN-Revision: 29683
2012-01-07 19:36:43 +00:00
Gabor Juhos 4edff7d3ef ar71xx: add a profile and build images for the TL-WR2543N/ND
SVN-Revision: 29682
2012-01-07 19:36:42 +00:00
Gabor Juhos a1dcbc66a6 ar71xx: add initial support for the TL-WR2543N/ND board
The WLAN LEDs are not working yet.

SVN-Revision: 29680
2012-01-07 19:36:35 +00:00
Gabor Juhos a56bdeff9d 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.

SVN-Revision: 29679
2012-01-07 19:36:33 +00:00
Gabor Juhos 67b2814842 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>

SVN-Revision: 29675
2012-01-07 17:24:44 +00:00
Gabor Juhos 6c74274c8d 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).

SVN-Revision: 29674
2012-01-07 16:29:16 +00:00
Gabor Juhos f638c6207b ar71xx: fix sysupgrade on the TL-WR841N/ND v7 boards
SVN-Revision: 29672
2012-01-06 15:54:59 +00:00
Gabor Juhos 1e848b17ad ar71xx: add support for Redwave RW2458N
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 29669
2012-01-06 07:20:59 +00:00
Gabor Juhos 84cd8a5ee0 ar71xx: fix RB-750 network configuration
SVN-Revision: 29668
2012-01-06 07:20:54 +00:00
Gabor Juhos 8eb0b7ab3d ar71xx: fix sections mismatch warnings in the nand drivers
SVN-Revision: 29667
2012-01-05 18:08:33 +00:00