Replace fip_create with fiptool
fiptool provides a more consistent and intuitive interface compared to
the fip_create program.  It serves as a better base to build on more
features in the future.

fiptool supports various subcommands.  Below are the currently
supported subcommands:

1) info   - List the images contained in a FIP file.
2) create - Create a new FIP file with the given images.
3) update - Update an existing FIP with the given images.
4) unpack - Extract a selected set or all the images from a FIP file.
5) remove - Remove images from a FIP file.  This is a new command that
   was not present in fip_create.

To create a new FIP file, replace "fip_create" with "fiptool create".

To update a FIP file, replace "fip_create" with "fiptool update".

To dump the contents of a FIP file, replace "fip_create --dump" with
"fiptool info".

A compatibility script that emulates the basic functionality of
fip_create is provided.  Existing scripts might or might not work with
the compatibility script.  Users are strongly encouraged to migrate to
fiptool.

Fixes ARM-Software/tf-issues#87
Fixes ARM-Software/tf-issues#108
Fixes ARM-Software/tf-issues#361

Change-Id: I7ee4da7ac60179cc83cf46af890fd8bc61a53330
1 parent 6f511c4 commit 819281ee23e1fd048e8385ecc708f78dff5e51d9
@dp-arm dp-arm authored on 25 May 2016
Showing 16 changed files
View
.gitignore
View
Makefile
View
docs/firmware-design.md
View
docs/trusted-board-boot.md
View
docs/user-guide.md
View
make_helpers/build_macros.mk
View
make_helpers/tbbr/tbbr_tools.mk
View
tools/fip_create/Makefile 100644 → 0
View
tools/fip_create/fip_create.c 100644 → 0
View
tools/fip_create/fip_create.h 100644 → 0
View
tools/fiptool/Makefile 0 → 100644
View
tools/fiptool/fip_create.sh 0 → 100644
View
tools/fiptool/fiptool.c 0 → 100644
View
tools/fiptool/fiptool.h 0 → 100644
View
tools/fiptool/tbbr_config.c 0 → 100644
View
tools/fiptool/tbbr_config.h 0 → 100644