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

76 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
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
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
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
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
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
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
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
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
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