Commit Graph

8350 Commits

Author SHA1 Message Date
Felix Fietkau
12da51bb3c 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>

SVN-Revision: 11183
2008-05-18 17:32:16 +00:00
Felix Fietkau
ab2b78aabd bcm963xx: fix cfe detection
The CFE detection failed to account for zero termination.

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

SVN-Revision: 11182
2008-05-18 17:32:05 +00:00
Felix Fietkau
be49888f6c 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>

SVN-Revision: 11181
2008-05-18 17:31:55 +00:00
Felix Fietkau
f92e4aaf53 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>

SVN-Revision: 11180
2008-05-18 17:31:45 +00:00
Felix Fietkau
4db60563fc 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>

SVN-Revision: 11179
2008-05-18 17:31:35 +00:00
Felix Fietkau
ca851edf10 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>

SVN-Revision: 11178
2008-05-18 17:31:25 +00:00
Felix Fietkau
289c41604f 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>

SVN-Revision: 11177
2008-05-18 17:31:11 +00:00
Felix Fietkau
17d20bb016 bcm963xx: flashmap support
Signed-off-by: Axel Gembe <ago@bastart.eu.org>

SVN-Revision: 11176
2008-05-18 17:31:02 +00:00
Felix Fietkau
da18b98cff bcm963xx: serial port support
Signed-off-by: Axel Gembe <ago@bastart.eu.org>

SVN-Revision: 11175
2008-05-18 17:30:49 +00:00
Felix Fietkau
97b85443eb bcm963xx: board support
Signed-off-by: Axel Gembe <ago@bastart.eu.org>

SVN-Revision: 11174
2008-05-18 17:30:39 +00:00
Felix Fietkau
f94d5eafc9 bcm963xx: add 2.6.25 configuration file
Signed-off-by: Axel Gembe <ago@bastart.eu.org>

SVN-Revision: 11173
2008-05-18 17:30:30 +00:00
Felix Fietkau
8e7ff7a673 bcm963xx: use the 2.6.25.1 kernel
Signed-off-by: Axel Gembe <ago@bastart.eu.org>

SVN-Revision: 11172
2008-05-18 17:30:16 +00:00
Felix Fietkau
2dfabe3991 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>

SVN-Revision: 11171
2008-05-18 17:30:04 +00:00
Felix Fietkau
301ee97229 bcm963xx: add cfe image tagging utility
This replaces the proprietary bcmImageBuilder program from the Broadcom source
drops. It basically adds a 256 bytes header in front of the kernel + rootfs
which contains a few text signatures, the locations of the data as well as the
checksums of the data and the tag. It also adds a 12 bytes header in front of
the LZMA kernel which contains the load address, kernel entry and the size of
the compressed LZMA data.

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

SVN-Revision: 11170
2008-05-18 17:29:51 +00:00
Felix Fietkau
46b4413fbb 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>

