binman: Support reading an image into an Image object
authorSimon Glass <sjg@chromium.org>
Mon, 8 Jul 2019 20:25:46 +0000 (14:25 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 24 Jul 2019 19:54:08 +0000 (12:54 -0700)
commitffded7527ad5272249ae728a88585373182cc7f4
tree04140bde0535c6d018dff213975ff032cf0b15df
parent2d26003df79839d7f6b5e30eaa49e191dc9e6c87
binman: Support reading an image into an Image object

It is possible to read an Image, locate its FDT map and then read it into
the binman data structures. This allows full access to the entries that
were written to the image. Add support for this.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/entry.py
tools/binman/ftest.py
tools/binman/image.py
tools/binman/test/129_decode_image_nohdr.dts [new file with mode: 0644]