Commit graph

6248 commits

Author SHA1 Message Date
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
Gabor Juhos
17564e7db8 generic: yet another missing config symbol for 2.6.37
SVN-Revision: 24208
2010-12-01 18:39:55 +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
Jo-Philipp Wich
2fe5c1d124 backport two changes from kernel.org: 65e9b62d4503849b10bedfc29bff0473760cc597 ipv6: add special mode accept_ra=2 to accept RA while configured as router
c3bccac2fa76f1619dfe4fb7b9bee69de7f066d8
ipv6: add special mode forwarding=2 to send RS while configured as router

SVN-Revision: 24195
2010-11-30 01:52:51 +00:00
Daniel Dickinson
9677b65cb6 image Makefile: Corrected router imagename length limiting. Thanks KanjiMonster for reminding me.
SVN-Revision: 24191
2010-11-28 22:13:00 +00:00
Daniel Dickinson
314bce63e6 bcm63xx: Add support for the T-Com Speedport W 500V.
Add support for the T-Com Speedport W 500V using a special tagged image as it
identifies itself as a 96348GW, but has some gpios wired differently, and also
has only one ethernet port without a switch attached to it.

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

SVN-Revision: 24190
2010-11-28 22:04:44 +00:00
Daniel Dickinson
3a49f669f2 bcm63xx: Add board id override fixup.
Add a fixup for the kernel to check the bcm tag of the image for a boardid in
the information1 field, and use that instead of the supplied one by cfe. This
is triggered by a + at the start of the information1 field.

Also modify the image generation to generate apropriately tagged images.

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

SVN-Revision: 24189
2010-11-28 22:04:40 +00:00
Daniel Dickinson
c51d772e62 bcm63xx: Finalize support for DSL-274xB, rev C2.
The DSL-2740B/DSL-2741B rev C2 support was missing the board definition,
resulting in a kernel panic on boot.
This patch adds it, and also renames the generated image name to properly
reflect that it is for the revision C2, and for both the DSL-2740B and
DSL-2741B.

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

SVN-Revision: 24188
2010-11-28 22:04:36 +00:00
Daniel Dickinson
8fa9b24a4c bcm63xx: Allow 'colored' power leds.
Since some devices have more than one power led, they might be separated by
their color in the name. To also allow them to be on after leaving preinit,
set any status led starting with 'power' to on instead of only those with
the exact name of 'power'.

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

SVN-Revision: 24187
2010-11-28 22:04:30 +00:00
Daniel Dickinson
fec30c8c80 bcm63xx: Don't hardcode the switch ethernet interface in preinit.
Currently eth1 is hardcoded as the expected interface switches in diagmode.
This patch replaces the eth1 with the ifname, and also directly tests if
the interface specified by ifname has a switch attached.

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

SVN-Revision: 24186
2010-11-28 22:04:26 +00:00
Daniel Dickinson
b1b318750a bcm63xx: Add defconfigs.
Port the mechanism for different default configurations from ar71xx and
use the old configuration as the default configuration. This should have
no functional differences to before.
While we are at it, remove the obsolete nat option.

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

