Daniel Dickinson
f83c5938d2
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>
SVN-Revision: 26680
14 years ago
Daniel Dickinson
fc3a1d0ba3
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>
SVN-Revision: 24838
14 years ago
Daniel Dickinson
fe5d55977e
tools/firmware-utils/imagetag: Fixed Pirelli Alice Gate CRC calculation in imagetag (was invalid strings in bcm_tag.h). Closes #7120
...
SVN-Revision: 20850
15 years ago
Florian Fainelli
2a4fb82289
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.
...
SVN-Revision: 20652
15 years ago
Florian Fainelli
dad85cddac
move bcm_tag.h out of the flashmap patch so that user-land tools can re-use it
...
SVN-Revision: 20548
15 years ago
Florian Fainelli
b8d99458ff
move files to files-2.6.30, to ease newer kernel integration
...
SVN-Revision: 19471
15 years ago
Daniel Dickinson
022594b0ed
brcm63xx: Fix gpio-buttons and add LED and buttons for Tecom IGW6200 and Comtrend CT-5261
...
SVN-Revision: 19361
15 years ago
Daniel Dickinson
f623119680
Fix typo in AGPF_S0 reset button definition
...
SVN-Revision: 19160
15 years ago
Claudio Mignanti
b031e14bf0
bcm63xx: add gpio leds to alice gate
...
SVN-Revision: 19152
15 years ago
Florian Fainelli
0adbdf6409
add support for the RTA1025W_16 board ( #5979 )
...
SVN-Revision: 18476
15 years ago
Florian Fainelli
9a84de9e01
images without tagid now fallback to the untouched partition layout ( #6093 )
...
SVN-Revision: 18288
15 years ago
Nicolas Thill
f22156bf9e
brcm63xx: fix cardbus support with BCM6358 ( closes : #5918 )
...
SVN-Revision: 17935
15 years ago
Florian Fainelli
b9c0291e32
prevent gpio-buttons registration failure
...
SVN-Revision: 17542
15 years ago
Florian Fainelli
8ceff55a08
fix typos against the gpio buttons driver ( #5804 )
...
SVN-Revision: 17538
15 years ago
Florian Fainelli
65fa1debda
add infrastructure to register gpio-input reset button
...
SVN-Revision: 17526
15 years ago
Florian Fainelli
294ec33e47
fix reboot hang on bcm6345, thanks AndyI
...
SVN-Revision: 17465
15 years ago
Florian Fainelli
3fd180eb53
add missing patch which fakes a cardbus controller on top of PCI, thanks SGDA
...
SVN-Revision: 17234
15 years ago
Florian Fainelli
7610c78205
fix typo, INT_MASK is writable, INT_STATUS is not
...
SVN-Revision: 17229
15 years ago
Florian Fainelli
dd8b0f9fb9
more bcm63xx definition fixes, thanks AndyI
...
SVN-Revision: 17227
15 years ago
Florian Fainelli
85698765da
add support for the Pirelli AG226G board ( #5337 )
...
SVN-Revision: 17190
16 years ago
Florian Fainelli
2d629e3a01
remove useless hard reset in the SPI controller driver
...
SVN-Revision: 17189
16 years ago
Florian Fainelli
2437f53f1d
fix assignment instead of comparison in the mtd driver ( #5649 )
...
SVN-Revision: 17188
16 years ago
Florian Fainelli
5138aa203e
bcm6345 fixes from AndyI
...
SVN-Revision: 17153
16 years ago
Florian Fainelli
48c1634d3e
fix off-by-one maximum timeout in the wathchdog default counter for bcm6345, thanks AndyI
...
SVN-Revision: 17149
16 years ago
Florian Fainelli
dd78f746a5
disable watchdog for bcm6345 until it gets fixed
...
SVN-Revision: 17148
16 years ago
Florian Fainelli
39c22483bd
fix printing of offsets
...
SVN-Revision: 17099
16 years ago
Florian Fainelli
e58d0f346d
more bcm6345 fixes and definitions, thanks to AndyI
...
SVN-Revision: 17066
16 years ago
Florian Fainelli
9887dc6100
add experimental support for 2.6.28.10, tested on bcm6338
...
SVN-Revision: 17054
16 years ago
Florian Fainelli
dabf5e71a6
fix typo for the flash start address on bcm6345
...
SVN-Revision: 17032
16 years ago
Florian Fainelli
5df0606265
fix typos introduced in 16942
...
SVN-Revision: 16943
16 years ago
Florian Fainelli
8b17c74376
make the ethernet driver compile with newer kernels
...
SVN-Revision: 16942
16 years ago
Florian Fainelli
43a3f9555a
request irq with the platform driver name instead of bus_id which is being removed in newer kernels
...
SVN-Revision: 16932
16 years ago
Florian Fainelli
ecad504c39
register GPIO-connected LEDs for known boards
...
SVN-Revision: 16887
16 years ago
Florian Fainelli
d0fdf2c5ed
fix comment only valid for bcm6345
...
SVN-Revision: 16881
16 years ago
Florian Fainelli
0bda624fc7
add the infrastructure to use a MPI/GPIO connected VoIP DSP
...
SVN-Revision: 16650
16 years ago
Florian Fainelli
8a8943671a
fixes for the bcm6338 clocks, thanks Maxime
...
SVN-Revision: 16640
16 years ago
Florian Fainelli
5a7c5b2d36
a couple of more fixes to get 6345 booting up to the console handover
...
SVN-Revision: 16636
16 years ago
Florian Fainelli
8179904540
shared DMA zone is twice smaller on 6338
...
SVN-Revision: 16608
16 years ago
Florian Fainelli
4096da301d
off-by-one gpio numbers for bcm6338
...
SVN-Revision: 16597
16 years ago
Florian Fainelli
8813961e86
bcm6338 can support PCI since it has MPI
...
SVN-Revision: 16592
16 years ago
Florian Fainelli
ca5de76ed3
more fixes for bcm6338, no need not to prevent reads from MPI registers now that we have it defined correctly
...
SVN-Revision: 16589
16 years ago
Florian Fainelli
d02d75ba02
fix the flash address comment and register the flash device again with its proper physical address on 6338/6345
...
SVN-Revision: 16587
16 years ago
Florian Fainelli
0bb3a46217
fix a stupid typo preventing the board from being detected
...
SVN-Revision: 16586
16 years ago
Florian Fainelli
bcc1dd7f99
prevent bcm6338 and bcm6345 from crashing very early
...
SVN-Revision: 16585
16 years ago
Florian Fainelli
7da8855c79
only register fallback sprom and enable PCI if we actually have support for PCI
...
SVN-Revision: 16581
16 years ago
Florian Fainelli
13a8ed9ca0
more missing register definitions for bcm6338
...
SVN-Revision: 16579
16 years ago
Florian Fainelli
287a2c0ba9
more bcm6338 and bcm6345 related fixes
...
SVN-Revision: 16568
16 years ago
Florian Fainelli
8c4137900c
define bcm6338 SDRAM base register and make sure that the right CPU id will be used to detect a bcm6338
...
SVN-Revision: 16567
16 years ago
Florian Fainelli
e86e91380a
add board definitions for the bcm6338w
...
SVN-Revision: 16565
16 years ago
Florian Fainelli
1795111337
add imagetag support for BT Voyager 2500V, patch from Daniel Dickinson ( #5364 )
...
SVN-Revision: 16506
16 years ago