Commit Graph

115 Commits (6c73661162f7b47effdb493725071557ed175a9a)

Author SHA1 Message Date
Daniel Dickinson ec103967cb Added OpenWRT-specific field to imagetag so that we can record the real root length, so that when the CRC fixup is applied and the root length is recorded as zero we can still calculate the rootfs mtd partition size.
Signed-off-by: Daniel Dickinson <daniel@cshore.neomailbox.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24838 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-26 04:18:13 +00:00
Daniel Dickinson a471baeb22 tools/firmware-utils/imagetag: Fixed Pirelli Alice Gate CRC calculation in imagetag (was invalid strings in bcm_tag.h). Closes #7120
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-14 00:45:48 +00:00
Florian Fainelli 9b32abb33e [brcm63xx] flashmap and image generation: reduced union bcm_tag to a single struct
combining the elements so that it is no longer necessary to create an openwrt-only
tagid and tagcrc, and elimate the tagid detection and switch statements which
made dealing with imagetags overly complicated, especially since the logic would
need analogs in all code that touched the imagetag. Patch from cshore.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-01 21:20:43 +00:00
Florian Fainelli dc3662326e [brcm63xx] move bcm_tag.h out of the flashmap patch so that user-land tools can re-use it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20548 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-28 18:11:06 +00:00
Florian Fainelli a300ad427a [brcm63xx] move files to files-2.6.30, to ease newer kernel integration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-31 21:00:50 +00:00
Daniel Dickinson 89c1c5f5f4 brcm63xx: Fix gpio-buttons and add LED and buttons for Tecom IGW6200 and Comtrend CT-5261
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19361 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-28 16:54:00 +00:00
Daniel Dickinson c0c8556ba8 Fix typo in AGPF_S0 reset button definition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19160 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-16 03:13:56 +00:00
Claudio Mignanti e17e2be08e bcm63xx: add gpio leds to alice gate
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19152 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-15 13:30:46 +00:00
Florian Fainelli 29de13ad8f [brcm63xx] add support for the RTA1025W_16 board (#5979)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18476 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-22 14:53:20 +00:00
Florian Fainelli 26738bea21 [brcm63xx] images without tagid now fallback to the untouched partition layout (#6093)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18288 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-03 19:59:04 +00:00
Nicolas Thill 81ae5e6bed [kernel] brcm63xx: fix cardbus support with BCM6358 (closes: #5918)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-05 20:40:05 +00:00
Florian Fainelli ddce282a1f [brcm63xx] prevent gpio-buttons registration failure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17542 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-08 15:24:06 +00:00
Florian Fainelli c157373236 [brcm63xx] fix typos against the gpio buttons driver (#5804)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17538 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-07 18:17:45 +00:00
Florian Fainelli 31de48c7d8 [brcm63xx] add infrastructure to register gpio-input reset button
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17526 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-06 13:54:17 +00:00
Florian Fainelli af3d584ce7 [brcm63xx] fix reboot hang on bcm6345, thanks AndyI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17465 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-02 08:32:00 +00:00
Florian Fainelli 2371d7016c [brcm63xx] add missing patch which fakes a cardbus controller on top of PCI, thanks SGDA
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17234 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-12 08:41:47 +00:00
Florian Fainelli cbd3f96b0d [brcm63xx] fix typo, INT_MASK is writable, INT_STATUS is not
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17229 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-11 18:57:04 +00:00
Florian Fainelli 6ad8618e31 [brcm63xx] more bcm63xx definition fixes, thanks AndyI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-11 18:50:07 +00:00
Florian Fainelli 1c49507d80 [brcm63xx] add support for the Pirelli AG226G board (#5337)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17190 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-09 10:19:47 +00:00
Florian Fainelli d7ff5b45f6 [brcm63xx] remove useless hard reset in the SPI controller driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17189 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-09 10:18:30 +00:00
Florian Fainelli 6ed6216d1c [brcm63xx] fix assignment instead of comparison in the mtd driver (#5649)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17188 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-09 10:08:07 +00:00
Florian Fainelli 033116d210 [brcm63xx] bcm6345 fixes from AndyI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17153 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-06 20:33:42 +00:00
Florian Fainelli 3c0efe2dec [brcm63xx] fix off-by-one maximum timeout in the wathchdog default counter for bcm6345, thanks AndyI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17149 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-06 18:53:44 +00:00
Florian Fainelli 1bfab34d40 [brcm63xx] disable watchdog for bcm6345 until it gets fixed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17148 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-06 18:44:20 +00:00
Florian Fainelli c4ef19ed00 [brcm63xx] fix printing of offsets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-02 13:50:39 +00:00
Florian Fainelli af59e48234 [brcm63xx] more bcm6345 fixes and definitions, thanks to AndyI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17066 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-31 20:15:43 +00:00
Florian Fainelli 35815395ca [brcm63xx] add experimental support for 2.6.28.10, tested on bcm6338
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-30 21:29:25 +00:00
Florian Fainelli fd243ab4c9 [brcm63xx] fix typo for the flash start address on bcm6345
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-27 22:31:28 +00:00
Florian Fainelli 349a74df53 [brcm63xx] fix typos introduced in 16942
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16943 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-21 12:22:01 +00:00
Florian Fainelli cf6b6ea15b [brcm63xx] make the ethernet driver compile with newer kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-21 11:48:08 +00:00
Florian Fainelli 668b85c3ed [brcm63xx] request irq with the platform driver name instead of bus_id which is being removed in newer kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16932 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-20 10:52:08 +00:00
Florian Fainelli c6ab7daf85 [brcm63xx] register GPIO-connected LEDs for known boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16887 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-18 00:40:23 +00:00
Florian Fainelli 4907e1e896 [brcm63xx] fix comment only valid for bcm6345
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16881 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-17 15:57:09 +00:00
Florian Fainelli 4bbd24f57f [brcm63xx] add the infrastructure to use a MPI/GPIO connected VoIP DSP
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-01 21:00:41 +00:00
Florian Fainelli 7bba3b72d7 [brcm63xx] fixes for the bcm6338 clocks, thanks Maxime
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16640 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-01 13:49:20 +00:00
Florian Fainelli 1850996a1b [brcm63xx] a couple of more fixes to get 6345 booting up to the console handover
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16636 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-30 13:45:49 +00:00
Florian Fainelli 73821328e6 [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 Fainelli 61bd4183a5 [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 Fainelli 93039fd66e [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 Fainelli c6eb086771 [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 Fainelli d0c0b1b484 [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 Fainelli 53035bf4e2 [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 Fainelli d1867359ac [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 Fainelli 79422ea720 [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 Fainelli b89b571a5a [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 Fainelli e430ad8740 [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 Fainelli 5857eee187 [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 Fainelli 9fb3d8efcb [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 Fainelli e951c62e47 [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 Fainelli 2670ed1229 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