Daniel Dickinson
|
f83c5938d2
bcm63xx: Move the OpenWrt rootfs length field
|
15 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.
|
15 years ago |
Daniel Dickinson
|
eadb5c84fa
imagetag: Significantly updated brcm63xx imagetag writing tool. * Rewrote commandline parsing code using gengetopt - We now get long options - We have more options including use of the info section for board information (e.g. to add the same boardid but different GPIOs on different routers) * Added back the ability to write stock images (this is useful, for example, when copying the firmware from the in-memory flash, and then being able to create an image that will let you revert to/test stock firmware * Fixed copying of CRCs to use memcpy instead of strncpy (strncpy stops at 0) * Added ability to use all sections of the imagetag, including custom magic signatures (e.g. for the Telsey router I'm adding soon), info sections, and reserved sections * Added putting the router type (as defined in the image generating Makefile) into the info1 section and the filesystem type in the info2 section. This will be used by mtd (when I add the code) to return the name of image used to flash this router. (As requested by Jo, as well as being useful for same boardid different board scenario described above).
|
15 years ago |
Daniel Dickinson
|
6cd4575153
brcm63xx: imagetag: Fixed occaisonal wrong CRC in image due to using strncpy to copy the CRC into the imagetag. strncpy stops copying after a 00 byte, memcpy doesn't.
|
15 years ago |
Florian Fainelli
|
e79f259abf
remove whitespaces in imagetag tool
|
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.
|
16 years ago |
Florian Fainelli
|
85698765da
add support for the Pirelli AG226G board (#5337)
|
16 years ago |
Florian Fainelli
|
1795111337
add imagetag support for BT Voyager 2500V, patch from Daniel Dickinson (#5364)
|
16 years ago |
Florian Fainelli
|
ca16accfbb
The attached patch adds building of firmware images for more routers based on the brcm63xx chipset.
|
17 years ago |
Florian Fainelli
|
01118457e8
rework imagetag firmware generator and MTD partition parser to accomodate with all known imagetag versions from Broadcom and vendors, patch from Daniel Dickinson (fixes #4987).
|
17 years ago |
Florian Fainelli
|
ac7e89329b
fix crc calculation with the new padding (#5143)
|
17 years ago |
Florian Fainelli
|
e5a836693e
fix padding between end of the kernel and beginning of the rootfs in imagetag (#5108)
|
17 years ago |
Florian Fainelli
|
1f334e3caa
make images that can be flashed using the stock firmware web interface, thanks to Anselmo Luginbuhl and Daniel Dickinson (#4909, #4943)
|
17 years ago |
Florian Fainelli
|
47387c945a
revert changeset 15081 seems to break Alice box devices
|
17 years ago |
Florian Fainelli
|
11a791a318
compute rootfs crc32 required for brcm63xx web upgrades
|
17 years ago |
Florian Fainelli
|
ddfb6e1637
cleanup imagetag
|
17 years ago |
Florian Fainelli
|
1c9c725184
fix a bug which prevented imagetag from correctly initializing the version and magic2, use the broadcom default magics, which allows uploading through web interfaces
|
17 years ago |
Florian Fainelli
|
6495fa36ea
add support for AGPF-S0 (Pirelli Alice Gate VoIP 2 Plus Wi-Fi) #4366
|
17 years ago |
Florian Fainelli
|
0e3c23cdb2
allow flash start address and firmware offset to be set on the command line (#4666)
|
17 years ago |
Florian Fainelli
|
bccf525528
Fix small typo #4148
|
17 years ago |
Felix Fietkau
|
301ee97229
bcm963xx: add cfe image tagging utility
|
18 years ago |