Skip to content
Commit 9bde0c43 authored by Sandeep Patil's avatar Sandeep Patil Committed by Hridya Valsaraju
Browse files

Add mkdtboimg



Identical to the 'mkdtimg' written in C. The tool retains exactly the
same command line options but compacts the total code down to a single
compact python module.

'pymkdtimg' supports all commands supported by 'mkdtimg' except the
arguments cannot be device tree properties. That support depends on
'pylibfdt' being available.

The CL also adds test script that compares mkdtimg output with pymkdtimg
output using all supported commands.

TODO:
 - Add support for DT property arguments (depends on pylibfdt)
 - Rename tools to be called '[py]mkdtboimg', since they are actually
   creating the dtbo images
 - Test on a device

Test: cd utils/tests; ./mkdtboimg_testdata.sh

Change-Id: Id3919e634b08e2c642ca21769937e1277e3d2bc8
Signed-off-by: default avatarSandeep Patil <sspatil@google.com>
parent c0957f2f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment