1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-22 22:49:54 +02:00
Commit Graph

116 Commits

Author SHA1 Message Date
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
florian
68a5bde10c [brcm63xx] add support for user9102 boards (#4537)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14305 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-31 16:01:20 +00:00
florian
8199c5026d [brcm63xx] Add board definitions for the Davolink DV201AMR
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14263 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-29 14:54:13 +00:00
florian
f5c4c34c53 [brcm63x] frequency is in Hz, thanks Joel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14067 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-17 15:29:36 +00:00
florian
dc79249b1b [brcm63xx] fix SPI register definitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14048 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-15 22:53:32 +00:00
florian
ecbc607802 [brcm63xx] allow bcm6338 to get the base address of the memory controller register, required to detect memory size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14047 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-15 22:42:22 +00:00
florian
fb1c13c960 [brcm63xx] correct SPI register size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13886 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-06 14:49:27 +00:00
florian
278549f6d4 [brcm63xx] add board registration of the bcm96338gw
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13693 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-19 17:24:29 +00:00
florian
01926e6150 [brcm63xx] 6338 has no PCI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13692 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-19 17:08:11 +00:00
florian
693a86d5d0 [brcm63xx] add experimental support for bcm6338
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13691 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-19 17:05:09 +00:00
florian
e830a5a13e Register watchdog driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13690 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-19 15:00:33 +00:00
florian
43d14db8dc [brcm63xx] fix register definitions for bcm6358, thanks SGDA
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13688 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-19 10:19:00 +00:00
florian
4b366ae8b2 Add bcm63xx_wdt but do not enable it yet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13677 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-17 14:06:03 +00:00
florian
43af26b163 Add support for Sagem F@ST2404 (#4332)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13583 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-10 16:13:41 +00:00
florian
573fbdce9c Fix remaining bug of the off-by-one error ;)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-08 21:00:00 +00:00
florian
4e6eab38e5 Enable ohci on bcm96348gw
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13549 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-08 16:25:41 +00:00
florian
795208cd7e Prepare bcm63xx for SPI master support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13547 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-08 14:14:37 +00:00
florian
6489001dd8 Add support for bcm96348gw10 (Netgear DG834GT) (#4319)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-07 20:34:48 +00:00
florian
158d7961bf Fix an off-by one printing error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13469 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-02 14:11:54 +00:00
florian
11ab593ecd Improve Inventel Livebox support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-29 12:57:41 +00:00
florian
5944cb9a11 [brcm63xx] 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13379 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-27 20:40:03 +00:00
florian
b7da604466 Commit changes on the files for gpiolib
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13374 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-27 10:38:36 +00:00
florian
aedeeb1874 Flatten brcm63xx patches, should make our life easier to patch files now ;)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13368 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-26 18:41:01 +00:00
florian
fa1bef7a19 Prevent the MTD map to fail, somehow detect_cfe will read the tag plus some garbage, therefore making a simple strcmp will fail
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13299 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-20 21:26:11 +00:00
florian
1d55b67ff9 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)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-15 11:30:22 +00:00
florian
42dd4ac5f0 Delete old brcm63xx files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-15 11:21:42 +00:00
nbd
95c0a2e226 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-06 12:52:39 +00:00
florian
33ffd60e66 Add definitions for bcm96350vw, add back bcm63xx mtd driver, be careful when testing with 8MB devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-20 12:55:28 +00:00
florian
d4e976a36f 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
nbd
17c7b6c3fd 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