[v3,0/3] tools: zynqmpimage: Support partitions

Message ID 20180412134823.77239-1-agraf@suse.de
Headers show
Series
  • tools: zynqmpimage: Support partitions
Related show

Message

Alexander Graf April 12, 2018, 1:48 p.m.
A good chunk of the booting chain of ZynqMP based systems is open source
(depending on your definition of it), except for the image generation flow.

This patch set aims to change that, with read and write support for boot.bin
partitions which allows us to create boot.bin files using only open source
tools.

v1 -> v2:

  - Add bif based generation
  - Add documentation pointer
  - Split definitions into separate header

v2 -> v3:

  - zero initialize header
  - reduce default debug verbosity

Alexander Graf (3):
  tools: zynqmpimage: Add partition read support
  tools: zynqmpimage: Move defines to header
  tools: zynqmpimage: Add bif support

 common/image.c      |   1 +
 include/image.h     |   1 +
 tools/Makefile      |   1 +
 tools/imagetool.h   |   1 +
 tools/mkimage.c     |   3 +
 tools/zynqmpbif.c   | 839 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 tools/zynqmpimage.c | 141 ++++++---
 tools/zynqmpimage.h | 135 +++++++++
 8 files changed, 1080 insertions(+), 42 deletions(-)
 create mode 100644 tools/zynqmpbif.c
 create mode 100644 tools/zynqmpimage.h