SVN-Revision: 11169
2008-05-18 17:29:39 +00:00
Rod Whitby
6a79ee257d sound: Remove atheros restriction, since atheros can have usb sound cards
SVN-Revision: 11168
2008-05-18 11:54:49 +00:00
Florian Fainelli
d543939042 Add support for OTI6858 and ARK3116 usb serial converters (#3442)
SVN-Revision: 11167
2008-05-18 11:21:28 +00:00
Felix Fietkau
eb2e08d894 ifndef is not supported inside make variable expansion
SVN-Revision: 11165
2008-05-17 20:13:29 +00:00
Rod Whitby
e2829f4251 atheros/config-2.6.25: Removed MII override
SVN-Revision: 11161
2008-05-17 11:29:45 +00:00
Rod Whitby
c715985c97 base-files: Update /etc/init.d/fstab with new location of swapon and swapoff (they moved from /sbin to /usr/sbin)
SVN-Revision: 11157
2008-05-17 00:13:05 +00:00
Peter Denison
79aed699d7 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
SVN-Revision: 11155
2008-05-16 19:25:20 +00:00
Yuji Mano
9788ab458c update version
SVN-Revision: 11154
2008-05-16 18:56:04 +00:00
Rod Whitby
aff3215d29 modules/other.mk: Enable bluetooth for atheros
SVN-Revision: 11150
2008-05-16 16:35:04 +00:00
Travis Kemen
d3e2ae4e58 fix avr32 compiling
SVN-Revision: 11147
2008-05-16 04:44:15 +00:00
Florian Fainelli
99b6b35be3 Add support for Asus wl-520gc
SVN-Revision: 11145
2008-05-16 01:18:57 +00:00
Travis Kemen
3f8eaeb2c3 This patch adds a number of configuration options to the MadWifi package. You can now configure the HAL, bus, default rate control algorithm as well as the debug mode from within make menuconfig. The goal is to be able to support hardware profiles with different HALs without messing around with the Makefile directly. Signed-off-by: Axel Gembe <ago@bastart.eu.org>
SVN-Revision: 11140
2008-05-15 00:59:34 +00:00
Travis Kemen
7c7bd6f61c This patch makes kernel modules check if config is defined and creates a config passthrough target which will evaluate the original config in the generated package. This is done so kernel modules can have configuration menus like busybox, etc... Signed-off-by: Axel Gembe <ago@bastart.eu.org>
SVN-Revision: 11139
2008-05-15 00:57:50 +00:00
Peter Denison
72d40dec08 Allow package/switch to compile against 2.6.25
SVN-Revision: 11138
2008-05-14 15:03:05 +00:00
John Crispin
9b340cf3df add proper led support to ifxmips
SVN-Revision: 11137
2008-05-14 13:43:18 +00:00
Gabor Juhos
3c143ca859 fix mini_fo bug on 2.6.25
SVN-Revision: 11135
2008-05-13 17:17:18 +00:00
Rod Whitby
18cbe8770d config-2.6.25: Enable NETDEV_1000, so that the via-velocity gigabit ethernet driver for the DSMG600RevA can be selected.
SVN-Revision: 11134
2008-05-13 12:48:25 +00:00
John Crispin
04db64c112 fixes u-boot compile in clean tree
SVN-Revision: 11133
2008-05-13 10:03:15 +00:00
Ralph Hempel
6d4c89c7f5 adding check for /proc/net/vlan/config (==vlan enabled kernel)
SVN-Revision: 11132
2008-05-13 09:21:17 +00:00
Travis Kemen
ce0e9bec2f revert to before ubnt images were made
SVN-Revision: 11130
2008-05-13 04:20:47 +00:00
Matteo Croce
2058b80964 atheros: added marvell switch driver
SVN-Revision: 11129
2008-05-13 00:10:45 +00:00
Peter Denison
06c7c04288 Fix typo in broadcom-diag LED output enable
SVN-Revision: 11125
2008-05-12 19:46:53 +00:00
Jens Muecke
b64c4c6b40 Update size and inodes of grup image
Enlarge default size of grup image for
X and other packages. OLPC also use this
grup image.

SVN-Revision: 11124
2008-05-12 19:00:46 +00:00
Gabor Juhos
936b0e3cc7 use the righ value in the DSP clock calculation
SVN-Revision: 11123
2008-05-12 11:56:21 +00:00
Gabor Juhos
994094850e remove svn:executable property from u-boot source files
SVN-Revision: 11122
2008-05-12 09:57:45 +00:00
Andy Boyett
e136c5203d Fix kmod-ata-piix deps
SVN-Revision: 11121
2008-05-12 06:41:12 +00:00
Andy Boyett
bd06be4f73 Package nvidia sata driver
SVN-Revision: 11120
2008-05-12 06:40:54 +00:00
Andy Boyett
78b7201f2a Package AHCI driver
SVN-Revision: 11119
2008-05-12 06:40:37 +00:00
Andy Boyett
0ff7ae2d6c Package VIA sata driver
SVN-Revision: 11118
2008-05-12 06:40:18 +00:00
Nicolas Thill
94940b2265 disable ip6tables as well on 2.6.25 until we have working IMQ support
SVN-Revision: 11117
2008-05-11 22:41:49 +00:00
Nicolas Thill
70a8c455b0 fix fuse: use in-kernel module for 2.6.25+ kernels
SVN-Revision: 11116
2008-05-11 22:27:32 +00:00
Nicolas Thill
e93e293b41 add a macro to compare kernel patch versions and use it for crypto and watchdog changes in 2.6.24+ kernels (closes: #3402)
SVN-Revision: 11115
2008-05-11 20:56:51 +00:00
Matteo Croce
f060405005 atheros: revert to kernel 2.6.23
SVN-Revision: 11114
2008-05-11 20:01:01 +00:00
Matteo Croce
c8d30d5f09 atheros: USB support
SVN-Revision: 11113
2008-05-11 19:43:00 +00:00
John Crispin
6ba929a047 ifxmips is no longer b0rked
SVN-Revision: 11111
2008-05-11 14:31:18 +00:00
John Crispin
2c62010bd5 fix up config for ifxmips uboot
SVN-Revision: 11110
2008-05-11 14:30:41 +00:00