diff options
author | Lars Feyaerts <lars@bitbiz.be> | 2023-10-02 10:00:14 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-10-11 10:35:24 -0400 |
commit | 4860ee9b09e00ded5e9dfb5d418283dc2840bf1e (patch) | |
tree | 770f949216253571d488d88983cc3f1ab9228978 /doc | |
parent | 814774c07617465f735644fb4f6352a4e50fb286 (diff) | |
download | u-boot-4860ee9b09e00ded5e9dfb5d418283dc2840bf1e.zip u-boot-4860ee9b09e00ded5e9dfb5d418283dc2840bf1e.tar.gz u-boot-4860ee9b09e00ded5e9dfb5d418283dc2840bf1e.tar.bz2 |
mkimage: allow internalization of data-position
Make it possible for data that was externalized using a static external
position (-p) to be internalized. Enables the ability to convert
existing FIT images built with -p to be converted to a FIT image where the
data is internal, to be converted to a FIT image where the data is
external relative to the end of the FIT (-E) or change the initial
static external position to a different static external position (-p).
Removing the original external-data-related properties ensures that
they're not present after conversion. Without this, they would still be
present in the resulting FIT even if the FIT has been, for example,
internalized.
Signed-off-by: Lars Feyaerts <lars@bitbiz.be>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/mkimage.1 | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/mkimage.1 b/doc/mkimage.1 index 76c7859..d0a038a 100644 --- a/doc/mkimage.1 +++ b/doc/mkimage.1 @@ -860,6 +860,25 @@ verify signatures is added to u\-boot.dtb with required = "conf" property. \-K u\-boot.dtb -r kernel.itb .EE .RE +.P +Convert an existing FIT image from any of the three types of data storage +(internal, external data-offset or external data-position) to another type +of data storage. +.RS +.P +.EX +\fB// convert FIT from internal data to data-position +\fBmkimage -p 0x20000 -F internal_data.itb +.EE +.EX +\fB// convert FIT from data-position to data-offset +\fBmkimage -E -F external_data-position.itb +.EE +.EX +\fB// convert FIT from data-offset to internal data +\fBmkimage -F external_data-offset.itb +.EE +.RE . .SH SEE ALSO .BR dtc (1), |