Commit graph

5153 commits

Author SHA1 Message Date
Gabor Juhos
2231b9d761 ppc40x: fix MagicBox partition table
SVN-Revision: 20951
2010-04-17 09:29:26 +00:00
Felix Fietkau
54e9e802c4 gemini: add support for wiligear wbd-222 (patch by Darius Augulis)
SVN-Revision: 20949
2010-04-16 21:03:36 +00:00
Felix Fietkau
b0cf1f5baa gemini: either scatter/gather dma or hw checksum breaks ethernet, comment out the define that enables both
SVN-Revision: 20940
2010-04-16 20:23:35 +00:00
Gabor Juhos
f7cc3d576c swconfig: Add cpu port index to help output.
Let swconfig provide the cpu port index in its help page. This is
needed as e.g. Atheros switches have their cpu port at port 0, not
port 5.

This could allow e.g. luci to get a rough overview of the layout of
the switch.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 20939
2010-04-16 19:32:40 +00:00
Gabor Juhos
7b127c754b atheros: nuke clocksoure init patch
SVN-Revision: 20937
2010-04-16 19:32:27 +00:00
Gabor Juhos
d0646a08aa ppc40x: enable USB support
Cc: backfire@openwrt.org

SVN-Revision: 20933
2010-04-16 18:40:12 +00:00
Gabor Juhos
3669209288 ppc40x: add isp116x-hcd to the device tree for the OpenRB board
Cc: backfire@openwrt.org

SVN-Revision: 20932
2010-04-16 18:40:10 +00:00
Gabor Juhos
b448703ea8 ppc40x: make isp116x-hcd driver usable on the OpenRB board
Cc: backfire@openwrt.org

SVN-Revision: 20931
2010-04-16 18:40:06 +00:00
Gabor Juhos
e0ba83e32e ppc40x: add more EBC_BXCR defines
Cc: backfire@openwrt.org

SVN-Revision: 20930
2010-04-16 18:40:02 +00:00
Gabor Juhos
15d344df50 ppc40x: move perwe fixup into a separate function
Cc: backfire@openwrt.org

