1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-21 19:18:58 +02:00
Commit Graph

116 Commits

Author SHA1 Message Date
cshore
f5c866b902 bcm63xx: Move the OpenWrt rootfs length field
Dual image capable CFEs store an image sequence at the same place as
currently OpenWrt stores the actual rootfs length, so it will get
overwritten when flashing through such a CFE.

To prevent this from happening, move the rootfs length field to the next
four bytes, thus completely using the reserved1 field.

Since the reserved1 field is now completely in use, it does not make sense
to allow it to be set from the imagetag utility, so remove the option.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-15 12:18:25 +00:00
cshore
612cc293e1 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
cshore
f0ef3b7078 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
58dcac852c [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
ec9c918aef [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
aa058f6666 [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
cshore
fa01321b69 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
cshore
c3204b544a 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
6e2911b4f9 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
57aa2eccce [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
47ef97e2e3 [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
nico
caef3702a9 [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
90549f8e29 [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
272d58c97f [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
d303e45f4b [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
ff4ff7c3a8 [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
88ed80d97d [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
0087a84b19 [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
21b6860b2b [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
95d6d72228 [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
f0ce0e8aae [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
e5f2357869 [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
749f338dab [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
ef9fbab1eb [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
1a7361a529 [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
12dba7758d [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
47ffc5ca6a [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
5abca50d4d [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
efb3430f85 [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
a1cfb40728 [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
c4653addea [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
0707b34831 [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
8a891d72ed [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
ef5e1c89b8 [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
c33ead0f7c [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
69aab5b0cc [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
e4fd15b644 [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
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