Commit Graph

280 Commits (94db5a4acc6c3489df3e7fb1a9f011babed9c379)

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 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
Nicolas Thill e3a42b23c6 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
SVN-Revision: 11097
2008-05-09 17:08:51 +00:00
Imre Kaloz 68943e35c2 upgrade to 2.6.24.5
SVN-Revision: 10959
2008-04-28 10:23:36 +00:00
Nicolas Thill c6fe45ed55 properly disable CONFIG_CRYPTO_HW
SVN-Revision: 10952
2008-04-27 12:31:50 +00:00
Florian Fainelli 03f917f26c Delete config-default file and resync kernel configuration for brcm63xx
SVN-Revision: 10790
2008-04-11 14:22:41 +00:00
Florian Fainelli 62240465c4 brcm63xx image generation cleanups (#3169)
SVN-Revision: 10703
2008-04-01 21:10:47 +00:00
Florian Fainelli ebf4eb11e9 Upgrade brcm63xx to 2.6.24
SVN-Revision: 10455
2008-02-13 17:31:17 +00:00
Gabor Juhos 0a72d14e40 resync kernel config
SVN-Revision: 10444
2008-02-11 15:28:45 +00:00
Imre Kaloz 3a0e58b2e1 upgrade & standardize kernel versions
SVN-Revision: 10443
2008-02-11 10:50:40 +00:00
Felix Fietkau 3f7af01bb0 fix initramfs
SVN-Revision: 10080
2008-01-01 21:38:06 +00:00
Felix Fietkau 1bca0cc517 make the image filenames a bit shorter
SVN-Revision: 9533
2007-11-10 23:08:11 +00:00
Nicolas Thill 5f0272d618 move crypto support to a seperate crypto.mk file, split modules into multiple packages and adjust dependencies, sync crypto options in kconfigs.
SVN-Revision: 8980
2007-09-23 15:12:12 +00:00
Nicolas Thill fec4d9ee3c add missing 2.6 conntrack/nat helpers, add 2.6 conntrack/nat helper for RTSP (closes: #2297, thanks to aorlinsk), sync 2.4 / 2.6 kconfigs.
SVN-Revision: 8955
2007-09-22 18:37:24 +00:00
Felix Fietkau 236d7e62ca clean up jffs2 config options
SVN-Revision: 8848
2007-09-19 20:58:16 +00:00
Felix Fietkau 87a88cebc7 adapt profiles for subtarget changes
SVN-Revision: 8695
2007-09-08 20:04:43 +00:00
Felix Fietkau a9d683ca91 major target cleanup. it is now possible to have subtargets that can override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets
SVN-Revision: 8694
2007-09-08 19:55:42 +00:00
Felix Fietkau 56231056ea strip the kernel version suffix from target directories, except for brcm-2.4 (the -2.4 will be included in the board name here). CONFIG_LINUX_<ver>_<board> becomes CONFIG_TARGET_<board>, same for profiles.
SVN-Revision: 8653
2007-09-06 16:27:37 +00:00