binman: Handle reading data for end-at-4gb sections
authorSimon Glass <sjg@chromium.org>
Wed, 25 Sep 2019 14:56:21 +0000 (08:56 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 8 Oct 2019 05:57:44 +0000 (13:57 +0800)
commit2d553c006d46653f3e0367cc5bfe36a9c7128eb5
tree9463743d1b2f57b732c579dc93263d1ea9f3985b
parent4e185e8dd7aa3ff7618d228ebfaffb507a569c07
binman: Handle reading data for end-at-4gb sections

Some x86 sections have special offsets which currently result in empty
data being returned from the 'extract' command. Fix this by taking account
of the skip-at-start property.

Add a little more debugging while we are here.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Bin Meng <bmeng.cn@gmail.com>
tools/binman/entry.py
tools/binman/etype/section.py
tools/binman/image.py