| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Allow images to be padded to a certain size. This prevents CFE from
flashing them to the second image offset.
SVN-Revision: 31875
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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).
SVN-Revision: 24011
|
|
|
|
|
|
| |
to copy the CRC into the imagetag. strncpy stops copying after a 00 byte, memcpy doesn't.
SVN-Revision: 24000
|
|
|
|
| |
SVN-Revision: 21848
|
|
|
|
|
|
| |
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
|
|
|
|
| |
SVN-Revision: 17190
|
|
|
|
| |
SVN-Revision: 16506
|
|
|
|
|
|
|
|
| |
on the brcm63xx chipset.
Signed-Off By: Daniel Dickinson <crazycshore@gmail.com>
SVN-Revision: 16396
|
|
|
|
|
|
| |
with all known imagetag versions from Broadcom and vendors, patch from Daniel Dickinson (fixes #4987).
SVN-Revision: 16393
|
|
|
|
| |
SVN-Revision: 15977
|
|
|
|
|
|
| |
imagetag (#5108)
SVN-Revision: 15801
|
|
|
|
|
|
| |
thanks to Anselmo Luginbuhl and Daniel Dickinson (#4909, #4943)
SVN-Revision: 15253
|
|
|
|
| |
SVN-Revision: 15140
|
|
|
|
| |
SVN-Revision: 15081
|
|
|
|
| |
SVN-Revision: 14941
|
|
|
|
|
|
| |
and magic2, use the broadcom default magics, which allows uploading through web interfaces
SVN-Revision: 14925
|
|
|
|
| |
SVN-Revision: 14850
|
|
|
|
|
|
| |
(#4666)
SVN-Revision: 14832
|
|
|
|
| |
SVN-Revision: 13142
|
|
This replaces the proprietary bcmImageBuilder program from the Broadcom source
drops. It basically adds a 256 bytes header in front of the kernel + rootfs
which contains a few text signatures, the locations of the data as well as the
checksums of the data and the tag. It also adds a 12 bytes header in front of
the LZMA kernel which contains the load address, kernel entry and the size of
the compressed LZMA data.
Signed-off-by: Axel Gembe <ago@bastart.eu.org>
SVN-Revision: 11170
|