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
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
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
15 years ago
Florian Fainelli
5138aa203e
bcm6345 fixes from AndyI
...
SVN-Revision: 17153
15 years ago
Florian Fainelli
48c1634d3e
fix off-by-one maximum timeout in the wathchdog default counter for bcm6345, thanks AndyI
...
SVN-Revision: 17149
15 years ago
Florian Fainelli
dd78f746a5
disable watchdog for bcm6345 until it gets fixed
...
SVN-Revision: 17148
15 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
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
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
287a0efd68
be SMP safe even with gpiolib
...
SVN-Revision: 16331
16 years ago
Florian Fainelli
9013e936ed
cache gpio values in gpio_set
...
SVN-Revision: 16330
16 years ago
Florian Fainelli
1208ffaedb
use the correct number of GPIOs for bcm6358
...
SVN-Revision: 16329
16 years ago
Florian Fainelli
c95420f06d
register gpiochip earlier, allowing gpio-based runtime detection to be performed in board_init callback
...
SVN-Revision: 16328
16 years ago
Florian Fainelli
9485c3e834
register gpiodev
...
SVN-Revision: 15509
16 years ago
Florian Fainelli
501ebb4f74
enable all blocks on 6338 and uart clock on 6345
...
SVN-Revision: 14957
16 years ago
Florian Fainelli
0972ee5331
add support for bcm6345 SoC, needs testing
...
SVN-Revision: 14953
16 years ago
Florian Fainelli
32c29f1aaf
fix SPI register switch and prepare for UDC, thanks to Henk Vergonet ( #4783 )
...
SVN-Revision: 14914
16 years ago
Florian Fainelli
6495fa36ea
add support for AGPF-S0 (Pirelli Alice Gate VoIP 2 Plus Wi-Fi) #4366
...
SVN-Revision: 14850
16 years ago
Florian Fainelli
8065eb4a55
do not duplicate fifo_size, since RX and TX fifo sizes are the same, request_mem_region on the registers
...
SVN-Revision: 14848
16 years ago