Commit Graph

2956 Commits (9981bad37618ce81e1d4285de0f2994e79c53fa8)

Author SHA1 Message Date
Felix Fietkau 9981bad376 bcm96345: correct some 6345 specific stuff
This fixes some problems with the 6345 support and adds a macro for CPU
identification that is easier on the eyes. The first thing it does is to not
initialize MPI on the 6345 as it does not have PCI. The second thing it does is
to use a static value for the CPU frequency of the 6345 chip to provide an
accurate timer.

Signed-off-by: Axel Gembe <ago@bastart.eu.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11183 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-18 17:32:16 +00:00
Felix Fietkau c2d384520b bcm963xx: fix cfe detection
The CFE detection failed to account for zero termination.

Signed-off-by: Axel Gembe <ago@bastart.eu.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11182 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-18 17:32:05 +00:00
Felix Fietkau 27ff1d7e6c bcm963xx: add new timer code
This basically selects the new generic MIPS timer code for BCM963xx and
simplifies the timer setup code.

Signed-off-by: Axel Gembe <ago@bastart.eu.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11181 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-18 17:31:55 +00:00
Felix Fietkau b880126e1d bcm963xx: remove obsolete timer code
This removes some code that has been deprecated in kernels >= 2.6.24.

Signed-off-by: Axel Gembe <ago@bastart.eu.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11180 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-18 17:31:45 +00:00
Felix Fietkau 6de2c4ab35 bcm963xx: fix uart isr
The ISR ended up in an endless loop because the TX ISR never got used or masked.
This patch basically makes the TX ISR mask the the TX interrupt when it
encounters it, because it doesn't even use the TX interrupt.

Signed-off-by: Axel Gembe <ago@bastart.eu.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11179 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-18 17:31:35 +00:00
Felix Fietkau 05f2649f3a bcm963xx: rewrite irq handling code
This patch adds interrupt handling as on AR7. The old code was very messy and
didn't work too well. It also removes the unused file int-handler.S.

Signed-off-by: Axel Gembe <ago@bastart.eu.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11178 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-18 17:31:25 +00:00
Felix Fietkau c1e80b87ee bcm963xx: add missing trailing zero to load address
The load address for BCM963xx is 0x80010000, not 0xf8001000 as in the current
sources. I think this is just a typo, so this patch fixes it (tested on 96345).

Signed-off-by: Axel Gembe <ago@bastart.eu.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11177 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-18 17:31:11 +00:00
Felix Fietkau 711aa886ec bcm963xx: flashmap support
Signed-off-by: Axel Gembe <ago@bastart.eu.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11176 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-18 17:31:02 +00:00
Felix Fietkau fed20d18b3 bcm963xx: serial port support
Signed-off-by: Axel Gembe <ago@bastart.eu.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11175 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-18 17:30:49 +00:00
Felix Fietkau 51d0248390 bcm963xx: board support
Signed-off-by: Axel Gembe <ago@bastart.eu.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11174 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-18 17:30:39 +00:00
Felix Fietkau 4db8e5354d bcm963xx: add 2.6.25 configuration file
Signed-off-by: Axel Gembe <ago@bastart.eu.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-18 17:30:30 +00:00
Felix Fietkau a64306aa69 bcm963xx: use the 2.6.25.1 kernel
Signed-off-by: Axel Gembe <ago@bastart.eu.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-18 17:30:16 +00:00
Felix Fietkau 55b97a49ed bcm963xx: image generation using image tagger
This adds CFE tagged image generation in the BCM963xx target image Makefile.
It has to generate its own LZMA compressed kernel because CFE is a LZMA nazi.
It also seems that the Broadcom image tagger as well as CFE use AdvanceCOMP,
which is based on a slightly older LZMA SDK. Anyways, some of the code is
GPL, some of it is LGPL, so it might be that Broadcom owes some sources.
Also, LZMA has a bug which causes it to generate different output when you
are using stdin / stdout compared to plain files. I've just worked around
the issue by using plain files.

Signed-off-by: Axel Gembe <ago@bastart.eu.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11171 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-18 17:30:04 +00:00
Felix Fietkau 72192c48c5 bcm963xx: fix load address / kernel entry
Current kernels have the same kernel entry as load address, so just set them
like this. Also, the BCM963xx uses 0x80010000 as its load address, so use this
too.

