Commit Graph

1026 Commits

Author SHA1 Message Date
Florian Fainelli
ae1ed9b7f4 add bcm63xx_spi based on reading shared/opensource/flash/spiflash.c from the consumer releases, needs testing
SVN-Revision: 14793
2009-03-08 15:27:46 +00:00
Florian Fainelli
871b0d6fed fix SPI accessors
SVN-Revision: 14792
2009-03-08 14:20:15 +00:00
Florian Fainelli
1bcf5d0de6 fix typo for the bcm6338 spi IRQ, change platform driver name and make the SPI irq be fetchable by platform driver initialization code
SVN-Revision: 14790
2009-03-08 12:43:13 +00:00
Florian Fainelli
bf7f2939c2 compile and register SPI controller device
SVN-Revision: 14789
2009-03-08 12:18:26 +00:00
Florian Fainelli
1e92d0355d make bcm6358 consistend with the other boards naming
SVN-Revision: 14788
2009-03-08 12:17:19 +00:00
Florian Fainelli
b1abddb45f fix some SPI register definitions and platform-device registration code
SVN-Revision: 14787
2009-03-08 12:13:52 +00:00
Florian Fainelli
5e8dfe53b6 prepare for SPI controller driver
SVN-Revision: 14755
2009-03-06 01:15:00 +00:00
Florian Fainelli
9422b140ba fix SPI register definitions
SVN-Revision: 14754
2009-03-06 01:13:10 +00:00
Florian Fainelli
2d1ed46c68 fix a bcm963xx-flash warning
SVN-Revision: 14730
2009-03-02 18:55:47 +00:00
Florian Fainelli
6f484fc283 provide a sane SPROMv2 to make on-board bcm4318 card work, thanks mb__
SVN-Revision: 14683
2009-02-27 15:48:23 +00:00
Florian Fainelli
b539d11497 move the device registration to an earlier initcall level, required for fallback SPROM to work
SVN-Revision: 14681
2009-02-27 15:18:34 +00:00
Felix Fietkau
11014b5cea disable all kernel config options that are set to =m
SVN-Revision: 14611
2009-02-22 04:44:24 +00:00
Hauke Mehrtens
3f085cd501 update to 2.6.28.7 and 2.6.27.19
SVN-Revision: 14601
2009-02-21 18:53:05 +00:00
Gabor Juhos
47665da430 update to 2.6.27.17
SVN-Revision: 14513
2009-02-15 07:47:12 +00:00
Florian Fainelli
eda8310293 always select kmod-ssb, pci is supported
SVN-Revision: 14492
2009-02-13 00:13:39 +00:00
Florian Fainelli
99203ed0b1 do not overried 802.1q and PHY kernel configuration symbols
SVN-Revision: 14468
2009-02-10 17:53:52 +00:00
Gabor Juhos
7f04c52b92 update to 2.6.27.15
SVN-Revision: 14440
2009-02-08 12:32:39 +00:00
Florian Fainelli
1fc20f18d4 resync kernel configuration
SVN-Revision: 14395
2009-02-03 19:59:01 +00:00
Florian Fainelli
730346e2d5 add support for user9102 boards (#4537)
SVN-Revision: 14305
2009-01-31 16:01:20 +00:00
Florian Fainelli
c2c0d74f67 generate images for old CFE based boards like the Davolink DV201
SVN-Revision: 14264
2009-01-29 14:56:45 +00:00
Florian Fainelli
d7cb033a04 Add board definitions for the Davolink DV201AMR
SVN-Revision: 14263
2009-01-29 14:54:13 +00:00
Gabor Juhos
2a0825b4d3 update to 2.6.27.13
SVN-Revision: 14179
2009-01-25 18:33:19 +00:00
Gabor Juhos
0c2e187f54 switch to 2.6.27.12
SVN-Revision: 14157
2009-01-23 13:30:27 +00:00
Florian Fainelli
46b91ed787 frequency is in Hz, thanks Joel
SVN-Revision: 14067
2009-01-17 15:29:36 +00:00
Florian Fainelli
5ce93c07a5 fix SPI register definitions
SVN-Revision: 14048
2009-01-15 22:53:32 +00:00
Florian Fainelli
5905a48169 allow bcm6338 to get the base address of the memory controller register, required to detect memory size
SVN-Revision: 14047
2009-01-15 22:42:22 +00:00
Gabor Juhos
3ca7f3bd6f update to 2.6.27.11
SVN-Revision: 14043
2009-01-15 13:40:35 +00:00
Florian Fainelli
4c7d2cf90e correct SPI register size
SVN-Revision: 13886
2009-01-06 14:49:27 +00:00
Andy Boyett
9f8c82da09 Add hostapd-mini to default images where applicable
SVN-Revision: 13819
2009-01-02 05:12:46 +00:00
Gabor Juhos
8395d01b59 update to 2.6.27.10
SVN-Revision: 13695
2008-12-19 19:25:35 +00:00
Florian Fainelli
85d59fbf8c add board registration of the bcm96338gw
SVN-Revision: 13693
2008-12-19 17:24:29 +00:00
Florian Fainelli
3f7137022d 6338 has no PCI
SVN-Revision: 13692
2008-12-19 17:08:11 +00:00
Florian Fainelli
3dd67d64f4 add experimental support for bcm6338
SVN-Revision: 13691
2008-12-19 17:05:09 +00:00
Florian Fainelli
fa5a568380 Register watchdog driver
SVN-Revision: 13690
2008-12-19 15:00:33 +00:00
Florian Fainelli
42ff43386a fix register definitions for bcm6358, thanks SGDA
SVN-Revision: 13688
2008-12-19 10:19:00 +00:00
Florian Fainelli
3ae3bf981e resync kernel configuration
SVN-Revision: 13687
2008-12-19 10:16:52 +00:00
Florian Fainelli
7ab973e1af Add bcm63xx_wdt but do not enable it yet
SVN-Revision: 13677
2008-12-17 14:06:03 +00:00
Gabor Juhos
e7336673b1 update to 2.6.27.9 and refresh patches
SVN-Revision: 13659
2008-12-16 10:37:14 +00:00
Florian Fainelli
562ff99c2c Build images for Inventel Livebox
SVN-Revision: 13616
2008-12-12 15:16:57 +00:00
Florian Fainelli
34867901d0 Resync kernel config
SVN-Revision: 13607
2008-12-11 23:16:54 +00:00
Florian Fainelli
4025c12a2d Fix typo, we are not building for the DG834G (ar7) but the DG834GT (brcm6348)
SVN-Revision: 13588
2008-12-10 23:57:23 +00:00
Florian Fainelli
4dc65aed63 Add support for Sagem F@ST2404 (#4332)
SVN-Revision: 13583
2008-12-10 16:13:41 +00:00
Florian Fainelli
5dc3098a6c Disable CONFIG_NF_CT_ACCT
SVN-Revision: 13577
2008-12-10 01:39:29 +00:00
Florian Fainelli
6acf4c2a19 Fix remaining bug of the off-by-one error ;)
SVN-Revision: 13551
2008-12-08 21:00:00 +00:00
Florian Fainelli
fadddcc655 Enable ohci on bcm96348gw
SVN-Revision: 13549
2008-12-08 16:25:41 +00:00
Florian Fainelli
47050e72be Prepare bcm63xx for SPI master support
SVN-Revision: 13547
2008-12-08 14:14:37 +00:00
Florian Fainelli
f3be50a031 Add support for bcm96348gw10 (Netgear DG834GT) (#4319)
SVN-Revision: 13540
2008-12-07 20:34:48 +00:00
Gabor Juhos
4992a87aeb update to 2.6.27.8 and refresh patches
SVN-Revision: 13528
2008-12-06 09:59:55 +00:00
Gabor Juhos
919a8a9fe0 make mips_machine stuff available for other MIPS targets
SVN-Revision: 13492
2008-12-02 21:54:53 +00:00
Florian Fainelli
01a5c953a3 Fix an off-by one printing error
SVN-Revision: 13469
2008-12-02 14:11:54 +00:00
Florian Fainelli
043562037f resync kernel config
SVN-Revision: 13433
2008-11-29 16:33:07 +00:00
Florian Fainelli
e8aad7938a Improve Inventel Livebox support
SVN-Revision: 13427
2008-11-29 12:57:41 +00:00
Florian Fainelli
aa3c775b65 Reorder profiles numbering, broadcom being the most widely used
SVN-Revision: 13401
2008-11-28 16:35:10 +00:00
Florian Fainelli
cc2e43992d bcm63xx MTD driver cleanup and fixes: - convert to platform_driver - get the window_size/addr from the board setup code - indentation fixes - remove duplicate code - move bcm_tag declaration out of the MTD driver
SVN-Revision: 13379
2008-11-27 20:40:03 +00:00
Florian Fainelli
bbad86e098 Add missing config symbol for SSB
SVN-Revision: 13378
2008-11-27 20:38:01 +00:00
Florian Fainelli
44108d6a2d Commit changes on the files for gpiolib
SVN-Revision: 13374
2008-11-27 10:38:36 +00:00
Florian Fainelli
36fc2d1f93 Convert brcm63xx to gpiolib
SVN-Revision: 13373
2008-11-27 10:38:01 +00:00
Florian Fainelli
1c77ec0587 Flatten brcm63xx patches, should make our life easier to patch files now ;)
SVN-Revision: 13368
2008-11-26 18:41:01 +00:00
Florian Fainelli
4fc7535fc7 Make 4-port LAN and 1 port wan configurations work
SVN-Revision: 13362
2008-11-26 15:51:55 +00:00
Imre Kaloz
752054346a update to 2.6.27.7
SVN-Revision: 13347
2008-11-25 13:54:46 +00:00
Imre Kaloz
a695fa76a4 move THERMAL symbols into the generic config
SVN-Revision: 13346
2008-11-25 13:52:25 +00:00
Florian Fainelli
0f26e35e37 brcm63xx has pcmcia support and is able to run b43 on its pci bus
SVN-Revision: 13303
2008-11-20 23:08:20 +00:00
Florian Fainelli
5acddecc68 Update brcm63xx broadcom profile now that b43 is available
SVN-Revision: 13302
2008-11-20 23:01:48 +00:00
Florian Fainelli
8f5351a4f2 Synchroniz bcm63xx kernel configuration
SVN-Revision: 13300
2008-11-20 22:16:48 +00:00
Florian Fainelli
e854a26332 Prevent the MTD map to fail, somehow detect_cfe will read the tag plus some garbage, therefore making a simple strcmp will fail
SVN-Revision: 13299
2008-11-20 21:26:11 +00:00
Florian Fainelli
107aa04e06 Generate valid images for the bcm96348gw board
SVN-Revision: 13298
2008-11-20 21:22:45 +00:00
Imre Kaloz
722c78cd1e move some options to the generic 2.6.27 config
SVN-Revision: 13264
2008-11-17 17:28:12 +00:00
Imre Kaloz
7d09c0b086 update to 2.6.27.6
SVN-Revision: 13261
2008-11-17 17:22:30 +00:00
Florian Fainelli
0d4286b0b3 This patch is for broadcom 96348GW-11 boards, to get USB and Ethernet working. Also it patches mtd map driver for bcm96xx boards to be sure that CFE1CFE1 code is detected when booting from CFE. (#4201)
SVN-Revision: 13213
2008-11-15 11:30:22 +00:00
Florian Fainelli
cb126cd576 Package bcm63xx-pcmcia kernel module and fix compilation
SVN-Revision: 13212
2008-11-15 11:26:23 +00:00
Florian Fainelli
9bbc37d26b Remove old kernel configuration files
SVN-Revision: 13211
2008-11-15 11:23:29 +00:00
Florian Fainelli
517e3d404c Delete old brcm63xx files
SVN-Revision: 13210
2008-11-15 11:21:42 +00:00
Gabor Juhos
88cda758c3 update to 2.6.25.20, 2.6.26.8, 2.6.27.5 and refresh patches * based on a patch by Hauke Mehrtens * closes #4193
SVN-Revision: 13192
2008-11-12 17:49:01 +00:00
Nicolas Thill
0a11abc83d add missing kconfig symbols for 2.6.27 targets when all modules are enabled
SVN-Revision: 13178
2008-11-11 02:43:35 +00:00
Felix Fietkau
d0388bbe5c brcm63xx: rename mtd partitions to the ones used by other openwrt platforms - should make the automatic rootfs overlay split work and fix the mounting of the right partition
SVN-Revision: 13130
2008-11-06 12:52:39 +00:00
Florian Fainelli
7cedaafd0c Add basic support for Inventel Liveboxes, resync kernel config
SVN-Revision: 13108
2008-11-03 20:30:43 +00:00
Florian Fainelli
9aa1d64b91 Using CONFIG_MODVERSIONS is a bad idea, disable it and no longer mark brcm63xx as broken
SVN-Revision: 13106
2008-11-03 18:52:58 +00:00
Florian Fainelli
aa90a702db Use 2.6.27.4 kernel version
SVN-Revision: 13055
2008-10-28 11:19:24 +00:00
Florian Fainelli
30d2200e7d Update targets to 2.6.27.3
SVN-Revision: 13035
2008-10-23 09:11:10 +00:00
Florian Fainelli
28baca91fe Update patches and rename board 9 stands for development board
SVN-Revision: 13024
2008-10-22 09:20:51 +00:00
Florian Fainelli
691e187381 Add definitions for bcm96350vw, add back bcm63xx mtd driver, be careful when testing with 8MB devices
SVN-Revision: 13015
2008-10-20 12:55:28 +00:00
Florian Fainelli
64c28032c8 New Broadcom BCM63xx codebase, huge thanks to Maxime ;)
SVN-Revision: 13001
2008-10-17 22:53:56 +00:00
Florian Fainelli
5718709711 Fix reference to the old and replaced kmod-rt61
SVN-Revision: 12723
2008-09-27 10:47:00 +00:00
Gabor Juhos
821170133f update to 2.6.26.5 and 2.6.25.17
SVN-Revision: 12718
2008-09-26 18:46:53 +00:00
Nicolas Thill
3029c2fd53 disable CONFIG_USB_SUPPORT in generic config for 2.6.25 & 2.6.26 and enable it on targets where USB is supported
SVN-Revision: 12690
2008-09-24 19:28:53 +00:00
Gabor Juhos
184c6b06f2 update to 2.6.26.3 and 2.6.25.16
SVN-Revision: 12371
2008-08-22 15:37:19 +00:00
Gabor Juhos
e5fa05d788 update to 2.6.25.15 and 2.6.26.2
SVN-Revision: 12242
2008-08-07 16:52:52 +00:00
Gabor Juhos
104b3386a2 update to 2.6.25.12
SVN-Revision: 11933
2008-07-26 10:53:23 +00:00
Imre Kaloz
492ba57b56 update targets to 2.6.25.10
SVN-Revision: 11667
2008-07-05 16:52:15 +00:00
Imre Kaloz
dee39d10ee upgrade to 2.6.25.9
SVN-Revision: 11584
2008-06-26 14:28:16 +00:00
Gabor Juhos
4af6ac74fb upgrade to 2.6.25.7, and refresh patches
SVN-Revision: 11523
2008-06-17 12:57:04 +00:00
Imre Kaloz
2eb6751084 upgrade to 2.6.25.6
SVN-Revision: 11435
2008-06-11 11:38:39 +00:00
Florian Fainelli
6e0427c8a4 Add bcm3350 cpuid
SVN-Revision: 11364
2008-06-05 16:19:46 +00:00
Gabor Juhos
c2619fb5ab revert kernel version to 2.6.25.4
SVN-Revision: 11273
2008-05-27 06:27:16 +00:00
Gabor Juhos
ac897ce5b1 refresh kernel patches
SVN-Revision: 11201
2008-05-19 08:33:22 +00:00
Gabor Juhos
f9719b35c8 upgrade to latest kernel versions (2.6.25.4; 2.6.24.7; 2.6.23.17; 2.6.22.19)
SVN-Revision: 11184
2008-05-18 20:12:54 +00:00
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