mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 09:54:35 +00:00
mkimage: update man page and -h output
The man page correctly said that -B was ignored without -E, while the `mkimage -h` output suggested otherwise. Now that -B can actually be used by itself, update the man page. While at it, also amend the `mkimage -h` line to mention the connection with -E. The FDT header is a fixed 40 bytes, so its size cannot (and is not) modified, while its alignment is a property of the address in RAM one loads the FIT to, so not something mkimage can affect in any way. (In the file itself, the header is of course at offset 0, which has all possible alignments already.) Reported-by: Sean Anderson <seanga2@gmail.com> Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
4fb7e570d6
commit
4cb6c8e5f0
2 changed files with 5 additions and 3 deletions
|
@ -281,8 +281,10 @@ properties. A \(oqdata-offset\(cq of 0 indicates that it starts in the first
|
|||
.BI \-B " alignment"
|
||||
.TQ
|
||||
.BI \-\-alignment " alignment"
|
||||
The alignment, in hexadecimal, that external data will be aligned to. This
|
||||
option only has an effect when \-E is specified.
|
||||
The alignment, in hexadecimal, that the FDT structure will be aligned
|
||||
to. With
|
||||
.BR \-E ,
|
||||
also specifies the alignment for the external data.
|
||||
.
|
||||
.TP
|
||||
.BI \-p " external-position"
|
||||
|
|
|
@ -112,7 +112,7 @@ static void usage(const char *msg)
|
|||
" -f => input filename for FIT source\n"
|
||||
" -i => input filename for ramdisk file\n"
|
||||
" -E => place data outside of the FIT structure\n"
|
||||
" -B => align size in hex for FIT structure and header\n"
|
||||
" -B => align size in hex for FIT structure and, with -E, for the external data\n"
|
||||
" -b => append the device tree binary to the FIT\n"
|
||||
" -t => update the timestamp in the FIT\n");
|
||||
#ifdef CONFIG_FIT_SIGNATURE
|
||||
|
|
Loading…
Add table
Reference in a new issue