Felix Fietkau
f47ed77684
ar71xx: remove AG71XX_RX_PKT_RESERVE, it is no longer necessary (found by Eric Dumazet)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31736 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-15 10:36:39 +00:00
Gabor Juhos
cc87185921
kernel: update linux 3.3 to 3.3.6
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 09:18:32 +00:00
Gabor Juhos
6f83a7bcb2
ar71xx: fix build error if PCI is disabled
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31646 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-07 21:16:22 +00:00
Gabor Juhos
3303e79b79
kernel: update linux 3.3 to 3.3.5
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31645 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-07 20:11:43 +00:00
Felix Fietkau
f20d1938b5
kernel: rewrite the phy packet hook, put it in the network stack to avoid having to keep non-upstream ethernet driver changes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31637 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-06 21:19:14 +00:00
Gabor Juhos
5b7d0a95c8
ar71xx: add profile and build image for the TL-WR1041N v2 board
...
Patch-by: Vince Huang <axishero@foxmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 17:02:41 +00:00
Gabor Juhos
b373fefee9
ar71xx: add support for the TP-Link TL-WR1041N v2 board
...
Patch-by: Vince Huang <axishero@foxmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 17:02:35 +00:00
Gabor Juhos
9f2ec6e9f6
ar71xx: update 3.3 patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 13:56:35 +00:00
Gabor Juhos
b56c425713
ar71xx: fix a typo in the db120 mach file
...
Reported-by: Sven Eckelmann <sven@narfation.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31601 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 13:56:30 +00:00
Gabor Juhos
465b2a024c
kernel: update linux 3.3 to 3.3.4
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31541 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-30 08:38:11 +00:00
Gabor Juhos
01bea635cb
ar71xx: allow to disable link polling on unused PHYs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 18:29:24 +00:00
Gabor Juhos
7a2e03f5e3
ar71xx: enable MIB counters in the built-in switch of the AR934x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31476 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-25 13:02:11 +00:00
Gabor Juhos
5913da2e94
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31461 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-24 11:38:44 +00:00
Jonas Gorski
281a545b07
kernel: update linux 3.3 to 3.3.3
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-24 09:25:38 +00:00
Gabor Juhos
8b3c00c77f
ar71xx: remove duplicated AP121 Kconfig entry
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31382 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-20 16:50:16 +00:00
Gabor Juhos
d83124454a
ar71xx: nuke 3.2 support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31360 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-19 21:32:05 +00:00
Gabor Juhos
f41d93b307
ar71xx: switch to 3.3.2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31359 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-19 21:31:58 +00:00
Gabor Juhos
8f4fdc7ddd
ar71xx: sync 3.3 config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-19 21:31:53 +00:00
Gabor Juhos
8771edc108
ar71xx: merge/reorganize 3.3 patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31357 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-19 21:31:50 +00:00
Gabor Juhos
fb5930b034
ar71xx: use ap91_pci_init for RB751{,G}
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-19 21:31:48 +00:00
Gabor Juhos
00d3105923
ar71xx: move USB device registration directly into rb751{,g}_setup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31355 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-19 21:31:43 +00:00
Gabor Juhos
83531b059e
ar71xx: add ap9x_pci_get_wmac_data helper
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31354 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-19 21:31:42 +00:00
Gabor Juhos
7ad3da40d6
ar71xx: add sanity checks to decode_rle
...
Also use -EINVAL instead of -1.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-19 21:31:40 +00:00
Jonas Gorski
7865291832
kernel: also update the targets to use 3.2.15
...
Thanks Gabor for spotting it.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-17 13:12:14 +00:00
Jonas Gorski
afbf3d994e
kernel: update linux 3.3 to 3.3.2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-17 12:51:02 +00:00
Jonas Gorski
fe073513d5
kernel: update linux 3.2 to 3.2.14
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31222 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-09 14:48:51 +00:00
Gabor Juhos
571d6c4766
ar71xx: image: build initramfs images for the WHR boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31209 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-06 06:45:08 +00:00
Gabor Juhos
ff6417252a
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]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31208 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-06 06:45:07 +00:00
Gabor Juhos
4442cefd05
ar71xx: add rb750 to diag.sh
...
Support status led in diag.sh for RB750
Patch from: Evangelos Arkalis <arkalis.e@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31207 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-06 06:45:04 +00:00
Jonas Gorski
d944e45d65
kernel: update linux 3.2 to 3.2.13 and refresh patches
...
Also remove a duplicate patch from lantiq (already in generic).
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31158 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-01 07:56:55 +00:00
Gabor Juhos
25cb8f3f4f
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%
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:38:17 +00:00
Gabor Juhos
7466fa47e4
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%
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31117 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:38:15 +00:00
Gabor Juhos
2082a166ec
ar71xx: image: build initramfs images for more boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31116 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:38:13 +00:00
Gabor Juhos
4251611f6f
ar71xx: image: add MkuImage{Gzip,Lzma}/initramfs helpers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:38:11 +00:00
Gabor Juhos
2f5d4465f9
ar71xx: image: pass mtdlayout variables by value
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31114 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:38:10 +00:00
Gabor Juhos
a25b939eac
ar71xx: image: use MkuImageGzip in Image/Build/AthGzip/initramfs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31113 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:38:08 +00:00
Gabor Juhos
bc6cbb5644
ar71xx: remove the built-in MTD map of the AP96 board
...
Pass the mtd_layout via the kernel command line instead.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31112 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:38:07 +00:00
Gabor Juhos
35c72f864e
ar71xx: remove the built-in MTD map of the PB92 board
...
Pass the mtd_layout via the kernel command line instead
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31111 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:38:05 +00:00
Gabor Juhos
1f4578115c
ar71xx: remove the built-in MTD map of the Zcomax devices
...
Pass the mtd_layout via the kernel command line instead.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31110 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:38:04 +00:00
Gabor Juhos
8aca9f5db2
ar71xx: reclaim the 'user_property' partition on WHR-* boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31109 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:38:02 +00:00
Gabor Juhos
ba06bbe662
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31108 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:38:01 +00:00
Gabor Juhos
41b5fcad6d
ar71xx: use modules for LED triggers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31107 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:37:59 +00:00
Gabor Juhos
b5219fd99f
ar71xx: disable CONFIG_{I2C,SPI}_GPIO
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31104 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:37:53 +00:00
Gabor Juhos
db52ced806
ar71xx: sync 3.3 config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31103 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:37:52 +00:00
Gabor Juhos
c80db28b91
ar71xx: fix button polarity on TL-WR703N and TL-WR741N v4
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:37:51 +00:00
Gabor Juhos
3381cc597a
linux: refresh patches against 3.3
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31047 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-20 15:55:07 +00:00
Gabor Juhos
6c6f00cc24
ar71xx: fix IRQ number for the AR7240 OHCI controller
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31044 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-20 15:02:48 +00:00
Gabor Juhos
81de1500bc
kernel: update linux 3.2 to 3.2.12
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31028 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 18:23:31 +00:00
Gabor Juhos
adf7b3da44
ar71xx: disable unused file system drivers in the nand subtarget
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 15:57:07 +00:00
Gabor Juhos
9d7ffb3b5d
ar71xx: sync kernel configs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 15:57:06 +00:00
Gabor Juhos
935d0cf7fe
ar71xx: add initial support for RB750GL
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31025 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 15:57:04 +00:00
Gabor Juhos
fcb6507f7b
ar71xx: make rb750_latch_change 'static void'
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 15:57:03 +00:00
Gabor Juhos
dbf4111ad7
ar71xx: add latch_change field to rb750_led_platform_data
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31023 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 15:57:01 +00:00
Gabor Juhos
c0a33c12b0
ar71xx: add platform data for the RB750 NAND driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 15:56:59 +00:00
Gabor Juhos
75ef6719a4
ar71xx: use a different pll value on DB120
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 11:11:22 +00:00
Gabor Juhos
c6fb886b40
ar71xx: add AR934x specific interface speed setup for ge0
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31017 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 11:11:20 +00:00
Gabor Juhos
036f98bb27
ar71xx: remove static MTD maps from AP121/DB120 boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 11:11:19 +00:00
Felix Fietkau
887c0ecd98
targets: replace madwifi in profiles with ath5k, madwifi is unmaintained
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 09:58:13 +00:00
Gabor Juhos
29ab3f288b
ar71xx: use AR8327 on the DB120 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31012 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 22:06:58 +00:00
Gabor Juhos
902c08b7e6
ar71xx: add profile and generate image for the JA76PF2 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30958 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-16 18:00:40 +00:00
Gabor Juhos
b1fb73bd2f
ar71xx: add support for the jjPlus JA76PF2 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30957 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-16 18:00:34 +00:00
Gabor Juhos
a9e99d72ea
ar71xx: change LED name prefix on the jjplus boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-16 18:00:26 +00:00
Gabor Juhos
6189648864
ar71xx: move micrel PHY driver to the generic linux target
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-15 09:25:53 +00:00
Gabor Juhos
8e0414c16a
ar71xx: ag71xx: fix ARP frame reception on AR934x switch ports
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-13 17:29:38 +00:00
Gabor Juhos
90579991ee
ar71xx: ag71xx: start aneg on switch PHYs after reset
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30925 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-13 17:29:37 +00:00
Gabor Juhos
16cf112d8c
ar71xx: ag71xx: poll PHY status of all available switch ports
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30924 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-13 17:29:36 +00:00
Gabor Juhos
4e4e7aeec4
ar71xx: ag71xx: allow to use port 5 of the AR934x built-in switch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-13 17:29:34 +00:00
Gabor Juhos
011e043746
ar71xx: reset the switch on AR934x before ethernet device registration
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-13 17:29:33 +00:00
Gabor Juhos
14f91a5fd5
ar71xx: fix a typo in ar71xx_regs.h
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30921 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-13 17:29:31 +00:00
Gabor Juhos
068199dde5
ar71xx: use a dummy callback for interfaces with fixed speed
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-12 20:38:58 +00:00
Gabor Juhos
caae34337e
ar71xx: merge ar934x_bo_ddr_flush patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-12 20:38:57 +00:00
Gabor Juhos
b169293875
ar71xx: enable UART function for early_printk/console
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-12 17:32:39 +00:00
Gabor Juhos
7325c957ad
ar71xx: remove a 3.3 patch, it is already in 3.3-rc7
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-12 16:27:57 +00:00
Gabor Juhos
4d821bdfe2
ar71xx: fix Compex WPE72 detection
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30902 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-12 16:27:56 +00:00
Gabor Juhos
3cd6cb21cd
ar71xx: stop image building if a loader is missing
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-11 14:03:28 +00:00
Gabor Juhos
14fed3c49b
ar71xx: add watchdog driver to the default package list
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-08 09:00:17 +00:00
Gabor Juhos
b8d4f21691
ar71xx: fix WPS button polarity on TL-WR2543N
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 19:50:53 +00:00
Gabor Juhos
b079387bc5
ar71xx: ag71xx: fix get_port_link callback
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:35 +00:00
Gabor Juhos
8040107a9c
ar71xx: ag71xx: use the generic get_port_link implementation
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:34 +00:00
Gabor Juhos
1bb70a9a7d
ar71xx: refresh patches against 3.3-rc5
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-03 14:10:29 +00:00
Gabor Juhos
f265cbac9e
ar71xx: ag71xx: keep VLAN tags if VLAN is not enabled
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-01 19:49:05 +00:00
Gabor Juhos
23c3f7941e
kernel: update linux 3.2 to 3.2.9
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-01 19:49:02 +00:00
Gabor Juhos
04b9bc61e1
ar71xx: use v6.0.0 in UBTN-XM firmwares ( closes #11038 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30712 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-24 20:41:38 +00:00
Felix Fietkau
31df1c58cb
ar71xx: switch to kmod-gpio-button-hotplug
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-20 10:51:48 +00:00
Gabor Juhos
390cbbcf32
ar71xx: fix image signature for UBNT-XM boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30626 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-18 14:45:52 +00:00
Gabor Juhos
39f5515e40
ar71xx: remove duplicated define from the D-Link profile
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30577 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 09:03:27 +00:00
Daniel Dickinson
c1f7143622
[ar71xx] Add Ubiquiti UniFi Profile; It's an AP without USB so don't include USB drivers by default
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 07:45:28 +00:00
Daniel Dickinson
37d73823be
[ar71xx] d-link: Add DIR-601 Profile Definition; It needs different factory images than DIR-600
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 07:38:33 +00:00
Daniel Dickinson
3be148b333
[ar71xx] Fix partitions for Cameo-based boards; kernel 3.2 is bigger
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 07:29:26 +00:00
Daniel Dickinson
190f75f104
[ar71xx] image: For Cameo-based board fix adding mtd layout to kernel commandline)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 07:24:45 +00:00
Gabor Juhos
1c8bb38b68
ar71xx: add profile and build image for the TP-Link TL-WR842N/ND v1 boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-13 17:11:58 +00:00
Gabor Juhos
87adb998bc
ar71xx: add model detection for TL-WR842N/ND
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-13 17:11:57 +00:00
Gabor Juhos
8686954917
ar71xx: zero partition parser data in m25p80
...
Ths fixes parsing of RedBoot partitions.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 20:19:06 +00:00
Gabor Juhos
874b5f7d49
ar71xx: fix platform description
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30419 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 15:27:49 +00:00
Gabor Juhos
cca831fa63
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30417 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 14:56:47 +00:00
Gabor Juhos
afc636fee1
ar71xx: add dummy DQL helper functions for 3.2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30416 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 14:56:44 +00:00
Gabor Juhos
1b97bcd3dc
ar71xx: add preliminary support for 3.3
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 11:53:56 +00:00
Felix Fietkau
6b23efb733
ar71xx: disable DDR flush for ethernet on AR934x, it is no longer necessary
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 11:46:37 +00:00
Felix Fietkau
e5e2e517f8
ar71xx: fix db120 board detection
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 11:46:31 +00:00
Gabor Juhos
ca440b44cf
ar71xx: allow to build ag71xx w/o PCI support enabled
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 11:46:10 +00:00
Gabor Juhos
07c8ccf163
ar71xx: merge 3.2 fixes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 08:19:33 +00:00
Gabor Juhos
0b6aaa98af
ar71xx: merge files-3.2 to files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30405 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 08:19:31 +00:00
Gabor Juhos
86ef5faaee
ar71xx: nuke 2.6.39 support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30404 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 08:19:28 +00:00
Gabor Juhos
5542aa3fa3
ar71xx: switch to 3.2.5
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 08:19:27 +00:00
Gabor Juhos
a41160e816
ar71xx: refresh 3.2 patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30402 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 08:19:25 +00:00
Gabor Juhos
2397d9c42d
ar71xx: 3.2: remove stray semicolons from the PCI fixup patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30400 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-09 21:19:57 +00:00
Felix Fietkau
1765a981a7
ar71xx: fix ar934x usb reset handling on 3.2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30399 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-09 20:39:41 +00:00
Gabor Juhos
84a643c9a7
ar71xx: 3.2: get rid of an unused variable in ath79_spi.c
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30391 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-08 20:47:58 +00:00
Gabor Juhos
29dea146ee
ar71xx: 3.2: fix AHB clock name in rb4xx_spi
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-08 20:47:56 +00:00
Gabor Juhos
c09040c80d
ar71xx: add profile and build image for the TEW-673GRU board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30377 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-08 16:26:27 +00:00
Gabor Juhos
daf3a5a8ff
ar71xx: add support for the TRENDNet TEW-673GRU board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30376 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-08 16:26:25 +00:00
Felix Fietkau
30a072afb0
ar71xx: add usb on the pb92 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-03 09:44:51 +00:00
Gabor Juhos
c7e717ce65
ar71xx: fix ethernet LEDs on the WHR-{G301N,HP-G300N,HP-GN} boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 20:49:34 +00:00
Gabor Juhos
fd7bd75c16
ar71xx: merge DIR-600 A1 and DIR-615 E4 support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29976 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 18:37:29 +00:00
Gabor Juhos
129be88f0d
ar71xx: fix ethernet LEDs on the DIR-600-A1 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29975 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 18:37:24 +00:00
Gabor Juhos
4946900ecc
ar71xx: unify LED names on D-Link boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29974 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 18:37:15 +00:00
Gabor Juhos
780aecc9ca
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29973 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 18:37:09 +00:00
Gabor Juhos
0e45b3367c
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29972 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 18:37:01 +00:00
Gabor Juhos
f25655b13b
ar71xx: compress kernel binaries in Image/Prepare stage
...
The lzma compressed kernel is used by one of the loaders.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29971 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 18:36:54 +00:00
Gabor Juhos
f9e8748d57
ar71xx: use dynamically allocated partitions in wrt160nl_part
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-31 18:36:51 +00:00
Florian Fainelli
c003d83f1a
[ar71xx] add support for the Atheros AP113 reference board
...
This reference board is equipped with:
- AR7242 SoC
- AR9580 on-board Wi-Fi
- AR8316 switch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-28 13:19:49 +00:00
Florian Fainelli
906dfaac14
[ar71xx] refresh 3.2 patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-28 13:19:43 +00:00
Gabor Juhos
c82034b4c9
ar71xx: use 64k block size for WZR-HP-AG300H
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29917 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-27 10:42:41 +00:00
Gabor Juhos
1727dca60a
ar71xx: fix sysupgrade image building of atheros boards after r29899
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-27 07:51:09 +00:00
Gabor Juhos
9ae562846f
ar71xx: create the temporary directory before building initramfs images
...
Thanks to Florian for reporting.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-26 21:28:34 +00:00
Gabor Juhos
d8bb980f47
ar71xx: create a profile and build images for Compex WPE72
...
[juhosg: remove ath9k from the the profile package list, build WPE72
image with the Default profile as well]
Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-26 17:01:44 +00:00
Gabor Juhos
ede9030b02
ar71xx: add support for Compex WPE72/WPE72NX
...
This patch adds support for Compex WPE72 bare board and Compex WPE72NX
Indoor Access Point.
[juhosg: add support to 3.2 as well]
Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-26 17:01:41 +00:00
Gabor Juhos
e55bf8c335
ar71xx: TL-MR3020: fix board detection, fix missing mandatory package and modify LED behaviour
...
This patch fixes the board detection of the TL-MR3020.
The LED behaviour has also been modified:
* The WPS LED is the diag LED now.
* A netdev trigger for the LAN LED has been added.
The profile of the TL-MR3020 has been updated because the needed package
"kmod-ledtrig-usbdev" was missing which resulted in a non-working usbdev
trigger for the 3G/USB LED.
[juhosg: the board name changes has been removed, and the kernel files
has been changed instead.]
Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-25 07:44:45 +00:00
Gabor Juhos
47e45167d9
ar71xx: TL-MR3020: fix GPIO polarity for button and switch
...
This patch fixes the GPIO polarity for the button and the sliding
switch. The buttons are not active low. "Pressed" and "Released"
events are wrong without the patch.
Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29904 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-25 07:44:43 +00:00
Gabor Juhos
cb51e6c0d7
ar71xx: use the lzma loader on the Planex boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 20:12:10 +00:00
Gabor Juhos
1c279ca34e
ar71xx: rename Sysupgrade/{KR,RK} to Sysupgrade/{KR,RK}uImage
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 20:12:08 +00:00
Gabor Juhos
2ca85663ea
ar71xx: fix the AP/Router LED definitons on MZK-W300NH
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 18:40:38 +00:00
Gabor Juhos
0353e85c26
ar71xx: preset WLAN LED config on MZK-W300NH
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 18:40:36 +00:00
Gabor Juhos
98cfb744db
ar71xx: remove hardcoded MTD layout from planex files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 18:40:34 +00:00
Gabor Juhos
bd7d55d8ed
ar71xx: pass mtdlayout to Planex boards via command line
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 18:40:33 +00:00
Gabor Juhos
352efddfa0
ar71xx: remove an unused header file
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 18:40:31 +00:00
Gabor Juhos
6536036506
ar71xx: nuke fs_all variable in image/Makefile
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 09:47:25 +00:00
Gabor Juhos
0ee87255f5
ar71xx: create interim kernel files in a separate dir
...
This reduces the size of the ImageBuilder tarball a lot.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29879 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 09:47:23 +00:00
Gabor Juhos
cb618e5c95
ar71xx: prebuild all loaders in Image/Prepare stage
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-24 09:47:22 +00:00
Gabor Juhos
019a86ebc3
ar71xx: 3.2: fix build errors if PCI is not enabled
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-23 08:52:21 +00:00
Gabor Juhos
0dc4edde27
ar71xx: fix compiler warning if PCI is not enabled
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29869 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-23 08:52:18 +00:00
Gabor Juhos
fa34189a17
ar71xx: add initial support for 3.2
...
Tested on the following boards:
ALFA AP96
TL-MR3220 v1
TL-WR1043ND v1
TL-WR2543ND v1
TL-WR703N v1
TL-WR741ND v1
TL-WR741ND v4
WNDR3700 v1
WZR-HP-G300NH
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29868 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 22:38:19 +00:00
Gabor Juhos
2899e54bd7
ar71xx: move arch specific files to files-2.6.39
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29867 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 22:38:11 +00:00
Gabor Juhos
31ac2df946
ar71xx: build ALFA AP96 images with default profile as well
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 22:33:15 +00:00
Gabor Juhos
5a804a0710
ar71xx: wrt160nl_part: include module.h and fix compiler warnings
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 17:55:38 +00:00
Gabor Juhos
77681dfda2
ar71xx: tplinkpart: include module.h
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 17:55:36 +00:00
Gabor Juhos
69c5ec5805
ar71xx: rename vsc7385 spi driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 13:51:57 +00:00
Gabor Juhos
57182d0623
ar71xx: rename ap81 spi driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 13:51:56 +00:00
Gabor Juhos
9c5fd0809f
ar71xx: rename rb4xx spi drivers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 13:51:54 +00:00
Gabor Juhos
99e5d01717
ar71xx: rename the nxp_74hc153 driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 13:51:52 +00:00
Gabor Juhos
c72cb530b3
ar71xx: change board id of the UniFi board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 13:51:50 +00:00
Gabor Juhos
0ddf352708
ar71xx: include linux/module.h in the micrel phy driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 13:51:49 +00:00
Gabor Juhos
cb544f1fd3
ar71xx: move irq_to_gpio and gpio_to_irq into gpio.c
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 18:00:50 +00:00
Gabor Juhos
510237b282
ar71xx: disable ath79 in order to get rid of Kconfig warnings
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29711 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:19 +00:00
Gabor Juhos
c7cf50257f
ar71xx: pb44_spi: add shutdown handler
...
This allows to access the flash from a kexec'd kernel.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29710 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:18 +00:00
Gabor Juhos
d4f8c16d01
ar71xx: pb44_spi: call pb44_spi_{en,dis}able from probe/remove
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:17 +00:00
Gabor Juhos
a1de404466
ar71xx: pb44_spi: introduce pb44_spi_{en,dis}able helpers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29708 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:15 +00:00
Gabor Juhos
aeeb859e58
ar71xx: ar71xx_spi: add shutdown handler
...
This allows to access the flash from a kexec'd kernel.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29707 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:14 +00:00
Gabor Juhos
ad96a5a37b
ar71xx: ar71xx_spi: save and restore regs from probe/remove
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29706 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:13 +00:00
Gabor Juhos
55412d0e9e
ar71xx: ar71xx_wdt: add shutdown handler
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:11 +00:00
Gabor Juhos
06a14f561a
ar71xx: refresh patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 19:36:43 +00:00
Gabor Juhos
f9d78517ad
ar71xx: add a profile and build images for the TL-WR2543N/ND
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29682 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 19:36:42 +00:00
Gabor Juhos
8782a469c8
ar71xx: add initial support for the TL-WR2543N/ND board
...
The WLAN LEDs are not working yet.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 19:36:35 +00:00
Gabor Juhos
ce48dfe9f2
ar71xx: allow to specify max read size for m25p80
...
Reading from the flash chip on the TL-WR2543ND seems buggy.
If the SPI flash driver tries to read too much data in one
SPI transfer, the flash chip returns bogus values. This can
be caused by a buggy flash chip on my board, or it can
be a bug in our SPI driver.
Add a workaround to the m25p80 driver until I find out the
root cause of the problem. The patch allows to specify the
maximum numner of bytes which can be read safely withint
one SPI transfer.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29679 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 19:36:33 +00:00
Gabor Juhos
c64226d2ad
ar71xx: local mac support on the wndr3700
...
The wndr3700 at least has no eth0 mac address and usually leverages
the first wireless device's mac when in a bridged scenario. If,
however, you want to route, and not bridge the interfaces, you
need a unique mac address for it.
This patch sets the local bit on the mac address pulled from the
wireless chip and uses the resulting address for eth0.
Patch-by: Dave Taht <dave.taht@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29675 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 17:24:44 +00:00
Gabor Juhos
1f6caadd70
generic: improve MIPS kexec support
...
It is based on patches from the linux-longsoon-community git tree:
http://dev.lemote.com/cgit/linux-loongson-community.git/
Now the kernel can use the command line parameter from kexec-tools.
Runtime tested on ar71xx with 2.6.39.4 (the wathdog must be stopped
before executing the new kernel). Compile tested with lantiq (3.1.4)
and brcm47xx (3.0.12).
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29674 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 16:29:16 +00:00
Gabor Juhos
363361428e
ar71xx: fix sysupgrade on the TL-WR841N/ND v7 boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-06 15:54:59 +00:00
Gabor Juhos
a128548072
ar71xx: add support for Redwave RW2458N
...
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29669 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-06 07:20:59 +00:00
Gabor Juhos
4052a864ee
ar71xx: fix RB-750 network configuration
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29668 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-06 07:20:54 +00:00
Gabor Juhos
881581493f
ar71xx: fix sections mismatch warnings in the nand drivers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29667 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-05 18:08:33 +00:00
Gabor Juhos
9bcaf204ee
ar71xx: fix LED configuration on the RB-750
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29666 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-05 18:08:28 +00:00
Gabor Juhos
df72f38897
ar71xx: create profile and build image for the ALFA AP96 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 21:13:57 +00:00
Gabor Juhos
2d696ce97e
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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29662 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 21:13:54 +00:00
Gabor Juhos
5c8819fc34
ar71xx: specify console kernel parameter for the Compex boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:59 +00:00
Gabor Juhos
3eeb7b7a5b
ar71xx: allow to use the command line hack on compex devices
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:58 +00:00
Gabor Juhos
97682e0944
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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29658 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:57 +00:00
Gabor Juhos
a53822baf4
ar71xx: show correct model name on TL-WA701N/ND boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29657 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:55 +00:00
Gabor Juhos
e1cde7e2f2
ar71xx: add profile and build image for the TL-WA701N/ND boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29656 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:54 +00:00
Gabor Juhos
d18016e1c8
ar71xx: fix network configuration for the TL-WA901N/ND boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29654 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:52 +00:00
Gabor Juhos
bf40a234de
ar71xx: allow to use LAN LED on the TL-WA901N/ND boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:50 +00:00
Gabor Juhos
0baf809de3
ar71xx: add default LED configuration for the TL-MR3020
...
Also use the system LED for diagnostic.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:49 +00:00
Gabor Juhos
2526c08008
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:47 +00:00
Gabor Juhos
4be5cd66f3
ar71xx: use the new om-watchdog package for OM2P
...
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:41 +00:00
Gabor Juhos
70c438bb93
ar71xx: add profile and build factory image for the Hornet-UB board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29637 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-01 19:30:29 +00:00
Gabor Juhos
c3f617ef35
ar71xx: build images for the ALFA Network N2/N5 boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29636 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-01 19:30:28 +00:00
Gabor Juhos
674aa34176
ar71xx: add support for the ALFA Network N2/N5 boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29635 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-01 19:30:25 +00:00
Gabor Juhos
859e59397b
ar71xx: define LAN/WAN LEDs for the TL-WR741N/ND boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29631 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-31 15:02:46 +00:00
Gabor Juhos
118232a591
ar71xx: enable SWCONFIG_LEDS
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29630 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-31 15:02:40 +00:00
Gabor Juhos
9bf3904856
ar71xx: ag71xx: implement get_port_{link,stats} callbacks
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29626 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-31 15:02:26 +00:00
Gabor Juhos
be7cbae844
ar71xx: fix LEDs on the WRT400N
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-31 13:54:11 +00:00
Gabor Juhos
8a4dd9c10f
ar71xx: enable sysupgrade support for airrouter
...
Works for me! ;-)
Patch-by: Russell Senior <russell@personaltelco.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-27 16:59:43 +00:00
Gabor Juhos
22e9d33e1c
ar71xx: fix sysupgrade on PB42/PB44 boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-27 16:57:01 +00:00
Felix Fietkau
5f97cea3f0
ar71xx: set a reserved bit that resets to 1 when writing the address table control register on the ar7240 switch (should fix #10547 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-22 05:43:53 +00:00
Jonas Gorski
a5fdbc09b3
ar71xx: add default network config for buffalo WZR-HP-G300NH2 and WZR-HP-G450H
...
Thanks netprince for reporting and testing.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-21 19:32:40 +00:00
Jo-Philipp Wich
26415b5f86
[ar71xx] the mach file of the WZR-HP-G300NH2 accidentally claimed the mach id of the WZR-HP-AG300H, correct the id ( #10649 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29593 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-21 01:27:48 +00:00
Felix Fietkau
7e96983fe1
ar71xx: add missing wireless led changes for wzr-hp-g300nh2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-19 09:04:15 +00:00
Felix Fietkau
b809bbc100
ar71xx: add support for the wzr-hp-g300nh2
...
Signed-off-by: Mark Deneen <mdeneen@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-18 22:20:17 +00:00
Gabor Juhos
3894ae522a
ar71xx: use 64kraw template on more TP-Link boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29561 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-17 18:49:55 +00:00
Gabor Juhos
e5d5ffcbc2
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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:38 +00:00
Gabor Juhos
10a219ed66
ar71xx: add defines for the AR934X GMAC interface
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:36 +00:00
Gabor Juhos
2b1b2e492f
ar71xx: fix GMAC1 interface speed on the DB120 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29555 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:35 +00:00
Gabor Juhos
56a02cffed
ar71xx: ag71xx: fix switch port setup for AR934X
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:32 +00:00
Gabor Juhos
5039a01b61
ar71xx: ag71xx: allow to connect PHY4 to the CPU on AR934X
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:30 +00:00
Gabor Juhos
59e650a276
ar71xx: ag71xx: setup switch interface mode on AR934X
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:29 +00:00
Gabor Juhos
3f45ffd8f2
ar71xx: ag71xx: detect the built-in switch of the AR934X SoCs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:28 +00:00
Gabor Juhos
01036f2eae
ar71xx: allow to attach the internal switch for AR934x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29550 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:22 +00:00
Gabor Juhos
691b20bcaf
ar71xx: introduce ar71xx_switch_data
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29549 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:25:11 +00:00
Gabor Juhos
1c234742d6
ar71xx: build images for TL-WR741N/ND v2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29548 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:03:48 +00:00
Gabor Juhos
ac0030116e
ar71x: use raw squashfs images for TP-Link boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29547 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:03:46 +00:00
Gabor Juhos
178dfb1db9
ar71xx: create a template for using unpadded squashfs images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29546 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:03:45 +00:00
Gabor Juhos
3b391aa04c
ar71xx: put squash image right after the kernel on TP-Link boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29545 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:03:44 +00:00
Gabor Juhos
c0f856759b
ar71xx: tplinkpart: allow to detect JFFS2 as well
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:03:40 +00:00
Gabor Juhos
bc40f1dc75
ar71xx: ag71xx: check PHY IDs before accessing the switch registers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29541 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 13:25:23 +00:00
Gabor Juhos
b480583892
ar71xx: ag71xx: don't use port 4 of the switch, it is not connected on ar724x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 13:25:21 +00:00
Gabor Juhos
58bcc09552
ar71xx: ag71xx: nuke ar7240sw_init
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29539 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 13:25:20 +00:00
Gabor Juhos
c1ff55ab84
ar71xx: fix mac addresses on jjPlus devices
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29538 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 13:25:18 +00:00
Gabor Juhos
97ebf387ba
ar71xx: build image for the Hornet-UB board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29536 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-14 20:54:11 +00:00
Gabor Juhos
1b89ef9b2c
ar71xx: add support for ALFA Network's Hornet-UB board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29535 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-14 20:54:10 +00:00
Gabor Juhos
9d5225b963
ar71xx: add GPIO function bit defines for AR933X
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29534 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-14 20:54:07 +00:00
Felix Fietkau
df79552a2b
ar71xx: fix gpio count for ar7241/ar7242
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29532 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-14 20:47:24 +00:00
Felix Fietkau
f3906a190c
ar71xx: register extra leds behind the wireless mac on wzr-hp-g450h
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-14 20:21:42 +00:00
Gabor Juhos
74dbf6c823
ar71xx: get rid of squashfs-4k images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29522 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-13 20:41:24 +00:00
Felix Fietkau
af9ac63fda
kernel: move linux/ath9k_platform.h to generic files so that it can be reused from other targets
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-13 15:14:59 +00:00
Felix Fietkau
f5ed3d653f
ar71xx: fix wireless led on wzr-hp-g450h
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-13 15:00:43 +00:00
Gabor Juhos
2329eaffac
ar71xx: enable AR9341 support at setup.c
...
Patch-by: dyq <729650915@qq.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-13 14:59:43 +00:00
Gabor Juhos
041a6265f8
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-13 14:59:40 +00:00
Felix Fietkau
9db5641019
ar71xx: add gpios and usb for wzr-hp-g450h
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-13 13:33:44 +00:00
Gabor Juhos
c9fcfa6fba
ar71xx: use RedBoot parser on PB44
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-11 15:52:47 +00:00
Gabor Juhos
589a8dfc24
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-07 06:55:50 +00:00
Gabor Juhos
dbdb71ce8b
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-07 06:55:39 +00:00
Gabor Juhos
4636ce7f8a
ar71xx: create firmware image for the TL-WR740N/ND v4 boards
...
Based on a patch by Cristian Deluxe <djcristiandeluxe@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29468 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-06 16:26:44 +00:00
Gabor Juhos
33322c055c
ar71xx: use hw_id, hw_rev and flash_layout with mktplinkfw
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-06 16:26:43 +00:00
Gabor Juhos
8244420b66
ar71xx: fix TL-MR3x20 profile names in image/Makefile
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-06 13:53:21 +00:00
Gabor Juhos
554d2c4504
ar71xx: cleanup TP-Link profiles
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29461 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-06 10:29:25 +00:00
Gabor Juhos
bdfd4b5e5f
ar71xx: add TP-Link board detection
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 21:11:01 +00:00
Gabor Juhos
10ebaf63a7
ar71xx: use correct mac on the lan interface on several TP-LINK devices
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 21:10:58 +00:00
Gabor Juhos
9501b2cf37
ar71xx: allow to pass negative offset values for ar71xx_init_mac
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 21:10:55 +00:00
Gabor Juhos
8caa31435f
ar71xx: don't register PCI controller on AR934x if PCIE_RC bit is not set
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 18:21:15 +00:00
Gabor Juhos
e8c0dabf9a
ar71xx: verify hardware id of firmware images on TP-Link boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 18:11:51 +00:00
Gabor Juhos
6356c4e99d
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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:52:36 +00:00
Gabor Juhos
bb48c3c03e
ar71xx: check squashfs signature in TP-Link mtd parser
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:52:33 +00:00
Gabor Juhos
c9f52e0adc
ar71xx: use the lzma-loader on TP-Link boards w/o lzma support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:52:28 +00:00
Gabor Juhos
f59dd2dc3e
ar71xx: add lzma loader
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:52:25 +00:00
Felix Fietkau
037fc54211
ar71xx: add preliminary support for wzr-hp-g450h
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:20:51 +00:00
Felix Fietkau
0eb86d9380
ar71xx: move multi-m25p80 concat code from wzr-hp-ag300h mach code to dev-m25p80.c, other buffalo routers use it as well
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29440 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:20:44 +00:00
Gabor Juhos
a86d2fb99b
ar71xx: rewrite WNDR3700/3800 handling
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 13:03:54 +00:00
Jo-Philipp Wich
40cbea9b54
[ar71xx] add some missing wndr3800 base-files definitions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 12:56:21 +00:00
Gabor Juhos
65d271e73a
ar71xx: change user-space board detection
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 12:56:20 +00:00
Gabor Juhos
32baf22378
ar71xx: allow WNDR3700 image creation to fail if kernel/rootfs too big
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29431 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 12:47:53 +00:00
Gabor Juhos
e4bdc2f753
ar71xx: use the tp-link parser on the tp-link boards
...
Also remove static partition maps.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29416 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 18:13:31 +00:00