All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 00/34] binman: Various improvements and tidy-ups
@ 2019-08-24 13:22 Simon Glass
  2019-08-24 13:22 ` [U-Boot] [PATCH 01/34] patman: Drop binary parameter Simon Glass
                   ` (67 more replies)
  0 siblings, 68 replies; 74+ messages in thread
From: Simon Glass @ 2019-08-24 13:22 UTC (permalink / raw)
  To: u-boot

This series includes a number of minor improvements to binman, including:

- Dropping some test Elf files and building them from source instead
- Refactoring of x86 16-bit entries
- Support for SPL symbols within sections
- Handle the 'notes' sections and hidden symbols in recent binutils
- Improved error reporting with a tool fails


Simon Glass (34):
  patman: Drop binary parameter
  patman: Update command.Run() to handle failure better
  binman: Use cls instead of self for class methods
  binman: Allow use of help and entry-docs without libfdt
  binman: Drop .note section from ELF
  binman: Handle hidden symbols in ELF files
  binman: Correct use of 'replace' in IFWI tests
  binman: Add support for an x86 'reset' section
  binman: x86: Separate out 16-bit reset and init code
  binman: Add support for Intel FIT
  binman: Fix IFWI output when using an Intel FIT image
  binman: Use tools.Run() to run objdump
  binman: Use the Makefile to build ELF test files
  binman: Use the Makefile for u_boot_ucode_ptr
  binman: Use the Makefile for u_boot_no_ucode_ptr
  binman: Use the Makefile for u_boot_binman_syms
  binman: Use the Makefile for u_boot_binman_syms_size
  binman: Use the Makefile for u_boot_binman_syms_bad
  binman: Clean up unnecessary code related to ELF test files
  binman: Allow symbols to be resolved inside sections
  binman: Use underscore in test filenames
  binman: Rename some two-digit test files
  binman: Avoid needing the section size in advance
  binman: Increase size of TPL and SPL test data
  binman: Allow support for writing a size symbol to binaries
  binman: Correct symbol calculation with non-zero image base
  binman: Add support for Intel FSP meminit
  binman: Fix entry comment for Intel descriptor
  binman: Update IFWI entry to read entries outside constructor
  binman: Update IFWI entry to support updates
  binman: Support writing symbols into entries within an IFWI
  binman: Write symbol info before image inclusion
  binman: Add logging for the number of pack passes
  binman: Drop comment-out code in testUpdateFdtOutput()

 Makefile                                      |  10 +-
 arch/x86/dts/u-boot.dtsi                      |   9 +
 scripts/Makefile.spl                          |  22 +-
 tools/binman/README.entries                   | 136 ++++++++--
 tools/binman/control.py                       |  13 +-
 tools/binman/elf.py                           |  11 +-
 tools/binman/elf_test.py                      |  57 ++++-
 tools/binman/entry.py                         |   5 +-
 tools/binman/etype/blob.py                    |   1 -
 tools/binman/etype/blob_dtb.py                |   6 +-
 tools/binman/etype/cbfs.py                    |   5 +-
 tools/binman/etype/fdtmap.py                  |  13 +-
 tools/binman/etype/files.py                   |   5 +-
 tools/binman/etype/intel_descriptor.py        |   2 +-
 tools/binman/etype/intel_fit.py               |  32 +++
 tools/binman/etype/intel_fit_ptr.py           |  41 +++
 tools/binman/etype/intel_fsp_m.py             |  27 ++
 tools/binman/etype/intel_ifwi.py              |  68 +++--
 tools/binman/etype/section.py                 |  16 +-
 tools/binman/etype/u_boot_dtb_with_ucode.py   |   5 +-
 tools/binman/etype/u_boot_spl.py              |   2 +-
 tools/binman/etype/u_boot_tpl.py              |   2 +-
 tools/binman/etype/x86_reset16.py             |  29 +++
 tools/binman/etype/x86_reset16_spl.py         |  29 +++
 tools/binman/etype/x86_reset16_tpl.py         |  29 +++
 tools/binman/etype/x86_start16.py             |  15 +-
 tools/binman/etype/x86_start16_spl.py         |  19 +-
 tools/binman/etype/x86_start16_tpl.py         |  18 +-
 tools/binman/ftest.py                         | 241 ++++++++++++------
 tools/binman/test/021_image_pad.dts           |   2 +-
 tools/binman/test/024_sorted.dts              |   2 +-
 tools/binman/test/028_pack_4gb_outside.dts    |   2 +-
 .../test/{029_x86-rom.dts => 029_x86_rom.dts} |   2 +-
 ...no-desc.dts => 030_x86_rom_me_no_desc.dts} |   0
 ...{031_x86-rom-me.dts => 031_x86_rom_me.dts} |   0
 .../{032_intel-vga.dts => 032_intel_vga.dts}  |   0
 ...33_x86-start16.dts => 033_x86_start16.dts} |   0
 .../{042_intel-fsp.dts => 042_intel_fsp.dts}  |   0
 .../{043_intel-cmc.dts => 043_intel_cmc.dts}  |   0
 .../{046_intel-vbt.dts => 046_intel_vbt.dts}  |   0
 ...tart16-spl.dts => 048_x86_start16_spl.dts} |   0
 tools/binman/test/053_symbols.dts             |   2 +-
 ...tart16-tpl.dts => 081_x86_start16_tpl.dts} |   0
 ...=> 098_4gb_and_skip_at_start_together.dts} |   0
 ..._x86-rom-ifwi.dts => 111_x86_rom_ifwi.dts} |   2 +-
 ...nodesc.dts => 112_x86_rom_ifwi_nodesc.dts} |   2 +-
 ...nodata.dts => 113_x86_rom_ifwi_nodata.dts} |   2 +-
 tools/binman/test/144_x86_reset16.dts         |  13 +
 tools/binman/test/145_x86_reset16_spl.dts     |  13 +
 tools/binman/test/146_x86_reset16_tpl.dts     |  13 +
 tools/binman/test/147_intel_fit.dts           |  20 ++
 tools/binman/test/148_intel_fit_missing.dts   |  17 ++
 tools/binman/test/149_symbols_tpl.dts         |  28 ++
 ...> 150_powerpc_mpc85xx_bootpg_resetvec.dts} |   0
 .../binman/test/151_x86_rom_ifwi_section.dts  |  33 +++
 tools/binman/test/152_intel_fsp_m.dts         |  14 +
 tools/binman/test/Makefile                    |  14 +-
 tools/binman/test/bss_data                    | Bin 5020 -> 0 bytes
 tools/binman/test/u_boot_binman_syms          | Bin 4924 -> 0 bytes
 tools/binman/test/u_boot_binman_syms.c        |   1 +
 tools/binman/test/u_boot_binman_syms.lds      |   3 +-
 tools/binman/test/u_boot_binman_syms_bad      | Bin 4890 -> 0 bytes
 tools/binman/test/u_boot_binman_syms_size     | Bin 4825 -> 0 bytes
 tools/binman/test/u_boot_no_ucode_ptr         | Bin 4182 -> 0 bytes
 tools/binman/test/u_boot_ucode_ptr            | Bin 4175 -> 0 bytes
 tools/binman/test/u_boot_ucode_ptr.lds        |   3 +-
 tools/patman/cros_subprocess.py               |   3 +-
 tools/patman/tools.py                         |  23 +-
 68 files changed, 870 insertions(+), 212 deletions(-)
 create mode 100644 tools/binman/etype/intel_fit.py
 create mode 100644 tools/binman/etype/intel_fit_ptr.py
 create mode 100644 tools/binman/etype/intel_fsp_m.py
 create mode 100644 tools/binman/etype/x86_reset16.py
 create mode 100644 tools/binman/etype/x86_reset16_spl.py
 create mode 100644 tools/binman/etype/x86_reset16_tpl.py
 rename tools/binman/test/{029_x86-rom.dts => 029_x86_rom.dts} (87%)
 rename tools/binman/test/{030_x86-rom-me-no-desc.dts => 030_x86_rom_me_no_desc.dts} (100%)
 rename tools/binman/test/{031_x86-rom-me.dts => 031_x86_rom_me.dts} (100%)
 rename tools/binman/test/{032_intel-vga.dts => 032_intel_vga.dts} (100%)
 rename tools/binman/test/{033_x86-start16.dts => 033_x86_start16.dts} (100%)
 rename tools/binman/test/{042_intel-fsp.dts => 042_intel_fsp.dts} (100%)
 rename tools/binman/test/{043_intel-cmc.dts => 043_intel_cmc.dts} (100%)
 rename tools/binman/test/{046_intel-vbt.dts => 046_intel_vbt.dts} (100%)
 rename tools/binman/test/{048_x86-start16-spl.dts => 048_x86_start16_spl.dts} (100%)
 rename tools/binman/test/{081_x86-start16-tpl.dts => 081_x86_start16_tpl.dts} (100%)
 rename tools/binman/test/{80_4gb_and_skip_at_start_together.dts => 098_4gb_and_skip_at_start_together.dts} (100%)
 rename tools/binman/test/{111_x86-rom-ifwi.dts => 111_x86_rom_ifwi.dts} (95%)
 rename tools/binman/test/{112_x86-rom-ifwi-nodesc.dts => 112_x86_rom_ifwi_nodesc.dts} (95%)
 rename tools/binman/test/{113_x86-rom-ifwi-nodata.dts => 113_x86_rom_ifwi_nodata.dts} (95%)
 create mode 100644 tools/binman/test/144_x86_reset16.dts
 create mode 100644 tools/binman/test/145_x86_reset16_spl.dts
 create mode 100644 tools/binman/test/146_x86_reset16_tpl.dts
 create mode 100644 tools/binman/test/147_intel_fit.dts
 create mode 100644 tools/binman/test/148_intel_fit_missing.dts
 create mode 100644 tools/binman/test/149_symbols_tpl.dts
 rename tools/binman/test/{81_powerpc_mpc85xx_bootpg_resetvec.dts => 150_powerpc_mpc85xx_bootpg_resetvec.dts} (100%)
 create mode 100644 tools/binman/test/151_x86_rom_ifwi_section.dts
 create mode 100644 tools/binman/test/152_intel_fsp_m.dts
 delete mode 100755 tools/binman/test/bss_data
 delete mode 100755 tools/binman/test/u_boot_binman_syms
 delete mode 100755 tools/binman/test/u_boot_binman_syms_bad
 delete mode 100755 tools/binman/test/u_boot_binman_syms_size
 delete mode 100755 tools/binman/test/u_boot_no_ucode_ptr
 delete mode 100755 tools/binman/test/u_boot_ucode_ptr

