Commit graph

1779 commits

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
Gabor Juhos
232eb83f74 ar71xx: fix LED configuration on the RB-750
SVN-Revision: 29666
2012-01-05 18:08:28 +00:00
Gabor Juhos
d65c6fe720 ar71xx: create profile and build image for the ALFA AP96 board
SVN-Revision: 29663
2012-01-04 21:13:57 +00:00
Gabor Juhos
b8f0d86115 ar71xx: add inital support for the ALFA Network AP96 board
The microSD slot and the Real Time Clock is not working yet.
The miniPCIe interface is not tested due to the lack of a
suitable card.

SVN-Revision: 29662
2012-01-04 21:13:54 +00:00
Gabor Juhos
807e046193 ar71xx: specify console kernel parameter for the Compex boards
SVN-Revision: 29660
2012-01-04 17:30:59 +00:00
Gabor Juhos
923f3e3752 ar71xx: allow to use the command line hack on compex devices
SVN-Revision: 29659
2012-01-04 17:30:58 +00:00
Gabor Juhos
2f53f82203 ar71xx: use the TL-MR3x20 code for the TL-WR841N/ND v7
These models are based on the AP99 reference board,
and uses the AR7241 SoC.

SVN-Revision: 29658
2012-01-04 17:30:57 +00:00
Gabor Juhos
301b1b4f92 ar71xx: show correct model name on TL-WA701N/ND boards
SVN-Revision: 29657
2012-01-04 17:30:55 +00:00
Gabor Juhos
ac68f0d8fa ar71xx: add profile and build image for the TL-WA701N/ND boards
SVN-Revision: 29656
2012-01-04 17:30:54 +00:00
Gabor Juhos
72019009c7 ar71xx: fix network configuration for the TL-WA901N/ND boards
SVN-Revision: 29654
2012-01-04 17:30:52 +00:00
Gabor Juhos
90bfef9ec9 ar71xx: allow to use LAN LED on the TL-WA901N/ND boards
SVN-Revision: 29653
2012-01-04 17:30:50 +00:00
Gabor Juhos
5eb502d9c1 ar71xx: add default LED configuration for the TL-MR3020
Also use the system LED for diagnostic.

SVN-Revision: 29652
2012-01-04 17:30:49 +00:00
Gabor Juhos
1045c83527 ar71xx: add support for TP-Link TL-MR3020
This patch adds support for the TP-Link device TL-MR3020 which is very
similiar to the TL-WR703N.
The TL-MR3020 uses 5 LEDs, 1 push button and a switch with 3 positions.
Only four LEDs can be controlled via GPIO. The power LED is connected to
the power supply.
The WPS push button has been mapped to KEY_WPS_BUTTON. The two GPIO signals
of the sliding switch have been mapped to BTN_0 and BTN_1.

I have also setup a wiki page with details here:
http://wiki.openwrt.org/toh/tp-link/tl-mr3020

USB is working and has been tested with USB mass storage and USB UMTS
stick.

Wifi also seems to work.

Ethernet is working too.

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

SVN-Revision: 29651
2012-01-04 17:30:47 +00:00
Gabor Juhos
88223f87d1 ar71xx: use the new om-watchdog package for OM2P
Signed-off-by: Antonio Quartulli <ordex@autistici.org>

SVN-Revision: 29648
2012-01-04 17:30:41 +00:00
Gabor Juhos
8854c90119 ar71xx: add profile and build factory image for the Hornet-UB board
SVN-Revision: 29637
2012-01-01 19:30:29 +00:00
Gabor Juhos
1d3de89f3c ar71xx: build images for the ALFA Network N2/N5 boards
SVN-Revision: 29636
2012-01-01 19:30:28 +00:00
Gabor Juhos
1e68f10b87 ar71xx: add support for the ALFA Network N2/N5 boards
SVN-Revision: 29635
2012-01-01 19:30:25 +00:00
Gabor Juhos
5c067db8a7 ar71xx: define LAN/WAN LEDs for the TL-WR741N/ND boards
SVN-Revision: 29631
2011-12-31 15:02:46 +00:00
Gabor Juhos
fff02e6ea8 ar71xx: enable SWCONFIG_LEDS
SVN-Revision: 29630
2011-12-31 15:02:40 +00:00
Gabor Juhos
8c2482f76e ar71xx: ag71xx: implement get_port_{link,stats} callbacks
SVN-Revision: 29626
2011-12-31 15:02:26 +00:00
Gabor Juhos
557009bbdb ar71xx: fix LEDs on the WRT400N
SVN-Revision: 29624
2011-12-31 13:54:11 +00:00
Gabor Juhos
76dacee995 ar71xx: enable sysupgrade support for airrouter
Works for me! ;-)

