Commit Graph

430 Commits (37ae50ee245fd8b3d0e3476af148ca8256717884)

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
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
Imre Kaloz f0c04a90e6 upgrade to 2.6.24.5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-28 10:23:36 +00:00
Nicolas Thill f9967ea05f properly disable CONFIG_CRYPTO_HW
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-27 12:31:50 +00:00
Florian Fainelli d24367572b Delete config-default file and resync kernel configuration for brcm63xx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-11 14:22:41 +00:00
Florian Fainelli 25e156e1cf brcm63xx image generation cleanups (#3169)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10703 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-01 21:10:47 +00:00
Florian Fainelli 7aa45daae1 Upgrade brcm63xx to 2.6.24
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-13 17:31:17 +00:00
Gabor Juhos 3e3da83a17 [brcm63xx] resync kernel config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-11 15:28:45 +00:00
Imre Kaloz 884aca7088 upgrade & standardize kernel versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-11 10:50:40 +00:00
Felix Fietkau ebeae35053 fix initramfs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10080 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-01 21:38:06 +00:00
Felix Fietkau 62ccdcedae make the image filenames a bit shorter
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-10 23:08:11 +00:00
Nicolas Thill edfea6d60d move crypto support to a seperate crypto.mk file, split modules into multiple packages and adjust dependencies, sync crypto options in kconfigs.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-23 15:12:12 +00:00
Nicolas Thill effa8fa4fd 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8955 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-22 18:37:24 +00:00
Felix Fietkau dab23ede10 clean up jffs2 config options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-19 20:58:16 +00:00
Felix Fietkau 6665a2c1dc adapt profiles for subtarget changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08 20:04:43 +00:00
Felix Fietkau 6bcd07afdd 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08 19:55:42 +00:00
Felix Fietkau 92558d67a4 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-06 16:27:37 +00:00