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
Gabor Juhos
0c1d3617d7
ar71xx: fix GPIO function handling on AR934x
...
SVN-Revision: 29124
2011-11-14 17:43:13 +00:00
Gabor Juhos
aa0c8c4885
ar71xx: add AR71XX_ prefix to GPIO_REG_* defines
...
SVN-Revision: 29123
2011-11-14 17:43:11 +00:00
Gabor Juhos
62a7795afd
ar71xx: merge nand scan patch
...
SVN-Revision: 29122
2011-11-14 17:43:10 +00:00
Gabor Juhos
12dae96097
ar71xx: fix a compiler warning
...
SVN-Revision: 29110
2011-11-14 13:07:47 +00:00
Gabor Juhos
5ae0fd802c
ar71xx: fix GPIO count for AR934x
...
SVN-Revision: 29109
2011-11-14 13:07:45 +00:00
Gabor Juhos
e52269364a
ar71xx: flush DDR writeback buffers for WMAC and PCIe on AR934X
...
SVN-Revision: 29108
2011-11-14 11:49:53 +00:00
Gabor Juhos
3104d70552
ar71xx: use a dummy irq chip for WMAC and PCIe irq hadling
...
SVN-Revision: 29107
2011-11-14 11:49:51 +00:00
Gabor Juhos
42e8ae09b5
ar71xx: add AR934X_RESET_REG_PCIE_WMAC_INT_STATUS defines
...
SVN-Revision: 29106
2011-11-14 11:49:49 +00:00
Gabor Juhos
c15caea360
ar71xx: add an irq parameter for ar724x_pcibios_init
...
SVN-Revision: 29105
2011-11-14 11:49:47 +00:00
Gabor Juhos
cf90b24bb9
ar71xx: remove hardwired interface parameters from mach-* files
...
SVN-Revision: 29103
2011-11-14 07:38:09 +00:00
Gabor Juhos
defc79cb40
ar71xx: force hardwired interface parameters in ar71xx_add_device_eth
...
SVN-Revision: 29102
2011-11-14 07:38:07 +00:00
Gabor Juhos
6f4bc1ce37
ar71xx: use if-else instead of conditional operators in ar71xx_add_device_eth
...
SVN-Revision: 29101
2011-11-14 07:38:05 +00:00
Gabor Juhos
368bbc510b
ar71xx: enable has_gbit flag on AR724{0,1}
...
SVN-Revision: 29026
2011-11-13 17:36:36 +00:00
Gabor Juhos
15d7016c9f
ar71xx: fixup onboard PCIe chip registration on the DB120 board
...
SVN-Revision: 29022
2011-11-13 12:48:03 +00:00
Gabor Juhos
f623066e60
ar71xx: drop DB120_WMAC_MAC_OFFSET, it is not needed
...
SVN-Revision: 29021
2011-11-13 12:48:01 +00:00
Gabor Juhos
d2316b2a45
ar71xx: ag71xx: add support for getting switch port link status
...
SVN-Revision: 29017
2011-11-13 11:27:04 +00:00
Gabor Juhos
d0db89133c
ar71xx: remove mii_ctrl resources of the ethernet devices
...
SVN-Revision: 29016
2011-11-13 11:27:03 +00:00
Gabor Juhos
34015ed6e8
ar71xx: ag71xx: remove unused mii_ctrl field from struct ag71xx
...
SVN-Revision: 29015
2011-11-13 11:27:01 +00:00
Gabor Juhos
2d882cff23
ar71xx: ag71xx: remove unused mii_cfg related functions and defines
...
SVN-Revision: 29014
2011-11-13 11:27:00 +00:00
Gabor Juhos
538a9493b9
ar71xx: set MII interface speed from the set_speed callbacks
...
SVN-Revision: 29013
2011-11-13 11:26:59 +00:00
Gabor Juhos
93cd46be13
ar71xx: rename set_pll callback to set_speed in ag71xx_platform_data
...
Also rename the corresponding callback functions.
SVN-Revision: 29012
2011-11-13 11:26:57 +00:00
Gabor Juhos
9579bb4267
ar71xx: ag71xx: remove MII interface setup code
...
SVN-Revision: 29011
2011-11-13 11:26:56 +00:00
Gabor Juhos
da64ce8603
ar71xx: configure MII interface type from ar71xx_setup_phy_if_mode
...
SVN-Revision: 29010
2011-11-13 11:26:54 +00:00
Gabor Juhos
0112153a0e
ar71xx: fix occasional kernel hangs during boot on AR934x
...
The patch taken from the linux-mips mailing list.
The Kernel hangs occasionally during boot after
"Calibrating delay loop..". This is caused by the
c0_compare_int_usable() routine in cevt-r4k.c
returning false which causes the system to disable
the timer and hang later. The false return happens
because the routine is using a series of four calls
to irq_disable_hazard() as a delay while it waits
for the timer changes to propagate to the cp0 cause
register. On newer MIPS cores, like the 74K, the
series of irq_disable_hazard() calls turn into ehb
instructions and can take as little as a few clock
ticks for all 4 instructions. This is not enough of
a delay, so the routine thinks the timer is not
working.
This fix uses up to a max number of cycle counter
ticks for the delay and uses back_to_back_c0_hazard()
instead of irq_disable_hazard() to handle the hazard
condition between cp0 writes and cp0 reads.
SVN-Revision: 29009
2011-11-13 11:26:52 +00:00
Gabor Juhos
1afc76ea13
ar71xx: refresh kernel patches
...
SVN-Revision: 29008
2011-11-13 11:26:51 +00:00
Gabor Juhos
5ad763075e
ar71xx: use the button for WPS control on the DB120
...
SVN-Revision: 28990
2011-11-12 12:50:20 +00:00
Gabor Juhos
4555be2bec
ar71xx: register the second ethernet interface on the DB120 board
...
SVN-Revision: 28989
2011-11-12 12:50:19 +00:00
Gabor Juhos
368c6605a0
ar71xx: implement SoC specific phy interface setup
...
SVN-Revision: 28988
2011-11-12 12:50:18 +00:00
Gabor Juhos
21d317b9cc
ar71xx: move phy interface setup into a separate function
...
SVN-Revision: 28987
2011-11-12 12:50:16 +00:00
Gabor Juhos
aff0c84ffa
ar71xx: register both MDIO bus on the DB120 board
...
SVN-Revision: 28986
2011-11-12 12:09:59 +00:00
Gabor Juhos
b144249108
ar71xx: add AR934X specific MDIO registration code
...
SVN-Revision: 28985
2011-11-12 12:09:56 +00:00
Gabor Juhos
f835106c8c
ar71xx: add a secondary mdio bus
...
SVN-Revision: 28984
2011-11-12 12:09:54 +00:00
Gabor Juhos
90a42da270
ar71xx: rename ar71xx_mdio_* structures to ar71xx_mdio0_*
...
SVN-Revision: 28983
2011-11-12 12:09:50 +00:00
Gabor Juhos
9daa2149fd
ar71xx: add an id argument to ar71xx_add_device_mdio
...
SVN-Revision: 28982
2011-11-12 12:09:48 +00:00
Gabor Juhos
b07b687aec
ar71xx: pass netdev and miidev pointer to ar71xx_add_device_dsa
...
SVN-Revision: 28981
2011-11-12 12:09:42 +00:00
Gabor Juhos
a9216bb76e
ar71xx: add AR934x specific USB setup
...
SVN-Revision: 28980
2011-11-12 10:54:20 +00:00
Gabor Juhos
346e44105a
ar71xx: register the first ethernet interface on the DB120 board
...
SVN-Revision: 28979
2011-11-12 10:54:18 +00:00
Gabor Juhos
b1ba5e2f3d
ar71xx: allow to register ethernet interfaces for AR934X
...
SVN-Revision: 28978
2011-11-12 10:54:17 +00:00
Gabor Juhos
2f9e535e89
ar71xx: ag71xx: use fixed link parameters if the mii bus is not registered
...
SVN-Revision: 28977
2011-11-12 10:54:16 +00:00
Gabor Juhos
e962b07c8b
ar71xx: add AR934X specific bootstrap and reset register bits
...
SVN-Revision: 28976
2011-11-12 10:54:15 +00:00
Gabor Juhos
d461fdd519
ar71xx: add diag support for the DB120 board
...
SVN-Revision: 28975
2011-11-12 10:54:10 +00:00
Gabor Juhos
d8db8e94c8
ar71xx: fix GPIO direction setup for AR934x
...
SVN-Revision: 28974
2011-11-12 10:54:09 +00:00
Gabor Juhos
43e993e5f5
ar71xx: fix AR934X clock frequency calculation
...
SVN-Revision: 28973
2011-11-12 10:54:08 +00:00
Gabor Juhos
8687fc3e41
ar71xx: generate ubootenv from uci-defaults instead of providing defconfig
...
I noticed most of /etc/defconfig was replaced by /etc/uci-defaults, which is
indeed much nicer. So I moved over ubootenv from having a defconfig-entry to
also be generated from uci-defaults.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 28971
2011-11-12 10:54:04 +00:00
Felix Fietkau
7a2efd8c28
ar71xx: remove dead code
...
SVN-Revision: 28851
2011-11-08 00:33:20 +00:00
Felix Fietkau
94309039b7
ar71xx: on ar7240, exclude ports from their own port vlan destination mask
...
SVN-Revision: 28850
2011-11-08 00:33:15 +00:00
Gabor Juhos
87704b8078
ar71xx: create TL-WA901ND network config from uci-defaults
...
SVN-Revision: 28833
2011-11-07 21:44:24 +00:00
Gabor Juhos
09fdfa444f
ar71xx: create ALL0258N network config from uci-defaults
...
SVN-Revision: 28832
2011-11-07 21:44:23 +00:00
Gabor Juhos
63348f5fed
ar71xx: create NBG{460N,550N,550NH} network config from uci-defaults
...
SVN-Revision: 28831
2011-11-07 21:44:20 +00:00
Gabor Juhos
c3692c8331
ar71xx: create WZR-HP-G300NH network config from uci-defaults
...
SVN-Revision: 28830
2011-11-07 21:44:17 +00:00
Gabor Juhos
ee1a07a11d
ar71xx: create RB-493G network config from uci-defaults
...
SVN-Revision: 28829
2011-11-07 21:44:12 +00:00
Gabor Juhos
d82d063d81
ar71xx: create TL-WR1043ND network config from uci-defaults
...
SVN-Revision: 28828
2011-11-07 21:44:11 +00:00
Gabor Juhos
68be590894
ar71xx: create WRT160NL network config from uci-defaults
...
SVN-Revision: 28827
2011-11-07 21:44:09 +00:00
Gabor Juhos
83901e47c9
ar71xx: create PB92 network config from uci-defaults
...
SVN-Revision: 28826
2011-11-07 21:44:08 +00:00
Gabor Juhos
22ab9fc9ad
ar71xx: create DIR-825-B1 network config from uci-defaults
...
SVN-Revision: 28825
2011-11-07 21:44:07 +00:00
Gabor Juhos
e866ba5753
ar71xx: create TL-WR{841N-v1,941ND} network config from uci-defaults
...
SVN-Revision: 28824
2011-11-07 21:44:03 +00:00
Gabor Juhos
9298c7afe5
ar71xx: create RB-450 network config from uci-defaults
...
SVN-Revision: 28823
2011-11-07 21:44:02 +00:00
Gabor Juhos
ac256f97bd
ar71xx: create RB-450G, RouterStation Pro network config from uci-defaults
...
SVN-Revision: 28822
2011-11-07 21:44:01 +00:00
Gabor Juhos
944ac3f6cf
ar71xx: create RB-433{,U} network config from uci defaults
...
SVN-Revision: 28821
2011-11-07 21:43:58 +00:00
Gabor Juhos
6e8390ae6c
ar71xx: create even more network configs from the uci-defaults script
...
Create the default network configuration dynamically for the
AR724x/AR9331 boards. Some other boards are using the same
configuration, so convert those as well.
SVN-Revision: 28820
2011-11-07 21:43:56 +00:00
Gabor Juhos
b62560413a
ar71xx: create more network configs from the uci-defaults script
...
Create the default network configuration dynamically for the boards with
swapped eth0, eth1 interfaces.
SVN-Revision: 28819
2011-11-07 21:43:54 +00:00
Gabor Juhos
6c92b26bac
ar71xx: create a bunch of network configs from the uci-defaults script
...
Create the default network configuration dynamically for the boards with
a single ethernet interface.
SVN-Revision: 28818
2011-11-07 21:43:52 +00:00
Gabor Juhos
0a8e5dbf7b
ar71xx: create generic network config from an uci-defaults script
...
SVN-Revision: 28817
2011-11-07 21:43:51 +00:00
Gabor Juhos
54c034ae7a
ar71xx: remove AP81 defconfig, it is the same as the generic config
...
SVN-Revision: 28816
2011-11-07 21:34:33 +00:00
Gabor Juhos
5b6cc3eb9f
ar71xx: change generated Buffalo firmware versions
...
With version 1.76 the upgrade may fail with newer Buffalo firmwares with
a message like this:
"You can not update the firmware because the firmware version is earlier
than 1.82. Please use 1.82 or later version for firmware update."
SVN-Revision: 28815
2011-11-07 21:34:32 +00:00
Gabor Juhos
eb9ef60e2d
ar71xx: enable sysupgrade on the WHR-G301N and WHR-HP-GN boards
...
SVN-Revision: 28812
2011-11-07 20:25:00 +00:00
Gabor Juhos
8456840d82
ar71xx: wrap long lines in the upgrade script
...
SVN-Revision: 28811
2011-11-07 20:24:59 +00:00
Gabor Juhos
c60baf78ce
ar71xx: fix WHR-HP-G300N firmware partition offset
...
SVN-Revision: 28810
2011-11-07 20:24:57 +00:00
Gabor Juhos
b27254a2c5
ar71xx: add default network configuration for the WHR-HP-GN
...
SVN-Revision: 28807
2011-11-07 13:32:43 +00:00
Gabor Juhos
034b2b7cde
ar71xx: build image for the Buffalo WHR-HP-GN
...
SVN-Revision: 28806
2011-11-07 12:59:11 +00:00
Gabor Juhos
a801d620a7
ar71xx: add support for the Buffalo WHR-HP-GN board
...
SVN-Revision: 28805
2011-11-07 12:59:10 +00:00
Gabor Juhos
0d9ae0a036
ar71xx: build image for the Buffalo WHR-G301N
...
SVN-Revision: 28804
2011-11-07 12:59:08 +00:00
Gabor Juhos
4509af17ed
ar71xx: add support for the Buffalo WHR-G301N board
...
SVN-Revision: 28803
2011-11-07 12:59:07 +00:00
Gabor Juhos
63784ea2bc
ar71xx: fix WHR-HP-G300N image generation
...
SVN-Revision: 28802
2011-11-07 12:59:05 +00:00
Gabor Juhos
b3b21cb3bf
ar71xx: enable WHR-HP-G300N support in kernel config
...
SVN-Revision: 28801
2011-11-07 12:59:04 +00:00
Gabor Juhos
4aace1e2e3
ar71xx: fix WHR-HP-G300N MTD partitions
...
SVN-Revision: 28800
2011-11-07 12:59:03 +00:00
Gabor Juhos
4c985724af
ar71xx: add missing AR71XX_MACH_TL_WR741ND_V4
...
SVN-Revision: 28709
2011-11-01 14:38:12 +00:00
Gabor Juhos
fc8adbb854
ar71xx: build image for the TL-WR741ND v4 board
...
SVN-Revision: 28708
2011-11-01 11:20:55 +00:00
Gabor Juhos
91f08d47c2
ar71xx: add initial support for the TL-WR741ND v4 board
...
The ethernet port LEDs are not working yet.
SVN-Revision: 28706
2011-11-01 11:20:52 +00:00
Gabor Juhos
21e651c9a1
ar71xx: add AR933X GMAC register defines
...
SVN-Revision: 28705
2011-11-01 11:20:50 +00:00
Gabor Juhos
43e2e2e4ef
ar71xx: combine LEDs setup in one file
...
SVN-Revision: 28704
2011-11-01 11:20:49 +00:00
Gabor Juhos
f372620ffa
ar71xx: unify LED names on Planex boards
...
SVN-Revision: 28703
2011-11-01 11:20:47 +00:00
Gabor Juhos
66ab406d5a
ar71xx: unify LED names on Buffalo boards
...
SVN-Revision: 28702
2011-11-01 11:20:46 +00:00
Gabor Juhos
e7586959df
ar71xx: unify LED names on TP-Link boards
...
SVN-Revision: 28701
2011-11-01 11:20:44 +00:00
Gabor Juhos
3a7b12a27d
ar71xx/all0258n: sysupgrade support
...
U-Boot on the ALL0258N needs offset, size and md5 for kernel and rootfs to be
stored in the U-Boot environment.
If the checksums don't match during boot, a failsafe-system is booted instead.
This patch adds a board-specific sysupgrade hack for the all0258n which
calculates and updates the checksums for the U-Boot environment.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 28700
2011-11-01 09:23:32 +00:00
Gabor Juhos
f40557a692
ar71xx/all0258n: add default config
...
This adds default network and uboot-env settings for the ALL0258N.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 28699
2011-11-01 09:23:31 +00:00
Gabor Juhos
06d9653b36
ar71xx: remove default network config of the mzk-w04nu board as well
...
It works with the generic config.
SVN-Revision: 28695
2011-11-01 09:23:25 +00:00
Gabor Juhos
693c777eaf
ar71xx: remove LED setup of nonexistent interfaces on RB750
...
SVN-Revision: 28693
2011-10-31 14:26:56 +00:00
Gabor Juhos
2bcd612e72
ar71xx: remove default network config of the wnr2000 board
...
It is the same as the generic configuration.
SVN-Revision: 28692
2011-10-31 14:26:51 +00:00
Gabor Juhos
39b3bfcf6a
ar71xx/sysupgrade: use $magic_long instead of $magic when comparing with a 32-bit value
...
Aparently $magic_long was meant here instead of $magic when comparing with
32-bit values.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 28678
2011-10-30 13:06:30 +00:00
Gabor Juhos
415814f051
ar71xx: fix typos in image/Makefile
...
SVN-Revision: 28618
2011-10-27 07:54:52 +00:00
Gabor Juhos
1646346798
ar71xx: add initial support for the OpenMesh OM2P board
...
Based on a patch by Marek Lindner <marek@open-mesh.com>
SVN-Revision: 28617
2011-10-27 07:54:51 +00:00
Gabor Juhos
d02f22fea1
ar71xx/all0258n: fix partition layout
...
A miscalculation in the original patch makes OpenWrt destroy the failsafe image.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 28615
2011-10-27 07:54:47 +00:00
Gabor Juhos
4a70cace09
ar71xx: create image for the WNDR3800
...
This adds support for the Netgear WNDR3800, it is almost the same as
the WNDR3700v2. It just has more RAM so the hd_id had to be adjusted.
Signed-off-by: Petri Rosenström <petri.rosenstrom@gmail.com>
SVN-Revision: 28597
2011-10-26 06:12:47 +00:00
Gabor Juhos
c8b9086ac5
ar71xx: build image for the Buffalo WHR-HP-G300N
...
Based on a patch by Yoichi Shinoda <shinoda@jaist.ac.jp>
SVN-Revision: 28568
2011-10-24 21:49:29 +00:00
Gabor Juhos
9d51cda2db
ar71xx: Buffalo WHR-HP-G300N kernel support
...
The initial support for the Buffalo WHR-HP-G300N box.
The code was confirmed to boot and run, but not tested in depth.
Known problem: iw phy phy0 info shows:
Coverage class: 0 (up to 0m)
Available Antennas: TX 0 RX 0
Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>
SVN-Revision: 28567
2011-10-24 21:49:26 +00:00
Gabor Juhos
0ab6be2ba3
ar71xx: build image for the Allnet ALL0258N board
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 28565
2011-10-24 21:49:23 +00:00
Gabor Juhos
d96e321bd1
ar71xx: add kernel support for the Allnet ALL0258N board
...
This patchs adds support for the Allnet ALL0258N outdoor AP/bridge.
The ALL0258N is based on the AR7240 SoC paired with an AR9285 radio,
it got 8MB of NOR and 32MB SDRAM.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 28564
2011-10-24 21:49:21 +00:00
Gabor Juhos
ef41e0a61c
ar71xx: don't override CONFIG_FSNOTIFY
...
SVN-Revision: 28563
2011-10-24 21:49:18 +00:00
Jo-Philipp Wich
b61de9c865
base-files: make sure inittab-console-fixup returns with success ( #10275 )
...
SVN-Revision: 28562
2011-10-24 21:35:43 +00:00
Jonas Gorski
a136b67604
linux: ar71xx: add support for Mikrotik Routerboard RB493G
...
SVN-Revision: 28423
2011-10-11 23:05:16 +00:00
Jonas Gorski
03f91068d1
ar71xx: add a workaround for ar8316 not always driving the TA bit to low
...
AR8316 behind a GPIO bitbanged MDIO bus fails to drive the turnaround bit
to low despite returning a valid value. Ignore it and just use the
returned value anyway.
SVN-Revision: 28422
2011-10-11 23:05:13 +00:00
Jonas Gorski
c674c874b7
ag71xx: close a race between the phy state machine and link state
...
A fast stop/start cycle could leave the ag71xx interrupts and tx engine
disabled when using a phy driver with a fixed link and the start/stop
happens between two phy state machine polls.
Prevent this by always forcing the link down on stop regardless of phy
state and having a phy connected.
SVN-Revision: 28380
2011-10-08 11:37:14 +00:00
Gabor Juhos
6ac4156136
ar71xx: fix MAC addresses on the DIR-825-B1 board
...
Patch-by: Lukas Kuna
SVN-Revision: 28295
2011-09-23 19:56:39 +00:00
Gabor Juhos
e45d7d7006
ar71xx: enable login only on the system console by default
...
SVN-Revision: 28294
2011-09-23 19:56:38 +00:00
Gabor Juhos
49ac36e818
ar71xx: build images for the TP-Link TL-WR703N v1 board
...
Based on a patch by dongyuqi <729650915@qq.com>
SVN-Revision: 28279
2011-09-21 11:47:56 +00:00
Gabor Juhos
733399600f
ar71xx: add support for the TP-Link TL-WR703N v1 board
...
Based on a patch by dongyuqi <729650915@qq.com>
SVN-Revision: 28277
2011-09-21 11:47:53 +00:00
Gabor Juhos
d3617ac7d3
ar71xx: add AR933x specific USB setup function
...
SVN-Revision: 28276
2011-09-21 11:47:51 +00:00
Gabor Juhos
91340d8af7
ar71xx: add ar71xx_device_reset_rmw helper
...
SVN-Revision: 28275
2011-09-21 11:47:50 +00:00
Gabor Juhos
9fa51d5c38
ar71xx: fix copy&paste bug in WZRHPAG300H profile description
...
SVN-Revision: 28274
2011-09-21 11:47:48 +00:00
Gabor Juhos
079e746fc4
ar71xx: remove 'default [yn]' from machine Kconfig entries
...
SVN-Revision: 28273
2011-09-21 11:47:47 +00:00
Gabor Juhos
73dac07c44
ar71xx: sort AR71XX_MACH_* entries
...
SVN-Revision: 28272
2011-09-21 11:47:45 +00:00
Gabor Juhos
ef2431c8d9
ar71xx: create image for the TP-Link TL-WR743ND v1
...
Same hardware as WR741ND but with PoE support.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
SVN-Revision: 28271
2011-09-21 11:47:44 +00:00
Gabor Juhos
76d0d1a837
ar71xx: create image for the TP-Link TL-WR740N v3
...
Signed-off-by: Martin Raykov <martin.raykov@gmail.com>
SVN-Revision: 28269
2011-09-21 11:47:40 +00:00
Felix Fietkau
1bdf65f580
ar71xx: fix register range check for DMA stuck checks (thx, Frédéric Moulins)
...
SVN-Revision: 28213
2011-09-11 17:44:12 +00:00
Felix Fietkau
65d809ef19
ar71xx: do not count normal interrupts as spurious ( fixes #10037 )
...
SVN-Revision: 28182
2011-09-06 05:38:23 +00:00
Felix Fietkau
de8cabe839
ar71xx: clean up profiles, put in kmod-ath9k and wpad-mini by default ( fixes #9954 )
...
SVN-Revision: 28173
2011-09-05 18:37:48 +00:00
Felix Fietkau
cd2c68501c
ar71xx: fix ethernet PLL setting on ar7242
...
SVN-Revision: 28124
2011-08-29 21:23:46 +00:00
Hauke Mehrtens
09b1073f9b
kernel: update kernel to version 2.6.39.4
...
SVN-Revision: 28022
2011-08-16 22:04:10 +00:00
Felix Fietkau
12c84f8eeb
ar71xx: add some code to detect DMA stuck conditions on ar7240
...
SVN-Revision: 27975
2011-08-13 22:30:14 +00:00
Felix Fietkau
85ccc74e1b
ar71xx: on ar724x only reset the link status in the restart handler, the fast reset takes care of DMA stuck issues
...
SVN-Revision: 27973
2011-08-13 21:49:46 +00:00
Felix Fietkau
d26bb6c59c
ar71xx: adjust the mtd layout of tew-632brp and dir-615c to match the image layout ( fixes #9922 )
...
SVN-Revision: 27959
2011-08-11 13:52:40 +00:00
Jonas Gorski
def60e2918
ar71xx: make ehci patch apply again
...
SVN-Revision: 27951
2011-08-10 23:02:56 +00:00
Felix Fietkau
9e5ead9a51
ar71xx: fix a copy&paste bug that broke wzr-hp-g300nh and wzr-hp-ag300h images ( #9918 )
...
SVN-Revision: 27950
2011-08-10 22:24:56 +00:00
Gabor Juhos
7e5a1bc1d0
ar71xx: fix image generation
...
SVN-Revision: 27907
2011-08-05 10:31:52 +00:00
Gabor Juhos
85b858fae6
ar71xx: enable sysupgrade on the AP96 and DB120 boards
...
SVN-Revision: 27901
2011-08-04 19:41:18 +00:00
Gabor Juhos
fb77134596
ar71xx: use the same test for AP121 and Zcomax sysupgrade images
...
SVN-Revision: 27900
2011-08-04 19:41:17 +00:00
Gabor Juhos
fd3a5f64f2
ar71xx: cleanup image generation Makefile
...
SVN-Revision: 27899
2011-08-04 19:41:16 +00:00
Felix Fietkau
4b75394056
ar71xx: fix ethernet FIFO state corruption on ar7240
...
When starting/stopping DMA sometimes the FIFO state gets corrupted,
leading to wildly fluctuating latencies or packet data corruption.
Fix this by issuing a fast MAC reset as soon as the link is detected
as up. Fixes #9689 , #9405
SVN-Revision: 27896
2011-08-04 17:36:31 +00:00
Felix Fietkau
d2aeca6b6d
ag71xx: fix memory corruption issues on ar7240 on ethernet start/stop
...
When the DMA engine state gets corrupted due to a hardware issues, it
often won't stop rx until a full reset is issued. In that case the hardware
must keep a valid descriptor, otherwise it will write to random places in
system RAM, triggering random crashes. To fix this, keep a dummy descriptor
without a buffer that keeps the DMA engine in a sane state until the reset
is done
SVN-Revision: 27895
2011-08-04 17:36:27 +00:00
Felix Fietkau
500c3a1475
ar71xx: fix MAC/MDIO reset mask handling
...
SVN-Revision: 27894
2011-08-04 17:36:23 +00:00
Felix Fietkau
54d97e6782
ar71xx: add some hacks to work around the misalignment in IP packets received on AR71xx and AR91xx ethernet MACs decreases CPU load with the default firewall for routing 95 mbit/s from 78% to 55%
...
SVN-Revision: 27878
2011-08-02 15:12:08 +00:00
Jonas Gorski
e18ceb1dac
ar71xx: merge WZR-HP-G301NH support into WZR-HP-G300NH
...
Now that we can use a generic name for the switch there is no need for a
separate image for the WZR-HP-G301NH.
Update the default network config and remove the extra image.
SVN-Revision: 27814
2011-07-28 11:57:51 +00:00
Felix Fietkau
9e4113b493
ar71xx: autodetect rtl8366s/rtl8366rb on wzr-hp-g300nh
...
SVN-Revision: 27756
2011-07-24 14:40:35 +00:00
Felix Fietkau
1afe8a0726
rtl8366: unify rtl8366s and rtl8366rb platform data
...
SVN-Revision: 27754
2011-07-24 14:40:23 +00:00
Felix Fietkau
9105dad418
ar71xx: enable the usb power regulator on the wzr-hp-ag300h through gpio 2 ( #9684 )
...
SVN-Revision: 27739
2011-07-24 08:02:20 +00:00
Felix Fietkau
c7173a211d
ar71xx: reinitialize global switch settings after reset on ar7240
...
SVN-Revision: 27705
2011-07-20 14:39:47 +00:00
Felix Fietkau
ca473833c4
ar71xx: configure address aging on ar7240
...
SVN-Revision: 27704
2011-07-20 14:39:42 +00:00
Felix Fietkau
fefc79f3cb
ar71xx: reset the phy in the ethernet init on ar724x
...
SVN-Revision: 27703
2011-07-20 12:04:34 +00:00
Felix Fietkau
005fe5d1fd
ar71xx: make sure that rx and interrupts are disabled before issuing the hardware reset
...
SVN-Revision: 27702
2011-07-20 12:04:29 +00:00
Felix Fietkau
e7ab000008
ar71xx: increase the delay after the ethernet MAC reset
...
SVN-Revision: 27701
2011-07-20 12:04:25 +00:00
Felix Fietkau
255dcaa3a6
ar71xx: fix an unused variable warning
...
SVN-Revision: 27700
2011-07-20 12:04:20 +00:00
Felix Fietkau
f3d693c0ee
ar71xx: do not reset the hardware on transmit timeout - this would mess up the up the PHY state
...
SVN-Revision: 27568
2011-07-09 06:30:13 +00:00
Felix Fietkau
2806c75c07
ag71xx: keep the rx engine stopped while the link is not up, should hopefully fix stability issues from #9405
...
SVN-Revision: 27567
2011-07-09 06:29:46 +00:00
Gabor Juhos
5ad4040c49
ar71xx: build image for the AP121 boards with 4M of flash
...
SVN-Revision: 27523
2011-07-07 13:01:50 +00:00
Gabor Juhos
cdcb10ee42
ar71xx: add separate profiles for the AP121 and AP121-MINI boards
...
SVN-Revision: 27522
2011-07-07 13:01:48 +00:00
Gabor Juhos
89f6b29feb
ar71xx: fix building of squashfs images
...
SVN-Revision: 27446
2011-07-04 12:10:03 +00:00
Felix Fietkau
7afed2d86c
ar71xx: add wzr-hp-ag300h sysupgrade support (patch from #9650 )
...
SVN-Revision: 27434
2011-07-04 03:03:34 +00:00
Gabor Juhos
b3a89652a5
ar71xx: use 4k image only for the AP121 board
...
Create optimized 64K images with the new padjffs2 tool and use that
images instead of the 4k ones. The 4k images causes problems on devices
where the flash erase size is 64 KB.
SVN-Revision: 27357
2011-07-02 08:37:59 +00:00
Jo-Philipp Wich
701543d3ef
revert r27043 ( #9513 )
...
SVN-Revision: 27343
2011-07-01 19:52:57 +00:00
Jo-Philipp Wich
1edef5ec98
revert r27341, it introduce wrong behaviour for other models
...
SVN-Revision: 27342
2011-07-01 19:15:45 +00:00
Jo-Philipp Wich
3b3103b2f1
turn status LED off if device finished initializing
...
SVN-Revision: 27341
2011-07-01 18:39:53 +00:00
Gabor Juhos
f9e4619b97
ar71xx: remove CONFIG_MTD_CONCAT ifdefs from the WZR-HP-AG300H code
...
The config option has been removed in 2.6.39.
SVN-Revision: 27320
2011-06-30 12:15:33 +00:00
Gabor Juhos
d98476c6bd
ar71xx: merge 2.6.39 patches
...
Also remove the old UART driver for ar933x.
SVN-Revision: 27314
2011-06-29 08:57:37 +00:00
Gabor Juhos
74a88749f3
ar71xx: remove 2.6.37 support as well
...
SVN-Revision: 27313
2011-06-29 08:57:36 +00:00
Gabor Juhos
1d5378f588
ar71xx: remove 2.6.38 support
...
SVN-Revision: 27312
2011-06-29 08:57:34 +00:00
Gabor Juhos
36e7a8b33e
ar71xx: switch to 2.6.39
...
SVN-Revision: 27311
2011-06-29 08:57:33 +00:00
Gabor Juhos
6627574e57
ar71xx: add 2.6.39 support
...
SVN-Revision: 27310
2011-06-29 08:57:32 +00:00
Gabor Juhos
1e138098cd
ar71xx: remove ar71xx_gpio_irq_set_type
...
SVN-Revision: 27309
2011-06-29 08:57:30 +00:00
Gabor Juhos
055e317ed8
ar71xx: add separate handlers for IP3 interrupts
...
SVN-Revision: 27308
2011-06-29 08:57:29 +00:00
Gabor Juhos
59bff8bf18
ar71xx: use separate handlers for IP2 interrupts
...
SVN-Revision: 27307
2011-06-29 08:57:28 +00:00
Gabor Juhos
9d6af600e1
ar71xx: remove useless irq_desc.status initializations
...
SVN-Revision: 27306
2011-06-29 08:57:27 +00:00
Felix Fietkau
cc56af716c
ar71xx: add default network config for wzr-hp-ag300h (based on a patch from #9607 )
...
SVN-Revision: 27283
2011-06-25 13:54:42 +00:00
Felix Fietkau
ed7f41792a
ar71xx: bring up secondary radio on wzr-hp-ag300h ( fixes #9608 )
...
SVN-Revision: 27282
2011-06-25 13:48:47 +00:00
Gabor Juhos
e6af77a1c8
ar71xx: cleanup AR933X UART driver
...
SVN-Revision: 27222
2011-06-19 13:17:51 +00:00
Gabor Juhos
066e04d497
ar71xx: fix uart clock frequency for AR933X
...
SVN-Revision: 27221
2011-06-19 13:17:50 +00:00
Gabor Juhos
b7e016ba42
ar71xx: use ar933x_uart.h in the AR933X serial driver
...
SVN-Revision: 27166
2011-06-13 08:12:40 +00:00
Gabor Juhos
b58ede16a5
ar71xx: update early_printk code
...
SVN-Revision: 27165
2011-06-13 08:12:38 +00:00
Vasilis Tsiligiannis
70106f153d
Remove trailing spaces, convert spaces to tabs
...
SVN-Revision: 27153
2011-06-09 19:30:50 +00:00
Felix Fietkau
9160e06af5
ar71xx: override inittab to enable login on ttyATH0
...
SVN-Revision: 27128
2011-06-07 17:07:10 +00:00
Gabor Juhos
13363d9129
ar71xx: setup wdt_clock for AR913X to avoid a kernel bug
...
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
SVN-Revision: 27102
2011-06-04 12:30:10 +00:00
Gabor Juhos
ae2cbfa1e8
ar71xx: select the internal antenna by default on the ZCN-1523H boards
...
SVN-Revision: 27101
2011-06-04 12:30:09 +00:00
Felix Fietkau
31dd60689e
Revert "ar71xx: only enable the rx engine after the link is up..."
...
It messes up the DMA state when the link goes down
SVN-Revision: 27088
2011-06-01 18:15:43 +00:00
Gabor Juhos
750af1522b
ar71xx: init external_reset for AR933X
...
SVN-Revision: 27083
2011-06-01 13:12:30 +00:00
Gabor Juhos
af4cae4498
ar71xx: add external_reset field to ath9k_platform_data
...
SVN-Revision: 27082
2011-06-01 13:12:28 +00:00
Gabor Juhos
f0c7b93e5d
ar71xx: init get_mac_revision on AR9330 rev 1
...
SVN-Revision: 27081
2011-06-01 13:12:27 +00:00
Gabor Juhos
1a54e33c17
ar71xx: add get_mac_revision to ath9k_platform_data
...
SVN-Revision: 27080
2011-06-01 13:12:26 +00:00
Gabor Juhos
34ff32a6eb
ar71xx: export SoC revision
...
SVN-Revision: 27079
2011-06-01 13:12:24 +00:00
Felix Fietkau
86dbc3a02d
ar71xx: add profile and image building code for wzr-hp-ag300h
...
SVN-Revision: 27076
2011-06-01 02:23:30 +00:00
Felix Fietkau
4f06b8263a
ar71xx: add kernel support for the buffalo wzr-hp-ag300h
...
SVN-Revision: 27075
2011-06-01 02:23:26 +00:00
Gabor Juhos
33fdc21d40
ar71xx: build images for the AP121 boards
...
SVN-Revision: 27070
2011-05-31 22:53:47 +00:00
Gabor Juhos
9e435c03e0
ar71xx: add sysupgrade support for the AP121 boards
...
SVN-Revision: 27069
2011-05-31 22:53:45 +00:00
Gabor Juhos
646937135f
ar71xx: add default network config for the AP121 boards
...
SVN-Revision: 27068
2011-05-31 22:53:44 +00:00
Gabor Juhos
f332dbd7be
ar71xx: add support for the AP121/AP121-MINI reference boards
...
SVN-Revision: 27067
2011-05-31 22:53:43 +00:00
Gabor Juhos
8beff081eb
ar71xx: register UART for the AR933X SoCs
...
SVN-Revision: 27066
2011-05-31 22:53:42 +00:00
Gabor Juhos
b460bc6f12
ar71xx: add serial driver for the AR933X UART
...
SVN-Revision: 27065
2011-05-31 22:53:40 +00:00
Gabor Juhos
c34e0cbc4c
ar71xx: add WMAC initialization code for the AR933X SoCs
...
SVN-Revision: 27064
2011-05-31 22:53:39 +00:00
Gabor Juhos
e8a0aaf9a2
ar71xx: add ethernet initialization for the AR933X SoCs
...
SVN-Revision: 27063
2011-05-31 22:53:37 +00:00
Gabor Juhos
e0a0f3796a
ar71xx: enable USB support for the AR933x SoCs
...
SVN-Revision: 27062
2011-05-31 22:53:36 +00:00
Gabor Juhos
677c80ee17
ar71xx: add AR933x specific glue for ar71xx_device{start,stop}
...
SVN-Revision: 27061
2011-05-31 22:53:35 +00:00
Gabor Juhos
88c45e3130
ar71xx: the watchdog uses the reference clock on the AR933x SoCs
...
SVN-Revision: 27060
2011-05-31 22:53:34 +00:00
Gabor Juhos
7acbacab8c
ar71xx: add AR933x specific glue code for IRQ initialization
...
SVN-Revision: 27059
2011-05-31 22:53:32 +00:00
Gabor Juhos
e6fde61bec
ar71xx: don't register 8250 UART on the AR933x SoCs
...
SVN-Revision: 27058
2011-05-31 22:53:31 +00:00
Gabor Juhos
8f7541a044
ar71xx: enable GPIO support for the AR933x SoCs
...
SVN-Revision: 27057
2011-05-31 22:53:30 +00:00
Gabor Juhos
e11b9c8371
ar71xx: add AR933x specific frequency initialization code
...
SVN-Revision: 27056
2011-05-31 22:53:29 +00:00
Gabor Juhos
0bf4478d37
ar71xx: add AR933x specific early_printk support
...
SVN-Revision: 27055
2011-05-31 22:53:27 +00:00
Gabor Juhos
6b3ca9ef0b
ar71xx: add preliminary support for the Atheros AR933x SoCs
...
SVN-Revision: 27054
2011-05-31 22:53:26 +00:00
Gabor Juhos
761e67b394
ar71xx: stop producing -NA factory images and tag factory images with hd_id for WNDR3700v2
...
NETGEAR doesnt produce a distinct North American image for
WNDR3700v2, they use the same image worldwide. This is a change from
earlier models such as WNDR3700 (v1). NETGEAR's v2 images now contain
an "hd_id" parameter, as well. All observed WNDR3700v2, WNDR3800, and
WNDRMAC images use 29763654+16+64 as their hd_id value.
This patch changes the OpenWrt WNDR3700v2 "factory" image generation
to stop producing the extraneous -NA version and to tag the image with
the same hd_id used in NETGEAR's images.
There is no change to WNDR3700 (v1) image generation, as NETGEAR
continues to produce distinct -NA and worldwide images, neither of
which are tagged with hd_id.
Signed-off-by: Mark Mentovai <mark@moxienet.com>
SVN-Revision: 27053
2011-05-31 22:53:25 +00:00
Gabor Juhos
c8d182406d
ar71xx: create factory images for the WZR-HP-G30{0,1}NH boards
...
SVN-Revision: 27051
2011-05-31 22:53:22 +00:00
Gabor Juhos
0677e16248
ar71xx: Fix header offset for newer WRT160NL models
...
Newer WRT160NLs have a flash chip with 4K erase blocks instead of 64K,
resulting in miscalculated partition sizes.
Since the actual sizes did not change, hardcode them to their current
sizes, and make sure they are at least one erase block big (in case Cisco
decides to start to use chips with 128K erase blocks).
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
SVN-Revision: 27049
2011-05-31 22:53:20 +00:00
Gabor Juhos
be97e2a043
ar71xx: add SOC_AR{71XX,724X,913X,934X} config symbols
...
SVN-Revision: 27048
2011-05-31 22:53:19 +00:00
Gabor Juhos
ea2f6d0edf
ar71xx: reduce the size of the squashfs-4k binaries
...
SVN-Revision: 27047
2011-05-31 22:53:18 +00:00
Gabor Juhos
5d5f72415e
ar71xx: initialize is_clk_25mhz field for AR9340 WMAC
...
SVN-Revision: 27045
2011-05-31 22:53:15 +00:00
Gabor Juhos
f7b3c3dfd1
ar71xx: sync ath9k_platform_data.h with compat-wireless
...
SVN-Revision: 27044
2011-05-31 22:53:14 +00:00
Gabor Juhos
650c7cc2fd
ar71xx: use the diag LED for diagnostic on the WZR-HP-G30XNH boards
...
SVN-Revision: 27043
2011-05-31 22:53:13 +00:00
Gabor Juhos
4834fdaccd
ar71xx: fix uci-defaults script for the WZR-HP-G30XNH boards
...
SVN-Revision: 27042
2011-05-31 22:53:12 +00:00
Gabor Juhos
60d5abbc27
ar71xx: ag71xx: make ring sizes configurable via ethtool
...
SVN-Revision: 27041
2011-05-31 22:53:10 +00:00
Gabor Juhos
7a2651f633
ar71xx: ag71xx: prepare to make ring sizes configurable
...
SVN-Revision: 27040
2011-05-31 22:53:09 +00:00
Gabor Juhos
669aba3871
ar71xx: ag71xx: nuke unused AG71XX_TX_FIFO_LEN define
...
Reported-by: Dave Täht <dave.taht@gmail.com>
SVN-Revision: 27039
2011-05-31 22:53:07 +00:00
Felix Fietkau
2b5402d128
ar71xx: only enable the rx engine after the link is up, fixes a race condition that got rx stuck when the interface is brought up during lots of inbound traffic (thx, matteo)
...
SVN-Revision: 27035
2011-05-30 23:08:01 +00:00
Felix Fietkau
0ebc93831f
ar71xx: disable flow control for ar724x, it can get stuck in a loop of continously sending MAC pause frames
...
SVN-Revision: 27034
2011-05-30 23:07:57 +00:00
Matteo Croce
17e257925f
ar71xx: don't probe the LAN PHY
...
SVN-Revision: 26924
2011-05-17 11:15:24 +00:00
Matteo Croce
4deecea26b
ar71xx: detect link on LAN ports
...
SVN-Revision: 26922
2011-05-17 11:12:56 +00:00
Matteo Croce
2ea528d1d0
ar71xx: add link detection on Ubiquiti devices WAN port
...
SVN-Revision: 26891
2011-05-14 23:31:50 +00:00
Matteo Croce
c0c2e18452
use correct macros and frame size in ag71xx
...
SVN-Revision: 26890
2011-05-14 23:10:06 +00:00
Matteo Croce
99d1d4f795
ar71xx: cosmetic fixes
...
SVN-Revision: 26889
2011-05-14 23:08:00 +00:00
Gabor Juhos
9b5036a29d
ar71xx: populate LED3 on the JA76PF board
...
Patch-by: Cezary Jackiewicz <cezary@eko.one.pl>
SVN-Revision: 26862
2011-05-08 21:38:51 +00:00
Gabor Juhos
b39eebdf1e
ar71xx: add uci config for the WLAN LED on the WRT160NL
...
Based on a patch by Magyar Szabolcs <mszabi@freemail.hu>
SVN-Revision: 26861
2011-05-08 21:38:49 +00:00
Gabor Juhos
858e2e719b
ar71xx: use phy0tpt trigger for the WLAN LEDs
...
SVN-Revision: 26860
2011-05-08 21:38:48 +00:00
Gabor Juhos
869f3cb718
ar71xx: remove superfluous fifo_cfg overrides
...
SVN-Revision: 26859
2011-05-08 21:38:46 +00:00
Gabor Juhos
5d77f370d6
ar71xx: ag71xx: make switch register access atomic
...
Reading of the PHY registers occasionally returns with bogus values
under heavy load. This misleads the PHY driver and thus causes false
link/speed change notifications which leads to performance loss.
This is easily noticable during an iperf session:
...
[ 3] 52.0-53.0 sec 11.3 MBytes 94.4 Mbits/sec
[ 3] 53.0-54.0 sec 11.4 MBytes 95.4 Mbits/sec
eth1: link down
br-lan: port 2(eth1) entering forwarding state
eth1: link up (100Mbps/Full duplex)
br-lan: port 2(eth1) entering forwarding state
br-lan: port 2(eth1) entering forwarding state
[ 3] 54.0-55.0 sec 6.75 MBytes 56.6 Mbits/sec
[ 3] 55.0-56.0 sec 0.00 Bytes 0.00 bits/sec
[ 3] 56.0-57.0 sec 10.5 MBytes 88.1 Mbits/sec
...
[ 3] 169.0-170.0 sec 11.4 MBytes 95.4 Mbits/sec
[ 3] 170.0-171.0 sec 11.4 MBytes 95.4 Mbits/sec
eth1: link up (10Mbps/Half duplex)
[ 3] 171.0-172.0 sec 7.63 MBytes 64.0 Mbits/sec
[ 3] 172.0-173.0 sec 9.38 MBytes 78.6 Mbits/sec
eth1: link up (100Mbps/Full duplex)
[ 3] 173.0-174.0 sec 11.3 MBytes 94.4 Mbits/sec
[ 3] 174.0-175.0 sec 11.4 MBytes 95.4 Mbits/sec
SVN-Revision: 26856
2011-05-08 16:32:53 +00:00
Gabor Juhos
3711658281
ar71xx: ag71xx: fix section mismatch warnings
...
The function __devinit ag71xx_probe() references
a function __devexit ag71xx_phy_disconnect().
This is often seen when error handling in the init function
uses functionality in the exit path.
The fix is often to remove the __devexit annotation of
ag71xx_phy_disconnect() so it may be used outside an exit section.
The function ag71xx_phy_disconnect() references a function in an exit
section.
Often the function ag71xx_ar7240_cleanup() has valid usage outside the
exit section
and the fix is to remove the __devexit annotation of
ag71xx_ar7240_cleanup.
SVN-Revision: 26855
2011-05-08 13:30:36 +00:00
Gabor Juhos
ef53029870
ar71xx: ag71xx: fix build error if debugfs is enabled
...
SVN-Revision: 26854
2011-05-08 13:30:26 +00:00
Gabor Juhos
8b67d748cb
ar71xx: ag71xx: add debugfs entry for [rt]x_ring
...
SVN-Revision: 26845
2011-05-07 12:40:34 +00:00
Gabor Juhos
2166432ba0
ar71xx: ag71xx: add timestamps to ag71xx_buf
...
SVN-Revision: 26844
2011-05-07 12:40:28 +00:00
Gabor Juhos
896e1d1ab4
ar71xx: ag71xx: use dynamically allocated buffer for napi_stats
...
SVN-Revision: 26843
2011-05-07 12:40:26 +00:00
Gabor Juhos
a6708d20d1
ar71xx: ag71xx: use debugfs_remove_recursive
...
SVN-Revision: 26842
2011-05-07 12:40:25 +00:00
Gabor Juhos
c39e5b9360
ar71xx: override wmac device name for the AR934x SoCs
...
SVN-Revision: 26840
2011-05-07 09:23:32 +00:00
Alexandros C. Couloumbis
7fb06ce6cd
linux/ar71xx: add some missing symbols for nand/yaffs targets
...
SVN-Revision: 26827
2011-05-05 07:19:46 +00:00
Felix Fietkau
cbc75a9c70
ar71xx: use the ar8316 switch driver on the PB92 board and add a matching default network config
...
SVN-Revision: 26779
2011-04-28 21:27:42 +00:00
Felix Fietkau
36aecb08b8
ar71xx: fix MDIO access on ar7242 (based on a patch by Jess Zhu)
...
SVN-Revision: 26777
2011-04-28 19:30:49 +00:00
Alexandros C. Couloumbis
f13581eedb
linux/ar71xx: update wget2nand script
...
SVN-Revision: 26747
2011-04-21 12:38:25 +00:00
Alexandros C. Couloumbis
015b010f90
linux/ar71xx: add 2.6.38 preliminary support
...
SVN-Revision: 26746
2011-04-21 11:45:23 +00:00
Felix Fietkau
cddc775ee8
ar71xx: enable the ip17xx PHY driver ( fixes #5193 , #8027 )
...
SVN-Revision: 26670
2011-04-14 23:51:12 +00:00
Felix Fietkau
92bd56fea1
ar71xx: replace the madwifi profile with an ath5k profile
...
SVN-Revision: 26626
2011-04-12 21:10:45 +00:00
Gabor Juhos
fa9f45f345
ar71xx: fix build error w/o CONFIG_PCI
...
SVN-Revision: 26606
2011-04-12 13:14:56 +00:00
Gabor Juhos
adb6217471
ar71xx: don't hardcode console parameters in kernel config
...
SVN-Revision: 26605
2011-04-12 13:14:53 +00:00
Gabor Juhos
e193547733
ar71xx: use the gpio_keys_polled driver instead of gpio_buttons
...
SVN-Revision: 26603
2011-04-12 09:29:21 +00:00
Gabor Juhos
54ede24829
ar71xx: Add support for WZR-HP-G301NH
...
Add support for the Buffalo WZR-HP-G301NH. The only difference between it
and the WZR-HP-G00NH is that it has a RTL8366RB instead of a RTL8366S.
Since we don't do runtime detection of the switch, we need a separate
machine definition for it.
While we are at it, also rename the profile to reflect that it now is for
more than one device.
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
SVN-Revision: 26601
2011-04-12 09:29:10 +00:00
Gabor Juhos
ef4c1d49a6
ar71xx: merge dev-ar9{13,34}x-wmac into dev-ar9xxx-wmac
...
SVN-Revision: 26595
2011-04-11 17:37:08 +00:00
Gabor Juhos
4711dea8ff
ar71xx: fix AR934X_WMAC_SIZE
...
SVN-Revision: 26594
2011-04-11 17:37:03 +00:00
Gabor Juhos
8586e61b00
ar71xx: fix section mismatch
...
SVN-Revision: 26562
2011-04-09 18:47:55 +00:00
Gabor Juhos
a8bf5e3cdb
ar71xx: rename ar934x_ref_freq to ar71xx_ref_freq
...
Also initialize that for each SoC and print its value along with the
other frequencies.
SVN-Revision: 26561
2011-04-09 18:47:52 +00:00
Gabor Juhos
5573d6eb28
ar71xx: show the SoC type earlier
...
SVN-Revision: 26560
2011-04-09 18:47:50 +00:00
Gabor Juhos
ab4c3b3a1c
ar71xx: cleanup SoC detection code
...
SVN-Revision: 26559
2011-04-09 18:47:49 +00:00
Gabor Juhos
694d9059c9
ar71xx: sync kernel configuration
...
SVN-Revision: 26558
2011-04-09 18:47:45 +00:00
Gabor Juhos
3310c70702
ar71xx: Fix mac address offset for AR934x
...
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
SVN-Revision: 26557
2011-04-09 18:47:42 +00:00
Gabor Juhos
8f889f9250
ar71xx: add DB120 board specific PCI initialization
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
SVN-Revision: 26523
2011-04-07 20:53:41 +00:00
Gabor Juhos
a0c3d49064
ar71xx: register WMAC device on the DB120 board
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
SVN-Revision: 26522
2011-04-07 20:53:37 +00:00
Gabor Juhos
428888faec
ar71xx: add support for the built-in WMAC of the AR934x
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
SVN-Revision: 26521
2011-04-07 20:53:34 +00:00
Gabor Juhos
13b1bd2ec2
ar71xx: create a separate profile for the Atheros DB120 board
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
SVN-Revision: 26520
2011-04-07 20:53:25 +00:00
Gabor Juhos
72c84e6876
ar71xx: build firmware image for the Atheros DB120 board
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
SVN-Revision: 26519
2011-04-07 20:53:23 +00:00
Gabor Juhos
14b42c44ec
ar71xx: add initial support for the Atheros DB120 board
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
SVN-Revision: 26518
2011-04-07 20:53:19 +00:00
Gabor Juhos
f6ae4bf15f
ar71xx: indicate AR934x support in menuconfig
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
SVN-Revision: 26517
2011-04-07 20:53:14 +00:00
Gabor Juhos
2b064bb398
ar71xx: add support for the watchdog of the AR934x SoCs
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
SVN-Revision: 26516
2011-04-07 20:53:10 +00:00
Gabor Juhos
e4555809c7
ar71xx: enable PCI for the AR934[24] SoCs
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
SVN-Revision: 26515
2011-04-07 20:53:05 +00:00
Gabor Juhos
4f395745af
ar71xx: enable USB support for the AR934x SoCs
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
SVN-Revision: 26514
2011-04-07 20:53:03 +00:00
Gabor Juhos
25693b4769
ar71xx: enable GPIO support for the AR934x SoCs
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
SVN-Revision: 26513
2011-04-07 20:53:00 +00:00
Gabor Juhos
334a5ec36e
ar71xx: add AR934x specific glue for ar7100_device{start,stop}
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
SVN-Revision: 26512
2011-04-07 20:52:57 +00:00
Gabor Juhos
ccd3ebd309
ar71xx: add AR934x specific UART clock initialization
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
SVN-Revision: 26511
2011-04-07 20:52:53 +00:00
Gabor Juhos
91470edada
ar71xx: add AR934x specific glue for IRQ initialization
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
SVN-Revision: 26510
2011-04-07 20:52:49 +00:00
Gabor Juhos
3b209880bc
ar71xx: add initial support for the AR934x SoCs
...
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
SVN-Revision: 26509
2011-04-07 20:52:45 +00:00
Hauke Mehrtens
50c743e79e
kernel: Update to version 2.6.37.6
...
Thank you Peter Wagner for the patch
SVN-Revision: 26441
2011-04-03 13:59:07 +00:00
Felix Fietkau
624526ae11
ar71xx: use DEFAULT:= in the uboot-ar71xx package instead of adding uboot to the profiles, fixes imagebuilder issues
...
SVN-Revision: 26401
2011-04-02 12:43:21 +00:00
Felix Fietkau
98c78c13db
ar71xx: enable access to the WAN port PHY on a few devices, adds WAN link detection
...
SVN-Revision: 26394
2011-04-02 00:47:33 +00:00
Felix Fietkau
41ee4a283c
ar71xx: only allow internal access to the ar7240 switch, export the MDIO bus behind the switch instead
...
SVN-Revision: 26393
2011-04-02 00:47:29 +00:00
Felix Fietkau
acbb3e50e7
ar71xx: frequent ethernet mac resets upset the MDIO bus on ar7240, so do not run them on every device open, only on tx timeouts
...
SVN-Revision: 26392
2011-04-02 00:47:25 +00:00
Felix Fietkau
335877a2b3
global cflags: remove -funit-at-a-time, it is ignored by recent compilers. instead add -fno-caller-saves, which improves compression ratio for generated code with no apparent negative effects on performance
...
SVN-Revision: 26300
2011-03-26 01:07:12 +00:00
Jo-Philipp Wich
771d6f18f6
fix image generation in the Image Builder environment
...
SVN-Revision: 26271
2011-03-22 18:56:55 +00:00
Imre Kaloz
b8430e7427
update to 2.6.32.33 and 2.6.37.4
...
SVN-Revision: 26226
2011-03-18 13:25:32 +00:00
Felix Fietkau
5c0daa4580
ar71xx: remove 2.6.32 support
...
SVN-Revision: 26211
2011-03-17 20:08:44 +00:00
Felix Fietkau
784d808d07
ar71xx: add default configuration for the switch on AP96
...
Enables forwarding of frames between the switch ports (eth0).
Patch by Jouni Malinen
SVN-Revision: 26180
2011-03-15 19:51:42 +00:00
Hauke Mehrtens
4226f1d373
kernel: update to kernel version 2.6.37.3
...
SVN-Revision: 26126
2011-03-13 17:14:08 +00:00
Gabor Juhos
8eb616de82
ar71xx: add support for the TP-Link TL-WA901ND v2 board
...
Patch-by: Jonathan Benett <jbscience87@gmail.com>
SVN-Revision: 26119
2011-03-13 15:08:31 +00:00
Felix Fietkau
5bddd70a37
Revert "ar71xx: add missing gpio_set_debounce function" - wrong target
...
SVN-Revision: 25854
2011-03-03 16:21:23 +00:00
Felix Fietkau
57a14f4e15
ar71xx: add missing gpio_set_debounce function
...
SVN-Revision: 25848
2011-03-03 10:33:35 +00:00
Felix Fietkau
377898e785
ar71xx: remove support for 2.6.36
...
SVN-Revision: 25716
2011-02-25 23:26:33 +00:00
Felix Fietkau
4c808e972b
ar71xx: update to 2.6.37.1
...
SVN-Revision: 25715
2011-02-25 23:25:47 +00:00
Felix Fietkau
bc85dd19bc
ar71xx: revert accidental kernel upgrade
...
SVN-Revision: 25642
2011-02-21 02:42:47 +00:00
Felix Fietkau
9dad83362d
kernel: remove imq support, refresh patches
...
SVN-Revision: 25641
2011-02-21 02:06:51 +00:00
Felix Fietkau
f5cbceb2d5
ar71xx: fix fallout from the 2.6.32 kernel upgrade
...
SVN-Revision: 25595
2011-02-19 20:32:15 +00:00
Florian Fainelli
d3c2b87213
update to 2.6.32.29
...
SVN-Revision: 25583
2011-02-19 12:44:23 +00:00
Felix Fietkau
9e0b3a1b37
ar71xx: remove vsc73xx ucodes from the default profile - these are only used on some atheros reference designs which are unlikely to have many users
...
SVN-Revision: 25522
2011-02-13 16:08:36 +00:00
Gabor Juhos
256169cbd0
ar71xx: add rtl8366s initvals for the DIR-825 board
...
SVN-Revision: 25121
2011-01-26 20:35:47 +00:00
Gabor Juhos
800fbf32d2
ar71xx: create firmware image for the WNDR3700v2 board
...
Patch-by: Mark Mentovai <mark@moxienet.com>
SVN-Revision: 25119
2011-01-26 20:35:44 +00:00
Gabor Juhos
67c3e0bf7e
ar71xx: add support for the WNDR3700v2 board
...
Based on a patch by Mark Mentovai <mark@moxienet.com>
SVN-Revision: 25118
2011-01-26 20:35:42 +00:00
Jo-Philipp Wich
18ed5bca9b
fix null pointer access in mach-dir-600-a1.c machine setup ( #8671 )
...
SVN-Revision: 25043
2011-01-18 18:04:50 +00:00
Gabor Juhos
0b98f1f64f
ar71xx: rework WNDR3700 image generation
...
SVN-Revision: 24983
2011-01-14 10:37:14 +00:00
Gabor Juhos
b99f5f9c4a
ar71xx: build separate image for the WNDR3700 with NA region
...
SVN-Revision: 24982
2011-01-14 10:37:11 +00:00
Gabor Juhos
b67bbfe287
ar71xx: fix wlan LED on the TL-WR741 board
...
* Patch from #8630
SVN-Revision: 24963
2011-01-11 08:20:47 +00:00
Gabor Juhos
dd53effe15
ar71xx: fix wrong names of the WPS LED/button
...
Reported-by: Nuno Gonçalves
SVN-Revision: 24961
2011-01-10 18:15:47 +00:00
Gabor Juhos
a894d10d4d
ar71xx: remove the gpio_wr_fix patch
...
SVN-Revision: 24945
2011-01-09 09:29:51 +00:00
Gabor Juhos
23a6173099
ar71xx: use gpio_*_cansleep calls in the rb4xx NAND driver
...
SVN-Revision: 24944
2011-01-09 09:29:45 +00:00
Gabor Juhos
505f0e7a86
ar71xx: add kmod-ledtrig-usbdev for the MZK-W04NU profile as well
...
SVN-Revision: 24941
2011-01-08 21:04:57 +00:00
Gabor Juhos
271ce88567
ar71xx: add kmod-ledtrig-usbdev to the relevant profiles
...
SVN-Revision: 24940
2011-01-08 21:02:25 +00:00
Gabor Juhos
0de8689b70
ar71xx: use spinlock in ar71xx_device_{start,stop}
...
SVN-Revision: 24929
2011-01-08 11:28:32 +00:00
Gabor Juhos
271bb8385b
ar71xx: add kmod-usb-ohci module for the WNDR3700 profile
...
SVN-Revision: 24927
2011-01-08 10:51:20 +00:00
Gabor Juhos
061228d73c
ar71xx: make uci-default scripts executable
...
Reported-by: Nuno Gonçalves <nunojpg@gmail.com>
SVN-Revision: 24897
2011-01-04 13:44:01 +00:00
Gabor Juhos
0f659a13dd
ar71xx: add support for TL-WR740N v1
...
Same as TL-WR741ND but with different hardware ID and without
detachable antenna.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
SVN-Revision: 24811
2010-12-23 12:42:16 +00:00
Claudio Mignanti
2c0596cd69
unifi: add sysupgrade and leds support
...
SVN-Revision: 24737
2010-12-20 17:28:34 +00:00
Felix Fietkau
6acfae9379
ar71xx: enable ar7240 switch support on the UBNT NanoStation M Fixes broadcast frames on the second ethernet MAC
...
Signed-off-by: Alexander Couzens <lynxis@c-base.org>
SVN-Revision: 24723
2010-12-19 11:56:42 +00:00
Gabor Juhos
b512523d6f
ar71xx: fix micrel phy patch (Patch from #8041.)
...
SVN-Revision: 24718
2010-12-19 10:05:55 +00:00
Gabor Juhos
cafe08a1b2
ar71xx: remove stray semicolons
...
SVN-Revision: 24651
2010-12-17 17:57:20 +00:00
Gabor Juhos
01c76bf128
ar71xx: fix WLAN LEDs on the DIR-825 board
...
SVN-Revision: 24650
2010-12-17 17:10:21 +00:00
Gabor Juhos
c1d3a23d19
ar71xx: add helper function to setup ath9k LED/GPIO on the AP94 based boards
...
SVN-Revision: 24649
2010-12-17 17:10:19 +00:00
Gabor Juhos
e7ea6387a3
ar71xx: use usbdev trigger for USB LEDs by default
...
SVN-Revision: 24648
2010-12-17 17:10:16 +00:00
Gabor Juhos
8390b7dc9b
ar71xx: UBNT Secondary MAC address duplicate fix
...
There is Secondary MAC address duplicate problem with some UBNT
RouterStation and RouterStation Pro HW batches as Primary MAC addresses
are not increased by 2 per device in board data. Fix is to use 'Locally
Administrated bit' for Secondary MAC address instead of increasing
Primary MAC addresses by 1 which could overlap with other device
Primary MAC address.
Signed-off-by: Kestutis Barkauskas<keba@devint.net>
SVN-Revision: 24643
2010-12-17 17:10:01 +00:00
Gabor Juhos
a26c3e60e2
ar71xx: populate LED configuration for WZR-HP-G300NH
...
Signed-off-by: Dave Lichterman <laviddichterman@gmail.com>
[nand-disk trigger has been removed - juhosg]
SVN-Revision: 24642
2010-12-17 17:09:57 +00:00
Gabor Juhos
a2a5598c00
ar71xx: add wlan led for the TL-WR941ND
...
SVN-Revision: 24612
2010-12-15 19:55:50 +00:00
Gabor Juhos
e421d2575f
ar71xx: UBNT M-Series MAC address fix
...
UBNT M-Series devices have 2 MAC addresses in board data.
Fix is to use both entries from board data instead of one entry.
Signed-off-by: Kestutis Barkauskas<keba@devint.net>
SVN-Revision: 24611
2010-12-15 19:55:47 +00:00
Gabor Juhos
6c1ace2f28
ar71xx: init the LED pin for ath9k on the TL-MR3[24]20 boards
...
SVN-Revision: 24569
2010-12-14 18:01:04 +00:00
Gabor Juhos
a7750dae90
ar71xx: add helper function to setup LED pin and GPIO on the AP91 based boards
...
SVN-Revision: 24568
2010-12-14 18:01:00 +00:00
Hauke Mehrtens
b8ab3d34eb
kernel: update kernel versions Update kernel 2.6.32.26 to 2.6.32.27 Update kenrel 2.6.36.1 to 2.6.36.2
...
SVN-Revision: 24486
2010-12-11 16:07:21 +00:00
Gabor Juhos
9f38f9bf76
ar71xx: add missing files for the JA76PF board
...
SVN-Revision: 24444
2010-12-10 19:55:28 +00:00
Gabor Juhos
b680f088ba
ar71xx: add support for the jjPlus JA79PF
...
Patch-by: Cezary Jackiewicz
SVN-Revision: 24440
2010-12-10 17:57:51 +00:00
Gabor Juhos
5b0c83edd9
ar71xx: add support for the TP-LINK TL-MR3220 v1 board
...
SVN-Revision: 24439
2010-12-10 17:57:48 +00:00
Gabor Juhos
83834da33b
ar71xx: add default network configuration file for the TL-MR3420
...
SVN-Revision: 24437
2010-12-10 17:57:40 +00:00
Felix Fietkau
1fa3e7a941
ar71xx: do not throw compile errors if the nbg460n uboot is not selected
...
SVN-Revision: 24426
2010-12-10 16:07:27 +00:00
Gabor Juhos
d9c68341ef
ar71xx: select u-boot for the NBG460N in the Default/Minimal profiles as well
...
SVN-Revision: 24421
2010-12-10 15:17:08 +00:00
Gabor Juhos
081796fe47
ar71xx: add nbg460n image generation
...
This adds image generation for NBG460N/550N/550NH boards.
Signed-off-by: Michael Kurz <michi.kurz@googlemail.com>
SVN-Revision: 24419
2010-12-10 15:17:03 +00:00
Felix Fietkau
8067f3f3cc
ar71xx: work around a PCI controller bug which causes reads to the PCI_COMMAND register to return bogus values - properly fixes ath9k module reload issues
...
SVN-Revision: 24236
2010-12-04 01:32:15 +00:00
Jo-Philipp Wich
6f7e2d4ce8
tune rtl8366s default config, make vlan 1 cpu port tagged and use eth0.1 for the lan interface - this brings the configuration more in line with other switch setups
...
SVN-Revision: 24215
2010-12-02 20:19:55 +00:00
Gabor Juhos
79c24b2cb0
ar71xx: refresh patches
...
SVN-Revision: 24210
2010-12-01 18:40:01 +00:00
Jo-Philipp Wich
30b950154b
add a new image for the TEW-652BRP which can be used with the bootloader recovery option
...
SVN-Revision: 24196
2010-11-30 02:04:57 +00:00
Imre Kaloz
ead8ab8403
update to the latest stable kernels
...
SVN-Revision: 24136
2010-11-24 18:50:11 +00:00
Gabor Juhos
9971dfe059
ar71xx: D-Link DIR-825 B1 eth1 MAC address is garbage
...
r22700 contained a copy-and-paste error that set eth0's MAC address
twice and never set eth1's.
Signed-off-by: Mark Mentovai <mark@moxienet.com>
SVN-Revision: 24036
2010-11-19 07:24:00 +00:00
Gabor Juhos
920a34c0ce
ar71xx: drivers/ar71xx_wdt: fix size argument passed to copy_to_user()
...
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
SVN-Revision: 23983
2010-11-12 18:52:45 +00:00
Gabor Juhos
3106aea40b
ar71xx: drivers/ag71xx: remove deprecated usage of IRQF_SAMPLE_RANDOM
...
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
SVN-Revision: 23982
2010-11-12 18:52:28 +00:00
Gabor Juhos
30ef7d55fc
ar71xx: use pr_* functions in drivers
...
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
SVN-Revision: 23981
2010-11-12 18:52:12 +00:00
Gabor Juhos
fddf3b8dac
ar71xx: drivers/rb4xx_nand: remove C++ comment usage
...
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
SVN-Revision: 23980
2010-11-12 18:51:55 +00:00
Gabor Juhos
f4d5c885e4
ar71xx: return statements does not need parenthesis
...
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
SVN-Revision: 23979
2010-11-12 18:51:38 +00:00
Gabor Juhos
e244e1c7cd
ar71xx: fix inline attribute location
...
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
SVN-Revision: 23978
2010-11-12 18:51:21 +00:00
Gabor Juhos
acd8ad4de5
ar71xx: wrap long lines
...
(build errors has been fixed - juhosg)
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
SVN-Revision: 23977
2010-11-12 18:51:04 +00:00
Gabor Juhos
eef802855a
ar71xx: fix trailing statements location
...
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
SVN-Revision: 23976
2010-11-12 18:50:47 +00:00
Gabor Juhos
500fac1735
ar71xx: fix whitespaces nits
...
(build error has been fixed - juhosg)
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
SVN-Revision: 23975
2010-11-12 18:50:29 +00:00
Alexandros C. Couloumbis
0c66bb9c55
linux/ar71xx: add preliminary 2.6.37 kernel support
...
SVN-Revision: 23944
2010-11-10 16:23:42 +00:00
Claudio Mignanti
20b2a4417a
Add support for Ubiquiti UniFi AP
...
SVN-Revision: 23904
2010-11-06 21:08:48 +00:00
Felix Fietkau
5f3f1b8cd8
ar71xx: Configure WNDR3700 switch LED colors properly ( #8103 )
...
For WNDR3700, use green for 1Gb/s and amber for 100Mb/s and 10Mb/s on
the four LAN port switch LEDs. The LEDs will be lit to indicate a link
and will blink to indicate activity. This matches the stock firmware
and the description printed on the label on the unit's underside.
Signed-off-by: Mark Mentovai <mark@moxienet.com>
SVN-Revision: 23879
2010-11-04 18:55:16 +00:00
Felix Fietkau
b3b2227869
Revert "ar71xx: WNDR3700 WiFi LEDs should blink for activity ( #7984 )" on submitter's request
...
SVN-Revision: 23878
2010-11-04 18:53:18 +00:00
Felix Fietkau
77eee74d56
ar71xx: WNDR3700 WiFi LEDs should blink for activity ( #7984 )
...
Make the WiFi LEDs blink for activity on the WNDR3700, matching the
stock firmware and user expectations. The green 2.4GHz and blue 5GHz
LEDs will illuminate with the radio on, and will blink to indicate
transmission and reception.
Signed-off-by: Mark Mentovai <mark@moxienet.com>
SVN-Revision: 23877
2010-11-04 18:48:22 +00:00
Felix Fietkau
91b6c63adc
ar71xx: Set eth1 MAC address from EEPROM for WNDR3700
...
The WNDR3700's art/caldata partition contains three MAC addresses at
offsets 0, 6, and 12, used for eth0/wlan0 (shared), eth1, and wlan1,
respectively. The existing code configures eth1's MAC address by adding
1 to eth0's instead of using the value stored in the EEPROM. This patch
causes the stored value to be used directly. (On my WNDR3700s, the three
stored addresses are all sequential anyway.)
Signed-off-by: Mark Mentovai <mark@moxienet.com>
SVN-Revision: 23876
2010-11-04 18:46:07 +00:00
Felix Fietkau
fc28e1cd7d
ar71xx: fix the wndr3700 antenna group setting for the first wireless chip (thx, Mark Mentovai)
...
SVN-Revision: 23875
2010-11-04 18:39:49 +00:00
Imre Kaloz
0a5da348d1
update kernels to 2.6.32.25 and 2.6.35.8
...
SVN-Revision: 23851
2010-11-04 09:01:08 +00:00
Felix Fietkau
b4e2c09b46
ar71xx: improve the wndr3700 quirks - move most of the code out of ath9k and instead allow the platform device to specify gpio overrides - fixes 5ghz signal strength issues
...
SVN-Revision: 23822
2010-11-03 14:55:53 +00:00
Felix Fietkau
b3e708acd7
ar71xx: remove some unnecessary patches
...
SVN-Revision: 23581
2010-10-22 01:31:47 +00:00
Felix Fietkau
0468a284dd
move a few more 2.6.36 config options from ar71xx to generic
...
SVN-Revision: 23580
2010-10-21 18:42:52 +00:00
Felix Fietkau
f056c054b9
ar71xx: the ar7240 dsa driver is no longer used, remove it.
...
SVN-Revision: 23577
2010-10-21 18:42:28 +00:00
Felix Fietkau
9e2d1a194d
ar71xx: use the new ar7240 switch driver for tl-wa901nd as well
...
SVN-Revision: 23576
2010-10-21 18:42:22 +00:00
Felix Fietkau
6656450c6d
ar71xx: fix more section mismatches
...
SVN-Revision: 23575
2010-10-21 18:42:16 +00:00
Felix Fietkau
8858d90afe
ar71xx: improve 2.6.36 compatibility. also, instead of adding a forward port patch to the 2.6.36 patches, add a backport patch to 2.6.32
...
SVN-Revision: 23574
2010-10-21 18:42:11 +00:00
Felix Fietkau
0ccae6ec9e
ar71xx: refresh kernel config for 2.6.36
...
SVN-Revision: 23572
2010-10-21 18:41:57 +00:00
Felix Fietkau
d40b0f3529
ar71xx: remove unused kernel versions, 2.6.36 should be the next target
...
SVN-Revision: 23571
2010-10-21 18:41:52 +00:00
Jo-Philipp Wich
a680385396
remove remaining references to dev-ap91-eth.h, patch by Stijn Tintel
...
SVN-Revision: 23451
2010-10-14 23:08:10 +00:00
Felix Fietkau
fc035b3cb6
ar71xx: remove dev-ap91-eth.c. switch its only user (RB-750) to the new switch driver
...
SVN-Revision: 23439
2010-10-14 13:41:42 +00:00
Felix Fietkau
3941621dbc
ar71xx: use the new ar7240 switch driver on the DIR-600-A1 as well ( fixes #7563 )
...
SVN-Revision: 23432
2010-10-14 00:14:59 +00:00
Alexandros C. Couloumbis
5717ca5ea9
linux/ar71xx: workaround an rb4xx hard-lock until we get a proper fix.
...
SVN-Revision: 23327
2010-10-08 16:52:35 +00:00
Alexandros C. Couloumbis
dc0e630123
linux/ar71xx: (2.6.36) add a missed patch
...
SVN-Revision: 23319
2010-10-08 12:15:18 +00:00
Alexandros C. Couloumbis
458e8736fc
linux/ar71xx: add preliminary 2.6.36 kernel support (refresh patches)
...
SVN-Revision: 23317
2010-10-08 12:10:18 +00:00
Felix Fietkau
b61a804bf7
ar71xx: increase rb4xx nand kernel partition size (patch by danimo)
...
SVN-Revision: 23293
2010-10-07 14:27:34 +00:00
Imre Kaloz
5f9a6a5431
upgrade kernel versions to the latest stable ones
...
SVN-Revision: 23219
2010-10-04 10:40:41 +00:00
Gabor Juhos
697f5d0bdd
ar71xx: initial support for jjPlus JWAP003
...
Patch-by: Cezary Jackiewicz <cezary@eko.one.pl>
(the GPIODEV code has been removed, the sysfs interface
can be used to control the GPIO lines instead - juhosg)
SVN-Revision: 23165
2010-10-01 07:09:29 +00:00
Felix Fietkau
8511c6b16c
AP96: Fix LAN/WAN setup
...
LAN (eth0) is behind a switch and the fixed speed/duplex was
supposed to be for it, not WAN (eth1).
Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
SVN-Revision: 23147
2010-09-28 22:55:14 +00:00
Gabor Juhos
2fdc8aea04
ar71xx: build firmware image for the TL-MR3420 v1 board
...
SVN-Revision: 23138
2010-09-27 14:54:04 +00:00
Gabor Juhos
32d12d5e5c
ar71xx: add support for the TL-MR3420 v1 board
...
SVN-Revision: 23136
2010-09-27 14:53:59 +00:00
Gabor Juhos
b831ebdde9
ar71xx: AR724[12] requires different USB setup
...
SVN-Revision: 23135
2010-09-27 14:53:57 +00:00
Gabor Juhos
ef54e93712
ar71xx: build firmware image for the TL-WR841N v7
...
SVN-Revision: 23134
2010-09-27 14:53:54 +00:00
Gabor Juhos
cda8655910
ar71xx: use the MDIO interface of the 2nd MAC on the ar7241
...
SVN-Revision: 23132
2010-09-27 14:53:49 +00:00
Gabor Juhos
b445943cdf
ar71xx: move ath9k specific PCI fixup into a separate file
...
SVN-Revision: 23131
2010-09-27 14:53:46 +00:00
Gabor Juhos
4ae167959b
ar71xx: use different address in ap91_pci_fixup for the AR724[012] SoCs
...
With this change ath9k can handle the wireless chip on the TL-WR841N v7
board which is based on the AR7241 SoC.
SVN-Revision: 23130
2010-09-27 14:53:43 +00:00
Felix Fietkau
a7bb7dd99e
Add support for Atheros AP96 reference board
...
This is still preliminary and not really tested much. Anyway, this
version seems to be enough to get both wired and wireless
interfaces working. Buttons and leds are also working.
mach-ap96.c is based on mach-wndr3700.c.
Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
SVN-Revision: 23125
2010-09-27 08:59:53 +00:00
Felix Fietkau
0c6653c6e2
ar71xx: select AR71XX_DEV_DSA when AR71XX_DEV_AP91_ETH is selected, do not select AR71XX_DEV_AP91_ETH for TL-WA901ND and TL-WR741ND
...
SVN-Revision: 22935
2010-09-05 16:17:06 +00:00
Gabor Juhos
fcfe56924b
ar71xx: build firmware images for the Zcomax boards
...
SVN-Revision: 22884
2010-09-03 18:14:43 +00:00
Gabor Juhos
b4336a8e2d
ar71xx: add support for the Zcomax ZCN-1523H-2-8/5-16 boards
...
SVN-Revision: 22882
2010-09-03 18:14:37 +00:00
Gabor Juhos
ece9b523e4
ar71xx: refresh patches
...
SVN-Revision: 22864
2010-08-31 20:13:50 +00:00
Gabor Juhos
47f8fd1dde
ar71xx: rewrite SPI drivers for the RB4xx boards
...
* add a new SPI controller driver
* add SPI driver for the CPLD chip
* convert the NAND driver
* enable the mikroSD slot
* enable more LEDs
SVN-Revision: 22863
2010-08-31 20:13:47 +00:00
Gabor Juhos
a80b9af0cd
ar71xx: refresh patches
...
SVN-Revision: 22803
2010-08-25 19:57:11 +00:00
Florian Fainelli
b1becffa5b
update to 2.6.32.20
...
SVN-Revision: 22766
2010-08-22 17:07:37 +00:00
Gabor Juhos
6855ac2393
ar71xx: don't override CONFIG_SWAP
...
SVN-Revision: 22701
2010-08-18 16:00:31 +00:00
Gabor Juhos
7bc5a672c1
ar71xx: change mac address initialization
...
SVN-Revision: 22700
2010-08-18 16:00:28 +00:00
Felix Fietkau
523fcf0497
ar71xx: add a new driver for the ar7240 switch using swconfig. hooks directly into the ethernet driver, as MAC resets also require switch reinitializations and the switch is part of the cpu core anyway switch only tl-wr741nd (and other devices using this board file, such as tl-wr841nd) over to using this by default, as other devices are still untested fixes #7563
...
SVN-Revision: 22675
2010-08-16 19:21:57 +00:00
Gabor Juhos
e35f7ef51d
ar71xx: add eap7660d board to diag.sh and sysupgrade
...
This patch adds support for the Senao EAP7660D board to diag.sh and sysupgrade.
Signed-off-by: Daniel Golle <daniel.golle@gmail.com>
SVN-Revision: 22644
2010-08-14 21:07:31 +00:00
Alexandros C. Couloumbis
9aef272f4a
linux/ar71xx: add nanostation-m signature (thanks Antonio Anselmi)
...
SVN-Revision: 22631
2010-08-14 07:48:05 +00:00
Jo-Philipp Wich
6616951c15
add uci-defaults script to migrate vlan 0 to vlan 1 after sysupgrade on devices using the RTL8366s switch
...
SVN-Revision: 22625
2010-08-13 19:29:51 +00:00
Felix Fietkau
65899cfa49
ar71xx: remove the fifo cfg overrides for the ap91 ethernet code - these values have been wrong on every single device i've tested, falling back to the atheros values seems to be the right thing to do
...
SVN-Revision: 22401
2010-07-27 21:04:43 +00:00
Felix Fietkau
4ee3ae96c2
ar71xx: fix sysupgrade on the ubnt nanostation m
...
SVN-Revision: 22370
2010-07-23 18:16:47 +00:00
Felix Fietkau
900aaa919b
ar71xx: add support for the tp-link tl-wa901nd devices (patch by Pieter "Fate" Hollants, from #7528 , without the ethernet fifo cfg values)
...
SVN-Revision: 22353
2010-07-22 12:37:44 +00:00
Felix Fietkau
bced5d7d74
ar71xx: set default values for the fifo cfg registers on AR724x
...
SVN-Revision: 22303
2010-07-20 01:54:11 +00:00
Imre Kaloz
ca8f45b142
update kernel versions
...
SVN-Revision: 22289
2010-07-19 11:34:03 +00:00
Gabor Juhos
4bb11f9a39
generic: move ath5k_platform.h from ar71xx to generic files
...
SVN-Revision: 22189
2010-07-15 07:36:58 +00:00
Gabor Juhos
95e09cccd8
ar71xx: in-flash macs and eeprom for mach-eap7660d
...
This adds in-flash mac-addresses and calibration data for the Senao
EAP7660D board.
Signed-off-by: Daniel Golle <daniel.golle@gmail.com>
SVN-Revision: 22187
2010-07-15 07:36:52 +00:00
Felix Fietkau
a27ea45e76
ar71xx: only reinit the ethernet MAC at .open() on ar724x for now, until we've figured out what part of it causes the issue described in #7563
...
SVN-Revision: 22075
2010-07-06 12:40:07 +00:00
Felix Fietkau
15b209d09f
ag71xx: reset the hardware during open(), this improves recovery from tx timeouts on ar724x considerably
...
SVN-Revision: 22055
2010-07-04 02:15:08 +00:00
Felix Fietkau
89da22d1ea
ag71xx: fix a memory corruption bug that happens if you flood the interface with packets while it's being brought down fixes boot time crashes under load reported by matteo
...
SVN-Revision: 22054
2010-07-04 01:31:33 +00:00
Gabor Juhos
5a28fb88a4
ar71xx: fix leds-rb750 build failure on 2.6.34
...
SVN-Revision: 22016
2010-07-01 14:49:06 +00:00
Jo-Philipp Wich
d6d8014cfd
fix dir-825-b1 default network config after r21905
...
SVN-Revision: 22005
2010-07-01 00:03:43 +00:00
Alexandros C. Couloumbis
0409c64e34
fix commit r21993
...
SVN-Revision: 21994
2010-06-30 19:35:12 +00:00
Gabor Juhos
e827a12c48
ar71xx: don't use vlan 0 for devices with rtl8366s switch
...
SVN-Revision: 21905
2010-06-26 19:15:32 +00:00
Gabor Juhos
7bff9c0101
ar71xx: add support for the Senao EAP7660D board
...
This patch adds support for the Senao EAP7660D board to trunk.
Signed-off-by: Daniel Golle <daniel.golle@gmail.com>
SVN-Revision: 21837
2010-06-18 16:22:05 +00:00
Gabor Juhos
518f43efd8
ar71xx: fix RB750 LED configuration
...
Patch-by: Ray Bellis
SVN-Revision: 21826
2010-06-17 09:24:26 +00:00
Gabor Juhos
08c2e29018
ar71xx: avoid duplicated 'board' parameter in kernel command line
...
SVN-Revision: 21805
2010-06-14 20:02:44 +00:00
Gabor Juhos
b86e4e1c6a
ar71xx: add default network config for the RB433UAH board
...
SVN-Revision: 21765
2010-06-12 13:20:41 +00:00
Gabor Juhos
9789f0215a
ar71xx: nuke AR71XX_MACH_UBNT_AR71XX machtype
...
SVN-Revision: 21764
2010-06-12 13:20:39 +00:00
Gabor Juhos
9bc1e548a1
generic: move more common options to generic configuration
...
* CONFIG_ABX500_CORE
* CONFIG_ATOMIC64_SELFTEST
* CONFIG_BRIDGE_IGMP_SNOOPING
* CONFIG_CAIF
* CONFIG_CEPH_FS
* CONFIG_CRYSTALHD
* CONFIG_DEFAULT_SECURITY_SELINUX
* CONFIG_DEFAULT_SECURITY_SMACK
* CONFIG_DEFAULT_SECURITY_TOMOYO
* CONFIG_DT3155
* CONFIG_IP_MROUTE_MULTIPLE_TABLES
* CONFIG_L2TP
* CONFIG_LOGFS
* CONFIG_LPC_SCH
* CONFIG_MFD_JANZ_CMODIO
* CONFIG_MFD_RDC321X
* CONFIG_N_GSM
* CONFIG_RAMOOPS
* CONFIG_SERIAL_ALTERA_JTAGUART
* CONFIG_SERIAL_ALTERA_UART
* CONFIG_SERIAL_TIMBERDALE
* CONFIG_SM_FTL
* CONFIG_SQUASHFS_XATTRS
SVN-Revision: 21750
2010-06-10 10:45:51 +00:00
Gabor Juhos
2f328ce488
generic: move some common symbols to generic configuration
...
* CONFIG_MUTEX_SPIN_ON_OWNER
* CONFIG_DEFAULT_HYDLA
* CONFIG_DEFAULT_VENO
SVN-Revision: 21748
2010-06-10 08:58:14 +00:00
Gabor Juhos
5cad9d5c73
generic: standardize CONFIG_INLINE_* symbols usage
...
SVN-Revision: 21746
2010-06-10 08:09:41 +00:00
Gabor Juhos
65de4c2102
ar71xx: sync kernel configs
...
SVN-Revision: 21745
2010-06-10 08:09:36 +00:00
Gabor Juhos
f24395618e
ar71xx: remove more config overrides
...
SVN-Revision: 21744
2010-06-10 06:14:19 +00:00
Gabor Juhos
adb0a95df1
ar71xx: fix phy_mask for the RB450
...
SVN-Revision: 21743
2010-06-09 19:48:35 +00:00
Gabor Juhos
f731dbec62
ar71xx: don't override CONFIG_BRIDGE_* options
...
SVN-Revision: 21742
2010-06-09 19:48:32 +00:00
Gabor Juhos
dc27a440b2
ar71xx: fix nand_scan_ident parameters in the rb{4xx,750}_nand drivers for 2.6.35
...
SVN-Revision: 21737
2010-06-09 15:31:36 +00:00
Gabor Juhos
6ce447427c
ar71xx: fix build error in the rb{4xx,750}_nand drivers on 2.6.34/35
...
SVN-Revision: 21736
2010-06-09 15:31:34 +00:00
Alexandros C. Couloumbis
d45dc5e820
ar71xx: add kernel 2.6.35 preliminary support
...
SVN-Revision: 21734
2010-06-09 10:45:47 +00:00
Gabor Juhos
3045632eb0
ar71xx: add default network configuration file for the RB450/RB433 boards
...
SVN-Revision: 21730
2010-06-08 20:19:23 +00:00
Gabor Juhos
2666ae6f0e
ar71xx: enable the IP17xx driver for the nand subtarget
...
Also disable the old ICPlus driver.
SVN-Revision: 21729
2010-06-08 20:19:20 +00:00
Gabor Juhos
d55ebf3a8a
ar71xx: fix phy_mask on the RB433 for the IP17xx driver
...
SVN-Revision: 21728
2010-06-08 20:19:18 +00:00
Gabor Juhos
90e2b1ad6b
ar71xx: fix 2.6.34 build errors
...
SVN-Revision: 21698
2010-06-07 09:18:13 +00:00
Gabor Juhos
84f6a9c5a1
ar71xx: add missing 2.6.34 config symbol
...
SVN-Revision: 21697
2010-06-07 09:17:34 +00:00
Gabor Juhos
e897618fe1
ar71xx: build firmware images if Minimal profile is selected
...
SVN-Revision: 21684
2010-06-06 17:41:39 +00:00
Gabor Juhos
f0ec6c9529
ar71xx: rename Minimal profile
...
SVN-Revision: 21683
2010-06-06 17:41:34 +00:00
Felix Fietkau
b61dce0a9b
ar71xx: clarify the nand subtarget a bit
...
SVN-Revision: 21679
2010-06-05 11:55:49 +00:00
Gabor Juhos
2dfcdb9465
generic: merge mips multi machine update to generic patches for 2.6.34
...
SVN-Revision: 21675
2010-06-04 19:09:52 +00:00
Gabor Juhos
35765bfcf8
generic: merge mips multi machine update to generic patches for 2.6.33
...
SVN-Revision: 21674
2010-06-04 19:09:49 +00:00
Gabor Juhos
383bd396fa
generic: merge mips multi machine update to generic patches for 2.6.32
...
SVN-Revision: 21673
2010-06-04 19:09:46 +00:00
Alexandros C. Couloumbis
2b743a266f
ar71xx: fix rootfs mount issue ( closes #7319 )
...
SVN-Revision: 21645
2010-06-01 08:49:57 +00:00
Daniel Dickinson
6bccc41f6c
ar71xx: Added preinit scriptlet to set vars based on cpuinfo during preinit_main. This fixes a bug in which the vars were not set due to /proc not being mounted when ar71xx.sh was sourced
...
SVN-Revision: 21634
2010-05-30 03:20:49 +00:00
Nicolas Thill
e74e289fa8
update linux kernel to 2.6.32.14
...
SVN-Revision: 21583
2010-05-27 18:09:09 +00:00
Nicolas Thill
46e2eea1ef
target/linux: refresh 2.6.32 patches
...
SVN-Revision: 21566
2010-05-24 20:35:46 +00:00
Hauke Mehrtens
b18a1d217b
kernel: update kernel to version 2.6.32.13 and 2.6.33.4
...
SVN-Revision: 21540
2010-05-23 13:16:51 +00:00
Gabor Juhos
65dba323f7
ar71xx: Make wget2nand fail if copying the kernel fails and use the correct file extension for the rootfs image
...
wget2nand didnt check the exit status after copying the kernel, if the
copying failed for some reason ( for example not enougs space on the
kernel partition) it simply continued extracting the rootfs.
I also changed the filename, which wget2nand trys to download (
.tar.gz instead of .tgz ).
Signed-off-by: Marko Foerster <mrkfoerster@googlemail.com>
SVN-Revision: 21444
2010-05-14 08:38:39 +00:00
Gabor Juhos
115f845e53
ar71xx: fix nbg460n mtd partitions
...
This fixes the NBG460N/550N/550NH mtd partitions.
Signed-off-by: Michael Kurz <michi.kurz@googlemail.com>
SVN-Revision: 21443
2010-05-14 08:37:58 +00:00
Felix Fietkau
3aa09d05fd
ar71xx: remove madwifi from the default profile
...
SVN-Revision: 21406
2010-05-08 20:06:50 +00:00
Felix Fietkau
f4c9a4e042
ar71xx: use the lzma kernel and a proper size limit for pb92
...
SVN-Revision: 21405
2010-05-08 20:06:44 +00:00
Felix Fietkau
51f7953734
ar71xx: remove some bogus kernel config overrides
...
SVN-Revision: 21397
2010-05-07 16:20:37 +00:00
Felix Fietkau
2598c32f06
ar71xx: add a new subtarget for nand based devices - saves around 44k on the lzma compressed generic kernel image
...
SVN-Revision: 21396
2010-05-07 16:20:32 +00:00
Nicolas Thill
b3b591c000
buildsystem: rename tgz/TGZ "feature" and matching options to targz/TARGZ
...
SVN-Revision: 21238
2010-04-28 14:47:43 +00:00
Felix Fietkau
f9f11f950d
ar71xx: add a new default profile containing all drivers for all boards
...
SVN-Revision: 21209
2010-04-27 20:16:27 +00:00
Alexandros C. Couloumbis
fdac9ae836
sync to kernel 2.6.32.12
...
SVN-Revision: 21195
2010-04-27 14:30:08 +00:00
Gabor Juhos
497d2ec2d0
ar71xx: create separate 'factory' and 'sysupgrade' images for the Planex boards
...
SVN-Revision: 21175
2010-04-26 18:28:10 +00:00
Gabor Juhos
fca9b7ebad
ar71xx: remove config partition from the mtd map on the MZK-W300NH board
...
This space can be used to extend the rootfs_data partition.
SVN-Revision: 21173
2010-04-26 18:28:04 +00:00
Gabor Juhos
77b2354fcd
ar71xx: fix firmware partition size on the MZK-W04NU board
...
SVN-Revision: 21172
2010-04-26 18:28:01 +00:00
Gabor Juhos
c018bd8ec1
ar71xx: build different firmware images for the DIR-825-Bx boards
...
SVN-Revision: 21171
2010-04-26 18:27:58 +00:00
Gabor Juhos
12fab9cb9e
ar71xx: create smaller sysupgrade images for the WRT400N board
...
SVN-Revision: 21170
2010-04-26 18:27:54 +00:00
Gabor Juhos
8470d973ee
ar71xx: create firmware images for the TL-WR941ND v3 boards
...
SVN-Revision: 21169
2010-04-26 18:27:51 +00:00
Gabor Juhos
97b031b57f
ar71xx: create separate 'factory' and 'sysupgrade' images for the WRT160NL
...
The 'factory' image requires the garbage at the end of the image.
Flashing from the original web interface does not work without that.
SVN-Revision: 21168
2010-04-26 18:27:47 +00:00
Felix Fietkau
7966004d99
ag71xx: remove rx alignment code for small packets, it seems to break ipv6 for some reason ( fixes #7236 )
...
SVN-Revision: 21166
2010-04-26 16:39:13 +00:00
Felix Fietkau
9848d38aed
ar71xx: fix a wifi card stability issue
...
when we receive a pci/ahb interrupt, we need to flush pending data for dma
from the device, otherwise the tx path may get stuck if the completion flag
of the dma descriptor is not updated at the time the tx interrupt arrives.
SVN-Revision: 21143
2010-04-24 17:24:11 +00:00
Gabor Juhos
4be3c3e48c
kernel: refresh patches for 2.6.34-rc5 and update md5sum
...
SVN-Revision: 21082
2010-04-22 07:13:21 +00:00
Gabor Juhos
81062a12ac
kernel: refresh patches for 2.6.33.2, and drop md5sum for older 2.6.32 kernels
...
SVN-Revision: 21081
2010-04-22 07:12:09 +00:00
Gabor Juhos
10ed3b23a6
ar71xx: reduce button threshold value on the NBG460 board
...
SVN-Revision: 21076
2010-04-21 19:07:23 +00:00
Gabor Juhos
9933d34770
ar71xx: use KEY_RESTART and KEY_WPS_BUTTON code for the appropriate buttons
...
SVN-Revision: 21075
2010-04-21 19:07:19 +00:00
Gabor Juhos
d7919c8d0d
ar71xx: fix mtd_layout for the DIR-615-C1 and similar devices
...
* Thanks to Yury Polyanskiy for the report
SVN-Revision: 21036
2010-04-20 08:07:25 +00:00
Gabor Juhos
693ea524c1
ar71xx: adding support for zyxel nbg460n/550n/550nh boards
...
This patch adds support for the zyxel nbg460n/550n/550nh routers.
Currently this only works if a second stage bootloader is also flashed,
as the used switch needs extra initialization.
Signed-off-by: Michael Kurz <michi.kurz@googlemail.com>
SVN-Revision: 20990
2010-04-18 16:24:12 +00:00
Felix Fietkau
1c0e751391
ar71xx: fix up alignment handling
...
- on ar724x, rx buffers can be aligned with an offset of 2, which keeps the ip header aligned
- alignment offset is only added if the ar8216 workaround is not active and the phy driver does not advertise its own packet alignment
- ar71xx and ar91xx can not handle rx alignment offsets, however taking a hit on unaligned exceptions seems to have less overhead than re-aligning the data for large packets
- use memmove to re-align small packets, if necessary
tested on ar9132, ar7240 and ar7242 based devices without ar8216 headers
SVN-Revision: 20892
2010-04-15 23:31:17 +00:00
Felix Fietkau
231012cba0
ar71xx: fix image builds (broken by r20834)
...
SVN-Revision: 20840
2010-04-13 18:01:46 +00:00
Nicolas Thill
e2b57ecf5f
define a shared IMG_PREFIX variable used as a basename for image files, it contains board & subtarget infos (if appropriate) allowing subtargets to share the same bin directory without overwriting each other's files
...
SVN-Revision: 20834
2010-04-12 23:15:56 +00:00
Felix Fietkau
1633dd6b6c
ar71xx: add a profile for PB92
...
SVN-Revision: 20778
2010-04-10 16:50:20 +00:00
Gabor Juhos
6139571932
ar71xx: nuke clocksource init patches, it is not required since 2.6.27
...
SVN-Revision: 20764
2010-04-09 13:33:03 +00:00
Gabor Juhos
dd7304ec6d
ar71xx: update phy masks for the Planex boards
...
This avoids probing of the AR8216 chip on the eth0 interface.
Cc: backfire@openwrt.org
SVN-Revision: 20754
2010-04-09 08:40:14 +00:00
Gabor Juhos
d6c0363884
ar71xx: make the AR8216 driver usable on the TEW-632BRP/DIR-615-Cx boards
...
Cc: backfire@openwrt.org
SVN-Revision: 20752
2010-04-09 08:40:09 +00:00
Gabor Juhos
4c29a2c263
ar71xx: ag71xx: avoid unalinged accesses when using the phy specific receive functions
...
Cc: backfire@openwrt.org
SVN-Revision: 20751
2010-04-09 08:40:06 +00:00
Gabor Juhos
4a28844d80
ar71xx: ag71xx: call the phy driver's netif_receive_skb()
...
Ag71xx needs to call the phy's netif_receive_skb() to allow phy drivers
to mangle rx packets. This patch fixes it.
This fixes the header mangling of the AR8216 driver.
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
Cc:backfire@openwrt.org
SVN-Revision: 20750
2010-04-09 08:38:46 +00:00
Felix Fietkau
df463abb18
ar71xx: fix ethernet on final pb92 board (previous value was based on a preliminary version)
...
SVN-Revision: 20725
2010-04-06 00:12:50 +00:00
Jo-Philipp Wich
23bebe33a7
Add support for the ar8316 switch. This patch enhances the ar8216 driver with ar8316 support and fixes some minor issues with the ar8216 driver itself. It should not break anything, but isn't tested on ar8216 devices.
...
[PATCH 2/2] ar71xx: Add the ar8316 driver to rs pro/rb-450g.
Add the ar8216 driver to the ar71xx target, and add network
configurations for the RouterStation Pro and the RouterBoard RB-450G.
SVN-Revision: 20722
2010-04-05 23:03:16 +00:00
Gabor Juhos
c874513cfa
ar71xx: fix broken LAN ports on the boards with AR8216 switch ( closes #7024 )
...
* cc: backfire@openwrt.org
SVN-Revision: 20673
2010-04-03 13:59:08 +00:00
Felix Fietkau
7983e442e1
ar71xx: fix pci on ar7241/ar7242
...
SVN-Revision: 20530
2010-03-28 00:36:37 +00:00
Felix Fietkau
9c0f21a5b9
ar71xx: fix the wan port on pb92
...
SVN-Revision: 20529
2010-03-28 00:36:04 +00:00
Felix Fietkau
2cc215f121
ar71xx: reset the mdio bus on ar7241/ar7242
...
SVN-Revision: 20528
2010-03-28 00:35:44 +00:00
Gabor Juhos
8701291f0f
ar71xx: add uci defaults to fix trx header on the WRT160NL boards
...
* patch by Otto Solares
SVN-Revision: 20526
2010-03-27 17:38:40 +00:00
Gabor Juhos
905f2d62f9
ar71xx: update image generation and trx header parsing for the WRT160NL
...
* patch by Bernhard Loos
* note: trailing whitespaces has been removed
SVN-Revision: 20525
2010-03-27 17:38:36 +00:00
Gabor Juhos
b7ca043240
ar71xx: ag71xx: copy received packet to avoid unaligned access in the IP stack
...
SVN-Revision: 20506
2010-03-27 13:05:27 +00:00
Gabor Juhos
f9acf8ada1
ar71xx: ag71xx: introduce ag71xx_has_ar8216() helper
...
SVN-Revision: 20505
2010-03-27 13:05:24 +00:00
Gabor Juhos
200db5ebb5
ar71xx: ag71xx: reorganize ag71xx_rx_packet function
...
SVN-Revision: 20504
2010-03-27 13:05:20 +00:00
Gabor Juhos
245775a49f
ar71xx: ag71xx: Add netpoll support
...
This patch adds support for polling interrupts, used by
netconsole and the likes.
Tested on d-link dir-615 C1 using netconsole.
Signed-off-by: Pat Erley <pat-lkml@erley.org>
SVN-Revision: 20503
2010-03-27 13:05:17 +00:00
Felix Fietkau
6ce1fd2301
ar71xx: add images for pb92 - no kernel size check yet, lzma images did not yet work in my tests
...
SVN-Revision: 20496
2010-03-26 22:36:02 +00:00
Felix Fietkau
0b6e32a7b0
ar71xx: add basic kernel support for pb92
...
SVN-Revision: 20495
2010-03-26 22:35:52 +00:00
Felix Fietkau
aa3ff31b95
ar71xx: add support for ar7241 and ar7242
...
SVN-Revision: 20494
2010-03-26 22:35:41 +00:00
Felix Fietkau
4e10c56551
ar71xx: fix pci link detection for ar724x
...
SVN-Revision: 20493
2010-03-26 22:35:27 +00:00
Andy Boyett
681054333e
wrt400n: lan ports don't need the ar8216 workaround
...
SVN-Revision: 20491
2010-03-26 19:09:11 +00:00
Gabor Juhos
e66a368bd1
kernel: update to 2.6.32.10
...
SVN-Revision: 20444
2010-03-26 10:45:25 +00:00
Gabor Juhos
35bb7be34d
ar71xx: Add basic WLAN LED control to TL-WR1043ND
...
* thanks to KillaB
* closes #6834
SVN-Revision: 20415
2010-03-25 07:31:17 +00:00
Gabor Juhos
c72b656d8d
ar71xx: create smaller initramfs images for the TP-Link boards
...
SVN-Revision: 20414
2010-03-25 07:31:13 +00:00
Gabor Juhos
120b1d8699
ar71xx: use the RB411 setup for the RB411U
...
SVN-Revision: 20359
2010-03-21 18:16:24 +00:00
Gabor Juhos
9a1031ce6d
ar71xx: change PHY select logic, and update phy_masks
...
SVN-Revision: 20358
2010-03-21 18:16:07 +00:00
Gabor Juhos
18aa68d368
ar71xx: check returned value of ioremap in ar71xx_pcibios_setup
...
SVN-Revision: 20288
2010-03-18 19:19:19 +00:00
Gabor Juhos
73f7a1c224
ar71xx: optimize register access in ar71xx_pci.c
...
SVN-Revision: 20287
2010-03-18 19:19:16 +00:00
Gabor Juhos
1dedaf30a6
ar71xx: optimize register access in irq.c
...
SVN-Revision: 20286
2010-03-18 19:19:13 +00:00
Gabor Juhos
2438a03ce4
ar71xx: optimize register access in ar724x_pci.c
...
SVN-Revision: 20285
2010-03-18 19:19:10 +00:00
Gabor Juhos
d02975eb0d
ar71xx: introduce global ar724x_pci_ctrl_base variable
...
SVN-Revision: 20284
2010-03-18 19:19:07 +00:00
Gabor Juhos
b051a3b784
ar71xx: add error handling to ar724x_pcibios_init
...
SVN-Revision: 20283
2010-03-18 19:19:03 +00:00
Gabor Juhos
695e989c6f
ar71xx: move ar724x_pci_* helpers to ar724x-pci.c
...
SVN-Revision: 20282
2010-03-18 19:18:58 +00:00
Gabor Juhos
5f109ef2f3
ar71xx: move PCI intterupt handling code to pci-ar7{1xx,24x}.c
...
SVN-Revision: 20281
2010-03-18 19:18:54 +00:00
Gabor Juhos
4d32460353
ar71xx: use set_irq_chained_handler for the PCI IRQs
...
SVN-Revision: 20280
2010-03-18 19:18:50 +00:00
Gabor Juhos
1b8137eefc
ar71xx: merge AR71XX_IRQ_CPU_{PCI,WMAC} into AR71XX_IRQ_CPU_IP2
...
SVN-Revision: 20279
2010-03-18 19:18:46 +00:00
Gabor Juhos
58911deda5
ar71xx: remove unnecessary includes from setup.c
...
SVN-Revision: 20278
2010-03-18 19:18:41 +00:00
Gabor Juhos
ca49e09c9a
ar71xx: fix ar724x_pci_wr{,_nf} helpers
...
SVN-Revision: 20277
2010-03-18 19:18:36 +00:00
Gabor Juhos
d350e4cf40
ar71xx: fix semantics error in the __ar71xx_gpio_get_value function.
...
* Thanks to Pascal Dornier
SVN-Revision: 20247
2010-03-16 19:53:25 +00:00
Gabor Juhos
74556519e3
ar71xx: optimize GPIO code
...
SVN-Revision: 20242
2010-03-16 14:02:31 +00:00
Gabor Juhos
0095ab73f3
ar71xx: fix defconfig script to work with ImageBuilder
...
* patch from #5722
SVN-Revision: 20231
2010-03-15 13:29:16 +00:00
Gabor Juhos
5da6ae3ab5
ar71xx: create separated and smaller sysupgrade files for the DIR-615 and similar boards
...
SVN-Revision: 20230
2010-03-15 11:03:38 +00:00
Gabor Juhos
704320385f
ar71xx: build firmware image for the Fry's FR-54RTR board
...
SVN-Revision: 20229
2010-03-15 11:03:36 +00:00
Gabor Juhos
ed3aca86a6
ar71xx: don't break the existing network configuration in the wget2nand script
...
SVN-Revision: 20228
2010-03-15 11:03:33 +00:00
Gabor Juhos
0b6f786316
ar71xx: change DIR-600-A1 image generation template, will be usable for other boards
...
SVN-Revision: 20227
2010-03-15 11:03:31 +00:00
Felix Fietkau
0849a208ce
ar71xx: fix oprofile support
...
SVN-Revision: 20150
2010-03-11 18:48:57 +00:00
Felix Fietkau
2d305bdc23
the mips -ffreestanding patch has been unnecessary for a long time now, remove it
...
SVN-Revision: 20149
2010-03-11 18:48:50 +00:00
Alexandros C. Couloumbis
94db5a4acc
ar71xx: add 2.6.34 preliminary support (patches)
...
SVN-Revision: 20141
2010-03-11 12:25:50 +00:00
Alexandros C. Couloumbis
f086ba1d82
ar71xx: add 2.6.34 preliminary support
...
SVN-Revision: 20139
2010-03-11 11:57:21 +00:00
Nicolas Thill
e1863691d9
do *not* enable CONFIG_PCI in generic config, but on targets where it makes sense instead (partially revert [18370])
...
SVN-Revision: 20136
2010-03-11 09:50:11 +00:00
Gabor Juhos
ffdc6ec8ed
ar71xx: create smaller sysupgrade files for the TP-Link boards
...
SVN-Revision: 20121
2010-03-10 17:41:52 +00:00
Gabor Juhos
9daf566ddc
ar71xx: fix sysupgrade on the LS-SR71 board
...
SVN-Revision: 20119
2010-03-10 17:41:45 +00:00
Gabor Juhos
eaccbd3fb8
ar71xx: add default network configuration for the PB44 board
...
SVN-Revision: 20099
2010-03-09 18:05:58 +00:00
Gabor Juhos
18ee1b6dda
ar71xx: add uci-defaults for the RB750 board
...
SVN-Revision: 20097
2010-03-09 18:05:51 +00:00