[U-Boot] [PATCH v2 15/37] binman: Add a function to create a sample ELF file

sjg at google.com sjg at google.com
Thu Jul 18 01:59:34 UTC 2019


It is useful to create an ELF file for testing purposes, with just the
right attributes used by the test. Add a function to handle this, along
with a test that it works correctly.

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

Changes in v2: None

 tools/binman/elf.py      | 98 ++++++++++++++++++++++++++++++++++++++++
 tools/binman/elf_test.py | 20 ++++++++
 2 files changed, 118 insertions(+)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list