Commit graph

1545 commits

Author SHA1 Message Date
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