]> git.sur5r.net Git - u-boot/commit
tools: zynqmpimage: Add bif support
authorAlexander Graf <agraf@suse.de>
Fri, 13 Apr 2018 12:18:52 +0000 (14:18 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 11 May 2018 07:23:44 +0000 (09:23 +0200)
commit6915dcf35987d654b491524f151e56b91e0d0ec9
treece2fc7cff7811d8714e4025b15bdeca14f910aa7
parentb123aff26f580343adf57b5145d8334cd2a4b6b4
tools: zynqmpimage: Add bif support

The officially described way to generate boot.bin files for ZynqMP is to
describe the contents of the target binary using a file of the "bif"
format.  This file then links to other files that all get packed into a
bootable image.

This patch adds support to read such a .bif file and generate a respective
ZynqMP boot.bin file that can include the normal image and pmu files, but
also supports image partitions now. This makes it a handy replacement for
the proprietary "bootgen" utility that is currently used to generate
boot.bin files with FSBL.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
common/image.c
include/image.h
tools/Makefile
tools/imagetool.h
tools/mkimage.c
tools/zynqmpbif.c [new file with mode: 0644]
tools/zynqmpimage.c
tools/zynqmpimage.h