-- 
2.23.0.187.g17f5b7556c-goog

^ permalink raw reply	[flat|nested] 74+ messages in thread

end of thread, other threads:[~2019-11-05 16:33 UTC | newest]

Thread overview: 74+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-24 13:22 [U-Boot] [PATCH 00/34] binman: Various improvements and tidy-ups Simon Glass
2019-08-24 13:22 ` [U-Boot] [PATCH 01/34] patman: Drop binary parameter Simon Glass
2019-08-24 13:22 ` [U-Boot] [PATCH 02/34] patman: Update command.Run() to handle failure better Simon Glass
2019-08-24 13:22 ` [U-Boot] [PATCH 03/34] binman: Use cls instead of self for class methods Simon Glass
2019-08-24 13:22 ` [U-Boot] [PATCH 04/34] binman: Allow use of help and entry-docs without libfdt Simon Glass
2019-08-24 13:22 ` [U-Boot] [PATCH 05/34] binman: Drop .note section from ELF Simon Glass
2019-08-24 13:22 ` [U-Boot] [PATCH 06/34] binman: Handle hidden symbols in ELF files Simon Glass
2019-08-24 13:22 ` [U-Boot] [PATCH 07/34] binman: Correct use of 'replace' in IFWI tests Simon Glass
2019-08-24 13:22 ` [U-Boot] [PATCH 08/34] binman: Add support for an x86 'reset' section Simon Glass
2019-08-24 13:22 ` [U-Boot] [PATCH 09/34] binman: x86: Separate out 16-bit reset and init code Simon Glass
2019-08-24 13:22 ` [U-Boot] [PATCH 10/34] binman: Add support for Intel FIT Simon Glass
2019-08-24 13:22 ` [U-Boot] [PATCH 11/34] binman: Fix IFWI output when using an Intel FIT image Simon Glass
2019-08-24 13:22 ` [U-Boot] [PATCH 12/34] binman: Use tools.Run() to run objdump Simon Glass
2019-08-24 13:22 ` [U-Boot] [PATCH 13/34] binman: Use the Makefile to build ELF test files Simon Glass
2019-08-24 13:22 ` [U-Boot] [PATCH 14/34] binman: Use the Makefile for u_boot_ucode_ptr Simon Glass
2019-08-24 13:22 ` [U-Boot] [PATCH 15/34] binman: Use the Makefile for u_boot_no_ucode_ptr Simon Glass
2019-08-24 13:22 ` [U-Boot] [PATCH 16/34] binman: Use the Makefile for u_boot_binman_syms Simon Glass
2019-08-24 13:22 ` [U-Boot] [PATCH 17/34] binman: Use the Makefile for u_boot_binman_syms_size Simon Glass
2019-08-24 13:22 ` [U-Boot] [PATCH 18/34] binman: Use the Makefile for u_boot_binman_syms_bad Simon Glass
2019-08-24 13:22 ` [U-Boot] [PATCH 19/34] binman: Clean up unnecessary code related to ELF test files Simon Glass
2019-08-24 13:23 ` [U-Boot] [PATCH 20/34] binman: Allow symbols to be resolved inside sections Simon Glass
2019-08-24 13:23 ` [U-Boot] [PATCH 21/34] binman: Use underscore in test filenames Simon Glass
2019-08-24 13:23 ` [U-Boot] [PATCH 22/34] binman: Rename some two-digit test files Simon Glass
2019-08-24 13:23 ` [U-Boot] [PATCH 23/34] binman: Avoid needing the section size in advance Simon Glass
2019-08-24 13:23 ` [U-Boot] [PATCH 24/34] binman: Increase size of TPL and SPL test data Simon Glass
2019-08-24 13:23 ` [U-Boot] [PATCH 25/34] binman: Allow support for writing a size symbol to binaries Simon Glass
2019-08-24 13:23 ` [U-Boot] [PATCH 26/34] binman: Correct symbol calculation with non-zero image base Simon Glass
2019-08-24 13:23 ` [U-Boot] [PATCH 27/34] binman: Add support for Intel FSP meminit Simon Glass
2019-08-24 13:23 ` [U-Boot] [PATCH 28/34] binman: Fix entry comment for Intel descriptor Simon Glass
2019-08-24 13:23 ` [U-Boot] [PATCH 29/34] binman: Update IFWI entry to read entries outside constructor Simon Glass
2019-08-24 13:23 ` [U-Boot] [PATCH 30/34] binman: Update IFWI entry to support updates Simon Glass
2019-08-24 13:23 ` [U-Boot] [PATCH 31/34] binman: Support writing symbols into entries within an IFWI Simon Glass
2019-08-24 13:23 ` [U-Boot] [PATCH 32/34] binman: Write symbol info before image inclusion Simon Glass
2019-08-24 13:23 ` [U-Boot] [PATCH 33/34] binman: Add logging for the number of pack passes Simon Glass
2019-08-24 13:23 ` [U-Boot] [PATCH 34/34] binman: Drop comment-out code in testUpdateFdtOutput() Simon Glass
2019-09-27  0:38 ` [U-Boot] [PATCH 33/34] binman: Add logging for the number of pack passes sjg at google.com
2019-09-27  0:38 ` [U-Boot] [PATCH 34/34] binman: Drop comment-out code in testUpdateFdtOutput() sjg at google.com
2019-09-27  0:38 ` [U-Boot] [PATCH 32/34] binman: Write symbol info before image inclusion sjg at google.com
2019-09-27  0:38 ` [U-Boot] [PATCH 31/34] binman: Support writing symbols into entries within an IFWI sjg at google.com
2019-09-27  0:38 ` [U-Boot] [PATCH 30/34] binman: Update IFWI entry to support updates sjg at google.com
2019-09-27  0:38 ` [U-Boot] [PATCH 29/34] binman: Update IFWI entry to read entries outside constructor sjg at google.com
2019-09-27  0:38 ` [U-Boot] [PATCH 28/34] binman: Fix entry comment for Intel descriptor sjg at google.com
2019-09-27  0:38 ` [U-Boot] [PATCH 27/34] binman: Add support for Intel FSP meminit sjg at google.com
2019-09-27  0:38 ` [U-Boot] [PATCH 26/34] binman: Correct symbol calculation with non-zero image base sjg at google.com
2019-10-14 15:49   ` Stephen Warren
2019-10-15 14:07     ` Simon Glass
2019-10-15 16:09       ` Stephen Warren
2019-11-04 17:34         ` Stephen Warren
2019-11-05 16:33           ` Simon Glass
2019-09-27  0:38 ` [U-Boot] [PATCH 25/34] binman: Allow support for writing a size symbol to binaries sjg at google.com
2019-09-27  0:38 ` [U-Boot] [PATCH 24/34] binman: Increase size of TPL and SPL test data sjg at google.com
2019-09-27  0:38 ` [U-Boot] [PATCH 23/34] binman: Avoid needing the section size in advance sjg at google.com
2019-09-27  0:38 ` [U-Boot] [PATCH 22/34] binman: Rename some two-digit test files sjg at google.com
2019-09-27  0:38 ` [U-Boot] [PATCH 20/34] binman: Allow symbols to be resolved inside sections sjg at google.com
2019-09-27  0:38 ` [U-Boot] [PATCH 21/34] binman: Use underscore in test filenames sjg at google.com
2019-09-27  0:38 ` [U-Boot] [PATCH 19/34] binman: Clean up unnecessary code related to ELF test files sjg at google.com
2019-09-27  0:38 ` [U-Boot] [PATCH 18/34] binman: Use the Makefile for u_boot_binman_syms_bad sjg at google.com
2019-09-27  0:38 ` [U-Boot] [PATCH 17/34] binman: Use the Makefile for u_boot_binman_syms_size sjg at google.com
2019-09-27  0:39 ` [U-Boot] [PATCH 16/34] binman: Use the Makefile for u_boot_binman_syms sjg at google.com
2019-09-27  0:39 ` [U-Boot] [PATCH 15/34] binman: Use the Makefile for u_boot_no_ucode_ptr sjg at google.com
2019-09-27  0:39 ` [U-Boot] [PATCH 14/34] binman: Use the Makefile for u_boot_ucode_ptr sjg at google.com
2019-09-27  0:39 ` [U-Boot] [PATCH 12/34] binman: Use tools.Run() to run objdump sjg at google.com
2019-09-27  0:39 ` [U-Boot] [PATCH 13/34] binman: Use the Makefile to build ELF test files sjg at google.com
2019-09-27  0:39 ` [U-Boot] [PATCH 11/34] binman: Fix IFWI output when using an Intel FIT image sjg at google.com
2019-09-27  0:39 ` [U-Boot] [PATCH 09/34] binman: x86: Separate out 16-bit reset and init code sjg at google.com
2019-09-27  0:39 ` [U-Boot] [PATCH 10/34] binman: Add support for Intel FIT sjg at google.com
2019-09-27  0:39 ` [U-Boot] [PATCH 08/34] binman: Add support for an x86 'reset' section sjg at google.com
2019-09-27  0:39 ` [U-Boot] [PATCH 07/34] binman: Correct use of 'replace' in IFWI tests sjg at google.com
2019-09-27  0:39 ` [U-Boot] [PATCH 06/34] binman: Handle hidden symbols in ELF files sjg at google.com
2019-09-27  0:39 ` [U-Boot] [PATCH 04/34] binman: Allow use of help and entry-docs without libfdt sjg at google.com
2019-09-27  0:39 ` [U-Boot] [PATCH 05/34] binman: Drop .note section from ELF sjg at google.com
2019-09-27  0:39 ` [U-Boot] [PATCH 03/34] binman: Use cls instead of self for class methods sjg at google.com
2019-09-27  0:39 ` [U-Boot] [PATCH 02/34] patman: Update command.Run() to handle failure better sjg at google.com
2019-09-27  0:39 ` [U-Boot] [PATCH 01/34] patman: Drop binary parameter sjg at google.com

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.