SVN-Revision: 20929
2010-04-16 18:39:52 +00:00
Alexandros C. Couloumbis
e712ef386e brcm47xx: fix ide drive assignment (closes #7061)
SVN-Revision: 20924
2010-04-16 15:05:32 +00:00
Jo-Philipp Wich
7e29eac780 - enable PCI - add kmod-pcnet32 to default packages - make kmod-pcnet32 available for malta target
SVN-Revision: 20923
2010-04-16 11:34:21 +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
Alexandros C. Couloumbis
598e0656c5 brcm47xx: add preliminary 2.6.34 support
SVN-Revision: 20888
2010-04-15 20:50:50 +00:00
Alexandros C. Couloumbis
af45b63a85 2.6.34: fix kzalloc error
SVN-Revision: 20881
2010-04-15 16:46:24 +00:00
Nicolas Thill
34474b8840 target/adm5120: fix image building after r20834
SVN-Revision: 20855
2010-04-14 21:13:59 +00:00
Nicolas Thill
841eff56d4 target/ixp4xx: fix image building after r20834 (closes: #7157)
SVN-Revision: 20854
2010-04-14 14:36:41 +00:00
Daniel Dickinson
fe5d55977e tools/firmware-utils/imagetag: Fixed Pirelli Alice Gate CRC calculation in imagetag (was invalid strings in bcm_tag.h). Closes #7120
SVN-Revision: 20850
2010-04-14 00:45:48 +00:00
Jo-Philipp Wich
6fd5014c56 add Buffalo WHR-G125 specifc switch quirks to netconfig, shorten code by merging identical fixes
SVN-Revision: 20846
2010-04-13 22:34:13 +00:00
Alexandros C. Couloumbis
b5cfd7bde5 add lzma/jffs2 patches for 2.6.34
SVN-Revision: 20845
2010-04-13 21:45:03 +00:00
Alexandros C. Couloumbis
668fd62080 don't use lzma/jffs2 on <2.6.33, set lzma/jffs2 as default for >=2.6.33. switch verbose mode on compresor statistics.
SVN-Revision: 20844
2010-04-13 21:36:58 +00:00
Lars-Peter Clausen
e438c665db vp6500: Add backlight device
SVN-Revision: 20843
2010-04-13 20:52:41 +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
Nicolas Thill
0946764732 remove 'svn:executable' property
SVN-Revision: 20831
2010-04-12 17:08:57 +00:00
Alexandros C. Couloumbis
c2c88d315f add jffs2/lzma support (not activated by default yet)
SVN-Revision: 20828
2010-04-12 13:14:42 +00:00
Florian Fainelli
06cece53ef fix module loading due to CONFIG_LOCALVERSION being on (#7144)
SVN-Revision: 20822
2010-04-12 12:33:41 +00:00
Gabor Juhos
185965e128 ppc40x: add sysupgrade support
Cc: backfire@openwrt.org

SVN-Revision: 20821
2010-04-12 12:21:18 +00:00
Gabor Juhos
bc4cd8c850 ppc40x: increase kernel partition size on OpenRB/Magicbox
Cc: backfire@openwrt.org

SVN-Revision: 20820
2010-04-12 12:21:15 +00:00
Gabor Juhos
bd0c2617f1 ppc40x: sync kernel config
Cc: backfire@openwrt.org

SVN-Revision: 20819
2010-04-12 12:21:12 +00:00
Alexandros C. Couloumbis
efaf0367f2 mpc83xx: add 2.6.33 support
SVN-Revision: 20818
2010-04-12 10:47:00 +00:00
Lars-Peter Clausen
985ce5e3fa vp6500: Add leds and keypad devices.
SVN-Revision: 20817
2010-04-12 00:11:18 +00:00
Lars-Peter Clausen
d3f097bfde Add missing symbols to 2.6.34 config
SVN-Revision: 20816
2010-04-11 22:30:27 +00:00
Lars-Peter Clausen
e95a1d7228 Use lzma kernel compression.
SVN-Revision: 20815
2010-04-11 22:12:10 +00:00
Florian Fainelli
fba1a0a074 swconfig: Check vlan/port indexes for validity.
Swconfig needs to make sure that requested vlans/ports actually exist,
else it might read or modify memory not belonging to itself.

This patch adds a quick range check in swconfig's kernel part to
prevent accidential or intentional memory modification.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 20811
2010-04-11 20:51:37 +00:00
Florian Fainelli
2a018eb380 refresh 2.6.33 patches for 2.6.33.2
SVN-Revision: 20803
2010-04-11 18:15:15 +00:00
Gabor Juhos
de18353622 ramips: nuke clocksource init patch
SVN-Revision: 20802
2010-04-11 17:47:30 +00:00
Gabor Juhos
b4bb5ebfaa ramips: generate sysupgrade images for the rt305x devices
SVN-Revision: 20801
2010-04-11 17:47:28 +00:00
Gabor Juhos
7581054e93 ramips: add sysupgrade support
SVN-Revision: 20800
2010-04-11 17:47:25 +00:00
Gabor Juhos
09aec474af ramips: add diag support
SVN-Revision: 20799
2010-04-11 17:47:23 +00:00
Gabor Juhos
2872bade69 ramips: enable image commandline hack and cmdline partition parsing
SVN-Revision: 20798
2010-04-11 17:47:20 +00:00
Gabor Juhos
af05b16c98 ramips: add default profiles
SVN-Revision: 20797
2010-04-11 17:47:17 +00:00
Lars-Peter Clausen
d1031cd861 time.c: Timer enable registers are only 8bit width.
SVN-Revision: 20796
2010-04-11 16:24:06 +00:00
Florian Fainelli
15e8d2e0b7 add net5501 support
This patch brings up the net5501 platform.

Note that the x86/ target included support for all x86/ class
processors.  That's not technically correct.  This should be constrained
only to the "generic" subtarget.  Every x86-class target that isn't
generic should be able to select only the optimizations/capabilities
applicable to that architectural variant.

It's also assumed that all x86 processors have keyboard & mouse ports,
ISA, DMI, ACPI... the embedded ones typically don't.  Again, moving
that to the generic subtarget.

Fortunately, this was a fairly benign tweak.

The net5501 board includes the following logic:

Geode/LX processor
CS5535 super-I/O chip
PC87360 sensor chip
Via Rhine Ethernet controllers
Via Sata controllers
USB, LEDS, I2C

Signed-off-by: Philip Prindeville <philipp_subx@redfish-solutions.com>

SVN-Revision: 20794
2010-04-11 12:36:55 +00:00
Alexandros C. Couloumbis
62b96185c3 ixp4xx: add Titan Wireless TW-266-2 support (thanks juhosg & florian)
SVN-Revision: 20793
2010-04-11 09:03:10 +00:00
Alexandros C. Couloumbis
3c48fb6ff9 ixp4xx: add 2.6.33 support
SVN-Revision: 20792
2010-04-11 09:01:36 +00:00
Florian Fainelli
f4d71f5e81 create two endian-specific subtargets, as malta can run both
SVN-Revision: 20790
2010-04-10 21:02:51 +00:00
John Crispin
b4d0b6cbb3 adss 2.6.33 kernel patches, not defult yet as linux-atm breaks on 2.6.33
SVN-Revision: 20789
2010-04-10 20:11:28 +00:00
Florian Fainelli
6d12bc20ce remove 2.6.32 files, out of sync and going to be replaced differently
SVN-Revision: 20787
2010-04-10 18:44:44 +00:00
Lars-Peter Clausen
1d8823ae61 Add mx2 target with very basic support for the vp6500 voip phone
SVN-Revision: 20786
2010-04-10 18:37:34 +00:00
Felix Fietkau
1633dd6b6c ar71xx: add a profile for PB92
SVN-Revision: 20778
2010-04-10 16:50:20 +00:00
Jo-Philipp Wich
8f25fb6086 add script to fixup the wireless mac (#7102)
SVN-Revision: 20775
2010-04-10 14:29:01 +00:00
Gabor Juhos
3491026cbb Generic: Clean up output of AR8216 driver.
This patch is rather a cosmetic patch. It fixes the following issues:

 * Demote the unknown device message to debug level to not spam
   the log.
 * Fix the version print of the unknown device message.
 * Output the 'attach' message only when attaching as switch driver,
   not when attaching as phy driver.
 * Correctly return NET_RX_DROP when dropping packets.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
Cc: bacfire@openwrt.org

SVN-Revision: 20773
2010-04-10 11:34:11 +00:00
Florian Fainelli
222390bafc refresh patches
SVN-Revision: 20767
2010-04-09 19:26:57 +00:00
Florian Fainelli
b87e590b24 do not overwrite ENET_CTL_REG, fixes ethernet on bcm6338
SVN-Revision: 20765
2010-04-09 18:43:36 +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
Alexandros C. Couloumbis
33bcbab6a4 x86: generic: fix soekris support (closes #7081)
SVN-Revision: 20757
2010-04-09 11:31:19 +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
72d4353728 generic: make chip detection more reliable in the AR8216 driver
Fixes broken ethernet on the Planex MZK-W04NU/W300NH boards.

Cc: bacfire@openwrt.org

SVN-Revision: 20753
2010-04-09 08:40:12 +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
Florian Fainelli
722e75f066 fix kexec for mips, patch from Adrian Byszuk (#7115)
SVN-Revision: 20745
2010-04-08 07:53:14 +00:00
Jo-Philipp Wich
44810702d2 fix failsafe ip deconfig on AR23xx devices without ADM or Marvell switch
SVN-Revision: 20733
2010-04-06 22:46:15 +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
Jo-Philipp Wich
22e3bd0d8b add kernel support for iptables comment match
SVN-Revision: 20720
2010-04-05 22:38:40 +00:00
Nicolas Thill
83bf10cb3f target/rdc: revert [20653], the proper fix for #7005 is in [20712]
SVN-Revision: 20714
2010-04-05 02:38:59 +00:00
Felix Fietkau
ddb677e13d ixp4xx: add back the patch for avoiding dma bounce buffers for network buffers, which was lost on the kernel upgrade to 2.6.32. fixes ath9k and improves other drivers' performance on boards with >64M ram
SVN-Revision: 20708
2010-04-04 17:43:13 +00:00
Nicolas Thill
1fc7da0306 sysupgrade: fix typo in platform_do_upgrade() on x86 (closes: #7068), thanks to acinonyx
SVN-Revision: 20703
2010-04-04 15:47:26 +00:00
Lars-Peter Clausen
f8275576d9 jzcodec: Only support 16bit formats for now
SVN-Revision: 20701
2010-04-04 15:39:15 +00:00
Mirko Vogt
e60b9b9b35 do not disable netfilter support for xburst target (some packages require netfilter support)
SVN-Revision: 20698
2010-04-04 13:01:50 +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
Florian Fainelli
e3a9d80e8f do not set CONFIG_NET_DEV_OPS (#7005)
SVN-Revision: 20653
2010-04-02 10:34:40 +00:00
Florian Fainelli
2a4fb82289 flashmap and image generation: reduced union bcm_tag to a single struct combining the elements so that it is no longer necessary to create an openwrt-only tagid and tagcrc, and elimate the tagid detection and switch statements which made dealing with imagetags overly complicated, especially since the logic would need analogs in all code that touched the imagetag. Patch from cshore.
SVN-Revision: 20652
2010-04-01 21:20:43 +00:00
Hauke Mehrtens
bbe4a57177 brcm-2.4: fix commit r18413 "128MB ram problem"
This was missing in commit r20072

SVN-Revision: 20651
2010-04-01 17:27:59 +00:00
Imre Kaloz
d3b9b93dd3 add a subtarget and drivers for the Intel Tolapai SoC
SVN-Revision: 20648
2010-04-01 12:05:27 +00:00
John Crispin
bfc37a1a19 improve extract code
SVN-Revision: 20641
2010-03-31 21:12:02 +00:00
Gabor Juhos
0abc7e6d53 ramips: add wpad-mini to the default packages
SVN-Revision: 20632
2010-03-31 09:58:33 +00:00
Gabor Juhos
a423c3abee ramips: annotate device register function prototypes with __init
SVN-Revision: 20627
2010-03-31 08:40:28 +00:00
Gabor Juhos
a9f313edea ramips: register wifi device for the RT2880 based boards
SVN-Revision: 20625
2010-03-31 08:40:23 +00:00
Gabor Juhos
9f3d673dbc ramips: add wifi device for the RT2880 as well
SVN-Revision: 20624
2010-03-31 08:40:20 +00:00
Gabor Juhos
1c25cfcde0 ramips: register wifi device on the rt305x based boards
SVN-Revision: 20616
2010-03-30 21:24:10 +00:00
Gabor Juhos
ce2ac05602 ramips: sync kernel config
SVN-Revision: 20614
2010-03-30 21:24:05 +00:00
John Crispin
60ca90e08b prepare kernel for voip
SVN-Revision: 20613
2010-03-30 21:06:27 +00:00
John Crispin
6f4052abe0 The ralink rt305x board has a wireless card that can be used with the rt2800pci driver (it does not work yet but basically should). Hence, register the appropriate platform device to allow developing/testing the rt2800pci driver. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 20599
2010-03-30 12:04:05 +00:00
John Crispin
3ad14f304e Fix the base address of the wireless card. Otherwise it is not possible to register a platform wireless device as it overlaps with something else. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 20596
2010-03-30 10:06:05 +00:00
Florian Fainelli
dc4712f887 fix ndisc compilation failure (#6984)
SVN-Revision: 20591
2010-03-29 21:20:36 +00:00
Felix Fietkau
5f89a1f096 netfilter: fix ABI breakage caused by the netfilter match optimization (fixes #5628)
SVN-Revision: 20552
2010-03-28 19:05:59 +00:00
Felix Fietkau
e4a6acf9b8 enable IP175A support in the IP175C PHY driver (based on patch from jh in #6733)
SVN-Revision: 20551
2010-03-28 18:57:42 +00:00
Florian Fainelli
dad85cddac move bcm_tag.h out of the flashmap patch so that user-land tools can re-use it
SVN-Revision: 20548
2010-03-28 18:11:06 +00:00
Florian Fainelli
e1a4f69cb5 sysupgrade: Get target device from kernel cmdline, patch from acinonyx
SVN-Revision: 20538
2010-03-28 11:55:07 +00:00
Nicolas Thill
d14e0a0b93 ifxmips: remove old config files
SVN-Revision: 20534
2010-03-28 03:45:44 +00:00
Nicolas Thill
39ee357098 ps3: move ps3lan kmod under target/linux/ps3
SVN-Revision: 20533
2010-03-28 03:29:22 +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
Jo-Philipp Wich
0cdaaa90fe Add OLPC kernel config (patch by Acinonyx)
SVN-Revision: 20517
2010-03-27 15:31:19 +00:00