1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-25 02:19:20 +02:00
Commit Graph

79 Commits

Author SHA1 Message Date
florian
e98b808013 [brcm63xx] shared DMA zone is twice smaller on 6338
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-28 20:06:44 +00:00
florian
52962f240e [brcm63xx] off-by-one gpio numbers for bcm6338
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-28 04:23:11 +00:00
florian
71f8a2e36b [brcm63xx] bcm6338 can support PCI since it has MPI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16592 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-27 21:43:55 +00:00
florian
5a3fb95802 [brcm63xx] more fixes for bcm6338, no need not to prevent reads from MPI registers now that we have it defined correctly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16589 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-27 20:32:43 +00:00
florian
f8da08ef39 [brcm63xx] fix the flash address comment and register the flash device again with its proper physical address on 6338/6345
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-27 18:58:00 +00:00
florian
dde3611c93 [brcm63xx] fix a stupid typo preventing the board from being detected
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16586 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-27 18:30:45 +00:00
florian
4606c7b6ec [brcm63xx] prevent bcm6338 and bcm6345 from crashing very early
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16585 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-27 18:23:58 +00:00
florian
98724ee830 [brcm63xx] only register fallback sprom and enable PCI if we actually have support for PCI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16581 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-27 16:17:18 +00:00
florian
55f1505efd [brcm63xx] more missing register definitions for bcm6338
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16579 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-27 15:51:27 +00:00
florian
8b459b8327 [brcm63xx] more bcm6338 and bcm6345 related fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-26 12:34:35 +00:00
florian
b0b6441b42 [brcm63xx] define bcm6338 SDRAM base register and make sure that the right CPU id will be used to detect a bcm6338
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-26 11:08:12 +00:00
florian
b6e07cbdbb [brcm63xx] add board definitions for the bcm6338w
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-26 10:27:13 +00:00
florian
302118701d [brcm63xx] add imagetag support for BT Voyager 2500V, patch from Daniel Dickinson (#5364)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-18 15:00:32 +00:00
florian
3d975fbf42 The attached patch adds building of firmware
images for more routers based on the brcm63xx chipset.

Signed-Off By: Daniel Dickinson <crazycshore@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-10 08:24:13 +00:00
florian
757f523019 [brcm63xx] cleanup the watchdog driver a bit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-09 21:35:51 +00:00
florian
6601107c71 [brcm63xx] fix the watchdog driver and enable it by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-09 21:28:15 +00:00
florian
b1dfb3f7eb [brcm63xx] rework imagetag firmware generator and MTD partition parser to accomodate with all known
imagetag versions from Broadcom and vendors, patch from Daniel Dickinson (fixes #4987).


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-09 08:04:52 +00:00
florian
d18debb3f3 [brcm63xx] remove this line which got accidentaly succesfully applied, but should not have (#5285)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16380 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-08 13:42:11 +00:00
florian
28df3521d5 [brcm63xx] fix ethernet driver removal
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16335 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-04 10:04:53 +00:00
florian
b1bc178db9 [brcm63xx] fix pcmcia device removal
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16334 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-04 10:04:11 +00:00
florian
ad623e1c6d [brcm63xx] add missing null entry in pcmcia driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16333 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-04 10:03:41 +00:00
florian
151d148518 [brcm63xx] request gpio pins and set direction correctly for pcmcia
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16332 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-04 10:03:03 +00:00
florian
415b07a0e8 [brcm63xx] be SMP safe even with gpiolib
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16331 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-04 10:02:23 +00:00
florian
9486190f3f [brcm63xx] cache gpio values in gpio_set
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16330 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-04 10:01:55 +00:00
florian
848fab305c [brcm63xx] use the correct number of GPIOs for bcm6358
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-04 10:01:03 +00:00
florian
f1fc76fbaa [brcm63xx] register gpiochip earlier, allowing gpio-based runtime detection to be performed in board_init callback
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16328 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-04 09:59:28 +00:00
florian
404123be4d [brcm63xx] merger mtu/802.1q related fixes:
bcm63xx integrated ethernet mac supports receiving and sending frames
bigger than 1500 bytes, this patch adds support for changing MTU.

This patch also fixes the reception of 802.1q frames for default MTU
which were reported as oversized.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16302 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-03 08:55:18 +00:00
florian
7fb1c80f6c [brcm63xx] backport an upstream fix: We're not disabling IRQ, so we must call the irq safe flavour of netif_rx_complete, should fix some crashes when running the system for a long time
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16277 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-01 18:27:51 +00:00
florian
7f464dbf8c [brcm63xx] add support for sysupgrade (#5117)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-17 16:53:57 +00:00
florian
dae9860357 [brmc63xx] register gpiodev
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-30 14:09:01 +00:00
florian
fb16d85a72 [brcm63xx] fix redundant driver name printing in probe function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15254 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-19 13:32:54 +00:00
florian
c4a76c3879 [brcm63xx] make images that can be flashed using the stock firmware web interface, thanks to Anselmo Luginbuhl and Daniel Dickinson (#4909, #4943)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15253 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-19 13:18:48 +00:00
florian
c428c49464 [brcm63xx] some more fixes to the SPI controller driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15146 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-08 08:52:57 +00:00
florian
d28ed969b1 [brcm63xx] enable all blocks on 6338 and uart clock on 6345
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14957 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-21 10:50:44 +00:00
florian
3a02e3c605 [brcm63xx] add support for bcm6345 SoC, needs testing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14953 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-20 15:08:02 +00:00
florian
e41d42803f [brcm63xx] fix SPI register switch and prepare for UDC, thanks to Henk Vergonet (#4783)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-17 11:28:54 +00:00
florian
de1e7c94c8 [brcm63xx] add support for AGPF-S0 (Pirelli Alice Gate VoIP 2 Plus Wi-Fi) #4366
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-12 08:54:04 +00:00
florian
af780d06cb [brcm63xx] do not duplicate fifo_size, since RX and TX fifo sizes are the same, request_mem_region on the registers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-11 10:32:44 +00:00
florian
f7f453685c [brcm63xx] make SPI work in full-duplex mode by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-10 15:28:29 +00:00
florian
ac74991e5e [brcm63xx] add bcm63xx_spi based on reading shared/opensource/flash/spiflash.c from the consumer releases, needs testing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-08 15:27:46 +00:00
florian
1607b793bb [brcm63xx] fix SPI accessors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14792 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-08 14:20:15 +00:00
florian
9701c553e5 [brcm63xx] fix typo for the bcm6338 spi IRQ, change platform driver name and make the SPI irq be fetchable by platform driver initialization code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-08 12:43:13 +00:00
florian
ae7c55dd76 [brcm63xx] compile and register SPI controller device
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14789 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-08 12:18:26 +00:00
florian
3ef02b142c [brcm63xx] make bcm6358 consistend with the other boards naming
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14788 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-08 12:17:19 +00:00
florian
a5c53df418 [brcm63xx] fix some SPI register definitions and platform-device registration code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14787 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-08 12:13:52 +00:00
florian
8bd259b281 [brcm63xx] prepare for SPI controller driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-06 01:15:00 +00:00
florian
493a9bf37a [brcm63xx] fix SPI register definitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-06 01:13:10 +00:00
florian
82171215c1 [brcm63xx] fix a bcm963xx-flash warning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-02 18:55:47 +00:00
florian
95ed72af25 [brcm63xx] provide a sane SPROMv2 to make on-board bcm4318 card work, thanks mb__
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-27 15:48:23 +00:00
florian
d7f409f4c7 [brcm63xx] move the device registration to an earlier initcall level, required for fallback SPROM to work
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14681 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-27 15:18:34 +00:00