SVN-Revision: 24185
2010-11-28 22:04:19 +00:00
Florian Fainelli
a133b09b07 refresh patches and remove trailing whitespaces
SVN-Revision: 24181
2010-11-28 18:14:34 +00:00
Florian Fainelli
27189b328e refresh and refine 972-cpmac_multi_probe.patch, patch from sn9
SVN-Revision: 24180
2010-11-28 18:03:56 +00:00
Florian Fainelli
629cc5b101 refresh 973-cpmac_handle_mvswitch.patch
SVN-Revision: 24179
2010-11-28 18:03:48 +00:00
Florian Fainelli
a2aa5a227e refresh and refine vlynq patch, patch from sn9
SVN-Revision: 24178
2010-11-28 18:03:42 +00:00
Hauke Mehrtens
af2349b4bc brcm47xx: remove support for old kernel versions
SVN-Revision: 24168
2010-11-28 14:08:04 +00:00
Hauke Mehrtens
6f58cc20fc brcm47xx: use kernel 2.6.36.1 as new default kernel for this target.
SVN-Revision: 24167
2010-11-28 14:05:31 +00:00
Hauke Mehrtens
34d53c2be1 kernel: add missing config symbols for 2.6.37-rc3
Thank you maddes for reporting. (closes #8323)

SVN-Revision: 24165
2010-11-28 11:14:25 +00:00
Hauke Mehrtens
fb27da9487 brcm47xx: reorder patches like they were commitet upstream
SVN-Revision: 24162
2010-11-27 22:47:11 +00:00
Felix Fietkau
b54002aa8e remove CONFIG_ADM6996_PHY=y for ar7 and atheros - this driver is incomplete and should not be used yet
SVN-Revision: 24161
2010-11-27 22:40:26 +00:00
Hauke Mehrtens
256f94dea4 kernel: add missing config option
SVN-Revision: 24157
2010-11-27 16:08:41 +00:00
Florian Fainelli
e8881e29b6 patch 972-cpmac_multi_probe.patch correctly, thanks sn9
SVN-Revision: 24142
2010-11-25 12:18:41 +00:00
Florian Fainelli
4b3ffba803 rename 973-cpmac_handle_mvswitch.c to 973-cpmac_handle_mvswitch.patch
SVN-Revision: 24141
2010-11-25 12:18:36 +00:00
Florian Fainelli
80785891e8 handle mvswitch in cpmac, rework MII probing logic, patch from sn9 and Wipster
SVN-Revision: 24140
2010-11-25 11:58:02 +00:00
Florian Fainelli
e7ecbdcaa8 handle new revisions of vlynq wrt reset sequence, patch from sn9
SVN-Revision: 24139
2010-11-25 11:57:57 +00:00
Florian Fainelli
6f825a0be3 increase flash window size to 32MiB, patch from sn9.
SVN-Revision: 24138
2010-11-25 11:57:52 +00:00
Imre Kaloz
ead8ab8403 update to the latest stable kernels
SVN-Revision: 24136
2010-11-24 18:50:11 +00:00
Daniel Dickinson
195d1d7446 image Makefile: Removed extraneous tab from Image/LimitName16 macro definition. The solves the strange whitespace in front of the image name in the info1 section
SVN-Revision: 24127
2010-11-24 11:06:13 +00:00
Gabor Juhos
21c8d63505 ramips: add support for Belkin F5D8235 v2 board
No support for usb for now.

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 24126
2010-11-24 10:01:23 +00:00
Gabor Juhos
90c0618011 generic: add rtl8366rb switch vlan fid support
Allows to use fids 0 to 7. Default is 0.
Those who will use this don't forget to `set vlan fid` every time
after `set vlan ports` if you want non default behavior.
Minor changes. Version bump.

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 24125
2010-11-24 10:01:21 +00:00
Gabor Juhos
64b16b9f34 ramips: Use NET_IP_ALIGN instead of hardcoding 2
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 24124
2010-11-24 10:01:18 +00:00
Gabor Juhos
624cfc5c91 ramips: DMA map the correct RX skb size
The skb_reserve call prior to DMA mapping the RX skb reduced the skb
data len by 2. To not allow DMA to write behind the skb we should pass
the correct skb data len to the device.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 24123
2010-11-24 10:01:16 +00:00
Gabor Juhos
f833e399f2 ramips: Don't trigger BUG_ON due to skb allocation failure
Instead just drop the rx'ed frame silently and reuse the already
available buffer.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 24122
2010-11-24 10:01:12 +00:00
Gabor Juhos
c6e4124855 ramips: Remove unnecessary skb_put
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 24121
2010-11-24 10:01:08 +00:00
Daniel Dickinson
0c0c1f017f image: Limited image name put into the info1 field to 16 characters and eliminted the OpenWRT revision. This makes using the image (router) name as the board name possible, so that boards with same real boardid but different GPIOs can be detected and the correct GPIOs used.
SVN-Revision: 24118
2010-11-23 20:17:08 +00:00
Alexandros C. Couloumbis
8f94a9a224 linux/brcm47xx: sync yhe BCM4710 fix with the upcoming upstream patch.
SVN-Revision: 24116
2010-11-23 16:41:34 +00:00
Alexandros C. Couloumbis
6a3cc2583b linux/generic: add 2.6.37 support for the Cisco 7941/7945 IP phones: http://lkml.org/lkml/2010/11/21/219 (thank you Kevin Cernekee)
SVN-Revision: 24114
2010-11-23 14:36:15 +00:00
Alexandros C. Couloumbis
16dd69760f linux/brcm47xx: add missing patch on r24112
SVN-Revision: 24113
2010-11-23 14:12:42 +00:00
Alexandros C. Couloumbis
40b5fad48d linux/brcm47xx: Broadcom BCM4710 does not belong in the BMIPS4KC family.
SVN-Revision: 24112
2010-11-23 14:08:41 +00:00
Alexandros C. Couloumbis
60cbd62791 linux/generic: refresh 2.6.37 patches
SVN-Revision: 24111
2010-11-23 14:04:42 +00:00
Hamish Guthrie
4cee84f7d0 Fix ext4 build
SVN-Revision: 24110
2010-11-23 12:07:50 +00:00
Hamish Guthrie
2ebd82b518 Bump kernel version
SVN-Revision: 24109
2010-11-23 11:59:03 +00:00
Hamish Guthrie
73e38425a2 Remove NAND support
SVN-Revision: 24108
2010-11-23 10:16:37 +00:00
Alexandros C. Couloumbis
26df9231fa linux/brcm47xx: properly fix r24096
SVN-Revision: 24102
2010-11-22 18:16:55 +00:00
Alexandros C. Couloumbis
aab31771f8 linux/brcm47xx: mainline 2.6.37 602977b0d672687909b0cb0542ede134ed6ef858 commit broke CPU revision: 00024000, MIPS (cc 0x805, rev 0x00, vendor 0x4243) functionality. Revert that patch until we get a proper fix.
SVN-Revision: 24096
2010-11-22 17:17:15 +00:00
Alexandros C. Couloumbis
47d7ed3d09 target/linux: sync kernel patches to 2.6.37-rc3
SVN-Revision: 24095
2010-11-22 16:29:27 +00:00
Imre Kaloz
5ea6194ab0 remove 2.6.25 support
SVN-Revision: 24089
2010-11-22 13:43:32 +00:00
Imre Kaloz
d6ea3e24d4 remove 2.6.25 support
SVN-Revision: 24088
2010-11-22 13:31:46 +00:00
Imre Kaloz
d066a4c712 2.6.31 support (WiP)
SVN-Revision: 24087
2010-11-22 13:29:58 +00:00
Imre Kaloz
809943774d move x86 back to .32 for now
SVN-Revision: 24085
2010-11-22 12:58:31 +00:00
Imre Kaloz
4052849677 switch from ext2 to ext4 (w/o) journaling
SVN-Revision: 24084
2010-11-22 12:12:39 +00:00
Imre Kaloz
67d797821c use ext4 for ext2/3 on 2.6.32+
SVN-Revision: 24083
2010-11-22 12:11:50 +00:00
Imre Kaloz
06e91a553e add 2.6.32 patches to use ext4 for ext2/3
SVN-Revision: 24082
2010-11-22 12:03:23 +00:00
Imre Kaloz
cca7066e73 additional Kconfig options for newer kernels
SVN-Revision: 24081
2010-11-22 11:34:45 +00:00
Imre Kaloz
5406906be1 we don't need microcode updates
SVN-Revision: 24080
2010-11-22 11:33:25 +00:00
Imre Kaloz
7a8be69ce6 add missing Kconfig symbols
SVN-Revision: 24077
2010-11-22 11:03:29 +00:00
Felix Fietkau
9bfd20a160 x86: add missing l1 cache shift change
SVN-Revision: 24072
2010-11-21 23:27:25 +00:00
Felix Fietkau
1a9b885c74 x86: turn off CONFIG_X86_GENERIC for geos and net5501
CONFIG_X86_GENERIC obscures CONFIG_MGEODE_LX, etc. and causes it to use wrong cache-line size.

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

SVN-Revision: 24071
2010-11-21 22:56:33 +00:00
Daniel Dickinson
049e59a27b Initial support for Telsey CPVA642 boards (no vlans, no DSL, GPIO led/buttons not known).
SVN-Revision: 24040
2010-11-19 13:41:54 +00:00
Imre Kaloz
de509c49d7 upgrade u-boot to v2010.12-rc1
SVN-Revision: 24039
2010-11-19 11:44:25 +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
Felix Fietkau
ba5296268c x86: refresh config, enable pci express support
SVN-Revision: 24026
2010-11-17 22:41:17 +00:00
Alexandros C. Couloumbis
79a2f2debc target/linux: revert r24014 (further testing is needed)
SVN-Revision: 24015
2010-11-16 14:07:40 +00:00
Alexandros C. Couloumbis
4cf92fbdf7 linux/generic: add kernel mppc/mppe for 2.6.37. http://yablochkin.net.ru/mppc/ (not enabled by default)
SVN-Revision: 24014
2010-11-16 13:42:21 +00:00
Alexandros C. Couloumbis
5d3e4e0bd3 linux/generic: fix a dynamic ingress_queue allocation on 2.6.37. http://patchwork.ozlabs.org/patch/71237/ (thank you KanjiMonster)
SVN-Revision: 24013
2010-11-16 13:28:24 +00:00
Alexandros C. Couloumbis
7ccc3d9695 linux/generic: switch to userspace __aligned_u64 calls. http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff_plain;h=79b5dc0c64d88cda3da23b2e22a5cec0964372ac (thank you hauke)
SVN-Revision: 24012
2010-11-16 08:00:07 +00:00
Daniel Dickinson
eadb5c84fa imagetag: Significantly updated brcm63xx imagetag writing tool. * Rewrote commandline parsing code using gengetopt - We now get long options - We have more options including use of the info section for board information (e.g. to add the same boardid but different GPIOs on different routers) * Added back the ability to write stock images (this is useful, for example, when copying the firmware from the in-memory flash, and then being able to create an image that will let you revert to/test stock firmware * Fixed copying of CRCs to use memcpy instead of strncpy (strncpy stops at 0) * Added ability to use all sections of the imagetag, including custom magic signatures (e.g. for the Telsey router I'm adding soon), info sections, and reserved sections * Added putting the router type (as defined in the image generating Makefile) into the info1 section and the filesystem type in the info2 section. This will be used by mtd (when I add the code) to return the name of image used to flash this router. (As requested by Jo, as well as being useful for same boardid different board scenario described above).
SVN-Revision: 24011
2010-11-16 06:46:53 +00:00
Florian Fainelli
0733900356 fix r6040 multicast operations (#7848)
SVN-Revision: 24006
2010-11-15 14:24:50 +00:00
Florian Fainelli
68bf194ee6 refresh 2.6.32 patches
SVN-Revision: 24005
2010-11-15 14:24:43 +00:00
Alexandros C. Couloumbis
3c027c784e linux/generic: update to layer7-2.22 for kernels >=2.6.36
SVN-Revision: 24004
2010-11-15 12:24:48 +00:00
Alexandros C. Couloumbis
2a785745e9 target/linux: add some 2.6.37 missing symbols. (thank you maddes)
SVN-Revision: 24002
2010-11-15 09:04:23 +00:00
Alexandros C. Couloumbis
6bc36a80dd linux/generic: add a missing symbol. (thank you kaloz)
SVN-Revision: 24001
2010-11-15 08:57:26 +00:00
Hauke Mehrtens
1c290dcbf7 kernel: fix l2tp kernel packages
l2tp-ip and l2tp-eth should depend on l2tp_netlink
fix pppol2tp for kernel >= 2.6.35

SVN-Revision: 23993
2010-11-14 20:51:30 +00:00
Alexandros C. Couloumbis
448a459ed9 linux/generic: backport device tree support to MIPS from 2.6.37 to 2.6.36
SVN-Revision: 23991
2010-11-14 11:43:22 +00:00
Gabor Juhos
1fa8af5e9f generic: update gpio_buttons driver
SVN-Revision: 23984
2010-11-12 18:53:01 +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
f1924d7147 linux/adm5120: add preliminary 2.6.37 kernel support
SVN-Revision: 23973
2010-11-12 17:06:16 +00:00
Alexandros C. Couloumbis
79a27bd7b2 linux/generic: add imq patches for linux kernels 2.6.35,36,37. (closes #8211)
SVN-Revision: 23970
2010-11-12 09:28:00 +00:00
Alexandros C. Couloumbis
51fa01f42c linux/ixp4xx: remove some garbage from 601_arm_2.6.37_update.patch
SVN-Revision: 23965
2010-11-11 18:45:28 +00:00
Alexandros C. Couloumbis
631ff80daa linux/ixp4xx: add preliminary 2.6.37 kernel support
SVN-Revision: 23964
2010-11-11 18:42:38 +00:00
Alexandros C. Couloumbis
6a9ea41bc6 linux/generic: add some missing 2.6.37 USB symbols
SVN-Revision: 23963
2010-11-11 16:36:05 +00:00
Alexandros C. Couloumbis
9734d09de1 linux/generic: cosmetic
SVN-Revision: 23958
2010-11-11 15:09:04 +00:00
Alexandros C. Couloumbis
caaa492551 linux/generic: fix a mistake in 2.6.37/089-mtd-samsung-flash.patch. (thank you maddes)
SVN-Revision: 23957
2010-11-11 14:57:58 +00:00
Alexandros C. Couloumbis
7fb5461594 linux/generic: update mini_fo for kernels >=2.6.36
SVN-Revision: 23956
2010-11-11 13:48:48 +00:00
Alexandros C. Couloumbis
18dd104885 linux/brcm47xx: include a missing 2.6.37 file (thank you hauke)
SVN-Revision: 23955
2010-11-11 08:49:52 +00:00
Hauke Mehrtens
507986e6f6 kernel: disable some config symbols for kernel 2.6.37
SVN-Revision: 23951
2010-11-10 20:42:46 +00:00
Hauke Mehrtens
ce547cf748 brcm47xx: missing in r23949
SVN-Revision: 23950
2010-11-10 19:12:49 +00:00
Hauke Mehrtens
1652eb7863 brcm47xx: CONFIG_HAMRADIO=n makes no sense
SVN-Revision: 23949
2010-11-10 19:11:24 +00:00
Alexandros C. Couloumbis
f950840ec9 linux/brcm47xx: add preliminary 2.6.37 kernel support
SVN-Revision: 23945
2010-11-10 19:01:07 +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
Imre Kaloz
cec876fe24 use CMDLINE_FORCE
SVN-Revision: 23942
2010-11-10 13:13:03 +00:00