[PATCH 10/10] binman: Allow for skip_at_start when reading entries

Simon Glass sjg at chromium.org
Sat Jan 23 18:27:01 CET 2021


The offset of an entry needs to be adjusted by its skip-at-start value.
This is currently missing when reading entry data. Fix it.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 tools/binman/etype/section.py             | 10 ++++++----
 tools/binman/ftest.py                     | 19 +++++++++++++++++++
 tools/binman/test/191_read_image_skip.dts | 23 +++++++++++++++++++++++
 3 files changed, 48 insertions(+), 4 deletions(-)
 create mode 100644 tools/binman/test/191_read_image_skip.dts

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list