mbox series

[v4,0/4] tools: zynqmpimage: Support partitions

Message ID 20180413121852.38942-1-agraf@suse.de
Headers show
Series tools: zynqmpimage: Support partitions | expand

Message

Alexander Graf April 13, 2018, 12:18 p.m. UTC
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

v3 -> v4:

  - checkpatch fixes
  - new patch: MAINTAINERS: Declare tools/zynq*.{c,h} as Xilinx maintained
  - add error handling
  - add fsbl_config support
  - add aarch32 support
  - allow a5x to be written as a53
  - add offset support
  - add support for partition_owner
  - ensure pmufw comes before bootloader
  - simplify fsbl_config
  - add non-a53 boot support

Alexander Graf (4):
  tools: zynqmpimage: Add partition read support
  tools: zynqmpimage: Move defines to header
  MAINTAINERS: Declare tools/zynq*.{c,h} as Xilinx maintained
  tools: zynqmpimage: Add bif support

 MAINTAINERS         |    3 +-
 common/image.c      |    1 +
 include/image.h     |    1 +
 tools/Makefile      |    1 +
 tools/imagetool.h   |    1 +
 tools/mkimage.c     |    7 +
 tools/zynqmpbif.c   | 1008 +++++++++++++++++++++++++++++++++++++++++++++++++++
 tools/zynqmpimage.c |  142 +++++---
 tools/zynqmpimage.h |  139 +++++++
 9 files changed, 1260 insertions(+), 43 deletions(-)
 create mode 100644 tools/zynqmpbif.c
 create mode 100644 tools/zynqmpimage.h

Comments

Michal Simek April 30, 2018, 8:34 a.m. UTC | #1
On 13.4.2018 14:18, Alexander Graf wrote:
> 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
> 
> v3 -> v4:
> 
>   - checkpatch fixes
>   - new patch: MAINTAINERS: Declare tools/zynq*.{c,h} as Xilinx maintained
>   - add error handling
>   - add fsbl_config support
>   - add aarch32 support
>   - allow a5x to be written as a53
>   - add offset support
>   - add support for partition_owner
>   - ensure pmufw comes before bootloader
>   - simplify fsbl_config
>   - add non-a53 boot support
> 
> Alexander Graf (4):
>   tools: zynqmpimage: Add partition read support
>   tools: zynqmpimage: Move defines to header
>   MAINTAINERS: Declare tools/zynq*.{c,h} as Xilinx maintained
>   tools: zynqmpimage: Add bif support
> 
>  MAINTAINERS         |    3 +-
>  common/image.c      |    1 +
>  include/image.h     |    1 +
>  tools/Makefile      |    1 +
>  tools/imagetool.h   |    1 +
>  tools/mkimage.c     |    7 +
>  tools/zynqmpbif.c   | 1008 +++++++++++++++++++++++++++++++++++++++++++++++++++
>  tools/zynqmpimage.c |  142 +++++---
>  tools/zynqmpimage.h |  139 +++++++
>  9 files changed, 1260 insertions(+), 43 deletions(-)
>  create mode 100644 tools/zynqmpbif.c
>  create mode 100644 tools/zynqmpimage.h
> 

Applied all.

Thanks,
Michal