The base address of the ELF containing symbols is normally added to
any symbols written, so that the value points to the correct address in
memory when everything is loaded. When the binary resides on disk, a
different offset may be needed, typically 0. Provide a way to specify
this.

Signed-off-by: Simon Glass <s...@chromium.org>
---

 tools/binman/binman.rst                       | 15 ++++++++
 tools/binman/elf.py                           |  7 ++--
 tools/binman/entry.py                         |  8 ++++-
 tools/binman/etype/blob_phase.py              |  5 +++
 tools/binman/ftest.py                         | 35 ++++++++++++++++---
 tools/binman/test/336_symbols_base.dts        | 23 ++++++++++++
 tools/binman/test/337_symbols_base_expand.dts | 24 +++++++++++++
 7 files changed, 110 insertions(+), 7 deletions(-)
 create mode 100644 tools/binman/test/336_symbols_base.dts
 create mode 100644 tools/binman/test/337_symbols_base_expand.dts

Applied to u-boot-dm/next, thanks!

Reply via email to