Patch-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 29614
2011-12-27 16:59:43 +00:00
Gabor Juhos
c6ee919b2a ar71xx: fix sysupgrade on PB42/PB44 boards
SVN-Revision: 29613
2011-12-27 16:57:01 +00:00
Felix Fietkau
db0a1db257 ar71xx: set a reserved bit that resets to 1 when writing the address table control register on the ar7240 switch (should fix #10547)
SVN-Revision: 29598
2011-12-22 05:43:53 +00:00
Jonas Gorski
8799627ef0 ar71xx: add default network config for buffalo WZR-HP-G300NH2 and WZR-HP-G450H
Thanks netprince for reporting and testing.

SVN-Revision: 29595
2011-12-21 19:32:40 +00:00
Jo-Philipp Wich
ebefe1eb3a the mach file of the WZR-HP-G300NH2 accidentally claimed the mach id of the WZR-HP-AG300H, correct the id (#10649)
SVN-Revision: 29593
2011-12-21 01:27:48 +00:00
Felix Fietkau
11013ad947 ar71xx: add missing wireless led changes for wzr-hp-g300nh2
SVN-Revision: 29568
2011-12-19 09:04:15 +00:00
Felix Fietkau
0cc056cb7e ar71xx: add support for the wzr-hp-g300nh2
Signed-off-by: Mark Deneen <mdeneen@gmail.com>

SVN-Revision: 29567
2011-12-18 22:20:17 +00:00
Gabor Juhos
5a0a2b2f1b ar71xx: use 64kraw template on more TP-Link boards
SVN-Revision: 29561
2011-12-17 18:49:55 +00:00
Gabor Juhos
67c7980290 ar71xx: connect GMAC0 to the internal switch on DB120
Because the external switch has no driver yet, connect GMAC0
to the PHY4 of the internal switch for now. This allows to
use the DB120 board as a router with 4LAN+1WAN ports.

SVN-Revision: 29557
2011-12-15 22:25:38 +00:00
Gabor Juhos
5bbd416e38 ar71xx: add defines for the AR934X GMAC interface
SVN-Revision: 29556
2011-12-15 22:25:36 +00:00
Gabor Juhos
e47a8c2bb2 ar71xx: fix GMAC1 interface speed on the DB120 board
SVN-Revision: 29555
2011-12-15 22:25:35 +00:00
Gabor Juhos
36bc2c2c80 ar71xx: ag71xx: fix switch port setup for AR934X
SVN-Revision: 29554
2011-12-15 22:25:32 +00:00
Gabor Juhos
00667c3846 ar71xx: ag71xx: allow to connect PHY4 to the CPU on AR934X
SVN-Revision: 29553
2011-12-15 22:25:30 +00:00
Gabor Juhos
0540970345 ar71xx: ag71xx: setup switch interface mode on AR934X
SVN-Revision: 29552
2011-12-15 22:25:29 +00:00
Gabor Juhos
44014110b8 ar71xx: ag71xx: detect the built-in switch of the AR934X SoCs
SVN-Revision: 29551
2011-12-15 22:25:28 +00:00
Gabor Juhos
e2a546d475 ar71xx: allow to attach the internal switch for AR934x
SVN-Revision: 29550
2011-12-15 22:25:22 +00:00
Gabor Juhos
9ae65588d8 ar71xx: introduce ar71xx_switch_data
SVN-Revision: 29549
2011-12-15 22:25:11 +00:00
Gabor Juhos
bfe747b7d9 ar71xx: build images for TL-WR741N/ND v2
SVN-Revision: 29548
2011-12-15 22:03:48 +00:00
Gabor Juhos
aefff26624 ar71x: use raw squashfs images for TP-Link boards
SVN-Revision: 29547
2011-12-15 22:03:46 +00:00
Gabor Juhos
d5bd28ffae ar71xx: create a template for using unpadded squashfs images
SVN-Revision: 29546
2011-12-15 22:03:45 +00:00
Gabor Juhos
dbc4fa4b5b ar71xx: put squash image right after the kernel on TP-Link boards
SVN-Revision: 29545
2011-12-15 22:03:44 +00:00
Gabor Juhos
850be54b72 ar71xx: tplinkpart: allow to detect JFFS2 as well
SVN-Revision: 29543
2011-12-15 22:03:40 +00:00
Gabor Juhos
b7d7481b07 ar71xx: ag71xx: check PHY IDs before accessing the switch registers
SVN-Revision: 29541
2011-12-15 13:25:23 +00:00
Gabor Juhos
0655552860 ar71xx: ag71xx: don't use port 4 of the switch, it is not connected on ar724x
SVN-Revision: 29540
2011-12-15 13:25:21 +00:00
Gabor Juhos
204fc6bed5 ar71xx: ag71xx: nuke ar7240sw_init
SVN-Revision: 29539
2011-12-15 13:25:20 +00:00
Gabor Juhos
d1f7783612 ar71xx: fix mac addresses on jjPlus devices
SVN-Revision: 29538
2011-12-15 13:25:18 +00:00
Gabor Juhos
d3058b8f8c ar71xx: build image for the Hornet-UB board
SVN-Revision: 29536
2011-12-14 20:54:11 +00:00
Gabor Juhos
b9c5cb5c9a ar71xx: add support for ALFA Network's Hornet-UB board
SVN-Revision: 29535
2011-12-14 20:54:10 +00:00
Gabor Juhos
66c8cc0f6d ar71xx: add GPIO function bit defines for AR933X
SVN-Revision: 29534
2011-12-14 20:54:07 +00:00
Felix Fietkau
7076d74b21 ar71xx: fix gpio count for ar7241/ar7242
SVN-Revision: 29532
2011-12-14 20:47:24 +00:00
Felix Fietkau
b878f4a927 ar71xx: register extra leds behind the wireless mac on wzr-hp-g450h
SVN-Revision: 29531
2011-12-14 20:21:42 +00:00
Gabor Juhos
d2717d3d47 ar71xx: get rid of squashfs-4k images
SVN-Revision: 29522
2011-12-13 20:41:24 +00:00
Felix Fietkau
4a441570ca kernel: move linux/ath9k_platform.h to generic files so that it can be reused from other targets
SVN-Revision: 29516
2011-12-13 15:14:59 +00:00
Felix Fietkau
3806671fe5 ar71xx: fix wireless led on wzr-hp-g450h
SVN-Revision: 29515
2011-12-13 15:00:43 +00:00
Gabor Juhos
2dd7dfb1c9 ar71xx: enable AR9341 support at setup.c
Patch-by: dyq <729650915@qq.com>

SVN-Revision: 29514
2011-12-13 14:59:43 +00:00
Gabor Juhos
058998acdb ar71xx: Build images for Netgear WNDRMAC and WNDRMACv2
The WNDRMAC is a WNDR3700v2 (64MB RAM, 16MB flash) in a white case. The
WNDRMACv2 is a WNDR3800 (128MB RAM, 16MB flash) in a WNDRMAC case.

The WNDRMAC case doesn't have "holes" or labels for the 2.4GHz LED or
switch ports 2-4. The stock firmware uses a single LED (in the 5GHz
position) to indicate the status of both radios, and a single LED (in the
switch port 1 position) to indicate the status of all LAN ports. The
"missing" LEDs are present on the board, and easily shine through the
case. Unlike the stock firmware, OpenWrt will use these "hidden" LEDs.

I've tested the WNDRMACv2 image. I don't have a v1 WNDRMAC, but assume
that this is sufficient to build a fully-functional image.

Signed-off-by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 29513
2011-12-13 14:59:40 +00:00
Felix Fietkau
48f9717371 ar71xx: add gpios and usb for wzr-hp-g450h
SVN-Revision: 29509
2011-12-13 13:33:44 +00:00
Gabor Juhos
4ca2d86493 ar71xx: use RedBoot parser on PB44
SVN-Revision: 29501
2011-12-11 15:52:47 +00:00
Gabor Juhos
6e69765559 ar71xx: fix WNDR3x00 factory image generation
Factory images for WNDR3700v2 and WNDR3800 should contain these model IDs
for the device: field in their DNI tags, not WNDR3700.

This regressed in r29434, which redid WNDR3x00 model detection. The sixth
parameter to Image/Build/Netgear is only used as the -B argument to
mkdniimg, which is used to set the device: field. In r29434, this was
erroneously changed to be WNDR3700 for all models. The tools to flash
factory images (U-Boot's TFTP server and the factory software's upgrade
utility) may refuse to honor images with incorrect device: fields in their
DNI tags.

Signed-off-by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 29473
2011-12-07 06:55:50 +00:00
Gabor Juhos
8eb8a6e1e7 ar71xx: fix WNDR3x00 model detection
Detect the model name for /tmp/sysinfo/model based on 10 bytes at offset
56 in the art (caldata) mtd partition.

r29434 redid WNDR3x00 model detection, attempting to distinguish between
WNDR3700v2 and WNDR3800 by checking MemTotal in /proc/meminfo. However, it
contained a bug: it put the awk inside a $(...), with the result that all
WNDR3700v2 and WNDR3800 models would be reported as WNDR3800. This patch
checks the model name stored in the art partition, as is done by U-Boot
shipping on the WNDR3800. It has the likely advantage of working with
future models based on the WNDR3700 board. It also will not mis-detect
units on which people install more memory.

I have tested this patch on WNDR3700 (v1), WNDR3700v2, and WNDR3800.

Signed-off-by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 29472
2011-12-07 06:55:39 +00:00
Gabor Juhos
c6b2b98812 ar71xx: create firmware image for the TL-WR740N/ND v4 boards
Based on a patch by Cristian Deluxe <djcristiandeluxe@gmail.com>

SVN-Revision: 29468
2011-12-06 16:26:44 +00:00
Gabor Juhos
fbfad4e9b4 ar71xx: use hw_id, hw_rev and flash_layout with mktplinkfw
SVN-Revision: 29467
2011-12-06 16:26:43 +00:00
Gabor Juhos
d753e08c79 ar71xx: fix TL-MR3x20 profile names in image/Makefile
SVN-Revision: 29463
2011-12-06 13:53:21 +00:00
Gabor Juhos
62d8009cdd ar71xx: cleanup TP-Link profiles
SVN-Revision: 29461
2011-12-06 10:29:25 +00:00
Gabor Juhos
f7a482d382 ar71xx: add TP-Link board detection
SVN-Revision: 29459
2011-12-05 21:11:01 +00:00
Gabor Juhos
bdc2eca7de ar71xx: use correct mac on the lan interface on several TP-LINK devices
SVN-Revision: 29458
2011-12-05 21:10:58 +00:00
Gabor Juhos
0103069372 ar71xx: allow to pass negative offset values for ar71xx_init_mac
SVN-Revision: 29457
2011-12-05 21:10:55 +00:00
Gabor Juhos
ada92aee62 ar71xx: don't register PCI controller on AR934x if PCIE_RC bit is not set
SVN-Revision: 29456
2011-12-05 18:21:15 +00:00
Gabor Juhos
c6bcf8d1d8 ar71xx: verify hardware id of firmware images on TP-Link boards
SVN-Revision: 29455
2011-12-05 18:11:51 +00:00
Gabor Juhos
4dc9092f4b ar71xx: reclaim some unused space on TP-Link boards
With the default OpenWrt configuration, this increases the size
of the rootfs_data partition by 384KB/128KB on the older/newer
TP-Link models.

SVN-Revision: 29447
2011-12-05 14:52:36 +00:00
Gabor Juhos
3e7a6d182a ar71xx: check squashfs signature in TP-Link mtd parser
SVN-Revision: 29446
2011-12-05 14:52:33 +00:00
Gabor Juhos
feebf484ba ar71xx: use the lzma-loader on TP-Link boards w/o lzma support
SVN-Revision: 29444
2011-12-05 14:52:28 +00:00
Gabor Juhos
d42968351f ar71xx: add lzma loader
SVN-Revision: 29443
2011-12-05 14:52:25 +00:00
Felix Fietkau
1f809532de ar71xx: add preliminary support for wzr-hp-g450h
SVN-Revision: 29441
2011-12-05 14:20:51 +00:00
Felix Fietkau
d1f63f8538 ar71xx: move multi-m25p80 concat code from wzr-hp-ag300h mach code to dev-m25p80.c, other buffalo routers use it as well
SVN-Revision: 29440
2011-12-05 14:20:44 +00:00
Gabor Juhos
4cc2b9bb06 ar71xx: rewrite WNDR3700/3800 handling
SVN-Revision: 29434
2011-12-05 13:03:54 +00:00
Jo-Philipp Wich
78699c2e51 add some missing wndr3800 base-files definitions
SVN-Revision: 29433
2011-12-05 12:56:21 +00:00
Gabor Juhos
5177814ade ar71xx: change user-space board detection
SVN-Revision: 29432
2011-12-05 12:56:20 +00:00
Gabor Juhos
8a3a60fc64 ar71xx: allow WNDR3700 image creation to fail if kernel/rootfs too big
SVN-Revision: 29431
2011-12-05 12:47:53 +00:00
Gabor Juhos
7cfa39f032 ar71xx: use the tp-link parser on the tp-link boards
Also remove static partition maps.

SVN-Revision: 29416
2011-12-03 18:13:31 +00:00
Gabor Juhos
514b1167c9 ar71xx: add mtd partition parser for the TP-Link boards
SVN-Revision: 29415
2011-12-03 18:13:27 +00:00
Gabor Juhos
fc7fb29bae ar71xx: run the RedBoot parser only on the RedBoot based boards
SVN-Revision: 29414
2011-12-03 18:13:25 +00:00
Gabor Juhos
9cc28d5aa0 ar71xx: run the MyLoader parser only on the WP543 board
SVN-Revision: 29413
2011-12-03 18:13:23 +00:00
Gabor Juhos
67a0b9aada ar71xx: run the wrt160nl parser only on the WRT160NL board
Also remove static mtd partition definitions.

SVN-Revision: 29412
2011-12-03 18:13:20 +00:00
Gabor Juhos
c8acd6e013 ar71xx: allow to pass part_probe types to the m25p80 driver
SVN-Revision: 29411
2011-12-03 18:13:18 +00:00
Gabor Juhos
20483faed0 ar71xx: create initramfs images for the newer TP-Link boards
SVN-Revision: 29410
2011-12-03 16:57:23 +00:00
Gabor Juhos
9a2005e5e6 ar71xx: remove swconfig and wpad-mini from custom profiles
SVN-Revision: 29408
2011-12-03 16:33:41 +00:00
Gabor Juhos
bc1d818610 ar71xx: add uboot-envtools to the default package list
SVN-Revision: 29407
2011-12-03 16:33:40 +00:00
Gabor Juhos
a02a9c3f8b ar71xx: reclaim unused space in WNDR3700/3800 images
Patch by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 29406
2011-12-03 16:33:38 +00:00
Gabor Juhos
ac82296c53 ar71xx: add a profile and build image for the OM2P board
[juhosg: the name of the final image has been changed to
'openwrt-ar71xx-generic-om2p-squashfs-factory.bin']

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 29397
2011-12-01 22:49:05 +00:00
Gabor Juhos
f188f1bad5 ar71xx: add support for Ubiquiti AirRouter
Signed-off-by: Gergely Barta <gergely.barta@printerfairkft.hu>

SVN-Revision: 29395
2011-12-01 22:49:02 +00:00
Gabor Juhos
0612667c34 ar71xx: configure default led behavior for the OM2P
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 29394
2011-12-01 22:48:59 +00:00
Gabor Juhos
39348e387f ar71xx: use /lib/functions/uci-defaults.sh
SVN-Revision: 29385
2011-12-01 22:48:47 +00:00
Gabor Juhos
f20797306a ar71xx: modify phy mask of the WP543 board
This fixes ethernet on newer boards. Based on a patch from #9702.

SVN-Revision: 29328
2011-11-24 20:09:43 +00:00
Gabor Juhos
c20d7378e5 ar71xx: fix wndr3800 machine name
This fixes the machine name in /proc/cpuinfo and luci status page machine name.

Signed-off-by: Petri Rosenström <petri.rosenstrom@gmail.com>

SVN-Revision: 29326
2011-11-24 20:09:38 +00:00
Gabor Juhos
600b6efc41 ar71xx: copy atheros initramfs images to the image directory
SVN-Revision: 29325
2011-11-24 20:09:35 +00:00
Gabor Juhos
d97cf76790 ar71xx: specify mtd layout in command line for the DB120 board
SVN-Revision: 29324
2011-11-24 20:09:32 +00:00
Gabor Juhos
9990523a0f ar71xx: set GE0 phy_mask for AR933x
SVN-Revision: 29274
2011-11-20 11:30:10 +00:00
Gabor Juhos
f27548448b ar71xx: fix USB LED on the DB120 board
SVN-Revision: 29126
2011-11-14 17:43:15 +00:00
Gabor Juhos
6ebbb1329d ar71xx: add a function for selecting output signal on a given GPIO pin
SVN-Revision: 29125
2011-11-14 17:43:14 +00:00