Commit graph

849 commits

Author SHA1 Message Date
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
Gabor Juhos
b21308313e ar71xx: override lan port names on the RB750
SVN-Revision: 20096
2010-03-09 18:05:48 +00:00
Gabor Juhos
45ff7289fe ar71xx: allow overriding of the lan port names on AP91 based boards
SVN-Revision: 20095
2010-03-09 18:05:45 +00:00
Gabor Juhos
781c482e6a ar71xx: improve wget2nand script
SVN-Revision: 20094
2010-03-09 18:05:42 +00:00
Gabor Juhos
9003a98d83 ar71xx: fix a typo in the ar7240 dsa driver
SVN-Revision: 20093
2010-03-09 18:05:39 +00:00
Gabor Juhos
2a818f388a ar71xx: ag71xx: fix MAC address setup
SVN-Revision: 20092
2010-03-09 18:05:36 +00:00
Gabor Juhos
4d5a9fe402 ar71xx: add missing protocol definitions to default network configurations
SVN-Revision: 20091
2010-03-09 18:05:31 +00:00
Gabor Juhos
342ab781f5 ar71xx: simplify WP543 image generation, and fix rootfs offset
SVN-Revision: 20063
2010-03-08 15:32:48 +00:00
Gabor Juhos
3c829c412c ar71xx: sync .33 config
SVN-Revision: 20060
2010-03-08 14:38:46 +00:00
Gabor Juhos
8eac86e535 ar71xx: enable AR7240 DSA driver on 2.6.33 as well
SVN-Revision: 20059
2010-03-08 14:38:43 +00:00
Gabor Juhos
d48992b62b ar71xx: refresh patches
SVN-Revision: 20055
2010-03-08 13:00:23 +00:00
Gabor Juhos
d58a367083 ar71xx: add NAND driver for the RB750
SVN-Revision: 20054
2010-03-08 12:10:23 +00:00
Gabor Juhos
6c1be20c2a ar71xx: add ar71xx_gpio_function_setup
SVN-Revision: 20053
2010-03-08 12:10:14 +00:00
Gabor Juhos
6600fab893 ar71xx: add LED driver for the RB750
SVN-Revision: 20051
2010-03-08 12:10:01 +00:00
Gabor Juhos
a1a9727fbf ar71xx: add latch handling code for the RB750
SVN-Revision: 20050
2010-03-08 12:09:49 +00:00
Gabor Juhos
74f9af4c10 ar71xx: increase kernel partition size for the WP543 boards
SVN-Revision: 20049
2010-03-08 12:09:38 +00:00
Gabor Juhos
5e8c8818ed ar71xx: add preliminary support for the RouterBOARD 750
SVN-Revision: 20029
2010-03-07 05:41:01 +00:00
Gabor Juhos
11af372116 ar71xx: make the rb4xx nand driver depends on AR71XX_MACH_RB4XX
SVN-Revision: 20028
2010-03-07 05:40:58 +00:00
Gabor Juhos
10ad4ea96c ar71xx: rename mach-rb-4xx.c to mach-rb4xx.c, and change Kconfig symbol
SVN-Revision: 20027
2010-03-07 05:40:56 +00:00
Gabor Juhos
97c35a7dde ar71xx: don't init PCI irqs on the AR7240 if the PCIe subsystem are in reset
SVN-Revision: 20007
2010-03-05 20:29:29 +00:00