Commit graph

6238 commits

Author SHA1 Message Date
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
Imre Kaloz
a64a42cbaa upgrade to 2.6.36
SVN-Revision: 23941
2010-11-10 13:12:25 +00:00
Imre Kaloz
e4a1b7d2c3 add a patch to fixup pcie reset on kirkwood - also fixes the boot issue on the wrt350n v2
SVN-Revision: 23939
2010-11-10 12:26:18 +00:00
Florian Fainelli
0acb5636b2 update to 2.6.36
SVN-Revision: 23935
2010-11-09 08:42:28 +00:00
Florian Fainelli
396969e7f9 add missing 2.6.36 symbol CONFIG_CHELSIO_T4VF
SVN-Revision: 23934
2010-11-09 08:42:21 +00:00
Alexandros C. Couloumbis
297b9756bc linux/generic: add some missing patches, refresh patches
SVN-Revision: 23931
2010-11-08 18:28:07 +00:00
Alexandros C. Couloumbis
75cf9a4cd3 linux/generic: fix creation of rootfs_data
SVN-Revision: 23930
2010-11-08 14:45:24 +00:00
Imre Kaloz
362ef97928 kernel targets uImage by default
SVN-Revision: 23929
2010-11-08 11:57:56 +00:00
Alexandros C. Couloumbis
8e971aa9ce linux/atheros: add preliminary 2.6.37 kernel support (thank you nbd, florian)
SVN-Revision: 23928
2010-11-08 11:12:59 +00:00
Alexandros C. Couloumbis
a0992676b4 linux/generic: sync 2.6.37 patches
SVN-Revision: 23927
2010-11-08 11:08:08 +00:00
Imre Kaloz
2f2442f323 x86 kernels target bzImage by default
SVN-Revision: 23926
2010-11-08 09:44:33 +00:00