Signed-off-by: Axel Gembe <ago@bastart.eu.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11169 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-18 17:29:39 +00:00
Rod Whitby 251abc41cd atheros/config-2.6.25: Removed MII override
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11161 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-17 11:29:45 +00:00
Peter Denison 3bf5361998 [generic-2.6] Remove files now present upstream in files-2.6.25
(This is mostly just drivers/ssb and include/linux/ssb)
[brcm47xx] Regenerate patches against 2.6.25.1 kernel+files set
    Default is still to build against 2.6.23.16

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11155 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-16 19:25:20 +00:00
John Crispin db2822f830 add proper led support to ifxmips
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11137 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-14 13:43:18 +00:00
Gabor Juhos 4d08f874cf [kernel] fix mini_fo bug on 2.6.25
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11135 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-13 17:17:18 +00:00
Rod Whitby 9adff5b8de config-2.6.25: Enable NETDEV_1000, so that the via-velocity gigabit ethernet driver for the DSMG600RevA can be selected.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11134 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-13 12:48:25 +00:00
John Crispin d8234879a1 fixes u-boot compile in clean tree
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11133 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-13 10:03:15 +00:00
Travis Kemen deee32043a revert to before ubnt images were made
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-13 04:20:47 +00:00
Matteo Croce a1f7c05bbf atheros: added marvell switch driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11129 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-13 00:10:45 +00:00
Gabor Juhos b1bb4991c9 [ar7] use the righ value in the DSP clock calculation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-12 11:56:21 +00:00
Gabor Juhos ffbd7e53b7 [ifxmips] remove svn:executable property from u-boot source files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11122 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-12 09:57:45 +00:00
Matteo Croce 78aa6df4e3 atheros: revert to kernel 2.6.23
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11114 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-11 20:01:01 +00:00
Matteo Croce 2c8465c3ba atheros: USB support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11113 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-11 19:43:00 +00:00
John Crispin 0e4b97e792 ifxmips is no longer b0rked
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11111 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-11 14:31:18 +00:00
John Crispin 6f1f290a3e fix up config for ifxmips uboot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11110 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-11 14:30:41 +00:00
John Crispin 024c1e849e fix errors in ifxmips .25 bump
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11109 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-11 14:14:33 +00:00
John Crispin 6725612c18 add u-boot sources for danube
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11108 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-11 14:13:15 +00:00
Nicolas Thill 7498219088 [x86] add missing config symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11105 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-10 23:14:57 +00:00
John Crispin f7c05075ff fixes timer issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-10 00:20:36 +00:00
Travis Kemen 2ca9334630 fix uboot not building
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11100 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-09 19:07:16 +00:00
Nicolas Thill 60ef52b3f1 enable proper PCI & USB support detection at config-time by disabling CONFIG_PCI & CONFIG_USB entries in generic/config and enabling them on targets where appropriate
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-09 17:08:51 +00:00
Travis Kemen f768022059 fix file names
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11083 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-08 20:01:45 +00:00
Travis Kemen da17321948 change image generation, no need for duplicate images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11082 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-08 19:37:06 +00:00
Travis Kemen 472f6033f7 fix filename for image generation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11077 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-08 16:46:33 +00:00
John Crispin 5ed5df3c45 bump ifxmips to 2.6.25.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11071 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-08 07:18:51 +00:00
Travis Kemen d62655369c This patch lets netconfig support the asus wl-500w. Signed-off-by: Ben Pfountz <netprince@vt.edu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11070 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-08 01:30:14 +00:00
Travis Kemen a91bb11f6a buld images for the Ubiquiti LiteStation and NanoStation ported from http://atheros.openwrt.net. Tested on a Nanostation 2 with airos 3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11061 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-07 23:47:17 +00:00
Felix Fietkau b25f25f063 remove the NETIF_F_HW_CSUM flag from the ar2313 ethernet driver as it seems to be causing problems for various devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-07 07:33:48 +00:00
Gabor Juhos e143ae42b6 [adm5120] Add leds support for the RB-150, thanks to Evangelos Arkalis
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-07 07:04:27 +00:00
Yuji Mano 1dc4c2e64b update default ps3 kernel config-2.6.25
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-05 22:09:16 +00:00
Gabor Juhos 484e99cd78 [atheros] override CPU features to save ~125KB of kernel memory
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11050 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-05 18:53:27 +00:00
Gabor Juhos 2d697dad7b [atheros] fix size calculation of the radio_config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11049 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-05 17:31:36 +00:00
John Crispin a7cc49940d update etrax usb support - thanks Hinko Kocevar
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11048 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-05 16:12:31 +00:00
Matteo Croce eeae3ce9e1 no unicode in C source, please
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11046 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-04 17:20:19 +00:00
Matteo Croce b671161b4a ar7: backport small fixes from linux-mips
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11045 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-04 17:05:26 +00:00
Matteo Croce 88da000053 set default atm-bridge payload to 'bridged' so we don't break old configs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11044 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-04 14:17:03 +00:00
John Crispin f6b06a18d0 bump x86 to 25.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-04 00:46:02 +00:00