[U-Boot] [PATCH 05/13] binman: Add tests binaries with binman symbols
sjg at google.com
sjg at google.com
Fri Dec 8 17:12:03 UTC 2017
For testing we need to build some ELF files containing binman symbols. Add
these to the Makefile and check in the binaries:
u_boot_binman_syms - normal, valid ELF file
u_boot_binman_syms_bad - missing the __image_copy_start symbol
u_boot_binman_syms_size - has a binman symbol with an invalid size
Signed-off-by: Simon Glass <sjg at chromium.org>
---
tools/binman/test/Makefile | 18 +++++++++++++++-
tools/binman/test/u_boot_binman_syms | Bin 0 -> 4921 bytes
tools/binman/test/u_boot_binman_syms.c | 14 +++++++++++++
tools/binman/test/u_boot_binman_syms.lds | 30 +++++++++++++++++++++++++++
tools/binman/test/u_boot_binman_syms_bad | Bin 0 -> 4890 bytes
tools/binman/test/u_boot_binman_syms_bad.c | 1 +
tools/binman/test/u_boot_binman_syms_bad.lds | 29 ++++++++++++++++++++++++++
tools/binman/test/u_boot_binman_syms_size | Bin 0 -> 4825 bytes
tools/binman/test/u_boot_binman_syms_size.c | 12 +++++++++++
9 files changed, 103 insertions(+), 1 deletion(-)
create mode 100755 tools/binman/test/u_boot_binman_syms
create mode 100644 tools/binman/test/u_boot_binman_syms.c
create mode 100644 tools/binman/test/u_boot_binman_syms.lds
create mode 100755 tools/binman/test/u_boot_binman_syms_bad
create mode 120000 tools/binman/test/u_boot_binman_syms_bad.c
create mode 100644 tools/binman/test/u_boot_binman_syms_bad.lds
create mode 100755 tools/binman/test/u_boot_binman_syms_size
create mode 100644 tools/binman/test/u_boot_binman_syms_size.c
Applied to u-boot-dm thanks!
More information about the U-Boot
mailing list