[U-Boot] [PATCH 0/4] cmd: dtimg: Enhance with --id and --rev options (take #1)

Eugeniu Rosca erosca at de.adit-jv.com
Fri Nov 29 19:29:15 UTC 2019


Dear U-Boot community,

As summarized in the title, the motivation behind the series is to
primarly allow the Android "dtimg" command (credits to Sam for having
it) to actually leverage the specification described in [*].

There are a few collateral improvements and optimizations added as well.
The individual patches should be verbose and descriptive enough.
The series has been tested on R-Car H3ULCB.
All available static analysis tools [**] have been silenced.

Your comments would be highly appreciated.

[*] https://source.android.com/devices/architecture/dto/partitions
[**] smatch, cppecheck, sparse, make W=1

Eugeniu Rosca (4):
  cmd: dtimg: Report invalid index argument
  cmd: dtimg: Merge duplicated prints
  cmd: dtimg: Make <varname> an optional argument
  cmd: dtimg: Get start and size based on --id and --rev

 cmd/dtimg.c                | 133 +++++++++++++++++++++++++++++--------
 common/image-android-dt.c  |  64 ++++++++++++++++--
 include/image-android-dt.h |   5 +-
 3 files changed, 169 insertions(+), 33 deletions(-)

-- 
2.24.0



More information about the U-Boot mailing list